@depup/angular__material 21.2.4-depup.0 → 21.2.5-depup.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/README.md +2 -2
- package/changes.json +1 -1
- package/fesm2022/_animation-chunk.mjs.map +1 -1
- package/fesm2022/_date-formats-chunk.mjs.map +1 -1
- package/fesm2022/_date-range-input-harness-chunk.mjs.map +1 -1
- package/fesm2022/_error-options-chunk.mjs +6 -6
- package/fesm2022/_error-options-chunk.mjs.map +1 -1
- package/fesm2022/_error-state-chunk.mjs.map +1 -1
- package/fesm2022/_form-field-chunk.mjs +33 -33
- package/fesm2022/_form-field-chunk.mjs.map +1 -1
- package/fesm2022/_icon-button-chunk.mjs +9 -9
- package/fesm2022/_icon-button-chunk.mjs.map +1 -1
- package/fesm2022/_icon-registry-chunk.mjs +4 -4
- package/fesm2022/_icon-registry-chunk.mjs.map +1 -1
- package/fesm2022/_input-harness-chunk.mjs.map +1 -1
- package/fesm2022/_internal-form-field-chunk.mjs +6 -6
- package/fesm2022/_internal-form-field-chunk.mjs.map +1 -1
- package/fesm2022/_line-chunk.mjs +7 -7
- package/fesm2022/_line-chunk.mjs.map +1 -1
- package/fesm2022/_option-chunk.mjs +11 -11
- package/fesm2022/_option-chunk.mjs.map +1 -1
- package/fesm2022/_option-harness-chunk.mjs.map +1 -1
- package/fesm2022/_option-module-chunk.mjs +4 -4
- package/fesm2022/_option-module-chunk.mjs.map +1 -1
- package/fesm2022/_pseudo-checkbox-chunk.mjs +6 -6
- package/fesm2022/_pseudo-checkbox-chunk.mjs.map +1 -1
- package/fesm2022/_pseudo-checkbox-module-chunk.mjs +4 -4
- package/fesm2022/_pseudo-checkbox-module-chunk.mjs.map +1 -1
- package/fesm2022/_public-api-chunk.mjs.map +1 -1
- package/fesm2022/_ripple-chunk.mjs +10 -10
- package/fesm2022/_ripple-chunk.mjs.map +1 -1
- package/fesm2022/_ripple-loader-chunk.mjs +3 -3
- package/fesm2022/_ripple-loader-chunk.mjs.map +1 -1
- package/fesm2022/_ripple-module-chunk.mjs +4 -4
- package/fesm2022/_ripple-module-chunk.mjs.map +1 -1
- package/fesm2022/_structural-styles-chunk.mjs +6 -6
- package/fesm2022/_structural-styles-chunk.mjs.map +1 -1
- package/fesm2022/_tooltip-chunk.mjs +18 -14
- package/fesm2022/_tooltip-chunk.mjs.map +1 -1
- package/fesm2022/autocomplete-testing.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +21 -21
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge-testing.mjs.map +1 -1
- package/fesm2022/badge.mjs +13 -13
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet-testing.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +17 -17
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button-testing.mjs.map +1 -1
- package/fesm2022/button-toggle-testing.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +14 -14
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +20 -20
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card-testing.mjs.map +1 -1
- package/fesm2022/card.mjs +49 -49
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox-testing.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +10 -10
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips-testing.mjs.map +1 -1
- package/fesm2022/chips.mjs +63 -63
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core-testing.mjs +1 -1
- package/fesm2022/core-testing.mjs.map +1 -1
- package/fesm2022/core.mjs +25 -25
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker-testing.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +97 -97
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog-testing.mjs +3 -3
- package/fesm2022/dialog-testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +32 -32
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider-testing.mjs.map +1 -1
- package/fesm2022/divider.mjs +10 -10
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/expansion-testing.mjs.map +1 -1
- package/fesm2022/expansion.mjs +34 -34
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field-testing-control.mjs.map +1 -1
- package/fesm2022/form-field-testing.mjs +1 -1
- package/fesm2022/form-field-testing.mjs.map +1 -1
- package/fesm2022/form-field.mjs +5 -5
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list-testing.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +29 -29
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon-testing.mjs +8 -8
- package/fesm2022/icon-testing.mjs.map +1 -1
- package/fesm2022/icon.mjs +11 -11
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input-testing.mjs.map +1 -1
- package/fesm2022/input.mjs +8 -8
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list-testing.mjs.map +1 -1
- package/fesm2022/list.mjs +64 -64
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu-testing.mjs.map +1 -1
- package/fesm2022/menu.mjs +27 -27
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator-testing.mjs.map +1 -1
- package/fesm2022/paginator.mjs +17 -17
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar-testing.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +10 -10
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner-testing.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +10 -10
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio-testing.mjs.map +1 -1
- package/fesm2022/radio.mjs +14 -14
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select-testing.mjs.map +1 -1
- package/fesm2022/select.mjs +26 -26
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav-testing.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +33 -36
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle-testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +10 -10
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider-testing.mjs.map +1 -1
- package/fesm2022/slider.mjs +41 -41
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar-testing.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +30 -30
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort-testing.mjs.map +1 -1
- package/fesm2022/sort.mjs +18 -18
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper-testing.mjs.map +1 -1
- package/fesm2022/stepper.mjs +42 -42
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table-testing.mjs.map +1 -1
- package/fesm2022/table.mjs +60 -60
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs-testing.mjs.map +1 -1
- package/fesm2022/tabs.mjs +59 -59
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker-testing.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +17 -17
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar-testing.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +15 -15
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip-testing.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +4 -4
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree-testing.mjs.map +1 -1
- package/fesm2022/tree.mjs +31 -31
- package/fesm2022/tree.mjs.map +1 -1
- package/package.json +4 -4
- package/prebuilt-themes/azure-blue.css +167 -1
- package/prebuilt-themes/cyan-orange.css +167 -1
- package/prebuilt-themes/deeppurple-amber.css +2301 -1
- package/prebuilt-themes/indigo-pink.css +2301 -1
- package/prebuilt-themes/magenta-violet.css +167 -1
- package/prebuilt-themes/pink-bluegrey.css +2301 -1
- package/prebuilt-themes/purple-green.css +2301 -1
- package/prebuilt-themes/rose-red.css +167 -1
- package/schematics/ng-add/index.js +1 -1
- package/types/_button-toggle-chunk.d.ts +1 -1
- package/types/_icon-registry-chunk.d.ts +1 -1
- package/types/_option-parent-chunk.d.ts +1 -1
- package/types/_ripple-chunk.d.ts +1 -1
- package/types/dialog.d.ts +1 -1
- package/types/grid-list.d.ts +1 -1
- package/types/paginator.d.ts +0 -1
- package/types/radio.d.ts +1 -1
- package/types/select.d.ts +2 -2
- package/types/sidenav-testing.d.ts +1 -1
- package/types/sidenav.d.ts +1 -1
- package/types/slider.d.ts +5 -9
- package/types/table.d.ts +2 -4
- package/types/tabs.d.ts +1 -1
- package/types/timepicker.d.ts +1 -1
- package/types/tooltip.d.ts +318 -7
- package/types/tree.d.ts +2 -2
- package/types/_tooltip-chunk.d.ts +0 -315
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snack-bar-testing.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/snack-bar/testing/snack-bar-harness.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 {ContentContainerComponentHarness, HarnessPredicate, parallel} from '@angular/cdk/testing';\nimport {AriaLivePoliteness} from '@angular/cdk/a11y';\nimport {SnackBarHarnessFilters} from './snack-bar-harness-filters';\n\n/** Harness for interacting with a mat-snack-bar in tests. */\nexport class MatSnackBarHarness extends ContentContainerComponentHarness<string> {\n // Developers can provide a custom component or template for the\n // snackbar. The canonical snack-bar parent is the \"MatSnackBarContainer\".\n /** The selector for the host element of a `MatSnackBar` instance. */\n static hostSelector = '.mat-mdc-snack-bar-container:not([mat-exit])';\n private _messageSelector = '.mdc-snackbar__label';\n private _actionButtonSelector = '.mat-mdc-snack-bar-action';\n\n private _snackBarLiveRegion = this.locatorFor('[aria-live]');\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatSnackBarHarness` that meets\n * certain criteria.\n * @param options Options for filtering which snack bar instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(options: SnackBarHarnessFilters = {}): HarnessPredicate<MatSnackBarHarness> {\n return new HarnessPredicate(MatSnackBarHarness, options);\n }\n\n /**\n * Gets the role of the snack-bar. The role of a snack-bar is determined based\n * on the ARIA politeness specified in the snack-bar config.\n * @deprecated Use `getAriaLive` instead.\n * @breaking-change 13.0.0\n */\n async getRole(): Promise<'alert' | 'status' | null> {\n return (await this.host()).getAttribute('role') as Promise<'alert' | 'status' | null>;\n }\n\n /**\n * Gets the aria-live of the snack-bar's live region. The aria-live of a snack-bar is\n * determined based on the ARIA politeness specified in the snack-bar config.\n */\n async getAriaLive(): Promise<AriaLivePoliteness> {\n return (await this._snackBarLiveRegion()).getAttribute(\n 'aria-live',\n ) as Promise<AriaLivePoliteness>;\n }\n\n /**\n * Whether the snack-bar has an action. Method cannot be used for snack-bar's with custom content.\n */\n async hasAction(): Promise<boolean> {\n return (await this._getActionButton()) !== null;\n }\n\n /**\n * Gets the description of the snack-bar. Method cannot be used for snack-bar's without action or\n * with custom content.\n */\n async getActionDescription(): Promise<string> {\n await this._assertHasAction();\n return (await this._getActionButton())!.text();\n }\n\n /**\n * Dismisses the snack-bar by clicking the action button. Method cannot be used for snack-bar's\n * without action or with custom content.\n */\n async dismissWithAction(): Promise<void> {\n await this._assertHasAction();\n await (await this._getActionButton())!.click();\n }\n\n /**\n * Gets the message of the snack-bar. Method cannot be used for snack-bar's with custom content.\n */\n async getMessage(): Promise<string> {\n return (await this.locatorFor(this._messageSelector)()).text();\n }\n\n /** Gets whether the snack-bar has been dismissed. */\n async isDismissed(): Promise<boolean> {\n // We consider the snackbar dismissed if it's not in the DOM. We can assert that the\n // element isn't in the DOM by seeing that its width and height are zero.\n\n const host = await this.host();\n const [exit, dimensions] = await parallel(() => [\n // The snackbar container is marked with the \"exit\" attribute after it has been dismissed\n // but before the animation has finished (after which it's removed from the DOM).\n host.getAttribute('mat-exit'),\n host.getDimensions(),\n ]);\n\n return exit != null || (!!dimensions && dimensions.height === 0 && dimensions.width === 0);\n }\n\n /**\n * Asserts that the current snack-bar has an action defined. Otherwise the\n * promise will reject.\n */\n private async _assertHasAction(): Promise<void> {\n if (!(await this.hasAction())) {\n throw Error('Method cannot be used for a snack-bar without an action.');\n }\n }\n\n /** Gets the simple snack bar action button. */\n private async _getActionButton() {\n return this.locatorForOptional(this._actionButtonSelector)();\n }\n}\n"],"names":["MatSnackBarHarness","ContentContainerComponentHarness","hostSelector","_messageSelector","_actionButtonSelector","_snackBarLiveRegion","locatorFor","with","options","HarnessPredicate","getRole","host","getAttribute","getAriaLive","hasAction","_getActionButton","getActionDescription","_assertHasAction","text","dismissWithAction","click","getMessage","isDismissed","exit","dimensions","parallel","getDimensions","height","width","Error","locatorForOptional"],"mappings":";;AAaM,MAAOA,kBAAmB,SAAQC,gCAAwC,CAAA;EAI9E,OAAOC,YAAY,GAAG,8CAA8C;AAC5DC,EAAAA,gBAAgB,GAAG,sBAAsB;AACzCC,EAAAA,qBAAqB,GAAG,2BAA2B;AAEnDC,EAAAA,mBAAmB,GAAG,IAAI,CAACC,UAAU,CAAC,aAAa,CAAC;AAQ5D,EAAA,OAAOC,IAAIA,CAACC,OAAA,GAAkC,EAAE,EAAA;AAC9C,IAAA,OAAO,IAAIC,gBAAgB,CAACT,kBAAkB,EAAEQ,OAAO,CAAC;AAC1D;EAQA,MAAME,OAAOA,GAAA;IACX,OAAO,CAAC,MAAM,IAAI,CAACC,IAAI,EAAE,EAAEC,YAAY,CAAC,MAAM,CAAuC;AACvF;EAMA,MAAMC,WAAWA,GAAA;IACf,OAAO,CAAC,MAAM,IAAI,CAACR,mBAAmB,EAAE,EAAEO,YAAY,CACpD,WAAW,CACmB;AAClC;EAKA,MAAME,SAASA,GAAA;IACb,OAAO,CAAC,MAAM,IAAI,CAACC,gBAAgB,EAAE,MAAM,IAAI;AACjD;EAMA,MAAMC,oBAAoBA,GAAA;AACxB,IAAA,MAAM,IAAI,CAACC,gBAAgB,EAAE;IAC7B,OAAO,CAAC,MAAM,IAAI,CAACF,gBAAgB,EAAE,EAAGG,IAAI,EAAE;AAChD;EAMA,MAAMC,iBAAiBA,GAAA;AACrB,IAAA,MAAM,IAAI,CAACF,gBAAgB,EAAE;IAC7B,MAAM,CAAC,MAAM,IAAI,CAACF,gBAAgB,EAAE,EAAGK,KAAK,EAAE;AAChD;EAKA,MAAMC,UAAUA,GAAA;AACd,IAAA,OAAO,CAAC,MAAM,IAAI,CAACf,UAAU,CAAC,IAAI,CAACH,gBAAgB,CAAC,EAAE,EAAEe,IAAI,EAAE;AAChE;EAGA,MAAMI,WAAWA,GAAA;AAIf,IAAA,MAAMX,IAAI,GAAG,MAAM,IAAI,CAACA,IAAI,EAAE;IAC9B,MAAM,CAACY,IAAI,EAAEC,UAAU,CAAC,GAAG,MAAMC,QAAQ,CAAC,MAAM,CAG9Cd,IAAI,CAACC,YAAY,CAAC,UAAU,CAAC,EAC7BD,IAAI,CAACe,aAAa,EAAE,CACrB,CAAC;AAEF,IAAA,OAAOH,IAAI,IAAI,IAAI,IAAK,CAAC,CAACC,UAAU,IAAIA,UAAU,CAACG,MAAM,KAAK,CAAC,IAAIH,UAAU,CAACI,KAAK,KAAK,CAAE;AAC5F;EAMQ,MAAMX,gBAAgBA,GAAA;IAC5B,IAAI,EAAE,MAAM,IAAI,CAACH,SAAS,EAAE,CAAC,EAAE;MAC7B,MAAMe,KAAK,CAAC,0DAA0D,CAAC;AACzE;AACF;EAGQ,MAAMd,gBAAgBA,GAAA;IAC5B,OAAO,IAAI,CAACe,kBAAkB,CAAC,IAAI,CAAC1B,qBAAqB,CAAC,EAAE;AAC9D;;;;;"}
|
|
1
|
+
{"version":3,"file":"snack-bar-testing.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/snack-bar/testing/snack-bar-harness.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 {ContentContainerComponentHarness, HarnessPredicate, parallel} from '@angular/cdk/testing';\nimport {AriaLivePoliteness} from '@angular/cdk/a11y';\nimport {SnackBarHarnessFilters} from './snack-bar-harness-filters';\n\n/** Harness for interacting with a mat-snack-bar in tests. */\nexport class MatSnackBarHarness extends ContentContainerComponentHarness<string> {\n // Developers can provide a custom component or template for the\n // snackbar. The canonical snack-bar parent is the \"MatSnackBarContainer\".\n /** The selector for the host element of a `MatSnackBar` instance. */\n static hostSelector = '.mat-mdc-snack-bar-container:not([mat-exit])';\n private _messageSelector = '.mdc-snackbar__label';\n private _actionButtonSelector = '.mat-mdc-snack-bar-action';\n\n private _snackBarLiveRegion = this.locatorFor('[aria-live]');\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatSnackBarHarness` that meets\n * certain criteria.\n * @param options Options for filtering which snack bar instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(options: SnackBarHarnessFilters = {}): HarnessPredicate<MatSnackBarHarness> {\n return new HarnessPredicate(MatSnackBarHarness, options);\n }\n\n /**\n * Gets the role of the snack-bar. The role of a snack-bar is determined based\n * on the ARIA politeness specified in the snack-bar config.\n * @deprecated Use `getAriaLive` instead.\n * @breaking-change 13.0.0\n */\n async getRole(): Promise<'alert' | 'status' | null> {\n return (await this.host()).getAttribute('role') as Promise<'alert' | 'status' | null>;\n }\n\n /**\n * Gets the aria-live of the snack-bar's live region. The aria-live of a snack-bar is\n * determined based on the ARIA politeness specified in the snack-bar config.\n */\n async getAriaLive(): Promise<AriaLivePoliteness> {\n return (await this._snackBarLiveRegion()).getAttribute(\n 'aria-live',\n ) as Promise<AriaLivePoliteness>;\n }\n\n /**\n * Whether the snack-bar has an action. Method cannot be used for snack-bar's with custom content.\n */\n async hasAction(): Promise<boolean> {\n return (await this._getActionButton()) !== null;\n }\n\n /**\n * Gets the description of the snack-bar. Method cannot be used for snack-bar's without action or\n * with custom content.\n */\n async getActionDescription(): Promise<string> {\n await this._assertHasAction();\n return (await this._getActionButton())!.text();\n }\n\n /**\n * Dismisses the snack-bar by clicking the action button. Method cannot be used for snack-bar's\n * without action or with custom content.\n */\n async dismissWithAction(): Promise<void> {\n await this._assertHasAction();\n await (await this._getActionButton())!.click();\n }\n\n /**\n * Gets the message of the snack-bar. Method cannot be used for snack-bar's with custom content.\n */\n async getMessage(): Promise<string> {\n return (await this.locatorFor(this._messageSelector)()).text();\n }\n\n /** Gets whether the snack-bar has been dismissed. */\n async isDismissed(): Promise<boolean> {\n // We consider the snackbar dismissed if it's not in the DOM. We can assert that the\n // element isn't in the DOM by seeing that its width and height are zero.\n\n const host = await this.host();\n const [exit, dimensions] = await parallel(() => [\n // The snackbar container is marked with the \"exit\" attribute after it has been dismissed\n // but before the animation has finished (after which it's removed from the DOM).\n host.getAttribute('mat-exit'),\n host.getDimensions(),\n ]);\n\n return exit != null || (!!dimensions && dimensions.height === 0 && dimensions.width === 0);\n }\n\n /**\n * Asserts that the current snack-bar has an action defined. Otherwise the\n * promise will reject.\n */\n private async _assertHasAction(): Promise<void> {\n if (!(await this.hasAction())) {\n throw Error('Method cannot be used for a snack-bar without an action.');\n }\n }\n\n /** Gets the simple snack bar action button. */\n private async _getActionButton() {\n return this.locatorForOptional(this._actionButtonSelector)();\n }\n}\n"],"names":["MatSnackBarHarness","ContentContainerComponentHarness","hostSelector","_messageSelector","_actionButtonSelector","_snackBarLiveRegion","locatorFor","with","options","HarnessPredicate","getRole","host","getAttribute","getAriaLive","hasAction","_getActionButton","getActionDescription","_assertHasAction","text","dismissWithAction","click","getMessage","isDismissed","exit","dimensions","parallel","getDimensions","height","width","Error","locatorForOptional"],"mappings":";;AAaM,MAAOA,kBAAmB,SAAQC,gCAAwC,CAAA;EAI9E,OAAOC,YAAY,GAAG,8CAA8C;AAC5DC,EAAAA,gBAAgB,GAAG,sBAAsB;AACzCC,EAAAA,qBAAqB,GAAG,2BAA2B;AAEnDC,EAAAA,mBAAmB,GAAG,IAAI,CAACC,UAAU,CAAC,aAAa,CAAC;AAQ5D,EAAA,OAAOC,IAAIA,CAACC,OAAA,GAAkC,EAAE,EAAA;AAC9C,IAAA,OAAO,IAAIC,gBAAgB,CAACT,kBAAkB,EAAEQ,OAAO,CAAC;AAC1D,EAAA;EAQA,MAAME,OAAOA,GAAA;IACX,OAAO,CAAC,MAAM,IAAI,CAACC,IAAI,EAAE,EAAEC,YAAY,CAAC,MAAM,CAAuC;AACvF,EAAA;EAMA,MAAMC,WAAWA,GAAA;IACf,OAAO,CAAC,MAAM,IAAI,CAACR,mBAAmB,EAAE,EAAEO,YAAY,CACpD,WAAW,CACmB;AAClC,EAAA;EAKA,MAAME,SAASA,GAAA;IACb,OAAO,CAAC,MAAM,IAAI,CAACC,gBAAgB,EAAE,MAAM,IAAI;AACjD,EAAA;EAMA,MAAMC,oBAAoBA,GAAA;AACxB,IAAA,MAAM,IAAI,CAACC,gBAAgB,EAAE;IAC7B,OAAO,CAAC,MAAM,IAAI,CAACF,gBAAgB,EAAE,EAAGG,IAAI,EAAE;AAChD,EAAA;EAMA,MAAMC,iBAAiBA,GAAA;AACrB,IAAA,MAAM,IAAI,CAACF,gBAAgB,EAAE;IAC7B,MAAM,CAAC,MAAM,IAAI,CAACF,gBAAgB,EAAE,EAAGK,KAAK,EAAE;AAChD,EAAA;EAKA,MAAMC,UAAUA,GAAA;AACd,IAAA,OAAO,CAAC,MAAM,IAAI,CAACf,UAAU,CAAC,IAAI,CAACH,gBAAgB,CAAC,EAAE,EAAEe,IAAI,EAAE;AAChE,EAAA;EAGA,MAAMI,WAAWA,GAAA;AAIf,IAAA,MAAMX,IAAI,GAAG,MAAM,IAAI,CAACA,IAAI,EAAE;IAC9B,MAAM,CAACY,IAAI,EAAEC,UAAU,CAAC,GAAG,MAAMC,QAAQ,CAAC,MAAM,CAG9Cd,IAAI,CAACC,YAAY,CAAC,UAAU,CAAC,EAC7BD,IAAI,CAACe,aAAa,EAAE,CACrB,CAAC;AAEF,IAAA,OAAOH,IAAI,IAAI,IAAI,IAAK,CAAC,CAACC,UAAU,IAAIA,UAAU,CAACG,MAAM,KAAK,CAAC,IAAIH,UAAU,CAACI,KAAK,KAAK,CAAE;AAC5F,EAAA;EAMQ,MAAMX,gBAAgBA,GAAA;IAC5B,IAAI,EAAE,MAAM,IAAI,CAACH,SAAS,EAAE,CAAC,EAAE;MAC7B,MAAMe,KAAK,CAAC,0DAA0D,CAAC;AACzE,IAAA;AACF,EAAA;EAGQ,MAAMd,gBAAgBA,GAAA;IAC5B,OAAO,IAAI,CAACe,kBAAkB,CAAC,IAAI,CAAC1B,qBAAqB,CAAC,EAAE;AAC9D,EAAA;;;;;"}
|
package/fesm2022/snack-bar.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, Directive, inject,
|
|
2
|
+
import { InjectionToken, Directive, inject, ChangeDetectionStrategy, ViewEncapsulation, Component, NgZone, ElementRef, ChangeDetectorRef, DOCUMENT, Injector, afterNextRender, ViewChild, TemplateRef, Injectable, NgModule } from '@angular/core';
|
|
3
|
+
import { _IdGenerator, LiveAnnouncer } from '@angular/cdk/a11y';
|
|
4
|
+
import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';
|
|
5
|
+
import { OverlayConfig, createGlobalPositionStrategy, createOverlayRef, OverlayModule } from '@angular/cdk/overlay';
|
|
3
6
|
import { Subject, of } from 'rxjs';
|
|
4
7
|
import { MatButton, MatButtonModule } from './button.mjs';
|
|
5
|
-
import { _IdGenerator, LiveAnnouncer } from '@angular/cdk/a11y';
|
|
6
8
|
import { Platform } from '@angular/cdk/platform';
|
|
7
9
|
import { BasePortalOutlet, CdkPortalOutlet, ComponentPortal, TemplatePortal, PortalModule } from '@angular/cdk/portal';
|
|
8
10
|
import { _animationsDisabled } from './_animation-chunk.mjs';
|
|
9
|
-
import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';
|
|
10
|
-
import { OverlayConfig, createGlobalPositionStrategy, createOverlayRef, OverlayModule } from '@angular/cdk/overlay';
|
|
11
11
|
import { takeUntil } from 'rxjs/operators';
|
|
12
12
|
import { BidiModule } from '@angular/cdk/bidi';
|
|
13
13
|
import './_icon-button-chunk.mjs';
|
|
@@ -98,7 +98,7 @@ class MatSnackBarConfig {
|
|
|
98
98
|
class MatSnackBarLabel {
|
|
99
99
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
100
100
|
minVersion: "12.0.0",
|
|
101
|
-
version: "22.0.0-next.
|
|
101
|
+
version: "22.0.0-next.5",
|
|
102
102
|
ngImport: i0,
|
|
103
103
|
type: MatSnackBarLabel,
|
|
104
104
|
deps: [],
|
|
@@ -106,7 +106,7 @@ class MatSnackBarLabel {
|
|
|
106
106
|
});
|
|
107
107
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
108
108
|
minVersion: "14.0.0",
|
|
109
|
-
version: "22.0.0-next.
|
|
109
|
+
version: "22.0.0-next.5",
|
|
110
110
|
type: MatSnackBarLabel,
|
|
111
111
|
isStandalone: true,
|
|
112
112
|
selector: "[matSnackBarLabel]",
|
|
@@ -118,7 +118,7 @@ class MatSnackBarLabel {
|
|
|
118
118
|
}
|
|
119
119
|
i0.ɵɵngDeclareClassMetadata({
|
|
120
120
|
minVersion: "12.0.0",
|
|
121
|
-
version: "22.0.0-next.
|
|
121
|
+
version: "22.0.0-next.5",
|
|
122
122
|
ngImport: i0,
|
|
123
123
|
type: MatSnackBarLabel,
|
|
124
124
|
decorators: [{
|
|
@@ -134,7 +134,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
134
134
|
class MatSnackBarActions {
|
|
135
135
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
136
136
|
minVersion: "12.0.0",
|
|
137
|
-
version: "22.0.0-next.
|
|
137
|
+
version: "22.0.0-next.5",
|
|
138
138
|
ngImport: i0,
|
|
139
139
|
type: MatSnackBarActions,
|
|
140
140
|
deps: [],
|
|
@@ -142,7 +142,7 @@ class MatSnackBarActions {
|
|
|
142
142
|
});
|
|
143
143
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
144
144
|
minVersion: "14.0.0",
|
|
145
|
-
version: "22.0.0-next.
|
|
145
|
+
version: "22.0.0-next.5",
|
|
146
146
|
type: MatSnackBarActions,
|
|
147
147
|
isStandalone: true,
|
|
148
148
|
selector: "[matSnackBarActions]",
|
|
@@ -154,7 +154,7 @@ class MatSnackBarActions {
|
|
|
154
154
|
}
|
|
155
155
|
i0.ɵɵngDeclareClassMetadata({
|
|
156
156
|
minVersion: "12.0.0",
|
|
157
|
-
version: "22.0.0-next.
|
|
157
|
+
version: "22.0.0-next.5",
|
|
158
158
|
ngImport: i0,
|
|
159
159
|
type: MatSnackBarActions,
|
|
160
160
|
decorators: [{
|
|
@@ -170,7 +170,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
170
170
|
class MatSnackBarAction {
|
|
171
171
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
172
172
|
minVersion: "12.0.0",
|
|
173
|
-
version: "22.0.0-next.
|
|
173
|
+
version: "22.0.0-next.5",
|
|
174
174
|
ngImport: i0,
|
|
175
175
|
type: MatSnackBarAction,
|
|
176
176
|
deps: [],
|
|
@@ -178,7 +178,7 @@ class MatSnackBarAction {
|
|
|
178
178
|
});
|
|
179
179
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
180
180
|
minVersion: "14.0.0",
|
|
181
|
-
version: "22.0.0-next.
|
|
181
|
+
version: "22.0.0-next.5",
|
|
182
182
|
type: MatSnackBarAction,
|
|
183
183
|
isStandalone: true,
|
|
184
184
|
selector: "[matSnackBarAction]",
|
|
@@ -190,7 +190,7 @@ class MatSnackBarAction {
|
|
|
190
190
|
}
|
|
191
191
|
i0.ɵɵngDeclareClassMetadata({
|
|
192
192
|
minVersion: "12.0.0",
|
|
193
|
-
version: "22.0.0-next.
|
|
193
|
+
version: "22.0.0-next.5",
|
|
194
194
|
ngImport: i0,
|
|
195
195
|
type: MatSnackBarAction,
|
|
196
196
|
decorators: [{
|
|
@@ -216,7 +216,7 @@ class SimpleSnackBar {
|
|
|
216
216
|
}
|
|
217
217
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
218
218
|
minVersion: "12.0.0",
|
|
219
|
-
version: "22.0.0-next.
|
|
219
|
+
version: "22.0.0-next.5",
|
|
220
220
|
ngImport: i0,
|
|
221
221
|
type: SimpleSnackBar,
|
|
222
222
|
deps: [],
|
|
@@ -224,7 +224,7 @@ class SimpleSnackBar {
|
|
|
224
224
|
});
|
|
225
225
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
226
226
|
minVersion: "17.0.0",
|
|
227
|
-
version: "22.0.0-next.
|
|
227
|
+
version: "22.0.0-next.5",
|
|
228
228
|
type: SimpleSnackBar,
|
|
229
229
|
isStandalone: true,
|
|
230
230
|
selector: "simple-snack-bar",
|
|
@@ -234,7 +234,7 @@ class SimpleSnackBar {
|
|
|
234
234
|
exportAs: ["matSnackBar"],
|
|
235
235
|
ngImport: i0,
|
|
236
236
|
template: "<div matSnackBarLabel>\n {{data.message}}\n</div>\n\n@if (hasAction) {\n <div matSnackBarActions>\n <button matButton matSnackBarAction (click)=\"action()\">\n {{data.action}}\n </button>\n </div>\n}\n",
|
|
237
|
-
styles: [".mat-mdc-simple-snack-bar{display:flex}.mat-mdc-simple-snack-bar .mat-mdc-snack-bar-label{max-height:50vh
|
|
237
|
+
styles: [".mat-mdc-simple-snack-bar {\n display: flex;\n}\n.mat-mdc-simple-snack-bar .mat-mdc-snack-bar-label {\n max-height: 50vh;\n overflow: auto;\n}\n"],
|
|
238
238
|
dependencies: [{
|
|
239
239
|
kind: "component",
|
|
240
240
|
type: MatButton,
|
|
@@ -260,7 +260,7 @@ class SimpleSnackBar {
|
|
|
260
260
|
}
|
|
261
261
|
i0.ɵɵngDeclareClassMetadata({
|
|
262
262
|
minVersion: "12.0.0",
|
|
263
|
-
version: "22.0.0-next.
|
|
263
|
+
version: "22.0.0-next.5",
|
|
264
264
|
ngImport: i0,
|
|
265
265
|
type: SimpleSnackBar,
|
|
266
266
|
decorators: [{
|
|
@@ -275,7 +275,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
275
275
|
'class': 'mat-mdc-simple-snack-bar'
|
|
276
276
|
},
|
|
277
277
|
template: "<div matSnackBarLabel>\n {{data.message}}\n</div>\n\n@if (hasAction) {\n <div matSnackBarActions>\n <button matButton matSnackBarAction (click)=\"action()\">\n {{data.action}}\n </button>\n </div>\n}\n",
|
|
278
|
-
styles: [".mat-mdc-simple-snack-bar{display:flex}.mat-mdc-simple-snack-bar .mat-mdc-snack-bar-label{max-height:50vh
|
|
278
|
+
styles: [".mat-mdc-simple-snack-bar {\n display: flex;\n}\n.mat-mdc-simple-snack-bar .mat-mdc-snack-bar-label {\n max-height: 50vh;\n overflow: auto;\n}\n"]
|
|
279
279
|
}]
|
|
280
280
|
}],
|
|
281
281
|
ctorParameters: () => []
|
|
@@ -486,7 +486,7 @@ class MatSnackBarContainer extends BasePortalOutlet {
|
|
|
486
486
|
}
|
|
487
487
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
488
488
|
minVersion: "12.0.0",
|
|
489
|
-
version: "22.0.0-next.
|
|
489
|
+
version: "22.0.0-next.5",
|
|
490
490
|
ngImport: i0,
|
|
491
491
|
type: MatSnackBarContainer,
|
|
492
492
|
deps: [],
|
|
@@ -494,7 +494,7 @@ class MatSnackBarContainer extends BasePortalOutlet {
|
|
|
494
494
|
});
|
|
495
495
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
496
496
|
minVersion: "14.0.0",
|
|
497
|
-
version: "22.0.0-next.
|
|
497
|
+
version: "22.0.0-next.5",
|
|
498
498
|
type: MatSnackBarContainer,
|
|
499
499
|
isStandalone: true,
|
|
500
500
|
selector: "mat-snack-bar-container",
|
|
@@ -526,7 +526,7 @@ class MatSnackBarContainer extends BasePortalOutlet {
|
|
|
526
526
|
usesInheritance: true,
|
|
527
527
|
ngImport: i0,
|
|
528
528
|
template: "<div class=\"mdc-snackbar__surface mat-mdc-snackbar-surface\">\n <!--\n This outer label wrapper will have the class `mdc-snackbar__label` applied if\n the attached template/component does not contain it.\n -->\n <div class=\"mat-mdc-snack-bar-label\" #label>\n <!-- Initialy holds the snack bar content, will be empty after announcing to screen readers. -->\n <div aria-hidden=\"true\">\n <ng-template cdkPortalOutlet />\n </div>\n\n <!-- Will receive the snack bar content from the non-live div, move will happen a short delay after opening -->\n <div [attr.aria-live]=\"_live\" [attr.role]=\"_role\" [attr.id]=\"_liveElementId\"></div>\n </div>\n</div>\n",
|
|
529
|
-
styles: ["@keyframes _mat-snack-bar-enter{from{transform:scale(0.8)
|
|
529
|
+
styles: ["@keyframes _mat-snack-bar-enter {\n from {\n transform: scale(0.8);\n opacity: 0;\n }\n to {\n transform: scale(1);\n opacity: 1;\n }\n}\n@keyframes _mat-snack-bar-exit {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n.mat-mdc-snack-bar-container {\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n margin: 8px;\n}\n.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container {\n width: 100vw;\n}\n\n.mat-snack-bar-container-animations-enabled {\n opacity: 0;\n}\n.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible {\n opacity: 1;\n}\n.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter {\n animation: _mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards;\n}\n.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit {\n animation: _mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards;\n}\n\n.mat-mdc-snackbar-surface {\n box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n display: flex;\n align-items: center;\n justify-content: flex-start;\n box-sizing: border-box;\n padding-left: 0;\n padding-right: 8px;\n}\n[dir=rtl] .mat-mdc-snackbar-surface {\n padding-right: 0;\n padding-left: 8px;\n}\n.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface {\n min-width: 344px;\n max-width: 672px;\n}\n.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface {\n width: 100%;\n min-width: 0;\n}\n@media (forced-colors: active) {\n .mat-mdc-snackbar-surface {\n outline: solid 1px;\n }\n}\n.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface {\n color: var(--mat-snack-bar-supporting-text-color, var(--mat-sys-inverse-on-surface));\n border-radius: var(--mat-snack-bar-container-shape, var(--mat-sys-corner-extra-small));\n background-color: var(--mat-snack-bar-container-color, var(--mat-sys-inverse-surface));\n}\n\n.mdc-snackbar__label {\n width: 100%;\n flex-grow: 1;\n box-sizing: border-box;\n margin: 0;\n padding: 14px 8px 14px 16px;\n}\n[dir=rtl] .mdc-snackbar__label {\n padding-left: 8px;\n padding-right: 16px;\n}\n.mat-mdc-snack-bar-container .mdc-snackbar__label {\n font-family: var(--mat-snack-bar-supporting-text-font, var(--mat-sys-body-medium-font));\n font-size: var(--mat-snack-bar-supporting-text-size, var(--mat-sys-body-medium-size));\n font-weight: var(--mat-snack-bar-supporting-text-weight, var(--mat-sys-body-medium-weight));\n line-height: var(--mat-snack-bar-supporting-text-line-height, var(--mat-sys-body-medium-line-height));\n}\n\n.mat-mdc-snack-bar-actions {\n display: flex;\n flex-shrink: 0;\n align-items: center;\n box-sizing: border-box;\n}\n\n.mat-mdc-snack-bar-handset,\n.mat-mdc-snack-bar-container,\n.mat-mdc-snack-bar-label {\n flex: 1 1 auto;\n}\n\n.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed {\n color: var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary));\n}\n.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) {\n --mat-button-text-state-layer-color: currentColor;\n --mat-button-text-ripple-color: currentColor;\n}\n.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element {\n opacity: 0.1;\n}\n"],
|
|
530
530
|
dependencies: [{
|
|
531
531
|
kind: "directive",
|
|
532
532
|
type: CdkPortalOutlet,
|
|
@@ -541,7 +541,7 @@ class MatSnackBarContainer extends BasePortalOutlet {
|
|
|
541
541
|
}
|
|
542
542
|
i0.ɵɵngDeclareClassMetadata({
|
|
543
543
|
minVersion: "12.0.0",
|
|
544
|
-
version: "22.0.0-next.
|
|
544
|
+
version: "22.0.0-next.5",
|
|
545
545
|
ngImport: i0,
|
|
546
546
|
type: MatSnackBarContainer,
|
|
547
547
|
decorators: [{
|
|
@@ -560,7 +560,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
560
560
|
'(animationcancel)': 'onAnimationEnd($event.animationName)'
|
|
561
561
|
},
|
|
562
562
|
template: "<div class=\"mdc-snackbar__surface mat-mdc-snackbar-surface\">\n <!--\n This outer label wrapper will have the class `mdc-snackbar__label` applied if\n the attached template/component does not contain it.\n -->\n <div class=\"mat-mdc-snack-bar-label\" #label>\n <!-- Initialy holds the snack bar content, will be empty after announcing to screen readers. -->\n <div aria-hidden=\"true\">\n <ng-template cdkPortalOutlet />\n </div>\n\n <!-- Will receive the snack bar content from the non-live div, move will happen a short delay after opening -->\n <div [attr.aria-live]=\"_live\" [attr.role]=\"_role\" [attr.id]=\"_liveElementId\"></div>\n </div>\n</div>\n",
|
|
563
|
-
styles: ["@keyframes _mat-snack-bar-enter{from{transform:scale(0.8)
|
|
563
|
+
styles: ["@keyframes _mat-snack-bar-enter {\n from {\n transform: scale(0.8);\n opacity: 0;\n }\n to {\n transform: scale(1);\n opacity: 1;\n }\n}\n@keyframes _mat-snack-bar-exit {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n.mat-mdc-snack-bar-container {\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n margin: 8px;\n}\n.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container {\n width: 100vw;\n}\n\n.mat-snack-bar-container-animations-enabled {\n opacity: 0;\n}\n.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible {\n opacity: 1;\n}\n.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter {\n animation: _mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards;\n}\n.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit {\n animation: _mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards;\n}\n\n.mat-mdc-snackbar-surface {\n box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);\n display: flex;\n align-items: center;\n justify-content: flex-start;\n box-sizing: border-box;\n padding-left: 0;\n padding-right: 8px;\n}\n[dir=rtl] .mat-mdc-snackbar-surface {\n padding-right: 0;\n padding-left: 8px;\n}\n.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface {\n min-width: 344px;\n max-width: 672px;\n}\n.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface {\n width: 100%;\n min-width: 0;\n}\n@media (forced-colors: active) {\n .mat-mdc-snackbar-surface {\n outline: solid 1px;\n }\n}\n.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface {\n color: var(--mat-snack-bar-supporting-text-color, var(--mat-sys-inverse-on-surface));\n border-radius: var(--mat-snack-bar-container-shape, var(--mat-sys-corner-extra-small));\n background-color: var(--mat-snack-bar-container-color, var(--mat-sys-inverse-surface));\n}\n\n.mdc-snackbar__label {\n width: 100%;\n flex-grow: 1;\n box-sizing: border-box;\n margin: 0;\n padding: 14px 8px 14px 16px;\n}\n[dir=rtl] .mdc-snackbar__label {\n padding-left: 8px;\n padding-right: 16px;\n}\n.mat-mdc-snack-bar-container .mdc-snackbar__label {\n font-family: var(--mat-snack-bar-supporting-text-font, var(--mat-sys-body-medium-font));\n font-size: var(--mat-snack-bar-supporting-text-size, var(--mat-sys-body-medium-size));\n font-weight: var(--mat-snack-bar-supporting-text-weight, var(--mat-sys-body-medium-weight));\n line-height: var(--mat-snack-bar-supporting-text-line-height, var(--mat-sys-body-medium-line-height));\n}\n\n.mat-mdc-snack-bar-actions {\n display: flex;\n flex-shrink: 0;\n align-items: center;\n box-sizing: border-box;\n}\n\n.mat-mdc-snack-bar-handset,\n.mat-mdc-snack-bar-container,\n.mat-mdc-snack-bar-label {\n flex: 1 1 auto;\n}\n\n.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed {\n color: var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary));\n}\n.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) {\n --mat-button-text-state-layer-color: currentColor;\n --mat-button-text-ripple-color: currentColor;\n}\n.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element {\n opacity: 0.1;\n}\n"]
|
|
564
564
|
}]
|
|
565
565
|
}],
|
|
566
566
|
ctorParameters: () => [],
|
|
@@ -746,7 +746,7 @@ class MatSnackBar {
|
|
|
746
746
|
}
|
|
747
747
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
748
748
|
minVersion: "12.0.0",
|
|
749
|
-
version: "22.0.0-next.
|
|
749
|
+
version: "22.0.0-next.5",
|
|
750
750
|
ngImport: i0,
|
|
751
751
|
type: MatSnackBar,
|
|
752
752
|
deps: [],
|
|
@@ -754,7 +754,7 @@ class MatSnackBar {
|
|
|
754
754
|
});
|
|
755
755
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
756
756
|
minVersion: "12.0.0",
|
|
757
|
-
version: "22.0.0-next.
|
|
757
|
+
version: "22.0.0-next.5",
|
|
758
758
|
ngImport: i0,
|
|
759
759
|
type: MatSnackBar,
|
|
760
760
|
providedIn: 'root'
|
|
@@ -762,7 +762,7 @@ class MatSnackBar {
|
|
|
762
762
|
}
|
|
763
763
|
i0.ɵɵngDeclareClassMetadata({
|
|
764
764
|
minVersion: "12.0.0",
|
|
765
|
-
version: "22.0.0-next.
|
|
765
|
+
version: "22.0.0-next.5",
|
|
766
766
|
ngImport: i0,
|
|
767
767
|
type: MatSnackBar,
|
|
768
768
|
decorators: [{
|
|
@@ -778,7 +778,7 @@ const DIRECTIVES = [MatSnackBarContainer, MatSnackBarLabel, MatSnackBarActions,
|
|
|
778
778
|
class MatSnackBarModule {
|
|
779
779
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
780
780
|
minVersion: "12.0.0",
|
|
781
|
-
version: "22.0.0-next.
|
|
781
|
+
version: "22.0.0-next.5",
|
|
782
782
|
ngImport: i0,
|
|
783
783
|
type: MatSnackBarModule,
|
|
784
784
|
deps: [],
|
|
@@ -786,7 +786,7 @@ class MatSnackBarModule {
|
|
|
786
786
|
});
|
|
787
787
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
788
788
|
minVersion: "14.0.0",
|
|
789
|
-
version: "22.0.0-next.
|
|
789
|
+
version: "22.0.0-next.5",
|
|
790
790
|
ngImport: i0,
|
|
791
791
|
type: MatSnackBarModule,
|
|
792
792
|
imports: [OverlayModule, PortalModule, MatButtonModule, SimpleSnackBar, MatSnackBarContainer, MatSnackBarLabel, MatSnackBarActions, MatSnackBarAction],
|
|
@@ -794,7 +794,7 @@ class MatSnackBarModule {
|
|
|
794
794
|
});
|
|
795
795
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
796
796
|
minVersion: "12.0.0",
|
|
797
|
-
version: "22.0.0-next.
|
|
797
|
+
version: "22.0.0-next.5",
|
|
798
798
|
ngImport: i0,
|
|
799
799
|
type: MatSnackBarModule,
|
|
800
800
|
providers: [MatSnackBar],
|
|
@@ -803,7 +803,7 @@ class MatSnackBarModule {
|
|
|
803
803
|
}
|
|
804
804
|
i0.ɵɵngDeclareClassMetadata({
|
|
805
805
|
minVersion: "12.0.0",
|
|
806
|
-
version: "22.0.0-next.
|
|
806
|
+
version: "22.0.0-next.5",
|
|
807
807
|
ngImport: i0,
|
|
808
808
|
type: MatSnackBarModule,
|
|
809
809
|
decorators: [{
|