@angular/material 22.0.0-next.5 → 22.0.0-next.7

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.
Files changed (68) hide show
  1. package/fesm2022/_error-options-chunk.mjs +21 -21
  2. package/fesm2022/_error-options-chunk.mjs.map +1 -1
  3. package/fesm2022/_form-field-chunk.mjs +30 -30
  4. package/fesm2022/_icon-button-chunk.mjs +6 -6
  5. package/fesm2022/_icon-registry-chunk.mjs +3 -3
  6. package/fesm2022/_internal-form-field-chunk.mjs +3 -3
  7. package/fesm2022/_line-chunk.mjs +7 -7
  8. package/fesm2022/_option-chunk.mjs +6 -6
  9. package/fesm2022/_option-module-chunk.mjs +4 -4
  10. package/fesm2022/_pseudo-checkbox-chunk.mjs +3 -3
  11. package/fesm2022/_pseudo-checkbox-module-chunk.mjs +4 -4
  12. package/fesm2022/_ripple-chunk.mjs +6 -6
  13. package/fesm2022/_ripple-loader-chunk.mjs +9 -13
  14. package/fesm2022/_ripple-loader-chunk.mjs.map +1 -1
  15. package/fesm2022/_ripple-module-chunk.mjs +4 -4
  16. package/fesm2022/_structural-styles-chunk.mjs +3 -3
  17. package/fesm2022/_tooltip-chunk.mjs +6 -6
  18. package/fesm2022/autocomplete.mjs +13 -13
  19. package/fesm2022/badge.mjs +10 -10
  20. package/fesm2022/bottom-sheet.mjs +17 -20
  21. package/fesm2022/bottom-sheet.mjs.map +1 -1
  22. package/fesm2022/button-toggle.mjs +10 -10
  23. package/fesm2022/button.mjs +13 -13
  24. package/fesm2022/card.mjs +46 -46
  25. package/fesm2022/checkbox.mjs +7 -7
  26. package/fesm2022/chips.mjs +46 -46
  27. package/fesm2022/core.mjs +22 -18
  28. package/fesm2022/core.mjs.map +1 -1
  29. package/fesm2022/datepicker.mjs +88 -92
  30. package/fesm2022/datepicker.mjs.map +1 -1
  31. package/fesm2022/dialog.mjs +32 -35
  32. package/fesm2022/dialog.mjs.map +1 -1
  33. package/fesm2022/divider.mjs +7 -7
  34. package/fesm2022/expansion.mjs +25 -25
  35. package/fesm2022/form-field.mjs +4 -4
  36. package/fesm2022/grid-list.mjs +22 -22
  37. package/fesm2022/icon-testing.mjs +17 -13
  38. package/fesm2022/icon-testing.mjs.map +1 -1
  39. package/fesm2022/icon.mjs +7 -7
  40. package/fesm2022/input.mjs +7 -7
  41. package/fesm2022/list.mjs +49 -49
  42. package/fesm2022/menu.mjs +22 -22
  43. package/fesm2022/paginator.mjs +16 -20
  44. package/fesm2022/paginator.mjs.map +1 -1
  45. package/fesm2022/progress-bar.mjs +7 -7
  46. package/fesm2022/progress-spinner.mjs +7 -7
  47. package/fesm2022/radio.mjs +10 -10
  48. package/fesm2022/select.mjs +10 -10
  49. package/fesm2022/sidenav.mjs +22 -22
  50. package/fesm2022/slide-toggle.mjs +7 -7
  51. package/fesm2022/slider.mjs +16 -16
  52. package/fesm2022/snack-bar.mjs +28 -32
  53. package/fesm2022/snack-bar.mjs.map +1 -1
  54. package/fesm2022/sort.mjs +19 -23
  55. package/fesm2022/sort.mjs.map +1 -1
  56. package/fesm2022/stepper.mjs +51 -43
  57. package/fesm2022/stepper.mjs.map +1 -1
  58. package/fesm2022/table.mjs +55 -55
  59. package/fesm2022/tabs.mjs +43 -43
  60. package/fesm2022/timepicker.mjs +13 -13
  61. package/fesm2022/toolbar.mjs +10 -10
  62. package/fesm2022/tooltip.mjs +4 -4
  63. package/fesm2022/tree.mjs +25 -25
  64. package/package.json +2 -2
  65. package/schematics/ng-add/index.js +1 -1
  66. package/types/_dialog-chunk.d.ts +6 -1
  67. package/types/bottom-sheet.d.ts +6 -1
  68. package/types/stepper.d.ts +5 -1
@@ -96,7 +96,7 @@ const pointerUpEvents = ['mouseup', 'mouseleave', 'touchend', 'touchcancel'];
96
96
  class _MatRippleStylesLoader {
97
97
  static ɵfac = i0.ɵɵngDeclareFactory({
98
98
  minVersion: "12.0.0",
99
- version: "22.0.0-next.6",
99
+ version: "22.0.0-next.9",
100
100
  ngImport: i0,
101
101
  type: _MatRippleStylesLoader,
102
102
  deps: [],
@@ -104,7 +104,7 @@ class _MatRippleStylesLoader {
104
104
  });
105
105
  static ɵcmp = i0.ɵɵngDeclareComponent({
106
106
  minVersion: "14.0.0",
107
- version: "22.0.0-next.6",
107
+ version: "22.0.0-next.9",
108
108
  type: _MatRippleStylesLoader,
109
109
  isStandalone: true,
110
110
  selector: "ng-component",
@@ -123,7 +123,7 @@ class _MatRippleStylesLoader {
123
123
  }
124
124
  i0.ɵɵngDeclareClassMetadata({
125
125
  minVersion: "12.0.0",
126
- version: "22.0.0-next.6",
126
+ version: "22.0.0-next.9",
127
127
  ngImport: i0,
128
128
  type: _MatRippleStylesLoader,
129
129
  decorators: [{
@@ -460,7 +460,7 @@ class MatRipple {
460
460
  }
461
461
  static ɵfac = i0.ɵɵngDeclareFactory({
462
462
  minVersion: "12.0.0",
463
- version: "22.0.0-next.6",
463
+ version: "22.0.0-next.9",
464
464
  ngImport: i0,
465
465
  type: MatRipple,
466
466
  deps: [],
@@ -468,7 +468,7 @@ class MatRipple {
468
468
  });
469
469
  static ɵdir = i0.ɵɵngDeclareDirective({
470
470
  minVersion: "14.0.0",
471
- version: "22.0.0-next.6",
471
+ version: "22.0.0-next.9",
472
472
  type: MatRipple,
473
473
  isStandalone: true,
474
474
  selector: "[mat-ripple], [matRipple]",
@@ -493,7 +493,7 @@ class MatRipple {
493
493
  }
494
494
  i0.ɵɵngDeclareClassMetadata({
495
495
  minVersion: "12.0.0",
496
- version: "22.0.0-next.6",
496
+ version: "22.0.0-next.9",
497
497
  ngImport: i0,
498
498
  type: MatRipple,
499
499
  decorators: [{
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, DOCUMENT, NgZone, Injector, RendererFactory2, Injectable } from '@angular/core';
2
+ import { inject, DOCUMENT, NgZone, Injector, RendererFactory2, Service } from '@angular/core';
3
3
  import { Platform, _getEventTarget } from '@angular/cdk/platform';
4
4
  import { _animationsDisabled } from './_animation-chunk.mjs';
5
5
  import { MAT_RIPPLE_GLOBAL_OPTIONS, RippleRenderer, defaultRippleAnimationConfig } from './_ripple-chunk.mjs';
@@ -112,30 +112,26 @@ class MatRippleLoader {
112
112
  }
113
113
  static ɵfac = i0.ɵɵngDeclareFactory({
114
114
  minVersion: "12.0.0",
115
- version: "22.0.0-next.6",
115
+ version: "22.0.0-next.9",
116
116
  ngImport: i0,
117
117
  type: MatRippleLoader,
118
118
  deps: [],
119
- target: i0.ɵɵFactoryTarget.Injectable
119
+ target: i0.ɵɵFactoryTarget.Service
120
120
  });
121
- static ɵprov = i0.ɵɵngDeclareInjectable({
122
- minVersion: "12.0.0",
123
- version: "22.0.0-next.6",
121
+ static ɵprov = i0.ɵɵngDeclareService({
122
+ minVersion: "22.0.0",
123
+ version: "22.0.0-next.9",
124
124
  ngImport: i0,
125
- type: MatRippleLoader,
126
- providedIn: 'root'
125
+ type: MatRippleLoader
127
126
  });
128
127
  }
129
128
  i0.ɵɵngDeclareClassMetadata({
130
129
  minVersion: "12.0.0",
131
- version: "22.0.0-next.6",
130
+ version: "22.0.0-next.9",
132
131
  ngImport: i0,
133
132
  type: MatRippleLoader,
134
133
  decorators: [{
135
- type: Injectable,
136
- args: [{
137
- providedIn: 'root'
138
- }]
134
+ type: Service
139
135
  }],
140
136
  ctorParameters: () => []
141
137
  });
@@ -1 +1 @@
1
- {"version":3,"file":"_ripple-loader-chunk.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/core/private/ripple-loader.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 Injectable,\n Injector,\n NgZone,\n OnDestroy,\n RendererFactory2,\n inject,\n DOCUMENT,\n} from '@angular/core';\nimport {\n MAT_RIPPLE_GLOBAL_OPTIONS,\n RippleRenderer,\n RippleTarget,\n defaultRippleAnimationConfig,\n} from '../ripple';\nimport {Platform, _getEventTarget} from '@angular/cdk/platform';\nimport {_CdkPrivateStyleLoader} from '@angular/cdk/private';\nimport {_animationsDisabled} from '../animation/animation';\n\n/** The options for the MatRippleLoader's event listeners. */\nconst eventListenerOptions = {capture: true};\n\n/**\n * The events that should trigger the initialization of the ripple.\n * Note that we use `mousedown`, rather than `click`, for mouse devices because\n * we can't rely on `mouseenter` in the shadow DOM and `click` happens too late.\n */\nconst rippleInteractionEvents = ['focus', 'mousedown', 'mouseenter', 'touchstart'];\n\n/** The attribute attached to a component whose ripple has not yet been initialized. */\nconst matRippleUninitialized = 'mat-ripple-loader-uninitialized';\n\n/** Additional classes that should be added to the ripple when it is rendered. */\nconst matRippleClassName = 'mat-ripple-loader-class-name';\n\n/** Whether the ripple should be centered. */\nconst matRippleCentered = 'mat-ripple-loader-centered';\n\n/** Whether the ripple should be disabled. */\nconst matRippleDisabled = 'mat-ripple-loader-disabled';\n\n/**\n * Handles attaching ripples on demand.\n *\n * This service allows us to avoid eagerly creating & attaching MatRipples.\n * It works by creating & attaching a ripple only when a component is first interacted with.\n *\n * @docs-private\n */\n@Injectable({providedIn: 'root'})\nexport class MatRippleLoader implements OnDestroy {\n private _document = inject(DOCUMENT);\n private _animationsDisabled = _animationsDisabled();\n private _globalRippleOptions = inject(MAT_RIPPLE_GLOBAL_OPTIONS, {optional: true});\n private _platform = inject(Platform);\n private _ngZone = inject(NgZone);\n private _injector = inject(Injector);\n private _eventCleanups: (() => void)[];\n private _hosts = new Map<\n HTMLElement,\n {renderer: RippleRenderer; target: RippleTarget; hasSetUpEvents: boolean}\n >();\n\n constructor() {\n const renderer = inject(RendererFactory2).createRenderer(null, null);\n\n this._eventCleanups = this._ngZone.runOutsideAngular(() =>\n rippleInteractionEvents.map(name =>\n renderer.listen(this._document, name, this._onInteraction, eventListenerOptions),\n ),\n );\n }\n\n ngOnDestroy(): void {\n const hosts = this._hosts.keys();\n\n for (const host of hosts) {\n this.destroyRipple(host);\n }\n\n this._eventCleanups.forEach(cleanup => cleanup());\n }\n\n /**\n * Configures the ripple that will be rendered by the ripple loader.\n *\n * Stores the given information about how the ripple should be configured on the host\n * element so that it can later be retrived & used when the ripple is actually created.\n */\n configureRipple(\n host: HTMLElement,\n config: {\n className?: string;\n centered?: boolean;\n disabled?: boolean;\n },\n ): void {\n // Indicates that the ripple has not yet been rendered for this component.\n host.setAttribute(matRippleUninitialized, this._globalRippleOptions?.namespace ?? '');\n\n // Store the additional class name(s) that should be added to the ripple element.\n if (config.className || !host.hasAttribute(matRippleClassName)) {\n host.setAttribute(matRippleClassName, config.className || '');\n }\n\n // Store whether the ripple should be centered.\n if (config.centered) {\n host.setAttribute(matRippleCentered, '');\n }\n\n if (config.disabled) {\n host.setAttribute(matRippleDisabled, '');\n }\n }\n\n /** Sets the disabled state on the ripple instance corresponding to the given host element. */\n setDisabled(host: HTMLElement, disabled: boolean): void {\n const ripple = this._hosts.get(host);\n\n // If the ripple has already been instantiated, just disable it.\n if (ripple) {\n ripple.target.rippleDisabled = disabled;\n\n if (!disabled && !ripple.hasSetUpEvents) {\n ripple.hasSetUpEvents = true;\n ripple.renderer.setupTriggerEvents(host);\n }\n } else if (disabled) {\n // Otherwise, set an attribute so we know what the\n // disabled state should be when the ripple is initialized.\n host.setAttribute(matRippleDisabled, '');\n } else {\n host.removeAttribute(matRippleDisabled);\n }\n }\n\n /**\n * Handles creating and attaching component internals\n * when a component is initially interacted with.\n */\n private _onInteraction = (event: Event) => {\n const eventTarget = _getEventTarget(event);\n\n if (eventTarget instanceof HTMLElement) {\n // TODO(wagnermaciel): Consider batching these events to improve runtime performance.\n const element = eventTarget.closest(\n `[${matRippleUninitialized}=\"${this._globalRippleOptions?.namespace ?? ''}\"]`,\n );\n\n if (element) {\n this._createRipple(element as HTMLElement);\n }\n }\n };\n\n /** Creates a MatRipple and appends it to the given element. */\n private _createRipple(host: HTMLElement): void {\n if (!this._document || this._hosts.has(host)) {\n return;\n }\n\n // Create the ripple element.\n host.querySelector('.mat-ripple')?.remove();\n const rippleEl = this._document.createElement('span');\n rippleEl.classList.add('mat-ripple', host.getAttribute(matRippleClassName)!);\n host.append(rippleEl);\n\n const globalOptions = this._globalRippleOptions;\n const enterDuration = this._animationsDisabled\n ? 0\n : (globalOptions?.animation?.enterDuration ?? defaultRippleAnimationConfig.enterDuration);\n const exitDuration = this._animationsDisabled\n ? 0\n : (globalOptions?.animation?.exitDuration ?? defaultRippleAnimationConfig.exitDuration);\n const target: RippleTarget = {\n rippleDisabled:\n this._animationsDisabled || globalOptions?.disabled || host.hasAttribute(matRippleDisabled),\n rippleConfig: {\n centered: host.hasAttribute(matRippleCentered),\n terminateOnPointerUp: globalOptions?.terminateOnPointerUp,\n animation: {\n enterDuration,\n exitDuration,\n },\n },\n };\n\n const renderer = new RippleRenderer(\n target,\n this._ngZone,\n rippleEl,\n this._platform,\n this._injector,\n );\n const hasSetUpEvents = !target.rippleDisabled;\n\n if (hasSetUpEvents) {\n renderer.setupTriggerEvents(host);\n }\n\n this._hosts.set(host, {\n target,\n renderer,\n hasSetUpEvents,\n });\n\n host.removeAttribute(matRippleUninitialized);\n }\n\n destroyRipple(host: HTMLElement): void {\n const ripple = this._hosts.get(host);\n\n if (ripple) {\n ripple.renderer._removeTriggerEvents();\n this._hosts.delete(host);\n }\n }\n}\n"],"names":["eventListenerOptions","capture","rippleInteractionEvents","matRippleUninitialized","matRippleClassName","matRippleCentered","matRippleDisabled","MatRippleLoader","_document","inject","DOCUMENT","_animationsDisabled","_globalRippleOptions","MAT_RIPPLE_GLOBAL_OPTIONS","optional","_platform","Platform","_ngZone","NgZone","_injector","Injector","_eventCleanups","_hosts","Map","constructor","renderer","RendererFactory2","createRenderer","runOutsideAngular","map","name","listen","_onInteraction","ngOnDestroy","hosts","keys","host","destroyRipple","forEach","cleanup","configureRipple","config","setAttribute","namespace","className","hasAttribute","centered","disabled","setDisabled","ripple","get","target","rippleDisabled","hasSetUpEvents","setupTriggerEvents","removeAttribute","event","eventTarget","_getEventTarget","HTMLElement","element","closest","_createRipple","has","querySelector","remove","rippleEl","createElement","classList","add","getAttribute","append","globalOptions","enterDuration","animation","defaultRippleAnimationConfig","exitDuration","rippleConfig","terminateOnPointerUp","RippleRenderer","set","_removeTriggerEvents","delete","deps","i0","ɵɵFactoryTarget","Injectable","ɵprov","ɵɵngDeclareInjectable","minVersion","version","ngImport","type","decorators","providedIn"],"mappings":";;;;;;AA4BA,MAAMA,oBAAoB,GAAG;AAACC,EAAAA,OAAO,EAAE;CAAK;AAO5C,MAAMC,uBAAuB,GAAG,CAAC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,YAAY,CAAC;AAGlF,MAAMC,sBAAsB,GAAG,iCAAiC;AAGhE,MAAMC,kBAAkB,GAAG,8BAA8B;AAGzD,MAAMC,iBAAiB,GAAG,4BAA4B;AAGtD,MAAMC,iBAAiB,GAAG,4BAA4B;MAWzCC,eAAe,CAAA;AAClBC,EAAAA,SAAS,GAAGC,MAAM,CAACC,QAAQ,CAAC;EAC5BC,mBAAmB,GAAGA,mBAAmB,EAAE;AAC3CC,EAAAA,oBAAoB,GAAGH,MAAM,CAACI,yBAAyB,EAAE;AAACC,IAAAA,QAAQ,EAAE;AAAI,GAAC,CAAC;AAC1EC,EAAAA,SAAS,GAAGN,MAAM,CAACO,QAAQ,CAAC;AAC5BC,EAAAA,OAAO,GAAGR,MAAM,CAACS,MAAM,CAAC;AACxBC,EAAAA,SAAS,GAAGV,MAAM,CAACW,QAAQ,CAAC;EAC5BC,cAAc;AACdC,EAAAA,MAAM,GAAG,IAAIC,GAAG,EAGrB;AAEHC,EAAAA,WAAAA,GAAA;AACE,IAAA,MAAMC,QAAQ,GAAGhB,MAAM,CAACiB,gBAAgB,CAAC,CAACC,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC;AAEpE,IAAA,IAAI,CAACN,cAAc,GAAG,IAAI,CAACJ,OAAO,CAACW,iBAAiB,CAAC,MACnD1B,uBAAuB,CAAC2B,GAAG,CAACC,IAAI,IAC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AAe,CAACpD,sBAAsB,CAAC;AAC9C,EAAA;EAEAkC,aAAaA,CAACD,IAAiB,EAAA;IAC7B,MAAMa,MAAM,GAAG,IAAI,CAAC3B,MAAM,CAAC4B,GAAG,CAACd,IAAI,CAAC;AAEpC,IAAA,IAAIa,MAAM,EAAE;AACVA,MAAAA,MAAM,CAACxB,QAAQ,CAACwD,oBAAoB,EAAE;AACtC,MAAA,IAAI,CAAC3D,MAAM,CAAC4D,MAAM,CAAC9C,IAAI,CAAC;AAC1B,IAAA;AACF,EAAA;;;;;UAtKW7B,eAAe;AAAA4E,IAAAA,IAAA,EAAA,EAAA;AAAAhC,IAAAA,MAAA,EAAAiC,EAAA,CAAAC,eAAA,CAAAC;AAAA,GAAA,CAAA;AAAf,EAAA,OAAAC,KAAA,GAAAH,EAAA,CAAAI,qBAAA,CAAA;AAAAC,IAAAA,UAAA,EAAA,QAAA;AAAAC,IAAAA,OAAA,EAAA,eAAA;AAAAC,IAAAA,QAAA,EAAAP,EAAA;AAAAQ,IAAAA,IAAA,EAAArF,eAAe;gBADH;AAAM,GAAA,CAAA;;;;;;QAClBA,eAAe;AAAAsF,EAAAA,UAAA,EAAA,CAAA;UAD3BP,UAAU;WAAC;AAACQ,MAAAA,UAAU,EAAE;KAAO;;;;;;;"}
1
+ {"version":3,"file":"_ripple-loader-chunk.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/core/private/ripple-loader.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 Service,\n Injector,\n NgZone,\n OnDestroy,\n RendererFactory2,\n inject,\n DOCUMENT,\n} from '@angular/core';\nimport {\n MAT_RIPPLE_GLOBAL_OPTIONS,\n RippleRenderer,\n RippleTarget,\n defaultRippleAnimationConfig,\n} from '../ripple';\nimport {Platform, _getEventTarget} from '@angular/cdk/platform';\nimport {_CdkPrivateStyleLoader} from '@angular/cdk/private';\nimport {_animationsDisabled} from '../animation/animation';\n\n/** The options for the MatRippleLoader's event listeners. */\nconst eventListenerOptions = {capture: true};\n\n/**\n * The events that should trigger the initialization of the ripple.\n * Note that we use `mousedown`, rather than `click`, for mouse devices because\n * we can't rely on `mouseenter` in the shadow DOM and `click` happens too late.\n */\nconst rippleInteractionEvents = ['focus', 'mousedown', 'mouseenter', 'touchstart'];\n\n/** The attribute attached to a component whose ripple has not yet been initialized. */\nconst matRippleUninitialized = 'mat-ripple-loader-uninitialized';\n\n/** Additional classes that should be added to the ripple when it is rendered. */\nconst matRippleClassName = 'mat-ripple-loader-class-name';\n\n/** Whether the ripple should be centered. */\nconst matRippleCentered = 'mat-ripple-loader-centered';\n\n/** Whether the ripple should be disabled. */\nconst matRippleDisabled = 'mat-ripple-loader-disabled';\n\n/**\n * Handles attaching ripples on demand.\n *\n * This service allows us to avoid eagerly creating & attaching MatRipples.\n * It works by creating & attaching a ripple only when a component is first interacted with.\n *\n * @docs-private\n */\n@Service()\nexport class MatRippleLoader implements OnDestroy {\n private _document = inject(DOCUMENT);\n private _animationsDisabled = _animationsDisabled();\n private _globalRippleOptions = inject(MAT_RIPPLE_GLOBAL_OPTIONS, {optional: true});\n private _platform = inject(Platform);\n private _ngZone = inject(NgZone);\n private _injector = inject(Injector);\n private _eventCleanups: (() => void)[];\n private _hosts = new Map<\n HTMLElement,\n {renderer: RippleRenderer; target: RippleTarget; hasSetUpEvents: boolean}\n >();\n\n constructor() {\n const renderer = inject(RendererFactory2).createRenderer(null, null);\n\n this._eventCleanups = this._ngZone.runOutsideAngular(() =>\n rippleInteractionEvents.map(name =>\n renderer.listen(this._document, name, this._onInteraction, eventListenerOptions),\n ),\n );\n }\n\n ngOnDestroy(): void {\n const hosts = this._hosts.keys();\n\n for (const host of hosts) {\n this.destroyRipple(host);\n }\n\n this._eventCleanups.forEach(cleanup => cleanup());\n }\n\n /**\n * Configures the ripple that will be rendered by the ripple loader.\n *\n * Stores the given information about how the ripple should be configured on the host\n * element so that it can later be retrived & used when the ripple is actually created.\n */\n configureRipple(\n host: HTMLElement,\n config: {\n className?: string;\n centered?: boolean;\n disabled?: boolean;\n },\n ): void {\n // Indicates that the ripple has not yet been rendered for this component.\n host.setAttribute(matRippleUninitialized, this._globalRippleOptions?.namespace ?? '');\n\n // Store the additional class name(s) that should be added to the ripple element.\n if (config.className || !host.hasAttribute(matRippleClassName)) {\n host.setAttribute(matRippleClassName, config.className || '');\n }\n\n // Store whether the ripple should be centered.\n if (config.centered) {\n host.setAttribute(matRippleCentered, '');\n }\n\n if (config.disabled) {\n host.setAttribute(matRippleDisabled, '');\n }\n }\n\n /** Sets the disabled state on the ripple instance corresponding to the given host element. */\n setDisabled(host: HTMLElement, disabled: boolean): void {\n const ripple = this._hosts.get(host);\n\n // If the ripple has already been instantiated, just disable it.\n if (ripple) {\n ripple.target.rippleDisabled = disabled;\n\n if (!disabled && !ripple.hasSetUpEvents) {\n ripple.hasSetUpEvents = true;\n ripple.renderer.setupTriggerEvents(host);\n }\n } else if (disabled) {\n // Otherwise, set an attribute so we know what the\n // disabled state should be when the ripple is initialized.\n host.setAttribute(matRippleDisabled, '');\n } else {\n host.removeAttribute(matRippleDisabled);\n }\n }\n\n /**\n * Handles creating and attaching component internals\n * when a component is initially interacted with.\n */\n private _onInteraction = (event: Event) => {\n const eventTarget = _getEventTarget(event);\n\n if (eventTarget instanceof HTMLElement) {\n // TODO(wagnermaciel): Consider batching these events to improve runtime performance.\n const element = eventTarget.closest(\n `[${matRippleUninitialized}=\"${this._globalRippleOptions?.namespace ?? ''}\"]`,\n );\n\n if (element) {\n this._createRipple(element as HTMLElement);\n }\n }\n };\n\n /** Creates a MatRipple and appends it to the given element. */\n private _createRipple(host: HTMLElement): void {\n if (!this._document || this._hosts.has(host)) {\n return;\n }\n\n // Create the ripple element.\n host.querySelector('.mat-ripple')?.remove();\n const rippleEl = this._document.createElement('span');\n rippleEl.classList.add('mat-ripple', host.getAttribute(matRippleClassName)!);\n host.append(rippleEl);\n\n const globalOptions = this._globalRippleOptions;\n const enterDuration = this._animationsDisabled\n ? 0\n : (globalOptions?.animation?.enterDuration ?? defaultRippleAnimationConfig.enterDuration);\n const exitDuration = this._animationsDisabled\n ? 0\n : (globalOptions?.animation?.exitDuration ?? defaultRippleAnimationConfig.exitDuration);\n const target: RippleTarget = {\n rippleDisabled:\n this._animationsDisabled || globalOptions?.disabled || host.hasAttribute(matRippleDisabled),\n rippleConfig: {\n centered: host.hasAttribute(matRippleCentered),\n terminateOnPointerUp: globalOptions?.terminateOnPointerUp,\n animation: {\n enterDuration,\n exitDuration,\n },\n },\n };\n\n const renderer = new RippleRenderer(\n target,\n this._ngZone,\n rippleEl,\n this._platform,\n this._injector,\n );\n const hasSetUpEvents = !target.rippleDisabled;\n\n if (hasSetUpEvents) {\n renderer.setupTriggerEvents(host);\n }\n\n this._hosts.set(host, {\n target,\n renderer,\n hasSetUpEvents,\n });\n\n host.removeAttribute(matRippleUninitialized);\n }\n\n destroyRipple(host: HTMLElement): void {\n const ripple = this._hosts.get(host);\n\n if (ripple) {\n ripple.renderer._removeTriggerEvents();\n this._hosts.delete(host);\n }\n }\n}\n"],"names":["eventListenerOptions","capture","rippleInteractionEvents","matRippleUninitialized","matRippleClassName","matRippleCentered","matRippleDisabled","MatRippleLoader","_document","inject","DOCUMENT","_animationsDisabled","_globalRippleOptions","MAT_RIPPLE_GLOBAL_OPTIONS","optional","_platform","Platform","_ngZone","NgZone","_injector","Injector","_eventCleanups","_hosts","Map","constructor","renderer","RendererFactory2","createRenderer","runOutsideAngular","map","name","listen","_onInteraction","ngOnDestroy","hosts","keys","host","destroyRipple","forEach","cleanup","configureRipple","config","setAttribute","namespace","className","hasAttribute","centered","disabled","setDisabled","ripple","get","target","rippleDisabled","hasSetUpEvents","setupTriggerEvents","removeAttribute","event","eventTarget","_getEventTarget","HTMLElement","element","closest","_createRipple","has","querySelector","remove","rippleEl","createElement","classList","add","getAttribute","append","globalOptions","enterDuration","animation","defaultRippleAnimationConfig","exitDuration","rippleConfig","terminateOnPointerUp","RippleRenderer","set","_removeTriggerEvents","delete","deps","i0","ɵɵFactoryTarget","Service","decorators"],"mappings":";;;;;;AA4BA,MAAMA,oBAAoB,GAAG;AAACC,EAAAA,OAAO,EAAE;CAAK;AAO5C,MAAMC,uBAAuB,GAAG,CAAC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,YAAY,CAAC;AAGlF,MAAMC,sBAAsB,GAAG,iCAAiC;AAGhE,MAAMC,kBAAkB,GAAG,8BAA8B;AAGzD,MAAMC,iBAAiB,GAAG,4BAA4B;AAGtD,MAAMC,iBAAiB,GAAG,4BAA4B;MAWzCC,eAAe,CAAA;AAClBC,EAAAA,SAAS,GAAGC,MAAM,CAACC,QAAQ,CAAC;EAC5BC,mBAAmB,GAAGA,mBAAmB,EAAE;AAC3CC,EAAAA,oBAAoB,GAAGH,MAAM,CAACI,yBAAyB,EAAE;AAACC,IAAAA,QAAQ,EAAE;AAAI,GAAC,CAAC;AAC1EC,EAAAA,SAAS,GAAGN,MAAM,CAACO,QAAQ,CAAC;AAC5BC,EAAAA,OAAO,GAAGR,MAAM,CAACS,MAAM,CAAC;AACxBC,EAAAA,SAAS,GAAGV,MAAM,CAACW,QAAQ,CAAC;EAC5BC,cAAc;AACdC,EAAAA,MAAM,GAAG,IAAIC,GAAG,EAGrB;AAEHC,EAAAA,WAAAA,GAAA;AACE,IAAA,MAAMC,QAAQ,GAAGhB,MAAM,CAACiB,gBAAgB,CAAC,CAACC,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC;AAEpE,IAAA,IAAI,CAACN,cAAc,GAAG,IAAI,CAACJ,OAAO,CAACW,iBAAiB,CAAC,MACnD1B,uBAAuB,CAAC2B,GAAG,CAACC,IAAI,IAC9BL,QAAQ,CAACM,MAAM,CAAC,IAAI,CAACvB,SAAS,EAAEsB,IAAI,EAAE,IAAI,CAACE,cAAc,EAAEhC,oBAAoB,CAAC,CAC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B,MAAM,CAAC4B,GAAG,CAACd,IAAI,CAAC;AAEpC,IAAA,IAAIa,MAAM,EAAE;AACVA,MAAAA,MAAM,CAACxB,QAAQ,CAACwD,oBAAoB,EAAE;AACtC,MAAA,IAAI,CAAC3D,MAAM,CAAC4D,MAAM,CAAC9C,IAAI,CAAC;AAC1B,IAAA;AACF,EAAA;;;;;UAtKW7B,eAAe;AAAA4E,IAAAA,IAAA,EAAA,EAAA;AAAAhC,IAAAA,MAAA,EAAAiC,EAAA,CAAAC,eAAA,CAAAC;AAAA,GAAA,CAAA;;;;;UAAf/E;AAAe,GAAA,CAAA;;;;;;QAAfA,eAAe;AAAAgF,EAAAA,UAAA,EAAA,CAAA;UAD3BD;;;;;;;"}
@@ -6,7 +6,7 @@ import { MatRipple } from './_ripple-chunk.mjs';
6
6
  class MatRippleModule {
7
7
  static ɵfac = i0.ɵɵngDeclareFactory({
8
8
  minVersion: "12.0.0",
9
- version: "22.0.0-next.6",
9
+ version: "22.0.0-next.9",
10
10
  ngImport: i0,
11
11
  type: MatRippleModule,
12
12
  deps: [],
@@ -14,7 +14,7 @@ class MatRippleModule {
14
14
  });
15
15
  static ɵmod = i0.ɵɵngDeclareNgModule({
16
16
  minVersion: "14.0.0",
17
- version: "22.0.0-next.6",
17
+ version: "22.0.0-next.9",
18
18
  ngImport: i0,
19
19
  type: MatRippleModule,
20
20
  imports: [MatRipple],
@@ -22,7 +22,7 @@ class MatRippleModule {
22
22
  });
23
23
  static ɵinj = i0.ɵɵngDeclareInjector({
24
24
  minVersion: "12.0.0",
25
- version: "22.0.0-next.6",
25
+ version: "22.0.0-next.9",
26
26
  ngImport: i0,
27
27
  type: MatRippleModule,
28
28
  imports: [BidiModule]
@@ -30,7 +30,7 @@ class MatRippleModule {
30
30
  }
31
31
  i0.ɵɵngDeclareClassMetadata({
32
32
  minVersion: "12.0.0",
33
- version: "22.0.0-next.6",
33
+ version: "22.0.0-next.9",
34
34
  ngImport: i0,
35
35
  type: MatRippleModule,
36
36
  decorators: [{
@@ -4,7 +4,7 @@ import { ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/
4
4
  class _StructuralStylesLoader {
5
5
  static ɵfac = i0.ɵɵngDeclareFactory({
6
6
  minVersion: "12.0.0",
7
- version: "22.0.0-next.6",
7
+ version: "22.0.0-next.9",
8
8
  ngImport: i0,
9
9
  type: _StructuralStylesLoader,
10
10
  deps: [],
@@ -12,7 +12,7 @@ class _StructuralStylesLoader {
12
12
  });
13
13
  static ɵcmp = i0.ɵɵngDeclareComponent({
14
14
  minVersion: "14.0.0",
15
- version: "22.0.0-next.6",
15
+ version: "22.0.0-next.9",
16
16
  type: _StructuralStylesLoader,
17
17
  isStandalone: true,
18
18
  selector: "structural-styles",
@@ -26,7 +26,7 @@ class _StructuralStylesLoader {
26
26
  }
27
27
  i0.ɵɵngDeclareClassMetadata({
28
28
  minVersion: "12.0.0",
29
- version: "22.0.0-next.6",
29
+ version: "22.0.0-next.9",
30
30
  ngImport: i0,
31
31
  type: _StructuralStylesLoader,
32
32
  decorators: [{
@@ -577,7 +577,7 @@ class MatTooltip {
577
577
  };
578
578
  static ɵfac = i0.ɵɵngDeclareFactory({
579
579
  minVersion: "12.0.0",
580
- version: "22.0.0-next.6",
580
+ version: "22.0.0-next.9",
581
581
  ngImport: i0,
582
582
  type: MatTooltip,
583
583
  deps: [],
@@ -585,7 +585,7 @@ class MatTooltip {
585
585
  });
586
586
  static ɵdir = i0.ɵɵngDeclareDirective({
587
587
  minVersion: "14.0.0",
588
- version: "22.0.0-next.6",
588
+ version: "22.0.0-next.9",
589
589
  type: MatTooltip,
590
590
  isStandalone: true,
591
591
  selector: "[matTooltip]",
@@ -611,7 +611,7 @@ class MatTooltip {
611
611
  }
612
612
  i0.ɵɵngDeclareClassMetadata({
613
613
  minVersion: "12.0.0",
614
- version: "22.0.0-next.6",
614
+ version: "22.0.0-next.9",
615
615
  ngImport: i0,
616
616
  type: MatTooltip,
617
617
  decorators: [{
@@ -783,7 +783,7 @@ class TooltipComponent {
783
783
  }
784
784
  static ɵfac = i0.ɵɵngDeclareFactory({
785
785
  minVersion: "12.0.0",
786
- version: "22.0.0-next.6",
786
+ version: "22.0.0-next.9",
787
787
  ngImport: i0,
788
788
  type: TooltipComponent,
789
789
  deps: [],
@@ -791,7 +791,7 @@ class TooltipComponent {
791
791
  });
792
792
  static ɵcmp = i0.ɵɵngDeclareComponent({
793
793
  minVersion: "14.0.0",
794
- version: "22.0.0-next.6",
794
+ version: "22.0.0-next.9",
795
795
  type: TooltipComponent,
796
796
  isStandalone: true,
797
797
  selector: "mat-tooltip-component",
@@ -819,7 +819,7 @@ class TooltipComponent {
819
819
  }
820
820
  i0.ɵɵngDeclareClassMetadata({
821
821
  minVersion: "12.0.0",
822
- version: "22.0.0-next.6",
822
+ version: "22.0.0-next.9",
823
823
  ngImport: i0,
824
824
  type: TooltipComponent,
825
825
  decorators: [{
@@ -152,7 +152,7 @@ class MatAutocomplete {
152
152
  }
153
153
  static ɵfac = i0.ɵɵngDeclareFactory({
154
154
  minVersion: "12.0.0",
155
- version: "22.0.0-next.6",
155
+ version: "22.0.0-next.9",
156
156
  ngImport: i0,
157
157
  type: MatAutocomplete,
158
158
  deps: [],
@@ -160,7 +160,7 @@ class MatAutocomplete {
160
160
  });
161
161
  static ɵcmp = i0.ɵɵngDeclareComponent({
162
162
  minVersion: "16.1.0",
163
- version: "22.0.0-next.6",
163
+ version: "22.0.0-next.9",
164
164
  type: MatAutocomplete,
165
165
  isStandalone: true,
166
166
  selector: "mat-autocomplete",
@@ -220,7 +220,7 @@ class MatAutocomplete {
220
220
  }
221
221
  i0.ɵɵngDeclareClassMetadata({
222
222
  minVersion: "12.0.0",
223
- version: "22.0.0-next.6",
223
+ version: "22.0.0-next.9",
224
224
  ngImport: i0,
225
225
  type: MatAutocomplete,
226
226
  decorators: [{
@@ -332,7 +332,7 @@ class MatAutocompleteOrigin {
332
332
  elementRef = inject(ElementRef);
333
333
  static ɵfac = i0.ɵɵngDeclareFactory({
334
334
  minVersion: "12.0.0",
335
- version: "22.0.0-next.6",
335
+ version: "22.0.0-next.9",
336
336
  ngImport: i0,
337
337
  type: MatAutocompleteOrigin,
338
338
  deps: [],
@@ -340,7 +340,7 @@ class MatAutocompleteOrigin {
340
340
  });
341
341
  static ɵdir = i0.ɵɵngDeclareDirective({
342
342
  minVersion: "14.0.0",
343
- version: "22.0.0-next.6",
343
+ version: "22.0.0-next.9",
344
344
  type: MatAutocompleteOrigin,
345
345
  isStandalone: true,
346
346
  selector: "[matAutocompleteOrigin]",
@@ -350,7 +350,7 @@ class MatAutocompleteOrigin {
350
350
  }
351
351
  i0.ɵɵngDeclareClassMetadata({
352
352
  minVersion: "12.0.0",
353
- version: "22.0.0-next.6",
353
+ version: "22.0.0-next.9",
354
354
  ngImport: i0,
355
355
  type: MatAutocompleteOrigin,
356
356
  decorators: [{
@@ -893,7 +893,7 @@ class MatAutocompleteTrigger {
893
893
  }
894
894
  static ɵfac = i0.ɵɵngDeclareFactory({
895
895
  minVersion: "12.0.0",
896
- version: "22.0.0-next.6",
896
+ version: "22.0.0-next.9",
897
897
  ngImport: i0,
898
898
  type: MatAutocompleteTrigger,
899
899
  deps: [],
@@ -901,7 +901,7 @@ class MatAutocompleteTrigger {
901
901
  });
902
902
  static ɵdir = i0.ɵɵngDeclareDirective({
903
903
  minVersion: "16.1.0",
904
- version: "22.0.0-next.6",
904
+ version: "22.0.0-next.9",
905
905
  type: MatAutocompleteTrigger,
906
906
  isStandalone: true,
907
907
  selector: "input[matAutocomplete], textarea[matAutocomplete]",
@@ -939,7 +939,7 @@ class MatAutocompleteTrigger {
939
939
  }
940
940
  i0.ɵɵngDeclareClassMetadata({
941
941
  minVersion: "12.0.0",
942
- version: "22.0.0-next.6",
942
+ version: "22.0.0-next.9",
943
943
  ngImport: i0,
944
944
  type: MatAutocompleteTrigger,
945
945
  decorators: [{
@@ -995,7 +995,7 @@ i0.ɵɵngDeclareClassMetadata({
995
995
  class MatAutocompleteModule {
996
996
  static ɵfac = i0.ɵɵngDeclareFactory({
997
997
  minVersion: "12.0.0",
998
- version: "22.0.0-next.6",
998
+ version: "22.0.0-next.9",
999
999
  ngImport: i0,
1000
1000
  type: MatAutocompleteModule,
1001
1001
  deps: [],
@@ -1003,7 +1003,7 @@ class MatAutocompleteModule {
1003
1003
  });
1004
1004
  static ɵmod = i0.ɵɵngDeclareNgModule({
1005
1005
  minVersion: "14.0.0",
1006
- version: "22.0.0-next.6",
1006
+ version: "22.0.0-next.9",
1007
1007
  ngImport: i0,
1008
1008
  type: MatAutocompleteModule,
1009
1009
  imports: [OverlayModule, MatOptionModule, MatAutocomplete, MatAutocompleteTrigger, MatAutocompleteOrigin],
@@ -1011,7 +1011,7 @@ class MatAutocompleteModule {
1011
1011
  });
1012
1012
  static ɵinj = i0.ɵɵngDeclareInjector({
1013
1013
  minVersion: "12.0.0",
1014
- version: "22.0.0-next.6",
1014
+ version: "22.0.0-next.9",
1015
1015
  ngImport: i0,
1016
1016
  type: MatAutocompleteModule,
1017
1017
  imports: [OverlayModule, MatOptionModule, CdkScrollableModule, MatOptionModule, BidiModule]
@@ -1019,7 +1019,7 @@ class MatAutocompleteModule {
1019
1019
  }
1020
1020
  i0.ɵɵngDeclareClassMetadata({
1021
1021
  minVersion: "12.0.0",
1022
- version: "22.0.0-next.6",
1022
+ version: "22.0.0-next.9",
1023
1023
  ngImport: i0,
1024
1024
  type: MatAutocompleteModule,
1025
1025
  decorators: [{
@@ -10,7 +10,7 @@ const BADGE_CONTENT_CLASS = 'mat-badge-content';
10
10
  class _MatBadgeStyleLoader {
11
11
  static ɵfac = i0.ɵɵngDeclareFactory({
12
12
  minVersion: "12.0.0",
13
- version: "22.0.0-next.6",
13
+ version: "22.0.0-next.9",
14
14
  ngImport: i0,
15
15
  type: _MatBadgeStyleLoader,
16
16
  deps: [],
@@ -18,7 +18,7 @@ class _MatBadgeStyleLoader {
18
18
  });
19
19
  static ɵcmp = i0.ɵɵngDeclareComponent({
20
20
  minVersion: "14.0.0",
21
- version: "22.0.0-next.6",
21
+ version: "22.0.0-next.9",
22
22
  type: _MatBadgeStyleLoader,
23
23
  isStandalone: true,
24
24
  selector: "ng-component",
@@ -32,7 +32,7 @@ class _MatBadgeStyleLoader {
32
32
  }
33
33
  i0.ɵɵngDeclareClassMetadata({
34
34
  minVersion: "12.0.0",
35
- version: "22.0.0-next.6",
35
+ version: "22.0.0-next.9",
36
36
  ngImport: i0,
37
37
  type: _MatBadgeStyleLoader,
38
38
  decorators: [{
@@ -204,7 +204,7 @@ class MatBadge {
204
204
  }
205
205
  static ɵfac = i0.ɵɵngDeclareFactory({
206
206
  minVersion: "12.0.0",
207
- version: "22.0.0-next.6",
207
+ version: "22.0.0-next.9",
208
208
  ngImport: i0,
209
209
  type: MatBadge,
210
210
  deps: [],
@@ -212,7 +212,7 @@ class MatBadge {
212
212
  });
213
213
  static ɵdir = i0.ɵɵngDeclareDirective({
214
214
  minVersion: "16.1.0",
215
- version: "22.0.0-next.6",
215
+ version: "22.0.0-next.9",
216
216
  type: MatBadge,
217
217
  isStandalone: true,
218
218
  selector: "[matBadge]",
@@ -246,7 +246,7 @@ class MatBadge {
246
246
  }
247
247
  i0.ɵɵngDeclareClassMetadata({
248
248
  minVersion: "12.0.0",
249
- version: "22.0.0-next.6",
249
+ version: "22.0.0-next.9",
250
250
  ngImport: i0,
251
251
  type: MatBadge,
252
252
  decorators: [{
@@ -317,7 +317,7 @@ i0.ɵɵngDeclareClassMetadata({
317
317
  class MatBadgeModule {
318
318
  static ɵfac = i0.ɵɵngDeclareFactory({
319
319
  minVersion: "12.0.0",
320
- version: "22.0.0-next.6",
320
+ version: "22.0.0-next.9",
321
321
  ngImport: i0,
322
322
  type: MatBadgeModule,
323
323
  deps: [],
@@ -325,7 +325,7 @@ class MatBadgeModule {
325
325
  });
326
326
  static ɵmod = i0.ɵɵngDeclareNgModule({
327
327
  minVersion: "14.0.0",
328
- version: "22.0.0-next.6",
328
+ version: "22.0.0-next.9",
329
329
  ngImport: i0,
330
330
  type: MatBadgeModule,
331
331
  imports: [A11yModule, MatBadge, _MatBadgeStyleLoader],
@@ -333,7 +333,7 @@ class MatBadgeModule {
333
333
  });
334
334
  static ɵinj = i0.ɵɵngDeclareInjector({
335
335
  minVersion: "12.0.0",
336
- version: "22.0.0-next.6",
336
+ version: "22.0.0-next.9",
337
337
  ngImport: i0,
338
338
  type: MatBadgeModule,
339
339
  imports: [A11yModule, BidiModule]
@@ -341,7 +341,7 @@ class MatBadgeModule {
341
341
  }
342
342
  i0.ɵɵngDeclareClassMetadata({
343
343
  minVersion: "12.0.0",
344
- version: "22.0.0-next.6",
344
+ version: "22.0.0-next.9",
345
345
  ngImport: i0,
346
346
  type: MatBadgeModule,
347
347
  decorators: [{
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, inject, ViewEncapsulation, ChangeDetectionStrategy, Component, InjectionToken, Injector, Injectable, NgModule } from '@angular/core';
2
+ import { EventEmitter, inject, ViewEncapsulation, ChangeDetectionStrategy, Component, InjectionToken, Injector, Service, NgModule } from '@angular/core';
3
3
  import { CdkDialogContainer, Dialog, DialogModule } from '@angular/cdk/dialog';
4
4
  import { createGlobalPositionStrategy, createBlockScrollStrategy } from '@angular/cdk/overlay';
5
5
  import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';
@@ -76,7 +76,7 @@ class MatBottomSheetContainer extends CdkDialogContainer {
76
76
  }
77
77
  static ɵfac = i0.ɵɵngDeclareFactory({
78
78
  minVersion: "12.0.0",
79
- version: "22.0.0-next.6",
79
+ version: "22.0.0-next.9",
80
80
  ngImport: i0,
81
81
  type: MatBottomSheetContainer,
82
82
  deps: [],
@@ -84,7 +84,7 @@ class MatBottomSheetContainer extends CdkDialogContainer {
84
84
  });
85
85
  static ɵcmp = i0.ɵɵngDeclareComponent({
86
86
  minVersion: "14.0.0",
87
- version: "22.0.0-next.6",
87
+ version: "22.0.0-next.9",
88
88
  type: MatBottomSheetContainer,
89
89
  isStandalone: true,
90
90
  selector: "mat-bottom-sheet-container",
@@ -125,7 +125,7 @@ class MatBottomSheetContainer extends CdkDialogContainer {
125
125
  }
126
126
  i0.ɵɵngDeclareClassMetadata({
127
127
  minVersion: "12.0.0",
128
- version: "22.0.0-next.6",
128
+ version: "22.0.0-next.9",
129
129
  ngImport: i0,
130
130
  type: MatBottomSheetContainer,
131
131
  decorators: [{
@@ -174,6 +174,7 @@ class MatBottomSheetConfig {
174
174
  height = '';
175
175
  minHeight;
176
176
  maxHeight;
177
+ bindings;
177
178
  }
178
179
 
179
180
  class MatBottomSheetRef {
@@ -316,37 +317,33 @@ class MatBottomSheet {
316
317
  }
317
318
  static ɵfac = i0.ɵɵngDeclareFactory({
318
319
  minVersion: "12.0.0",
319
- version: "22.0.0-next.6",
320
+ version: "22.0.0-next.9",
320
321
  ngImport: i0,
321
322
  type: MatBottomSheet,
322
323
  deps: [],
323
- target: i0.ɵɵFactoryTarget.Injectable
324
+ target: i0.ɵɵFactoryTarget.Service
324
325
  });
325
- static ɵprov = i0.ɵɵngDeclareInjectable({
326
- minVersion: "12.0.0",
327
- version: "22.0.0-next.6",
326
+ static ɵprov = i0.ɵɵngDeclareService({
327
+ minVersion: "22.0.0",
328
+ version: "22.0.0-next.9",
328
329
  ngImport: i0,
329
- type: MatBottomSheet,
330
- providedIn: 'root'
330
+ type: MatBottomSheet
331
331
  });
332
332
  }
333
333
  i0.ɵɵngDeclareClassMetadata({
334
334
  minVersion: "12.0.0",
335
- version: "22.0.0-next.6",
335
+ version: "22.0.0-next.9",
336
336
  ngImport: i0,
337
337
  type: MatBottomSheet,
338
338
  decorators: [{
339
- type: Injectable,
340
- args: [{
341
- providedIn: 'root'
342
- }]
339
+ type: Service
343
340
  }]
344
341
  });
345
342
 
346
343
  class MatBottomSheetModule {
347
344
  static ɵfac = i0.ɵɵngDeclareFactory({
348
345
  minVersion: "12.0.0",
349
- version: "22.0.0-next.6",
346
+ version: "22.0.0-next.9",
350
347
  ngImport: i0,
351
348
  type: MatBottomSheetModule,
352
349
  deps: [],
@@ -354,7 +351,7 @@ class MatBottomSheetModule {
354
351
  });
355
352
  static ɵmod = i0.ɵɵngDeclareNgModule({
356
353
  minVersion: "14.0.0",
357
- version: "22.0.0-next.6",
354
+ version: "22.0.0-next.9",
358
355
  ngImport: i0,
359
356
  type: MatBottomSheetModule,
360
357
  imports: [DialogModule, PortalModule, MatBottomSheetContainer],
@@ -362,7 +359,7 @@ class MatBottomSheetModule {
362
359
  });
363
360
  static ɵinj = i0.ɵɵngDeclareInjector({
364
361
  minVersion: "12.0.0",
365
- version: "22.0.0-next.6",
362
+ version: "22.0.0-next.9",
366
363
  ngImport: i0,
367
364
  type: MatBottomSheetModule,
368
365
  providers: [MatBottomSheet],
@@ -371,7 +368,7 @@ class MatBottomSheetModule {
371
368
  }
372
369
  i0.ɵɵngDeclareClassMetadata({
373
370
  minVersion: "12.0.0",
374
- version: "22.0.0-next.6",
371
+ version: "22.0.0-next.9",
375
372
  ngImport: i0,
376
373
  type: MatBottomSheetModule,
377
374
  decorators: [{