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

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 (202) hide show
  1. package/a11y/index.d.ts +10 -11
  2. package/{a11y-module.d-9e4162d8.d.ts → a11y-module.d-DrV0SO0k.d.ts} +4 -4
  3. package/a11y-prebuilt.css +1 -1
  4. package/accordion/index.d.ts +2 -2
  5. package/{activedescendant-key-manager.d-8f004111.d.ts → activedescendant-key-manager.d-DSYvyoT0.d.ts} +3 -3
  6. package/bidi/index.d.ts +1 -1
  7. package/{bidi-module.d-e02fd94c.d.ts → bidi-module.d-bsVYOt0R.d.ts} +2 -2
  8. package/clipboard/index.d.ts +1 -1
  9. package/coercion/index.d.ts +1 -1
  10. package/collections/index.d.ts +8 -8
  11. package/{data-source.d-7eda4d9a.d.ts → data-source.d-DAIyaEMO.d.ts} +2 -2
  12. package/dialog/index.d.ts +16 -16
  13. package/drag-drop/index.d.ts +10 -6
  14. package/fesm2022/{a11y-module-3f18e5c2.mjs → a11y-module-CEBjqXuv.mjs} +10 -11
  15. package/fesm2022/a11y-module-CEBjqXuv.mjs.map +1 -0
  16. package/fesm2022/a11y.mjs +26 -26
  17. package/fesm2022/a11y.mjs.map +1 -1
  18. package/fesm2022/accordion.mjs +3 -3
  19. package/fesm2022/accordion.mjs.map +1 -1
  20. package/fesm2022/{activedescendant-key-manager-ca3e95bd.mjs → activedescendant-key-manager-BYiHZAZc.mjs} +3 -3
  21. package/fesm2022/activedescendant-key-manager-BYiHZAZc.mjs.map +1 -0
  22. package/fesm2022/{array-88204b72.mjs → array-Hg8isvLj.mjs} +2 -2
  23. package/fesm2022/array-Hg8isvLj.mjs.map +1 -0
  24. package/fesm2022/bidi.mjs +77 -4
  25. package/fesm2022/bidi.mjs.map +1 -1
  26. package/fesm2022/{breakpoints-observer-9d296976.mjs → breakpoints-observer-CsCzbYlX.mjs} +4 -4
  27. package/fesm2022/breakpoints-observer-CsCzbYlX.mjs.map +1 -0
  28. package/fesm2022/cdk.mjs +1 -1
  29. package/fesm2022/cdk.mjs.map +1 -1
  30. package/fesm2022/clipboard.mjs +1 -2
  31. package/fesm2022/clipboard.mjs.map +1 -1
  32. package/fesm2022/coercion/private.mjs +14 -2
  33. package/fesm2022/coercion/private.mjs.map +1 -1
  34. package/fesm2022/coercion.mjs +3 -3
  35. package/fesm2022/coercion.mjs.map +1 -1
  36. package/fesm2022/collections.mjs +5 -5
  37. package/fesm2022/{css-pixel-value-5ab12b77.mjs → css-pixel-value-C1yoKJ7R.mjs} +2 -2
  38. package/fesm2022/css-pixel-value-C1yoKJ7R.mjs.map +1 -0
  39. package/fesm2022/{data-source-a3a3a257.mjs → data-source-CL6Fasig.mjs} +2 -2
  40. package/fesm2022/data-source-CL6Fasig.mjs.map +1 -0
  41. package/fesm2022/dialog.mjs +55 -41
  42. package/fesm2022/dialog.mjs.map +1 -1
  43. package/fesm2022/{directionality-25132624.mjs → directionality-kM9GX3mp.mjs} +3 -4
  44. package/fesm2022/directionality-kM9GX3mp.mjs.map +1 -0
  45. package/fesm2022/{dispose-view-repeater-strategy-0bf96031.mjs → dispose-view-repeater-strategy-BLw1RSwm.mjs} +3 -3
  46. package/fesm2022/dispose-view-repeater-strategy-BLw1RSwm.mjs.map +1 -0
  47. package/fesm2022/drag-drop.mjs +70 -18
  48. package/fesm2022/drag-drop.mjs.map +1 -1
  49. package/fesm2022/{element-bed495ef.mjs → element-CpqV8p-X.mjs} +2 -2
  50. package/fesm2022/element-CpqV8p-X.mjs.map +1 -0
  51. package/fesm2022/{fake-event-detection-61bf2988.mjs → fake-event-detection-D0_6qVp2.mjs} +2 -2
  52. package/fesm2022/fake-event-detection-D0_6qVp2.mjs.map +1 -0
  53. package/fesm2022/{focus-key-manager-f4cf48e1.mjs → focus-key-manager-DgyxYbV2.mjs} +3 -3
  54. package/fesm2022/focus-key-manager-DgyxYbV2.mjs.map +1 -0
  55. package/fesm2022/{focus-monitor-4af46fa6.mjs → focus-monitor-jX8r4DY-.mjs} +9 -10
  56. package/fesm2022/focus-monitor-jX8r4DY-.mjs.map +1 -0
  57. package/fesm2022/{id-generator-dd03740e.mjs → id-generator-B33AfkWd.mjs} +2 -2
  58. package/fesm2022/id-generator-B33AfkWd.mjs.map +1 -0
  59. package/fesm2022/{keycodes-fbdb6e67.mjs → keycodes-DPWmI2Ix.mjs} +2 -2
  60. package/fesm2022/keycodes-DPWmI2Ix.mjs.map +1 -0
  61. package/fesm2022/keycodes.mjs +14 -2
  62. package/fesm2022/keycodes.mjs.map +1 -1
  63. package/fesm2022/layout.mjs +3 -3
  64. package/fesm2022/layout.mjs.map +1 -1
  65. package/fesm2022/{list-key-manager-0ce9d5be.mjs → list-key-manager-CYBoL_nN.mjs} +5 -5
  66. package/fesm2022/list-key-manager-CYBoL_nN.mjs.map +1 -0
  67. package/fesm2022/listbox.mjs +11 -11
  68. package/fesm2022/listbox.mjs.map +1 -1
  69. package/fesm2022/menu.mjs +26 -26
  70. package/fesm2022/menu.mjs.map +1 -1
  71. package/fesm2022/observers/private.mjs.map +1 -1
  72. package/fesm2022/observers.mjs +209 -5
  73. package/fesm2022/observers.mjs.map +1 -1
  74. package/fesm2022/{overlay-module-a2bddb9f.mjs → overlay-module-BcjSxQND.mjs} +104 -90
  75. package/fesm2022/overlay-module-BcjSxQND.mjs.map +1 -0
  76. package/fesm2022/overlay.mjs +20 -20
  77. package/fesm2022/overlay.mjs.map +1 -1
  78. package/fesm2022/{passive-listeners-1189a3bc.mjs → passive-listeners-ZmZRMx8D.mjs} +2 -2
  79. package/fesm2022/passive-listeners-ZmZRMx8D.mjs.map +1 -0
  80. package/fesm2022/{platform-3b280dd2.mjs → platform-BInyKIh1.mjs} +2 -2
  81. package/fesm2022/platform-BInyKIh1.mjs.map +1 -0
  82. package/fesm2022/platform.mjs +5 -5
  83. package/fesm2022/platform.mjs.map +1 -1
  84. package/fesm2022/portal.mjs +613 -3
  85. package/fesm2022/portal.mjs.map +1 -1
  86. package/fesm2022/private.mjs +18 -3
  87. package/fesm2022/private.mjs.map +1 -1
  88. package/fesm2022/{recycle-view-repeater-strategy-7fe34ce5.mjs → recycle-view-repeater-strategy-Ce0p4WhD.mjs} +4 -4
  89. package/fesm2022/recycle-view-repeater-strategy-Ce0p4WhD.mjs.map +1 -0
  90. package/fesm2022/{scrolling-4b9e82b7.mjs → scrolling-BXVcIfjZ.mjs} +2 -2
  91. package/fesm2022/scrolling-BXVcIfjZ.mjs.map +1 -0
  92. package/fesm2022/scrolling.mjs +1462 -11
  93. package/fesm2022/scrolling.mjs.map +1 -1
  94. package/fesm2022/{selection-model-7800ff2c.mjs → selection-model-88BErm4w.mjs} +2 -2
  95. package/fesm2022/selection-model-88BErm4w.mjs.map +1 -0
  96. package/fesm2022/{shadow-dom-09da63d7.mjs → shadow-dom-DFvX9W95.mjs} +2 -2
  97. package/fesm2022/shadow-dom-DFvX9W95.mjs.map +1 -0
  98. package/fesm2022/stepper.mjs +10 -11
  99. package/fesm2022/stepper.mjs.map +1 -1
  100. package/fesm2022/{style-loader-f70e1cd6.mjs → style-loader-DpEDdstc.mjs} +2 -2
  101. package/fesm2022/style-loader-DpEDdstc.mjs.map +1 -0
  102. package/fesm2022/table.mjs +14 -14
  103. package/fesm2022/table.mjs.map +1 -1
  104. package/fesm2022/{test-environment-75e095b5.mjs → test-environment-BgaaXvCA.mjs} +2 -2
  105. package/fesm2022/test-environment-BgaaXvCA.mjs.map +1 -0
  106. package/fesm2022/testing/selenium-webdriver.mjs +1 -1
  107. package/fesm2022/testing/selenium-webdriver.mjs.map +1 -1
  108. package/fesm2022/testing/testbed.mjs +2 -2
  109. package/fesm2022/testing/testbed.mjs.map +1 -1
  110. package/fesm2022/testing.mjs +697 -2
  111. package/fesm2022/testing.mjs.map +1 -1
  112. package/fesm2022/text-field.mjs +7 -7
  113. package/fesm2022/text-field.mjs.map +1 -1
  114. package/fesm2022/{tree-key-manager-fb779925.mjs → tree-key-manager-DIhQ-v4R.mjs} +5 -5
  115. package/fesm2022/tree-key-manager-DIhQ-v4R.mjs.map +1 -0
  116. package/fesm2022/tree.mjs +8 -9
  117. package/fesm2022/tree.mjs.map +1 -1
  118. package/fesm2022/{typeahead-5b1c5e41.mjs → typeahead-BAa3HZoh.mjs} +3 -3
  119. package/fesm2022/typeahead-BAa3HZoh.mjs.map +1 -0
  120. package/fesm2022/{unique-selection-dispatcher-95d71775.mjs → unique-selection-dispatcher-SqPM2COI.mjs} +2 -2
  121. package/fesm2022/unique-selection-dispatcher-SqPM2COI.mjs.map +1 -0
  122. package/{focus-key-manager.d-808a8cfc.d.ts → focus-key-manager.d-DCiEwxN7.d.ts} +4 -4
  123. package/{focus-monitor.d-463f4526.d.ts → focus-monitor.d-BBkiOKUH.d.ts} +2 -2
  124. package/{harness-environment.d-ccca6bee.d.ts → harness-environment.d-ByFLvxZh.d.ts} +2 -2
  125. package/{list-key-manager.d-6b8e8454.d.ts → list-key-manager.d-CylnKWfo.d.ts} +2 -2
  126. package/listbox/index.d.ts +3 -3
  127. package/menu/index.d.ts +12 -12
  128. package/{number-property.d-1067cb21.d.ts → number-property.d-BzBQchZ2.d.ts} +2 -2
  129. package/observers/index.d.ts +84 -4
  130. package/overlay/_index.scss +4 -1
  131. package/overlay/index.d.ts +76 -80
  132. package/{overlay-module.d-bb9fd227.d.ts → overlay-module.d-CXZs2tcX.d.ts} +15 -9
  133. package/overlay-prebuilt.css +1 -1
  134. package/package.json +1 -1
  135. package/platform/index.d.ts +1 -1
  136. package/{platform.d-54a48c5c.d.ts → platform.d-cnFZCLss.d.ts} +1 -1
  137. package/portal/index.d.ts +3 -3
  138. package/{portal-directives.d-7048496c.d.ts → portal-directives.d-D9c4J36c.d.ts} +2 -2
  139. package/private/index.d.ts +1 -1
  140. package/schematics/ng-add/index.js +1 -1
  141. package/schematics/utils/project-targets.js +11 -5
  142. package/schematics/utils/project-targets.js.map +1 -1
  143. package/scrolling/index.d.ts +62 -7
  144. package/{scrolling-module.d-a309d6c8.d.ts → scrolling-module.d-CuNwYGVM.d.ts} +6 -6
  145. package/{selection-model.d-8f93f170.d.ts → selection-model.d-CHuTS0tw.d.ts} +2 -2
  146. package/stepper/index.d.ts +5 -5
  147. package/{style-loader.d-a4916e34.d.ts → style-loader.d-DbvWk0ty.d.ts} +1 -1
  148. package/table/index.d.ts +6 -7
  149. package/testing/index.d.ts +1 -1
  150. package/testing/selenium-webdriver/index.d.ts +1 -1
  151. package/testing/testbed/index.d.ts +1 -1
  152. package/text-field/index.d.ts +1 -1
  153. package/text-field-prebuilt.css +1 -1
  154. package/tree/index.d.ts +4 -4
  155. package/{tree-key-manager-strategy.d-e1a4bb7c.d.ts → tree-key-manager-strategy.d-DipnXoCr.d.ts} +1 -1
  156. package/{unique-selection-dispatcher.d-49e3cd5f.d.ts → unique-selection-dispatcher.d-BgWACqWn.d.ts} +2 -2
  157. package/{view-repeater.d-bf5e36f0.d.ts → view-repeater.d-CJ9e48MX.d.ts} +3 -3
  158. package/fesm2022/a11y-module-3f18e5c2.mjs.map +0 -1
  159. package/fesm2022/activedescendant-key-manager-ca3e95bd.mjs.map +0 -1
  160. package/fesm2022/array-88204b72.mjs.map +0 -1
  161. package/fesm2022/bidi-module-93941905.mjs +0 -77
  162. package/fesm2022/bidi-module-93941905.mjs.map +0 -1
  163. package/fesm2022/breakpoints-observer-9d296976.mjs.map +0 -1
  164. package/fesm2022/css-pixel-value-5ab12b77.mjs.map +0 -1
  165. package/fesm2022/data-source-a3a3a257.mjs.map +0 -1
  166. package/fesm2022/directionality-25132624.mjs.map +0 -1
  167. package/fesm2022/dispose-view-repeater-strategy-0bf96031.mjs.map +0 -1
  168. package/fesm2022/element-bed495ef.mjs.map +0 -1
  169. package/fesm2022/fake-event-detection-61bf2988.mjs.map +0 -1
  170. package/fesm2022/focus-key-manager-f4cf48e1.mjs.map +0 -1
  171. package/fesm2022/focus-monitor-4af46fa6.mjs.map +0 -1
  172. package/fesm2022/id-generator-dd03740e.mjs.map +0 -1
  173. package/fesm2022/keycodes-fbdb6e67.mjs.map +0 -1
  174. package/fesm2022/list-key-manager-0ce9d5be.mjs.map +0 -1
  175. package/fesm2022/modifiers-68a3bc3a.mjs +0 -13
  176. package/fesm2022/modifiers-68a3bc3a.mjs.map +0 -1
  177. package/fesm2022/observable-36bb5527.mjs +0 -15
  178. package/fesm2022/observable-36bb5527.mjs.map +0 -1
  179. package/fesm2022/observe-content-85983868.mjs +0 -210
  180. package/fesm2022/observe-content-85983868.mjs.map +0 -1
  181. package/fesm2022/overlay-module-a2bddb9f.mjs.map +0 -1
  182. package/fesm2022/passive-listeners-1189a3bc.mjs.map +0 -1
  183. package/fesm2022/platform-3b280dd2.mjs.map +0 -1
  184. package/fesm2022/portal-directives-4da94e82.mjs +0 -615
  185. package/fesm2022/portal-directives-4da94e82.mjs.map +0 -1
  186. package/fesm2022/recycle-view-repeater-strategy-7fe34ce5.mjs.map +0 -1
  187. package/fesm2022/scrolling-4b9e82b7.mjs.map +0 -1
  188. package/fesm2022/scrolling-module-2ed090a6.mjs +0 -1463
  189. package/fesm2022/scrolling-module-2ed090a6.mjs.map +0 -1
  190. package/fesm2022/selection-model-7800ff2c.mjs.map +0 -1
  191. package/fesm2022/shadow-dom-09da63d7.mjs.map +0 -1
  192. package/fesm2022/style-loader-f70e1cd6.mjs.map +0 -1
  193. package/fesm2022/test-environment-75e095b5.mjs.map +0 -1
  194. package/fesm2022/text-filtering-682c2e05.mjs +0 -698
  195. package/fesm2022/text-filtering-682c2e05.mjs.map +0 -1
  196. package/fesm2022/tree-key-manager-fb779925.mjs.map +0 -1
  197. package/fesm2022/typeahead-5b1c5e41.mjs.map +0 -1
  198. package/fesm2022/unique-selection-dispatcher-95d71775.mjs.map +0 -1
  199. package/fesm2022/visually-hidden-912d0ccc.mjs +0 -18
  200. package/fesm2022/visually-hidden-912d0ccc.mjs.map +0 -1
  201. package/observe-content.d-406532a1.d.ts +0 -84
  202. package/viewport-ruler.d-5b507354.d.ts +0 -58
@@ -1,6 +1,6 @@
1
1
  import { Subject } from 'rxjs';
2
2
  import { tap, debounceTime, filter, map } from 'rxjs/operators';
3
- import { c as A, Z, d as ZERO, N as NINE } from './keycodes-fbdb6e67.mjs';
3
+ import { A, Z, ZERO, NINE } from './keycodes-DPWmI2Ix.mjs';
4
4
 
5
5
  const DEFAULT_TYPEAHEAD_DEBOUNCE_INTERVAL_MS = 200;
6
6
  /**
@@ -84,5 +84,5 @@ class Typeahead {
84
84
  }
85
85
  }
86
86
 
87
- export { Typeahead as T };
88
- //# sourceMappingURL=typeahead-5b1c5e41.mjs.map
87
+ export { Typeahead };
88
+ //# sourceMappingURL=typeahead-BAa3HZoh.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typeahead-BAa3HZoh.mjs","sources":["../../../../../k8-fastbuild-ST-46c76129e412/bin/src/cdk/a11y/key-manager/typeahead.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 {A, NINE, Z, ZERO} from '../../keycodes';\nimport {Subject, Observable} from 'rxjs';\nimport {debounceTime, filter, map, tap} from 'rxjs/operators';\n\nconst DEFAULT_TYPEAHEAD_DEBOUNCE_INTERVAL_MS = 200;\n\ninterface TypeaheadItem {\n getLabel?(): string;\n}\n\ninterface TypeaheadConfig<T> {\n debounceInterval?: number;\n skipPredicate?: (item: T) => boolean | undefined;\n}\n\n/**\n * Selects items based on keyboard inputs. Implements the typeahead functionality of\n * `role=\"listbox\"` or `role=\"tree\"` and other related roles.\n */\nexport class Typeahead<T extends TypeaheadItem> {\n private readonly _letterKeyStream = new Subject<string>();\n private _items: readonly T[] = [];\n private _selectedItemIndex = -1;\n\n /** Buffer for the letters that the user has pressed */\n private _pressedLetters: string[] = [];\n\n private _skipPredicateFn?: (item: T) => boolean | undefined;\n\n private readonly _selectedItem = new Subject<T>();\n readonly selectedItem: Observable<T> = this._selectedItem;\n\n constructor(initialItems: readonly T[], config?: TypeaheadConfig<T>) {\n const typeAheadInterval =\n typeof config?.debounceInterval === 'number'\n ? config.debounceInterval\n : DEFAULT_TYPEAHEAD_DEBOUNCE_INTERVAL_MS;\n\n if (config?.skipPredicate) {\n this._skipPredicateFn = config.skipPredicate;\n }\n\n if (\n (typeof ngDevMode === 'undefined' || ngDevMode) &&\n initialItems.length &&\n initialItems.some(item => typeof item.getLabel !== 'function')\n ) {\n throw new Error('KeyManager items in typeahead mode must implement the `getLabel` method.');\n }\n\n this.setItems(initialItems);\n this._setupKeyHandler(typeAheadInterval);\n }\n\n destroy() {\n this._pressedLetters = [];\n this._letterKeyStream.complete();\n this._selectedItem.complete();\n }\n\n setCurrentSelectedItemIndex(index: number) {\n this._selectedItemIndex = index;\n }\n\n setItems(items: readonly T[]) {\n this._items = items;\n }\n\n handleKey(event: KeyboardEvent): void {\n const keyCode = event.keyCode;\n\n // Attempt to use the `event.key` which also maps it to the user's keyboard language,\n // otherwise fall back to resolving alphanumeric characters via the keyCode.\n if (event.key && event.key.length === 1) {\n this._letterKeyStream.next(event.key.toLocaleUpperCase());\n } else if ((keyCode >= A && keyCode <= Z) || (keyCode >= ZERO && keyCode <= NINE)) {\n this._letterKeyStream.next(String.fromCharCode(keyCode));\n }\n }\n\n /** Gets whether the user is currently typing into the manager using the typeahead feature. */\n isTyping(): boolean {\n return this._pressedLetters.length > 0;\n }\n\n /** Resets the currently stored sequence of typed letters. */\n reset(): void {\n this._pressedLetters = [];\n }\n\n private _setupKeyHandler(typeAheadInterval: number) {\n // Debounce the presses of non-navigational keys, collect the ones that correspond to letters\n // and convert those letters back into a string. Afterwards find the first item that starts\n // with that string and select it.\n this._letterKeyStream\n .pipe(\n tap(letter => this._pressedLetters.push(letter)),\n debounceTime(typeAheadInterval),\n filter(() => this._pressedLetters.length > 0),\n map(() => this._pressedLetters.join('').toLocaleUpperCase()),\n )\n .subscribe(inputString => {\n // Start at 1 because we want to start searching at the item immediately\n // following the current active item.\n for (let i = 1; i < this._items.length + 1; i++) {\n const index = (this._selectedItemIndex + i) % this._items.length;\n const item = this._items[index];\n\n if (\n !this._skipPredicateFn?.(item) &&\n item.getLabel?.().toLocaleUpperCase().trim().indexOf(inputString) === 0\n ) {\n this._selectedItem.next(item);\n break;\n }\n }\n\n this._pressedLetters = [];\n });\n }\n}\n"],"names":[],"mappings":"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"}
@@ -45,5 +45,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
45
45
  args: [{ providedIn: 'root' }]
46
46
  }] });
47
47
 
48
- export { UniqueSelectionDispatcher as U };
49
- //# sourceMappingURL=unique-selection-dispatcher-95d71775.mjs.map
48
+ export { UniqueSelectionDispatcher };
49
+ //# sourceMappingURL=unique-selection-dispatcher-SqPM2COI.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unique-selection-dispatcher-SqPM2COI.mjs","sources":["../../../../../k8-fastbuild-ST-46c76129e412/bin/src/cdk/collections/unique-selection-dispatcher.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 {Injectable, OnDestroy} from '@angular/core';\n\n// Users of the Dispatcher never need to see this type, but TypeScript requires it to be exported.\nexport type UniqueSelectionDispatcherListener = (id: string, name: string) => void;\n\n/**\n * Class to coordinate unique selection based on name.\n * Intended to be consumed as an Angular service.\n * This service is needed because native radio change events are only fired on the item currently\n * being selected, and we still need to uncheck the previous selection.\n *\n * This service does not *store* any IDs and names because they may change at any time, so it is\n * less error-prone if they are simply passed through when the events occur.\n */\n@Injectable({providedIn: 'root'})\nexport class UniqueSelectionDispatcher implements OnDestroy {\n private _listeners: UniqueSelectionDispatcherListener[] = [];\n\n /**\n * Notify other items that selection for the given name has been set.\n * @param id ID of the item.\n * @param name Name of the item.\n */\n notify(id: string, name: string) {\n for (let listener of this._listeners) {\n listener(id, name);\n }\n }\n\n /**\n * Listen for future changes to item selection.\n * @return Function used to deregister listener\n */\n listen(listener: UniqueSelectionDispatcherListener): () => void {\n this._listeners.push(listener);\n return () => {\n this._listeners = this._listeners.filter((registered: UniqueSelectionDispatcherListener) => {\n return listener !== registered;\n });\n };\n }\n\n ngOnDestroy() {\n this._listeners = [];\n }\n}\n"],"names":[],"mappings":";;;AAaA;;;;;;;;AAQG;MAEU,yBAAyB,CAAA;IAC5B,UAAU,GAAwC,EAAE;AAE5D;;;;AAIG;IACH,MAAM,CAAC,EAAU,EAAE,IAAY,EAAA;AAC7B,QAAA,KAAK,IAAI,QAAQ,IAAI,IAAI,CAAC,UAAU,EAAE;AACpC,YAAA,QAAQ,CAAC,EAAE,EAAE,IAAI,CAAC;;;AAItB;;;AAGG;AACH,IAAA,MAAM,CAAC,QAA2C,EAAA;AAChD,QAAA,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC;AAC9B,QAAA,OAAO,MAAK;AACV,YAAA,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,UAA6C,KAAI;gBACzF,OAAO,QAAQ,KAAK,UAAU;AAChC,aAAC,CAAC;AACJ,SAAC;;IAGH,WAAW,GAAA;AACT,QAAA,IAAI,CAAC,UAAU,GAAG,EAAE;;8GA5BX,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAAzB,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,eAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,yBAAyB,cADb,MAAM,EAAA,CAAA;;kGAClB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBADrC,UAAU;mBAAC,EAAC,UAAU,EAAE,MAAM,EAAC;;;;;"}
@@ -1,5 +1,5 @@
1
- import { L as ListKeyManagerOption, b as ListKeyManager } from './list-key-manager.d-6b8e8454.js';
2
- import { F as FocusOrigin } from './focus-monitor.d-463f4526.js';
1
+ import { ListKeyManagerOption, ListKeyManager } from './list-key-manager.d-CylnKWfo.js';
2
+ import { FocusOrigin } from './focus-monitor.d-BBkiOKUH.js';
3
3
 
4
4
  /**
5
5
  * This is the interface for focusable items (used by the FocusKeyManager).
@@ -30,5 +30,5 @@ declare class FocusKeyManager<T> extends ListKeyManager<FocusableOption & T> {
30
30
  setActiveItem(item: T): void;
31
31
  }
32
32
 
33
- export { FocusKeyManager as a };
34
- export type { FocusableOption as F };
33
+ export { FocusKeyManager };
34
+ export type { FocusableOption };
@@ -206,5 +206,5 @@ declare class CdkMonitorFocus implements AfterViewInit, OnDestroy {
206
206
  static ɵdir: i0.ɵɵDirectiveDeclaration<CdkMonitorFocus, "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]", ["cdkMonitorFocus"], {}, { "cdkFocusChange": "cdkFocusChange"; }, never, never, true, never>;
207
207
  }
208
208
 
209
- export { CdkMonitorFocus as C, FocusMonitorDetectionMode as b, FOCUS_MONITOR_DEFAULT_OPTIONS as d, FocusMonitor as e };
210
- export type { FocusOrigin as F, FocusOptions as a, FocusMonitorOptions as c };
209
+ export { CdkMonitorFocus, FOCUS_MONITOR_DEFAULT_OPTIONS, FocusMonitor, FocusMonitorDetectionMode };
210
+ export type { FocusMonitorOptions, FocusOptions, FocusOrigin };
@@ -616,5 +616,5 @@ declare abstract class HarnessEnvironment<E> implements HarnessLoader, LocatorFa
616
616
  private _getQueryResultForElement;
617
617
  }
618
618
 
619
- export { ComponentHarness as C, TestKey as T, ContentContainerComponentHarness as e, HarnessPredicate as g, HarnessEnvironment as h };
620
- export type { AsyncFactoryFn as A, BaseHarnessFilters as B, EventData as E, HarnessQuery as H, LocatorFnResult as L, ModifierKeys as M, AsyncPredicate as a, AsyncOptionPredicate as b, HarnessLoader as c, LocatorFactory as d, ComponentHarnessConstructor as f, TestElement as i, TextOptions as j, ElementDimensions as k };
619
+ export { ComponentHarness, ContentContainerComponentHarness, HarnessEnvironment, HarnessPredicate, TestKey };
620
+ export type { AsyncFactoryFn, AsyncOptionPredicate, AsyncPredicate, BaseHarnessFilters, ComponentHarnessConstructor, ElementDimensions, EventData, HarnessLoader, HarnessQuery, LocatorFactory, LocatorFnResult, ModifierKeys, TestElement, TextOptions };
@@ -161,5 +161,5 @@ declare class ListKeyManager<T extends ListKeyManagerOption> {
161
161
  private _itemsChanged;
162
162
  }
163
163
 
164
- export { ListKeyManager as b };
165
- export type { ListKeyManagerOption as L, ListKeyManagerModifierKey as a };
164
+ export { ListKeyManager };
165
+ export type { ListKeyManagerModifierKey, ListKeyManagerOption };
@@ -1,9 +1,9 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { OnDestroy, AfterContentInit, QueryList, NgZone, ChangeDetectorRef } from '@angular/core';
3
- import { H as Highlightable, A as ActiveDescendantKeyManager } from '../activedescendant-key-manager.d-8f004111.js';
4
- import { L as ListKeyManagerOption } from '../list-key-manager.d-6b8e8454.js';
3
+ import { Highlightable, ActiveDescendantKeyManager } from '../activedescendant-key-manager.d-DSYvyoT0.js';
4
+ import { ListKeyManagerOption } from '../list-key-manager.d-CylnKWfo.js';
5
5
  import { Subject } from 'rxjs';
6
- import { S as SelectionModel } from '../selection-model.d-8f93f170.js';
6
+ import { SelectionModel } from '../selection-model.d-CHuTS0tw.js';
7
7
  import { ControlValueAccessor } from '@angular/forms';
8
8
 
9
9
  /**
package/menu/index.d.ts CHANGED
@@ -1,20 +1,20 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { ElementRef, Renderer2, QueryList, InjectionToken, Optional, OnDestroy, Injector, ViewContainerRef, EventEmitter, TemplateRef, OnChanges, SimpleChanges, NgZone, AfterContentInit } from '@angular/core';
3
- import { S as ScrollStrategy, C as ConnectedPosition, O as OverlayRef, a as OverlayModule } from '../overlay-module.d-bb9fd227.js';
3
+ import { ScrollStrategy, ConnectedPosition, OverlayRef, OverlayModule } from '../overlay-module.d-CXZs2tcX.js';
4
4
  import * as rxjs from 'rxjs';
5
5
  import { Observable, Subject } from 'rxjs';
6
- import { F as FocusOrigin } from '../focus-monitor.d-463f4526.js';
7
- import { F as FocusableOption, a as FocusKeyManager } from '../focus-key-manager.d-808a8cfc.js';
8
- import { D as Directionality } from '../bidi-module.d-e02fd94c.js';
9
- import { T as TemplatePortal } from '../portal-directives.d-7048496c.js';
10
- import '../scrolling-module.d-a309d6c8.js';
11
- import '../data-source.d-7eda4d9a.js';
12
- import '../number-property.d-1067cb21.js';
6
+ import { FocusOrigin } from '../focus-monitor.d-BBkiOKUH.js';
7
+ import { FocusableOption, FocusKeyManager } from '../focus-key-manager.d-DCiEwxN7.js';
8
+ import { Directionality } from '../bidi-module.d-bsVYOt0R.js';
9
+ import { TemplatePortal } from '../portal-directives.d-D9c4J36c.js';
10
+ import '../scrolling-module.d-CuNwYGVM.js';
11
+ import '../data-source.d-DAIyaEMO.js';
12
+ import '../number-property.d-BzBQchZ2.js';
13
13
  import '@angular/common';
14
- import '../viewport-ruler.d-5b507354.js';
15
- import '../platform.d-54a48c5c.js';
16
- import '../style-loader.d-a4916e34.js';
17
- import '../list-key-manager.d-6b8e8454.js';
14
+ import '../scrolling/index.js';
15
+ import '../platform.d-cnFZCLss.js';
16
+ import '../style-loader.d-DbvWk0ty.js';
17
+ import '../list-key-manager.d-CylnKWfo.js';
18
18
 
19
19
  /** Item to track for mouse focus events. */
20
20
  interface FocusableElement {
@@ -12,5 +12,5 @@ declare function coerceNumberProperty<D>(value: any, fallback: D): number | D;
12
12
  */
13
13
  declare function _isNumberValue(value: any): boolean;
14
14
 
15
- export { _isNumberValue as _, coerceNumberProperty as c };
16
- export type { NumberInput as N };
15
+ export { _isNumberValue, coerceNumberProperty };
16
+ export type { NumberInput };
@@ -1,4 +1,84 @@
1
- export { a as CdkObserveContent, C as ContentObserver, M as MutationObserverFactory, O as ObserversModule } from '../observe-content.d-406532a1.js';
2
- import '../number-property.d-1067cb21.js';
3
- import '@angular/core';
4
- import 'rxjs';
1
+ import { NumberInput } from '../number-property.d-BzBQchZ2.js';
2
+ import * as i0 from '@angular/core';
3
+ import { AfterContentInit, OnDestroy, EventEmitter, ElementRef } from '@angular/core';
4
+ import { Observable } from 'rxjs';
5
+
6
+ /**
7
+ * Factory that creates a new MutationObserver and allows us to stub it out in unit tests.
8
+ * @docs-private
9
+ */
10
+ declare class MutationObserverFactory {
11
+ create(callback: MutationCallback): MutationObserver | null;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<MutationObserverFactory, never>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<MutationObserverFactory>;
14
+ }
15
+ /** An injectable service that allows watching elements for changes to their content. */
16
+ declare class ContentObserver implements OnDestroy {
17
+ private _mutationObserverFactory;
18
+ /** Keeps track of the existing MutationObservers so they can be reused. */
19
+ private _observedElements;
20
+ private _ngZone;
21
+ constructor(...args: unknown[]);
22
+ ngOnDestroy(): void;
23
+ /**
24
+ * Observe content changes on an element.
25
+ * @param element The element to observe for content changes.
26
+ */
27
+ observe(element: Element): Observable<MutationRecord[]>;
28
+ /**
29
+ * Observe content changes on an element.
30
+ * @param element The element to observe for content changes.
31
+ */
32
+ observe(element: ElementRef<Element>): Observable<MutationRecord[]>;
33
+ /**
34
+ * Observes the given element by using the existing MutationObserver if available, or creating a
35
+ * new one if not.
36
+ */
37
+ private _observeElement;
38
+ /**
39
+ * Un-observes the given element and cleans up the underlying MutationObserver if nobody else is
40
+ * observing this element.
41
+ */
42
+ private _unobserveElement;
43
+ /** Clean up the underlying MutationObserver for the specified element. */
44
+ private _cleanupObserver;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContentObserver, never>;
46
+ static ɵprov: i0.ɵɵInjectableDeclaration<ContentObserver>;
47
+ }
48
+ /**
49
+ * Directive that triggers a callback whenever the content of
50
+ * its associated element has changed.
51
+ */
52
+ declare class CdkObserveContent implements AfterContentInit, OnDestroy {
53
+ private _contentObserver;
54
+ private _elementRef;
55
+ /** Event emitted for each change in the element's content. */
56
+ readonly event: EventEmitter<MutationRecord[]>;
57
+ /**
58
+ * Whether observing content is disabled. This option can be used
59
+ * to disconnect the underlying MutationObserver until it is needed.
60
+ */
61
+ get disabled(): boolean;
62
+ set disabled(value: boolean);
63
+ private _disabled;
64
+ /** Debounce interval for emitting the changes. */
65
+ get debounce(): number;
66
+ set debounce(value: NumberInput);
67
+ private _debounce;
68
+ private _currentSubscription;
69
+ constructor(...args: unknown[]);
70
+ ngAfterContentInit(): void;
71
+ ngOnDestroy(): void;
72
+ private _subscribe;
73
+ private _unsubscribe;
74
+ static ɵfac: i0.ɵɵFactoryDeclaration<CdkObserveContent, never>;
75
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkObserveContent, "[cdkObserveContent]", ["cdkObserveContent"], { "disabled": { "alias": "cdkObserveContentDisabled"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; }, { "event": "cdkObserveContent"; }, never, never, true, never>;
76
+ static ngAcceptInputType_disabled: unknown;
77
+ }
78
+ declare class ObserversModule {
79
+ static ɵfac: i0.ɵɵFactoryDeclaration<ObserversModule, never>;
80
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ObserversModule, never, [typeof CdkObserveContent], [typeof CdkObserveContent]>;
81
+ static ɵinj: i0.ɵɵInjectorDeclaration<ObserversModule>;
82
+ }
83
+
84
+ export { CdkObserveContent, ContentObserver, MutationObserverFactory, ObserversModule };
@@ -85,7 +85,6 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
85
85
  }
86
86
 
87
87
  .cdk-overlay-backdrop {
88
- // TODO(jelbourn): reuse sidenav fullscreen mixin.
89
88
  position: absolute;
90
89
  top: 0;
91
90
  bottom: 0;
@@ -100,6 +99,10 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
100
99
  z-index: $overlay-backdrop-z-index;
101
100
  transition: opacity $backdrop-animation-duration $backdrop-animation-timing-function;
102
101
  }
102
+
103
+ @media (prefers-reduced-motion) {
104
+ transition-duration: 1ms;
105
+ }
103
106
  }
104
107
 
105
108
  .cdk-overlay-backdrop-showing {
@@ -1,20 +1,60 @@
1
- import { S as ScrollStrategy, O as OverlayRef, P as PositionStrategy, F as FlexibleConnectedPositionStrategyOrigin, b as FlexibleConnectedPositionStrategy, c as OverlayConfig, d as OverlayContainer } from '../overlay-module.d-bb9fd227.js';
2
- export { f as CdkConnectedOverlay, e as CdkOverlayOrigin, n as ConnectedOverlayPositionChange, C as ConnectedPosition, l as ConnectionPositionPair, b as FlexibleConnectedPositionStrategy, F as FlexibleConnectedPositionStrategyOrigin, H as HorizontalConnectionPos, j as OriginConnectionPosition, c as OverlayConfig, k as OverlayConnectionPosition, d as OverlayContainer, q as OverlayKeyboardDispatcher, a as OverlayModule, p as OverlayOutsideClickDispatcher, O as OverlayRef, g as OverlaySizeConfig, P as PositionStrategy, h as STANDARD_DROPDOWN_ADJACENT_POSITIONS, i as STANDARD_DROPDOWN_BELOW_POSITIONS, S as ScrollStrategy, m as ScrollingVisibility, V as VerticalConnectionPos, o as validateHorizontalPosition, v as validateVerticalPosition } from '../overlay-module.d-bb9fd227.js';
3
- import { b as ScrollDispatcher } from '../scrolling-module.d-a309d6c8.js';
4
- export { C as CdkScrollable, b as ScrollDispatcher, c as ɵɵCdkFixedSizeVirtualScroll, a as ɵɵCdkScrollableModule, d as ɵɵCdkVirtualForOf, e as ɵɵCdkVirtualScrollViewport, g as ɵɵCdkVirtualScrollableElement, f as ɵɵCdkVirtualScrollableWindow } from '../scrolling-module.d-a309d6c8.js';
5
- import { V as ViewportRuler } from '../viewport-ruler.d-5b507354.js';
6
- export { V as ViewportRuler } from '../viewport-ruler.d-5b507354.js';
1
+ import { ScrollStrategy, OverlayRef, PositionStrategy, FlexibleConnectedPositionStrategyOrigin, FlexibleConnectedPositionStrategy, OverlayConfig, OverlayContainer } from '../overlay-module.d-CXZs2tcX.js';
2
+ export { CdkConnectedOverlay, CdkOverlayOrigin, ConnectedOverlayPositionChange, ConnectedPosition, ConnectionPositionPair, HorizontalConnectionPos, OriginConnectionPosition, OverlayConnectionPosition, OverlayKeyboardDispatcher, OverlayModule, OverlayOutsideClickDispatcher, OverlaySizeConfig, STANDARD_DROPDOWN_ADJACENT_POSITIONS, STANDARD_DROPDOWN_BELOW_POSITIONS, ScrollingVisibility, VerticalConnectionPos, createFlexibleConnectedPositionStrategy, validateHorizontalPosition, validateVerticalPosition } from '../overlay-module.d-CXZs2tcX.js';
3
+ import { ScrollDispatcher } from '../scrolling-module.d-CuNwYGVM.js';
4
+ export { CdkScrollable, CdkFixedSizeVirtualScroll as ɵɵCdkFixedSizeVirtualScroll, CdkScrollableModule as ɵɵCdkScrollableModule, CdkVirtualForOf as ɵɵCdkVirtualForOf, CdkVirtualScrollViewport as ɵɵCdkVirtualScrollViewport, CdkVirtualScrollableElement as ɵɵCdkVirtualScrollableElement, CdkVirtualScrollableWindow as ɵɵCdkVirtualScrollableWindow } from '../scrolling-module.d-CuNwYGVM.js';
5
+ import { ViewportRuler } from '../scrolling/index.js';
7
6
  import * as i0 from '@angular/core';
8
- import { NgZone, OnDestroy } from '@angular/core';
9
- export { b as ComponentType } from '../portal-directives.d-7048496c.js';
10
- export { b as ɵɵDir } from '../bidi-module.d-e02fd94c.js';
7
+ import { NgZone, Injector, OnDestroy } from '@angular/core';
8
+ export { ComponentType } from '../portal-directives.d-D9c4J36c.js';
9
+ export { Dir as ɵɵDir } from '../bidi-module.d-bsVYOt0R.js';
11
10
  import '@angular/common';
12
11
  import 'rxjs';
13
- import '../platform.d-54a48c5c.js';
14
- import '../style-loader.d-a4916e34.js';
15
- import '../data-source.d-7eda4d9a.js';
16
- import '../number-property.d-1067cb21.js';
12
+ import '../platform.d-cnFZCLss.js';
13
+ import '../style-loader.d-DbvWk0ty.js';
14
+ import '../data-source.d-DAIyaEMO.js';
15
+ import '../number-property.d-BzBQchZ2.js';
17
16
 
17
+ /**
18
+ * Config options for the RepositionScrollStrategy.
19
+ */
20
+ interface RepositionScrollStrategyConfig {
21
+ /** Time in milliseconds to throttle the scroll events. */
22
+ scrollThrottle?: number;
23
+ /** Whether to close the overlay once the user has scrolled away completely. */
24
+ autoClose?: boolean;
25
+ }
26
+ /**
27
+ * Creates a scroll strategy that updates the overlay's position when the user scrolls.
28
+ * @param injector Injector used to resolve dependencies of the scroll strategy.
29
+ * @param config Configuration options for the scroll strategy.
30
+ */
31
+ declare function createRepositionScrollStrategy(injector: Injector, config?: RepositionScrollStrategyConfig): RepositionScrollStrategy;
32
+ /**
33
+ * Strategy that will update the element position as the user is scrolling.
34
+ */
35
+ declare class RepositionScrollStrategy implements ScrollStrategy {
36
+ private _scrollDispatcher;
37
+ private _viewportRuler;
38
+ private _ngZone;
39
+ private _config?;
40
+ private _scrollSubscription;
41
+ private _overlayRef;
42
+ constructor(_scrollDispatcher: ScrollDispatcher, _viewportRuler: ViewportRuler, _ngZone: NgZone, _config?: RepositionScrollStrategyConfig | undefined);
43
+ /** Attaches this scroll strategy to an overlay. */
44
+ attach(overlayRef: OverlayRef): void;
45
+ /** Enables repositioning of the attached overlay on scroll. */
46
+ enable(): void;
47
+ /** Disables repositioning of the attached overlay on scroll. */
48
+ disable(): void;
49
+ detach(): void;
50
+ }
51
+
52
+ /**
53
+ * Creates a scroll strategy that prevents the user from scrolling while the overlay is open.
54
+ * @param injector Injector used to resolve dependencies of the scroll strategy.
55
+ * @param config Configuration options for the scroll strategy.
56
+ */
57
+ declare function createBlockScrollStrategy(injector: Injector): BlockScrollStrategy;
18
58
  /**
19
59
  * Strategy that will prevent the user from scrolling while the overlay is visible.
20
60
  */
@@ -41,6 +81,12 @@ interface CloseScrollStrategyConfig {
41
81
  /** Amount of pixels the user has to scroll before the overlay is closed. */
42
82
  threshold?: number;
43
83
  }
84
+ /**
85
+ * Creates a scroll strategy that closes the overlay when the user starts to scroll.
86
+ * @param injector Injector used to resolve dependencies of the scroll strategy.
87
+ * @param config Configuration options for the scroll strategy.
88
+ */
89
+ declare function createCloseScrollStrategy(injector: Injector, config?: CloseScrollStrategyConfig): CloseScrollStrategy;
44
90
  /**
45
91
  * Strategy that will close the overlay as soon as the user starts scrolling.
46
92
  */
@@ -64,6 +110,8 @@ declare class CloseScrollStrategy implements ScrollStrategy {
64
110
  private _detach;
65
111
  }
66
112
 
113
+ /** Creates a scroll strategy that does nothing. */
114
+ declare function createNoopScrollStrategy(): NoopScrollStrategy;
67
115
  /** Scroll strategy that doesn't do anything. */
68
116
  declare class NoopScrollStrategy implements ScrollStrategy {
69
117
  /** Does nothing, as this scroll strategy is a no-op. */
@@ -74,35 +122,6 @@ declare class NoopScrollStrategy implements ScrollStrategy {
74
122
  attach(): void;
75
123
  }
76
124
 
77
- /**
78
- * Config options for the RepositionScrollStrategy.
79
- */
80
- interface RepositionScrollStrategyConfig {
81
- /** Time in milliseconds to throttle the scroll events. */
82
- scrollThrottle?: number;
83
- /** Whether to close the overlay once the user has scrolled away completely. */
84
- autoClose?: boolean;
85
- }
86
- /**
87
- * Strategy that will update the element position as the user is scrolling.
88
- */
89
- declare class RepositionScrollStrategy implements ScrollStrategy {
90
- private _scrollDispatcher;
91
- private _viewportRuler;
92
- private _ngZone;
93
- private _config?;
94
- private _scrollSubscription;
95
- private _overlayRef;
96
- constructor(_scrollDispatcher: ScrollDispatcher, _viewportRuler: ViewportRuler, _ngZone: NgZone, _config?: RepositionScrollStrategyConfig | undefined);
97
- /** Attaches this scroll strategy to an overlay. */
98
- attach(overlayRef: OverlayRef): void;
99
- /** Enables repositioning of the attached overlay on scroll. */
100
- enable(): void;
101
- /** Disables repositioning of the attached overlay on scroll. */
102
- disable(): void;
103
- detach(): void;
104
- }
105
-
106
125
  /**
107
126
  * Options for how an overlay will handle scrolling.
108
127
  *
@@ -110,10 +129,7 @@ declare class RepositionScrollStrategy implements ScrollStrategy {
110
129
  * behaviors. This class primarily acts as a factory for ScrollStrategy instances.
111
130
  */
112
131
  declare class ScrollStrategyOptions {
113
- private _scrollDispatcher;
114
- private _viewportRuler;
115
- private _ngZone;
116
- private _document;
132
+ private _injector;
117
133
  constructor(...args: unknown[]);
118
134
  /** Do nothing on scroll. */
119
135
  noop: () => NoopScrollStrategy;
@@ -134,6 +150,11 @@ declare class ScrollStrategyOptions {
134
150
  static ɵprov: i0.ɵɵInjectableDeclaration<ScrollStrategyOptions>;
135
151
  }
136
152
 
153
+ /**
154
+ * Creates a global position strategy.
155
+ * @param injector Injector used to resolve dependencies for the strategy.
156
+ */
157
+ declare function createGlobalPositionStrategy(_injector: Injector): GlobalPositionStrategy;
137
158
  /**
138
159
  * A strategy for positioning overlays. Using this strategy, an overlay is given an
139
160
  * explicit position relative to the browser's viewport. We use flexbox, instead of
@@ -227,10 +248,7 @@ declare class GlobalPositionStrategy implements PositionStrategy {
227
248
 
228
249
  /** Builder for overlay position strategy. */
229
250
  declare class OverlayPositionBuilder {
230
- private _viewportRuler;
231
- private _document;
232
- private _platform;
233
- private _overlayContainer;
251
+ private _injector;
234
252
  constructor(...args: unknown[]);
235
253
  /**
236
254
  * Creates a global position strategy.
@@ -245,6 +263,13 @@ declare class OverlayPositionBuilder {
245
263
  static ɵprov: i0.ɵɵInjectableDeclaration<OverlayPositionBuilder>;
246
264
  }
247
265
 
266
+ /**
267
+ * Creates an overlay.
268
+ * @param injector Injector to use when resolving the overlay's dependencies.
269
+ * @param config Configuration applied to the overlay.
270
+ * @returns Reference to the created overlay.
271
+ */
272
+ declare function createOverlayRef(injector: Injector, config?: OverlayConfig): OverlayRef;
248
273
  /**
249
274
  * Service to create Overlays. Overlays are dynamically added pieces of floating UI, meant to be
250
275
  * used as a low-level building block for other components. Dialogs, tooltips, menus,
@@ -255,20 +280,8 @@ declare class OverlayPositionBuilder {
255
280
  */
256
281
  declare class Overlay {
257
282
  scrollStrategies: ScrollStrategyOptions;
258
- private _overlayContainer;
259
283
  private _positionBuilder;
260
- private _keyboardDispatcher;
261
284
  private _injector;
262
- private _ngZone;
263
- private _document;
264
- private _directionality;
265
- private _location;
266
- private _outsideClickDispatcher;
267
- private _animationsModuleType;
268
- private _idGenerator;
269
- private _renderer;
270
- private _appRef;
271
- private _styleLoader;
272
285
  constructor(...args: unknown[]);
273
286
  /**
274
287
  * Creates an overlay.
@@ -282,23 +295,6 @@ declare class Overlay {
282
295
  * @returns An overlay position builder.
283
296
  */
284
297
  position(): OverlayPositionBuilder;
285
- /**
286
- * Creates the DOM element for an overlay and appends it to the overlay container.
287
- * @returns Newly-created pane element
288
- */
289
- private _createPaneElement;
290
- /**
291
- * Creates the host element that wraps around an overlay
292
- * and can be used for advanced positioning.
293
- * @returns Newly-create host element.
294
- */
295
- private _createHostElement;
296
- /**
297
- * Create a DomPortalOutlet into which the overlay content can be loaded.
298
- * @param pane The DOM element to turn into a portal outlet.
299
- * @returns A portal outlet for the given DOM element.
300
- */
301
- private _createPortalOutlet;
302
298
  static ɵfac: i0.ɵɵFactoryDeclaration<Overlay, never>;
303
299
  static ɵprov: i0.ɵɵInjectableDeclaration<Overlay>;
304
300
  }
@@ -328,5 +324,5 @@ declare class FullscreenOverlayContainer extends OverlayContainer implements OnD
328
324
  static ɵprov: i0.ɵɵInjectableDeclaration<FullscreenOverlayContainer>;
329
325
  }
330
326
 
331
- export { BlockScrollStrategy, CloseScrollStrategy, FullscreenOverlayContainer, GlobalPositionStrategy, NoopScrollStrategy, Overlay, OverlayPositionBuilder, RepositionScrollStrategy, ScrollStrategyOptions };
327
+ export { BlockScrollStrategy, CloseScrollStrategy, FlexibleConnectedPositionStrategy, FlexibleConnectedPositionStrategyOrigin, FullscreenOverlayContainer, GlobalPositionStrategy, NoopScrollStrategy, Overlay, OverlayConfig, OverlayContainer, OverlayPositionBuilder, OverlayRef, PositionStrategy, RepositionScrollStrategy, ScrollDispatcher, ScrollStrategy, ScrollStrategyOptions, ViewportRuler, createBlockScrollStrategy, createCloseScrollStrategy, createGlobalPositionStrategy, createNoopScrollStrategy, createOverlayRef, createRepositionScrollStrategy };
332
328
  export type { RepositionScrollStrategyConfig };
@@ -1,13 +1,13 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnDestroy, NgZone, EnvironmentInjector, Renderer2, ComponentRef, EmbeddedViewRef, ElementRef, OnChanges, EventEmitter, SimpleChanges } from '@angular/core';
3
- import { a as Direction, D as Directionality, B as BidiModule } from './bidi-module.d-e02fd94c.js';
4
- import { f as PortalOutlet, a as ComponentPortal, T as TemplatePortal, P as PortalModule } from './portal-directives.d-7048496c.js';
5
- import { C as CdkScrollable, S as ScrollingModule } from './scrolling-module.d-a309d6c8.js';
2
+ import { OnDestroy, NgZone, EnvironmentInjector, Renderer2, ComponentRef, EmbeddedViewRef, ElementRef, Injector, OnChanges, EventEmitter, SimpleChanges } from '@angular/core';
3
+ import { Direction, Directionality, BidiModule } from './bidi-module.d-bsVYOt0R.js';
4
+ import { PortalOutlet, ComponentPortal, TemplatePortal, PortalModule } from './portal-directives.d-D9c4J36c.js';
5
+ import { CdkScrollable, ScrollingModule } from './scrolling-module.d-CuNwYGVM.js';
6
6
  import { Location } from '@angular/common';
7
7
  import { Subject, Observable } from 'rxjs';
8
- import { V as ViewportRuler } from './viewport-ruler.d-5b507354.js';
9
- import { P as Platform } from './platform.d-54a48c5c.js';
10
- import { _ as _CdkPrivateStyleLoader } from './style-loader.d-a4916e34.js';
8
+ import { ViewportRuler } from './scrolling/index.js';
9
+ import { Platform } from './platform.d-cnFZCLss.js';
10
+ import { _CdkPrivateStyleLoader } from './style-loader.d-DbvWk0ty.js';
11
11
 
12
12
  /**
13
13
  * Service for dispatching events that land on the body to appropriate overlay ref,
@@ -399,6 +399,12 @@ type FlexibleConnectedPositionStrategyOrigin = ElementRef | Element | (Point & {
399
399
  width?: number;
400
400
  height?: number;
401
401
  });
402
+ /**
403
+ * Creates a flexible position strategy.
404
+ * @param injector Injector used to resolve dependnecies for the position strategy.
405
+ * @param origin Origin relative to which to position the overlay.
406
+ */
407
+ declare function createFlexibleConnectedPositionStrategy(injector: Injector, origin: FlexibleConnectedPositionStrategyOrigin): FlexibleConnectedPositionStrategy;
402
408
  /**
403
409
  * A strategy for positioning overlays. Using this strategy, an overlay is given an
404
410
  * implicit position relative some origin element. The relative position is defined in terms of
@@ -791,5 +797,5 @@ declare class OverlayModule {
791
797
  static ɵinj: i0.ɵɵInjectorDeclaration<OverlayModule>;
792
798
  }
793
799
 
794
- export { OverlayRef as O, OverlayModule as a, FlexibleConnectedPositionStrategy as b, OverlayConfig as c, OverlayContainer as d, CdkOverlayOrigin as e, CdkConnectedOverlay as f, STANDARD_DROPDOWN_ADJACENT_POSITIONS as h, STANDARD_DROPDOWN_BELOW_POSITIONS as i, ConnectionPositionPair as l, ScrollingVisibility as m, ConnectedOverlayPositionChange as n, validateHorizontalPosition as o, OverlayOutsideClickDispatcher as p, OverlayKeyboardDispatcher as q, validateVerticalPosition as v };
795
- export type { ConnectedPosition as C, FlexibleConnectedPositionStrategyOrigin as F, HorizontalConnectionPos as H, PositionStrategy as P, ScrollStrategy as S, VerticalConnectionPos as V, OverlaySizeConfig as g, OriginConnectionPosition as j, OverlayConnectionPosition as k };
800
+ export { CdkConnectedOverlay, CdkOverlayOrigin, ConnectedOverlayPositionChange, ConnectionPositionPair, FlexibleConnectedPositionStrategy, OverlayConfig, OverlayContainer, OverlayKeyboardDispatcher, OverlayModule, OverlayOutsideClickDispatcher, OverlayRef, STANDARD_DROPDOWN_ADJACENT_POSITIONS, STANDARD_DROPDOWN_BELOW_POSITIONS, ScrollingVisibility, createFlexibleConnectedPositionStrategy, validateHorizontalPosition, validateVerticalPosition };
801
+ export type { ConnectedPosition, FlexibleConnectedPositionStrategyOrigin, HorizontalConnectionPos, OriginConnectionPosition, OverlayConnectionPosition, OverlaySizeConfig, PositionStrategy, ScrollStrategy, VerticalConnectionPos };
@@ -1 +1 @@
1
- .cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%;z-index:1000}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px;z-index:1000}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
1
+ .cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%;z-index:1000}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px;z-index:1000}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/cdk",
3
- "version": "20.0.0-next.6",
3
+ "version": "20.0.0-next.8",
4
4
  "description": "Angular Material Component Development Kit",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,4 +1,4 @@
1
- export { P as Platform } from '../platform.d-54a48c5c.js';
1
+ export { Platform } from '../platform.d-cnFZCLss.js';
2
2
  import * as i0 from '@angular/core';
3
3
 
4
4
  declare class PlatformModule {
@@ -30,4 +30,4 @@ declare class Platform {
30
30
  static ɵprov: i0.ɵɵInjectableDeclaration<Platform>;
31
31
  }
32
32
 
33
- export { Platform as P };
33
+ export { Platform };
package/portal/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { B as BasePortalOutlet, a as ComponentPortal, T as TemplatePortal, D as DomPortal } from '../portal-directives.d-7048496c.js';
2
- export { B as BasePortalOutlet, c as CdkPortal, C as CdkPortalOutlet, h as CdkPortalOutletAttachedRef, a as ComponentPortal, b as ComponentType, D as DomPortal, g as Portal, e as PortalHostDirective, P as PortalModule, f as PortalOutlet, T as TemplatePortal, d as TemplatePortalDirective } from '../portal-directives.d-7048496c.js';
1
+ import { BasePortalOutlet, ComponentPortal, TemplatePortal, DomPortal } from '../portal-directives.d-D9c4J36c.js';
2
+ export { CdkPortal, CdkPortalOutlet, CdkPortalOutletAttachedRef, ComponentType, Portal, PortalHostDirective, PortalModule, PortalOutlet, TemplatePortalDirective } from '../portal-directives.d-D9c4J36c.js';
3
3
  import { ApplicationRef, Injector, ComponentRef, EmbeddedViewRef } from '@angular/core';
4
4
 
5
5
  /**
@@ -48,4 +48,4 @@ declare class DomPortalOutlet extends BasePortalOutlet {
48
48
  private _getComponentRootNode;
49
49
  }
50
50
 
51
- export { DomPortalOutlet };
51
+ export { BasePortalOutlet, ComponentPortal, DomPortal, DomPortalOutlet, TemplatePortal };
@@ -207,5 +207,5 @@ declare class PortalModule {
207
207
  static ɵinj: i0.ɵɵInjectorDeclaration<PortalModule>;
208
208
  }
209
209
 
210
- export { BasePortalOutlet as B, CdkPortalOutlet as C, DomPortal as D, PortalModule as P, TemplatePortal as T, ComponentPortal as a, CdkPortal as c, TemplatePortalDirective as d, PortalHostDirective as e, Portal as g };
211
- export type { ComponentType as b, PortalOutlet as f, CdkPortalOutletAttachedRef as h };
210
+ export { BasePortalOutlet, CdkPortal, CdkPortalOutlet, ComponentPortal, DomPortal, Portal, PortalHostDirective, PortalModule, TemplatePortal, TemplatePortalDirective };
211
+ export type { CdkPortalOutletAttachedRef, ComponentType, PortalOutlet };
@@ -1,4 +1,4 @@
1
- export { _ as _CdkPrivateStyleLoader } from '../style-loader.d-a4916e34.js';
1
+ export { _CdkPrivateStyleLoader } from '../style-loader.d-DbvWk0ty.js';
2
2
  import * as i0 from '@angular/core';
3
3
 
4
4
  /**
@@ -29,7 +29,7 @@ function default_1() {
29
29
  // In order to align the CDK version with other Angular dependencies that are setup by
30
30
  // `@schematics/angular`, we use tilde instead of caret. This is default for Angular
31
31
  // dependencies in new CLI projects.
32
- (0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~20.0.0-next.6`);
32
+ (0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~{STABLE_PROJECT_VERSION}`);
33
33
  // Add a task to run the package manager. This is necessary because we updated the
34
34
  // workspace "package.json" file and we want lock files to reflect the new version range.
35
35
  context.addTask(new tasks_1.NodePackageInstallTask());