@angular/cdk 21.1.0-next.0 → 21.1.0-next.2

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 (107) hide show
  1. package/fesm2022/_a11y-module-chunk.mjs +30 -24
  2. package/fesm2022/_a11y-module-chunk.mjs.map +1 -1
  3. package/fesm2022/_activedescendant-key-manager-chunk.mjs.map +1 -1
  4. package/fesm2022/_array-chunk.mjs.map +1 -1
  5. package/fesm2022/_breakpoints-observer-chunk.mjs +6 -6
  6. package/fesm2022/_breakpoints-observer-chunk.mjs.map +1 -1
  7. package/fesm2022/_css-pixel-value-chunk.mjs.map +1 -1
  8. package/fesm2022/_data-source-chunk.mjs.map +1 -1
  9. package/fesm2022/_directionality-chunk.mjs +3 -3
  10. package/fesm2022/_directionality-chunk.mjs.map +1 -1
  11. package/fesm2022/_dispose-view-repeater-strategy-chunk.mjs.map +1 -1
  12. package/fesm2022/_element-chunk.mjs.map +1 -1
  13. package/fesm2022/_fake-event-detection-chunk.mjs.map +1 -1
  14. package/fesm2022/_focus-key-manager-chunk.mjs.map +1 -1
  15. package/fesm2022/_focus-monitor-chunk.mjs +9 -9
  16. package/fesm2022/_focus-monitor-chunk.mjs.map +1 -1
  17. package/fesm2022/_id-generator-chunk.mjs +3 -3
  18. package/fesm2022/_id-generator-chunk.mjs.map +1 -1
  19. package/fesm2022/_keycodes-chunk.mjs.map +1 -1
  20. package/fesm2022/_list-key-manager-chunk.mjs +5 -5
  21. package/fesm2022/_list-key-manager-chunk.mjs.map +1 -1
  22. package/fesm2022/_overlay-module-chunk.mjs +42 -34
  23. package/fesm2022/_overlay-module-chunk.mjs.map +1 -1
  24. package/fesm2022/_passive-listeners-chunk.mjs.map +1 -1
  25. package/fesm2022/_platform-chunk.mjs +3 -3
  26. package/fesm2022/_platform-chunk.mjs.map +1 -1
  27. package/fesm2022/_recycle-view-repeater-strategy-chunk.mjs +1 -3
  28. package/fesm2022/_recycle-view-repeater-strategy-chunk.mjs.map +1 -1
  29. package/fesm2022/_scrolling-chunk.mjs.map +1 -1
  30. package/fesm2022/_selection-model-chunk.mjs.map +1 -1
  31. package/fesm2022/_shadow-dom-chunk.mjs.map +1 -1
  32. package/fesm2022/_style-loader-chunk.mjs +3 -3
  33. package/fesm2022/_style-loader-chunk.mjs.map +1 -1
  34. package/fesm2022/_test-environment-chunk.mjs.map +1 -1
  35. package/fesm2022/_tree-key-manager-chunk.mjs.map +1 -1
  36. package/fesm2022/_typeahead-chunk.mjs.map +1 -1
  37. package/fesm2022/_unique-selection-dispatcher-chunk.mjs +3 -3
  38. package/fesm2022/_unique-selection-dispatcher-chunk.mjs.map +1 -1
  39. package/fesm2022/a11y.mjs +11 -10
  40. package/fesm2022/a11y.mjs.map +1 -1
  41. package/fesm2022/accordion.mjs +10 -10
  42. package/fesm2022/accordion.mjs.map +1 -1
  43. package/fesm2022/bidi.mjs +7 -7
  44. package/fesm2022/bidi.mjs.map +1 -1
  45. package/fesm2022/cdk.mjs +1 -1
  46. package/fesm2022/cdk.mjs.map +1 -1
  47. package/fesm2022/clipboard.mjs +10 -10
  48. package/fesm2022/clipboard.mjs.map +1 -1
  49. package/fesm2022/coercion-private.mjs.map +1 -1
  50. package/fesm2022/coercion.mjs.map +1 -1
  51. package/fesm2022/collections.mjs +1 -1
  52. package/fesm2022/dialog.mjs +12 -11
  53. package/fesm2022/dialog.mjs.map +1 -1
  54. package/fesm2022/drag-drop.mjs +31 -31
  55. package/fesm2022/drag-drop.mjs.map +1 -1
  56. package/fesm2022/keycodes.mjs.map +1 -1
  57. package/fesm2022/layout.mjs +4 -4
  58. package/fesm2022/layout.mjs.map +1 -1
  59. package/fesm2022/listbox.mjs +10 -10
  60. package/fesm2022/listbox.mjs.map +1 -1
  61. package/fesm2022/menu.mjs +69 -52
  62. package/fesm2022/menu.mjs.map +1 -1
  63. package/fesm2022/observers-private.mjs +3 -3
  64. package/fesm2022/observers-private.mjs.map +1 -1
  65. package/fesm2022/observers.mjs +13 -13
  66. package/fesm2022/observers.mjs.map +1 -1
  67. package/fesm2022/overlay.mjs +3 -3
  68. package/fesm2022/overlay.mjs.map +1 -1
  69. package/fesm2022/platform.mjs +4 -4
  70. package/fesm2022/platform.mjs.map +1 -1
  71. package/fesm2022/portal.mjs +10 -10
  72. package/fesm2022/portal.mjs.map +1 -1
  73. package/fesm2022/private.mjs +52 -3
  74. package/fesm2022/private.mjs.map +1 -1
  75. package/fesm2022/scrolling.mjs +55 -53
  76. package/fesm2022/scrolling.mjs.map +1 -1
  77. package/fesm2022/stepper.mjs +22 -22
  78. package/fesm2022/stepper.mjs.map +1 -1
  79. package/fesm2022/table.mjs +214 -109
  80. package/fesm2022/table.mjs.map +1 -1
  81. package/fesm2022/testing-selenium-webdriver.mjs.map +1 -1
  82. package/fesm2022/testing-testbed.mjs.map +1 -1
  83. package/fesm2022/testing.mjs.map +1 -1
  84. package/fesm2022/text-field.mjs +16 -16
  85. package/fesm2022/text-field.mjs.map +1 -1
  86. package/fesm2022/tree.mjs +25 -25
  87. package/fesm2022/tree.mjs.map +1 -1
  88. package/package.json +2 -1
  89. package/schematics/ng-add/index.js +1 -1
  90. package/types/_a11y-module-chunk.d.ts +9 -5
  91. package/types/_overlay-module-chunk.d.ts +1 -0
  92. package/types/_scrolling-module-chunk.d.ts +11 -1
  93. package/types/_view-repeater-chunk.d.ts +2 -7
  94. package/types/a11y.d.ts +2 -1
  95. package/types/collections.d.ts +1 -1
  96. package/types/dialog.d.ts +1 -0
  97. package/types/menu.d.ts +7 -2
  98. package/types/private.d.ts +5 -1
  99. package/types/scrolling.d.ts +1 -1
  100. package/types/table.d.ts +62 -11
  101. package/_adev_assets/cdk_drag_drop.json +0 -7221
  102. package/_adev_assets/cdk_testing.json +0 -7601
  103. package/_adev_assets/cdk_testing_protractor.json +0 -1747
  104. package/_adev_assets/cdk_testing_selenium_webdriver.json +0 -1801
  105. package/_adev_assets/cdk_testing_testbed.json +0 -1903
  106. package/fesm2022/_visually-hidden-chunk.mjs +0 -46
  107. package/fesm2022/_visually-hidden-chunk.mjs.map +0 -1
@@ -74,7 +74,7 @@ class SharedResizeObserver {
74
74
  }
75
75
  static ɵfac = i0.ɵɵngDeclareFactory({
76
76
  minVersion: "12.0.0",
77
- version: "21.0.0",
77
+ version: "21.0.3",
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: "21.0.0",
85
+ version: "21.0.3",
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: "21.0.0",
93
+ version: "21.0.3",
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-199a4f3c4e20/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":";;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GAAA;IACT,KAAK,MAAM,GAAG/B,QAAQ,CAAC,IAAI,IAAI,CAACqB,UAAU,EAAE;MAC1CrB,QAAQ,CAACgB,OAAO,EAAE;AACpB;AACA,IAAA,IAAI,CAACK,UAAU,CAACH,KAAK,EAAE;IACvB,IAAI,CAACE,qBAAqB,IAAI;AAChC;AAQAzB,EAAAA,OAAOA,CAACC,MAAe,EAAEoC,OAA+B,EAAA;AACtD,IAAA,MAAM7B,GAAG,GAAG6B,OAAO,EAAE7B,GAAG,IAAI,aAAa;IACzC,IAAI,CAAC,IAAI,CAACkB,UAAU,CAACxB,GAAG,CAACM,GAAG,CAAC,EAAE;AAC7B,MAAA,IAAI,CAACkB,UAAU,CAACvB,GAAG,CAACK,GAAG,EAAE,IAAIpB,6BAA6B,CAACoB,GAAG,CAAC,CAAC;AAClE;AACA,IAAA,OAAO,IAAI,CAACkB,UAAU,CAACN,GAAG,CAACZ,GAAG,CAAE,CAACR,OAAO,CAACC,MAAM,CAAC;AAClD;;;;;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,QAAA;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
+ {"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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;AAApB,EAAA,OAAAC,KAAA,GAAAH,EAAA,CAAAI,qBAAA,CAAA;AAAAC,IAAAA,UAAA,EAAA,QAAA;AAAAC,IAAAA,OAAA,EAAA,QAAA;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;;;;;;;"}
@@ -29,7 +29,7 @@ class MutationObserverFactory {
29
29
  }
30
30
  static ɵfac = i0.ɵɵngDeclareFactory({
31
31
  minVersion: "12.0.0",
32
- version: "21.0.0",
32
+ version: "21.0.3",
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: "21.0.0",
40
+ version: "21.0.3",
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: "21.0.0",
48
+ version: "21.0.3",
49
49
  ngImport: i0,
50
50
  type: MutationObserverFactory,
51
51
  decorators: [{
@@ -124,7 +124,7 @@ class ContentObserver {
124
124
  }
125
125
  static ɵfac = i0.ɵɵngDeclareFactory({
126
126
  minVersion: "12.0.0",
127
- version: "21.0.0",
127
+ version: "21.0.3",
128
128
  ngImport: i0,
129
129
  type: ContentObserver,
130
130
  deps: [],
@@ -132,7 +132,7 @@ class ContentObserver {
132
132
  });
133
133
  static ɵprov = i0.ɵɵngDeclareInjectable({
134
134
  minVersion: "12.0.0",
135
- version: "21.0.0",
135
+ version: "21.0.3",
136
136
  ngImport: i0,
137
137
  type: ContentObserver,
138
138
  providedIn: 'root'
@@ -140,7 +140,7 @@ class ContentObserver {
140
140
  }
141
141
  i0.ɵɵngDeclareClassMetadata({
142
142
  minVersion: "12.0.0",
143
- version: "21.0.0",
143
+ version: "21.0.3",
144
144
  ngImport: i0,
145
145
  type: ContentObserver,
146
146
  decorators: [{
@@ -191,7 +191,7 @@ class CdkObserveContent {
191
191
  }
192
192
  static ɵfac = i0.ɵɵngDeclareFactory({
193
193
  minVersion: "12.0.0",
194
- version: "21.0.0",
194
+ version: "21.0.3",
195
195
  ngImport: i0,
196
196
  type: CdkObserveContent,
197
197
  deps: [],
@@ -199,7 +199,7 @@ class CdkObserveContent {
199
199
  });
200
200
  static ɵdir = i0.ɵɵngDeclareDirective({
201
201
  minVersion: "16.1.0",
202
- version: "21.0.0",
202
+ version: "21.0.3",
203
203
  type: CdkObserveContent,
204
204
  isStandalone: true,
205
205
  selector: "[cdkObserveContent]",
@@ -216,7 +216,7 @@ class CdkObserveContent {
216
216
  }
217
217
  i0.ɵɵngDeclareClassMetadata({
218
218
  minVersion: "12.0.0",
219
- version: "21.0.0",
219
+ version: "21.0.3",
220
220
  ngImport: i0,
221
221
  type: CdkObserveContent,
222
222
  decorators: [{
@@ -247,7 +247,7 @@ i0.ɵɵngDeclareClassMetadata({
247
247
  class ObserversModule {
248
248
  static ɵfac = i0.ɵɵngDeclareFactory({
249
249
  minVersion: "12.0.0",
250
- version: "21.0.0",
250
+ version: "21.0.3",
251
251
  ngImport: i0,
252
252
  type: ObserversModule,
253
253
  deps: [],
@@ -255,7 +255,7 @@ class ObserversModule {
255
255
  });
256
256
  static ɵmod = i0.ɵɵngDeclareNgModule({
257
257
  minVersion: "14.0.0",
258
- version: "21.0.0",
258
+ version: "21.0.3",
259
259
  ngImport: i0,
260
260
  type: ObserversModule,
261
261
  imports: [CdkObserveContent],
@@ -263,7 +263,7 @@ class ObserversModule {
263
263
  });
264
264
  static ɵinj = i0.ɵɵngDeclareInjector({
265
265
  minVersion: "12.0.0",
266
- version: "21.0.0",
266
+ version: "21.0.3",
267
267
  ngImport: i0,
268
268
  type: ObserversModule,
269
269
  providers: [MutationObserverFactory]
@@ -271,7 +271,7 @@ class ObserversModule {
271
271
  }
272
272
  i0.ɵɵngDeclareClassMetadata({
273
273
  minVersion: "12.0.0",
274
- version: "21.0.0",
274
+ version: "21.0.3",
275
275
  ngImport: i0,
276
276
  type: ObserversModule,
277
277
  decorators: [{
@@ -1 +1 @@
1
- {"version":3,"file":"observers.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/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;\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,EAAE;MACjD,IAAI,EAAEJ,MAAM,CAACK,UAAU,CAACD,CAAC,CAAC,YAAYD,OAAO,CAAC,EAAE;AAC9C,QAAA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AAAA,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 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;\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,EAAE;MACjD,IAAI,EAAEJ,MAAM,CAACK,UAAU,CAACD,CAAC,CAAC,YAAYD,OAAO,CAAC,EAAE;AAC9C,QAAA,OAAO,KAAK;AACd;AACF;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;AACF;AACA,IAAA,OAAO,IAAI;AACb;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;;;;;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,CAAA;AAAAC,IAAAA,UAAA,EAAA,QAAA;AAAAC,IAAAA,OAAA,EAAA,QAAA;AAAAC,IAAA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AAChC,iBAAiB,CAAC;MAC5BiC,SAAS,EAAE,CAAC3F,uBAAuB;KACpC;;;;;;"}
@@ -73,7 +73,7 @@ class FullscreenOverlayContainer extends OverlayContainer {
73
73
  }
74
74
  static ɵfac = i0.ɵɵngDeclareFactory({
75
75
  minVersion: "12.0.0",
76
- version: "21.0.0",
76
+ version: "21.0.3",
77
77
  ngImport: i0,
78
78
  type: FullscreenOverlayContainer,
79
79
  deps: [],
@@ -81,7 +81,7 @@ class FullscreenOverlayContainer extends OverlayContainer {
81
81
  });
82
82
  static ɵprov = i0.ɵɵngDeclareInjectable({
83
83
  minVersion: "12.0.0",
84
- version: "21.0.0",
84
+ version: "21.0.3",
85
85
  ngImport: i0,
86
86
  type: FullscreenOverlayContainer,
87
87
  providedIn: 'root'
@@ -89,7 +89,7 @@ class FullscreenOverlayContainer extends OverlayContainer {
89
89
  }
90
90
  i0.ɵɵngDeclareClassMetadata({
91
91
  minVersion: "12.0.0",
92
- version: "21.0.0",
92
+ version: "21.0.3",
93
93
  ngImport: i0,
94
94
  type: FullscreenOverlayContainer,
95
95
  decorators: [{
@@ -1 +1 @@
1
- {"version":3,"file":"overlay.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/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,oBAAoB;EACpBC,0BAA0B;AAIlCC,EAAAA,WAAAA,GAAA;AACE,IAAA,KAAK,EAAE;AACT;AAESC,EAAAA,WAAWA,GAAA;IAClB,KAAK,CAACA,WAAW,EAAE;IACnB,IAAI,CAACF,0BAA0B,IAAI;AACrC;AAEmBG,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,CAACJ,0BAA0B,IAAI;AACnC,MAAA,IAAI,CAACA,0BAA0B,GAAG,IAAI,CAACL,SAAS,CAACY,MAAM,CAAC,UAAU,EAAEH,SAAS,EAAE,MAAK;QAClF,IAAI,CAACE,gCAAgC,EAAE;AACzC,OAAC,CAAC;AACJ;AACF;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;AACF;AAEQH,EAAAA,aAAaA,GAAA;AACnB,IAAA,IAAI,CAAC,IAAI,CAACN,oBAAoB,EAAE;AAC9B,MAAA,MAAMa,SAAS,GAAG,IAAI,CAACA,SAAgB;MAEvC,IAAIA,SAAS,CAACG,iBAAiB,EAAE;QAC/B,IAAI,CAAChB,oBAAoB,GAAG,kBAAkB;AAChD,OAAA,MAAO,IAAIa,SAAS,CAACI,uBAAuB,EAAE;QAC5C,IAAI,CAACjB,oBAAoB,GAAG,wBAAwB;AACtD,OAAA,MAAO,IAAIa,SAAS,CAACK,oBAAoB,EAAE;QACzC,IAAI,CAAClB,oBAAoB,GAAG,qBAAqB;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,QAAA;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 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,oBAAoB;EACpBC,0BAA0B;AAIlCC,EAAAA,WAAAA,GAAA;AACE,IAAA,KAAK,EAAE;AACT;AAESC,EAAAA,WAAWA,GAAA;IAClB,KAAK,CAACA,WAAW,EAAE;IACnB,IAAI,CAACF,0BAA0B,IAAI;AACrC;AAEmBG,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,CAACJ,0BAA0B,IAAI;AACnC,MAAA,IAAI,CAACA,0BAA0B,GAAG,IAAI,CAACL,SAAS,CAACY,MAAM,CAAC,UAAU,EAAEH,SAAS,EAAE,MAAK;QAClF,IAAI,CAACE,gCAAgC,EAAE;AACzC,OAAC,CAAC;AACJ;AACF;AAEQA,EAAAA,gCAAgCA,GAAA;IACtC,IAAI,IAAI,CAACE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AA,EAAA,QAAA;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;;;;;;;"}
@@ -10,7 +10,7 @@ import '@angular/common';
10
10
  class PlatformModule {
11
11
  static ɵfac = i0.ɵɵngDeclareFactory({
12
12
  minVersion: "12.0.0",
13
- version: "21.0.0",
13
+ version: "21.0.3",
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: "21.0.0",
21
+ version: "21.0.3",
22
22
  ngImport: i0,
23
23
  type: PlatformModule
24
24
  });
25
25
  static ɵinj = i0.ɵɵngDeclareInjector({
26
26
  minVersion: "12.0.0",
27
- version: "21.0.0",
27
+ version: "21.0.3",
28
28
  ngImport: i0,
29
29
  type: PlatformModule
30
30
  });
31
31
  }
32
32
  i0.ɵɵngDeclareClassMetadata({
33
33
  minVersion: "12.0.0",
34
- version: "21.0.0",
34
+ version: "21.0.3",
35
35
  ngImport: i0,
36
36
  type: PlatformModule,
37
37
  decorators: [{
@@ -1 +1 @@
1
- {"version":3,"file":"platform.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/platform/platform-module.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/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":";;;;;;;;;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;;;;"}
@@ -249,7 +249,7 @@ class CdkPortal extends TemplatePortal {
249
249
  }
250
250
  static ɵfac = i0.ɵɵngDeclareFactory({
251
251
  minVersion: "12.0.0",
252
- version: "21.0.0",
252
+ version: "21.0.3",
253
253
  ngImport: i0,
254
254
  type: CdkPortal,
255
255
  deps: [],
@@ -257,7 +257,7 @@ class CdkPortal extends TemplatePortal {
257
257
  });
258
258
  static ɵdir = i0.ɵɵngDeclareDirective({
259
259
  minVersion: "14.0.0",
260
- version: "21.0.0",
260
+ version: "21.0.3",
261
261
  type: CdkPortal,
262
262
  isStandalone: true,
263
263
  selector: "[cdkPortal]",
@@ -268,7 +268,7 @@ class CdkPortal extends TemplatePortal {
268
268
  }
269
269
  i0.ɵɵngDeclareClassMetadata({
270
270
  minVersion: "12.0.0",
271
- version: "21.0.0",
271
+ version: "21.0.3",
272
272
  ngImport: i0,
273
273
  type: CdkPortal,
274
274
  decorators: [{
@@ -368,7 +368,7 @@ class CdkPortalOutlet extends BasePortalOutlet {
368
368
  }
369
369
  static ɵfac = i0.ɵɵngDeclareFactory({
370
370
  minVersion: "12.0.0",
371
- version: "21.0.0",
371
+ version: "21.0.3",
372
372
  ngImport: i0,
373
373
  type: CdkPortalOutlet,
374
374
  deps: [],
@@ -376,7 +376,7 @@ class CdkPortalOutlet extends BasePortalOutlet {
376
376
  });
377
377
  static ɵdir = i0.ɵɵngDeclareDirective({
378
378
  minVersion: "14.0.0",
379
- version: "21.0.0",
379
+ version: "21.0.3",
380
380
  type: CdkPortalOutlet,
381
381
  isStandalone: true,
382
382
  selector: "[cdkPortalOutlet]",
@@ -393,7 +393,7 @@ class CdkPortalOutlet extends BasePortalOutlet {
393
393
  }
394
394
  i0.ɵɵngDeclareClassMetadata({
395
395
  minVersion: "12.0.0",
396
- version: "21.0.0",
396
+ version: "21.0.3",
397
397
  ngImport: i0,
398
398
  type: CdkPortalOutlet,
399
399
  decorators: [{
@@ -417,7 +417,7 @@ i0.ɵɵngDeclareClassMetadata({
417
417
  class PortalModule {
418
418
  static ɵfac = i0.ɵɵngDeclareFactory({
419
419
  minVersion: "12.0.0",
420
- version: "21.0.0",
420
+ version: "21.0.3",
421
421
  ngImport: i0,
422
422
  type: PortalModule,
423
423
  deps: [],
@@ -425,7 +425,7 @@ class PortalModule {
425
425
  });
426
426
  static ɵmod = i0.ɵɵngDeclareNgModule({
427
427
  minVersion: "14.0.0",
428
- version: "21.0.0",
428
+ version: "21.0.3",
429
429
  ngImport: i0,
430
430
  type: PortalModule,
431
431
  imports: [CdkPortal, CdkPortalOutlet],
@@ -433,14 +433,14 @@ class PortalModule {
433
433
  });
434
434
  static ɵinj = i0.ɵɵngDeclareInjector({
435
435
  minVersion: "12.0.0",
436
- version: "21.0.0",
436
+ version: "21.0.3",
437
437
  ngImport: i0,
438
438
  type: PortalModule
439
439
  });
440
440
  }
441
441
  i0.ɵɵngDeclareClassMetadata({
442
442
  minVersion: "12.0.0",
443
- version: "21.0.0",
443
+ version: "21.0.3",
444
444
  ngImport: i0,
445
445
  type: PortalModule,
446
446
  decorators: [{