@angular/cdk 20.0.0-next.4 → 20.0.0-next.6

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 (201) hide show
  1. package/a11y/index.d.ts +12 -11
  2. package/{a11y-module.d-7d03e079.d.ts → a11y-module.d-9e4162d8.d.ts} +4 -3
  3. package/accordion/index.d.ts +1 -1
  4. package/{activedescendant-key-manager.d-11921e3a.d.ts → activedescendant-key-manager.d-8f004111.d.ts} +3 -2
  5. package/bidi/index.d.ts +1 -1
  6. package/{bidi-module.d-f8648621.d.ts → bidi-module.d-e02fd94c.d.ts} +8 -4
  7. package/clipboard/index.d.ts +2 -1
  8. package/coercion/index.d.ts +3 -2
  9. package/collections/index.d.ts +9 -8
  10. package/{data-source.d-7cab2c9d.d.ts → data-source.d-7eda4d9a.d.ts} +2 -1
  11. package/dialog/index.d.ts +15 -14
  12. package/drag-drop/index.d.ts +10 -7
  13. package/fesm2022/{a11y-module-b228dc71.mjs → a11y-module-3f18e5c2.mjs} +30 -30
  14. package/fesm2022/a11y-module-3f18e5c2.mjs.map +1 -0
  15. package/fesm2022/a11y.mjs +32 -33
  16. package/fesm2022/a11y.mjs.map +1 -1
  17. package/fesm2022/accordion.mjs +12 -12
  18. package/fesm2022/accordion.mjs.map +1 -1
  19. package/fesm2022/{activedescendant-key-manager-1351a9d3.mjs → activedescendant-key-manager-ca3e95bd.mjs} +2 -2
  20. package/fesm2022/activedescendant-key-manager-ca3e95bd.mjs.map +1 -0
  21. package/fesm2022/{array-88e1bec3.mjs → array-88204b72.mjs} +1 -1
  22. package/fesm2022/array-88204b72.mjs.map +1 -0
  23. package/fesm2022/{bidi-module-e73b8776.mjs → bidi-module-93941905.mjs} +16 -17
  24. package/fesm2022/bidi-module-93941905.mjs.map +1 -0
  25. package/fesm2022/bidi.mjs +2 -2
  26. package/fesm2022/{breakpoints-observer-9432a91b.mjs → breakpoints-observer-9d296976.mjs} +9 -9
  27. package/fesm2022/breakpoints-observer-9d296976.mjs.map +1 -0
  28. package/fesm2022/cdk.mjs +1 -1
  29. package/fesm2022/cdk.mjs.map +1 -1
  30. package/fesm2022/clipboard.mjs +10 -10
  31. package/fesm2022/clipboard.mjs.map +1 -1
  32. package/fesm2022/coercion/private.mjs +1 -1
  33. package/fesm2022/coercion.mjs +3 -3
  34. package/fesm2022/coercion.mjs.map +1 -1
  35. package/fesm2022/collections.mjs +5 -5
  36. package/fesm2022/{css-pixel-value-447bbfe8.mjs → css-pixel-value-5ab12b77.mjs} +1 -1
  37. package/fesm2022/css-pixel-value-5ab12b77.mjs.map +1 -0
  38. package/fesm2022/{data-source-5320b6fd.mjs → data-source-a3a3a257.mjs} +1 -1
  39. package/fesm2022/data-source-a3a3a257.mjs.map +1 -0
  40. package/fesm2022/dialog.mjs +36 -37
  41. package/fesm2022/dialog.mjs.map +1 -1
  42. package/fesm2022/{directionality-ea6ab987.mjs → directionality-25132624.mjs} +13 -7
  43. package/fesm2022/directionality-25132624.mjs.map +1 -0
  44. package/fesm2022/{dispose-view-repeater-strategy-b11b87ea.mjs → dispose-view-repeater-strategy-0bf96031.mjs} +2 -2
  45. package/fesm2022/dispose-view-repeater-strategy-0bf96031.mjs.map +1 -0
  46. package/fesm2022/drag-drop.mjs +70 -58
  47. package/fesm2022/drag-drop.mjs.map +1 -1
  48. package/fesm2022/{element-08c51fcd.mjs → element-bed495ef.mjs} +1 -1
  49. package/fesm2022/element-bed495ef.mjs.map +1 -0
  50. package/fesm2022/{fake-event-detection-7055b1bd.mjs → fake-event-detection-61bf2988.mjs} +1 -1
  51. package/fesm2022/fake-event-detection-61bf2988.mjs.map +1 -0
  52. package/fesm2022/{focus-key-manager-58d29acd.mjs → focus-key-manager-f4cf48e1.mjs} +2 -2
  53. package/fesm2022/focus-key-manager-f4cf48e1.mjs.map +1 -0
  54. package/fesm2022/{focus-monitor-69f9c0f9.mjs → focus-monitor-4af46fa6.mjs} +19 -20
  55. package/fesm2022/focus-monitor-4af46fa6.mjs.map +1 -0
  56. package/fesm2022/{id-generator-ec45a122.mjs → id-generator-dd03740e.mjs} +4 -4
  57. package/fesm2022/id-generator-dd03740e.mjs.map +1 -0
  58. package/fesm2022/{keycodes-107cd3e4.mjs → keycodes-fbdb6e67.mjs} +1 -1
  59. package/fesm2022/keycodes-fbdb6e67.mjs.map +1 -0
  60. package/fesm2022/keycodes.mjs +2 -2
  61. package/fesm2022/layout.mjs +7 -7
  62. package/fesm2022/layout.mjs.map +1 -1
  63. package/fesm2022/{list-key-manager-c7b5cefb.mjs → list-key-manager-0ce9d5be.mjs} +4 -4
  64. package/fesm2022/list-key-manager-0ce9d5be.mjs.map +1 -0
  65. package/fesm2022/listbox.mjs +20 -20
  66. package/fesm2022/listbox.mjs.map +1 -1
  67. package/fesm2022/menu.mjs +74 -75
  68. package/fesm2022/menu.mjs.map +1 -1
  69. package/fesm2022/{modifiers-33a5859e.mjs → modifiers-68a3bc3a.mjs} +1 -1
  70. package/fesm2022/modifiers-68a3bc3a.mjs.map +1 -0
  71. package/fesm2022/{observable-97c0792c.mjs → observable-36bb5527.mjs} +1 -1
  72. package/fesm2022/observable-36bb5527.mjs.map +1 -0
  73. package/fesm2022/{observe-content-459e1d12.mjs → observe-content-85983868.mjs} +15 -15
  74. package/fesm2022/observe-content-85983868.mjs.map +1 -0
  75. package/fesm2022/observers/private.mjs +3 -3
  76. package/fesm2022/observers/private.mjs.map +1 -1
  77. package/fesm2022/observers.mjs +2 -2
  78. package/fesm2022/{overlay-module-6e7b742f.mjs → overlay-module-a2bddb9f.mjs} +108 -91
  79. package/fesm2022/overlay-module-a2bddb9f.mjs.map +1 -0
  80. package/fesm2022/overlay.mjs +22 -23
  81. package/fesm2022/overlay.mjs.map +1 -1
  82. package/fesm2022/{passive-listeners-c0bdc49f.mjs → passive-listeners-1189a3bc.mjs} +1 -1
  83. package/fesm2022/passive-listeners-1189a3bc.mjs.map +1 -0
  84. package/fesm2022/{platform-2be6a529.mjs → platform-3b280dd2.mjs} +4 -4
  85. package/fesm2022/platform-3b280dd2.mjs.map +1 -0
  86. package/fesm2022/platform.mjs +9 -10
  87. package/fesm2022/platform.mjs.map +1 -1
  88. package/fesm2022/{portal-directives-9cd98881.mjs → portal-directives-4da94e82.mjs} +17 -17
  89. package/fesm2022/portal-directives-4da94e82.mjs.map +1 -0
  90. package/fesm2022/portal.mjs +1 -1
  91. package/fesm2022/private.mjs +2 -2
  92. package/fesm2022/{recycle-view-repeater-strategy-c1712813.mjs → recycle-view-repeater-strategy-7fe34ce5.mjs} +2 -2
  93. package/fesm2022/recycle-view-repeater-strategy-7fe34ce5.mjs.map +1 -0
  94. package/fesm2022/{scrolling-61955dd1.mjs → scrolling-4b9e82b7.mjs} +1 -1
  95. package/fesm2022/scrolling-4b9e82b7.mjs.map +1 -0
  96. package/fesm2022/{scrolling-module-72941c9f.mjs → scrolling-module-2ed090a6.mjs} +43 -43
  97. package/fesm2022/scrolling-module-2ed090a6.mjs.map +1 -0
  98. package/fesm2022/scrolling.mjs +8 -8
  99. package/fesm2022/{selection-model-30243dba.mjs → selection-model-7800ff2c.mjs} +1 -1
  100. package/fesm2022/selection-model-7800ff2c.mjs.map +1 -0
  101. package/fesm2022/{shadow-dom-9f403d00.mjs → shadow-dom-09da63d7.mjs} +1 -1
  102. package/fesm2022/shadow-dom-09da63d7.mjs.map +1 -0
  103. package/fesm2022/stepper.mjs +31 -31
  104. package/fesm2022/stepper.mjs.map +1 -1
  105. package/fesm2022/{style-loader-9fc0a4d2.mjs → style-loader-f70e1cd6.mjs} +4 -4
  106. package/fesm2022/style-loader-f70e1cd6.mjs.map +1 -0
  107. package/fesm2022/table.mjs +92 -89
  108. package/fesm2022/table.mjs.map +1 -1
  109. package/fesm2022/{test-environment-34eef1ee.mjs → test-environment-75e095b5.mjs} +1 -1
  110. package/fesm2022/test-environment-75e095b5.mjs.map +1 -0
  111. package/fesm2022/testing/selenium-webdriver.mjs +1 -1
  112. package/fesm2022/testing/selenium-webdriver.mjs.map +1 -1
  113. package/fesm2022/testing/testbed.mjs +2 -2
  114. package/fesm2022/testing/testbed.mjs.map +1 -1
  115. package/fesm2022/testing.mjs +1 -1
  116. package/fesm2022/text-field.mjs +20 -21
  117. package/fesm2022/text-field.mjs.map +1 -1
  118. package/fesm2022/{text-filtering-0c6de6d6.mjs → text-filtering-682c2e05.mjs} +1 -1
  119. package/fesm2022/text-filtering-682c2e05.mjs.map +1 -0
  120. package/fesm2022/{tree-key-manager-2f20c79c.mjs → tree-key-manager-fb779925.mjs} +3 -3
  121. package/fesm2022/tree-key-manager-fb779925.mjs.map +1 -0
  122. package/fesm2022/tree.mjs +32 -32
  123. package/fesm2022/tree.mjs.map +1 -1
  124. package/fesm2022/{typeahead-11ae39bd.mjs → typeahead-5b1c5e41.mjs} +2 -2
  125. package/fesm2022/typeahead-5b1c5e41.mjs.map +1 -0
  126. package/fesm2022/{unique-selection-dispatcher-d0d5176e.mjs → unique-selection-dispatcher-95d71775.mjs} +4 -4
  127. package/fesm2022/unique-selection-dispatcher-95d71775.mjs.map +1 -0
  128. package/fesm2022/{visually-hidden-a6df546a.mjs → visually-hidden-912d0ccc.mjs} +4 -4
  129. package/fesm2022/visually-hidden-912d0ccc.mjs.map +1 -0
  130. package/{focus-key-manager.d-415a6958.d.ts → focus-key-manager.d-808a8cfc.d.ts} +4 -3
  131. package/{focus-monitor.d-810a02e6.d.ts → focus-monitor.d-463f4526.d.ts} +2 -1
  132. package/{harness-environment.d-4d615248.d.ts → harness-environment.d-ccca6bee.d.ts} +2 -1
  133. package/keycodes/index.d.ts +2 -1
  134. package/layout/index.d.ts +2 -1
  135. package/{list-key-manager.d-72e9a2e7.d.ts → list-key-manager.d-6b8e8454.d.ts} +2 -1
  136. package/listbox/index.d.ts +5 -4
  137. package/menu/index.d.ts +14 -13
  138. package/{number-property.d-ce316715.d.ts → number-property.d-1067cb21.d.ts} +2 -1
  139. package/{observe-content.d-c08bc882.d.ts → observe-content.d-406532a1.d.ts} +1 -1
  140. package/observers/index.d.ts +2 -2
  141. package/overlay/index.d.ts +14 -13
  142. package/{overlay-module.d-46197115.d.ts → overlay-module.d-bb9fd227.d.ts} +13 -10
  143. package/package.json +1 -1
  144. package/platform/index.d.ts +2 -17
  145. package/portal/index.d.ts +2 -2
  146. package/{portal-directives.d-fefec9d6.d.ts → portal-directives.d-7048496c.d.ts} +2 -1
  147. package/private/index.d.ts +1 -1
  148. package/schematics/ng-add/index.js +1 -1
  149. package/scrolling/index.d.ts +5 -5
  150. package/{scrolling-module.d-e4f8e471.d.ts → scrolling-module.d-a309d6c8.d.ts} +5 -4
  151. package/{selection-model.d-1a70542c.d.ts → selection-model.d-8f93f170.d.ts} +2 -1
  152. package/stepper/index.d.ts +6 -5
  153. package/table/index.d.ts +9 -8
  154. package/testing/index.d.ts +3 -2
  155. package/testing/selenium-webdriver/index.d.ts +3 -2
  156. package/testing/testbed/index.d.ts +3 -2
  157. package/text-field/index.d.ts +3 -2
  158. package/tree/index.d.ts +5 -4
  159. package/{unique-selection-dispatcher.d-7993b9f5.d.ts → unique-selection-dispatcher.d-49e3cd5f.d.ts} +2 -1
  160. package/{view-repeater.d-79039e1f.d.ts → view-repeater.d-bf5e36f0.d.ts} +2 -1
  161. package/{viewport-ruler.d-f3d3e82f.d.ts → viewport-ruler.d-5b507354.d.ts} +2 -1
  162. package/fesm2022/a11y-module-b228dc71.mjs.map +0 -1
  163. package/fesm2022/activedescendant-key-manager-1351a9d3.mjs.map +0 -1
  164. package/fesm2022/array-88e1bec3.mjs.map +0 -1
  165. package/fesm2022/backwards-compatibility-bcbe473e.mjs +0 -25
  166. package/fesm2022/backwards-compatibility-bcbe473e.mjs.map +0 -1
  167. package/fesm2022/bidi-module-e73b8776.mjs.map +0 -1
  168. package/fesm2022/breakpoints-observer-9432a91b.mjs.map +0 -1
  169. package/fesm2022/css-pixel-value-447bbfe8.mjs.map +0 -1
  170. package/fesm2022/data-source-5320b6fd.mjs.map +0 -1
  171. package/fesm2022/directionality-ea6ab987.mjs.map +0 -1
  172. package/fesm2022/dispose-view-repeater-strategy-b11b87ea.mjs.map +0 -1
  173. package/fesm2022/element-08c51fcd.mjs.map +0 -1
  174. package/fesm2022/fake-event-detection-7055b1bd.mjs.map +0 -1
  175. package/fesm2022/focus-key-manager-58d29acd.mjs.map +0 -1
  176. package/fesm2022/focus-monitor-69f9c0f9.mjs.map +0 -1
  177. package/fesm2022/id-generator-ec45a122.mjs.map +0 -1
  178. package/fesm2022/keycodes-107cd3e4.mjs.map +0 -1
  179. package/fesm2022/list-key-manager-c7b5cefb.mjs.map +0 -1
  180. package/fesm2022/modifiers-33a5859e.mjs.map +0 -1
  181. package/fesm2022/observable-97c0792c.mjs.map +0 -1
  182. package/fesm2022/observe-content-459e1d12.mjs.map +0 -1
  183. package/fesm2022/overlay-module-6e7b742f.mjs.map +0 -1
  184. package/fesm2022/passive-listeners-c0bdc49f.mjs.map +0 -1
  185. package/fesm2022/platform-2be6a529.mjs.map +0 -1
  186. package/fesm2022/portal-directives-9cd98881.mjs.map +0 -1
  187. package/fesm2022/recycle-view-repeater-strategy-c1712813.mjs.map +0 -1
  188. package/fesm2022/scrolling-61955dd1.mjs.map +0 -1
  189. package/fesm2022/scrolling-module-72941c9f.mjs.map +0 -1
  190. package/fesm2022/selection-model-30243dba.mjs.map +0 -1
  191. package/fesm2022/shadow-dom-9f403d00.mjs.map +0 -1
  192. package/fesm2022/style-loader-9fc0a4d2.mjs.map +0 -1
  193. package/fesm2022/test-environment-34eef1ee.mjs.map +0 -1
  194. package/fesm2022/text-filtering-0c6de6d6.mjs.map +0 -1
  195. package/fesm2022/tree-key-manager-2f20c79c.mjs.map +0 -1
  196. package/fesm2022/typeahead-11ae39bd.mjs.map +0 -1
  197. package/fesm2022/unique-selection-dispatcher-d0d5176e.mjs.map +0 -1
  198. package/fesm2022/visually-hidden-a6df546a.mjs.map +0 -1
  199. /package/{platform.d-0a5b4792.d.ts → platform.d-54a48c5c.d.ts} +0 -0
  200. /package/{style-loader.d-19baab84.d.ts → style-loader.d-a4916e34.d.ts} +0 -0
  201. /package/{tree-key-manager-strategy.d-603161dd.d.ts → tree-key-manager-strategy.d-e1a4bb7c.d.ts} +0 -0
@@ -2,8 +2,8 @@ import * as i0 from '@angular/core';
2
2
  import { inject, CSP_NONCE, Injectable, NgZone } from '@angular/core';
3
3
  import { Subject, combineLatest, concat, Observable } from 'rxjs';
4
4
  import { take, skip, debounceTime, map, startWith, takeUntil } from 'rxjs/operators';
5
- import { P as Platform } from './platform-2be6a529.mjs';
6
- import { c as coerceArray } from './array-88e1bec3.mjs';
5
+ import { P as Platform } from './platform-3b280dd2.mjs';
6
+ import { c as coerceArray } from './array-88204b72.mjs';
7
7
 
8
8
  /** Global registry for all dynamically-created, injected media queries. */
9
9
  const mediaQueriesForWebkitCompatibility = new Set();
@@ -35,10 +35,10 @@ class MediaMatcher {
35
35
  }
36
36
  return this._matchMedia(query);
37
37
  }
38
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.3", ngImport: i0, type: MediaMatcher, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
39
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.3", ngImport: i0, type: MediaMatcher, providedIn: 'root' });
38
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: MediaMatcher, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
39
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: MediaMatcher, providedIn: 'root' });
40
40
  }
41
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.3", ngImport: i0, type: MediaMatcher, decorators: [{
41
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: MediaMatcher, decorators: [{
42
42
  type: Injectable,
43
43
  args: [{ providedIn: 'root' }]
44
44
  }], ctorParameters: () => [] });
@@ -157,10 +157,10 @@ class BreakpointObserver {
157
157
  this._queries.set(query, output);
158
158
  return output;
159
159
  }
160
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.3", ngImport: i0, type: BreakpointObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
161
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.3", ngImport: i0, type: BreakpointObserver, providedIn: 'root' });
160
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: BreakpointObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
161
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: BreakpointObserver, providedIn: 'root' });
162
162
  }
163
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.3", ngImport: i0, type: BreakpointObserver, decorators: [{
163
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: BreakpointObserver, decorators: [{
164
164
  type: Injectable,
165
165
  args: [{ providedIn: 'root' }]
166
166
  }], ctorParameters: () => [] });
@@ -176,4 +176,4 @@ function splitQueries(queries) {
176
176
  }
177
177
 
178
178
  export { BreakpointObserver as B, MediaMatcher as M };
179
- //# sourceMappingURL=breakpoints-observer-9432a91b.mjs.map
179
+ //# sourceMappingURL=breakpoints-observer-9d296976.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"breakpoints-observer-9d296976.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-46c76129e412/bin/src/cdk/layout/media-matcher.ts","../../../../../darwin_arm64-fastbuild-ST-46c76129e412/bin/src/cdk/layout/breakpoints-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 {Injectable, CSP_NONCE, inject} from '@angular/core';\nimport {Platform} from '../platform';\n\n/** Global registry for all dynamically-created, injected media queries. */\nconst mediaQueriesForWebkitCompatibility: Set<string> = new Set<string>();\n\n/** Style tag that holds all of the dynamically-created media queries. */\nlet mediaQueryStyleNode: HTMLStyleElement | undefined;\n\n/** A utility for calling matchMedia queries. */\n@Injectable({providedIn: 'root'})\nexport class MediaMatcher {\n private _platform = inject(Platform);\n private _nonce = inject(CSP_NONCE, {optional: true});\n\n /** The internal matchMedia method to return back a MediaQueryList like object. */\n private _matchMedia: (query: string) => MediaQueryList;\n\n constructor(...args: unknown[]);\n\n constructor() {\n this._matchMedia =\n this._platform.isBrowser && window.matchMedia\n ? // matchMedia is bound to the window scope intentionally as it is an illegal invocation to\n // call it from a different scope.\n window.matchMedia.bind(window)\n : noopMatchMedia;\n }\n\n /**\n * Evaluates the given media query and returns the native MediaQueryList from which results\n * can be retrieved.\n * Confirms the layout engine will trigger for the selector query provided and returns the\n * MediaQueryList for the query provided.\n */\n matchMedia(query: string): MediaQueryList {\n if (this._platform.WEBKIT || this._platform.BLINK) {\n createEmptyStyleRule(query, this._nonce);\n }\n return this._matchMedia(query);\n }\n}\n\n/**\n * Creates an empty stylesheet that is used to work around browser inconsistencies related to\n * `matchMedia`. At the time of writing, it handles the following cases:\n * 1. On WebKit browsers, a media query has to have at least one rule in order for `matchMedia`\n * to fire. We work around it by declaring a dummy stylesheet with a `@media` declaration.\n * 2. In some cases Blink browsers will stop firing the `matchMedia` listener if none of the rules\n * inside the `@media` match existing elements on the page. We work around it by having one rule\n * targeting the `body`. See https://github.com/angular/components/issues/23546.\n */\nfunction createEmptyStyleRule(query: string, nonce: string | undefined | null) {\n if (mediaQueriesForWebkitCompatibility.has(query)) {\n return;\n }\n\n try {\n if (!mediaQueryStyleNode) {\n mediaQueryStyleNode = document.createElement('style');\n\n if (nonce) {\n mediaQueryStyleNode.setAttribute('nonce', nonce);\n }\n\n mediaQueryStyleNode.setAttribute('type', 'text/css');\n document.head!.appendChild(mediaQueryStyleNode);\n }\n\n if (mediaQueryStyleNode.sheet) {\n mediaQueryStyleNode.sheet.insertRule(`@media ${query} {body{ }}`, 0);\n mediaQueriesForWebkitCompatibility.add(query);\n }\n } catch (e) {\n console.error(e);\n }\n}\n\n/** No-op matchMedia replacement for non-browser platforms. */\nfunction noopMatchMedia(query: string): MediaQueryList {\n // Use `as any` here to avoid adding additional necessary properties for\n // the noop matcher.\n return {\n matches: query === 'all' || query === '',\n media: query,\n addListener: () => {},\n removeListener: () => {},\n } as any;\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {coerceArray} from '../coercion';\nimport {Injectable, NgZone, OnDestroy, inject} from '@angular/core';\nimport {combineLatest, concat, Observable, Observer, Subject} from 'rxjs';\nimport {debounceTime, map, skip, startWith, take, takeUntil} from 'rxjs/operators';\nimport {MediaMatcher} from './media-matcher';\n\n/** The current state of a layout breakpoint. */\nexport interface BreakpointState {\n /** Whether the breakpoint is currently matching. */\n matches: boolean;\n /**\n * A key boolean pair for each query provided to the observe method,\n * with its current matched state.\n */\n breakpoints: {\n [key: string]: boolean;\n };\n}\n\n/** The current state of a layout breakpoint. */\ninterface InternalBreakpointState {\n /** Whether the breakpoint is currently matching. */\n matches: boolean;\n /** The media query being to be matched */\n query: string;\n}\n\ninterface Query {\n observable: Observable<InternalBreakpointState>;\n mql: MediaQueryList;\n}\n\n/** Utility for checking the matching state of `@media` queries. */\n@Injectable({providedIn: 'root'})\nexport class BreakpointObserver implements OnDestroy {\n private _mediaMatcher = inject(MediaMatcher);\n private _zone = inject(NgZone);\n\n /** A map of all media queries currently being listened for. */\n private _queries = new Map<string, Query>();\n /** A subject for all other observables to takeUntil based on. */\n private readonly _destroySubject = new Subject<void>();\n\n constructor(...args: unknown[]);\n constructor() {}\n\n /** Completes the active subject, signalling to all other observables to complete. */\n ngOnDestroy() {\n this._destroySubject.next();\n this._destroySubject.complete();\n }\n\n /**\n * Whether one or more media queries match the current viewport size.\n * @param value One or more media queries to check.\n * @returns Whether any of the media queries match.\n */\n isMatched(value: string | readonly string[]): boolean {\n const queries = splitQueries(coerceArray(value));\n return queries.some(mediaQuery => this._registerQuery(mediaQuery).mql.matches);\n }\n\n /**\n * Gets an observable of results for the given queries that will emit new results for any changes\n * in matching of the given queries.\n * @param value One or more media queries to check.\n * @returns A stream of matches for the given queries.\n */\n observe(value: string | readonly string[]): Observable<BreakpointState> {\n const queries = splitQueries(coerceArray(value));\n const observables = queries.map(query => this._registerQuery(query).observable);\n\n let stateObservable = combineLatest(observables);\n // Emit the first state immediately, and then debounce the subsequent emissions.\n stateObservable = concat(\n stateObservable.pipe(take(1)),\n stateObservable.pipe(skip(1), debounceTime(0)),\n );\n return stateObservable.pipe(\n map(breakpointStates => {\n const response: BreakpointState = {\n matches: false,\n breakpoints: {},\n };\n breakpointStates.forEach(({matches, query}) => {\n response.matches = response.matches || matches;\n response.breakpoints[query] = matches;\n });\n return response;\n }),\n );\n }\n\n /** Registers a specific query to be listened for. */\n private _registerQuery(query: string): Query {\n // Only set up a new MediaQueryList if it is not already being listened for.\n if (this._queries.has(query)) {\n return this._queries.get(query)!;\n }\n\n const mql = this._mediaMatcher.matchMedia(query);\n\n // Create callback for match changes and add it is as a listener.\n const queryObservable = new Observable((observer: Observer<MediaQueryListEvent>) => {\n // Listener callback methods are wrapped to be placed back in ngZone. Callbacks must be placed\n // back into the zone because matchMedia is only included in Zone.js by loading the\n // webapis-media-query.js file alongside the zone.js file. Additionally, some browsers do not\n // have MediaQueryList inherit from EventTarget, which causes inconsistencies in how Zone.js\n // patches it.\n const handler = (e: MediaQueryListEvent): void => this._zone.run(() => observer.next(e));\n mql.addListener(handler);\n\n return () => {\n mql.removeListener(handler);\n };\n }).pipe(\n startWith(mql),\n map(({matches}) => ({query, matches})),\n takeUntil(this._destroySubject),\n );\n\n // Add the MediaQueryList to the set of queries.\n const output = {observable: queryObservable, mql};\n this._queries.set(query, output);\n return output;\n }\n}\n\n/**\n * Split each query string into separate query strings if two queries are provided as comma\n * separated.\n */\nfunction splitQueries(queries: readonly string[]): readonly string[] {\n return queries\n .map(query => query.split(','))\n .reduce((a1, a2) => a1.concat(a2))\n .map(query => query.trim());\n}\n"],"names":[],"mappings":";;;;;;;AAUA;AACA,MAAM,kCAAkC,GAAgB,IAAI,GAAG,EAAU,CAAA;AAEzE;AACA,IAAI,mBAAiD,CAAA;AAErD;MAEa,YAAY,CAAA;AACf,IAAA,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAA;IAC5B,MAAM,GAAG,MAAM,CAAC,SAAS,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,CAAA;;AAG5C,IAAA,WAAW,CAAA;AAInB,IAAA,WAAA,GAAA;AACE,QAAA,IAAI,CAAC,WAAW;AACd,YAAA,IAAI,CAAC,SAAS,CAAC,SAAS,IAAI,MAAM,CAAC,UAAU;AAC3C;;AAEE,oBAAA,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAA;kBAC7B,cAAc,CAAA;KACtB;AAEA;;;;;AAKG;AACH,IAAA,UAAU,CAAC,KAAa,EAAA;AACtB,QAAA,IAAI,IAAI,CAAC,SAAS,CAAC,MAAM,IAAI,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE;AACjD,YAAA,oBAAoB,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,CAAA;SAC1C;AACA,QAAA,OAAO,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAA;KAChC;8GA7BW,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAZ,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA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C,eAAe,CAAC,CAChC,CAAA;;QAGD,MAAM,MAAM,GAAG,EAAC,UAAU,EAAE,eAAe,EAAE,GAAG,EAAC,CAAA;QACjD,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,CAAA;AAChC,QAAA,OAAO,MAAM,CAAA;KACf;8GA3FW,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAlB,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,eAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,cADN,MAAM,EAAA,CAAA,CAAA;;kGAClB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAD9B,UAAU;mBAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAA;;AA+FhC;;;AAGG;AACH,SAAS,YAAY,CAAC,OAA0B,EAAA;AAC9C,IAAA,OAAO,OAAO;SACX,GAAG,CAAC,KAAK,IAAI,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;AAC7B,SAAA,MAAM,CAAC,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;SAChC,GAAG,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC,CAAA;AAC/B;;;;"}
package/fesm2022/cdk.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Version } from '@angular/core';
2
2
 
3
3
  /** Current version of the Angular Component Development Kit. */
4
- const VERSION = new Version('20.0.0-next.4');
4
+ const VERSION = new Version('20.0.0-next.6');
5
5
 
6
6
  export { VERSION };
7
7
  //# sourceMappingURL=cdk.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"cdk.mjs","sources":["../../../../../k8-fastbuild-ST-70f2edae98f4/bin/src/cdk/version.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 {Version} from '@angular/core';\n\n/** Current version of the Angular Component Development Kit. */\nexport const VERSION = new Version('20.0.0-next.4');\n"],"names":[],"mappings":";;AAUA;MACa,OAAO,GAAG,IAAI,OAAO,CAAC,mBAAmB;;;;"}
1
+ {"version":3,"file":"cdk.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-46c76129e412/bin/src/cdk/version.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 {Version} from '@angular/core';\n\n/** Current version of the Angular Component Development Kit. */\nexport const VERSION = new Version('20.0.0-next.6');\n"],"names":[],"mappings":";;AAUA;MACa,OAAO,GAAG,IAAI,OAAO,CAAC,mBAAmB;;;;"}
@@ -98,10 +98,10 @@ class Clipboard {
98
98
  beginCopy(text) {
99
99
  return new PendingCopy(text, this._document);
100
100
  }
101
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.3", ngImport: i0, type: Clipboard, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
102
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.3", ngImport: i0, type: Clipboard, providedIn: 'root' });
101
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: Clipboard, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
102
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: Clipboard, providedIn: 'root' });
103
103
  }
104
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.3", ngImport: i0, type: Clipboard, decorators: [{
104
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: Clipboard, decorators: [{
105
105
  type: Injectable,
106
106
  args: [{ providedIn: 'root' }]
107
107
  }], ctorParameters: () => [] });
@@ -172,10 +172,10 @@ class CdkCopyToClipboard {
172
172
  this._pending.clear();
173
173
  this._destroyed = true;
174
174
  }
175
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.3", ngImport: i0, type: CdkCopyToClipboard, deps: [], target: i0.ɵɵFactoryTarget.Directive });
176
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.3", type: CdkCopyToClipboard, isStandalone: true, selector: "[cdkCopyToClipboard]", inputs: { text: ["cdkCopyToClipboard", "text"], attempts: ["cdkCopyToClipboardAttempts", "attempts"] }, outputs: { copied: "cdkCopyToClipboardCopied" }, host: { listeners: { "click": "copy()" } }, ngImport: i0 });
175
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkCopyToClipboard, deps: [], target: i0.ɵɵFactoryTarget.Directive });
176
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.5", type: CdkCopyToClipboard, isStandalone: true, selector: "[cdkCopyToClipboard]", inputs: { text: ["cdkCopyToClipboard", "text"], attempts: ["cdkCopyToClipboardAttempts", "attempts"] }, outputs: { copied: "cdkCopyToClipboardCopied" }, host: { listeners: { "click": "copy()" } }, ngImport: i0 });
177
177
  }
178
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.3", ngImport: i0, type: CdkCopyToClipboard, decorators: [{
178
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkCopyToClipboard, decorators: [{
179
179
  type: Directive,
180
180
  args: [{
181
181
  selector: '[cdkCopyToClipboard]',
@@ -195,11 +195,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.3",
195
195
  }] } });
196
196
 
197
197
  class ClipboardModule {
198
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.3", ngImport: i0, type: ClipboardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
199
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0-next.3", ngImport: i0, type: ClipboardModule, imports: [CdkCopyToClipboard], exports: [CdkCopyToClipboard] });
200
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0-next.3", ngImport: i0, type: ClipboardModule });
198
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: ClipboardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
199
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0-next.5", ngImport: i0, type: ClipboardModule, imports: [CdkCopyToClipboard], exports: [CdkCopyToClipboard] });
200
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: ClipboardModule });
201
201
  }
202
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.3", ngImport: i0, type: ClipboardModule, decorators: [{
202
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: ClipboardModule, decorators: [{
203
203
  type: NgModule,
204
204
  args: [{
205
205
  imports: [CdkCopyToClipboard],
@@ -1 +1 @@
1
- {"version":3,"file":"clipboard.mjs","sources":["../../../../../../src/cdk/clipboard/pending-copy.ts","../../../../../../src/cdk/clipboard/clipboard.ts","../../../../../../src/cdk/clipboard/copy-to-clipboard.ts","../../../../../../src/cdk/clipboard/clipboard-module.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\n/**\n * A pending copy-to-clipboard operation.\n *\n * The implementation of copying text to the clipboard modifies the DOM and\n * forces a re-layout. This re-layout can take too long if the string is large,\n * causing the execCommand('copy') to happen too long after the user clicked.\n * This results in the browser refusing to copy. This object lets the\n * re-layout happen in a separate tick from copying by providing a copy function\n * that can be called later.\n *\n * Destroy must be called when no longer in use, regardless of whether `copy` is\n * called.\n */\nexport class PendingCopy {\n private _textarea: HTMLTextAreaElement | undefined;\n\n constructor(\n text: string,\n private readonly _document: Document,\n ) {\n const textarea = (this._textarea = this._document.createElement('textarea'));\n const styles = textarea.style;\n\n // Hide the element for display and accessibility. Set a fixed position so the page layout\n // isn't affected. We use `fixed` with `top: 0`, because focus is moved into the textarea\n // for a split second and if it's off-screen, some browsers will attempt to scroll it into view.\n styles.position = 'fixed';\n styles.top = styles.opacity = '0';\n styles.left = '-999em';\n textarea.setAttribute('aria-hidden', 'true');\n textarea.value = text;\n // Making the textarea `readonly` prevents the screen from jumping on iOS Safari (see #25169).\n textarea.readOnly = true;\n // The element needs to be inserted into the fullscreen container, if the page\n // is in fullscreen mode, otherwise the browser won't execute the copy command.\n (this._document.fullscreenElement || this._document.body).appendChild(textarea);\n }\n\n /** Finishes copying the text. */\n copy(): boolean {\n const textarea = this._textarea;\n let successful = false;\n\n try {\n // Older browsers could throw if copy is not supported.\n if (textarea) {\n const currentFocus = this._document.activeElement as HTMLOrSVGElement | null;\n\n textarea.select();\n textarea.setSelectionRange(0, textarea.value.length);\n successful = this._document.execCommand('copy');\n\n if (currentFocus) {\n currentFocus.focus();\n }\n }\n } catch {\n // Discard error.\n // Initial setting of {@code successful} will represent failure here.\n }\n\n return successful;\n }\n\n /** Cleans up DOM changes used to perform the copy operation. */\n destroy() {\n const textarea = this._textarea;\n\n if (textarea) {\n textarea.remove();\n this._textarea = undefined;\n }\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {DOCUMENT} from '@angular/common';\nimport {Injectable, inject} from '@angular/core';\nimport {PendingCopy} from './pending-copy';\n\n/**\n * A service for copying text to the clipboard.\n */\n@Injectable({providedIn: 'root'})\nexport class Clipboard {\n private readonly _document = inject(DOCUMENT);\n\n constructor(...args: unknown[]);\n constructor() {}\n\n /**\n * Copies the provided text into the user's clipboard.\n *\n * @param text The string to copy.\n * @returns Whether the operation was successful.\n */\n copy(text: string): boolean {\n const pendingCopy = this.beginCopy(text);\n const successful = pendingCopy.copy();\n pendingCopy.destroy();\n\n return successful;\n }\n\n /**\n * Prepares a string to be copied later. This is useful for large strings\n * which take too long to successfully render and be copied in the same tick.\n *\n * The caller must call `destroy` on the returned `PendingCopy`.\n *\n * @param text The string to copy.\n * @returns the pending copy operation.\n */\n beginCopy(text: string): PendingCopy {\n return new PendingCopy(text, this._document);\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {\n Directive,\n EventEmitter,\n Input,\n Output,\n NgZone,\n InjectionToken,\n OnDestroy,\n inject,\n} from '@angular/core';\nimport {Clipboard} from './clipboard';\nimport {PendingCopy} from './pending-copy';\n\n/** Object that can be used to configure the default options for `CdkCopyToClipboard`. */\nexport interface CdkCopyToClipboardConfig {\n /** Default number of attempts to make when copying text to the clipboard. */\n attempts?: number;\n}\n\n/** Injection token that can be used to provide the default options to `CdkCopyToClipboard`. */\nexport const CDK_COPY_TO_CLIPBOARD_CONFIG = new InjectionToken<CdkCopyToClipboardConfig>(\n 'CDK_COPY_TO_CLIPBOARD_CONFIG',\n);\n\n/**\n * Provides behavior for a button that when clicked copies content into user's\n * clipboard.\n */\n@Directive({\n selector: '[cdkCopyToClipboard]',\n host: {\n '(click)': 'copy()',\n },\n})\nexport class CdkCopyToClipboard implements OnDestroy {\n private _clipboard = inject(Clipboard);\n private _ngZone = inject(NgZone);\n\n /** Content to be copied. */\n @Input('cdkCopyToClipboard') text: string = '';\n\n /**\n * How many times to attempt to copy the text. This may be necessary for longer text, because\n * the browser needs time to fill an intermediate textarea element and copy the content.\n */\n @Input('cdkCopyToClipboardAttempts') attempts: number = 1;\n\n /**\n * Emits when some text is copied to the clipboard. The\n * emitted value indicates whether copying was successful.\n */\n @Output('cdkCopyToClipboardCopied') readonly copied = new EventEmitter<boolean>();\n\n /** Copies that are currently being attempted. */\n private _pending = new Set<PendingCopy>();\n\n /** Whether the directive has been destroyed. */\n private _destroyed: boolean;\n\n /** Timeout for the current copy attempt. */\n private _currentTimeout: any;\n\n constructor(...args: unknown[]);\n\n constructor() {\n const config = inject(CDK_COPY_TO_CLIPBOARD_CONFIG, {optional: true});\n\n if (config && config.attempts != null) {\n this.attempts = config.attempts;\n }\n }\n\n /** Copies the current text to the clipboard. */\n copy(attempts: number = this.attempts): void {\n if (attempts > 1) {\n let remainingAttempts = attempts;\n const pending = this._clipboard.beginCopy(this.text);\n this._pending.add(pending);\n\n const attempt = () => {\n const successful = pending.copy();\n if (!successful && --remainingAttempts && !this._destroyed) {\n // We use 1 for the timeout since it's more predictable when flushing in unit tests.\n this._currentTimeout = this._ngZone.runOutsideAngular(() => setTimeout(attempt, 1));\n } else {\n this._currentTimeout = null;\n this._pending.delete(pending);\n pending.destroy();\n this.copied.emit(successful);\n }\n };\n attempt();\n } else {\n this.copied.emit(this._clipboard.copy(this.text));\n }\n }\n\n ngOnDestroy() {\n if (this._currentTimeout) {\n clearTimeout(this._currentTimeout);\n }\n\n this._pending.forEach(copy => copy.destroy());\n this._pending.clear();\n this._destroyed = true;\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {NgModule} from '@angular/core';\n\nimport {CdkCopyToClipboard} from './copy-to-clipboard';\n\n@Ng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EAAA,UAAA,CAAA,EAAA,EAAA,OAAA,EAAA,EAAA,MAAA,EAAA,0BAAA,EAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,OAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;kGAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAN9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,sBAAsB;AAChC,oBAAA,IAAI,EAAE;AACJ,wBAAA,SAAS,EAAE,QAAQ;AACpB,qBAAA;AACF,iBAAA,CAAA;wDAM8B,IAAI,EAAA,CAAA;sBAAhC,KAAK;uBAAC,oBAAoB,CAAA;gBAMU,QAAQ,EAAA,CAAA;sBAA5C,KAAK;uBAAC,4BAA4B,CAAA;gBAMU,MAAM,EAAA,CAAA;sBAAlD,MAAM;uBAAC,0BAA0B,CAAA;;;MC3CvB,eAAe,CAAA;8GAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAf,eAAe,EAAA,OAAA,EAAA,CAHhB,kBAAkB,CAAA,EAAA,OAAA,EAAA,CAClB,kBAAkB,CAAA,EAAA,CAAA,CAAA;+GAEjB,eAAe,EAAA,CAAA,CAAA;;kGAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,kBAAkB,CAAC;oBAC7B,OAAO,EAAE,CAAC,kBAAkB,CAAC;AAC9B,iBAAA,CAAA;;;;;"}
1
+ {"version":3,"file":"clipboard.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-46c76129e412/bin/src/cdk/clipboard/pending-copy.ts","../../../../../darwin_arm64-fastbuild-ST-46c76129e412/bin/src/cdk/clipboard/clipboard.ts","../../../../../darwin_arm64-fastbuild-ST-46c76129e412/bin/src/cdk/clipboard/copy-to-clipboard.ts","../../../../../darwin_arm64-fastbuild-ST-46c76129e412/bin/src/cdk/clipboard/clipboard-module.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\n/**\n * A pending copy-to-clipboard operation.\n *\n * The implementation of copying text to the clipboard modifies the DOM and\n * forces a re-layout. This re-layout can take too long if the string is large,\n * causing the execCommand('copy') to happen too long after the user clicked.\n * This results in the browser refusing to copy. This object lets the\n * re-layout happen in a separate tick from copying by providing a copy function\n * that can be called later.\n *\n * Destroy must be called when no longer in use, regardless of whether `copy` is\n * called.\n */\nexport class PendingCopy {\n private _textarea: HTMLTextAreaElement | undefined;\n\n constructor(\n text: string,\n private readonly _document: Document,\n ) {\n const textarea = (this._textarea = this._document.createElement('textarea'));\n const styles = textarea.style;\n\n // Hide the element for display and accessibility. Set a fixed position so the page layout\n // isn't affected. We use `fixed` with `top: 0`, because focus is moved into the textarea\n // for a split second and if it's off-screen, some browsers will attempt to scroll it into view.\n styles.position = 'fixed';\n styles.top = styles.opacity = '0';\n styles.left = '-999em';\n textarea.setAttribute('aria-hidden', 'true');\n textarea.value = text;\n // Making the textarea `readonly` prevents the screen from jumping on iOS Safari (see #25169).\n textarea.readOnly = true;\n // The element needs to be inserted into the fullscreen container, if the page\n // is in fullscreen mode, otherwise the browser won't execute the copy command.\n (this._document.fullscreenElement || this._document.body).appendChild(textarea);\n }\n\n /** Finishes copying the text. */\n copy(): boolean {\n const textarea = this._textarea;\n let successful = false;\n\n try {\n // Older browsers could throw if copy is not supported.\n if (textarea) {\n const currentFocus = this._document.activeElement as HTMLOrSVGElement | null;\n\n textarea.select();\n textarea.setSelectionRange(0, textarea.value.length);\n successful = this._document.execCommand('copy');\n\n if (currentFocus) {\n currentFocus.focus();\n }\n }\n } catch {\n // Discard error.\n // Initial setting of {@code successful} will represent failure here.\n }\n\n return successful;\n }\n\n /** Cleans up DOM changes used to perform the copy operation. */\n destroy() {\n const textarea = this._textarea;\n\n if (textarea) {\n textarea.remove();\n this._textarea = undefined;\n }\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {DOCUMENT} from '@angular/common';\nimport {Injectable, inject} from '@angular/core';\nimport {PendingCopy} from './pending-copy';\n\n/**\n * A service for copying text to the clipboard.\n */\n@Injectable({providedIn: 'root'})\nexport class Clipboard {\n private readonly _document = inject(DOCUMENT);\n\n constructor(...args: unknown[]);\n constructor() {}\n\n /**\n * Copies the provided text into the user's clipboard.\n *\n * @param text The string to copy.\n * @returns Whether the operation was successful.\n */\n copy(text: string): boolean {\n const pendingCopy = this.beginCopy(text);\n const successful = pendingCopy.copy();\n pendingCopy.destroy();\n\n return successful;\n }\n\n /**\n * Prepares a string to be copied later. This is useful for large strings\n * which take too long to successfully render and be copied in the same tick.\n *\n * The caller must call `destroy` on the returned `PendingCopy`.\n *\n * @param text The string to copy.\n * @returns the pending copy operation.\n */\n beginCopy(text: string): PendingCopy {\n return new PendingCopy(text, this._document);\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {\n Directive,\n EventEmitter,\n Input,\n Output,\n NgZone,\n InjectionToken,\n OnDestroy,\n inject,\n} from '@angular/core';\nimport {Clipboard} from './clipboard';\nimport {PendingCopy} from './pending-copy';\n\n/** Object that can be used to configure the default options for `CdkCopyToClipboard`. */\nexport interface CdkCopyToClipboardConfig {\n /** Default number of attempts to make when copying text to the clipboard. */\n attempts?: number;\n}\n\n/** Injection token that can be used to provide the default options to `CdkCopyToClipboard`. */\nexport const CDK_COPY_TO_CLIPBOARD_CONFIG = new InjectionToken<CdkCopyToClipboardConfig>(\n 'CDK_COPY_TO_CLIPBOARD_CONFIG',\n);\n\n/**\n * Provides behavior for a button that when clicked copies content into user's\n * clipboard.\n */\n@Directive({\n selector: '[cdkCopyToClipboard]',\n host: {\n '(click)': 'copy()',\n },\n})\nexport class CdkCopyToClipboard implements OnDestroy {\n private _clipboard = inject(Clipboard);\n private _ngZone = inject(NgZone);\n\n /** Content to be copied. */\n @Input('cdkCopyToClipboard') text: string = '';\n\n /**\n * How many times to attempt to copy the text. This may be necessary for longer text, because\n * the browser needs time to fill an intermediate textarea element and copy the content.\n */\n @Input('cdkCopyToClipboardAttempts') attempts: number = 1;\n\n /**\n * Emits when some text is copied to the clipboard. The\n * emitted value indicates whether copying was successful.\n */\n @Output('cdkCopyToClipboardCopied') readonly copied = new EventEmitter<boolean>();\n\n /** Copies that are currently being attempted. */\n private _pending = new Set<PendingCopy>();\n\n /** Whether the directive has been destroyed. */\n private _destroyed: boolean;\n\n /** Timeout for the current copy attempt. */\n private _currentTimeout: any;\n\n constructor(...args: unknown[]);\n\n constructor() {\n const config = inject(CDK_COPY_TO_CLIPBOARD_CONFIG, {optional: true});\n\n if (config && config.attempts != null) {\n this.attempts = config.attempts;\n }\n }\n\n /** Copies the current text to the clipboard. */\n copy(attempts: number = this.attempts): void {\n if (attempts > 1) {\n let remainingAttempts = attempts;\n const pending = this._clipboard.beginCopy(this.text);\n this._pending.add(pending);\n\n const attempt = () => {\n const successful = pending.copy();\n if (!successful && --remainingAttempts && !this._destroyed) {\n // We use 1 for the timeout since it's more predictable when flushing in unit tests.\n this._currentTimeout = this._ngZone.runOutsideAngular(() => setTimeout(attempt, 1));\n } else {\n this._currentTimeout = null;\n this._pending.delete(pending);\n pending.destroy();\n this.copied.emit(successful);\n }\n };\n attempt();\n } else {\n this.copied.emit(this._clipboard.copy(this.text));\n }\n }\n\n ngOnDestroy() {\n if (this._currentTimeout) {\n clearTimeout(this._currentTimeout);\n }\n\n this._pending.forEach(copy => copy.destroy());\n this._pending.clear();\n this._destroyed = true;\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {NgModule} from '@angular/core';\n\nimport {CdkCopyToClipboard} from './copy-to-clipboard';\n\n@NgModule({\n imports: [CdkCopyToClipboard],\n exports: [CdkCopyToClipboard],\n})\nexport class ClipboardModule {}\n"],"names":[],"mappings":";;;;AAQA;;;;;;;;;;;;AAYG;MACU,WAAW,CAAA;AAKH,IAAA,SAAA,CAAA;AAJX,IAAA,SAAS,CAAA;IAEjB,WACE,CAAA,IAAY,EACK,SAAmB,EAAA;QAAnB,IAAS,CAAA,SAAA,GAAT,SAAS,CAAA;AAE1B,QAAA,MAAM,QAAQ,IAAI,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,CAAA;AAC5E,QAAA,MAAM,MAAM,GAAG,QAAQ,CAAC,KAAK,CAAA;;;;AAK7B,QAAA,MAAM,CAAC,QAAQ,GAAG,OAAO,CAAA;QACzB,MAAM,CAAC,GAAG,GAAG,MAAM,CAAC,OAAO,GAAG,GAAG,CAAA;AACjC,QAAA,MAAM,CAAC,IAAI,GAAG,QAAQ,CAAA;AACtB,QAAA,QAAQ,CAAC,YAAY,CAAC,aAAa,EAAE,MAAM,CAAC,CAAA;AAC5C,QAAA,QAAQ,CAAC,KAAK,GAAG,IAAI,CAAA;;AAErB,QAAA,QAAQ,CAAC,QAAQ,GAAG,IAAI,CAAA;;;AAGxB,QAAA,CAAC,IAAI,CAAC,SAAS,CAAC,iBAAiB,IAAI,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAA;KACjF;;IAGA,IAAI,GAAA;AACF,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAA;QAC/B,IAAI,UAAU,GAAG,KAAK,CAAA;AAEtB,QAAA,IAAI;;YAEF,IAAI,QAAQ,EAAE;AACZ,gBAAA,M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from '../observable-97c0792c.mjs';
1
+ export { c as coerceObservable } from '../observable-36bb5527.mjs';
2
2
  import 'rxjs';
3
3
  //# sourceMappingURL=private.mjs.map
@@ -1,6 +1,6 @@
1
- export { _ as _isNumberValue, c as coerceElement, a as coerceNumberProperty } from './element-08c51fcd.mjs';
2
- export { c as coerceArray } from './array-88e1bec3.mjs';
3
- export { c as coerceCssPixelValue } from './css-pixel-value-447bbfe8.mjs';
1
+ export { _ as _isNumberValue, c as coerceElement, a as coerceNumberProperty } from './element-bed495ef.mjs';
2
+ export { c as coerceArray } from './array-88204b72.mjs';
3
+ export { c as coerceCssPixelValue } from './css-pixel-value-5ab12b77.mjs';
4
4
  import '@angular/core';
5
5
 
6
6
  /** Coerces a data-bound value (typically a string) to a boolean. */
@@ -1 +1 @@
1
- {"version":3,"file":"coercion.mjs","sources":["../../../../../k8-fastbuild-ST-70f2edae98f4/bin/src/cdk/coercion/boolean-property.ts","../../../../../k8-fastbuild-ST-70f2edae98f4/bin/src/cdk/coercion/string-array.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\n/**\n * Type describing the allowed values for a boolean input.\n * @docs-private\n */\nexport type BooleanInput = string | boolean | null | undefined;\n\n/** Coerces a data-bound value (typically a string) to a boolean. */\nexport function coerceBooleanProperty(value: any): boolean {\n return value != null && `${value}` !== 'false';\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\n/**\n * Coerces a value to an array of trimmed non-empty strings.\n * Any input that is not an array, `null` or `undefined` will be turned into a string\n * via `toString()` and subsequently split with the given separator.\n * `null` and `undefined` will result in an empty array.\n * This results in the following outcomes:\n * - `null` -&gt; `[]`\n * - `[null]` -&gt; `[\"null\"]`\n * - `[\"a\", \"b \", \" \"]` -&gt; `[\"a\", \"b\"]`\n * - `[1, [2, 3]]` -&gt; `[\"1\", \"2,3\"]`\n * - `[{ a: 0 }]` -&gt; `[\"[object Object]\"]`\n * - `{ a: 0 }` -&gt; `[\"[object\", \"Object]\"]`\n *\n * Useful for defining CSS classes or table columns.\n * @param value the value to coerce into an array of strings\n * @param separator split-separator if value isn't an array\n */\nexport function coerceStringArray(value: any, separator: string | RegExp = /\\s+/): string[] {\n const result = [];\n\n if (value != null) {\n const sourceValues = Array.isArray(value) ? value : `${value}`.split(separator);\n for (const sourceValue of sourceValues) {\n const trimmedString = `${sourceValue}`.trim();\n if (trimmedString) {\n result.push(trimmedString);\n }\n }\n }\n\n return result;\n}\n"],"names":[],"mappings":";;;;;AAcA;AACM,SAAU,qBAAqB,CAAC,KAAU,EAAA;IAC9C,OAAO,KAAK,IAAI,IAAI,IAAI,GAAG,KAAK,CAAA,CAAE,KAAK,OAAO,CAAA;AAChD;;ACTA;;;;;;;;;;;;;;;;AAgBG;SACa,iBAAiB,CAAC,KAAU,EAAE,YAA6B,KAAK,EAAA;IAC9E,MAAM,MAAM,GAAG,EAAE,CAAA;AAEjB,IAAA,IAAI,KAAK,IAAI,IAAI,EAAE;QACjB,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,KAAK,GAAG,CAAA,EAAG,KAAK,CAAA,CAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAAA;AAC/E,QAAA,KAAK,MAAM,WAAW,IAAI,YAAY,EAAE;YACtC,MAAM,aAAa,GAAG,CAAG,EAAA,WAAW,EAAE,CAAC,IAAI,EAAE,CAAA;YAC7C,IAAI,aAAa,EAAE;AACjB,gBAAA,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;aAC5B;SACF;KACF;AAEA,IAAA,OAAO,MAAM,CAAA;AACf;;;;"}
1
+ {"version":3,"file":"coercion.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-46c76129e412/bin/src/cdk/coercion/boolean-property.ts","../../../../../darwin_arm64-fastbuild-ST-46c76129e412/bin/src/cdk/coercion/string-array.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\n/**\n * Type describing the allowed values for a boolean input.\n * @docs-private\n */\nexport type BooleanInput = string | boolean | null | undefined;\n\n/** Coerces a data-bound value (typically a string) to a boolean. */\nexport function coerceBooleanProperty(value: any): boolean {\n return value != null && `${value}` !== 'false';\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\n/**\n * Coerces a value to an array of trimmed non-empty strings.\n * Any input that is not an array, `null` or `undefined` will be turned into a string\n * via `toString()` and subsequently split with the given separator.\n * `null` and `undefined` will result in an empty array.\n * This results in the following outcomes:\n * - `null` -&gt; `[]`\n * - `[null]` -&gt; `[\"null\"]`\n * - `[\"a\", \"b \", \" \"]` -&gt; `[\"a\", \"b\"]`\n * - `[1, [2, 3]]` -&gt; `[\"1\", \"2,3\"]`\n * - `[{ a: 0 }]` -&gt; `[\"[object Object]\"]`\n * - `{ a: 0 }` -&gt; `[\"[object\", \"Object]\"]`\n *\n * Useful for defining CSS classes or table columns.\n * @param value the value to coerce into an array of strings\n * @param separator split-separator if value isn't an array\n */\nexport function coerceStringArray(value: any, separator: string | RegExp = /\\s+/): string[] {\n const result = [];\n\n if (value != null) {\n const sourceValues = Array.isArray(value) ? value : `${value}`.split(separator);\n for (const sourceValue of sourceValues) {\n const trimmedString = `${sourceValue}`.trim();\n if (trimmedString) {\n result.push(trimmedString);\n }\n }\n }\n\n return result;\n}\n"],"names":[],"mappings":";;;;;AAcA;AACM,SAAU,qBAAqB,CAAC,KAAU,EAAA;IAC9C,OAAO,KAAK,IAAI,IAAI,IAAI,GAAG,KAAK,CAAA,CAAE,KAAK,OAAO,CAAA;AAChD;;ACTA;;;;;;;;;;;;;;;;AAgBG;SACa,iBAAiB,CAAC,KAAU,EAAE,YAA6B,KAAK,EAAA;IAC9E,MAAM,MAAM,GAAG,EAAE,CAAA;AAEjB,IAAA,IAAI,KAAK,IAAI,IAAI,EAAE;QACjB,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,KAAK,GAAG,CAAA,EAAG,KAAK,CAAA,CAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAAA;AAC/E,QAAA,KAAK,MAAM,WAAW,IAAI,YAAY,EAAE;YACtC,MAAM,aAAa,GAAG,CAAG,EAAA,WAAW,EAAE,CAAC,IAAI,EAAE,CAAA;YAC7C,IAAI,aAAa,EAAE;AACjB,gBAAA,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;aAC5B;SACF;KACF;AAEA,IAAA,OAAO,MAAM,CAAA;AACf;;;;"}
@@ -1,8 +1,8 @@
1
- export { U as UniqueSelectionDispatcher } from './unique-selection-dispatcher-d0d5176e.mjs';
2
- export { A as ArrayDataSource, _ as _RecycleViewRepeaterStrategy, b as _VIEW_REPEATER_STRATEGY, a as _ViewRepeaterOperation } from './recycle-view-repeater-strategy-c1712813.mjs';
3
- export { D as DataSource, i as isDataSource } from './data-source-5320b6fd.mjs';
4
- export { _ as _DisposeViewRepeaterStrategy } from './dispose-view-repeater-strategy-b11b87ea.mjs';
5
- export { S as SelectionModel, g as getMultipleValuesInSingleSelectionError } from './selection-model-30243dba.mjs';
1
+ export { U as UniqueSelectionDispatcher } from './unique-selection-dispatcher-95d71775.mjs';
2
+ export { A as ArrayDataSource, _ as _RecycleViewRepeaterStrategy, b as _VIEW_REPEATER_STRATEGY, a as _ViewRepeaterOperation } from './recycle-view-repeater-strategy-7fe34ce5.mjs';
3
+ export { D as DataSource, i as isDataSource } from './data-source-a3a3a257.mjs';
4
+ export { _ as _DisposeViewRepeaterStrategy } from './dispose-view-repeater-strategy-0bf96031.mjs';
5
+ export { S as SelectionModel, g as getMultipleValuesInSingleSelectionError } from './selection-model-7800ff2c.mjs';
6
6
  import '@angular/core';
7
7
  import 'rxjs';
8
8
  //# sourceMappingURL=collections.mjs.map
@@ -7,4 +7,4 @@ function coerceCssPixelValue(value) {
7
7
  }
8
8
 
9
9
  export { coerceCssPixelValue as c };
10
- //# sourceMappingURL=css-pixel-value-447bbfe8.mjs.map
10
+ //# sourceMappingURL=css-pixel-value-5ab12b77.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"css-pixel-value-5ab12b77.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-46c76129e412/bin/src/cdk/coercion/css-pixel-value.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\n/** Coerces a value to a CSS pixel value. */\nexport function coerceCssPixelValue(value: any): string {\n if (value == null) {\n return '';\n }\n\n return typeof value === 'string' ? value : `${value}px`;\n}\n"],"names":[],"mappings":"AAQA;AACM,SAAU,mBAAmB,CAAC,KAAU,EAAA;AAC5C,IAAA,IAAI,KAAK,IAAI,IAAI,EAAE;AACjB,QAAA,OAAO,EAAE,CAAA;KACX;AAEA,IAAA,OAAO,OAAO,KAAK,KAAK,QAAQ,GAAG,KAAK,GAAG,CAAG,EAAA,KAAK,IAAI,CAAA;AACzD;;;;"}
@@ -12,4 +12,4 @@ function isDataSource(value) {
12
12
  }
13
13
 
14
14
  export { DataSource as D, isDataSource as i };
15
- //# sourceMappingURL=data-source-5320b6fd.mjs.map
15
+ //# sourceMappingURL=data-source-a3a3a257.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-source-a3a3a257.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-46c76129e412/bin/src/cdk/collections/data-source.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 {ConnectableObservable, Observable} from 'rxjs';\nimport {CollectionViewer} from './collection-viewer';\n\nexport abstract class DataSource<T> {\n /**\n * Connects a collection viewer (such as a data-table) to this data source. Note that\n * the stream provided will be accessed during change detection and should not directly change\n * values that are bound in template views.\n * @param collectionViewer The component that exposes a view over the data provided by this\n * data source.\n * @returns Observable that emits a new value when the data changes.\n */\n abstract connect(collectionViewer: CollectionViewer): Observable<readonly T[]>;\n\n /**\n * Disconnects a collection viewer (such as a data-table) from this data source. Can be used\n * to perform any clean-up or tear-down operations when a view is being destroyed.\n *\n * @param collectionViewer The component that exposes a view over the data provided by this\n * data source.\n */\n abstract disconnect(collectionViewer: CollectionViewer): void;\n}\n\n/** Checks whether an object is a data source. */\nexport function isDataSource(value: any): value is DataSource<any> {\n // Check if the value is a DataSource by observing if it has a connect function. Cannot\n // be checked as an `instanceof DataSource` since people could create their own sources\n // that match the interface, but don't extend DataSource. We also can't use `isObservable`\n // here, because of some internal apps.\n return value && typeof value.connect === 'function' && !(value instanceof ConnectableObservable);\n}\n"],"names":[],"mappings":";;MAWsB,UAAU,CAAA;AAmB/B,CAAA;AAED;AACM,SAAU,YAAY,CAAC,KAAU,EAAA;;;;;AAKrC,IAAA,OAAO,KAAK,IAAI,OAAO,KAAK,CAAC,OAAO,KAAK,UAAU,IAAI,EAAE,KAAK,YAAY,qBAAqB,CAAC,CAAA;AAClG;;;;"}
@@ -1,35 +1,34 @@
1
1
  import { DOCUMENT } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
3
  import { inject, ElementRef, NgZone, Renderer2, ChangeDetectorRef, Injector, afterNextRender, Component, ViewEncapsulation, ChangeDetectionStrategy, ViewChild, InjectionToken, TemplateRef, Injectable, NgModule } from '@angular/core';
4
- import { B as BasePortalOutlet, C as CdkPortalOutlet, a as ComponentPortal, T as TemplatePortal, P as PortalModule } from './portal-directives-9cd98881.mjs';
5
- export { b as ɵɵCdkPortal, C as ɵɵCdkPortalOutlet, d as ɵɵPortalHostDirective, c as ɵɵTemplatePortalDirective } from './portal-directives-9cd98881.mjs';
6
- import { b as FocusTrapFactory, I as InteractivityChecker, A as A11yModule } from './a11y-module-b228dc71.mjs';
7
- import { O as OverlayRef, a as Overlay, b as OverlayContainer, c as OverlayConfig, d as OverlayModule } from './overlay-module-6e7b742f.mjs';
8
- import { d as FocusMonitor } from './focus-monitor-69f9c0f9.mjs';
9
- import { P as Platform } from './platform-2be6a529.mjs';
10
- import { b as _getFocusedElementPierceShadowDom } from './shadow-dom-9f403d00.mjs';
4
+ import { B as BasePortalOutlet, C as CdkPortalOutlet, a as ComponentPortal, T as TemplatePortal, P as PortalModule } from './portal-directives-4da94e82.mjs';
5
+ export { b as ɵɵCdkPortal, C as ɵɵCdkPortalOutlet, d as ɵɵPortalHostDirective, c as ɵɵTemplatePortalDirective } from './portal-directives-4da94e82.mjs';
6
+ import { b as FocusTrapFactory, I as InteractivityChecker, A as A11yModule } from './a11y-module-3f18e5c2.mjs';
7
+ import { O as OverlayRef, a as Overlay, b as OverlayContainer, c as OverlayConfig, d as OverlayModule } from './overlay-module-a2bddb9f.mjs';
8
+ import { d as FocusMonitor } from './focus-monitor-4af46fa6.mjs';
9
+ import { P as Platform } from './platform-3b280dd2.mjs';
10
+ import { b as _getFocusedElementPierceShadowDom } from './shadow-dom-09da63d7.mjs';
11
11
  import { Subject, defer, of } from 'rxjs';
12
- import { e as ESCAPE } from './keycodes-107cd3e4.mjs';
13
- import { h as hasModifierKey } from './modifiers-33a5859e.mjs';
12
+ import { e as ESCAPE } from './keycodes-fbdb6e67.mjs';
13
+ import { h as hasModifierKey } from './modifiers-68a3bc3a.mjs';
14
14
  import { startWith } from 'rxjs/operators';
15
- import { _ as _IdGenerator } from './id-generator-ec45a122.mjs';
16
- import { D as Directionality } from './directionality-ea6ab987.mjs';
17
- import './style-loader-9fc0a4d2.mjs';
18
- import './visually-hidden-a6df546a.mjs';
19
- import './breakpoints-observer-9432a91b.mjs';
20
- import './array-88e1bec3.mjs';
21
- import './observe-content-459e1d12.mjs';
22
- import './element-08c51fcd.mjs';
23
- import './backwards-compatibility-bcbe473e.mjs';
24
- import './test-environment-34eef1ee.mjs';
25
- import './css-pixel-value-447bbfe8.mjs';
26
- import './scrolling-module-72941c9f.mjs';
27
- import './scrolling-61955dd1.mjs';
28
- import './recycle-view-repeater-strategy-c1712813.mjs';
29
- import './data-source-5320b6fd.mjs';
30
- import './bidi-module-e73b8776.mjs';
31
- import './fake-event-detection-7055b1bd.mjs';
32
- import './passive-listeners-c0bdc49f.mjs';
15
+ import { _ as _IdGenerator } from './id-generator-dd03740e.mjs';
16
+ import { D as Directionality } from './directionality-25132624.mjs';
17
+ import './style-loader-f70e1cd6.mjs';
18
+ import './visually-hidden-912d0ccc.mjs';
19
+ import './breakpoints-observer-9d296976.mjs';
20
+ import './array-88204b72.mjs';
21
+ import './observe-content-85983868.mjs';
22
+ import './element-bed495ef.mjs';
23
+ import './test-environment-75e095b5.mjs';
24
+ import './css-pixel-value-5ab12b77.mjs';
25
+ import './scrolling-module-2ed090a6.mjs';
26
+ import './scrolling-4b9e82b7.mjs';
27
+ import './recycle-view-repeater-strategy-7fe34ce5.mjs';
28
+ import './data-source-a3a3a257.mjs';
29
+ import './bidi-module-93941905.mjs';
30
+ import './fake-event-detection-61bf2988.mjs';
31
+ import './passive-listeners-1189a3bc.mjs';
33
32
 
34
33
  /** Configuration for opening a modal dialog. */
35
34
  class DialogConfig {
@@ -416,10 +415,10 @@ class CdkDialogContainer extends BasePortalOutlet {
416
415
  }
417
416
  });
418
417
  }
419
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.3", ngImport: i0, type: CdkDialogContainer, deps: [], target: i0.ɵɵFactoryTarget.Component });
420
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.0-next.3", type: CdkDialogContainer, isStandalone: true, selector: "cdk-dialog-container", host: { attributes: { "tabindex": "-1" }, properties: { "attr.id": "_config.id || null", "attr.role": "_config.role", "attr.aria-modal": "_config.ariaModal", "attr.aria-labelledby": "_config.ariaLabel ? null : _ariaLabelledByQueue[0]", "attr.aria-label": "_config.ariaLabel", "attr.aria-describedby": "_config.ariaDescribedBy || null" }, classAttribute: "cdk-dialog-container" }, viewQueries: [{ propertyName: "_portalOutlet", first: true, predicate: CdkPortalOutlet, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-template cdkPortalOutlet />\n", styles: [".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"], dependencies: [{ kind: "directive", type: CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
418
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkDialogContainer, deps: [], target: i0.ɵɵFactoryTarget.Component });
419
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.0-next.5", type: CdkDialogContainer, isStandalone: true, selector: "cdk-dialog-container", host: { attributes: { "tabindex": "-1" }, properties: { "attr.id": "_config.id || null", "attr.role": "_config.role", "attr.aria-modal": "_config.ariaModal", "attr.aria-labelledby": "_config.ariaLabel ? null : _ariaLabelledByQueue[0]", "attr.aria-label": "_config.ariaLabel", "attr.aria-describedby": "_config.ariaDescribedBy || null" }, classAttribute: "cdk-dialog-container" }, viewQueries: [{ propertyName: "_portalOutlet", first: true, predicate: CdkPortalOutlet, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-template cdkPortalOutlet />\n", styles: [".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"], dependencies: [{ kind: "directive", type: CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
421
420
  }
422
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.3", ngImport: i0, type: CdkDialogContainer, decorators: [{
421
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkDialogContainer, decorators: [{
423
422
  type: Component,
424
423
  args: [{ selector: 'cdk-dialog-container', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, imports: [CdkPortalOutlet], host: {
425
424
  'class': 'cdk-dialog-container',
@@ -803,10 +802,10 @@ class Dialog {
803
802
  const parent = this._parentDialog;
804
803
  return parent ? parent._getAfterAllClosed() : this._afterAllClosedAtThisLevel;
805
804
  }
806
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.3", ngImport: i0, type: Dialog, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
807
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.3", ngImport: i0, type: Dialog, providedIn: 'root' });
805
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: Dialog, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
806
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: Dialog, providedIn: 'root' });
808
807
  }
809
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.3", ngImport: i0, type: Dialog, decorators: [{
808
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: Dialog, decorators: [{
810
809
  type: Injectable,
811
810
  args: [{ providedIn: 'root' }]
812
811
  }], ctorParameters: () => [] });
@@ -822,18 +821,18 @@ function reverseForEach(items, callback) {
822
821
  }
823
822
 
824
823
  class DialogModule {
825
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.3", ngImport: i0, type: DialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
826
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0-next.3", ngImport: i0, type: DialogModule, imports: [OverlayModule, PortalModule, A11yModule, CdkDialogContainer], exports: [
824
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: DialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
825
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0-next.5", ngImport: i0, type: DialogModule, imports: [OverlayModule, PortalModule, A11yModule, CdkDialogContainer], exports: [
827
826
  // Re-export the PortalModule so that people extending the `CdkDialogContainer`
828
827
  // don't have to remember to import it or be faced with an unhelpful error.
829
828
  PortalModule,
830
829
  CdkDialogContainer] });
831
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0-next.3", ngImport: i0, type: DialogModule, providers: [Dialog], imports: [OverlayModule, PortalModule, A11yModule,
830
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: DialogModule, providers: [Dialog], imports: [OverlayModule, PortalModule, A11yModule,
832
831
  // Re-export the PortalModule so that people extending the `CdkDialogContainer`
833
832
  // don't have to remember to import it or be faced with an unhelpful error.
834
833
  PortalModule] });
835
834
  }
836
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.3", ngImport: i0, type: DialogModule, decorators: [{
835
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: DialogModule, decorators: [{
837
836
  type: NgModule,
838
837
  args: [{
839
838
  imports: [OverlayModule, PortalModule, A11yModule, CdkDialogContainer],