@angular/cdk 22.0.0-next.2 → 22.0.0-next.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/a11y-prebuilt.css +19 -1
  2. package/fesm2022/_a11y-module-chunk.mjs +24 -26
  3. package/fesm2022/_a11y-module-chunk.mjs.map +1 -1
  4. package/fesm2022/_activedescendant-key-manager-chunk.mjs.map +1 -1
  5. package/fesm2022/_breakpoints-observer-chunk.mjs +7 -9
  6. package/fesm2022/_breakpoints-observer-chunk.mjs.map +1 -1
  7. package/fesm2022/_css-pixel-value-chunk.mjs.map +1 -1
  8. package/fesm2022/_directionality-chunk.mjs +3 -3
  9. package/fesm2022/_directionality-chunk.mjs.map +1 -1
  10. package/fesm2022/_dispose-view-repeater-strategy-chunk.mjs.map +1 -1
  11. package/fesm2022/_element-chunk.mjs.map +1 -1
  12. package/fesm2022/_fake-event-detection-chunk.mjs.map +1 -1
  13. package/fesm2022/_focus-key-manager-chunk.mjs.map +1 -1
  14. package/fesm2022/_focus-monitor-chunk.mjs +10 -12
  15. package/fesm2022/_focus-monitor-chunk.mjs.map +1 -1
  16. package/fesm2022/_id-generator-chunk.mjs +3 -3
  17. package/fesm2022/_id-generator-chunk.mjs.map +1 -1
  18. package/fesm2022/_list-key-manager-chunk.mjs.map +1 -1
  19. package/fesm2022/_overlay-module-chunk.mjs +44 -56
  20. package/fesm2022/_overlay-module-chunk.mjs.map +1 -1
  21. package/fesm2022/_passive-listeners-chunk.mjs.map +1 -1
  22. package/fesm2022/_platform-chunk.mjs +4 -6
  23. package/fesm2022/_platform-chunk.mjs.map +1 -1
  24. package/fesm2022/_recycle-view-repeater-strategy-chunk.mjs.map +1 -1
  25. package/fesm2022/_scrolling-chunk.mjs.map +1 -1
  26. package/fesm2022/_selection-model-chunk.mjs.map +1 -1
  27. package/fesm2022/_shadow-dom-chunk.mjs.map +1 -1
  28. package/fesm2022/_style-loader-chunk.mjs +3 -3
  29. package/fesm2022/_style-loader-chunk.mjs.map +1 -1
  30. package/fesm2022/_tree-key-manager-chunk.mjs +1 -1
  31. package/fesm2022/_tree-key-manager-chunk.mjs.map +1 -1
  32. package/fesm2022/_typeahead-chunk.mjs.map +1 -1
  33. package/fesm2022/_unique-selection-dispatcher-chunk.mjs +3 -3
  34. package/fesm2022/_unique-selection-dispatcher-chunk.mjs.map +1 -1
  35. package/fesm2022/a11y.mjs +16 -16
  36. package/fesm2022/a11y.mjs.map +1 -1
  37. package/fesm2022/accordion.mjs +11 -13
  38. package/fesm2022/accordion.mjs.map +1 -1
  39. package/fesm2022/bidi.mjs +9 -9
  40. package/fesm2022/bidi.mjs.map +1 -1
  41. package/fesm2022/cdk.mjs +1 -1
  42. package/fesm2022/cdk.mjs.map +1 -1
  43. package/fesm2022/clipboard.mjs +12 -14
  44. package/fesm2022/clipboard.mjs.map +1 -1
  45. package/fesm2022/coercion-private.mjs.map +1 -1
  46. package/fesm2022/coercion.mjs.map +1 -1
  47. package/fesm2022/collections.mjs +3 -3
  48. package/fesm2022/dialog.mjs +17 -19
  49. package/fesm2022/dialog.mjs.map +1 -1
  50. package/fesm2022/drag-drop.mjs +40 -44
  51. package/fesm2022/drag-drop.mjs.map +1 -1
  52. package/fesm2022/keycodes.mjs.map +1 -1
  53. package/fesm2022/layout.mjs +5 -5
  54. package/fesm2022/listbox.mjs +13 -13
  55. package/fesm2022/listbox.mjs.map +1 -1
  56. package/fesm2022/menu.mjs +55 -55
  57. package/fesm2022/menu.mjs.map +1 -1
  58. package/fesm2022/observers-private.mjs +3 -3
  59. package/fesm2022/observers-private.mjs.map +1 -1
  60. package/fesm2022/observers.mjs +16 -20
  61. package/fesm2022/observers.mjs.map +1 -1
  62. package/fesm2022/overlay.mjs +7 -11
  63. package/fesm2022/overlay.mjs.map +1 -1
  64. package/fesm2022/platform.mjs +5 -5
  65. package/fesm2022/platform.mjs.map +1 -1
  66. package/fesm2022/portal.mjs +12 -16
  67. package/fesm2022/portal.mjs.map +1 -1
  68. package/fesm2022/private.mjs +7 -7
  69. package/fesm2022/private.mjs.map +1 -1
  70. package/fesm2022/scrolling.mjs +47 -59
  71. package/fesm2022/scrolling.mjs.map +1 -1
  72. package/fesm2022/stepper.mjs +34 -36
  73. package/fesm2022/stepper.mjs.map +1 -1
  74. package/fesm2022/table.mjs +88 -112
  75. package/fesm2022/table.mjs.map +1 -1
  76. package/fesm2022/testing-selenium-webdriver.mjs.map +1 -1
  77. package/fesm2022/testing-testbed.mjs +1 -1
  78. package/fesm2022/testing-testbed.mjs.map +1 -1
  79. package/fesm2022/testing.mjs.map +1 -1
  80. package/fesm2022/text-field.mjs +20 -24
  81. package/fesm2022/text-field.mjs.map +1 -1
  82. package/fesm2022/tree.mjs +33 -45
  83. package/fesm2022/tree.mjs.map +1 -1
  84. package/overlay-prebuilt.css +117 -1
  85. package/package.json +1 -1
  86. package/schematics/ng-add/index.js +1 -1
  87. package/text-field-prebuilt.css +26 -1
  88. package/types/_a11y-module-chunk.d.ts +5 -6
  89. package/types/_activedescendant-key-manager-chunk.d.ts +1 -1
  90. package/types/_bidi-module-chunk.d.ts +1 -1
  91. package/types/_focus-key-manager-chunk.d.ts +1 -1
  92. package/types/_focus-monitor-chunk.d.ts +2 -3
  93. package/types/_overlay-module-chunk.d.ts +2 -5
  94. package/types/_platform-chunk.d.ts +0 -2
  95. package/types/_portal-directives-chunk.d.ts +1 -2
  96. package/types/_scrolling-module-chunk.d.ts +5 -9
  97. package/types/_view-repeater-chunk.d.ts +1 -1
  98. package/types/a11y.d.ts +6 -6
  99. package/types/accordion.d.ts +0 -1
  100. package/types/clipboard.d.ts +1 -2
  101. package/types/dialog.d.ts +1 -2
  102. package/types/drag-drop.d.ts +7 -9
  103. package/types/layout.d.ts +1 -2
  104. package/types/listbox.d.ts +1 -1
  105. package/types/observers.d.ts +1 -3
  106. package/types/overlay.d.ts +1 -5
  107. package/types/scrolling.d.ts +1 -1
  108. package/types/stepper.d.ts +5 -8
  109. package/types/table.d.ts +11 -20
  110. package/types/testing-selenium-webdriver.d.ts +0 -19
  111. package/types/text-field.d.ts +1 -3
  112. package/types/tree.d.ts +4 -9
@@ -74,7 +74,7 @@ class SharedResizeObserver {
74
74
  }
75
75
  static ɵfac = i0.ɵɵngDeclareFactory({
76
76
  minVersion: "12.0.0",
77
- version: "22.0.0-next.1",
77
+ version: "22.0.0-next.6",
78
78
  ngImport: i0,
79
79
  type: SharedResizeObserver,
80
80
  deps: [],
@@ -82,7 +82,7 @@ class SharedResizeObserver {
82
82
  });
83
83
  static ɵprov = i0.ɵɵngDeclareInjectable({
84
84
  minVersion: "12.0.0",
85
- version: "22.0.0-next.1",
85
+ version: "22.0.0-next.6",
86
86
  ngImport: i0,
87
87
  type: SharedResizeObserver,
88
88
  providedIn: 'root'
@@ -90,7 +90,7 @@ class SharedResizeObserver {
90
90
  }
91
91
  i0.ɵɵngDeclareClassMetadata({
92
92
  minVersion: "12.0.0",
93
- version: "22.0.0-next.1",
93
+ version: "22.0.0-next.6",
94
94
  ngImport: i0,
95
95
  type: SharedResizeObserver,
96
96
  decorators: [{
@@ -1 +1 @@
1
- {"version":3,"file":"observers-private.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk/observers/private/shared-resize-observer.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 */\nimport {inject, Injectable, NgZone, OnDestroy, RendererFactory2} from '@angular/core';\nimport {Observable, Subject} from 'rxjs';\nimport {filter, shareReplay, takeUntil} from 'rxjs/operators';\n\n/**\n * Handler that logs \"ResizeObserver loop limit exceeded\" errors.\n * These errors are not shown in the Chrome console, so we log them to ensure developers are aware.\n * @param e The error\n */\nconst loopLimitExceededErrorHandler = (e: unknown) => {\n if (e instanceof ErrorEvent && e.message === 'ResizeObserver loop limit exceeded') {\n console.error(\n `${e.message}. This could indicate a performance issue with your app. See https://github.com/WICG/resize-observer/blob/master/explainer.md#error-handling`,\n );\n }\n};\n\n/**\n * A shared ResizeObserver to be used for a particular box type (content-box, border-box, or\n * device-pixel-content-box)\n */\nclass SingleBoxSharedResizeObserver {\n /** Stream that emits when the shared observer is destroyed. */\n private _destroyed = new Subject<void>();\n /** Stream of all events from the ResizeObserver. */\n private _resizeSubject = new Subject<ResizeObserverEntry[]>();\n /** ResizeObserver used to observe element resize events. */\n private _resizeObserver?: ResizeObserver;\n /** A map of elements to streams of their resize events. */\n private _elementObservables = new Map<Element, Observable<ResizeObserverEntry[]>>();\n\n constructor(\n /** The box type to observe for resizes. */\n private _box: ResizeObserverBoxOptions,\n ) {\n if (typeof ResizeObserver !== 'undefined') {\n this._resizeObserver = new ResizeObserver(entries => this._resizeSubject.next(entries));\n }\n }\n\n /**\n * Gets a stream of resize events for the given element.\n * @param target The element to observe.\n * @return The stream of resize events for the element.\n */\n observe(target: Element): Observable<ResizeObserverEntry[]> {\n if (!this._elementObservables.has(target)) {\n this._elementObservables.set(\n target,\n new Observable<ResizeObserverEntry[]>(observer => {\n const subscription = this._resizeSubject.subscribe(observer);\n this._resizeObserver?.observe(target, {box: this._box});\n return () => {\n this._resizeObserver?.unobserve(target);\n subscription.unsubscribe();\n this._elementObservables.delete(target);\n };\n }).pipe(\n filter(entries => entries.some(entry => entry.target === target)),\n // Share a replay of the last event so that subsequent calls to observe the same element\n // receive initial sizing info like the first one. Also enable ref counting so the\n // element will be automatically unobserved when there are no more subscriptions.\n shareReplay({bufferSize: 1, refCount: true}),\n takeUntil(this._destroyed),\n ),\n );\n }\n return this._elementObservables.get(target)!;\n }\n\n /** Destroys this instance. */\n destroy() {\n this._destroyed.next();\n this._destroyed.complete();\n this._resizeSubject.complete();\n this._elementObservables.clear();\n }\n}\n\n/**\n * Allows observing resize events on multiple elements using a shared set of ResizeObserver.\n * Sharing a ResizeObserver instance is recommended for better performance (see\n * https://github.com/WICG/resize-observer/issues/59).\n *\n * Rather than share a single `ResizeObserver`, this class creates one `ResizeObserver` per type\n * of observed box ('content-box', 'border-box', and 'device-pixel-content-box'). This avoids\n * later calls to `observe` with a different box type from influencing the events dispatched to\n * earlier calls.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class SharedResizeObserver implements OnDestroy {\n private _cleanupErrorListener: (() => void) | undefined;\n\n /** Map of box type to shared resize observer. */\n private _observers = new Map<ResizeObserverBoxOptions, SingleBoxSharedResizeObserver>();\n\n /** The Angular zone. */\n private _ngZone = inject(NgZone);\n\n constructor() {\n if (typeof ResizeObserver !== 'undefined' && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n this._ngZone.runOutsideAngular(() => {\n const renderer = inject(RendererFactory2).createRenderer(null, null);\n this._cleanupErrorListener = renderer.listen(\n 'window',\n 'error',\n loopLimitExceededErrorHandler,\n );\n });\n }\n }\n\n ngOnDestroy() {\n for (const [, observer] of this._observers) {\n observer.destroy();\n }\n this._observers.clear();\n this._cleanupErrorListener?.();\n }\n\n /**\n * Gets a stream of resize events for the given target element and box type.\n * @param target The element to observe for resizes.\n * @param options Options to pass to the `ResizeObserver`\n * @return The stream of resize events for the element.\n */\n observe(target: Element, options?: ResizeObserverOptions): Observable<ResizeObserverEntry[]> {\n const box = options?.box || 'content-box';\n if (!this._observers.has(box)) {\n this._observers.set(box, new SingleBoxSharedResizeObserver(box));\n }\n return this._observers.get(box)!.observe(target);\n }\n}\n"],"names":["loopLimitExceededErrorHandler","e","ErrorEvent","message","console","error","SingleBoxSharedResizeObserver","_box","_destroyed","Subject","_resizeSubject","_resizeObserver","_elementObservables","Map","constructor","ResizeObserver","entries","next","observe","target","has","set","Observable","observer","subscription","subscribe","box","unobserve","unsubscribe","delete","pipe","filter","some","entry","shareReplay","bufferSize","refCount","takeUntil","get","destroy","complete","clear","SharedResizeObserver","_cleanupErrorListener","_observers","_ngZone","inject","NgZone","ngDevMode","runOutsideAngular","renderer","RendererFactory2","createRenderer","listen","ngOnDestroy","options","deps","i0","ɵɵFactoryTarget","Injectable","ɵprov","ɵɵngDeclareInjectable","minVersion","version","ngImport","type","decorators","args","providedIn"],"mappings":";;;;;AAgBA,MAAMA,6BAA6B,GAAIC,CAAU,IAAI;EACnD,IAAIA,CAAC,YAAYC,UAAU,IAAID,CAAC,CAACE,OAAO,KAAK,oCAAoC,EAAE;IACjFC,OAAO,CAACC,KAAK,CACX,CAAA,EAAGJ,CAAC,CAACE,OAAO,8IAA8I,CAC3J;AACH;AACF,CAAC;AAMD,MAAMG,6BAA6B,CAAA;EAYvBC,IAAA;AAVFC,EAAAA,UAAU,GAAG,IAAIC,OAAO,EAAQ;AAEhCC,EAAAA,cAAc,GAAG,IAAID,OAAO,EAAyB;EAErDE,eAAe;AAEfC,EAAAA,mBAAmB,GAAG,IAAIC,GAAG,EAA8C;EAEnFC,WAAAA,CAEUP,IAA8B,EAAA;IAA9B,IAAI,CAAAA,IAAA,GAAJA,IAAI;AAEZ,IAAA,IAAI,OAAOQ,cAAc,KAAK,WAAW,EAAE;AACzC,MAAA,IAAI,CAACJ,eAAe,GAAG,IAAII,cAAc,CAACC,OAAO,IAAI,IAAI,CAACN,cAAc,CAACO,IAAI,CAACD,OAAO,CAAC,CAAC;AACzF;AACF;EAOAE,OAAOA,CAACC,MAAe,EAAA;IACrB,IAAI,CAAC,IAAI,CAACP,mBAAmB,CAACQ,GAAG,CAACD,MAAM,CAAC,EAAE;MACzC,IAAI,CAACP,mBAAmB,CAACS,GAAG,CAC1BF,MAAM,EACN,IAAIG,UAAU,CAAwBC,QAAQ,IAAG;QAC/C,MAAMC,YAAY,GAAG,IAAI,CAACd,cAAc,CAACe,SAAS,CAACF,QAAQ,CAAC;AAC5D,QAAA,IAAI,CAACZ,eAAe,EAAEO,OAAO,CAACC,MAAM,EAAE;UAACO,GAAG,EAAE,IAAI,CAACnB;AAAI,SAAC,CAAC;AACvD,QAAA,OAAO,MAAK;AACV,UAAA,IAAI,CAACI,eAAe,EAAEgB,SAAS,CAACR,MAAM,CAAC;UACvCK,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64-fastbuild-ST-fdfa778d11ba/bin/src/cdk/observers/private/shared-resize-observer.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 */\nimport {inject, Injectable, NgZone, OnDestroy, RendererFactory2} from '@angular/core';\nimport {Observable, Subject} from 'rxjs';\nimport {filter, shareReplay, takeUntil} from 'rxjs/operators';\n\n/**\n * Handler that logs \"ResizeObserver loop limit exceeded\" errors.\n * These errors are not shown in the Chrome console, so we log them to ensure developers are aware.\n * @param e The error\n */\nconst loopLimitExceededErrorHandler = (e: unknown) => {\n if (e instanceof ErrorEvent && e.message === 'ResizeObserver loop limit exceeded') {\n console.error(\n `${e.message}. This could indicate a performance issue with your app. See https://github.com/WICG/resize-observer/blob/master/explainer.md#error-handling`,\n );\n }\n};\n\n/**\n * A shared ResizeObserver to be used for a particular box type (content-box, border-box, or\n * device-pixel-content-box)\n */\nclass SingleBoxSharedResizeObserver {\n /** Stream that emits when the shared observer is destroyed. */\n private _destroyed = new Subject<void>();\n /** Stream of all events from the ResizeObserver. */\n private _resizeSubject = new Subject<ResizeObserverEntry[]>();\n /** ResizeObserver used to observe element resize events. */\n private _resizeObserver?: ResizeObserver;\n /** A map of elements to streams of their resize events. */\n private _elementObservables = new Map<Element, Observable<ResizeObserverEntry[]>>();\n\n constructor(\n /** The box type to observe for resizes. */\n private _box: ResizeObserverBoxOptions,\n ) {\n if (typeof ResizeObserver !== 'undefined') {\n this._resizeObserver = new ResizeObserver(entries => this._resizeSubject.next(entries));\n }\n }\n\n /**\n * Gets a stream of resize events for the given element.\n * @param target The element to observe.\n * @return The stream of resize events for the element.\n */\n observe(target: Element): Observable<ResizeObserverEntry[]> {\n if (!this._elementObservables.has(target)) {\n this._elementObservables.set(\n target,\n new Observable<ResizeObserverEntry[]>(observer => {\n const subscription = this._resizeSubject.subscribe(observer);\n this._resizeObserver?.observe(target, {box: this._box});\n return () => {\n this._resizeObserver?.unobserve(target);\n subscription.unsubscribe();\n this._elementObservables.delete(target);\n };\n }).pipe(\n filter(entries => entries.some(entry => entry.target === target)),\n // Share a replay of the last event so that subsequent calls to observe the same element\n // receive initial sizing info like the first one. Also enable ref counting so the\n // element will be automatically unobserved when there are no more subscriptions.\n shareReplay({bufferSize: 1, refCount: true}),\n takeUntil(this._destroyed),\n ),\n );\n }\n return this._elementObservables.get(target)!;\n }\n\n /** Destroys this instance. */\n destroy() {\n this._destroyed.next();\n this._destroyed.complete();\n this._resizeSubject.complete();\n this._elementObservables.clear();\n }\n}\n\n/**\n * Allows observing resize events on multiple elements using a shared set of ResizeObserver.\n * Sharing a ResizeObserver instance is recommended for better performance (see\n * https://github.com/WICG/resize-observer/issues/59).\n *\n * Rather than share a single `ResizeObserver`, this class creates one `ResizeObserver` per type\n * of observed box ('content-box', 'border-box', and 'device-pixel-content-box'). This avoids\n * later calls to `observe` with a different box type from influencing the events dispatched to\n * earlier calls.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class SharedResizeObserver implements OnDestroy {\n private _cleanupErrorListener: (() => void) | undefined;\n\n /** Map of box type to shared resize observer. */\n private _observers = new Map<ResizeObserverBoxOptions, SingleBoxSharedResizeObserver>();\n\n /** The Angular zone. */\n private _ngZone = inject(NgZone);\n\n constructor() {\n if (typeof ResizeObserver !== 'undefined' && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n this._ngZone.runOutsideAngular(() => {\n const renderer = inject(RendererFactory2).createRenderer(null, null);\n this._cleanupErrorListener = renderer.listen(\n 'window',\n 'error',\n loopLimitExceededErrorHandler,\n );\n });\n }\n }\n\n ngOnDestroy() {\n for (const [, observer] of this._observers) {\n observer.destroy();\n }\n this._observers.clear();\n this._cleanupErrorListener?.();\n }\n\n /**\n * Gets a stream of resize events for the given target element and box type.\n * @param target The element to observe for resizes.\n * @param options Options to pass to the `ResizeObserver`\n * @return The stream of resize events for the element.\n */\n observe(target: Element, options?: ResizeObserverOptions): Observable<ResizeObserverEntry[]> {\n const box = options?.box || 'content-box';\n if (!this._observers.has(box)) {\n this._observers.set(box, new SingleBoxSharedResizeObserver(box));\n }\n return this._observers.get(box)!.observe(target);\n }\n}\n"],"names":["loopLimitExceededErrorHandler","e","ErrorEvent","message","console","error","SingleBoxSharedResizeObserver","_box","_destroyed","Subject","_resizeSubject","_resizeObserver","_elementObservables","Map","constructor","ResizeObserver","entries","next","observe","target","has","set","Observable","observer","subscription","subscribe","box","unobserve","unsubscribe","delete","pipe","filter","some","entry","shareReplay","bufferSize","refCount","takeUntil","get","destroy","complete","clear","SharedResizeObserver","_cleanupErrorListener","_observers","_ngZone","inject","NgZone","ngDevMode","runOutsideAngular","renderer","RendererFactory2","createRenderer","listen","ngOnDestroy","options","deps","i0","ɵɵFactoryTarget","Injectable","ɵprov","ɵɵngDeclareInjectable","minVersion","version","ngImport","type","decorators","args","providedIn"],"mappings":";;;;;AAgBA,MAAMA,6BAA6B,GAAIC,CAAU,IAAI;EACnD,IAAIA,CAAC,YAAYC,UAAU,IAAID,CAAC,CAACE,OAAO,KAAK,oCAAoC,EAAE;IACjFC,OAAO,CAACC,KAAK,CACX,CAAA,EAAGJ,CAAC,CAACE,OAAO,8IAA8I,CAC3J;AACH,EAAA;AACF,CAAC;AAMD,MAAMG,6BAA6B,CAAA;EAYvBC,IAAA;AAVFC,EAAAA,UAAU,GAAG,IAAIC,OAAO,EAAQ;AAEhCC,EAAAA,cAAc,GAAG,IAAID,OAAO,EAAyB;EAErDE,eAAe;AAEfC,EAAAA,mBAAmB,GAAG,IAAIC,GAAG,EAA8C;EAEnFC,WAAAA,CAEUP,IAA8B,EAAA;IAA9B,IAAA,CAAAA,IAAI,GAAJA,IAAI;AAEZ,IAAA,IAAI,OAAOQ,cAAc,KAAK,WAAW,EAAE;AACzC,MAAA,IAAI,CAACJ,eAAe,GAAG,IAAII,cAAc,CAACC,OAAO,IAAI,IAAI,CAACN,cAAc,CAACO,IAAI,CAACD,OAAO,CAAC,CAAC;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,OAAO,CAACC,MAAM,CAAC;AAClD,EAAA;;;;;UA1CWuB,oBAAoB;AAAAc,IAAAA,IAAA,EAAA,EAAA;AAAArC,IAAAA,MAAA,EAAAsC,EAAA,CAAAC,eAAA,CAAAC;AAAA,GAAA,CAAA;AAApB,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,EAAAvB,oBAAoB;gBAFnB;AAAM,GAAA,CAAA;;;;;;QAEPA,oBAAoB;AAAAwB,EAAAA,UAAA,EAAA,CAAA;UAHhCP,UAAU;AAACQ,IAAAA,IAAA,EAAA,CAAA;AACVC,MAAAA,UAAU,EAAE;KACb;;;;;;;"}
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Injectable, inject, NgZone, ElementRef, EventEmitter, booleanAttribute, Directive, Output, Input, NgModule } from '@angular/core';
2
+ import { inject, ElementRef, EventEmitter, booleanAttribute, NgZone, Injectable, Input, Output, Directive, NgModule } from '@angular/core';
3
3
  import { Observable, Subject } from 'rxjs';
4
- import { map, filter, debounceTime } from 'rxjs/operators';
4
+ import { debounceTime, map, filter } from 'rxjs/operators';
5
5
  import { coerceNumberProperty, coerceElement } from './_element-chunk.mjs';
6
6
 
7
7
  function shouldIgnoreRecord(record) {
@@ -29,7 +29,7 @@ class MutationObserverFactory {
29
29
  }
30
30
  static ɵfac = i0.ɵɵngDeclareFactory({
31
31
  minVersion: "12.0.0",
32
- version: "22.0.0-next.1",
32
+ version: "22.0.0-next.6",
33
33
  ngImport: i0,
34
34
  type: MutationObserverFactory,
35
35
  deps: [],
@@ -37,7 +37,7 @@ class MutationObserverFactory {
37
37
  });
38
38
  static ɵprov = i0.ɵɵngDeclareInjectable({
39
39
  minVersion: "12.0.0",
40
- version: "22.0.0-next.1",
40
+ version: "22.0.0-next.6",
41
41
  ngImport: i0,
42
42
  type: MutationObserverFactory,
43
43
  providedIn: 'root'
@@ -45,7 +45,7 @@ class MutationObserverFactory {
45
45
  }
46
46
  i0.ɵɵngDeclareClassMetadata({
47
47
  minVersion: "12.0.0",
48
- version: "22.0.0-next.1",
48
+ version: "22.0.0-next.6",
49
49
  ngImport: i0,
50
50
  type: MutationObserverFactory,
51
51
  decorators: [{
@@ -59,7 +59,6 @@ class ContentObserver {
59
59
  _mutationObserverFactory = inject(MutationObserverFactory);
60
60
  _observedElements = new Map();
61
61
  _ngZone = inject(NgZone);
62
- constructor() {}
63
62
  ngOnDestroy() {
64
63
  this._observedElements.forEach((_, element) => this._cleanupObserver(element));
65
64
  }
@@ -124,7 +123,7 @@ class ContentObserver {
124
123
  }
125
124
  static ɵfac = i0.ɵɵngDeclareFactory({
126
125
  minVersion: "12.0.0",
127
- version: "22.0.0-next.1",
126
+ version: "22.0.0-next.6",
128
127
  ngImport: i0,
129
128
  type: ContentObserver,
130
129
  deps: [],
@@ -132,7 +131,7 @@ class ContentObserver {
132
131
  });
133
132
  static ɵprov = i0.ɵɵngDeclareInjectable({
134
133
  minVersion: "12.0.0",
135
- version: "22.0.0-next.1",
134
+ version: "22.0.0-next.6",
136
135
  ngImport: i0,
137
136
  type: ContentObserver,
138
137
  providedIn: 'root'
@@ -140,7 +139,7 @@ class ContentObserver {
140
139
  }
141
140
  i0.ɵɵngDeclareClassMetadata({
142
141
  minVersion: "12.0.0",
143
- version: "22.0.0-next.1",
142
+ version: "22.0.0-next.6",
144
143
  ngImport: i0,
145
144
  type: ContentObserver,
146
145
  decorators: [{
@@ -148,8 +147,7 @@ i0.ɵɵngDeclareClassMetadata({
148
147
  args: [{
149
148
  providedIn: 'root'
150
149
  }]
151
- }],
152
- ctorParameters: () => []
150
+ }]
153
151
  });
154
152
  class CdkObserveContent {
155
153
  _contentObserver = inject(ContentObserver);
@@ -172,7 +170,6 @@ class CdkObserveContent {
172
170
  }
173
171
  _debounce;
174
172
  _currentSubscription = null;
175
- constructor() {}
176
173
  ngAfterContentInit() {
177
174
  if (!this._currentSubscription && !this.disabled) {
178
175
  this._subscribe();
@@ -191,7 +188,7 @@ class CdkObserveContent {
191
188
  }
192
189
  static ɵfac = i0.ɵɵngDeclareFactory({
193
190
  minVersion: "12.0.0",
194
- version: "22.0.0-next.1",
191
+ version: "22.0.0-next.6",
195
192
  ngImport: i0,
196
193
  type: CdkObserveContent,
197
194
  deps: [],
@@ -199,7 +196,7 @@ class CdkObserveContent {
199
196
  });
200
197
  static ɵdir = i0.ɵɵngDeclareDirective({
201
198
  minVersion: "16.1.0",
202
- version: "22.0.0-next.1",
199
+ version: "22.0.0-next.6",
203
200
  type: CdkObserveContent,
204
201
  isStandalone: true,
205
202
  selector: "[cdkObserveContent]",
@@ -216,7 +213,7 @@ class CdkObserveContent {
216
213
  }
217
214
  i0.ɵɵngDeclareClassMetadata({
218
215
  minVersion: "12.0.0",
219
- version: "22.0.0-next.1",
216
+ version: "22.0.0-next.6",
220
217
  ngImport: i0,
221
218
  type: CdkObserveContent,
222
219
  decorators: [{
@@ -226,7 +223,6 @@ i0.ɵɵngDeclareClassMetadata({
226
223
  exportAs: 'cdkObserveContent'
227
224
  }]
228
225
  }],
229
- ctorParameters: () => [],
230
226
  propDecorators: {
231
227
  event: [{
232
228
  type: Output,
@@ -247,7 +243,7 @@ i0.ɵɵngDeclareClassMetadata({
247
243
  class ObserversModule {
248
244
  static ɵfac = i0.ɵɵngDeclareFactory({
249
245
  minVersion: "12.0.0",
250
- version: "22.0.0-next.1",
246
+ version: "22.0.0-next.6",
251
247
  ngImport: i0,
252
248
  type: ObserversModule,
253
249
  deps: [],
@@ -255,7 +251,7 @@ class ObserversModule {
255
251
  });
256
252
  static ɵmod = i0.ɵɵngDeclareNgModule({
257
253
  minVersion: "14.0.0",
258
- version: "22.0.0-next.1",
254
+ version: "22.0.0-next.6",
259
255
  ngImport: i0,
260
256
  type: ObserversModule,
261
257
  imports: [CdkObserveContent],
@@ -263,7 +259,7 @@ class ObserversModule {
263
259
  });
264
260
  static ɵinj = i0.ɵɵngDeclareInjector({
265
261
  minVersion: "12.0.0",
266
- version: "22.0.0-next.1",
262
+ version: "22.0.0-next.6",
267
263
  ngImport: i0,
268
264
  type: ObserversModule,
269
265
  providers: [MutationObserverFactory]
@@ -271,7 +267,7 @@ class ObserversModule {
271
267
  }
272
268
  i0.ɵɵngDeclareClassMetadata({
273
269
  minVersion: "12.0.0",
274
- version: "22.0.0-next.1",
270
+ version: "22.0.0-next.6",
275
271
  ngImport: i0,
276
272
  type: ObserversModule,
277
273
  decorators: [{
@@ -1 +1 @@
1
- {"version":3,"file":"observers.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk/observers/observe-content.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 {NumberInput, coerceElement, coerceNumberProperty} from '../coercion';\nimport {\n AfterContentInit,\n Directive,\n ElementRef,\n EventEmitter,\n Injectable,\n Input,\n NgModule,\n NgZone,\n OnDestroy,\n Output,\n booleanAttribute,\n inject,\n} from '@angular/core';\nimport {Observable, Observer, Subject, Subscription} from 'rxjs';\nimport {debounceTime, filter, map} from 'rxjs/operators';\n\n// Angular may add, remove, or edit comment nodes during change detection. We don't care about\n// these changes because they don't affect the user-preceived content, and worse it can cause\n// infinite change detection cycles where the change detection updates a comment, triggering the\n// MutationObserver, triggering another change detection and kicking the cycle off again.\nfunction shouldIgnoreRecord(record: MutationRecord) {\n // Ignore changes to comment text.\n if (record.type === 'characterData' && record.target instanceof Comment) {\n return true;\n }\n // Ignore addition / removal of comments.\n if (record.type === 'childList') {\n for (let i = 0; i < record.addedNodes.length; i++) {\n if (!(record.addedNodes[i] instanceof Comment)) {\n return false;\n }\n }\n for (let i = 0; i < record.removedNodes.length; i++) {\n if (!(record.removedNodes[i] instanceof Comment)) {\n return false;\n }\n }\n return true;\n }\n // Observe everything else.\n return false;\n}\n\n/**\n * Factory that creates a new MutationObserver and allows us to stub it out in unit tests.\n * @docs-private\n */\n@Injectable({providedIn: 'root'})\nexport class MutationObserverFactory {\n create(callback: MutationCallback): MutationObserver | null {\n return typeof MutationObserver === 'undefined' ? null : new MutationObserver(callback);\n }\n}\n\n/** An injectable service that allows watching elements for changes to their content. */\n@Injectable({providedIn: 'root'})\nexport class ContentObserver implements OnDestroy {\n private _mutationObserverFactory = inject(MutationObserverFactory);\n\n /** Keeps track of the existing MutationObservers so they can be reused. */\n private _observedElements = new Map<\n Element,\n {\n observer: MutationObserver | null;\n readonly stream: Subject<MutationRecord[]>;\n count: number;\n }\n >();\n\n private _ngZone = inject(NgZone);\n\n constructor(...args: unknown[]);\n constructor() {}\n\n ngOnDestroy() {\n this._observedElements.forEach((_, element) => this._cleanupObserver(element));\n }\n\n /**\n * Observe content changes on an element.\n * @param element The element to observe for content changes.\n */\n observe(element: Element): Observable<MutationRecord[]>;\n\n /**\n * Observe content changes on an element.\n * @param element The element to observe for content changes.\n */\n observe(element: ElementRef<Element>): Observable<MutationRecord[]>;\n\n observe(elementOrRef: Element | ElementRef<Element>): Observable<MutationRecord[]> {\n const element = coerceElement(elementOrRef);\n\n return new Observable((observer: Observer<MutationRecord[]>) => {\n const stream = this._observeElement(element);\n const subscription = stream\n .pipe(\n map(records => records.filter(record => !shouldIgnoreRecord(record))),\n filter(records => !!records.length),\n )\n .subscribe(records => {\n this._ngZone.run(() => {\n observer.next(records);\n });\n });\n\n return () => {\n subscription.unsubscribe();\n this._unobserveElement(element);\n };\n });\n }\n\n /**\n * Observes the given element by using the existing MutationObserver if available, or creating a\n * new one if not.\n */\n private _observeElement(element: Element): Subject<MutationRecord[]> {\n return this._ngZone.runOutsideAngular(() => {\n if (!this._observedElements.has(element)) {\n const stream = new Subject<MutationRecord[]>();\n const observer = this._mutationObserverFactory.create(mutations => stream.next(mutations));\n if (observer) {\n observer.observe(element, {\n characterData: true,\n childList: true,\n subtree: true,\n });\n }\n this._observedElements.set(element, {observer, stream, count: 1});\n } else {\n this._observedElements.get(element)!.count++;\n }\n return this._observedElements.get(element)!.stream;\n });\n }\n\n /**\n * Un-observes the given element and cleans up the underlying MutationObserver if nobody else is\n * observing this element.\n */\n private _unobserveElement(element: Element) {\n if (this._observedElements.has(element)) {\n this._observedElements.get(element)!.count--;\n if (!this._observedElements.get(element)!.count) {\n this._cleanupObserver(element);\n }\n }\n }\n\n /** Clean up the underlying MutationObserver for the specified element. */\n private _cleanupObserver(element: Element) {\n if (this._observedElements.has(element)) {\n const {observer, stream} = this._observedElements.get(element)!;\n if (observer) {\n observer.disconnect();\n }\n stream.complete();\n this._observedElements.delete(element);\n }\n }\n}\n\n/**\n * Directive that triggers a callback whenever the content of\n * its associated element has changed.\n */\n@Directive({\n selector: '[cdkObserveContent]',\n exportAs: 'cdkObserveContent',\n})\nexport class CdkObserveContent implements AfterContentInit, OnDestroy {\n private _contentObserver = inject(ContentObserver);\n private _elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** Event emitted for each change in the element's content. */\n @Output('cdkObserveContent') readonly event = new EventEmitter<MutationRecord[]>();\n\n /**\n * Whether observing content is disabled. This option can be used\n * to disconnect the underlying MutationObserver until it is needed.\n */\n @Input({alias: 'cdkObserveContentDisabled', transform: booleanAttribute})\n get disabled(): boolean {\n return this._disabled;\n }\n set disabled(value: boolean) {\n this._disabled = value;\n this._disabled ? this._unsubscribe() : this._subscribe();\n }\n private _disabled = false;\n\n /** Debounce interval for emitting the changes. */\n @Input()\n get debounce(): number {\n return this._debounce!;\n }\n set debounce(value: NumberInput) {\n this._debounce = coerceNumberProperty(value);\n this._subscribe();\n }\n private _debounce: number | undefined;\n\n private _currentSubscription: Subscription | null = null;\n\n constructor(...args: unknown[]);\n constructor() {}\n\n ngAfterContentInit() {\n if (!this._currentSubscription && !this.disabled) {\n this._subscribe();\n }\n }\n\n ngOnDestroy() {\n this._unsubscribe();\n }\n\n private _subscribe() {\n this._unsubscribe();\n const stream = this._contentObserver.observe(this._elementRef);\n\n this._currentSubscription = (\n this.debounce ? stream.pipe(debounceTime(this.debounce)) : stream\n ).subscribe(this.event);\n }\n\n private _unsubscribe() {\n this._currentSubscription?.unsubscribe();\n }\n}\n\n@NgModule({\n imports: [CdkObserveContent],\n exports: [CdkObserveContent],\n providers: [MutationObserverFactory],\n})\nexport class ObserversModule {}\n"],"names":["shouldIgnoreRecord","record","type","target","Comment","i","addedNodes","length","removedNodes","MutationObserverFactory","create","callback","MutationObserver","deps","i0","ɵɵFactoryTarget","Injectable","ɵprov","ɵɵngDeclareInjectable","minVersion","version","ngImport","decorators","providedIn","ContentObserver","_mutationObserverFactory","inject","_observedElements","Map","_ngZone","NgZone","constructor","ngOnDestroy","forEach","_","element","_cleanupObserver","observe","elementOrRef","coerceElement","Observable","observer","stream","_observeElement","subscription","pipe","map","records","filter","subscribe","run","next","unsubscribe","_unobserveElement","runOutsideAngular","has","Subject","mutations","characterData","childList","subtree","set","count","get","disconnect","complete","delete","CdkObserveContent","_contentObserver","_elementRef","ElementRef","event","EventEmitter","disabled","_disabled","value","_unsubscribe","_subscribe","debounce","_debounce","coerceNumberProperty","_currentSubscription","ngAfterContentInit","debounceTime","Directive","ɵdir","ɵɵngDeclareDirective","booleanAttribute","outputs","exportAs","args","selector","Output","Input","alias","transform","ObserversModule","NgModule","imports","exports","providers"],"mappings":";;;;;;AA8BA,SAASA,kBAAkBA,CAACC,MAAsB,EAAA;EAEhD,IAAIA,MAAM,CAACC,IAAI,KAAK,eAAe,IAAID,MAAM,CAACE,MAAM,YAAYC,OAAO,EAAE;AACvE,IAAA,OAAO,IAAI;AACb;AAEA,EAAA,IAAIH,MAAM,CAACC,IAAI,KAAK,WAAW,EAAE;AAC/B,IAAA,KAAK,IAAIG,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGJ,MAAM,CAACK,UAAU,CAACC,MAAM,EAAEF,CAAC,EAAE,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D,iBAAiB;AAAA7C,EAAAA,UAAA,EAAA,CAAA;UAJ7B8D,SAAS;AAACM,IAAAA,IAAA,EAAA,CAAA;AACTC,MAAAA,QAAQ,EAAE,qBAAqB;AAC/BF,MAAAA,QAAQ,EAAE;KACX;;;;;YAMEG,MAAM;aAAC,mBAAmB;;;YAM1BC,KAAK;AAACH,MAAAA,IAAA,EAAA,CAAA;AAACI,QAAAA,KAAK,EAAE,2BAA2B;AAAEC,QAAAA,SAAS,EAAER;OAAiB;;;YAWvEM;;;;MA4CUG,eAAe,CAAA;;;;;UAAfA,eAAe;AAAAnF,IAAAA,IAAA,EAAA,EAAA;AAAAV,IAAAA,MAAA,EAAAW,EAAA,CAAAC,eAAA,CAAAkF;AAAA,GAAA,CAAA;;;;;UAAfD,eAAe;IAAAE,OAAA,EAAA,CAlEf/B,iBAAiB,CAAA;IAAAgC,OAAA,EAAA,CAAjBhC,iBAAiB;AAAA,GAAA,CAAA;;;;;UAkEjB6B,eAAe;IAAAI,SAAA,EAFf,CAAC3F,uBAAuB;AAAC,GAAA,CAAA;;;;;;QAEzBuF,eAAe;AAAA1E,EAAAA,UAAA,EAAA,CAAA;UAL3B2E,QAAQ;AAACP,IAAAA,IAAA,EAAA,CAAA;MACRQ,OAAO,EAAE,CAAC/B,iBAAiB,CAAC;MAC5BgC,OAAO,EAAE,CAAChC,iBAAiB,CAAC;MAC5BiC,SAAS,EAAE,CAAC3F,uBAAuB;KACpC;;;;;;"}
1
+ {"version":3,"file":"observers.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk/observers/observe-content.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 {NumberInput, coerceElement, coerceNumberProperty} from '../coercion';\nimport {\n AfterContentInit,\n Directive,\n ElementRef,\n EventEmitter,\n Injectable,\n Input,\n NgModule,\n NgZone,\n OnDestroy,\n Output,\n booleanAttribute,\n inject,\n} from '@angular/core';\nimport {Observable, Observer, Subject, Subscription} from 'rxjs';\nimport {debounceTime, filter, map} from 'rxjs/operators';\n\n// Angular may add, remove, or edit comment nodes during change detection. We don't care about\n// these changes because they don't affect the user-preceived content, and worse it can cause\n// infinite change detection cycles where the change detection updates a comment, triggering the\n// MutationObserver, triggering another change detection and kicking the cycle off again.\nfunction shouldIgnoreRecord(record: MutationRecord) {\n // Ignore changes to comment text.\n if (record.type === 'characterData' && record.target instanceof Comment) {\n return true;\n }\n // Ignore addition / removal of comments.\n if (record.type === 'childList') {\n for (let i = 0; i < record.addedNodes.length; i++) {\n if (!(record.addedNodes[i] instanceof Comment)) {\n return false;\n }\n }\n for (let i = 0; i < record.removedNodes.length; i++) {\n if (!(record.removedNodes[i] instanceof Comment)) {\n return false;\n }\n }\n return true;\n }\n // Observe everything else.\n return false;\n}\n\n/**\n * Factory that creates a new MutationObserver and allows us to stub it out in unit tests.\n * @docs-private\n */\n@Injectable({providedIn: 'root'})\nexport class MutationObserverFactory {\n create(callback: MutationCallback): MutationObserver | null {\n return typeof MutationObserver === 'undefined' ? null : new MutationObserver(callback);\n }\n}\n\n/** An injectable service that allows watching elements for changes to their content. */\n@Injectable({providedIn: 'root'})\nexport class ContentObserver implements OnDestroy {\n private _mutationObserverFactory = inject(MutationObserverFactory);\n\n /** Keeps track of the existing MutationObservers so they can be reused. */\n private _observedElements = new Map<\n Element,\n {\n observer: MutationObserver | null;\n readonly stream: Subject<MutationRecord[]>;\n count: number;\n }\n >();\n\n private _ngZone = inject(NgZone);\n\n ngOnDestroy() {\n this._observedElements.forEach((_, element) => this._cleanupObserver(element));\n }\n\n /**\n * Observe content changes on an element.\n * @param element The element to observe for content changes.\n */\n observe(element: Element): Observable<MutationRecord[]>;\n\n /**\n * Observe content changes on an element.\n * @param element The element to observe for content changes.\n */\n observe(element: ElementRef<Element>): Observable<MutationRecord[]>;\n\n observe(elementOrRef: Element | ElementRef<Element>): Observable<MutationRecord[]> {\n const element = coerceElement(elementOrRef);\n\n return new Observable((observer: Observer<MutationRecord[]>) => {\n const stream = this._observeElement(element);\n const subscription = stream\n .pipe(\n map(records => records.filter(record => !shouldIgnoreRecord(record))),\n filter(records => !!records.length),\n )\n .subscribe(records => {\n this._ngZone.run(() => {\n observer.next(records);\n });\n });\n\n return () => {\n subscription.unsubscribe();\n this._unobserveElement(element);\n };\n });\n }\n\n /**\n * Observes the given element by using the existing MutationObserver if available, or creating a\n * new one if not.\n */\n private _observeElement(element: Element): Subject<MutationRecord[]> {\n return this._ngZone.runOutsideAngular(() => {\n if (!this._observedElements.has(element)) {\n const stream = new Subject<MutationRecord[]>();\n const observer = this._mutationObserverFactory.create(mutations => stream.next(mutations));\n if (observer) {\n observer.observe(element, {\n characterData: true,\n childList: true,\n subtree: true,\n });\n }\n this._observedElements.set(element, {observer, stream, count: 1});\n } else {\n this._observedElements.get(element)!.count++;\n }\n return this._observedElements.get(element)!.stream;\n });\n }\n\n /**\n * Un-observes the given element and cleans up the underlying MutationObserver if nobody else is\n * observing this element.\n */\n private _unobserveElement(element: Element) {\n if (this._observedElements.has(element)) {\n this._observedElements.get(element)!.count--;\n if (!this._observedElements.get(element)!.count) {\n this._cleanupObserver(element);\n }\n }\n }\n\n /** Clean up the underlying MutationObserver for the specified element. */\n private _cleanupObserver(element: Element) {\n if (this._observedElements.has(element)) {\n const {observer, stream} = this._observedElements.get(element)!;\n if (observer) {\n observer.disconnect();\n }\n stream.complete();\n this._observedElements.delete(element);\n }\n }\n}\n\n/**\n * Directive that triggers a callback whenever the content of\n * its associated element has changed.\n */\n@Directive({\n selector: '[cdkObserveContent]',\n exportAs: 'cdkObserveContent',\n})\nexport class CdkObserveContent implements AfterContentInit, OnDestroy {\n private _contentObserver = inject(ContentObserver);\n private _elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** Event emitted for each change in the element's content. */\n @Output('cdkObserveContent') readonly event = new EventEmitter<MutationRecord[]>();\n\n /**\n * Whether observing content is disabled. This option can be used\n * to disconnect the underlying MutationObserver until it is needed.\n */\n @Input({alias: 'cdkObserveContentDisabled', transform: booleanAttribute})\n get disabled(): boolean {\n return this._disabled;\n }\n set disabled(value: boolean) {\n this._disabled = value;\n this._disabled ? this._unsubscribe() : this._subscribe();\n }\n private _disabled = false;\n\n /** Debounce interval for emitting the changes. */\n @Input()\n get debounce(): number {\n return this._debounce!;\n }\n set debounce(value: NumberInput) {\n this._debounce = coerceNumberProperty(value);\n this._subscribe();\n }\n private _debounce: number | undefined;\n\n private _currentSubscription: Subscription | null = null;\n\n ngAfterContentInit() {\n if (!this._currentSubscription && !this.disabled) {\n this._subscribe();\n }\n }\n\n ngOnDestroy() {\n this._unsubscribe();\n }\n\n private _subscribe() {\n this._unsubscribe();\n const stream = this._contentObserver.observe(this._elementRef);\n\n this._currentSubscription = (\n this.debounce ? stream.pipe(debounceTime(this.debounce)) : stream\n ).subscribe(this.event);\n }\n\n private _unsubscribe() {\n this._currentSubscription?.unsubscribe();\n }\n}\n\n@NgModule({\n imports: [CdkObserveContent],\n exports: [CdkObserveContent],\n providers: [MutationObserverFactory],\n})\nexport class ObserversModule {}\n"],"names":["shouldIgnoreRecord","record","type","target","Comment","i","addedNodes","length","removedNodes","MutationObserverFactory","create","callback","MutationObserver","deps","i0","ɵɵFactoryTarget","Injectable","ɵprov","ɵɵngDeclareInjectable","minVersion","version","ngImport","decorators","providedIn","ContentObserver","_mutationObserverFactory","inject","_observedElements","Map","_ngZone","NgZone","ngOnDestroy","forEach","_","element","_cleanupObserver","observe","elementOrRef","coerceElement","Observable","observer","stream","_observeElement","subscription","pipe","map","records","filter","subscribe","run","next","unsubscribe","_unobserveElement","runOutsideAngular","has","Subject","mutations","characterData","childList","subtree","set","count","get","disconnect","complete","delete","CdkObserveContent","_contentObserver","_elementRef","ElementRef","event","EventEmitter","disabled","_disabled","value","_unsubscribe","_subscribe","debounce","_debounce","coerceNumberProperty","_currentSubscription","ngAfterContentInit","debounceTime","Directive","ɵdir","ɵɵngDeclareDirective","booleanAttribute","outputs","exportAs","args","selector","Output","Input","alias","transform","ObserversModule","NgModule","imports","exports","providers"],"mappings":";;;;;;AA8BA,SAASA,kBAAkBA,CAACC,MAAsB,EAAA;EAEhD,IAAIA,MAAM,CAACC,IAAI,KAAK,eAAe,IAAID,MAAM,CAACE,MAAM,YAAYC,OAAO,EAAE;AACvE,IAAA,OAAO,IAAI;AACb,EAAA;AAEA,EAAA,IAAIH,MAAM,CAACC,IAAI,KAAK,WAAW,EAAE;AAC/B,IAAA,KAAK,IAAIG,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGJ,MAAM,CAACK,UAAU,CAACC,MAAM,EAAEF,CAAC,EAAE,EAAE;MACjD,IAAI,EAAEJ,MAAM,CAACK,UAAU,CAACD,CAAC,CAAC,YAAYD,OAAO,CAAC,EAAE;AAC9C,QAAA,OAAO,KAAK;AACd,MAAA;AACF,IAAA;AACA,IAAA,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGJ,MAAM,CAACO,YAAY,CAACD,MAAM,EAAEF,CAAC,EAAE,EAAE;MACnD,IAAI,EAAEJ,MAAM,CAACO,YAAY,CAACH,CAAC,CAAC,YAAYD,OAAO,CAAC,EAAE;AAChD,QAAA,OAAO,KAAK;AACd,MAAA;AACF,IAAA;AACA,IAAA,OAAO,IAAI;AACb,EAAA;AAEA,EAAA,OAAO,KAAK;AACd;MAOaK,uBAAuB,CAAA;EAClCC,MAAMA,CAACC,QAA0B,EAAA;IAC/B,OAAO,OAAOC,gBAAgB,KAAK,WAAW,GAAG,IAAI,GAAG,IAAIA,gBAAgB,CAACD,QAAQ,CAAC;AACxF,EAAA;;;;;UAHWF,uBAAuB;AAAAI,IAAAA,IAAA,EAAA,EAAA;AAAAV,IAAAA,MAAA,EAAAW,EAAA,CAAAC,eAAA,CAAAC;AAAA,GAAA,CAAA;AAAvB,EAAA,OAAAC,KAAA,GAAAH,EAAA,CAAAI,qBAAA,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AuB;AAAC,GAAA,CAAA;;;;;;QAEzBsF,eAAe;AAAAzE,EAAAA,UAAA,EAAA,CAAA;UAL3B0E,QAAQ;AAACP,IAAAA,IAAA,EAAA,CAAA;MACRQ,OAAO,EAAE,CAAC/B,iBAAiB,CAAC;MAC5BgC,OAAO,EAAE,CAAChC,iBAAiB,CAAC;MAC5BiC,SAAS,EAAE,CAAC1F,uBAAuB;KACpC;;;;;;"}
@@ -1,8 +1,8 @@
1
1
  import { OverlayContainer } from './_overlay-module-chunk.mjs';
2
2
  export { BlockScrollStrategy, CDK_CONNECTED_OVERLAY_DEFAULT_CONFIG, CdkConnectedOverlay, CdkOverlayOrigin, CloseScrollStrategy, ConnectedOverlayPositionChange, ConnectionPositionPair, FlexibleConnectedPositionStrategy, GlobalPositionStrategy, NoopScrollStrategy, OVERLAY_DEFAULT_CONFIG, Overlay, OverlayConfig, OverlayKeyboardDispatcher, OverlayModule, OverlayOutsideClickDispatcher, OverlayPositionBuilder, OverlayRef, RepositionScrollStrategy, STANDARD_DROPDOWN_ADJACENT_POSITIONS, STANDARD_DROPDOWN_BELOW_POSITIONS, ScrollStrategyOptions, ScrollingVisibility, createBlockScrollStrategy, createCloseScrollStrategy, createFlexibleConnectedPositionStrategy, createGlobalPositionStrategy, createNoopScrollStrategy, createOverlayRef, createRepositionScrollStrategy, validateHorizontalPosition, validateVerticalPosition } from './_overlay-module-chunk.mjs';
3
+ export { CdkScrollable, ScrollDispatcher, ViewportRuler, CdkFixedSizeVirtualScroll as ɵɵCdkFixedSizeVirtualScroll, CdkScrollableModule as ɵɵCdkScrollableModule, CdkVirtualForOf as ɵɵCdkVirtualForOf, CdkVirtualScrollViewport as ɵɵCdkVirtualScrollViewport, CdkVirtualScrollableElement as ɵɵCdkVirtualScrollableElement, CdkVirtualScrollableWindow as ɵɵCdkVirtualScrollableWindow } from './scrolling.mjs';
3
4
  import * as i0 from '@angular/core';
4
5
  import { inject, RendererFactory2, Injectable } from '@angular/core';
5
- export { CdkScrollable, ScrollDispatcher, ViewportRuler, CdkFixedSizeVirtualScroll as ɵɵCdkFixedSizeVirtualScroll, CdkScrollableModule as ɵɵCdkScrollableModule, CdkVirtualForOf as ɵɵCdkVirtualForOf, CdkVirtualScrollViewport as ɵɵCdkVirtualScrollViewport, CdkVirtualScrollableElement as ɵɵCdkVirtualScrollableElement, CdkVirtualScrollableWindow as ɵɵCdkVirtualScrollableWindow } from './scrolling.mjs';
6
6
  export { Dir as ɵɵDir } from './bidi.mjs';
7
7
  import '@angular/common';
8
8
  import './_platform-chunk.mjs';
@@ -12,11 +12,11 @@ import './_style-loader-chunk.mjs';
12
12
  import 'rxjs';
13
13
  import './_css-pixel-value-chunk.mjs';
14
14
  import './_array-chunk.mjs';
15
- import './portal.mjs';
16
15
  import './_scrolling-chunk.mjs';
17
16
  import 'rxjs/operators';
18
17
  import './_id-generator-chunk.mjs';
19
18
  import './_directionality-chunk.mjs';
19
+ import './portal.mjs';
20
20
  import './_keycodes-chunk.mjs';
21
21
  import './keycodes.mjs';
22
22
  import './_element-chunk.mjs';
@@ -27,9 +27,6 @@ class FullscreenOverlayContainer extends OverlayContainer {
27
27
  _renderer = inject(RendererFactory2).createRenderer(null, null);
28
28
  _fullScreenEventName;
29
29
  _cleanupFullScreenListener;
30
- constructor() {
31
- super();
32
- }
33
30
  ngOnDestroy() {
34
31
  super.ngOnDestroy();
35
32
  this._cleanupFullScreenListener?.();
@@ -73,15 +70,15 @@ class FullscreenOverlayContainer extends OverlayContainer {
73
70
  }
74
71
  static ɵfac = i0.ɵɵngDeclareFactory({
75
72
  minVersion: "12.0.0",
76
- version: "22.0.0-next.1",
73
+ version: "22.0.0-next.6",
77
74
  ngImport: i0,
78
75
  type: FullscreenOverlayContainer,
79
- deps: [],
76
+ deps: null,
80
77
  target: i0.ɵɵFactoryTarget.Injectable
81
78
  });
82
79
  static ɵprov = i0.ɵɵngDeclareInjectable({
83
80
  minVersion: "12.0.0",
84
- version: "22.0.0-next.1",
81
+ version: "22.0.0-next.6",
85
82
  ngImport: i0,
86
83
  type: FullscreenOverlayContainer,
87
84
  providedIn: 'root'
@@ -89,7 +86,7 @@ class FullscreenOverlayContainer extends OverlayContainer {
89
86
  }
90
87
  i0.ɵɵngDeclareClassMetadata({
91
88
  minVersion: "12.0.0",
92
- version: "22.0.0-next.1",
89
+ version: "22.0.0-next.6",
93
90
  ngImport: i0,
94
91
  type: FullscreenOverlayContainer,
95
92
  decorators: [{
@@ -97,8 +94,7 @@ i0.ɵɵngDeclareClassMetadata({
97
94
  args: [{
98
95
  providedIn: 'root'
99
96
  }]
100
- }],
101
- ctorParameters: () => []
97
+ }]
102
98
  });
103
99
 
104
100
  export { FullscreenOverlayContainer, OverlayContainer };
@@ -1 +1 @@
1
- {"version":3,"file":"overlay.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk/overlay/fullscreen-overlay-container.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 {inject, Injectable, OnDestroy, RendererFactory2} from '@angular/core';\nimport {OverlayContainer} from './overlay-container';\n\n/**\n * Alternative to OverlayContainer that supports correct displaying of overlay elements in\n * Fullscreen mode\n * https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen\n *\n * Should be provided in the root component.\n */\n@Injectable({providedIn: 'root'})\nexport class FullscreenOverlayContainer extends OverlayContainer implements OnDestroy {\n private _renderer = inject(RendererFactory2).createRenderer(null, null);\n private _fullScreenEventName: string | undefined;\n private _cleanupFullScreenListener: (() => void) | undefined;\n\n constructor(...args: unknown[]);\n\n constructor() {\n super();\n }\n\n override ngOnDestroy() {\n super.ngOnDestroy();\n this._cleanupFullScreenListener?.();\n }\n\n protected override _createContainer(): void {\n const eventName = this._getEventName();\n super._createContainer();\n this._adjustParentForFullscreenChange();\n\n if (eventName) {\n this._cleanupFullScreenListener?.();\n this._cleanupFullScreenListener = this._renderer.listen('document', eventName, () => {\n this._adjustParentForFullscreenChange();\n });\n }\n }\n\n private _adjustParentForFullscreenChange(): void {\n if (this._containerElement) {\n const fullscreenElement = this.getFullscreenElement();\n const parent = fullscreenElement || this._document.body;\n parent.appendChild(this._containerElement);\n }\n }\n\n private _getEventName(): string | undefined {\n if (!this._fullScreenEventName) {\n const _document = this._document as any;\n\n if (_document.fullscreenEnabled) {\n this._fullScreenEventName = 'fullscreenchange';\n } else if (_document.webkitFullscreenEnabled) {\n this._fullScreenEventName = 'webkitfullscreenchange';\n } else if (_document.mozFullScreenEnabled) {\n this._fullScreenEventName = 'mozfullscreenchange';\n } else if (_document.msFullscreenEnabled) {\n this._fullScreenEventName = 'MSFullscreenChange';\n }\n }\n\n return this._fullScreenEventName;\n }\n\n /**\n * When the page is put into fullscreen mode, a specific element is specified.\n * Only that element and its children are visible when in fullscreen mode.\n */\n getFullscreenElement(): Element {\n const _document = this._document as any;\n\n return (\n _document.fullscreenElement ||\n _document.webkitFullscreenElement ||\n _document.mozFullScreenElement ||\n _document.msFullscreenElement ||\n null\n );\n }\n}\n"],"names":["FullscreenOverlayContainer","OverlayContainer","_renderer","inject","RendererFactory2","createRenderer","_fullScreenEventName","_cleanupFullScreenListener","constructor","ngOnDestroy","_createContainer","eventName","_getEventName","_adjustParentForFullscreenChange","listen","_containerElement","fullscreenElement","getFullscreenElement","parent","_document","body","appendChild","fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement","deps","target","i0","ɵɵFactoryTarget","Injectable","ɵprov","ɵɵngDeclareInjectable","minVersion","version","ngImport","type","decorators","providedIn"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAmBM,MAAOA,0BAA2B,SAAQC,gBAAgB,CAAA;EACtDC,SAAS,GAAGC,MAAM,CAACC,gBAAgB,CAAC,CAACC,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC;EAC/DC,oB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AAqB;AACnD,OAAA,MAAO,IAAIa,SAAS,CAACM,mBAAmB,EAAE;QACxC,IAAI,CAACnB,oBAAoB,GAAG,oBAAoB;AAClD;AACF;IAEA,OAAO,IAAI,CAACA,oBAAoB;AAClC;AAMAW,EAAAA,oBAAoBA,GAAA;AAClB,IAAA,MAAME,SAAS,GAAG,IAAI,CAACA,SAAgB;AAEvC,IAAA,OACEA,SAAS,CAACH,iBAAiB,IAC3BG,SAAS,CAACO,uBAAuB,IACjCP,SAAS,CAACQ,oBAAoB,IAC9BR,SAAS,CAACS,mBAAmB,IAC7B,IAAI;AAER;;;;;UArEW5B,0BAA0B;AAAA6B,IAAAA,IAAA,EAAA,EAAA;AAAAC,IAAAA,MAAA,EAAAC,EAAA,CAAAC,eAAA,CAAAC;AAAA,GAAA,CAAA;AAA1B,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,EAAAvC,0BAA0B;gBADd;AAAM,GAAA,CAAA;;;;;;QAClBA,0BAA0B;AAAAwC,EAAAA,UAAA,EAAA,CAAA;UADtCP,UAAU;WAAC;AAACQ,MAAAA,UAAU,EAAE;KAAO;;;;;;;"}
1
+ {"version":3,"file":"overlay.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk/overlay/fullscreen-overlay-container.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 {inject, Injectable, OnDestroy, RendererFactory2} from '@angular/core';\nimport {OverlayContainer} from './overlay-container';\n\n/**\n * Alternative to OverlayContainer that supports correct displaying of overlay elements in\n * Fullscreen mode\n * https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen\n *\n * Should be provided in the root component.\n */\n@Injectable({providedIn: 'root'})\nexport class FullscreenOverlayContainer extends OverlayContainer implements OnDestroy {\n private _renderer = inject(RendererFactory2).createRenderer(null, null);\n private _fullScreenEventName: string | undefined;\n private _cleanupFullScreenListener: (() => void) | undefined;\n\n override ngOnDestroy() {\n super.ngOnDestroy();\n this._cleanupFullScreenListener?.();\n }\n\n protected override _createContainer(): void {\n const eventName = this._getEventName();\n super._createContainer();\n this._adjustParentForFullscreenChange();\n\n if (eventName) {\n this._cleanupFullScreenListener?.();\n this._cleanupFullScreenListener = this._renderer.listen('document', eventName, () => {\n this._adjustParentForFullscreenChange();\n });\n }\n }\n\n private _adjustParentForFullscreenChange(): void {\n if (this._containerElement) {\n const fullscreenElement = this.getFullscreenElement();\n const parent = fullscreenElement || this._document.body;\n parent.appendChild(this._containerElement);\n }\n }\n\n private _getEventName(): string | undefined {\n if (!this._fullScreenEventName) {\n const _document = this._document as any;\n\n if (_document.fullscreenEnabled) {\n this._fullScreenEventName = 'fullscreenchange';\n } else if (_document.webkitFullscreenEnabled) {\n this._fullScreenEventName = 'webkitfullscreenchange';\n } else if (_document.mozFullScreenEnabled) {\n this._fullScreenEventName = 'mozfullscreenchange';\n } else if (_document.msFullscreenEnabled) {\n this._fullScreenEventName = 'MSFullscreenChange';\n }\n }\n\n return this._fullScreenEventName;\n }\n\n /**\n * When the page is put into fullscreen mode, a specific element is specified.\n * Only that element and its children are visible when in fullscreen mode.\n */\n getFullscreenElement(): Element {\n const _document = this._document as any;\n\n return (\n _document.fullscreenElement ||\n _document.webkitFullscreenElement ||\n _document.mozFullScreenElement ||\n _document.msFullscreenElement ||\n null\n );\n }\n}\n"],"names":["FullscreenOverlayContainer","OverlayContainer","_renderer","inject","RendererFactory2","createRenderer","_fullScreenEventName","_cleanupFullScreenListener","ngOnDestroy","_createContainer","eventName","_getEventName","_adjustParentForFullscreenChange","listen","_containerElement","fullscreenElement","getFullscreenElement","parent","_document","body","appendChild","fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement","deps","target","i0","ɵɵFactoryTarget","Injectable","ɵprov","ɵɵngDeclareInjectable","minVersion","version","ngImport","type","decorators","providedIn"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAmBM,MAAOA,0BAA2B,SAAQC,gBAAgB,CAAA;EACtDC,SAAS,GAAGC,MAAM,CAACC,gBAAgB,CAAC,CAACC,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC;EAC/DC,oBAAoB;EACpBC,0BAA0B;AAEzBC,EAAAA,WAAWA,GAAA;IAClB,KAAK,CAACA,WAAW,EAAE;IACnB,IAAI,CAACD,0BAA0B,IAAI;AACrC,EAAA;AAEmBE,EAAAA,gBAAgBA,GAAA;AACjC,IAAA,MAAMC,SAAS,GAAG,IAAI,CAACC,aAAa,EAAE;IACtC,KAAK,CAACF,gBAAgB,EAAE;IACxB,IAAI,CAACG,gCAAgC,EAAE;AAEvC,IAAA,IAAIF,SAAS,EAAE;MACb,IAAI,CAACH,0BAA0B,IAAI;AACnC,MAAA,IAAI,CAACA,0BAA0B,GAAG,IAAI,CAACL,SAAS,CAACW,MAAM,CAAC,UAAU,EAAEH,SAAS,EAAE,MAAK;QAClF,IAAI,CAACE,gCAAgC,EAAE;AACzC,MAAA,CAAC,CAAC;AACJ,IAAA;AACF,EAAA;AAEQA,EAAAA,gCAAgCA,GAAA;IACtC,IAAI,IAAI,CAACE,iBAAiB,EAAE;AAC1B,MAAA,MAAMC,iBAAiB,GAAG,IAAI,CAACC,oBAAoB,EAAE;MACrD,MAAMC,MAAM,GAAGF,iBAAiB,IAAI,IAAI,CAACG,SAAS,CAACC,IAAI;AACvDF,MAAAA,MAAM,CAACG,WAAW,CAAC,IAAI,CAACN,iBAAiB,CAAC;AAC5C,IAAA;AACF,EAAA;AAEQH,EAAAA,aAAaA,GAAA;AACnB,IAAA,IAAI,CAAC,IAAI,CAACL,oBAAoB,EAAE;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from './_platform-chunk.mjs';
2
2
  import * as i0 from '@angular/core';
3
3
  import { NgModule } from '@angular/core';
4
- export { normalizePassiveListenerOptions, supportsPassiveEventListeners } from './_passive-listeners-chunk.mjs';
5
4
  export { RtlScrollAxisType, getRtlScrollAxisType, supportsScrollBehavior } from './_scrolling-chunk.mjs';
6
5
  export { _getEventTarget, _getFocusedElementPierceShadowDom, _getShadowRoot, _supportsShadowDom } from './_shadow-dom-chunk.mjs';
7
6
  export { _isTestEnvironment } from './_test-environment-chunk.mjs';
7
+ export { normalizePassiveListenerOptions, supportsPassiveEventListeners } from './_passive-listeners-chunk.mjs';
8
8
  import '@angular/common';
9
9
 
10
10
  class PlatformModule {
11
11
  static ɵfac = i0.ɵɵngDeclareFactory({
12
12
  minVersion: "12.0.0",
13
- version: "22.0.0-next.1",
13
+ version: "22.0.0-next.6",
14
14
  ngImport: i0,
15
15
  type: PlatformModule,
16
16
  deps: [],
@@ -18,20 +18,20 @@ class PlatformModule {
18
18
  });
19
19
  static ɵmod = i0.ɵɵngDeclareNgModule({
20
20
  minVersion: "14.0.0",
21
- version: "22.0.0-next.1",
21
+ version: "22.0.0-next.6",
22
22
  ngImport: i0,
23
23
  type: PlatformModule
24
24
  });
25
25
  static ɵinj = i0.ɵɵngDeclareInjector({
26
26
  minVersion: "12.0.0",
27
- version: "22.0.0-next.1",
27
+ version: "22.0.0-next.6",
28
28
  ngImport: i0,
29
29
  type: PlatformModule
30
30
  });
31
31
  }
32
32
  i0.ɵɵngDeclareClassMetadata({
33
33
  minVersion: "12.0.0",
34
- version: "22.0.0-next.1",
34
+ version: "22.0.0-next.6",
35
35
  ngImport: i0,
36
36
  type: PlatformModule,
37
37
  decorators: [{
@@ -1 +1 @@
1
- {"version":3,"file":"platform.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk/platform/platform-module.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk/platform/features/input-types.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 {NgModule} from '@angular/core';\n\n@NgModule({})\nexport class PlatformModule {}\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\n/** Cached result Set of input types support by the current browser. */\nlet supportedInputTypes: Set<string>;\n\n/** Types of `<input>` that *might* be supported. */\nconst candidateInputTypes = [\n // `color` must come first. Chrome 56 shows a warning if we change the type to `color` after\n // first changing it to something else:\n // The specified value \"\" does not conform to the required format.\n // The format is \"#rrggbb\" where rr, gg, bb are two-digit hexadecimal numbers.\n 'color',\n 'button',\n 'checkbox',\n 'date',\n 'datetime-local',\n 'email',\n 'file',\n 'hidden',\n 'image',\n 'month',\n 'number',\n 'password',\n 'radio',\n 'range',\n 'reset',\n 'search',\n 'submit',\n 'tel',\n 'text',\n 'time',\n 'url',\n 'week',\n];\n\n/** @returns The input types supported by this browser. */\nexport function getSupportedInputTypes(): Set<string> {\n // Result is cached.\n if (supportedInputTypes) {\n return supportedInputTypes;\n }\n\n // We can't check if an input type is not supported until we're on the browser, so say that\n // everything is supported when not on the browser. We don't use `Platform` here since it's\n // just a helper function and can't inject it.\n if (typeof document !== 'object' || !document) {\n supportedInputTypes = new Set(candidateInputTypes);\n return supportedInputTypes;\n }\n\n let featureTestInput = document.createElement('input');\n supportedInputTypes = new Set(\n candidateInputTypes.filter(value => {\n featureTestInput.setAttribute('type', value);\n return featureTestInput.type === value;\n }),\n );\n\n return supportedInputTypes;\n}\n"],"names":["PlatformModule","deps","target","i0","ɵɵFactoryTarget","NgModule","decorators","supportedInputTypes","candidateInputTypes","getSupportedInputTypes","document","Set","featureTestInput","createElement","filter","value","setAttribute","type"],"mappings":";;;;;;;;;MAWaA,cAAc,CAAA;;;;;UAAdA,cAAc;AAAAC,IAAAA,IAAA,EAAA,EAAA;AAAAC,IAAAA,MAAA,EAAAC,EAAA,CAAAC,eAAA,CAAAC;AAAA,GAAA,CAAA;;;;;UAAdL;AAAc,GAAA,CAAA;;;;;UAAdA;AAAc,GAAA,CAAA;;;;;;QAAdA,cAAc;AAAAM,EAAAA,UAAA,EAAA,CAAA;UAD1BD,QAAQ;WAAC,EAAE;;;;ACDZ,IAAIE,mBAAgC;AAGpC,MAAMC,mBAAmB,GAAG,CAK1B,OAAO,EACP,QAAQ,EACR,UAAU,EACV,MAAM,EACN,gBAAgB,EAChB,OAAO,EACP,MAAM,EACN,QAAQ,EACR,OAAO,EACP,OAAO,EACP,QAAQ,EACR,UAAU,EACV,OAAO,EACP,OAAO,EACP,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,MAAM,EACN,MAAM,EACN,KAAK,EACL,MAAM,CACP;SAGeC,sBAAsBA,GAAA;AAEpC,EAAA,IAAIF,mBAAmB,EAAE;AACvB,IAAA,OAAOA,mBAAmB;AAC5B;AAKA,EAAA,IAAI,OAAOG,QAAQ,KAAK,QAAQ,IAAI,CAACA,QAAQ,EAAE;AAC7CH,IAAAA,mBAAmB,GAAG,IAAII,GAAG,CAACH,mBAAmB,CAAC;AAClD,IAAA,OAAOD,mBAAmB;AAC5B;AAEA,EAAA,IAAIK,gBAAgB,GAAGF,QAAQ,CAACG,aAAa,CAAC,OAAO,CAAC;EACtDN,mBAAmB,GAAG,IAAII,GAAG,CAC3BH,mBAAmB,CAACM,MAAM,CAACC,KAAK,IAAG;AACjCH,IAAAA,gBAAgB,CAACI,YAAY,CAAC,MAAM,EAAED,KAAK,CAAC;AAC5C,IAAA,OAAOH,gBAAgB,CAACK,IAAI,KAAKF,KAAK;AACxC,GAAC,CAAC,CACH;AAED,EAAA,OAAOR,mBAAmB;AAC5B;;;;"}
1
+ {"version":3,"file":"platform.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk/platform/platform-module.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk/platform/features/input-types.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 {NgModule} from '@angular/core';\n\n@NgModule({})\nexport class PlatformModule {}\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\n/** Cached result Set of input types support by the current browser. */\nlet supportedInputTypes: Set<string>;\n\n/** Types of `<input>` that *might* be supported. */\nconst candidateInputTypes = [\n // `color` must come first. Chrome 56 shows a warning if we change the type to `color` after\n // first changing it to something else:\n // The specified value \"\" does not conform to the required format.\n // The format is \"#rrggbb\" where rr, gg, bb are two-digit hexadecimal numbers.\n 'color',\n 'button',\n 'checkbox',\n 'date',\n 'datetime-local',\n 'email',\n 'file',\n 'hidden',\n 'image',\n 'month',\n 'number',\n 'password',\n 'radio',\n 'range',\n 'reset',\n 'search',\n 'submit',\n 'tel',\n 'text',\n 'time',\n 'url',\n 'week',\n];\n\n/** @returns The input types supported by this browser. */\nexport function getSupportedInputTypes(): Set<string> {\n // Result is cached.\n if (supportedInputTypes) {\n return supportedInputTypes;\n }\n\n // We can't check if an input type is not supported until we're on the browser, so say that\n // everything is supported when not on the browser. We don't use `Platform` here since it's\n // just a helper function and can't inject it.\n if (typeof document !== 'object' || !document) {\n supportedInputTypes = new Set(candidateInputTypes);\n return supportedInputTypes;\n }\n\n let featureTestInput = document.createElement('input');\n supportedInputTypes = new Set(\n candidateInputTypes.filter(value => {\n featureTestInput.setAttribute('type', value);\n return featureTestInput.type === value;\n }),\n );\n\n return supportedInputTypes;\n}\n"],"names":["PlatformModule","deps","target","i0","ɵɵFactoryTarget","NgModule","decorators","supportedInputTypes","candidateInputTypes","getSupportedInputTypes","document","Set","featureTestInput","createElement","filter","value","setAttribute","type"],"mappings":";;;;;;;;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  import * as i0 from '@angular/core';
2
- import { ElementRef, NgModuleRef, EnvironmentInjector, createComponent, Injector, inject, TemplateRef, ViewContainerRef, Directive, DOCUMENT, EventEmitter, Input, Output, NgModule } from '@angular/core';
2
+ import { ElementRef, NgModuleRef, Injector, EnvironmentInjector, createComponent, inject, TemplateRef, ViewContainerRef, DOCUMENT, EventEmitter, Directive, Output, Input, NgModule } from '@angular/core';
3
3
 
4
4
  function throwNullPortalError() {
5
5
  throw Error('Must provide a portal to attach');
@@ -253,7 +253,7 @@ class CdkPortal extends TemplatePortal {
253
253
  }
254
254
  static ɵfac = i0.ɵɵngDeclareFactory({
255
255
  minVersion: "12.0.0",
256
- version: "22.0.0-next.1",
256
+ version: "22.0.0-next.6",
257
257
  ngImport: i0,
258
258
  type: CdkPortal,
259
259
  deps: [],
@@ -261,7 +261,7 @@ class CdkPortal extends TemplatePortal {
261
261
  });
262
262
  static ɵdir = i0.ɵɵngDeclareDirective({
263
263
  minVersion: "14.0.0",
264
- version: "22.0.0-next.1",
264
+ version: "22.0.0-next.6",
265
265
  type: CdkPortal,
266
266
  isStandalone: true,
267
267
  selector: "[cdkPortal]",
@@ -272,7 +272,7 @@ class CdkPortal extends TemplatePortal {
272
272
  }
273
273
  i0.ɵɵngDeclareClassMetadata({
274
274
  minVersion: "12.0.0",
275
- version: "22.0.0-next.1",
275
+ version: "22.0.0-next.6",
276
276
  ngImport: i0,
277
277
  type: CdkPortal,
278
278
  decorators: [{
@@ -292,9 +292,6 @@ class CdkPortalOutlet extends BasePortalOutlet {
292
292
  _viewContainerRef = inject(ViewContainerRef);
293
293
  _isInitialized = false;
294
294
  _attachedRef = null;
295
- constructor() {
296
- super();
297
- }
298
295
  get portal() {
299
296
  return this._attachedPortal;
300
297
  }
@@ -373,15 +370,15 @@ class CdkPortalOutlet extends BasePortalOutlet {
373
370
  }
374
371
  static ɵfac = i0.ɵɵngDeclareFactory({
375
372
  minVersion: "12.0.0",
376
- version: "22.0.0-next.1",
373
+ version: "22.0.0-next.6",
377
374
  ngImport: i0,
378
375
  type: CdkPortalOutlet,
379
- deps: [],
376
+ deps: null,
380
377
  target: i0.ɵɵFactoryTarget.Directive
381
378
  });
382
379
  static ɵdir = i0.ɵɵngDeclareDirective({
383
380
  minVersion: "14.0.0",
384
- version: "22.0.0-next.1",
381
+ version: "22.0.0-next.6",
385
382
  type: CdkPortalOutlet,
386
383
  isStandalone: true,
387
384
  selector: "[cdkPortalOutlet]",
@@ -398,7 +395,7 @@ class CdkPortalOutlet extends BasePortalOutlet {
398
395
  }
399
396
  i0.ɵɵngDeclareClassMetadata({
400
397
  minVersion: "12.0.0",
401
- version: "22.0.0-next.1",
398
+ version: "22.0.0-next.6",
402
399
  ngImport: i0,
403
400
  type: CdkPortalOutlet,
404
401
  decorators: [{
@@ -408,7 +405,6 @@ i0.ɵɵngDeclareClassMetadata({
408
405
  exportAs: 'cdkPortalOutlet'
409
406
  }]
410
407
  }],
411
- ctorParameters: () => [],
412
408
  propDecorators: {
413
409
  portal: [{
414
410
  type: Input,
@@ -422,7 +418,7 @@ i0.ɵɵngDeclareClassMetadata({
422
418
  class PortalModule {
423
419
  static ɵfac = i0.ɵɵngDeclareFactory({
424
420
  minVersion: "12.0.0",
425
- version: "22.0.0-next.1",
421
+ version: "22.0.0-next.6",
426
422
  ngImport: i0,
427
423
  type: PortalModule,
428
424
  deps: [],
@@ -430,7 +426,7 @@ class PortalModule {
430
426
  });
431
427
  static ɵmod = i0.ɵɵngDeclareNgModule({
432
428
  minVersion: "14.0.0",
433
- version: "22.0.0-next.1",
429
+ version: "22.0.0-next.6",
434
430
  ngImport: i0,
435
431
  type: PortalModule,
436
432
  imports: [CdkPortal, CdkPortalOutlet],
@@ -438,14 +434,14 @@ class PortalModule {
438
434
  });
439
435
  static ɵinj = i0.ɵɵngDeclareInjector({
440
436
  minVersion: "12.0.0",
441
- version: "22.0.0-next.1",
437
+ version: "22.0.0-next.6",
442
438
  ngImport: i0,
443
439
  type: PortalModule
444
440
  });
445
441
  }
446
442
  i0.ɵɵngDeclareClassMetadata({
447
443
  minVersion: "12.0.0",
448
- version: "22.0.0-next.1",
444
+ version: "22.0.0-next.6",
449
445
  ngImport: i0,
450
446
  type: PortalModule,
451
447
  decorators: [{