@angular/cdk 20.0.0-next.7 → 20.0.0-next.9

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 (175) hide show
  1. package/_adev_assets/cdk_testing.json +1 -0
  2. package/_adev_assets/cdk_testing_protractor.json +1 -0
  3. package/_adev_assets/cdk_testing_selenium_webdriver.json +1 -0
  4. package/_adev_assets/cdk_testing_testbed.json +1 -0
  5. package/a11y/index.d.ts +8 -8
  6. package/{a11y-module.d-DrV0SO0k.d.ts → a11y-module.d-DBHGyKoh.d.ts} +3 -3
  7. package/accordion/index.d.ts +2 -2
  8. package/{activedescendant-key-manager.d-DSYvyoT0.d.ts → activedescendant-key-manager.d-Bjic5obv.d.ts} +3 -3
  9. package/bidi/index.d.ts +1 -1
  10. package/{bidi-module.d-bsVYOt0R.d.ts → bidi-module.d-IN1Vp56w.d.ts} +2 -2
  11. package/clipboard/index.d.ts +1 -1
  12. package/coercion/index.d.ts +1 -1
  13. package/collections/index.d.ts +7 -7
  14. package/{data-source.d-DAIyaEMO.d.ts → data-source.d-Bblv7Zvh.d.ts} +2 -2
  15. package/dialog/index.d.ts +16 -15
  16. package/drag-drop/index.d.ts +9 -5
  17. package/fesm2022/{a11y-module-tRUj0Pog.mjs → a11y-module-DpEjWNCj.mjs} +8 -9
  18. package/fesm2022/a11y-module-DpEjWNCj.mjs.map +1 -0
  19. package/fesm2022/a11y.mjs +21 -21
  20. package/fesm2022/a11y.mjs.map +1 -1
  21. package/fesm2022/accordion.mjs +3 -3
  22. package/fesm2022/{activedescendant-key-manager-BYiHZAZc.mjs → activedescendant-key-manager-DC3-fwQI.mjs} +3 -3
  23. package/fesm2022/{activedescendant-key-manager-BYiHZAZc.mjs.map → activedescendant-key-manager-DC3-fwQI.mjs.map} +1 -1
  24. package/fesm2022/{array-Hg8isvLj.mjs → array-I1yfCXUO.mjs} +2 -2
  25. package/fesm2022/{array-Hg8isvLj.mjs.map → array-I1yfCXUO.mjs.map} +1 -1
  26. package/fesm2022/bidi.mjs +3 -4
  27. package/fesm2022/bidi.mjs.map +1 -1
  28. package/fesm2022/{breakpoints-observer-CsCzbYlX.mjs → breakpoints-observer-DpQzdtrE.mjs} +4 -4
  29. package/fesm2022/{breakpoints-observer-CsCzbYlX.mjs.map → breakpoints-observer-DpQzdtrE.mjs.map} +1 -1
  30. package/fesm2022/cdk.mjs +1 -1
  31. package/fesm2022/cdk.mjs.map +1 -1
  32. package/fesm2022/clipboard.mjs +1 -2
  33. package/fesm2022/clipboard.mjs.map +1 -1
  34. package/fesm2022/coercion.mjs +3 -3
  35. package/fesm2022/collections.mjs +5 -5
  36. package/fesm2022/{css-pixel-value-C1yoKJ7R.mjs → css-pixel-value-C_HEqLhI.mjs} +2 -2
  37. package/fesm2022/{css-pixel-value-C1yoKJ7R.mjs.map → css-pixel-value-C_HEqLhI.mjs.map} +1 -1
  38. package/fesm2022/{data-source-CL6Fasig.mjs → data-source-D34wiQZj.mjs} +2 -2
  39. package/fesm2022/{data-source-CL6Fasig.mjs.map → data-source-D34wiQZj.mjs.map} +1 -1
  40. package/fesm2022/dialog.mjs +57 -45
  41. package/fesm2022/dialog.mjs.map +1 -1
  42. package/fesm2022/{directionality-6lVHj23y.mjs → directionality-Ck5Uc9Se.mjs} +3 -4
  43. package/fesm2022/directionality-Ck5Uc9Se.mjs.map +1 -0
  44. package/fesm2022/{dispose-view-repeater-strategy-BLw1RSwm.mjs → dispose-view-repeater-strategy-D_JReLI1.mjs} +3 -3
  45. package/fesm2022/{dispose-view-repeater-strategy-BLw1RSwm.mjs.map → dispose-view-repeater-strategy-D_JReLI1.mjs.map} +1 -1
  46. package/fesm2022/drag-drop.mjs +65 -13
  47. package/fesm2022/drag-drop.mjs.map +1 -1
  48. package/fesm2022/{element-CpqV8p-X.mjs → element-x4z00URv.mjs} +2 -2
  49. package/fesm2022/{element-CpqV8p-X.mjs.map → element-x4z00URv.mjs.map} +1 -1
  50. package/fesm2022/{fake-event-detection-D0_6qVp2.mjs → fake-event-detection-DWOdFTFz.mjs} +2 -2
  51. package/fesm2022/{fake-event-detection-D0_6qVp2.mjs.map → fake-event-detection-DWOdFTFz.mjs.map} +1 -1
  52. package/fesm2022/{focus-key-manager-DgyxYbV2.mjs → focus-key-manager-C1rAQJ5z.mjs} +3 -3
  53. package/fesm2022/{focus-key-manager-DgyxYbV2.mjs.map → focus-key-manager-C1rAQJ5z.mjs.map} +1 -1
  54. package/fesm2022/{focus-monitor-BZnK-7fT.mjs → focus-monitor-DKFfep8Q.mjs} +9 -10
  55. package/fesm2022/focus-monitor-DKFfep8Q.mjs.map +1 -0
  56. package/fesm2022/{id-generator-B33AfkWd.mjs → id-generator-BwB8lolC.mjs} +2 -2
  57. package/fesm2022/{id-generator-B33AfkWd.mjs.map → id-generator-BwB8lolC.mjs.map} +1 -1
  58. package/fesm2022/{keycodes-DPWmI2Ix.mjs → keycodes-CpHkExLC.mjs} +2 -2
  59. package/fesm2022/{keycodes-DPWmI2Ix.mjs.map → keycodes-CpHkExLC.mjs.map} +1 -1
  60. package/fesm2022/keycodes.mjs +1 -1
  61. package/fesm2022/layout.mjs +3 -3
  62. package/fesm2022/{list-key-manager-CYBoL_nN.mjs → list-key-manager-CyOIXo8P.mjs} +4 -4
  63. package/fesm2022/{list-key-manager-CYBoL_nN.mjs.map → list-key-manager-CyOIXo8P.mjs.map} +1 -1
  64. package/fesm2022/listbox.mjs +10 -10
  65. package/fesm2022/listbox.mjs.map +1 -1
  66. package/fesm2022/menu.mjs +31 -37
  67. package/fesm2022/menu.mjs.map +1 -1
  68. package/fesm2022/observers.mjs +2 -2
  69. package/fesm2022/{overlay-module-UgjfuiDh.mjs → overlay-module-BaGhSGqO.mjs} +109 -95
  70. package/fesm2022/overlay-module-BaGhSGqO.mjs.map +1 -0
  71. package/fesm2022/overlay.mjs +16 -16
  72. package/fesm2022/{passive-listeners-ZmZRMx8D.mjs → passive-listeners-esHZRgIN.mjs} +2 -2
  73. package/fesm2022/{passive-listeners-ZmZRMx8D.mjs.map → passive-listeners-esHZRgIN.mjs.map} +1 -1
  74. package/fesm2022/{platform-BInyKIh1.mjs → platform-CPg0IbDW.mjs} +2 -2
  75. package/fesm2022/{platform-BInyKIh1.mjs.map → platform-CPg0IbDW.mjs.map} +1 -1
  76. package/fesm2022/platform.mjs +5 -5
  77. package/fesm2022/portal.mjs +1 -2
  78. package/fesm2022/portal.mjs.map +1 -1
  79. package/fesm2022/private.mjs +2 -2
  80. package/fesm2022/{recycle-view-repeater-strategy-Ce0p4WhD.mjs → recycle-view-repeater-strategy-DoWdPqVw.mjs} +4 -4
  81. package/fesm2022/{recycle-view-repeater-strategy-Ce0p4WhD.mjs.map → recycle-view-repeater-strategy-DoWdPqVw.mjs.map} +1 -1
  82. package/fesm2022/{scrolling-BXVcIfjZ.mjs → scrolling-BkvA05C8.mjs} +2 -2
  83. package/fesm2022/{scrolling-BXVcIfjZ.mjs.map → scrolling-BkvA05C8.mjs.map} +1 -1
  84. package/fesm2022/scrolling.mjs +8 -8
  85. package/fesm2022/scrolling.mjs.map +1 -1
  86. package/fesm2022/{selection-model-88BErm4w.mjs → selection-model-BCgC8uEN.mjs} +2 -2
  87. package/fesm2022/{selection-model-88BErm4w.mjs.map → selection-model-BCgC8uEN.mjs.map} +1 -1
  88. package/fesm2022/{shadow-dom-DFvX9W95.mjs → shadow-dom-B0oHn41l.mjs} +2 -2
  89. package/fesm2022/{shadow-dom-DFvX9W95.mjs.map → shadow-dom-B0oHn41l.mjs.map} +1 -1
  90. package/fesm2022/stepper.mjs +20 -15
  91. package/fesm2022/stepper.mjs.map +1 -1
  92. package/fesm2022/{style-loader-DpEDdstc.mjs → style-loader-BDEAZOey.mjs} +2 -2
  93. package/fesm2022/{style-loader-DpEDdstc.mjs.map → style-loader-BDEAZOey.mjs.map} +1 -1
  94. package/fesm2022/table.mjs +88 -147
  95. package/fesm2022/table.mjs.map +1 -1
  96. package/fesm2022/{test-environment-BgaaXvCA.mjs → test-environment-CT0XxPyp.mjs} +2 -2
  97. package/fesm2022/{test-environment-BgaaXvCA.mjs.map → test-environment-CT0XxPyp.mjs.map} +1 -1
  98. package/fesm2022/testing/selenium-webdriver.mjs.map +1 -1
  99. package/fesm2022/testing/testbed.mjs +1 -1
  100. package/fesm2022/text-field.mjs +5 -5
  101. package/fesm2022/text-field.mjs.map +1 -1
  102. package/fesm2022/{tree-key-manager-DIhQ-v4R.mjs → tree-key-manager-KnCoIkIC.mjs} +4 -4
  103. package/fesm2022/{tree-key-manager-DIhQ-v4R.mjs.map → tree-key-manager-KnCoIkIC.mjs.map} +1 -1
  104. package/fesm2022/tree.mjs +7 -8
  105. package/fesm2022/tree.mjs.map +1 -1
  106. package/fesm2022/{typeahead-BAa3HZoh.mjs → typeahead-9ZW4Dtsf.mjs} +3 -3
  107. package/fesm2022/{typeahead-BAa3HZoh.mjs.map → typeahead-9ZW4Dtsf.mjs.map} +1 -1
  108. package/fesm2022/{unique-selection-dispatcher-SqPM2COI.mjs → unique-selection-dispatcher-Cag6cZJ2.mjs} +2 -2
  109. package/fesm2022/{unique-selection-dispatcher-SqPM2COI.mjs.map → unique-selection-dispatcher-Cag6cZJ2.mjs.map} +1 -1
  110. package/{focus-key-manager.d-DCiEwxN7.d.ts → focus-key-manager.d-BIKDy8oD.d.ts} +4 -4
  111. package/{focus-monitor.d-BBkiOKUH.d.ts → focus-monitor.d-CvvJeQRc.d.ts} +2 -2
  112. package/{harness-environment.d-ByFLvxZh.d.ts → harness-environment.d-BatBdODN.d.ts} +2 -2
  113. package/{list-key-manager.d-CylnKWfo.d.ts → list-key-manager.d-BlK3jyRn.d.ts} +2 -2
  114. package/listbox/index.d.ts +3 -3
  115. package/menu/index.d.ts +13 -16
  116. package/{number-property.d-BzBQchZ2.d.ts → number-property.d-CJVxXUcb.d.ts} +2 -2
  117. package/observers/index.d.ts +2 -2
  118. package/overlay/_index.scss +3 -0
  119. package/overlay/index.d.ts +75 -78
  120. package/{overlay-module.d-24bhgNtF.d.ts → overlay-module.d-BiAhhk6g.d.ts} +15 -9
  121. package/overlay-prebuilt.css +1 -1
  122. package/package.json +1 -1
  123. package/platform/index.d.ts +1 -1
  124. package/{platform.d-cnFZCLss.d.ts → platform.d-B3vREl3q.d.ts} +1 -1
  125. package/portal/index.d.ts +2 -2
  126. package/{portal-directives.d-D9c4J36c.d.ts → portal-directives.d-DbeNrI5D.d.ts} +2 -2
  127. package/private/index.d.ts +1 -1
  128. package/schematics/ng-add/index.js +10 -18
  129. package/schematics/ng-add/index.js.map +1 -1
  130. package/schematics/ng-update/devkit-migration-rule.js.map +1 -1
  131. package/schematics/ng-update/devkit-migration.d.ts +2 -2
  132. package/schematics/utils/ast.d.ts +2 -2
  133. package/schematics/utils/ast.js +2 -2
  134. package/schematics/utils/ast.js.map +1 -1
  135. package/schematics/utils/build-component.js +8 -8
  136. package/schematics/utils/build-component.js.map +1 -1
  137. package/schematics/utils/get-project.d.ts +2 -2
  138. package/schematics/utils/get-project.js.map +1 -1
  139. package/schematics/utils/project-index-file.d.ts +6 -3
  140. package/schematics/utils/project-index-file.js +29 -6
  141. package/schematics/utils/project-index-file.js.map +1 -1
  142. package/schematics/utils/project-main-file.d.ts +3 -2
  143. package/schematics/utils/project-main-file.js.map +1 -1
  144. package/schematics/utils/project-style-file.d.ts +2 -2
  145. package/schematics/utils/project-style-file.js.map +1 -1
  146. package/schematics/utils/project-targets.d.ts +5 -4
  147. package/schematics/utils/project-targets.js +11 -5
  148. package/schematics/utils/project-targets.js.map +1 -1
  149. package/schematics/utils/project-tsconfig-paths.d.ts +3 -3
  150. package/schematics/utils/project-tsconfig-paths.js +2 -2
  151. package/schematics/utils/project-tsconfig-paths.js.map +1 -1
  152. package/schematics/utils/schematic-options.d.ts +2 -2
  153. package/schematics/utils/schematic-options.js +2 -2
  154. package/schematics/utils/schematic-options.js.map +1 -1
  155. package/scrolling/index.d.ts +4 -4
  156. package/{scrolling-module.d-CuNwYGVM.d.ts → scrolling-module.d-DP0Qb7T9.d.ts} +6 -6
  157. package/{selection-model.d-CHuTS0tw.d.ts → selection-model.d-DNgOONDg.d.ts} +2 -2
  158. package/stepper/index.d.ts +5 -5
  159. package/{style-loader.d-DbvWk0ty.d.ts → style-loader.d-BXZfQZTF.d.ts} +1 -1
  160. package/table/index.d.ts +8 -196
  161. package/testing/index.d.ts +1 -1
  162. package/testing/selenium-webdriver/index.d.ts +1 -1
  163. package/testing/testbed/index.d.ts +1 -1
  164. package/text-field/index.d.ts +1 -1
  165. package/tree/index.d.ts +4 -4
  166. package/{tree-key-manager-strategy.d-DipnXoCr.d.ts → tree-key-manager-strategy.d-XB6M79l-.d.ts} +1 -1
  167. package/{unique-selection-dispatcher.d-BgWACqWn.d.ts → unique-selection-dispatcher.d-DSFqf1MM.d.ts} +2 -2
  168. package/{view-repeater.d-CJ9e48MX.d.ts → view-repeater.d-BKljR8u8.d.ts} +3 -3
  169. package/fesm2022/a11y-module-tRUj0Pog.mjs.map +0 -1
  170. package/fesm2022/directionality-6lVHj23y.mjs.map +0 -1
  171. package/fesm2022/focus-monitor-BZnK-7fT.mjs.map +0 -1
  172. package/fesm2022/overlay-module-UgjfuiDh.mjs.map +0 -1
  173. package/schematics/ng-add/package-config.d.ts +0 -12
  174. package/schematics/ng-add/package-config.js +0 -51
  175. package/schematics/ng-add/package-config.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"typeahead-BAa3HZoh.mjs","sources":["../../../../../darwin_arm64-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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"}
1
+ {"version":3,"file":"typeahead-9ZW4Dtsf.mjs","sources":["../../../../../darwin_arm64-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 };
49
- //# sourceMappingURL=unique-selection-dispatcher-SqPM2COI.mjs.map
48
+ export { UniqueSelectionDispatcher as U };
49
+ //# sourceMappingURL=unique-selection-dispatcher-Cag6cZJ2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"unique-selection-dispatcher-SqPM2COI.mjs","sources":["../../../../../darwin_arm64-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
+ {"version":3,"file":"unique-selection-dispatcher-Cag6cZJ2.mjs","sources":["../../../../../darwin_arm64-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 { ListKeyManagerOption, ListKeyManager } from './list-key-manager.d-CylnKWfo.js';
2
- import { FocusOrigin } from './focus-monitor.d-BBkiOKUH.js';
1
+ import { L as ListKeyManagerOption, a as ListKeyManager } from './list-key-manager.d-BlK3jyRn.js';
2
+ import { F as FocusOrigin } from './focus-monitor.d-CvvJeQRc.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 };
34
- export type { FocusableOption };
33
+ export { FocusKeyManager as a };
34
+ export type { FocusableOption as F };
@@ -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, FOCUS_MONITOR_DEFAULT_OPTIONS, FocusMonitor, FocusMonitorDetectionMode };
210
- export type { FocusMonitorOptions, FocusOptions, FocusOrigin };
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 };
@@ -616,5 +616,5 @@ declare abstract class HarnessEnvironment<E> implements HarnessLoader, LocatorFa
616
616
  private _getQueryResultForElement;
617
617
  }
618
618
 
619
- export { ComponentHarness, ContentContainerComponentHarness, HarnessEnvironment, HarnessPredicate, TestKey };
620
- export type { AsyncFactoryFn, AsyncOptionPredicate, AsyncPredicate, BaseHarnessFilters, ComponentHarnessConstructor, ElementDimensions, EventData, HarnessLoader, HarnessQuery, LocatorFactory, LocatorFnResult, ModifierKeys, TestElement, TextOptions };
619
+ export { ComponentHarness as C, HarnessEnvironment as H, TestKey as a, ContentContainerComponentHarness as j, HarnessPredicate as k };
620
+ export type { AsyncFactoryFn as A, BaseHarnessFilters as B, ElementDimensions as E, LocatorFnResult as L, ModifierKeys as M, TestElement as T, TextOptions as b, EventData as c, HarnessLoader as d, ComponentHarnessConstructor as e, AsyncPredicate as f, AsyncOptionPredicate as g, HarnessQuery as h, LocatorFactory as i };
@@ -161,5 +161,5 @@ declare class ListKeyManager<T extends ListKeyManagerOption> {
161
161
  private _itemsChanged;
162
162
  }
163
163
 
164
- export { ListKeyManager };
165
- export type { ListKeyManagerModifierKey, ListKeyManagerOption };
164
+ export { ListKeyManager as a };
165
+ export type { ListKeyManagerOption as L, ListKeyManagerModifierKey as b };
@@ -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 { Highlightable, ActiveDescendantKeyManager } from '../activedescendant-key-manager.d-DSYvyoT0.js';
4
- import { ListKeyManagerOption } from '../list-key-manager.d-CylnKWfo.js';
3
+ import { H as Highlightable, A as ActiveDescendantKeyManager } from '../activedescendant-key-manager.d-Bjic5obv.js';
4
+ import { L as ListKeyManagerOption } from '../list-key-manager.d-BlK3jyRn.js';
5
5
  import { Subject } from 'rxjs';
6
- import { SelectionModel } from '../selection-model.d-CHuTS0tw.js';
6
+ import { S as SelectionModel } from '../selection-model.d-DNgOONDg.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 { ScrollStrategy, ConnectedPosition, OverlayRef, OverlayModule } from '../overlay-module.d-24bhgNtF.js';
3
+ import { S as ScrollStrategy, g as ConnectedPosition, O as OverlayRef, a as OverlayModule } from '../overlay-module.d-BiAhhk6g.js';
4
4
  import * as rxjs from 'rxjs';
5
5
  import { Observable, Subject } from 'rxjs';
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';
6
+ import { F as FocusOrigin } from '../focus-monitor.d-CvvJeQRc.js';
7
+ import { F as FocusableOption, a as FocusKeyManager } from '../focus-key-manager.d-BIKDy8oD.js';
8
+ import { D as Directionality } from '../bidi-module.d-IN1Vp56w.js';
9
+ import { T as TemplatePortal } from '../portal-directives.d-DbeNrI5D.js';
10
+ import '../scrolling-module.d-DP0Qb7T9.js';
11
+ import '../data-source.d-Bblv7Zvh.js';
12
+ import '../number-property.d-CJVxXUcb.js';
13
13
  import '@angular/common';
14
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';
15
+ import '../platform.d-B3vREl3q.js';
16
+ import '../style-loader.d-BXZfQZTF.js';
17
+ import '../list-key-manager.d-BlK3jyRn.js';
18
18
 
19
19
  /** Item to track for mouse focus events. */
20
20
  interface FocusableElement {
@@ -354,12 +354,12 @@ declare abstract class CdkMenuTriggerBase implements OnDestroy {
354
354
  */
355
355
  declare class CdkMenuTrigger extends CdkMenuTriggerBase implements OnChanges, OnDestroy {
356
356
  private readonly _elementRef;
357
- private readonly _overlay;
358
357
  private readonly _ngZone;
359
358
  private readonly _changeDetectorRef;
360
359
  private readonly _inputModalityDetector;
361
360
  private readonly _directionality;
362
361
  private readonly _renderer;
362
+ private readonly _injector;
363
363
  private _cleanupMouseenter;
364
364
  /** The parent menu this trigger belongs to. */
365
365
  private readonly _parentMenu;
@@ -759,11 +759,8 @@ type ContextMenuCoordinates = {
759
759
  * It is aware of nested context menus and will trigger only the lowest level non-disabled context menu.
760
760
  */
761
761
  declare class CdkContextMenuTrigger extends CdkMenuTriggerBase implements OnDestroy {
762
- /** The CDK overlay service. */
763
- private readonly _overlay;
764
- /** The directionality of the page. */
762
+ private readonly _injector;
765
763
  private readonly _directionality;
766
- /** The app's context menu tracking registry */
767
764
  private readonly _contextMenuTracker;
768
765
  private readonly _changeDetectorRef;
769
766
  /** Whether the context menu is disabled. */
@@ -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, coerceNumberProperty };
16
- export type { NumberInput };
15
+ export { _isNumberValue as _, coerceNumberProperty as c };
16
+ export type { NumberInput as N };
@@ -1,6 +1,6 @@
1
- import { NumberInput } from '../number-property.d-BzBQchZ2.js';
1
+ import { N as NumberInput } from '../number-property.d-CJVxXUcb.js';
2
2
  import * as i0 from '@angular/core';
3
- import { AfterContentInit, OnDestroy, EventEmitter, ElementRef } from '@angular/core';
3
+ import { OnDestroy, ElementRef, AfterContentInit, EventEmitter } from '@angular/core';
4
4
  import { Observable } from 'rxjs';
5
5
 
6
6
  /**
@@ -95,6 +95,9 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
95
95
  -webkit-tap-highlight-color: transparent;
96
96
  opacity: 0;
97
97
 
98
+ // Removes the tap delay on touch devices (see #30965).
99
+ touch-action: manipulation;
100
+
98
101
  @include _conditional-layer($wrap-customizable-styles) {
99
102
  z-index: $overlay-backdrop-z-index;
100
103
  transition: opacity $backdrop-animation-duration $backdrop-animation-timing-function;
@@ -1,19 +1,60 @@
1
- import { ScrollStrategy, OverlayRef, PositionStrategy, FlexibleConnectedPositionStrategyOrigin, FlexibleConnectedPositionStrategy, OverlayConfig, OverlayContainer } from '../overlay-module.d-24bhgNtF.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, validateHorizontalPosition, validateVerticalPosition } from '../overlay-module.d-24bhgNtF.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';
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-BiAhhk6g.js';
2
+ export { e as CdkConnectedOverlay, C as CdkOverlayOrigin, o as ConnectedOverlayPositionChange, g as ConnectedPosition, m as ConnectionPositionPair, H as HorizontalConnectionPos, k as OriginConnectionPosition, l as OverlayConnectionPosition, r as OverlayKeyboardDispatcher, a as OverlayModule, q as OverlayOutsideClickDispatcher, f as OverlaySizeConfig, h as STANDARD_DROPDOWN_ADJACENT_POSITIONS, i as STANDARD_DROPDOWN_BELOW_POSITIONS, n as ScrollingVisibility, V as VerticalConnectionPos, j as createFlexibleConnectedPositionStrategy, p as validateHorizontalPosition, v as validateVerticalPosition } from '../overlay-module.d-BiAhhk6g.js';
3
+ import { a as ScrollDispatcher } from '../scrolling-module.d-DP0Qb7T9.js';
4
+ export { C as CdkScrollable, c as ɵɵCdkFixedSizeVirtualScroll, b as ɵɵCdkScrollableModule, d as ɵɵCdkVirtualForOf, e as ɵɵCdkVirtualScrollViewport, g as ɵɵCdkVirtualScrollableElement, f as ɵɵCdkVirtualScrollableWindow } from '../scrolling-module.d-DP0Qb7T9.js';
5
5
  import { ViewportRuler } from '../scrolling/index.js';
6
6
  import * as i0 from '@angular/core';
7
- import { NgZone, OnDestroy } from '@angular/core';
8
- export { ComponentType } from '../portal-directives.d-D9c4J36c.js';
9
- export { Dir as ɵɵDir } from '../bidi-module.d-bsVYOt0R.js';
7
+ import { Injector, NgZone, OnDestroy } from '@angular/core';
8
+ export { a as ComponentType } from '../portal-directives.d-DbeNrI5D.js';
9
+ export { b as ɵɵDir } from '../bidi-module.d-IN1Vp56w.js';
10
10
  import '@angular/common';
11
11
  import 'rxjs';
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';
12
+ import '../platform.d-B3vREl3q.js';
13
+ import '../style-loader.d-BXZfQZTF.js';
14
+ import '../data-source.d-Bblv7Zvh.js';
15
+ import '../number-property.d-CJVxXUcb.js';
16
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;
17
58
  /**
18
59
  * Strategy that will prevent the user from scrolling while the overlay is visible.
19
60
  */
@@ -40,6 +81,12 @@ interface CloseScrollStrategyConfig {
40
81
  /** Amount of pixels the user has to scroll before the overlay is closed. */
41
82
  threshold?: number;
42
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;
43
90
  /**
44
91
  * Strategy that will close the overlay as soon as the user starts scrolling.
45
92
  */
@@ -63,6 +110,8 @@ declare class CloseScrollStrategy implements ScrollStrategy {
63
110
  private _detach;
64
111
  }
65
112
 
113
+ /** Creates a scroll strategy that does nothing. */
114
+ declare function createNoopScrollStrategy(): NoopScrollStrategy;
66
115
  /** Scroll strategy that doesn't do anything. */
67
116
  declare class NoopScrollStrategy implements ScrollStrategy {
68
117
  /** Does nothing, as this scroll strategy is a no-op. */
@@ -73,35 +122,6 @@ declare class NoopScrollStrategy implements ScrollStrategy {
73
122
  attach(): void;
74
123
  }
75
124
 
76
- /**
77
- * Config options for the RepositionScrollStrategy.
78
- */
79
- interface RepositionScrollStrategyConfig {
80
- /** Time in milliseconds to throttle the scroll events. */
81
- scrollThrottle?: number;
82
- /** Whether to close the overlay once the user has scrolled away completely. */
83
- autoClose?: boolean;
84
- }
85
- /**
86
- * Strategy that will update the element position as the user is scrolling.
87
- */
88
- declare class RepositionScrollStrategy implements ScrollStrategy {
89
- private _scrollDispatcher;
90
- private _viewportRuler;
91
- private _ngZone;
92
- private _config?;
93
- private _scrollSubscription;
94
- private _overlayRef;
95
- constructor(_scrollDispatcher: ScrollDispatcher, _viewportRuler: ViewportRuler, _ngZone: NgZone, _config?: RepositionScrollStrategyConfig | undefined);
96
- /** Attaches this scroll strategy to an overlay. */
97
- attach(overlayRef: OverlayRef): void;
98
- /** Enables repositioning of the attached overlay on scroll. */
99
- enable(): void;
100
- /** Disables repositioning of the attached overlay on scroll. */
101
- disable(): void;
102
- detach(): void;
103
- }
104
-
105
125
  /**
106
126
  * Options for how an overlay will handle scrolling.
107
127
  *
@@ -109,10 +129,7 @@ declare class RepositionScrollStrategy implements ScrollStrategy {
109
129
  * behaviors. This class primarily acts as a factory for ScrollStrategy instances.
110
130
  */
111
131
  declare class ScrollStrategyOptions {
112
- private _scrollDispatcher;
113
- private _viewportRuler;
114
- private _ngZone;
115
- private _document;
132
+ private _injector;
116
133
  constructor(...args: unknown[]);
117
134
  /** Do nothing on scroll. */
118
135
  noop: () => NoopScrollStrategy;
@@ -133,6 +150,11 @@ declare class ScrollStrategyOptions {
133
150
  static ɵprov: i0.ɵɵInjectableDeclaration<ScrollStrategyOptions>;
134
151
  }
135
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;
136
158
  /**
137
159
  * A strategy for positioning overlays. Using this strategy, an overlay is given an
138
160
  * explicit position relative to the browser's viewport. We use flexbox, instead of
@@ -226,10 +248,7 @@ declare class GlobalPositionStrategy implements PositionStrategy {
226
248
 
227
249
  /** Builder for overlay position strategy. */
228
250
  declare class OverlayPositionBuilder {
229
- private _viewportRuler;
230
- private _document;
231
- private _platform;
232
- private _overlayContainer;
251
+ private _injector;
233
252
  constructor(...args: unknown[]);
234
253
  /**
235
254
  * Creates a global position strategy.
@@ -244,6 +263,13 @@ declare class OverlayPositionBuilder {
244
263
  static ɵprov: i0.ɵɵInjectableDeclaration<OverlayPositionBuilder>;
245
264
  }
246
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;
247
273
  /**
248
274
  * Service to create Overlays. Overlays are dynamically added pieces of floating UI, meant to be
249
275
  * used as a low-level building block for other components. Dialogs, tooltips, menus,
@@ -254,20 +280,8 @@ declare class OverlayPositionBuilder {
254
280
  */
255
281
  declare class Overlay {
256
282
  scrollStrategies: ScrollStrategyOptions;
257
- private _overlayContainer;
258
283
  private _positionBuilder;
259
- private _keyboardDispatcher;
260
284
  private _injector;
261
- private _ngZone;
262
- private _document;
263
- private _directionality;
264
- private _location;
265
- private _outsideClickDispatcher;
266
- private _animationsModuleType;
267
- private _idGenerator;
268
- private _renderer;
269
- private _appRef;
270
- private _styleLoader;
271
285
  constructor(...args: unknown[]);
272
286
  /**
273
287
  * Creates an overlay.
@@ -281,23 +295,6 @@ declare class Overlay {
281
295
  * @returns An overlay position builder.
282
296
  */
283
297
  position(): OverlayPositionBuilder;
284
- /**
285
- * Creates the DOM element for an overlay and appends it to the overlay container.
286
- * @returns Newly-created pane element
287
- */
288
- private _createPaneElement;
289
- /**
290
- * Creates the host element that wraps around an overlay
291
- * and can be used for advanced positioning.
292
- * @returns Newly-create host element.
293
- */
294
- private _createHostElement;
295
- /**
296
- * Create a DomPortalOutlet into which the overlay content can be loaded.
297
- * @param pane The DOM element to turn into a portal outlet.
298
- * @returns A portal outlet for the given DOM element.
299
- */
300
- private _createPortalOutlet;
301
298
  static ɵfac: i0.ɵɵFactoryDeclaration<Overlay, never>;
302
299
  static ɵprov: i0.ɵɵInjectableDeclaration<Overlay>;
303
300
  }
@@ -327,5 +324,5 @@ declare class FullscreenOverlayContainer extends OverlayContainer implements OnD
327
324
  static ɵprov: i0.ɵɵInjectableDeclaration<FullscreenOverlayContainer>;
328
325
  }
329
326
 
330
- export { BlockScrollStrategy, CloseScrollStrategy, FlexibleConnectedPositionStrategy, FlexibleConnectedPositionStrategyOrigin, FullscreenOverlayContainer, GlobalPositionStrategy, NoopScrollStrategy, Overlay, OverlayConfig, OverlayContainer, OverlayPositionBuilder, OverlayRef, PositionStrategy, RepositionScrollStrategy, ScrollDispatcher, ScrollStrategy, ScrollStrategyOptions, ViewportRuler };
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 };
331
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 { 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';
2
+ import { OnDestroy, NgZone, EnvironmentInjector, Renderer2, ComponentRef, EmbeddedViewRef, ElementRef, Injector, OnChanges, EventEmitter, SimpleChanges } from '@angular/core';
3
+ import { a as Direction, D as Directionality, B as BidiModule } from './bidi-module.d-IN1Vp56w.js';
4
+ import { b as PortalOutlet, C as ComponentPortal, T as TemplatePortal, h as PortalModule } from './portal-directives.d-DbeNrI5D.js';
5
+ import { C as CdkScrollable, S as ScrollingModule } from './scrolling-module.d-DP0Qb7T9.js';
6
6
  import { Location } from '@angular/common';
7
7
  import { Subject, Observable } from 'rxjs';
8
8
  import { ViewportRuler } from './scrolling/index.js';
9
- import { Platform } from './platform.d-cnFZCLss.js';
10
- import { _CdkPrivateStyleLoader } from './style-loader.d-DbvWk0ty.js';
9
+ import { P as Platform } from './platform.d-B3vREl3q.js';
10
+ import { _ as _CdkPrivateStyleLoader } from './style-loader.d-BXZfQZTF.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
@@ -678,8 +684,8 @@ declare class CdkOverlayOrigin {
678
684
  * Overlay using a FlexibleConnectedPositionStrategy.
679
685
  */
680
686
  declare class CdkConnectedOverlay implements OnDestroy, OnChanges {
681
- private _overlay;
682
687
  private _dir;
688
+ private _injector;
683
689
  private _overlayRef;
684
690
  private _templatePortal;
685
691
  private _backdropSubscription;
@@ -791,5 +797,5 @@ declare class OverlayModule {
791
797
  static ɵinj: i0.ɵɵInjectorDeclaration<OverlayModule>;
792
798
  }
793
799
 
794
- export { CdkConnectedOverlay, CdkOverlayOrigin, ConnectedOverlayPositionChange, ConnectionPositionPair, FlexibleConnectedPositionStrategy, OverlayConfig, OverlayContainer, OverlayKeyboardDispatcher, OverlayModule, OverlayOutsideClickDispatcher, OverlayRef, STANDARD_DROPDOWN_ADJACENT_POSITIONS, STANDARD_DROPDOWN_BELOW_POSITIONS, ScrollingVisibility, validateHorizontalPosition, validateVerticalPosition };
795
- export type { ConnectedPosition, FlexibleConnectedPositionStrategyOrigin, HorizontalConnectionPos, OriginConnectionPosition, OverlayConnectionPosition, OverlaySizeConfig, PositionStrategy, ScrollStrategy, VerticalConnectionPos };
800
+ export { CdkOverlayOrigin as C, OverlayRef as O, OverlayModule as a, FlexibleConnectedPositionStrategy as b, OverlayConfig as c, OverlayContainer as d, CdkConnectedOverlay as e, STANDARD_DROPDOWN_ADJACENT_POSITIONS as h, STANDARD_DROPDOWN_BELOW_POSITIONS as i, createFlexibleConnectedPositionStrategy as j, ConnectionPositionPair as m, ScrollingVisibility as n, ConnectedOverlayPositionChange as o, validateHorizontalPosition as p, OverlayOutsideClickDispatcher as q, OverlayKeyboardDispatcher as r, validateVerticalPosition as v };
801
+ export type { FlexibleConnectedPositionStrategyOrigin as F, HorizontalConnectionPos as H, PositionStrategy as P, ScrollStrategy as S, VerticalConnectionPos as V, OverlaySizeConfig as f, ConnectedPosition as g, OriginConnectionPosition as k, OverlayConnectionPosition as l };
@@ -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)}@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}
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;touch-action:manipulation;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.7",
3
+ "version": "20.0.0-next.9",
4
4
  "description": "Angular Material Component Development Kit",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,4 +1,4 @@
1
- export { Platform } from '../platform.d-cnFZCLss.js';
1
+ export { P as Platform } from '../platform.d-B3vREl3q.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 };
33
+ export { Platform as P };
package/portal/index.d.ts CHANGED
@@ -1,5 +1,5 @@
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';
1
+ import { B as BasePortalOutlet, C as ComponentPortal, T as TemplatePortal, D as DomPortal } from '../portal-directives.d-DbeNrI5D.js';
2
+ export { c as CdkPortal, f as CdkPortalOutlet, e as CdkPortalOutletAttachedRef, a as ComponentType, P as Portal, g as PortalHostDirective, h as PortalModule, b as PortalOutlet, d as TemplatePortalDirective } from '../portal-directives.d-DbeNrI5D.js';
3
3
  import { ApplicationRef, Injector, ComponentRef, EmbeddedViewRef } from '@angular/core';
4
4
 
5
5
  /**
@@ -207,5 +207,5 @@ declare class PortalModule {
207
207
  static ɵinj: i0.ɵɵInjectorDeclaration<PortalModule>;
208
208
  }
209
209
 
210
- export { BasePortalOutlet, CdkPortal, CdkPortalOutlet, ComponentPortal, DomPortal, Portal, PortalHostDirective, PortalModule, TemplatePortal, TemplatePortalDirective };
211
- export type { CdkPortalOutletAttachedRef, ComponentType, PortalOutlet };
210
+ export { BasePortalOutlet as B, ComponentPortal as C, DomPortal as D, Portal as P, TemplatePortal as T, CdkPortal as c, TemplatePortalDirective as d, CdkPortalOutlet as f, PortalHostDirective as g, PortalModule as h };
211
+ export type { ComponentType as a, PortalOutlet as b, CdkPortalOutletAttachedRef as e };
@@ -1,4 +1,4 @@
1
- export { _CdkPrivateStyleLoader } from '../style-loader.d-DbvWk0ty.js';
1
+ export { _ as _CdkPrivateStyleLoader } from '../style-loader.d-BXZfQZTF.js';
2
2
  import * as i0 from '@angular/core';
3
3
 
4
4
  /**
@@ -8,8 +8,7 @@
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.default = default_1;
11
- const tasks_1 = require("@angular-devkit/schematics/tasks");
12
- const package_config_1 = require("./package-config");
11
+ const utility_1 = require("@schematics/angular/utility");
13
12
  /**
14
13
  * Schematic factory entry-point for the `ng-add` schematic. The ng-add schematic will be
15
14
  * automatically executed if developers run `ng add @angular/cdk`.
@@ -19,21 +18,14 @@ const package_config_1 = require("./package-config");
19
18
  * this ensures that there will be no error that says that the CDK does not support `ng add`.
20
19
  */
21
20
  function default_1() {
22
- return (host, context) => {
23
- // The CLI inserts `@angular/cdk` into the `package.json` before this schematic runs. This
24
- // means that we do not need to insert the CDK into `package.json` files again. In some cases
25
- // though, it could happen that this schematic runs outside of the CLI `ng add` command, or
26
- // the CDK is only listed as a dev dependency. If that is the case, we insert a version based
27
- // on the current build version (substituted version placeholder).
28
- if ((0, package_config_1.getPackageVersionFromPackageJson)(host, '@angular/cdk') === null) {
29
- // In order to align the CDK version with other Angular dependencies that are setup by
30
- // `@schematics/angular`, we use tilde instead of caret. This is default for Angular
31
- // dependencies in new CLI projects.
32
- (0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~20.0.0-next.7`);
33
- // Add a task to run the package manager. This is necessary because we updated the
34
- // workspace "package.json" file and we want lock files to reflect the new version range.
35
- context.addTask(new tasks_1.NodePackageInstallTask());
36
- }
37
- };
21
+ // The CLI inserts `@angular/cdk` into the `package.json` before this schematic runs. This
22
+ // means that we do not need to insert the CDK into `package.json` files again. In some cases
23
+ // though, it could happen that this schematic runs outside of the CLI `ng add` command, or
24
+ // the CDK is only listed as a dev dependency. If that is the case, we insert a version based
25
+ // on the current build version (substituted version placeholder).
26
+ // In order to align the CDK version with other Angular dependencies that are setup by
27
+ // `@schematics/angular`, we use tilde instead of caret. This is default for Angular
28
+ // dependencies in new CLI projects.
29
+ return (0, utility_1.addDependency)('@angular/cdk', `~20.0.0-next.9`, { existing: utility_1.ExistingBehavior.Skip });
38
30
  }
39
31
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAcH,4BAkBC;AA7BD,4DAAwE;AACxE,qDAA2F;AAE3F;;;;;;;GAOG;AACH;IACE,OAAO,CAAC,IAAU,EAAE,OAAyB,EAAE,EAAE;QAC/C,0FAA0F;QAC1F,6FAA6F;QAC7F,2FAA2F;QAC3F,6FAA6F;QAC7F,kEAAkE;QAClE,IAAI,IAAA,iDAAgC,EAAC,IAAI,EAAE,cAAc,CAAC,KAAK,IAAI,EAAE,CAAC;YACpE,sFAAsF;YACtF,oFAAoF;YACpF,oCAAoC;YACpC,IAAA,wCAAuB,EAAC,IAAI,EAAE,cAAc,EAAE,oBAAoB,CAAC,CAAC;YAEpE,kFAAkF;YAClF,yFAAyF;YACzF,OAAO,CAAC,OAAO,CAAC,IAAI,8BAAsB,EAAE,CAAC,CAAC;QAChD,CAAC;IACH,CAAC,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAaH,4BAWC;AArBD,yDAA4E;AAE5E;;;;;;;GAOG;AACH;IACE,0FAA0F;IAC1F,6FAA6F;IAC7F,2FAA2F;IAC3F,6FAA6F;IAC7F,kEAAkE;IAElE,sFAAsF;IACtF,oFAAoF;IACpF,oCAAoC;IACpC,OAAO,IAAA,uBAAa,EAAC,cAAc,EAAE,oBAAoB,EAAE,EAAC,QAAQ,EAAE,0BAAgB,CAAC,IAAI,EAAC,CAAC,CAAC;AAChG,CAAC"}