@angular/cdk 16.0.0-next.4 → 16.0.0-rc.0

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 (454) hide show
  1. package/a11y/index.d.ts +2 -2
  2. package/accordion/index.d.ts +2 -2
  3. package/bidi/index.d.ts +1 -1
  4. package/clipboard/index.d.ts +1 -1
  5. package/drag-drop/index.d.ts +6 -6
  6. package/{esm2020 → esm2022}/a11y/a11y-module.mjs +5 -5
  7. package/{esm2020 → esm2022}/a11y/aria-describer/aria-describer.mjs +4 -4
  8. package/{esm2020 → esm2022}/a11y/focus-monitor/focus-monitor.mjs +7 -7
  9. package/{esm2020 → esm2022}/a11y/focus-trap/configurable-focus-trap-factory.mjs +4 -4
  10. package/{esm2020 → esm2022}/a11y/focus-trap/focus-trap-manager.mjs +4 -4
  11. package/{esm2020 → esm2022}/a11y/focus-trap/focus-trap.mjs +7 -7
  12. package/{esm2020 → esm2022}/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +4 -4
  13. package/{esm2020 → esm2022}/a11y/input-modality/input-modality-detector.mjs +4 -4
  14. package/{esm2020 → esm2022}/a11y/interactivity-checker/interactivity-checker.mjs +4 -4
  15. package/{esm2020 → esm2022}/a11y/live-announcer/live-announcer.mjs +7 -7
  16. package/{esm2020 → esm2022}/accordion/accordion-item.mjs +8 -8
  17. package/{esm2020 → esm2022}/accordion/accordion-module.mjs +5 -5
  18. package/{esm2020 → esm2022}/accordion/accordion.mjs +4 -4
  19. package/{esm2020 → esm2022}/bidi/bidi-module.mjs +5 -5
  20. package/{esm2020 → esm2022}/bidi/dir.mjs +4 -4
  21. package/{esm2020 → esm2022}/bidi/directionality.mjs +4 -4
  22. package/{esm2020 → esm2022}/clipboard/clipboard-module.mjs +5 -5
  23. package/{esm2020 → esm2022}/clipboard/clipboard.mjs +4 -4
  24. package/{esm2020 → esm2022}/clipboard/copy-to-clipboard.mjs +4 -4
  25. package/{esm2020 → esm2022}/collections/unique-selection-dispatcher.mjs +4 -4
  26. package/{esm2020 → esm2022}/dialog/dialog-container.mjs +4 -4
  27. package/{esm2020 → esm2022}/dialog/dialog-module.mjs +12 -12
  28. package/{esm2020 → esm2022}/dialog/dialog.mjs +4 -4
  29. package/{esm2020 → esm2022}/drag-drop/directives/drag-handle.mjs +4 -4
  30. package/{esm2020 → esm2022}/drag-drop/directives/drag-placeholder.mjs +4 -4
  31. package/{esm2020 → esm2022}/drag-drop/directives/drag-preview.mjs +4 -4
  32. package/esm2022/drag-drop/directives/drag.mjs +489 -0
  33. package/{esm2020 → esm2022}/drag-drop/directives/drop-list-group.mjs +4 -4
  34. package/esm2022/drag-drop/directives/drop-list.mjs +348 -0
  35. package/{esm2020 → esm2022}/drag-drop/drag-drop-module.mjs +15 -15
  36. package/{esm2020 → esm2022}/drag-drop/drag-drop-registry.mjs +4 -4
  37. package/{esm2020 → esm2022}/drag-drop/drag-drop.mjs +4 -4
  38. package/{esm2020 → esm2022}/layout/breakpoints-observer.mjs +4 -4
  39. package/{esm2020 → esm2022}/layout/layout-module.mjs +5 -5
  40. package/{esm2020 → esm2022}/layout/media-matcher.mjs +4 -4
  41. package/{esm2020 → esm2022}/listbox/listbox-module.mjs +5 -5
  42. package/{esm2020 → esm2022}/listbox/listbox.mjs +13 -13
  43. package/{esm2020 → esm2022}/menu/context-menu-trigger.mjs +10 -10
  44. package/{esm2020 → esm2022}/menu/menu-aim.mjs +7 -7
  45. package/{esm2020 → esm2022}/menu/menu-bar.mjs +8 -8
  46. package/{esm2020 → esm2022}/menu/menu-base.mjs +4 -4
  47. package/{esm2020 → esm2022}/menu/menu-group.mjs +4 -4
  48. package/{esm2020 → esm2022}/menu/menu-item-checkbox.mjs +7 -7
  49. package/{esm2020 → esm2022}/menu/menu-item-radio.mjs +7 -7
  50. package/{esm2020 → esm2022}/menu/menu-item-selectable.mjs +4 -4
  51. package/{esm2020 → esm2022}/menu/menu-item.mjs +4 -4
  52. package/{esm2020 → esm2022}/menu/menu-module.mjs +21 -21
  53. package/{esm2020 → esm2022}/menu/menu-stack.mjs +4 -4
  54. package/{esm2020 → esm2022}/menu/menu-trigger-base.mjs +4 -4
  55. package/esm2022/menu/menu-trigger.mjs +307 -0
  56. package/{esm2020 → esm2022}/menu/menu.mjs +8 -8
  57. package/{esm2020 → esm2022}/observers/observe-content.mjs +14 -14
  58. package/{esm2020 → esm2022}/overlay/dispatchers/base-overlay-dispatcher.mjs +4 -4
  59. package/{esm2020 → esm2022}/overlay/dispatchers/overlay-keyboard-dispatcher.mjs +4 -4
  60. package/{esm2020 → esm2022}/overlay/dispatchers/overlay-outside-click-dispatcher.mjs +4 -4
  61. package/{esm2020 → esm2022}/overlay/fullscreen-overlay-container.mjs +4 -4
  62. package/{esm2020 → esm2022}/overlay/overlay-container.mjs +4 -4
  63. package/{esm2020 → esm2022}/overlay/overlay-directives.mjs +7 -7
  64. package/{esm2020 → esm2022}/overlay/overlay-module.mjs +5 -5
  65. package/{esm2020 → esm2022}/overlay/overlay.mjs +4 -4
  66. package/{esm2020 → esm2022}/overlay/position/overlay-position-builder.mjs +4 -4
  67. package/{esm2020 → esm2022}/overlay/scroll/scroll-strategy-options.mjs +4 -4
  68. package/{esm2020 → esm2022}/platform/platform-module.mjs +5 -5
  69. package/{esm2020 → esm2022}/platform/platform.mjs +4 -4
  70. package/esm2022/portal/portal-directives.mjs +250 -0
  71. package/{esm2020 → esm2022}/scrolling/fixed-size-virtual-scroll.mjs +10 -10
  72. package/{esm2020 → esm2022}/scrolling/scroll-dispatcher.mjs +4 -4
  73. package/{esm2020 → esm2022}/scrolling/scrollable.mjs +4 -4
  74. package/{esm2020 → esm2022}/scrolling/scrolling-module.mjs +19 -19
  75. package/{esm2020 → esm2022}/scrolling/viewport-ruler.mjs +4 -4
  76. package/{esm2020 → esm2022}/scrolling/virtual-for-of.mjs +4 -4
  77. package/{esm2020 → esm2022}/scrolling/virtual-scroll-viewport.mjs +10 -10
  78. package/{esm2020 → esm2022}/scrolling/virtual-scrollable-element.mjs +4 -4
  79. package/{esm2020 → esm2022}/scrolling/virtual-scrollable-window.mjs +4 -4
  80. package/{esm2020 → esm2022}/scrolling/virtual-scrollable.mjs +4 -4
  81. package/{esm2020 → esm2022}/stepper/step-header.mjs +4 -4
  82. package/{esm2020 → esm2022}/stepper/step-label.mjs +4 -4
  83. package/{esm2020 → esm2022}/stepper/stepper-button.mjs +7 -7
  84. package/{esm2020 → esm2022}/stepper/stepper-module.mjs +10 -10
  85. package/{esm2020 → esm2022}/stepper/stepper.mjs +7 -7
  86. package/{esm2020 → esm2022}/table/cell.mjs +22 -22
  87. package/{esm2020 → esm2022}/table/coalesced-style-scheduler.mjs +4 -4
  88. package/esm2022/table/row.mjs +271 -0
  89. package/{esm2020 → esm2022}/table/table-module.mjs +47 -47
  90. package/{esm2020 → esm2022}/table/table.mjs +25 -25
  91. package/{esm2020 → esm2022}/table/text-column.mjs +6 -6
  92. package/{esm2020 → esm2022}/text-field/autofill.mjs +7 -7
  93. package/{esm2020 → esm2022}/text-field/autosize.mjs +4 -4
  94. package/{esm2020 → esm2022}/text-field/text-field-module.mjs +5 -5
  95. package/{esm2020 → esm2022}/tree/nested-node.mjs +7 -7
  96. package/{esm2020 → esm2022}/tree/node.mjs +4 -4
  97. package/{esm2020 → esm2022}/tree/outlet.mjs +4 -4
  98. package/{esm2020 → esm2022}/tree/padding.mjs +4 -4
  99. package/{esm2020 → esm2022}/tree/toggle.mjs +4 -4
  100. package/{esm2020 → esm2022}/tree/tree-module.mjs +17 -17
  101. package/esm2022/tree/tree.mjs +349 -0
  102. package/{esm2020 → esm2022}/version.mjs +1 -1
  103. package/{fesm2020 → fesm2022}/a11y.mjs +40 -197
  104. package/fesm2022/a11y.mjs.map +1 -0
  105. package/{fesm2020 → fesm2022}/accordion.mjs +14 -51
  106. package/fesm2022/accordion.mjs.map +1 -0
  107. package/{fesm2020 → fesm2022}/bidi.mjs +10 -54
  108. package/fesm2022/bidi.mjs.map +1 -0
  109. package/fesm2022/cdk.mjs +7 -0
  110. package/fesm2022/cdk.mjs.map +1 -0
  111. package/{fesm2020 → fesm2022}/clipboard.mjs +10 -54
  112. package/fesm2022/clipboard.mjs.map +1 -0
  113. package/{fesm2015 → fesm2022}/coercion.mjs +0 -58
  114. package/fesm2022/coercion.mjs.map +1 -0
  115. package/{fesm2015 → fesm2022}/collections.mjs +5 -70
  116. package/fesm2022/collections.mjs.map +1 -0
  117. package/{fesm2020 → fesm2022}/dialog.mjs +17 -75
  118. package/fesm2022/dialog.mjs.map +1 -0
  119. package/{fesm2020 → fesm2022}/drag-drop.mjs +45 -216
  120. package/fesm2022/drag-drop.mjs.map +1 -0
  121. package/{fesm2020 → fesm2022}/keycodes.mjs +0 -30
  122. package/fesm2022/keycodes.mjs.map +1 -0
  123. package/{fesm2015 → fesm2022}/layout.mjs +10 -54
  124. package/fesm2022/layout.mjs.map +1 -0
  125. package/{fesm2020 → fesm2022}/listbox.mjs +16 -46
  126. package/fesm2022/listbox.mjs.map +1 -0
  127. package/{fesm2020 → fesm2022}/menu.mjs +86 -220
  128. package/fesm2022/menu.mjs.map +1 -0
  129. package/{fesm2020 → fesm2022}/observers.mjs +13 -36
  130. package/fesm2022/observers.mjs.map +1 -0
  131. package/{fesm2020 → fesm2022}/overlay.mjs +34 -206
  132. package/fesm2022/overlay.mjs.map +1 -0
  133. package/{fesm2020 → fesm2022}/platform.mjs +7 -72
  134. package/fesm2022/platform.mjs.map +1 -0
  135. package/{fesm2020 → fesm2022}/portal.mjs +26 -77
  136. package/fesm2022/portal.mjs.map +1 -0
  137. package/{fesm2020 → fesm2022}/scrolling.mjs +57 -158
  138. package/fesm2022/scrolling.mjs.map +1 -0
  139. package/{fesm2020 → fesm2022}/stepper.mjs +27 -78
  140. package/fesm2022/stepper.mjs.map +1 -0
  141. package/{fesm2020 → fesm2022}/table.mjs +134 -227
  142. package/fesm2022/table.mjs.map +1 -0
  143. package/{fesm2020 → fesm2022}/testing/selenium-webdriver.mjs +0 -37
  144. package/fesm2022/testing/selenium-webdriver.mjs.map +1 -0
  145. package/{fesm2020 → fesm2022}/testing/testbed.mjs +1 -72
  146. package/fesm2022/testing/testbed.mjs.map +1 -0
  147. package/{fesm2020 → fesm2022}/testing.mjs +0 -66
  148. package/fesm2022/testing.mjs.map +1 -0
  149. package/{fesm2020 → fesm2022}/text-field.mjs +13 -50
  150. package/fesm2022/text-field.mjs.map +1 -0
  151. package/{fesm2020 → fesm2022}/tree.mjs +45 -131
  152. package/fesm2022/tree.mjs.map +1 -0
  153. package/listbox/index.d.ts +2 -2
  154. package/menu/index.d.ts +5 -5
  155. package/observers/index.d.ts +1 -1
  156. package/overlay/index.d.ts +1 -1
  157. package/package.json +77 -131
  158. package/portal/index.d.ts +2 -2
  159. package/schematics/ng-add/index.js +1 -1
  160. package/schematics/ng-add/index.mjs +1 -1
  161. package/schematics/ng-update/devkit-file-system.js +3 -2
  162. package/schematics/ng-update/devkit-file-system.mjs +3 -2
  163. package/schematics/ng-update/migrations/attribute-selectors.js +5 -8
  164. package/schematics/ng-update/migrations/attribute-selectors.mjs +5 -8
  165. package/schematics/ng-update/migrations/class-inheritance.js +8 -11
  166. package/schematics/ng-update/migrations/class-inheritance.mjs +8 -11
  167. package/schematics/ng-update/migrations/class-names.js +12 -15
  168. package/schematics/ng-update/migrations/class-names.mjs +12 -15
  169. package/schematics/ng-update/migrations/constructor-signature.js +7 -10
  170. package/schematics/ng-update/migrations/constructor-signature.mjs +7 -10
  171. package/schematics/ng-update/migrations/css-selectors.js +5 -8
  172. package/schematics/ng-update/migrations/css-selectors.mjs +5 -8
  173. package/schematics/ng-update/migrations/element-selectors.js +5 -8
  174. package/schematics/ng-update/migrations/element-selectors.mjs +5 -8
  175. package/schematics/ng-update/migrations/input-names.js +5 -8
  176. package/schematics/ng-update/migrations/input-names.mjs +5 -8
  177. package/schematics/ng-update/migrations/method-call-arguments.js +5 -8
  178. package/schematics/ng-update/migrations/method-call-arguments.mjs +5 -8
  179. package/schematics/ng-update/migrations/misc-template.js +3 -6
  180. package/schematics/ng-update/migrations/misc-template.mjs +3 -6
  181. package/schematics/ng-update/migrations/output-names.js +5 -8
  182. package/schematics/ng-update/migrations/output-names.mjs +5 -8
  183. package/schematics/ng-update/migrations/property-names.js +5 -8
  184. package/schematics/ng-update/migrations/property-names.mjs +5 -8
  185. package/schematics/ng-update/migrations/symbol-removal.js +5 -8
  186. package/schematics/ng-update/migrations/symbol-removal.mjs +5 -8
  187. package/schematics/update-tool/component-resource-collector.js +5 -3
  188. package/schematics/update-tool/component-resource-collector.mjs +5 -3
  189. package/schematics/update-tool/index.js +8 -2
  190. package/schematics/update-tool/index.mjs +8 -2
  191. package/schematics/update-tool/migration.js +10 -3
  192. package/schematics/update-tool/migration.mjs +10 -3
  193. package/schematics/update-tool/utils/virtual-host.js +3 -2
  194. package/schematics/update-tool/utils/virtual-host.mjs +3 -2
  195. package/scrolling/index.d.ts +3 -3
  196. package/stepper/index.d.ts +4 -4
  197. package/table/index.d.ts +6 -6
  198. package/text-field/index.d.ts +1 -1
  199. package/tree/index.d.ts +6 -6
  200. package/esm2020/drag-drop/directives/drag.mjs +0 -489
  201. package/esm2020/drag-drop/directives/drop-list.mjs +0 -348
  202. package/esm2020/menu/menu-trigger.mjs +0 -306
  203. package/esm2020/portal/portal-directives.mjs +0 -250
  204. package/esm2020/table/row.mjs +0 -271
  205. package/esm2020/tree/tree.mjs +0 -349
  206. package/fesm2015/a11y.mjs +0 -2544
  207. package/fesm2015/a11y.mjs.map +0 -1
  208. package/fesm2015/accordion.mjs +0 -275
  209. package/fesm2015/accordion.mjs.map +0 -1
  210. package/fesm2015/bidi.mjs +0 -194
  211. package/fesm2015/bidi.mjs.map +0 -1
  212. package/fesm2015/cdk.mjs +0 -30
  213. package/fesm2015/cdk.mjs.map +0 -1
  214. package/fesm2015/clipboard.mjs +0 -263
  215. package/fesm2015/clipboard.mjs.map +0 -1
  216. package/fesm2015/coercion.mjs.map +0 -1
  217. package/fesm2015/collections.mjs.map +0 -1
  218. package/fesm2015/dialog.mjs +0 -800
  219. package/fesm2015/dialog.mjs.map +0 -1
  220. package/fesm2015/drag-drop.mjs +0 -3823
  221. package/fesm2015/drag-drop.mjs.map +0 -1
  222. package/fesm2015/keycodes.mjs +0 -167
  223. package/fesm2015/keycodes.mjs.map +0 -1
  224. package/fesm2015/layout.mjs.map +0 -1
  225. package/fesm2015/listbox.mjs +0 -918
  226. package/fesm2015/listbox.mjs.map +0 -1
  227. package/fesm2015/menu.mjs +0 -2009
  228. package/fesm2015/menu.mjs.map +0 -1
  229. package/fesm2015/observers.mjs +0 -211
  230. package/fesm2015/observers.mjs.map +0 -1
  231. package/fesm2015/overlay.mjs +0 -3142
  232. package/fesm2015/overlay.mjs.map +0 -1
  233. package/fesm2015/platform.mjs +0 -385
  234. package/fesm2015/platform.mjs.map +0 -1
  235. package/fesm2015/portal.mjs +0 -691
  236. package/fesm2015/portal.mjs.map +0 -1
  237. package/fesm2015/scrolling.mjs +0 -1566
  238. package/fesm2015/scrolling.mjs.map +0 -1
  239. package/fesm2015/stepper.mjs +0 -621
  240. package/fesm2015/stepper.mjs.map +0 -1
  241. package/fesm2015/table.mjs +0 -2357
  242. package/fesm2015/table.mjs.map +0 -1
  243. package/fesm2015/testing/selenium-webdriver.mjs +0 -419
  244. package/fesm2015/testing/selenium-webdriver.mjs.map +0 -1
  245. package/fesm2015/testing/testbed.mjs +0 -868
  246. package/fesm2015/testing/testbed.mjs.map +0 -1
  247. package/fesm2015/testing.mjs +0 -785
  248. package/fesm2015/testing.mjs.map +0 -1
  249. package/fesm2015/text-field.mjs +0 -461
  250. package/fesm2015/text-field.mjs.map +0 -1
  251. package/fesm2015/tree.mjs +0 -950
  252. package/fesm2015/tree.mjs.map +0 -1
  253. package/fesm2020/a11y.mjs.map +0 -1
  254. package/fesm2020/accordion.mjs.map +0 -1
  255. package/fesm2020/bidi.mjs.map +0 -1
  256. package/fesm2020/cdk.mjs +0 -30
  257. package/fesm2020/cdk.mjs.map +0 -1
  258. package/fesm2020/clipboard.mjs.map +0 -1
  259. package/fesm2020/coercion.mjs +0 -132
  260. package/fesm2020/coercion.mjs.map +0 -1
  261. package/fesm2020/collections.mjs +0 -543
  262. package/fesm2020/collections.mjs.map +0 -1
  263. package/fesm2020/dialog.mjs.map +0 -1
  264. package/fesm2020/drag-drop.mjs.map +0 -1
  265. package/fesm2020/keycodes.mjs.map +0 -1
  266. package/fesm2020/layout.mjs +0 -254
  267. package/fesm2020/layout.mjs.map +0 -1
  268. package/fesm2020/listbox.mjs.map +0 -1
  269. package/fesm2020/menu.mjs.map +0 -1
  270. package/fesm2020/observers.mjs.map +0 -1
  271. package/fesm2020/overlay.mjs.map +0 -1
  272. package/fesm2020/platform.mjs.map +0 -1
  273. package/fesm2020/portal.mjs.map +0 -1
  274. package/fesm2020/scrolling.mjs.map +0 -1
  275. package/fesm2020/stepper.mjs.map +0 -1
  276. package/fesm2020/table.mjs.map +0 -1
  277. package/fesm2020/testing/selenium-webdriver.mjs.map +0 -1
  278. package/fesm2020/testing/testbed.mjs.map +0 -1
  279. package/fesm2020/testing.mjs.map +0 -1
  280. package/fesm2020/text-field.mjs.map +0 -1
  281. package/fesm2020/tree.mjs.map +0 -1
  282. /package/{esm2020 → esm2022}/a11y/a11y_public_index.mjs +0 -0
  283. /package/{esm2020 → esm2022}/a11y/aria-describer/aria-reference.mjs +0 -0
  284. /package/{esm2020 → esm2022}/a11y/fake-event-detection.mjs +0 -0
  285. /package/{esm2020 → esm2022}/a11y/focus-trap/configurable-focus-trap-config.mjs +0 -0
  286. /package/{esm2020 → esm2022}/a11y/focus-trap/configurable-focus-trap.mjs +0 -0
  287. /package/{esm2020 → esm2022}/a11y/focus-trap/event-listener-inert-strategy.mjs +0 -0
  288. /package/{esm2020 → esm2022}/a11y/focus-trap/focus-trap-inert-strategy.mjs +0 -0
  289. /package/{esm2020 → esm2022}/a11y/index.mjs +0 -0
  290. /package/{esm2020 → esm2022}/a11y/key-manager/activedescendant-key-manager.mjs +0 -0
  291. /package/{esm2020 → esm2022}/a11y/key-manager/focus-key-manager.mjs +0 -0
  292. /package/{esm2020 → esm2022}/a11y/key-manager/list-key-manager.mjs +0 -0
  293. /package/{esm2020 → esm2022}/a11y/live-announcer/live-announcer-tokens.mjs +0 -0
  294. /package/{esm2020 → esm2022}/a11y/public-api.mjs +0 -0
  295. /package/{esm2020 → esm2022}/accordion/accordion_public_index.mjs +0 -0
  296. /package/{esm2020 → esm2022}/accordion/index.mjs +0 -0
  297. /package/{esm2020 → esm2022}/accordion/public-api.mjs +0 -0
  298. /package/{esm2020 → esm2022}/bidi/bidi_public_index.mjs +0 -0
  299. /package/{esm2020 → esm2022}/bidi/dir-document-token.mjs +0 -0
  300. /package/{esm2020 → esm2022}/bidi/index.mjs +0 -0
  301. /package/{esm2020 → esm2022}/bidi/public-api.mjs +0 -0
  302. /package/{esm2020 → esm2022}/clipboard/clipboard_public_index.mjs +0 -0
  303. /package/{esm2020 → esm2022}/clipboard/index.mjs +0 -0
  304. /package/{esm2020 → esm2022}/clipboard/pending-copy.mjs +0 -0
  305. /package/{esm2020 → esm2022}/clipboard/public-api.mjs +0 -0
  306. /package/{esm2020 → esm2022}/coercion/array.mjs +0 -0
  307. /package/{esm2020 → esm2022}/coercion/boolean-property.mjs +0 -0
  308. /package/{esm2020 → esm2022}/coercion/css-pixel-value.mjs +0 -0
  309. /package/{esm2020 → esm2022}/coercion/element.mjs +0 -0
  310. /package/{esm2020 → esm2022}/coercion/index.mjs +0 -0
  311. /package/{esm2020 → esm2022}/coercion/number-property.mjs +0 -0
  312. /package/{esm2020 → esm2022}/coercion/public-api.mjs +0 -0
  313. /package/{esm2020 → esm2022}/coercion/string-array.mjs +0 -0
  314. /package/{esm2020 → esm2022}/collections/array-data-source.mjs +0 -0
  315. /package/{esm2020 → esm2022}/collections/collection-viewer.mjs +0 -0
  316. /package/{esm2020 → esm2022}/collections/collections_public_index.mjs +0 -0
  317. /package/{esm2020 → esm2022}/collections/data-source.mjs +0 -0
  318. /package/{esm2020 → esm2022}/collections/dispose-view-repeater-strategy.mjs +0 -0
  319. /package/{esm2020 → esm2022}/collections/index.mjs +0 -0
  320. /package/{esm2020 → esm2022}/collections/public-api.mjs +0 -0
  321. /package/{esm2020 → esm2022}/collections/recycle-view-repeater-strategy.mjs +0 -0
  322. /package/{esm2020 → esm2022}/collections/selection-model.mjs +0 -0
  323. /package/{esm2020 → esm2022}/collections/tree-adapter.mjs +0 -0
  324. /package/{esm2020 → esm2022}/collections/view-repeater.mjs +0 -0
  325. /package/{esm2020 → esm2022}/dialog/dialog-config.mjs +0 -0
  326. /package/{esm2020 → esm2022}/dialog/dialog-injectors.mjs +0 -0
  327. /package/{esm2020 → esm2022}/dialog/dialog-ref.mjs +0 -0
  328. /package/{esm2020 → esm2022}/dialog/dialog_public_index.mjs +0 -0
  329. /package/{esm2020 → esm2022}/dialog/index.mjs +0 -0
  330. /package/{esm2020 → esm2022}/dialog/public-api.mjs +0 -0
  331. /package/{esm2020 → esm2022}/drag-drop/directives/assertions.mjs +0 -0
  332. /package/{esm2020 → esm2022}/drag-drop/directives/config.mjs +0 -0
  333. /package/{esm2020 → esm2022}/drag-drop/dom/client-rect.mjs +0 -0
  334. /package/{esm2020 → esm2022}/drag-drop/dom/clone-node.mjs +0 -0
  335. /package/{esm2020 → esm2022}/drag-drop/dom/parent-position-tracker.mjs +0 -0
  336. /package/{esm2020 → esm2022}/drag-drop/dom/styling.mjs +0 -0
  337. /package/{esm2020 → esm2022}/drag-drop/dom/transition-duration.mjs +0 -0
  338. /package/{esm2020 → esm2022}/drag-drop/drag-drop_public_index.mjs +0 -0
  339. /package/{esm2020 → esm2022}/drag-drop/drag-events.mjs +0 -0
  340. /package/{esm2020 → esm2022}/drag-drop/drag-parent.mjs +0 -0
  341. /package/{esm2020 → esm2022}/drag-drop/drag-ref.mjs +0 -0
  342. /package/{esm2020 → esm2022}/drag-drop/drag-utils.mjs +0 -0
  343. /package/{esm2020 → esm2022}/drag-drop/drop-list-ref.mjs +0 -0
  344. /package/{esm2020 → esm2022}/drag-drop/index.mjs +0 -0
  345. /package/{esm2020 → esm2022}/drag-drop/public-api.mjs +0 -0
  346. /package/{esm2020 → esm2022}/drag-drop/sorting/drop-list-sort-strategy.mjs +0 -0
  347. /package/{esm2020 → esm2022}/drag-drop/sorting/single-axis-sort-strategy.mjs +0 -0
  348. /package/{esm2020 → esm2022}/index.mjs +0 -0
  349. /package/{esm2020 → esm2022}/keycodes/index.mjs +0 -0
  350. /package/{esm2020 → esm2022}/keycodes/keycodes.mjs +0 -0
  351. /package/{esm2020 → esm2022}/keycodes/keycodes_public_index.mjs +0 -0
  352. /package/{esm2020 → esm2022}/keycodes/modifiers.mjs +0 -0
  353. /package/{esm2020 → esm2022}/keycodes/public-api.mjs +0 -0
  354. /package/{esm2020 → esm2022}/layout/breakpoints.mjs +0 -0
  355. /package/{esm2020 → esm2022}/layout/index.mjs +0 -0
  356. /package/{esm2020 → esm2022}/layout/layout_public_index.mjs +0 -0
  357. /package/{esm2020 → esm2022}/layout/public-api.mjs +0 -0
  358. /package/{esm2020 → esm2022}/listbox/index.mjs +0 -0
  359. /package/{esm2020 → esm2022}/listbox/listbox_public_index.mjs +0 -0
  360. /package/{esm2020 → esm2022}/listbox/public-api.mjs +0 -0
  361. /package/{esm2020 → esm2022}/menu/index.mjs +0 -0
  362. /package/{esm2020 → esm2022}/menu/menu-errors.mjs +0 -0
  363. /package/{esm2020 → esm2022}/menu/menu-interface.mjs +0 -0
  364. /package/{esm2020 → esm2022}/menu/menu_public_index.mjs +0 -0
  365. /package/{esm2020 → esm2022}/menu/pointer-focus-tracker.mjs +0 -0
  366. /package/{esm2020 → esm2022}/menu/public-api.mjs +0 -0
  367. /package/{esm2020 → esm2022}/observers/index.mjs +0 -0
  368. /package/{esm2020 → esm2022}/observers/observers_public_index.mjs +0 -0
  369. /package/{esm2020 → esm2022}/observers/public-api.mjs +0 -0
  370. /package/{esm2020 → esm2022}/overlay/dispatchers/index.mjs +0 -0
  371. /package/{esm2020 → esm2022}/overlay/index.mjs +0 -0
  372. /package/{esm2020 → esm2022}/overlay/overlay-config.mjs +0 -0
  373. /package/{esm2020 → esm2022}/overlay/overlay-ref.mjs +0 -0
  374. /package/{esm2020 → esm2022}/overlay/overlay-reference.mjs +0 -0
  375. /package/{esm2020 → esm2022}/overlay/overlay_public_index.mjs +0 -0
  376. /package/{esm2020 → esm2022}/overlay/position/connected-position.mjs +0 -0
  377. /package/{esm2020 → esm2022}/overlay/position/flexible-connected-position-strategy.mjs +0 -0
  378. /package/{esm2020 → esm2022}/overlay/position/global-position-strategy.mjs +0 -0
  379. /package/{esm2020 → esm2022}/overlay/position/position-strategy.mjs +0 -0
  380. /package/{esm2020 → esm2022}/overlay/position/scroll-clip.mjs +0 -0
  381. /package/{esm2020 → esm2022}/overlay/public-api.mjs +0 -0
  382. /package/{esm2020 → esm2022}/overlay/scroll/block-scroll-strategy.mjs +0 -0
  383. /package/{esm2020 → esm2022}/overlay/scroll/close-scroll-strategy.mjs +0 -0
  384. /package/{esm2020 → esm2022}/overlay/scroll/index.mjs +0 -0
  385. /package/{esm2020 → esm2022}/overlay/scroll/noop-scroll-strategy.mjs +0 -0
  386. /package/{esm2020 → esm2022}/overlay/scroll/reposition-scroll-strategy.mjs +0 -0
  387. /package/{esm2020 → esm2022}/overlay/scroll/scroll-strategy.mjs +0 -0
  388. /package/{esm2020 → esm2022}/platform/features/input-types.mjs +0 -0
  389. /package/{esm2020 → esm2022}/platform/features/passive-listeners.mjs +0 -0
  390. /package/{esm2020 → esm2022}/platform/features/scrolling.mjs +0 -0
  391. /package/{esm2020 → esm2022}/platform/features/shadow-dom.mjs +0 -0
  392. /package/{esm2020 → esm2022}/platform/features/test-environment.mjs +0 -0
  393. /package/{esm2020 → esm2022}/platform/index.mjs +0 -0
  394. /package/{esm2020 → esm2022}/platform/platform_public_index.mjs +0 -0
  395. /package/{esm2020 → esm2022}/platform/public-api.mjs +0 -0
  396. /package/{esm2020 → esm2022}/portal/dom-portal-outlet.mjs +0 -0
  397. /package/{esm2020 → esm2022}/portal/index.mjs +0 -0
  398. /package/{esm2020 → esm2022}/portal/portal-errors.mjs +0 -0
  399. /package/{esm2020 → esm2022}/portal/portal-injector.mjs +0 -0
  400. /package/{esm2020 → esm2022}/portal/portal.mjs +0 -0
  401. /package/{esm2020 → esm2022}/portal/portal_public_index.mjs +0 -0
  402. /package/{esm2020 → esm2022}/portal/public-api.mjs +0 -0
  403. /package/{esm2020 → esm2022}/public-api.mjs +0 -0
  404. /package/{esm2020 → esm2022}/scrolling/index.mjs +0 -0
  405. /package/{esm2020 → esm2022}/scrolling/public-api.mjs +0 -0
  406. /package/{esm2020 → esm2022}/scrolling/scrolling_public_index.mjs +0 -0
  407. /package/{esm2020 → esm2022}/scrolling/virtual-scroll-repeater.mjs +0 -0
  408. /package/{esm2020 → esm2022}/scrolling/virtual-scroll-strategy.mjs +0 -0
  409. /package/{esm2020 → esm2022}/stepper/index.mjs +0 -0
  410. /package/{esm2020 → esm2022}/stepper/public-api.mjs +0 -0
  411. /package/{esm2020 → esm2022}/stepper/stepper_public_index.mjs +0 -0
  412. /package/{esm2020 → esm2022}/table/can-stick.mjs +0 -0
  413. /package/{esm2020 → esm2022}/table/index.mjs +0 -0
  414. /package/{esm2020 → esm2022}/table/public-api.mjs +0 -0
  415. /package/{esm2020 → esm2022}/table/sticky-position-listener.mjs +0 -0
  416. /package/{esm2020 → esm2022}/table/sticky-styler.mjs +0 -0
  417. /package/{esm2020 → esm2022}/table/table-errors.mjs +0 -0
  418. /package/{esm2020 → esm2022}/table/table_public_index.mjs +0 -0
  419. /package/{esm2020 → esm2022}/table/tokens.mjs +0 -0
  420. /package/{esm2020 → esm2022}/testing/change-detection.mjs +0 -0
  421. /package/{esm2020 → esm2022}/testing/component-harness.mjs +0 -0
  422. /package/{esm2020 → esm2022}/testing/element-dimensions.mjs +0 -0
  423. /package/{esm2020 → esm2022}/testing/harness-environment.mjs +0 -0
  424. /package/{esm2020 → esm2022}/testing/index.mjs +0 -0
  425. /package/{esm2020 → esm2022}/testing/public-api.mjs +0 -0
  426. /package/{esm2020 → esm2022}/testing/selenium-webdriver/index.mjs +0 -0
  427. /package/{esm2020 → esm2022}/testing/selenium-webdriver/public-api.mjs +0 -0
  428. /package/{esm2020 → esm2022}/testing/selenium-webdriver/selenium-web-driver-element.mjs +0 -0
  429. /package/{esm2020 → esm2022}/testing/selenium-webdriver/selenium-web-driver-harness-environment.mjs +0 -0
  430. /package/{esm2020 → esm2022}/testing/selenium-webdriver/selenium-webdriver-keys.mjs +0 -0
  431. /package/{esm2020 → esm2022}/testing/test-element-errors.mjs +0 -0
  432. /package/{esm2020 → esm2022}/testing/test-element.mjs +0 -0
  433. /package/{esm2020 → esm2022}/testing/testbed/fake-events/dispatch-events.mjs +0 -0
  434. /package/{esm2020 → esm2022}/testing/testbed/fake-events/element-focus.mjs +0 -0
  435. /package/{esm2020 → esm2022}/testing/testbed/fake-events/event-objects.mjs +0 -0
  436. /package/{esm2020 → esm2022}/testing/testbed/fake-events/index.mjs +0 -0
  437. /package/{esm2020 → esm2022}/testing/testbed/fake-events/type-in-element.mjs +0 -0
  438. /package/{esm2020 → esm2022}/testing/testbed/index.mjs +0 -0
  439. /package/{esm2020 → esm2022}/testing/testbed/public-api.mjs +0 -0
  440. /package/{esm2020 → esm2022}/testing/testbed/task-state-zone-interceptor.mjs +0 -0
  441. /package/{esm2020 → esm2022}/testing/testbed/testbed-harness-environment.mjs +0 -0
  442. /package/{esm2020 → esm2022}/testing/testbed/unit-test-element.mjs +0 -0
  443. /package/{esm2020 → esm2022}/testing/text-filtering.mjs +0 -0
  444. /package/{esm2020 → esm2022}/text-field/index.mjs +0 -0
  445. /package/{esm2020 → esm2022}/text-field/public-api.mjs +0 -0
  446. /package/{esm2020 → esm2022}/text-field/text-field_public_index.mjs +0 -0
  447. /package/{esm2020 → esm2022}/tree/control/base-tree-control.mjs +0 -0
  448. /package/{esm2020 → esm2022}/tree/control/flat-tree-control.mjs +0 -0
  449. /package/{esm2020 → esm2022}/tree/control/nested-tree-control.mjs +0 -0
  450. /package/{esm2020 → esm2022}/tree/control/tree-control.mjs +0 -0
  451. /package/{esm2020 → esm2022}/tree/index.mjs +0 -0
  452. /package/{esm2020 → esm2022}/tree/public-api.mjs +0 -0
  453. /package/{esm2020 → esm2022}/tree/tree-errors.mjs +0 -0
  454. /package/{esm2020 → esm2022}/tree/tree_public_index.mjs +0 -0
@@ -1,918 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, ElementRef, Directive, Input, ChangeDetectorRef, forwardRef, Output, ContentChildren, NgModule } from '@angular/core';
3
- import { ActiveDescendantKeyManager } from '@angular/cdk/a11y';
4
- import { A, hasModifierKey, SPACE, ENTER, HOME, END, UP_ARROW, DOWN_ARROW, LEFT_ARROW, RIGHT_ARROW } from '@angular/cdk/keycodes';
5
- import { coerceBooleanProperty, coerceArray } from '@angular/cdk/coercion';
6
- import { SelectionModel } from '@angular/cdk/collections';
7
- import { Subject, defer, merge } from 'rxjs';
8
- import { startWith, switchMap, map, takeUntil, filter } from 'rxjs/operators';
9
- import { NG_VALUE_ACCESSOR } from '@angular/forms';
10
- import { Directionality } from '@angular/cdk/bidi';
11
-
12
- /**
13
- * @license
14
- * Copyright Google LLC All Rights Reserved.
15
- *
16
- * Use of this source code is governed by an MIT-style license that can be
17
- * found in the LICENSE file at https://angular.io/license
18
- */
19
- /** The next id to use for creating unique DOM IDs. */
20
- let nextId = 0;
21
- /**
22
- * An implementation of SelectionModel that internally always represents the selection as a
23
- * multi-selection. This is necessary so that we can recover the full selection if the user
24
- * switches the listbox from single-selection to multi-selection after initialization.
25
- *
26
- * This selection model may report multiple selected values, even if it is in single-selection
27
- * mode. It is up to the user (CdkListbox) to check for invalid selections.
28
- */
29
- class ListboxSelectionModel extends SelectionModel {
30
- constructor(multiple = false, initiallySelectedValues, emitChanges = true, compareWith) {
31
- super(true, initiallySelectedValues, emitChanges, compareWith);
32
- this.multiple = multiple;
33
- }
34
- isMultipleSelection() {
35
- return this.multiple;
36
- }
37
- select(...values) {
38
- // The super class is always in multi-selection mode, so we need to override the behavior if
39
- // this selection model actually belongs to a single-selection listbox.
40
- if (this.multiple) {
41
- return super.select(...values);
42
- }
43
- else {
44
- return super.setSelection(...values);
45
- }
46
- }
47
- }
48
- /** A selectable option in a listbox. */
49
- class CdkOption {
50
- constructor() {
51
- this._generatedId = `cdk-option-${nextId++}`;
52
- this._disabled = false;
53
- /** The option's host element */
54
- this.element = inject(ElementRef).nativeElement;
55
- /** The parent listbox this option belongs to. */
56
- this.listbox = inject(CdkListbox);
57
- /** Emits when the option is destroyed. */
58
- this.destroyed = new Subject();
59
- /** Emits when the option is clicked. */
60
- this._clicked = new Subject();
61
- }
62
- /** The id of the option's host element. */
63
- get id() {
64
- return this._id || this._generatedId;
65
- }
66
- set id(value) {
67
- this._id = value;
68
- }
69
- /** Whether this option is disabled. */
70
- get disabled() {
71
- return this.listbox.disabled || this._disabled;
72
- }
73
- set disabled(value) {
74
- this._disabled = coerceBooleanProperty(value);
75
- }
76
- /** The tabindex of the option when it is enabled. */
77
- get enabledTabIndex() {
78
- return this._enabledTabIndex === undefined
79
- ? this.listbox.enabledTabIndex
80
- : this._enabledTabIndex;
81
- }
82
- set enabledTabIndex(value) {
83
- this._enabledTabIndex = value;
84
- }
85
- ngOnDestroy() {
86
- this.destroyed.next();
87
- this.destroyed.complete();
88
- }
89
- /** Whether this option is selected. */
90
- isSelected() {
91
- return this.listbox.isSelected(this);
92
- }
93
- /** Whether this option is active. */
94
- isActive() {
95
- return this.listbox.isActive(this);
96
- }
97
- /** Toggle the selected state of this option. */
98
- toggle() {
99
- this.listbox.toggle(this);
100
- }
101
- /** Select this option if it is not selected. */
102
- select() {
103
- this.listbox.select(this);
104
- }
105
- /** Deselect this option if it is selected. */
106
- deselect() {
107
- this.listbox.deselect(this);
108
- }
109
- /** Focus this option. */
110
- focus() {
111
- this.element.focus();
112
- }
113
- /** Get the label for this element which is required by the FocusableOption interface. */
114
- getLabel() {
115
- var _a, _b;
116
- return ((_a = this.typeaheadLabel) !== null && _a !== void 0 ? _a : (_b = this.element.textContent) === null || _b === void 0 ? void 0 : _b.trim()) || '';
117
- }
118
- /**
119
- * No-op implemented as a part of `Highlightable`.
120
- * @docs-private
121
- */
122
- setActiveStyles() { }
123
- /**
124
- * No-op implemented as a part of `Highlightable`.
125
- * @docs-private
126
- */
127
- setInactiveStyles() { }
128
- /** Handle focus events on the option. */
129
- _handleFocus() {
130
- // Options can wind up getting focused in active descendant mode if the user clicks on them.
131
- // In this case, we push focus back to the parent listbox to prevent an extra tab stop when
132
- // the user performs a shift+tab.
133
- if (this.listbox.useActiveDescendant) {
134
- this.listbox._setActiveOption(this);
135
- this.listbox.focus();
136
- }
137
- }
138
- /** Get the tabindex for this option. */
139
- _getTabIndex() {
140
- if (this.listbox.useActiveDescendant || this.disabled) {
141
- return -1;
142
- }
143
- return this.isActive() ? this.enabledTabIndex : -1;
144
- }
145
- }
146
- CdkOption.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: CdkOption, deps: [], target: i0.ɵɵFactoryTarget.Directive });
147
- CdkOption.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: CdkOption, isStandalone: true, selector: "[cdkOption]", inputs: { id: "id", value: ["cdkOption", "value"], typeaheadLabel: ["cdkOptionTypeaheadLabel", "typeaheadLabel"], disabled: ["cdkOptionDisabled", "disabled"], enabledTabIndex: ["tabindex", "enabledTabIndex"] }, host: { attributes: { "role": "option" }, listeners: { "click": "_clicked.next($event)", "focus": "_handleFocus()" }, properties: { "id": "id", "attr.aria-selected": "isSelected()", "attr.tabindex": "_getTabIndex()", "attr.aria-disabled": "disabled", "class.cdk-option-active": "isActive()" }, classAttribute: "cdk-option" }, exportAs: ["cdkOption"], ngImport: i0 });
148
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: CdkOption, decorators: [{
149
- type: Directive,
150
- args: [{
151
- selector: '[cdkOption]',
152
- standalone: true,
153
- exportAs: 'cdkOption',
154
- host: {
155
- 'role': 'option',
156
- 'class': 'cdk-option',
157
- '[id]': 'id',
158
- '[attr.aria-selected]': 'isSelected()',
159
- '[attr.tabindex]': '_getTabIndex()',
160
- '[attr.aria-disabled]': 'disabled',
161
- '[class.cdk-option-active]': 'isActive()',
162
- '(click)': '_clicked.next($event)',
163
- '(focus)': '_handleFocus()',
164
- },
165
- }]
166
- }], propDecorators: { id: [{
167
- type: Input
168
- }], value: [{
169
- type: Input,
170
- args: ['cdkOption']
171
- }], typeaheadLabel: [{
172
- type: Input,
173
- args: ['cdkOptionTypeaheadLabel']
174
- }], disabled: [{
175
- type: Input,
176
- args: ['cdkOptionDisabled']
177
- }], enabledTabIndex: [{
178
- type: Input,
179
- args: ['tabindex']
180
- }] } });
181
- class CdkListbox {
182
- constructor() {
183
- this._generatedId = `cdk-listbox-${nextId++}`;
184
- this._disabled = false;
185
- this._useActiveDescendant = false;
186
- this._orientation = 'vertical';
187
- this._navigationWrapDisabled = false;
188
- this._navigateDisabledOptions = false;
189
- /** Emits when the selected value(s) in the listbox change. */
190
- this.valueChange = new Subject();
191
- /** The selection model used by the listbox. */
192
- this.selectionModel = new ListboxSelectionModel();
193
- /** Emits when the listbox is destroyed. */
194
- this.destroyed = new Subject();
195
- /** The host element of the listbox. */
196
- this.element = inject(ElementRef).nativeElement;
197
- /** The change detector for this listbox. */
198
- this.changeDetectorRef = inject(ChangeDetectorRef);
199
- /** Whether the currently selected value in the selection model is invalid. */
200
- this._invalid = false;
201
- /** The last user-triggered option. */
202
- this._lastTriggered = null;
203
- /** Callback called when the listbox has been touched */
204
- this._onTouched = () => { };
205
- /** Callback called when the listbox value changes */
206
- this._onChange = () => { };
207
- /** Emits when an option has been clicked. */
208
- this._optionClicked = defer(() => this.options.changes.pipe(startWith(this.options), switchMap(options => merge(...options.map(option => option._clicked.pipe(map(event => ({ option, event }))))))));
209
- /** The directionality of the page. */
210
- this._dir = inject(Directionality, { optional: true });
211
- /** A predicate that skips disabled options. */
212
- this._skipDisabledPredicate = (option) => option.disabled;
213
- /** A predicate that does not skip any options. */
214
- this._skipNonePredicate = () => false;
215
- /** Whether the listbox currently has focus. */
216
- this._hasFocus = false;
217
- }
218
- /** The id of the option's host element. */
219
- get id() {
220
- return this._id || this._generatedId;
221
- }
222
- set id(value) {
223
- this._id = value;
224
- }
225
- /** The tabindex to use when the listbox is enabled. */
226
- get enabledTabIndex() {
227
- return this._enabledTabIndex === undefined ? 0 : this._enabledTabIndex;
228
- }
229
- set enabledTabIndex(value) {
230
- this._enabledTabIndex = value;
231
- }
232
- /** The value selected in the listbox, represented as an array of option values. */
233
- get value() {
234
- return this._invalid ? [] : this.selectionModel.selected;
235
- }
236
- set value(value) {
237
- this._setSelection(value);
238
- }
239
- /**
240
- * Whether the listbox allows multiple options to be selected. If the value switches from `true`
241
- * to `false`, and more than one option is selected, all options are deselected.
242
- */
243
- get multiple() {
244
- return this.selectionModel.multiple;
245
- }
246
- set multiple(value) {
247
- this.selectionModel.multiple = coerceBooleanProperty(value);
248
- if (this.options) {
249
- this._updateInternalValue();
250
- }
251
- }
252
- /** Whether the listbox is disabled. */
253
- get disabled() {
254
- return this._disabled;
255
- }
256
- set disabled(value) {
257
- this._disabled = coerceBooleanProperty(value);
258
- }
259
- /** Whether the listbox will use active descendant or will move focus onto the options. */
260
- get useActiveDescendant() {
261
- return this._useActiveDescendant;
262
- }
263
- set useActiveDescendant(shouldUseActiveDescendant) {
264
- this._useActiveDescendant = coerceBooleanProperty(shouldUseActiveDescendant);
265
- }
266
- /** The orientation of the listbox. Only affects keyboard interaction, not visual layout. */
267
- get orientation() {
268
- return this._orientation;
269
- }
270
- set orientation(value) {
271
- var _a, _b, _c;
272
- this._orientation = value === 'horizontal' ? 'horizontal' : 'vertical';
273
- if (value === 'horizontal') {
274
- (_a = this.listKeyManager) === null || _a === void 0 ? void 0 : _a.withHorizontalOrientation(((_b = this._dir) === null || _b === void 0 ? void 0 : _b.value) || 'ltr');
275
- }
276
- else {
277
- (_c = this.listKeyManager) === null || _c === void 0 ? void 0 : _c.withVerticalOrientation();
278
- }
279
- }
280
- /** The function used to compare option values. */
281
- get compareWith() {
282
- return this.selectionModel.compareWith;
283
- }
284
- set compareWith(fn) {
285
- this.selectionModel.compareWith = fn;
286
- }
287
- /**
288
- * Whether the keyboard navigation should wrap when the user presses arrow down on the last item
289
- * or arrow up on the first item.
290
- */
291
- get navigationWrapDisabled() {
292
- return this._navigationWrapDisabled;
293
- }
294
- set navigationWrapDisabled(wrap) {
295
- var _a;
296
- this._navigationWrapDisabled = coerceBooleanProperty(wrap);
297
- (_a = this.listKeyManager) === null || _a === void 0 ? void 0 : _a.withWrap(!this._navigationWrapDisabled);
298
- }
299
- /** Whether keyboard navigation should skip over disabled items. */
300
- get navigateDisabledOptions() {
301
- return this._navigateDisabledOptions;
302
- }
303
- set navigateDisabledOptions(skip) {
304
- var _a;
305
- this._navigateDisabledOptions = coerceBooleanProperty(skip);
306
- (_a = this.listKeyManager) === null || _a === void 0 ? void 0 : _a.skipPredicate(this._navigateDisabledOptions ? this._skipNonePredicate : this._skipDisabledPredicate);
307
- }
308
- ngAfterContentInit() {
309
- if (typeof ngDevMode === 'undefined' || ngDevMode) {
310
- this._verifyNoOptionValueCollisions();
311
- this._verifyOptionValues();
312
- }
313
- this._initKeyManager();
314
- // Update the internal value whenever the options or the model value changes.
315
- merge(this.selectionModel.changed, this.options.changes)
316
- .pipe(startWith(null), takeUntil(this.destroyed))
317
- .subscribe(() => this._updateInternalValue());
318
- this._optionClicked
319
- .pipe(filter(({ option }) => !option.disabled), takeUntil(this.destroyed))
320
- .subscribe(({ option, event }) => this._handleOptionClicked(option, event));
321
- }
322
- ngOnDestroy() {
323
- var _a;
324
- (_a = this.listKeyManager) === null || _a === void 0 ? void 0 : _a.destroy();
325
- this.destroyed.next();
326
- this.destroyed.complete();
327
- }
328
- /**
329
- * Toggle the selected state of the given option.
330
- * @param option The option to toggle
331
- */
332
- toggle(option) {
333
- this.toggleValue(option.value);
334
- }
335
- /**
336
- * Toggle the selected state of the given value.
337
- * @param value The value to toggle
338
- */
339
- toggleValue(value) {
340
- if (this._invalid) {
341
- this.selectionModel.clear(false);
342
- }
343
- this.selectionModel.toggle(value);
344
- }
345
- /**
346
- * Select the given option.
347
- * @param option The option to select
348
- */
349
- select(option) {
350
- this.selectValue(option.value);
351
- }
352
- /**
353
- * Select the given value.
354
- * @param value The value to select
355
- */
356
- selectValue(value) {
357
- if (this._invalid) {
358
- this.selectionModel.clear(false);
359
- }
360
- this.selectionModel.select(value);
361
- }
362
- /**
363
- * Deselect the given option.
364
- * @param option The option to deselect
365
- */
366
- deselect(option) {
367
- this.deselectValue(option.value);
368
- }
369
- /**
370
- * Deselect the given value.
371
- * @param value The value to deselect
372
- */
373
- deselectValue(value) {
374
- if (this._invalid) {
375
- this.selectionModel.clear(false);
376
- }
377
- this.selectionModel.deselect(value);
378
- }
379
- /**
380
- * Set the selected state of all options.
381
- * @param isSelected The new selected state to set
382
- */
383
- setAllSelected(isSelected) {
384
- if (!isSelected) {
385
- this.selectionModel.clear();
386
- }
387
- else {
388
- if (this._invalid) {
389
- this.selectionModel.clear(false);
390
- }
391
- this.selectionModel.select(...this.options.map(option => option.value));
392
- }
393
- }
394
- /**
395
- * Get whether the given option is selected.
396
- * @param option The option to get the selected state of
397
- */
398
- isSelected(option) {
399
- return this.isValueSelected(option.value);
400
- }
401
- /**
402
- * Get whether the given option is active.
403
- * @param option The option to get the active state of
404
- */
405
- isActive(option) {
406
- var _a;
407
- return !!(((_a = this.listKeyManager) === null || _a === void 0 ? void 0 : _a.activeItem) === option);
408
- }
409
- /**
410
- * Get whether the given value is selected.
411
- * @param value The value to get the selected state of
412
- */
413
- isValueSelected(value) {
414
- if (this._invalid) {
415
- return false;
416
- }
417
- return this.selectionModel.isSelected(value);
418
- }
419
- /**
420
- * Registers a callback to be invoked when the listbox's value changes from user input.
421
- * @param fn The callback to register
422
- * @docs-private
423
- */
424
- registerOnChange(fn) {
425
- this._onChange = fn;
426
- }
427
- /**
428
- * Registers a callback to be invoked when the listbox is blurred by the user.
429
- * @param fn The callback to register
430
- * @docs-private
431
- */
432
- registerOnTouched(fn) {
433
- this._onTouched = fn;
434
- }
435
- /**
436
- * Sets the listbox's value.
437
- * @param value The new value of the listbox
438
- * @docs-private
439
- */
440
- writeValue(value) {
441
- this._setSelection(value);
442
- this._verifyOptionValues();
443
- }
444
- /**
445
- * Sets the disabled state of the listbox.
446
- * @param isDisabled The new disabled state
447
- * @docs-private
448
- */
449
- setDisabledState(isDisabled) {
450
- this.disabled = isDisabled;
451
- }
452
- /** Focus the listbox's host element. */
453
- focus() {
454
- this.element.focus();
455
- }
456
- /**
457
- * Triggers the given option in response to user interaction.
458
- * - In single selection mode: selects the option and deselects any other selected option.
459
- * - In multi selection mode: toggles the selected state of the option.
460
- * @param option The option to trigger
461
- */
462
- triggerOption(option) {
463
- if (option && !option.disabled) {
464
- this._lastTriggered = option;
465
- const changed = this.multiple
466
- ? this.selectionModel.toggle(option.value)
467
- : this.selectionModel.select(option.value);
468
- if (changed) {
469
- this._onChange(this.value);
470
- this.valueChange.next({
471
- value: this.value,
472
- listbox: this,
473
- option: option,
474
- });
475
- }
476
- }
477
- }
478
- /**
479
- * Trigger the given range of options in response to user interaction.
480
- * Should only be called in multi-selection mode.
481
- * @param trigger The option that was triggered
482
- * @param from The start index of the options to toggle
483
- * @param to The end index of the options to toggle
484
- * @param on Whether to toggle the option range on
485
- */
486
- triggerRange(trigger, from, to, on) {
487
- var _a;
488
- if (this.disabled || (trigger && trigger.disabled)) {
489
- return;
490
- }
491
- this._lastTriggered = trigger;
492
- const isEqual = (_a = this.compareWith) !== null && _a !== void 0 ? _a : Object.is;
493
- const updateValues = [...this.options]
494
- .slice(Math.max(0, Math.min(from, to)), Math.min(this.options.length, Math.max(from, to) + 1))
495
- .filter(option => !option.disabled)
496
- .map(option => option.value);
497
- const selected = [...this.value];
498
- for (const updateValue of updateValues) {
499
- const selectedIndex = selected.findIndex(selectedValue => isEqual(selectedValue, updateValue));
500
- if (on && selectedIndex === -1) {
501
- selected.push(updateValue);
502
- }
503
- else if (!on && selectedIndex !== -1) {
504
- selected.splice(selectedIndex, 1);
505
- }
506
- }
507
- let changed = this.selectionModel.setSelection(...selected);
508
- if (changed) {
509
- this._onChange(this.value);
510
- this.valueChange.next({
511
- value: this.value,
512
- listbox: this,
513
- option: trigger,
514
- });
515
- }
516
- }
517
- /**
518
- * Sets the given option as active.
519
- * @param option The option to make active
520
- */
521
- _setActiveOption(option) {
522
- this.listKeyManager.setActiveItem(option);
523
- }
524
- /** Called when the listbox receives focus. */
525
- _handleFocus() {
526
- if (!this.useActiveDescendant) {
527
- if (this.selectionModel.selected.length > 0) {
528
- this._setNextFocusToSelectedOption();
529
- }
530
- else {
531
- this.listKeyManager.setNextItemActive();
532
- }
533
- this._focusActiveOption();
534
- }
535
- }
536
- /** Called when the user presses keydown on the listbox. */
537
- _handleKeydown(event) {
538
- var _a;
539
- if (this._disabled) {
540
- return;
541
- }
542
- const { keyCode } = event;
543
- const previousActiveIndex = this.listKeyManager.activeItemIndex;
544
- const ctrlKeys = ['ctrlKey', 'metaKey'];
545
- if (this.multiple && keyCode === A && hasModifierKey(event, ...ctrlKeys)) {
546
- // Toggle all options off if they're all selected, otherwise toggle them all on.
547
- this.triggerRange(null, 0, this.options.length - 1, this.options.length !== this.value.length);
548
- event.preventDefault();
549
- return;
550
- }
551
- if (this.multiple &&
552
- (keyCode === SPACE || keyCode === ENTER) &&
553
- hasModifierKey(event, 'shiftKey')) {
554
- if (this.listKeyManager.activeItem && this.listKeyManager.activeItemIndex != null) {
555
- this.triggerRange(this.listKeyManager.activeItem, (_a = this._getLastTriggeredIndex()) !== null && _a !== void 0 ? _a : this.listKeyManager.activeItemIndex, this.listKeyManager.activeItemIndex, !this.listKeyManager.activeItem.isSelected());
556
- }
557
- event.preventDefault();
558
- return;
559
- }
560
- if (this.multiple &&
561
- keyCode === HOME &&
562
- hasModifierKey(event, ...ctrlKeys) &&
563
- hasModifierKey(event, 'shiftKey')) {
564
- const trigger = this.listKeyManager.activeItem;
565
- if (trigger) {
566
- const from = this.listKeyManager.activeItemIndex;
567
- this.listKeyManager.setFirstItemActive();
568
- this.triggerRange(trigger, from, this.listKeyManager.activeItemIndex, !trigger.isSelected());
569
- }
570
- event.preventDefault();
571
- return;
572
- }
573
- if (this.multiple &&
574
- keyCode === END &&
575
- hasModifierKey(event, ...ctrlKeys) &&
576
- hasModifierKey(event, 'shiftKey')) {
577
- const trigger = this.listKeyManager.activeItem;
578
- if (trigger) {
579
- const from = this.listKeyManager.activeItemIndex;
580
- this.listKeyManager.setLastItemActive();
581
- this.triggerRange(trigger, from, this.listKeyManager.activeItemIndex, !trigger.isSelected());
582
- }
583
- event.preventDefault();
584
- return;
585
- }
586
- if (keyCode === SPACE || keyCode === ENTER) {
587
- this.triggerOption(this.listKeyManager.activeItem);
588
- event.preventDefault();
589
- return;
590
- }
591
- const isNavKey = keyCode === UP_ARROW ||
592
- keyCode === DOWN_ARROW ||
593
- keyCode === LEFT_ARROW ||
594
- keyCode === RIGHT_ARROW ||
595
- keyCode === HOME ||
596
- keyCode === END;
597
- this.listKeyManager.onKeydown(event);
598
- // Will select an option if shift was pressed while navigating to the option
599
- if (isNavKey && event.shiftKey && previousActiveIndex !== this.listKeyManager.activeItemIndex) {
600
- this.triggerOption(this.listKeyManager.activeItem);
601
- }
602
- }
603
- /** Called when a focus moves into the listbox. */
604
- _handleFocusIn() {
605
- // Note that we use a `focusin` handler for this instead of the existing `focus` handler,
606
- // because focus won't land on the listbox if `useActiveDescendant` is enabled.
607
- this._hasFocus = true;
608
- }
609
- /**
610
- * Called when the focus leaves an element in the listbox.
611
- * @param event The focusout event
612
- */
613
- _handleFocusOut(event) {
614
- const otherElement = event.relatedTarget;
615
- if (this.element !== otherElement && !this.element.contains(otherElement)) {
616
- this._onTouched();
617
- this._hasFocus = false;
618
- this._setNextFocusToSelectedOption();
619
- }
620
- }
621
- /** Get the id of the active option if active descendant is being used. */
622
- _getAriaActiveDescendant() {
623
- var _a, _b;
624
- return this._useActiveDescendant ? (_b = (_a = this.listKeyManager) === null || _a === void 0 ? void 0 : _a.activeItem) === null || _b === void 0 ? void 0 : _b.id : null;
625
- }
626
- /** Get the tabindex for the listbox. */
627
- _getTabIndex() {
628
- if (this.disabled) {
629
- return -1;
630
- }
631
- return this.useActiveDescendant || !this.listKeyManager.activeItem ? this.enabledTabIndex : -1;
632
- }
633
- /** Initialize the key manager. */
634
- _initKeyManager() {
635
- var _a;
636
- this.listKeyManager = new ActiveDescendantKeyManager(this.options)
637
- .withWrap(!this._navigationWrapDisabled)
638
- .withTypeAhead()
639
- .withHomeAndEnd()
640
- .withAllowedModifierKeys(['shiftKey'])
641
- .skipPredicate(this._navigateDisabledOptions ? this._skipNonePredicate : this._skipDisabledPredicate);
642
- if (this.orientation === 'vertical') {
643
- this.listKeyManager.withVerticalOrientation();
644
- }
645
- else {
646
- this.listKeyManager.withHorizontalOrientation(((_a = this._dir) === null || _a === void 0 ? void 0 : _a.value) || 'ltr');
647
- }
648
- if (this.selectionModel.selected.length) {
649
- Promise.resolve().then(() => this._setNextFocusToSelectedOption());
650
- }
651
- this.listKeyManager.change.subscribe(() => this._focusActiveOption());
652
- }
653
- /** Focus the active option. */
654
- _focusActiveOption() {
655
- var _a;
656
- if (!this.useActiveDescendant) {
657
- (_a = this.listKeyManager.activeItem) === null || _a === void 0 ? void 0 : _a.focus();
658
- }
659
- this.changeDetectorRef.markForCheck();
660
- }
661
- /**
662
- * Set the selected values.
663
- * @param value The list of new selected values.
664
- */
665
- _setSelection(value) {
666
- if (this._invalid) {
667
- this.selectionModel.clear(false);
668
- }
669
- this.selectionModel.setSelection(...this._coerceValue(value));
670
- if (!this._hasFocus) {
671
- this._setNextFocusToSelectedOption();
672
- }
673
- }
674
- /** Sets the first selected option as first in the keyboard focus order. */
675
- _setNextFocusToSelectedOption() {
676
- var _a;
677
- // Null check the options since they only get defined after `ngAfterContentInit`.
678
- const selected = (_a = this.options) === null || _a === void 0 ? void 0 : _a.find(option => option.isSelected());
679
- if (selected) {
680
- this.listKeyManager.updateActiveItem(selected);
681
- }
682
- }
683
- /** Update the internal value of the listbox based on the selection model. */
684
- _updateInternalValue() {
685
- const indexCache = new Map();
686
- this.selectionModel.sort((a, b) => {
687
- const aIndex = this._getIndexForValue(indexCache, a);
688
- const bIndex = this._getIndexForValue(indexCache, b);
689
- return aIndex - bIndex;
690
- });
691
- const selected = this.selectionModel.selected;
692
- this._invalid =
693
- (!this.multiple && selected.length > 1) || !!this._getInvalidOptionValues(selected).length;
694
- this.changeDetectorRef.markForCheck();
695
- }
696
- /**
697
- * Gets the index of the given value in the given list of options.
698
- * @param cache The cache of indices found so far
699
- * @param value The value to find
700
- * @return The index of the value in the options list
701
- */
702
- _getIndexForValue(cache, value) {
703
- const isEqual = this.compareWith || Object.is;
704
- if (!cache.has(value)) {
705
- let index = -1;
706
- for (let i = 0; i < this.options.length; i++) {
707
- if (isEqual(value, this.options.get(i).value)) {
708
- index = i;
709
- break;
710
- }
711
- }
712
- cache.set(value, index);
713
- }
714
- return cache.get(value);
715
- }
716
- /**
717
- * Handle the user clicking an option.
718
- * @param option The option that was clicked.
719
- */
720
- _handleOptionClicked(option, event) {
721
- var _a;
722
- event.preventDefault();
723
- this.listKeyManager.setActiveItem(option);
724
- if (event.shiftKey && this.multiple) {
725
- this.triggerRange(option, (_a = this._getLastTriggeredIndex()) !== null && _a !== void 0 ? _a : this.listKeyManager.activeItemIndex, this.listKeyManager.activeItemIndex, !option.isSelected());
726
- }
727
- else {
728
- this.triggerOption(option);
729
- }
730
- }
731
- /** Verifies that no two options represent the same value under the compareWith function. */
732
- _verifyNoOptionValueCollisions() {
733
- this.options.changes.pipe(startWith(this.options), takeUntil(this.destroyed)).subscribe(() => {
734
- var _a;
735
- const isEqual = (_a = this.compareWith) !== null && _a !== void 0 ? _a : Object.is;
736
- for (let i = 0; i < this.options.length; i++) {
737
- const option = this.options.get(i);
738
- let duplicate = null;
739
- for (let j = i + 1; j < this.options.length; j++) {
740
- const other = this.options.get(j);
741
- if (isEqual(option.value, other.value)) {
742
- duplicate = other;
743
- break;
744
- }
745
- }
746
- if (duplicate) {
747
- // TODO(mmalerba): Link to docs about this.
748
- if (this.compareWith) {
749
- console.warn(`Found multiple CdkOption representing the same value under the given compareWith function`, {
750
- option1: option.element,
751
- option2: duplicate.element,
752
- compareWith: this.compareWith,
753
- });
754
- }
755
- else {
756
- console.warn(`Found multiple CdkOption with the same value`, {
757
- option1: option.element,
758
- option2: duplicate.element,
759
- });
760
- }
761
- return;
762
- }
763
- }
764
- });
765
- }
766
- /** Verifies that the option values are valid. */
767
- _verifyOptionValues() {
768
- if (this.options && (typeof ngDevMode === 'undefined' || ngDevMode)) {
769
- const selected = this.selectionModel.selected;
770
- const invalidValues = this._getInvalidOptionValues(selected);
771
- if (!this.multiple && selected.length > 1) {
772
- throw Error('Listbox cannot have more than one selected value in multi-selection mode.');
773
- }
774
- if (invalidValues.length) {
775
- throw Error('Listbox has selected values that do not match any of its options.');
776
- }
777
- }
778
- }
779
- /**
780
- * Coerces a value into an array representing a listbox selection.
781
- * @param value The value to coerce
782
- * @return An array
783
- */
784
- _coerceValue(value) {
785
- return value == null ? [] : coerceArray(value);
786
- }
787
- /**
788
- * Get the sublist of values that do not represent valid option values in this listbox.
789
- * @param values The list of values
790
- * @return The sublist of values that are not valid option values
791
- */
792
- _getInvalidOptionValues(values) {
793
- const isEqual = this.compareWith || Object.is;
794
- const validValues = (this.options || []).map(option => option.value);
795
- return values.filter(value => !validValues.some(validValue => isEqual(value, validValue)));
796
- }
797
- /** Get the index of the last triggered option. */
798
- _getLastTriggeredIndex() {
799
- const index = this.options.toArray().indexOf(this._lastTriggered);
800
- return index === -1 ? null : index;
801
- }
802
- }
803
- CdkListbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: CdkListbox, deps: [], target: i0.ɵɵFactoryTarget.Directive });
804
- CdkListbox.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: CdkListbox, isStandalone: true, selector: "[cdkListbox]", inputs: { id: "id", enabledTabIndex: ["tabindex", "enabledTabIndex"], value: ["cdkListboxValue", "value"], multiple: ["cdkListboxMultiple", "multiple"], disabled: ["cdkListboxDisabled", "disabled"], useActiveDescendant: ["cdkListboxUseActiveDescendant", "useActiveDescendant"], orientation: ["cdkListboxOrientation", "orientation"], compareWith: ["cdkListboxCompareWith", "compareWith"], navigationWrapDisabled: ["cdkListboxNavigationWrapDisabled", "navigationWrapDisabled"], navigateDisabledOptions: ["cdkListboxNavigatesDisabledOptions", "navigateDisabledOptions"] }, outputs: { valueChange: "cdkListboxValueChange" }, host: { attributes: { "role": "listbox" }, listeners: { "focus": "_handleFocus()", "keydown": "_handleKeydown($event)", "focusout": "_handleFocusOut($event)", "focusin": "_handleFocusIn()" }, properties: { "id": "id", "attr.tabindex": "_getTabIndex()", "attr.aria-disabled": "disabled", "attr.aria-multiselectable": "multiple", "attr.aria-activedescendant": "_getAriaActiveDescendant()", "attr.aria-orientation": "orientation" }, classAttribute: "cdk-listbox" }, providers: [
805
- {
806
- provide: NG_VALUE_ACCESSOR,
807
- useExisting: forwardRef(() => CdkListbox),
808
- multi: true,
809
- },
810
- ], queries: [{ propertyName: "options", predicate: CdkOption, descendants: true }], exportAs: ["cdkListbox"], ngImport: i0 });
811
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: CdkListbox, decorators: [{
812
- type: Directive,
813
- args: [{
814
- selector: '[cdkListbox]',
815
- standalone: true,
816
- exportAs: 'cdkListbox',
817
- host: {
818
- 'role': 'listbox',
819
- 'class': 'cdk-listbox',
820
- '[id]': 'id',
821
- '[attr.tabindex]': '_getTabIndex()',
822
- '[attr.aria-disabled]': 'disabled',
823
- '[attr.aria-multiselectable]': 'multiple',
824
- '[attr.aria-activedescendant]': '_getAriaActiveDescendant()',
825
- '[attr.aria-orientation]': 'orientation',
826
- '(focus)': '_handleFocus()',
827
- '(keydown)': '_handleKeydown($event)',
828
- '(focusout)': '_handleFocusOut($event)',
829
- '(focusin)': '_handleFocusIn()',
830
- },
831
- providers: [
832
- {
833
- provide: NG_VALUE_ACCESSOR,
834
- useExisting: forwardRef(() => CdkListbox),
835
- multi: true,
836
- },
837
- ],
838
- }]
839
- }], propDecorators: { id: [{
840
- type: Input
841
- }], enabledTabIndex: [{
842
- type: Input,
843
- args: ['tabindex']
844
- }], value: [{
845
- type: Input,
846
- args: ['cdkListboxValue']
847
- }], multiple: [{
848
- type: Input,
849
- args: ['cdkListboxMultiple']
850
- }], disabled: [{
851
- type: Input,
852
- args: ['cdkListboxDisabled']
853
- }], useActiveDescendant: [{
854
- type: Input,
855
- args: ['cdkListboxUseActiveDescendant']
856
- }], orientation: [{
857
- type: Input,
858
- args: ['cdkListboxOrientation']
859
- }], compareWith: [{
860
- type: Input,
861
- args: ['cdkListboxCompareWith']
862
- }], navigationWrapDisabled: [{
863
- type: Input,
864
- args: ['cdkListboxNavigationWrapDisabled']
865
- }], navigateDisabledOptions: [{
866
- type: Input,
867
- args: ['cdkListboxNavigatesDisabledOptions']
868
- }], valueChange: [{
869
- type: Output,
870
- args: ['cdkListboxValueChange']
871
- }], options: [{
872
- type: ContentChildren,
873
- args: [CdkOption, { descendants: true }]
874
- }] } });
875
-
876
- /**
877
- * @license
878
- * Copyright Google LLC All Rights Reserved.
879
- *
880
- * Use of this source code is governed by an MIT-style license that can be
881
- * found in the LICENSE file at https://angular.io/license
882
- */
883
- const EXPORTED_DECLARATIONS = [CdkListbox, CdkOption];
884
- class CdkListboxModule {
885
- }
886
- CdkListboxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: CdkListboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
887
- CdkListboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.2", ngImport: i0, type: CdkListboxModule, imports: [CdkListbox, CdkOption], exports: [CdkListbox, CdkOption] });
888
- CdkListboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: CdkListboxModule });
889
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: CdkListboxModule, decorators: [{
890
- type: NgModule,
891
- args: [{
892
- imports: [...EXPORTED_DECLARATIONS],
893
- exports: [...EXPORTED_DECLARATIONS],
894
- }]
895
- }] });
896
-
897
- /**
898
- * @license
899
- * Copyright Google LLC All Rights Reserved.
900
- *
901
- * Use of this source code is governed by an MIT-style license that can be
902
- * found in the LICENSE file at https://angular.io/license
903
- */
904
-
905
- /**
906
- * @license
907
- * Copyright Google LLC All Rights Reserved.
908
- *
909
- * Use of this source code is governed by an MIT-style license that can be
910
- * found in the LICENSE file at https://angular.io/license
911
- */
912
-
913
- /**
914
- * Generated bundle index. Do not edit.
915
- */
916
-
917
- export { CdkListbox, CdkListboxModule, CdkOption };
918
- //# sourceMappingURL=listbox.mjs.map