@angular/cdk 19.2.13 → 19.2.15

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 (429) hide show
  1. package/_adev_assets/cdk_testing.json +7032 -1
  2. package/_adev_assets/cdk_testing_protractor.json +1747 -1
  3. package/_adev_assets/cdk_testing_selenium_webdriver.json +1801 -1
  4. package/_adev_assets/cdk_testing_testbed.json +1903 -1
  5. package/dialog/index.d.ts +17 -12
  6. package/fesm2022/cdk.mjs +1 -1
  7. package/fesm2022/cdk.mjs.map +1 -1
  8. package/fesm2022/dialog.mjs +21 -9
  9. package/fesm2022/dialog.mjs.map +1 -1
  10. package/fesm2022/testing.mjs +255 -52
  11. package/fesm2022/testing.mjs.map +1 -1
  12. package/{harness-environment.d-BatBdODN.d.ts → harness-environment.d-BbFzIFDE.d.ts} +362 -89
  13. package/package.json +1 -1
  14. package/schematics/ng-add/index.js +1 -1
  15. package/testing/index.d.ts +6 -2
  16. package/testing/selenium-webdriver/index.d.ts +1 -1
  17. package/testing/testbed/index.d.ts +1 -1
  18. package/npm_package/LICENSE +0 -21
  19. package/npm_package/README.md +0 -6
  20. package/npm_package/_adev_assets/cdk_testing.json +0 -1
  21. package/npm_package/_adev_assets/cdk_testing_protractor.json +0 -1
  22. package/npm_package/_adev_assets/cdk_testing_selenium_webdriver.json +0 -1
  23. package/npm_package/_adev_assets/cdk_testing_testbed.json +0 -1
  24. package/npm_package/_index.scss +0 -8
  25. package/npm_package/a11y/_index.scss +0 -60
  26. package/npm_package/a11y/index.d.ts +0 -550
  27. package/npm_package/a11y-module.d-DBHGyKoh.d.ts +0 -314
  28. package/npm_package/a11y-prebuilt.css +0 -1
  29. package/npm_package/accordion/index.d.ts +0 -90
  30. package/npm_package/activedescendant-key-manager.d-Bjic5obv.d.ts +0 -32
  31. package/npm_package/bidi/index.d.ts +0 -21
  32. package/npm_package/bidi-module.d-D-fEBKdS.d.ts +0 -54
  33. package/npm_package/clipboard/index.d.ts +0 -101
  34. package/npm_package/coercion/index.d.ts +0 -45
  35. package/npm_package/coercion/private/index.d.ts +0 -9
  36. package/npm_package/collections/index.d.ts +0 -99
  37. package/npm_package/data-source.d-Bblv7Zvh.d.ts +0 -43
  38. package/npm_package/dialog/index.d.ts +0 -426
  39. package/npm_package/drag-drop/index.d.ts +0 -1383
  40. package/npm_package/fesm2022/a11y-module-BYox5gpI.mjs +0 -952
  41. package/npm_package/fesm2022/a11y-module-BYox5gpI.mjs.map +0 -1
  42. package/npm_package/fesm2022/a11y.mjs +0 -539
  43. package/npm_package/fesm2022/a11y.mjs.map +0 -1
  44. package/npm_package/fesm2022/accordion.mjs +0 -210
  45. package/npm_package/fesm2022/accordion.mjs.map +0 -1
  46. package/npm_package/fesm2022/activedescendant-key-manager-DC3-fwQI.mjs +0 -16
  47. package/npm_package/fesm2022/activedescendant-key-manager-DC3-fwQI.mjs.map +0 -1
  48. package/npm_package/fesm2022/array-I1yfCXUO.mjs +0 -6
  49. package/npm_package/fesm2022/array-I1yfCXUO.mjs.map +0 -1
  50. package/npm_package/fesm2022/backwards-compatibility-DHR38MsD.mjs +0 -25
  51. package/npm_package/fesm2022/backwards-compatibility-DHR38MsD.mjs.map +0 -1
  52. package/npm_package/fesm2022/bidi.mjs +0 -80
  53. package/npm_package/fesm2022/bidi.mjs.map +0 -1
  54. package/npm_package/fesm2022/boolean-property-DaaVhX5A.mjs +0 -7
  55. package/npm_package/fesm2022/boolean-property-DaaVhX5A.mjs.map +0 -1
  56. package/npm_package/fesm2022/breakpoints-observer-CljOfYGy.mjs +0 -179
  57. package/npm_package/fesm2022/breakpoints-observer-CljOfYGy.mjs.map +0 -1
  58. package/npm_package/fesm2022/cdk.mjs +0 -7
  59. package/npm_package/fesm2022/cdk.mjs.map +0 -1
  60. package/npm_package/fesm2022/clipboard.mjs +0 -211
  61. package/npm_package/fesm2022/clipboard.mjs.map +0 -1
  62. package/npm_package/fesm2022/coercion/private.mjs +0 -15
  63. package/npm_package/fesm2022/coercion/private.mjs.map +0 -1
  64. package/npm_package/fesm2022/coercion.mjs +0 -39
  65. package/npm_package/fesm2022/coercion.mjs.map +0 -1
  66. package/npm_package/fesm2022/collections.mjs +0 -8
  67. package/npm_package/fesm2022/collections.mjs.map +0 -1
  68. package/npm_package/fesm2022/css-pixel-value-C_HEqLhI.mjs +0 -10
  69. package/npm_package/fesm2022/css-pixel-value-C_HEqLhI.mjs.map +0 -1
  70. package/npm_package/fesm2022/data-source-D34wiQZj.mjs +0 -15
  71. package/npm_package/fesm2022/data-source-D34wiQZj.mjs.map +0 -1
  72. package/npm_package/fesm2022/dialog.mjs +0 -870
  73. package/npm_package/fesm2022/dialog.mjs.map +0 -1
  74. package/npm_package/fesm2022/directionality-CBXD4hga.mjs +0 -72
  75. package/npm_package/fesm2022/directionality-CBXD4hga.mjs.map +0 -1
  76. package/npm_package/fesm2022/dispose-view-repeater-strategy-D_JReLI1.mjs +0 -44
  77. package/npm_package/fesm2022/dispose-view-repeater-strategy-D_JReLI1.mjs.map +0 -1
  78. package/npm_package/fesm2022/drag-drop.mjs +0 -4359
  79. package/npm_package/fesm2022/drag-drop.mjs.map +0 -1
  80. package/npm_package/fesm2022/element-x4z00URv.mjs +0 -29
  81. package/npm_package/fesm2022/element-x4z00URv.mjs.map +0 -1
  82. package/npm_package/fesm2022/fake-event-detection-DWOdFTFz.mjs +0 -24
  83. package/npm_package/fesm2022/fake-event-detection-DWOdFTFz.mjs.map +0 -1
  84. package/npm_package/fesm2022/focus-key-manager-C1rAQJ5z.mjs +0 -22
  85. package/npm_package/fesm2022/focus-key-manager-C1rAQJ5z.mjs.map +0 -1
  86. package/npm_package/fesm2022/focus-monitor-e2l_RpN3.mjs +0 -629
  87. package/npm_package/fesm2022/focus-monitor-e2l_RpN3.mjs.map +0 -1
  88. package/npm_package/fesm2022/id-generator-Dw_9dSDu.mjs +0 -37
  89. package/npm_package/fesm2022/id-generator-Dw_9dSDu.mjs.map +0 -1
  90. package/npm_package/fesm2022/keycodes-CpHkExLC.mjs +0 -122
  91. package/npm_package/fesm2022/keycodes-CpHkExLC.mjs.map +0 -1
  92. package/npm_package/fesm2022/keycodes.mjs +0 -15
  93. package/npm_package/fesm2022/keycodes.mjs.map +0 -1
  94. package/npm_package/fesm2022/layout.mjs +0 -43
  95. package/npm_package/fesm2022/layout.mjs.map +0 -1
  96. package/npm_package/fesm2022/list-key-manager-CyOIXo8P.mjs +0 -360
  97. package/npm_package/fesm2022/list-key-manager-CyOIXo8P.mjs.map +0 -1
  98. package/npm_package/fesm2022/listbox.mjs +0 -925
  99. package/npm_package/fesm2022/listbox.mjs.map +0 -1
  100. package/npm_package/fesm2022/menu.mjs +0 -1966
  101. package/npm_package/fesm2022/menu.mjs.map +0 -1
  102. package/npm_package/fesm2022/observers/private.mjs +0 -124
  103. package/npm_package/fesm2022/observers/private.mjs.map +0 -1
  104. package/npm_package/fesm2022/observers.mjs +0 -210
  105. package/npm_package/fesm2022/observers.mjs.map +0 -1
  106. package/npm_package/fesm2022/overlay-module-BUj0D19H.mjs +0 -3029
  107. package/npm_package/fesm2022/overlay-module-BUj0D19H.mjs.map +0 -1
  108. package/npm_package/fesm2022/overlay.mjs +0 -102
  109. package/npm_package/fesm2022/overlay.mjs.map +0 -1
  110. package/npm_package/fesm2022/passive-listeners-esHZRgIN.mjs +0 -31
  111. package/npm_package/fesm2022/passive-listeners-esHZRgIN.mjs.map +0 -1
  112. package/npm_package/fesm2022/platform-DmdVEw_C.mjs +0 -77
  113. package/npm_package/fesm2022/platform-DmdVEw_C.mjs.map +0 -1
  114. package/npm_package/fesm2022/platform.mjs +0 -74
  115. package/npm_package/fesm2022/platform.mjs.map +0 -1
  116. package/npm_package/fesm2022/portal-directives-Bw5woq8I.mjs +0 -653
  117. package/npm_package/fesm2022/portal-directives-Bw5woq8I.mjs.map +0 -1
  118. package/npm_package/fesm2022/portal.mjs +0 -29
  119. package/npm_package/fesm2022/portal.mjs.map +0 -1
  120. package/npm_package/fesm2022/private.mjs +0 -19
  121. package/npm_package/fesm2022/private.mjs.map +0 -1
  122. package/npm_package/fesm2022/recycle-view-repeater-strategy-DoWdPqVw.mjs +0 -156
  123. package/npm_package/fesm2022/recycle-view-repeater-strategy-DoWdPqVw.mjs.map +0 -1
  124. package/npm_package/fesm2022/scrolling-BkvA05C8.mjs +0 -99
  125. package/npm_package/fesm2022/scrolling-BkvA05C8.mjs.map +0 -1
  126. package/npm_package/fesm2022/scrolling.mjs +0 -1464
  127. package/npm_package/fesm2022/scrolling.mjs.map +0 -1
  128. package/npm_package/fesm2022/selection-model-CeeHVIcP.mjs +0 -226
  129. package/npm_package/fesm2022/selection-model-CeeHVIcP.mjs.map +0 -1
  130. package/npm_package/fesm2022/shadow-dom-B0oHn41l.mjs +0 -49
  131. package/npm_package/fesm2022/shadow-dom-B0oHn41l.mjs.map +0 -1
  132. package/npm_package/fesm2022/stepper.mjs +0 -614
  133. package/npm_package/fesm2022/stepper.mjs.map +0 -1
  134. package/npm_package/fesm2022/style-loader-Cu9AvjH9.mjs +0 -47
  135. package/npm_package/fesm2022/style-loader-Cu9AvjH9.mjs.map +0 -1
  136. package/npm_package/fesm2022/table.mjs +0 -2602
  137. package/npm_package/fesm2022/table.mjs.map +0 -1
  138. package/npm_package/fesm2022/test-environment-CT0XxPyp.mjs +0 -19
  139. package/npm_package/fesm2022/test-environment-CT0XxPyp.mjs.map +0 -1
  140. package/npm_package/fesm2022/testing/selenium-webdriver.mjs +0 -353
  141. package/npm_package/fesm2022/testing/selenium-webdriver.mjs.map +0 -1
  142. package/npm_package/fesm2022/testing/testbed.mjs +0 -782
  143. package/npm_package/fesm2022/testing/testbed.mjs.map +0 -1
  144. package/npm_package/fesm2022/testing.mjs +0 -698
  145. package/npm_package/fesm2022/testing.mjs.map +0 -1
  146. package/npm_package/fesm2022/text-field.mjs +0 -437
  147. package/npm_package/fesm2022/text-field.mjs.map +0 -1
  148. package/npm_package/fesm2022/tree-key-manager-KnCoIkIC.mjs +0 -360
  149. package/npm_package/fesm2022/tree-key-manager-KnCoIkIC.mjs.map +0 -1
  150. package/npm_package/fesm2022/tree.mjs +0 -1795
  151. package/npm_package/fesm2022/tree.mjs.map +0 -1
  152. package/npm_package/fesm2022/typeahead-9ZW4Dtsf.mjs +0 -88
  153. package/npm_package/fesm2022/typeahead-9ZW4Dtsf.mjs.map +0 -1
  154. package/npm_package/fesm2022/unique-selection-dispatcher-DtHZDqyJ.mjs +0 -49
  155. package/npm_package/fesm2022/unique-selection-dispatcher-DtHZDqyJ.mjs.map +0 -1
  156. package/npm_package/focus-key-manager.d-BIKDy8oD.d.ts +0 -34
  157. package/npm_package/focus-monitor.d-CvvJeQRc.d.ts +0 -210
  158. package/npm_package/harness-environment.d-BatBdODN.d.ts +0 -620
  159. package/npm_package/index.d.ts +0 -6
  160. package/npm_package/keycodes/index.d.ts +0 -129
  161. package/npm_package/layout/index.d.ts +0 -89
  162. package/npm_package/list-key-manager.d-BlK3jyRn.d.ts +0 -165
  163. package/npm_package/listbox/index.d.ts +0 -353
  164. package/npm_package/menu/index.d.ts +0 -821
  165. package/npm_package/number-property.d-CJVxXUcb.d.ts +0 -16
  166. package/npm_package/observers/index.d.ts +0 -84
  167. package/npm_package/observers/private/index.d.ts +0 -34
  168. package/npm_package/overlay/_index-deprecated.scss +0 -13
  169. package/npm_package/overlay/_index.scss +0 -193
  170. package/npm_package/overlay/index.d.ts +0 -42
  171. package/npm_package/overlay-module.d-B3qEQtts.d.ts +0 -791
  172. package/npm_package/overlay-prebuilt.css +0 -1
  173. package/npm_package/overlay.d-BdoMy0hX.d.ts +0 -296
  174. package/npm_package/package.json +0 -186
  175. package/npm_package/platform/index.d.ts +0 -83
  176. package/npm_package/platform.d-B3vREl3q.d.ts +0 -33
  177. package/npm_package/portal/index.d.ts +0 -86
  178. package/npm_package/portal-directives.d-BoG39gYN.d.ts +0 -232
  179. package/npm_package/private/index.d.ts +0 -13
  180. package/npm_package/schematics/collection.json +0 -18
  181. package/npm_package/schematics/index.d.ts +0 -14
  182. package/npm_package/schematics/index.js +0 -37
  183. package/npm_package/schematics/index.js.map +0 -1
  184. package/npm_package/schematics/migration.json +0 -15
  185. package/npm_package/schematics/ng-add/index.d.ts +0 -17
  186. package/npm_package/schematics/ng-add/index.js +0 -39
  187. package/npm_package/schematics/ng-add/index.js.map +0 -1
  188. package/npm_package/schematics/ng-add/package-config.d.ts +0 -12
  189. package/npm_package/schematics/ng-add/package-config.js +0 -51
  190. package/npm_package/schematics/ng-add/package-config.js.map +0 -1
  191. package/npm_package/schematics/ng-add/schema.d.ts +0 -11
  192. package/npm_package/schematics/ng-add/schema.js +0 -10
  193. package/npm_package/schematics/ng-add/schema.js.map +0 -1
  194. package/npm_package/schematics/ng-add/schema.json +0 -16
  195. package/npm_package/schematics/ng-generate/drag-drop/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__style__.template +0 -53
  196. package/npm_package/schematics/ng-generate/drag-drop/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +0 -21
  197. package/npm_package/schematics/ng-generate/drag-drop/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template +0 -25
  198. package/npm_package/schematics/ng-generate/drag-drop/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +0 -45
  199. package/npm_package/schematics/ng-generate/drag-drop/index.d.ts +0 -11
  200. package/npm_package/schematics/ng-generate/drag-drop/index.js +0 -42
  201. package/npm_package/schematics/ng-generate/drag-drop/index.js.map +0 -1
  202. package/npm_package/schematics/ng-generate/drag-drop/schema.d.ts +0 -10
  203. package/npm_package/schematics/ng-generate/drag-drop/schema.js +0 -10
  204. package/npm_package/schematics/ng-generate/drag-drop/schema.js.map +0 -1
  205. package/npm_package/schematics/ng-generate/drag-drop/schema.json +0 -100
  206. package/npm_package/schematics/ng-update/data/attribute-selectors.d.ts +0 -15
  207. package/npm_package/schematics/ng-update/data/attribute-selectors.js +0 -12
  208. package/npm_package/schematics/ng-update/data/attribute-selectors.js.map +0 -1
  209. package/npm_package/schematics/ng-update/data/class-names.d.ts +0 -15
  210. package/npm_package/schematics/ng-update/data/class-names.js +0 -12
  211. package/npm_package/schematics/ng-update/data/class-names.js.map +0 -1
  212. package/npm_package/schematics/ng-update/data/constructor-checks.d.ts +0 -15
  213. package/npm_package/schematics/ng-update/data/constructor-checks.js +0 -17
  214. package/npm_package/schematics/ng-update/data/constructor-checks.js.map +0 -1
  215. package/npm_package/schematics/ng-update/data/css-selectors.d.ts +0 -27
  216. package/npm_package/schematics/ng-update/data/css-selectors.js +0 -12
  217. package/npm_package/schematics/ng-update/data/css-selectors.js.map +0 -1
  218. package/npm_package/schematics/ng-update/data/css-tokens.d.ts +0 -27
  219. package/npm_package/schematics/ng-update/data/css-tokens.js +0 -12
  220. package/npm_package/schematics/ng-update/data/css-tokens.js.map +0 -1
  221. package/npm_package/schematics/ng-update/data/element-selectors.d.ts +0 -15
  222. package/npm_package/schematics/ng-update/data/element-selectors.js +0 -12
  223. package/npm_package/schematics/ng-update/data/element-selectors.js.map +0 -1
  224. package/npm_package/schematics/ng-update/data/index.d.ts +0 -18
  225. package/npm_package/schematics/ng-update/data/index.js +0 -35
  226. package/npm_package/schematics/ng-update/data/index.js.map +0 -1
  227. package/npm_package/schematics/ng-update/data/input-names.d.ts +0 -22
  228. package/npm_package/schematics/ng-update/data/input-names.js +0 -12
  229. package/npm_package/schematics/ng-update/data/input-names.js.map +0 -1
  230. package/npm_package/schematics/ng-update/data/method-call-checks.d.ts +0 -17
  231. package/npm_package/schematics/ng-update/data/method-call-checks.js +0 -12
  232. package/npm_package/schematics/ng-update/data/method-call-checks.js.map +0 -1
  233. package/npm_package/schematics/ng-update/data/output-names.d.ts +0 -22
  234. package/npm_package/schematics/ng-update/data/output-names.js +0 -12
  235. package/npm_package/schematics/ng-update/data/output-names.js.map +0 -1
  236. package/npm_package/schematics/ng-update/data/property-names.d.ts +0 -20
  237. package/npm_package/schematics/ng-update/data/property-names.js +0 -12
  238. package/npm_package/schematics/ng-update/data/property-names.js.map +0 -1
  239. package/npm_package/schematics/ng-update/data/symbol-removal.d.ts +0 -17
  240. package/npm_package/schematics/ng-update/data/symbol-removal.js +0 -12
  241. package/npm_package/schematics/ng-update/data/symbol-removal.js.map +0 -1
  242. package/npm_package/schematics/ng-update/devkit-file-system.d.ts +0 -30
  243. package/npm_package/schematics/ng-update/devkit-file-system.js +0 -83
  244. package/npm_package/schematics/ng-update/devkit-file-system.js.map +0 -1
  245. package/npm_package/schematics/ng-update/devkit-migration-rule.d.ts +0 -24
  246. package/npm_package/schematics/ng-update/devkit-migration-rule.js +0 -142
  247. package/npm_package/schematics/ng-update/devkit-migration-rule.js.map +0 -1
  248. package/npm_package/schematics/ng-update/devkit-migration.d.ts +0 -35
  249. package/npm_package/schematics/ng-update/devkit-migration.js +0 -20
  250. package/npm_package/schematics/ng-update/devkit-migration.js.map +0 -1
  251. package/npm_package/schematics/ng-update/find-stylesheets.d.ts +0 -16
  252. package/npm_package/schematics/ng-update/find-stylesheets.js +0 -41
  253. package/npm_package/schematics/ng-update/find-stylesheets.js.map +0 -1
  254. package/npm_package/schematics/ng-update/html-parsing/angular.d.ts +0 -15
  255. package/npm_package/schematics/ng-update/html-parsing/angular.js +0 -51
  256. package/npm_package/schematics/ng-update/html-parsing/angular.js.map +0 -1
  257. package/npm_package/schematics/ng-update/html-parsing/elements.d.ts +0 -24
  258. package/npm_package/schematics/ng-update/html-parsing/elements.js +0 -63
  259. package/npm_package/schematics/ng-update/html-parsing/elements.js.map +0 -1
  260. package/npm_package/schematics/ng-update/index.d.ts +0 -10
  261. package/npm_package/schematics/ng-update/index.js +0 -29
  262. package/npm_package/schematics/ng-update/index.js.map +0 -1
  263. package/npm_package/schematics/ng-update/migrations/attribute-selectors.d.ts +0 -26
  264. package/npm_package/schematics/ng-update/migrations/attribute-selectors.js +0 -71
  265. package/npm_package/schematics/ng-update/migrations/attribute-selectors.js.map +0 -1
  266. package/npm_package/schematics/ng-update/migrations/class-inheritance.d.ts +0 -26
  267. package/npm_package/schematics/ng-update/migrations/class-inheritance.js +0 -58
  268. package/npm_package/schematics/ng-update/migrations/class-inheritance.js.map +0 -1
  269. package/npm_package/schematics/ng-update/migrations/class-names.d.ts +0 -32
  270. package/npm_package/schematics/ng-update/migrations/class-names.js +0 -91
  271. package/npm_package/schematics/ng-update/migrations/class-names.js.map +0 -1
  272. package/npm_package/schematics/ng-update/migrations/constructor-signature.d.ts +0 -29
  273. package/npm_package/schematics/ng-update/migrations/constructor-signature.js +0 -139
  274. package/npm_package/schematics/ng-update/migrations/constructor-signature.js.map +0 -1
  275. package/npm_package/schematics/ng-update/migrations/css-selectors.d.ts +0 -26
  276. package/npm_package/schematics/ng-update/migrations/css-selectors.js +0 -75
  277. package/npm_package/schematics/ng-update/migrations/css-selectors.js.map +0 -1
  278. package/npm_package/schematics/ng-update/migrations/css-tokens.d.ts +0 -26
  279. package/npm_package/schematics/ng-update/migrations/css-tokens.js +0 -83
  280. package/npm_package/schematics/ng-update/migrations/css-tokens.js.map +0 -1
  281. package/npm_package/schematics/ng-update/migrations/element-selectors.d.ts +0 -26
  282. package/npm_package/schematics/ng-update/migrations/element-selectors.js +0 -66
  283. package/npm_package/schematics/ng-update/migrations/element-selectors.js.map +0 -1
  284. package/npm_package/schematics/ng-update/migrations/input-names.d.ts +0 -26
  285. package/npm_package/schematics/ng-update/migrations/input-names.js +0 -59
  286. package/npm_package/schematics/ng-update/migrations/input-names.js.map +0 -1
  287. package/npm_package/schematics/ng-update/migrations/method-call-arguments.d.ts +0 -22
  288. package/npm_package/schematics/ng-update/migrations/method-call-arguments.js +0 -62
  289. package/npm_package/schematics/ng-update/migrations/method-call-arguments.js.map +0 -1
  290. package/npm_package/schematics/ng-update/migrations/misc-template.d.ts +0 -18
  291. package/npm_package/schematics/ng-update/migrations/misc-template.js +0 -25
  292. package/npm_package/schematics/ng-update/migrations/misc-template.js.map +0 -1
  293. package/npm_package/schematics/ng-update/migrations/output-names.d.ts +0 -22
  294. package/npm_package/schematics/ng-update/migrations/output-names.js +0 -46
  295. package/npm_package/schematics/ng-update/migrations/output-names.js.map +0 -1
  296. package/npm_package/schematics/ng-update/migrations/property-names.d.ts +0 -22
  297. package/npm_package/schematics/ng-update/migrations/property-names.js +0 -60
  298. package/npm_package/schematics/ng-update/migrations/property-names.js.map +0 -1
  299. package/npm_package/schematics/ng-update/migrations/symbol-removal.d.ts +0 -18
  300. package/npm_package/schematics/ng-update/migrations/symbol-removal.js +0 -47
  301. package/npm_package/schematics/ng-update/migrations/symbol-removal.js.map +0 -1
  302. package/npm_package/schematics/ng-update/public-api.d.ts +0 -19
  303. package/npm_package/schematics/ng-update/public-api.js +0 -36
  304. package/npm_package/schematics/ng-update/public-api.js.map +0 -1
  305. package/npm_package/schematics/ng-update/typescript/base-types.d.ts +0 -10
  306. package/npm_package/schematics/ng-update/typescript/base-types.js +0 -23
  307. package/npm_package/schematics/ng-update/typescript/base-types.js.map +0 -1
  308. package/npm_package/schematics/ng-update/typescript/imports.d.ts +0 -18
  309. package/npm_package/schematics/ng-update/typescript/imports.js +0 -53
  310. package/npm_package/schematics/ng-update/typescript/imports.js.map +0 -1
  311. package/npm_package/schematics/ng-update/typescript/literal.d.ts +0 -18
  312. package/npm_package/schematics/ng-update/typescript/literal.js +0 -32
  313. package/npm_package/schematics/ng-update/typescript/literal.js.map +0 -1
  314. package/npm_package/schematics/ng-update/typescript/module-specifiers.d.ts +0 -16
  315. package/npm_package/schematics/ng-update/typescript/module-specifiers.js +0 -35
  316. package/npm_package/schematics/ng-update/typescript/module-specifiers.js.map +0 -1
  317. package/npm_package/schematics/ng-update/upgrade-data.d.ts +0 -35
  318. package/npm_package/schematics/ng-update/upgrade-data.js +0 -40
  319. package/npm_package/schematics/ng-update/upgrade-data.js.map +0 -1
  320. package/npm_package/schematics/package.json +0 -3
  321. package/npm_package/schematics/paths.d.ts +0 -11
  322. package/npm_package/schematics/paths.js +0 -16
  323. package/npm_package/schematics/paths.js.map +0 -1
  324. package/npm_package/schematics/update-tool/component-resource-collector.d.ts +0 -44
  325. package/npm_package/schematics/update-tool/component-resource-collector.js +0 -164
  326. package/npm_package/schematics/update-tool/component-resource-collector.js.map +0 -1
  327. package/npm_package/schematics/update-tool/file-system.d.ts +0 -72
  328. package/npm_package/schematics/update-tool/file-system.js +0 -18
  329. package/npm_package/schematics/update-tool/file-system.js.map +0 -1
  330. package/npm_package/schematics/update-tool/index.d.ts +0 -74
  331. package/npm_package/schematics/update-tool/index.js +0 -172
  332. package/npm_package/schematics/update-tool/index.js.map +0 -1
  333. package/npm_package/schematics/update-tool/logger.d.ts +0 -15
  334. package/npm_package/schematics/update-tool/logger.js +0 -18
  335. package/npm_package/schematics/update-tool/logger.js.map +0 -1
  336. package/npm_package/schematics/update-tool/migration.d.ts +0 -87
  337. package/npm_package/schematics/update-tool/migration.js +0 -70
  338. package/npm_package/schematics/update-tool/migration.js.map +0 -1
  339. package/npm_package/schematics/update-tool/public-api.d.ts +0 -16
  340. package/npm_package/schematics/update-tool/public-api.js +0 -33
  341. package/npm_package/schematics/update-tool/public-api.js.map +0 -1
  342. package/npm_package/schematics/update-tool/target-version.d.ts +0 -16
  343. package/npm_package/schematics/update-tool/target-version.js +0 -27
  344. package/npm_package/schematics/update-tool/target-version.js.map +0 -1
  345. package/npm_package/schematics/update-tool/update-recorder.d.ts +0 -13
  346. package/npm_package/schematics/update-tool/update-recorder.js +0 -10
  347. package/npm_package/schematics/update-tool/update-recorder.js.map +0 -1
  348. package/npm_package/schematics/update-tool/utils/decorators.d.ts +0 -22
  349. package/npm_package/schematics/update-tool/utils/decorators.js +0 -41
  350. package/npm_package/schematics/update-tool/utils/decorators.js.map +0 -1
  351. package/npm_package/schematics/update-tool/utils/diagnostics.d.ts +0 -11
  352. package/npm_package/schematics/update-tool/utils/diagnostics.js +0 -18
  353. package/npm_package/schematics/update-tool/utils/diagnostics.js.map +0 -1
  354. package/npm_package/schematics/update-tool/utils/functions.d.ts +0 -14
  355. package/npm_package/schematics/update-tool/utils/functions.js +0 -20
  356. package/npm_package/schematics/update-tool/utils/functions.js.map +0 -1
  357. package/npm_package/schematics/update-tool/utils/imports.d.ts +0 -17
  358. package/npm_package/schematics/update-tool/utils/imports.js +0 -110
  359. package/npm_package/schematics/update-tool/utils/imports.js.map +0 -1
  360. package/npm_package/schematics/update-tool/utils/line-mappings.d.ts +0 -21
  361. package/npm_package/schematics/update-tool/utils/line-mappings.js +0 -75
  362. package/npm_package/schematics/update-tool/utils/line-mappings.js.map +0 -1
  363. package/npm_package/schematics/update-tool/utils/parse-tsconfig.d.ts +0 -18
  364. package/npm_package/schematics/update-tool/utils/parse-tsconfig.js +0 -45
  365. package/npm_package/schematics/update-tool/utils/parse-tsconfig.js.map +0 -1
  366. package/npm_package/schematics/update-tool/utils/property-name.d.ts +0 -18
  367. package/npm_package/schematics/update-tool/utils/property-name.js +0 -27
  368. package/npm_package/schematics/update-tool/utils/property-name.js.map +0 -1
  369. package/npm_package/schematics/update-tool/utils/virtual-host.d.ts +0 -36
  370. package/npm_package/schematics/update-tool/utils/virtual-host.js +0 -71
  371. package/npm_package/schematics/update-tool/utils/virtual-host.js.map +0 -1
  372. package/npm_package/schematics/update-tool/version-changes.d.ts +0 -32
  373. package/npm_package/schematics/update-tool/version-changes.js +0 -38
  374. package/npm_package/schematics/update-tool/version-changes.js.map +0 -1
  375. package/npm_package/schematics/utils/ast/ng-module-imports.d.ts +0 -12
  376. package/npm_package/schematics/utils/ast/ng-module-imports.js +0 -82
  377. package/npm_package/schematics/utils/ast/ng-module-imports.js.map +0 -1
  378. package/npm_package/schematics/utils/ast.d.ts +0 -25
  379. package/npm_package/schematics/utils/ast.js +0 -79
  380. package/npm_package/schematics/utils/ast.js.map +0 -1
  381. package/npm_package/schematics/utils/build-component.d.ts +0 -20
  382. package/npm_package/schematics/utils/build-component.js +0 -188
  383. package/npm_package/schematics/utils/build-component.js.map +0 -1
  384. package/npm_package/schematics/utils/get-project.d.ts +0 -13
  385. package/npm_package/schematics/utils/get-project.js +0 -28
  386. package/npm_package/schematics/utils/get-project.js.map +0 -1
  387. package/npm_package/schematics/utils/html-manipulation.d.ts +0 -15
  388. package/npm_package/schematics/utils/html-manipulation.js +0 -91
  389. package/npm_package/schematics/utils/html-manipulation.js.map +0 -1
  390. package/npm_package/schematics/utils/index.d.ts +0 -19
  391. package/npm_package/schematics/utils/index.js +0 -36
  392. package/npm_package/schematics/utils/index.js.map +0 -1
  393. package/npm_package/schematics/utils/parse5-element.d.ts +0 -12
  394. package/npm_package/schematics/utils/parse5-element.js +0 -30
  395. package/npm_package/schematics/utils/parse5-element.js.map +0 -1
  396. package/npm_package/schematics/utils/project-index-file.d.ts +0 -10
  397. package/npm_package/schematics/utils/project-index-file.js +0 -20
  398. package/npm_package/schematics/utils/project-index-file.js.map +0 -1
  399. package/npm_package/schematics/utils/project-main-file.d.ts +0 -10
  400. package/npm_package/schematics/utils/project-main-file.js +0 -25
  401. package/npm_package/schematics/utils/project-main-file.js.map +0 -1
  402. package/npm_package/schematics/utils/project-style-file.d.ts +0 -13
  403. package/npm_package/schematics/utils/project-style-file.js +0 -42
  404. package/npm_package/schematics/utils/project-style-file.js.map +0 -1
  405. package/npm_package/schematics/utils/project-targets.d.ts +0 -14
  406. package/npm_package/schematics/utils/project-targets.js +0 -46
  407. package/npm_package/schematics/utils/project-targets.js.map +0 -1
  408. package/npm_package/schematics/utils/project-tsconfig-paths.d.ts +0 -14
  409. package/npm_package/schematics/utils/project-tsconfig-paths.js +0 -46
  410. package/npm_package/schematics/utils/project-tsconfig-paths.js.map +0 -1
  411. package/npm_package/schematics/utils/schematic-options.d.ts +0 -20
  412. package/npm_package/schematics/utils/schematic-options.js +0 -89
  413. package/npm_package/schematics/utils/schematic-options.js.map +0 -1
  414. package/npm_package/scrolling/index.d.ts +0 -62
  415. package/npm_package/scrolling-module.d-ud2XrbF8.d.ts +0 -552
  416. package/npm_package/selection-model.d-C_vvNGP-.d.ts +0 -117
  417. package/npm_package/stepper/index.d.ts +0 -228
  418. package/npm_package/style-loader.d-BXZfQZTF.d.ts +0 -21
  419. package/npm_package/table/index.d.ts +0 -1100
  420. package/npm_package/testing/index.d.ts +0 -94
  421. package/npm_package/testing/selenium-webdriver/index.d.ts +0 -150
  422. package/npm_package/testing/testbed/index.d.ts +0 -157
  423. package/npm_package/text-field/_index.scss +0 -89
  424. package/npm_package/text-field/index.d.ts +0 -156
  425. package/npm_package/text-field-prebuilt.css +0 -1
  426. package/npm_package/tree/index.d.ts +0 -720
  427. package/npm_package/tree-key-manager-strategy.d-XB6M79l-.d.ts +0 -116
  428. package/npm_package/unique-selection-dispatcher.d-DSFqf1MM.d.ts +0 -33
  429. package/npm_package/view-repeater.d-BKljR8u8.d.ts +0 -89
@@ -1,1383 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { InjectionToken, ElementRef, NgZone, OnDestroy, EventEmitter, AfterViewInit, TemplateRef, OnChanges, SimpleChanges, ViewContainerRef, Renderer2 } from '@angular/core';
3
- import { a as Direction } from '../bidi-module.d-D-fEBKdS.js';
4
- import { Subject, Observable } from 'rxjs';
5
- import { ViewportRuler } from '../scrolling/index.js';
6
- import { N as NumberInput } from '../number-property.d-CJVxXUcb.js';
7
- import { a as CdkScrollableModule } from '../scrolling-module.d-ud2XrbF8.js';
8
- export { C as ɵɵCdkScrollable } from '../scrolling-module.d-ud2XrbF8.js';
9
- import '../data-source.d-Bblv7Zvh.js';
10
-
11
- /** Possible values that can be used to configure the drag start delay. */
12
- type DragStartDelay = number | {
13
- touch: number;
14
- mouse: number;
15
- };
16
- /** Possible axis along which dragging can be locked. */
17
- type DragAxis = 'x' | 'y';
18
- /** Function that can be used to constrain the position of a dragged element. */
19
- type DragConstrainPosition = (point: Point, dragRef: DragRef) => Point;
20
- /** Possible orientations for a drop list. */
21
- type DropListOrientation = 'horizontal' | 'vertical' | 'mixed';
22
- /**
23
- * Injection token that can be used to configure the
24
- * behavior of the drag&drop-related components.
25
- */
26
- declare const CDK_DRAG_CONFIG: InjectionToken<DragDropConfig>;
27
- /**
28
- * Object that can be used to configure the drag
29
- * items and drop lists within a module or a component.
30
- */
31
- interface DragDropConfig extends Partial<DragRefConfig> {
32
- lockAxis?: DragAxis;
33
- dragStartDelay?: DragStartDelay;
34
- constrainPosition?: DragConstrainPosition;
35
- previewClass?: string | string[];
36
- boundaryElement?: string;
37
- rootElementSelector?: string;
38
- draggingDisabled?: boolean;
39
- sortingDisabled?: boolean;
40
- listAutoScrollDisabled?: boolean;
41
- listOrientation?: DropListOrientation;
42
- zIndex?: number;
43
- previewContainer?: 'global' | 'parent';
44
- }
45
-
46
- /**
47
- * Reference to a drop list. Used to manipulate or dispose of the container.
48
- */
49
- declare class DropListRef<T = any> {
50
- private _dragDropRegistry;
51
- private _ngZone;
52
- private _viewportRuler;
53
- /** Element that the drop list is attached to. */
54
- element: HTMLElement | ElementRef<HTMLElement>;
55
- /** Whether starting a dragging sequence from this container is disabled. */
56
- disabled: boolean;
57
- /** Whether sorting items within the list is disabled. */
58
- sortingDisabled: boolean;
59
- /** Locks the position of the draggable elements inside the container along the specified axis. */
60
- lockAxis: 'x' | 'y';
61
- /**
62
- * Whether auto-scrolling the view when the user
63
- * moves their pointer close to the edges is disabled.
64
- */
65
- autoScrollDisabled: boolean;
66
- /** Number of pixels to scroll for each frame when auto-scrolling an element. */
67
- autoScrollStep: number;
68
- /**
69
- * Function that is used to determine whether an item
70
- * is allowed to be moved into a drop container.
71
- */
72
- enterPredicate: (drag: DragRef, drop: DropListRef) => boolean;
73
- /** Function that is used to determine whether an item can be sorted into a particular index. */
74
- sortPredicate: (index: number, drag: DragRef, drop: DropListRef) => boolean;
75
- /** Emits right before dragging has started. */
76
- readonly beforeStarted: Subject<void>;
77
- /**
78
- * Emits when the user has moved a new drag item into this container.
79
- */
80
- readonly entered: Subject<{
81
- item: DragRef;
82
- container: DropListRef;
83
- currentIndex: number;
84
- }>;
85
- /**
86
- * Emits when the user removes an item from the container
87
- * by dragging it into another container.
88
- */
89
- readonly exited: Subject<{
90
- item: DragRef;
91
- container: DropListRef;
92
- }>;
93
- /** Emits when the user drops an item inside the container. */
94
- readonly dropped: Subject<{
95
- item: DragRef;
96
- currentIndex: number;
97
- previousIndex: number;
98
- container: DropListRef;
99
- previousContainer: DropListRef;
100
- isPointerOverContainer: boolean;
101
- distance: Point;
102
- dropPoint: Point;
103
- event: MouseEvent | TouchEvent;
104
- }>;
105
- /** Emits as the user is swapping items while actively dragging. */
106
- readonly sorted: Subject<{
107
- previousIndex: number;
108
- currentIndex: number;
109
- container: DropListRef;
110
- item: DragRef;
111
- }>;
112
- /** Emits when a dragging sequence is started in a list connected to the current one. */
113
- readonly receivingStarted: Subject<{
114
- receiver: DropListRef;
115
- initiator: DropListRef;
116
- items: DragRef[];
117
- }>;
118
- /** Emits when a dragging sequence is stopped from a list connected to the current one. */
119
- readonly receivingStopped: Subject<{
120
- receiver: DropListRef;
121
- initiator: DropListRef;
122
- }>;
123
- /** Arbitrary data that can be attached to the drop list. */
124
- data: T;
125
- /** Element that is the direct parent of the drag items. */
126
- private _container;
127
- /** Whether an item in the list is being dragged. */
128
- private _isDragging;
129
- /** Keeps track of the positions of any parent scrollable elements. */
130
- private _parentPositions;
131
- /** Strategy being used to sort items within the list. */
132
- private _sortStrategy;
133
- /** Cached `DOMRect` of the drop list. */
134
- private _domRect;
135
- /** Draggable items in the container. */
136
- private _draggables;
137
- /** Drop lists that are connected to the current one. */
138
- private _siblings;
139
- /** Connected siblings that currently have a dragged item. */
140
- private _activeSiblings;
141
- /** Subscription to the window being scrolled. */
142
- private _viewportScrollSubscription;
143
- /** Vertical direction in which the list is currently scrolling. */
144
- private _verticalScrollDirection;
145
- /** Horizontal direction in which the list is currently scrolling. */
146
- private _horizontalScrollDirection;
147
- /** Node that is being auto-scrolled. */
148
- private _scrollNode;
149
- /** Used to signal to the current auto-scroll sequence when to stop. */
150
- private readonly _stopScrollTimers;
151
- /** Shadow root of the current element. Necessary for `elementFromPoint` to resolve correctly. */
152
- private _cachedShadowRoot;
153
- /** Reference to the document. */
154
- private _document;
155
- /** Elements that can be scrolled while the user is dragging. */
156
- private _scrollableElements;
157
- /** Initial value for the element's `scroll-snap-type` style. */
158
- private _initialScrollSnap;
159
- /** Direction of the list's layout. */
160
- private _direction;
161
- constructor(element: ElementRef<HTMLElement> | HTMLElement, _dragDropRegistry: DragDropRegistry, _document: any, _ngZone: NgZone, _viewportRuler: ViewportRuler);
162
- /** Removes the drop list functionality from the DOM element. */
163
- dispose(): void;
164
- /** Whether an item from this list is currently being dragged. */
165
- isDragging(): boolean;
166
- /** Starts dragging an item. */
167
- start(): void;
168
- /**
169
- * Attempts to move an item into the container.
170
- * @param item Item that was moved into the container.
171
- * @param pointerX Position of the item along the X axis.
172
- * @param pointerY Position of the item along the Y axis.
173
- * @param index Index at which the item entered. If omitted, the container will try to figure it
174
- * out automatically.
175
- */
176
- enter(item: DragRef, pointerX: number, pointerY: number, index?: number): void;
177
- /**
178
- * Removes an item from the container after it was dragged into another container by the user.
179
- * @param item Item that was dragged out.
180
- */
181
- exit(item: DragRef): void;
182
- /**
183
- * Drops an item into this container.
184
- * @param item Item being dropped into the container.
185
- * @param currentIndex Index at which the item should be inserted.
186
- * @param previousIndex Index of the item when dragging started.
187
- * @param previousContainer Container from which the item got dragged in.
188
- * @param isPointerOverContainer Whether the user's pointer was over the
189
- * container when the item was dropped.
190
- * @param distance Distance the user has dragged since the start of the dragging sequence.
191
- * @param event Event that triggered the dropping sequence.
192
- *
193
- * @breaking-change 15.0.0 `previousIndex` and `event` parameters to become required.
194
- */
195
- drop(item: DragRef, currentIndex: number, previousIndex: number, previousContainer: DropListRef, isPointerOverContainer: boolean, distance: Point, dropPoint: Point, event?: MouseEvent | TouchEvent): void;
196
- /**
197
- * Sets the draggable items that are a part of this list.
198
- * @param items Items that are a part of this list.
199
- */
200
- withItems(items: DragRef[]): this;
201
- /** Sets the layout direction of the drop list. */
202
- withDirection(direction: Direction): this;
203
- /**
204
- * Sets the containers that are connected to this one. When two or more containers are
205
- * connected, the user will be allowed to transfer items between them.
206
- * @param connectedTo Other containers that the current containers should be connected to.
207
- */
208
- connectedTo(connectedTo: DropListRef[]): this;
209
- /**
210
- * Sets the orientation of the container.
211
- * @param orientation New orientation for the container.
212
- */
213
- withOrientation(orientation: DropListOrientation): this;
214
- /**
215
- * Sets which parent elements are can be scrolled while the user is dragging.
216
- * @param elements Elements that can be scrolled.
217
- */
218
- withScrollableParents(elements: HTMLElement[]): this;
219
- /**
220
- * Configures the drop list so that a different element is used as the container for the
221
- * dragged items. This is useful for the cases when one might not have control over the
222
- * full DOM that sets up the dragging.
223
- * Note that the alternate container needs to be a descendant of the drop list.
224
- * @param container New element container to be assigned.
225
- */
226
- withElementContainer(container: HTMLElement): this;
227
- /** Gets the scrollable parents that are registered with this drop container. */
228
- getScrollableParents(): readonly HTMLElement[];
229
- /**
230
- * Figures out the index of an item in the container.
231
- * @param item Item whose index should be determined.
232
- */
233
- getItemIndex(item: DragRef): number;
234
- /**
235
- * Whether the list is able to receive the item that
236
- * is currently being dragged inside a connected drop list.
237
- */
238
- isReceiving(): boolean;
239
- /**
240
- * Sorts an item inside the container based on its position.
241
- * @param item Item to be sorted.
242
- * @param pointerX Position of the item along the X axis.
243
- * @param pointerY Position of the item along the Y axis.
244
- * @param pointerDelta Direction in which the pointer is moving along each axis.
245
- */
246
- _sortItem(item: DragRef, pointerX: number, pointerY: number, pointerDelta: {
247
- x: number;
248
- y: number;
249
- }): void;
250
- /**
251
- * Checks whether the user's pointer is close to the edges of either the
252
- * viewport or the drop list and starts the auto-scroll sequence.
253
- * @param pointerX User's pointer position along the x axis.
254
- * @param pointerY User's pointer position along the y axis.
255
- */
256
- _startScrollingIfNecessary(pointerX: number, pointerY: number): void;
257
- /** Stops any currently-running auto-scroll sequences. */
258
- _stopScrolling(): void;
259
- /** Starts the dragging sequence within the list. */
260
- private _draggingStarted;
261
- /** Caches the positions of the configured scrollable parents. */
262
- private _cacheParentPositions;
263
- /** Resets the container to its initial state. */
264
- private _reset;
265
- /** Starts the interval that'll auto-scroll the element. */
266
- private _startScrollInterval;
267
- /**
268
- * Checks whether the user's pointer is positioned over the container.
269
- * @param x Pointer position along the X axis.
270
- * @param y Pointer position along the Y axis.
271
- */
272
- _isOverContainer(x: number, y: number): boolean;
273
- /**
274
- * Figures out whether an item should be moved into a sibling
275
- * drop container, based on its current position.
276
- * @param item Drag item that is being moved.
277
- * @param x Position of the item along the X axis.
278
- * @param y Position of the item along the Y axis.
279
- */
280
- _getSiblingContainerFromPosition(item: DragRef, x: number, y: number): DropListRef | undefined;
281
- /**
282
- * Checks whether the drop list can receive the passed-in item.
283
- * @param item Item that is being dragged into the list.
284
- * @param x Position of the item along the X axis.
285
- * @param y Position of the item along the Y axis.
286
- */
287
- _canReceive(item: DragRef, x: number, y: number): boolean;
288
- /**
289
- * Called by one of the connected drop lists when a dragging sequence has started.
290
- * @param sibling Sibling in which dragging has started.
291
- */
292
- _startReceiving(sibling: DropListRef, items: DragRef[]): void;
293
- /**
294
- * Called by a connected drop list when dragging has stopped.
295
- * @param sibling Sibling whose dragging has stopped.
296
- */
297
- _stopReceiving(sibling: DropListRef): void;
298
- /**
299
- * Starts listening to scroll events on the viewport.
300
- * Used for updating the internal state of the list.
301
- */
302
- private _listenToScrollEvents;
303
- /**
304
- * Lazily resolves and returns the shadow root of the element. We do this in a function, rather
305
- * than saving it in property directly on init, because we want to resolve it as late as possible
306
- * in order to ensure that the element has been moved into the shadow DOM. Doing it inside the
307
- * constructor might be too early if the element is inside of something like `ngFor` or `ngIf`.
308
- */
309
- private _getShadowRoot;
310
- /** Notifies any siblings that may potentially receive the item. */
311
- private _notifyReceivingSiblings;
312
- }
313
-
314
- /** Container that wraps a set of draggable items. */
315
- declare class CdkDropList<T = any> implements OnDestroy {
316
- element: ElementRef<HTMLElement>;
317
- private _changeDetectorRef;
318
- private _scrollDispatcher;
319
- private _dir;
320
- private _group;
321
- /** Refs that have been synced with the drop ref most recently. */
322
- private _latestSortedRefs;
323
- /** Emits when the list has been destroyed. */
324
- private readonly _destroyed;
325
- /** Whether the element's scrollable parents have been resolved. */
326
- private _scrollableParentsResolved;
327
- /** Keeps track of the drop lists that are currently on the page. */
328
- private static _dropLists;
329
- /** Reference to the underlying drop list instance. */
330
- _dropListRef: DropListRef<CdkDropList<T>>;
331
- /**
332
- * Other draggable containers that this container is connected to and into which the
333
- * container's items can be transferred. Can either be references to other drop containers,
334
- * or their unique IDs.
335
- */
336
- connectedTo: (CdkDropList | string)[] | CdkDropList | string;
337
- /** Arbitrary data to attach to this container. */
338
- data: T;
339
- /** Direction in which the list is oriented. */
340
- orientation: DropListOrientation;
341
- /**
342
- * Unique ID for the drop zone. Can be used as a reference
343
- * in the `connectedTo` of another `CdkDropList`.
344
- */
345
- id: string;
346
- /** Locks the position of the draggable elements inside the container along the specified axis. */
347
- lockAxis: DragAxis;
348
- /** Whether starting a dragging sequence from this container is disabled. */
349
- get disabled(): boolean;
350
- set disabled(value: boolean);
351
- private _disabled;
352
- /** Whether sorting within this drop list is disabled. */
353
- sortingDisabled: boolean;
354
- /**
355
- * Function that is used to determine whether an item
356
- * is allowed to be moved into a drop container.
357
- */
358
- enterPredicate: (drag: CdkDrag, drop: CdkDropList) => boolean;
359
- /** Functions that is used to determine whether an item can be sorted into a particular index. */
360
- sortPredicate: (index: number, drag: CdkDrag, drop: CdkDropList) => boolean;
361
- /** Whether to auto-scroll the view when the user moves their pointer close to the edges. */
362
- autoScrollDisabled: boolean;
363
- /** Number of pixels to scroll for each frame when auto-scrolling an element. */
364
- autoScrollStep: NumberInput;
365
- /**
366
- * Selector that will be used to resolve an alternate element container for the drop list.
367
- * Passing an alternate container is useful for the cases where one might not have control
368
- * over the parent node of the draggable items within the list (e.g. due to content projection).
369
- * This allows for usages like:
370
- *
371
- * ```
372
- * <div cdkDropList cdkDropListElementContainer=".inner">
373
- * <div class="inner">
374
- * <div cdkDrag></div>
375
- * </div>
376
- * </div>
377
- * ```
378
- */
379
- elementContainerSelector: string | null;
380
- /** Emits when the user drops an item inside the container. */
381
- readonly dropped: EventEmitter<CdkDragDrop<T, any>>;
382
- /**
383
- * Emits when the user has moved a new drag item into this container.
384
- */
385
- readonly entered: EventEmitter<CdkDragEnter<T>>;
386
- /**
387
- * Emits when the user removes an item from the container
388
- * by dragging it into another container.
389
- */
390
- readonly exited: EventEmitter<CdkDragExit<T>>;
391
- /** Emits as the user is swapping items while actively dragging. */
392
- readonly sorted: EventEmitter<CdkDragSortEvent<T>>;
393
- /**
394
- * Keeps track of the items that are registered with this container. Historically we used to
395
- * do this with a `ContentChildren` query, however queries don't handle transplanted views very
396
- * well which means that we can't handle cases like dragging the headers of a `mat-table`
397
- * correctly. What we do instead is to have the items register themselves with the container
398
- * and then we sort them based on their position in the DOM.
399
- */
400
- private _unsortedItems;
401
- constructor(...args: unknown[]);
402
- /** Registers an items with the drop list. */
403
- addItem(item: CdkDrag): void;
404
- /** Removes an item from the drop list. */
405
- removeItem(item: CdkDrag): void;
406
- /** Gets the registered items in the list, sorted by their position in the DOM. */
407
- getSortedItems(): CdkDrag[];
408
- ngOnDestroy(): void;
409
- /** Syncs the inputs of the CdkDropList with the options of the underlying DropListRef. */
410
- private _setupInputSyncSubscription;
411
- /** Handles events from the underlying DropListRef. */
412
- private _handleEvents;
413
- /** Assigns the default input values based on a provided config object. */
414
- private _assignDefaults;
415
- /** Syncs up the registered drag items with underlying drop list ref. */
416
- private _syncItemsWithRef;
417
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkDropList<any>, never>;
418
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkDropList<any>, "[cdkDropList], cdk-drop-list", ["cdkDropList"], { "connectedTo": { "alias": "cdkDropListConnectedTo"; "required": false; }; "data": { "alias": "cdkDropListData"; "required": false; }; "orientation": { "alias": "cdkDropListOrientation"; "required": false; }; "id": { "alias": "id"; "required": false; }; "lockAxis": { "alias": "cdkDropListLockAxis"; "required": false; }; "disabled": { "alias": "cdkDropListDisabled"; "required": false; }; "sortingDisabled": { "alias": "cdkDropListSortingDisabled"; "required": false; }; "enterPredicate": { "alias": "cdkDropListEnterPredicate"; "required": false; }; "sortPredicate": { "alias": "cdkDropListSortPredicate"; "required": false; }; "autoScrollDisabled": { "alias": "cdkDropListAutoScrollDisabled"; "required": false; }; "autoScrollStep": { "alias": "cdkDropListAutoScrollStep"; "required": false; }; "elementContainerSelector": { "alias": "cdkDropListElementContainer"; "required": false; }; }, { "dropped": "cdkDropListDropped"; "entered": "cdkDropListEntered"; "exited": "cdkDropListExited"; "sorted": "cdkDropListSorted"; }, never, never, true, never>;
419
- static ngAcceptInputType_disabled: unknown;
420
- static ngAcceptInputType_sortingDisabled: unknown;
421
- static ngAcceptInputType_autoScrollDisabled: unknown;
422
- }
423
-
424
- /** Event emitted when the user starts dragging a draggable. */
425
- interface CdkDragStart<T = any> {
426
- /** Draggable that emitted the event. */
427
- source: CdkDrag<T>;
428
- /** Native event that started the drag sequence. */
429
- event: MouseEvent | TouchEvent;
430
- }
431
- /** Event emitted when the user releases an item, before any animations have started. */
432
- interface CdkDragRelease<T = any> {
433
- /** Draggable that emitted the event. */
434
- source: CdkDrag<T>;
435
- /** Native event that caused the release event. */
436
- event: MouseEvent | TouchEvent;
437
- }
438
- /** Event emitted when the user stops dragging a draggable. */
439
- interface CdkDragEnd<T = any> {
440
- /** Draggable that emitted the event. */
441
- source: CdkDrag<T>;
442
- /** Distance in pixels that the user has dragged since the drag sequence started. */
443
- distance: {
444
- x: number;
445
- y: number;
446
- };
447
- /** Position where the pointer was when the item was dropped */
448
- dropPoint: {
449
- x: number;
450
- y: number;
451
- };
452
- /** Native event that caused the dragging to stop. */
453
- event: MouseEvent | TouchEvent;
454
- }
455
- /** Event emitted when the user moves an item into a new drop container. */
456
- interface CdkDragEnter<T = any, I = T> {
457
- /** Container into which the user has moved the item. */
458
- container: CdkDropList<T>;
459
- /** Item that was moved into the container. */
460
- item: CdkDrag<I>;
461
- /** Index at which the item has entered the container. */
462
- currentIndex: number;
463
- }
464
- /**
465
- * Event emitted when the user removes an item from a
466
- * drop container by moving it into another one.
467
- */
468
- interface CdkDragExit<T = any, I = T> {
469
- /** Container from which the user has a removed an item. */
470
- container: CdkDropList<T>;
471
- /** Item that was removed from the container. */
472
- item: CdkDrag<I>;
473
- }
474
- /** Event emitted when the user drops a draggable item inside a drop container. */
475
- interface CdkDragDrop<T, O = T, I = any> {
476
- /** Index of the item when it was picked up. */
477
- previousIndex: number;
478
- /** Current index of the item. */
479
- currentIndex: number;
480
- /** Item that is being dropped. */
481
- item: CdkDrag<I>;
482
- /** Container in which the item was dropped. */
483
- container: CdkDropList<T>;
484
- /** Container from which the item was picked up. Can be the same as the `container`. */
485
- previousContainer: CdkDropList<O>;
486
- /** Whether the user's pointer was over the container when the item was dropped. */
487
- isPointerOverContainer: boolean;
488
- /** Distance in pixels that the user has dragged since the drag sequence started. */
489
- distance: {
490
- x: number;
491
- y: number;
492
- };
493
- /** Position where the pointer was when the item was dropped */
494
- dropPoint: {
495
- x: number;
496
- y: number;
497
- };
498
- /** Native event that caused the drop event. */
499
- event: MouseEvent | TouchEvent;
500
- }
501
- /** Event emitted as the user is dragging a draggable item. */
502
- interface CdkDragMove<T = any> {
503
- /** Item that is being dragged. */
504
- source: CdkDrag<T>;
505
- /** Position of the user's pointer on the page. */
506
- pointerPosition: {
507
- x: number;
508
- y: number;
509
- };
510
- /** Native event that is causing the dragging. */
511
- event: MouseEvent | TouchEvent;
512
- /** Distance in pixels that the user has dragged since the drag sequence started. */
513
- distance: {
514
- x: number;
515
- y: number;
516
- };
517
- /**
518
- * Indicates the direction in which the user is dragging the element along each axis.
519
- * `1` means that the position is increasing (e.g. the user is moving to the right or downwards),
520
- * whereas `-1` means that it's decreasing (they're moving to the left or upwards). `0` means
521
- * that the position hasn't changed.
522
- */
523
- delta: {
524
- x: -1 | 0 | 1;
525
- y: -1 | 0 | 1;
526
- };
527
- }
528
- /** Event emitted when the user swaps the position of two drag items. */
529
- interface CdkDragSortEvent<T = any, I = T> {
530
- /** Index from which the item was sorted previously. */
531
- previousIndex: number;
532
- /** Index that the item is currently in. */
533
- currentIndex: number;
534
- /** Container that the item belongs to. */
535
- container: CdkDropList<T>;
536
- /** Item that is being sorted. */
537
- item: CdkDrag<I>;
538
- }
539
-
540
- /**
541
- * Injection token that can be used to reference instances of `CdkDragHandle`. It serves as
542
- * alternative token to the actual `CdkDragHandle` class which could cause unnecessary
543
- * retention of the class and its directive metadata.
544
- */
545
- declare const CDK_DRAG_HANDLE: InjectionToken<CdkDragHandle>;
546
- /** Handle that can be used to drag a CdkDrag instance. */
547
- declare class CdkDragHandle implements AfterViewInit, OnDestroy {
548
- element: ElementRef<HTMLElement>;
549
- private _parentDrag;
550
- private _dragDropRegistry;
551
- /** Emits when the state of the handle has changed. */
552
- readonly _stateChanges: Subject<CdkDragHandle>;
553
- /** Whether starting to drag through this handle is disabled. */
554
- get disabled(): boolean;
555
- set disabled(value: boolean);
556
- private _disabled;
557
- constructor(...args: unknown[]);
558
- ngAfterViewInit(): void;
559
- ngOnDestroy(): void;
560
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkDragHandle, never>;
561
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkDragHandle, "[cdkDragHandle]", never, { "disabled": { "alias": "cdkDragHandleDisabled"; "required": false; }; }, {}, never, never, true, never>;
562
- static ngAcceptInputType_disabled: unknown;
563
- }
564
-
565
- /**
566
- * Injection token that can be used to reference instances of `CdkDragPlaceholder`. It serves as
567
- * alternative token to the actual `CdkDragPlaceholder` class which could cause unnecessary
568
- * retention of the class and its directive metadata.
569
- */
570
- declare const CDK_DRAG_PLACEHOLDER: InjectionToken<CdkDragPlaceholder<any>>;
571
- /**
572
- * Element that will be used as a template for the placeholder of a CdkDrag when
573
- * it is being dragged. The placeholder is displayed in place of the element being dragged.
574
- */
575
- declare class CdkDragPlaceholder<T = any> implements OnDestroy {
576
- templateRef: TemplateRef<T>;
577
- private _drag;
578
- /** Context data to be added to the placeholder template instance. */
579
- data: T;
580
- constructor(...args: unknown[]);
581
- ngOnDestroy(): void;
582
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkDragPlaceholder<any>, never>;
583
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkDragPlaceholder<any>, "ng-template[cdkDragPlaceholder]", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
584
- }
585
-
586
- /**
587
- * Injection token that can be used to reference instances of `CdkDragPreview`. It serves as
588
- * alternative token to the actual `CdkDragPreview` class which could cause unnecessary
589
- * retention of the class and its directive metadata.
590
- */
591
- declare const CDK_DRAG_PREVIEW: InjectionToken<CdkDragPreview<any>>;
592
- /**
593
- * Element that will be used as a template for the preview
594
- * of a CdkDrag when it is being dragged.
595
- */
596
- declare class CdkDragPreview<T = any> implements OnDestroy {
597
- templateRef: TemplateRef<T>;
598
- private _drag;
599
- /** Context data to be added to the preview template instance. */
600
- data: T;
601
- /** Whether the preview should preserve the same size as the item that is being dragged. */
602
- matchSize: boolean;
603
- constructor(...args: unknown[]);
604
- ngOnDestroy(): void;
605
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkDragPreview<any>, never>;
606
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkDragPreview<any>, "ng-template[cdkDragPreview]", never, { "data": { "alias": "data"; "required": false; }; "matchSize": { "alias": "matchSize"; "required": false; }; }, {}, never, never, true, never>;
607
- static ngAcceptInputType_matchSize: unknown;
608
- }
609
-
610
- /**
611
- * Injection token that can be used to reference instances of `CdkDropList`. It serves as
612
- * alternative token to the actual `CdkDropList` class which could cause unnecessary
613
- * retention of the class and its directive metadata.
614
- */
615
- declare const CDK_DROP_LIST: InjectionToken<CdkDropList<any>>;
616
- /** Element that can be moved inside a CdkDropList container. */
617
- declare class CdkDrag<T = any> implements AfterViewInit, OnChanges, OnDestroy {
618
- element: ElementRef<HTMLElement>;
619
- dropContainer: CdkDropList<any>;
620
- private _ngZone;
621
- private _viewContainerRef;
622
- private _dir;
623
- private _changeDetectorRef;
624
- private _selfHandle;
625
- private _parentDrag;
626
- private _dragDropRegistry;
627
- private readonly _destroyed;
628
- private _handles;
629
- private _previewTemplate;
630
- private _placeholderTemplate;
631
- /** Reference to the underlying drag instance. */
632
- _dragRef: DragRef<CdkDrag<T>>;
633
- /** Arbitrary data to attach to this drag instance. */
634
- data: T;
635
- /** Locks the position of the dragged element along the specified axis. */
636
- lockAxis: DragAxis;
637
- /**
638
- * Selector that will be used to determine the root draggable element, starting from
639
- * the `cdkDrag` element and going up the DOM. Passing an alternate root element is useful
640
- * when trying to enable dragging on an element that you might not have access to.
641
- */
642
- rootElementSelector: string;
643
- /**
644
- * Node or selector that will be used to determine the element to which the draggable's
645
- * position will be constrained. If a string is passed in, it'll be used as a selector that
646
- * will be matched starting from the element's parent and going up the DOM until a match
647
- * has been found.
648
- */
649
- boundaryElement: string | ElementRef<HTMLElement> | HTMLElement;
650
- /**
651
- * Amount of milliseconds to wait after the user has put their
652
- * pointer down before starting to drag the element.
653
- */
654
- dragStartDelay: DragStartDelay;
655
- /**
656
- * Sets the position of a `CdkDrag` that is outside of a drop container.
657
- * Can be used to restore the element's position for a returning user.
658
- */
659
- freeDragPosition: Point;
660
- /** Whether starting to drag this element is disabled. */
661
- get disabled(): boolean;
662
- set disabled(value: boolean);
663
- private _disabled;
664
- /**
665
- * Function that can be used to customize the logic of how the position of the drag item
666
- * is limited while it's being dragged. Gets called with a point containing the current position
667
- * of the user's pointer on the page, a reference to the item being dragged and its dimensions.
668
- * Should return a point describing where the item should be rendered.
669
- */
670
- constrainPosition?: (userPointerPosition: Point, dragRef: DragRef, dimensions: DOMRect, pickupPositionInElement: Point) => Point;
671
- /** Class to be added to the preview element. */
672
- previewClass: string | string[];
673
- /**
674
- * Configures the place into which the preview of the item will be inserted. Can be configured
675
- * globally through `CDK_DROP_LIST`. Possible values:
676
- * - `global` - Preview will be inserted at the bottom of the `<body>`. The advantage is that
677
- * you don't have to worry about `overflow: hidden` or `z-index`, but the item won't retain
678
- * its inherited styles.
679
- * - `parent` - Preview will be inserted into the parent of the drag item. The advantage is that
680
- * inherited styles will be preserved, but it may be clipped by `overflow: hidden` or not be
681
- * visible due to `z-index`. Furthermore, the preview is going to have an effect over selectors
682
- * like `:nth-child` and some flexbox configurations.
683
- * - `ElementRef<HTMLElement> | HTMLElement` - Preview will be inserted into a specific element.
684
- * Same advantages and disadvantages as `parent`.
685
- */
686
- previewContainer: PreviewContainer;
687
- /**
688
- * If the parent of the dragged element has a `scale` transform, it can throw off the
689
- * positioning when the user starts dragging. Use this input to notify the CDK of the scale.
690
- */
691
- scale: number;
692
- /** Emits when the user starts dragging the item. */
693
- readonly started: EventEmitter<CdkDragStart>;
694
- /** Emits when the user has released a drag item, before any animations have started. */
695
- readonly released: EventEmitter<CdkDragRelease>;
696
- /** Emits when the user stops dragging an item in the container. */
697
- readonly ended: EventEmitter<CdkDragEnd>;
698
- /** Emits when the user has moved the item into a new container. */
699
- readonly entered: EventEmitter<CdkDragEnter<any>>;
700
- /** Emits when the user removes the item its container by dragging it into another container. */
701
- readonly exited: EventEmitter<CdkDragExit<any>>;
702
- /** Emits when the user drops the item inside a container. */
703
- readonly dropped: EventEmitter<CdkDragDrop<any>>;
704
- /**
705
- * Emits as the user is dragging the item. Use with caution,
706
- * because this event will fire for every pixel that the user has dragged.
707
- */
708
- readonly moved: Observable<CdkDragMove<T>>;
709
- private _injector;
710
- constructor(...args: unknown[]);
711
- /**
712
- * Returns the element that is being used as a placeholder
713
- * while the current element is being dragged.
714
- */
715
- getPlaceholderElement(): HTMLElement;
716
- /** Returns the root draggable element. */
717
- getRootElement(): HTMLElement;
718
- /** Resets a standalone drag item to its initial position. */
719
- reset(): void;
720
- /**
721
- * Gets the pixel coordinates of the draggable outside of a drop container.
722
- */
723
- getFreeDragPosition(): Readonly<Point>;
724
- /**
725
- * Sets the current position in pixels the draggable outside of a drop container.
726
- * @param value New position to be set.
727
- */
728
- setFreeDragPosition(value: Point): void;
729
- ngAfterViewInit(): void;
730
- ngOnChanges(changes: SimpleChanges): void;
731
- ngOnDestroy(): void;
732
- _addHandle(handle: CdkDragHandle): void;
733
- _removeHandle(handle: CdkDragHandle): void;
734
- _setPreviewTemplate(preview: CdkDragPreview): void;
735
- _resetPreviewTemplate(preview: CdkDragPreview): void;
736
- _setPlaceholderTemplate(placeholder: CdkDragPlaceholder): void;
737
- _resetPlaceholderTemplate(placeholder: CdkDragPlaceholder): void;
738
- /** Syncs the root element with the `DragRef`. */
739
- private _updateRootElement;
740
- /** Gets the boundary element, based on the `boundaryElement` value. */
741
- private _getBoundaryElement;
742
- /** Syncs the inputs of the CdkDrag with the options of the underlying DragRef. */
743
- private _syncInputs;
744
- /** Handles the events from the underlying `DragRef`. */
745
- private _handleEvents;
746
- /** Assigns the default input values based on a provided config object. */
747
- private _assignDefaults;
748
- /** Sets up the listener that syncs the handles with the drag ref. */
749
- private _setupHandlesListener;
750
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkDrag<any>, never>;
751
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkDrag<any>, "[cdkDrag]", ["cdkDrag"], { "data": { "alias": "cdkDragData"; "required": false; }; "lockAxis": { "alias": "cdkDragLockAxis"; "required": false; }; "rootElementSelector": { "alias": "cdkDragRootElement"; "required": false; }; "boundaryElement": { "alias": "cdkDragBoundary"; "required": false; }; "dragStartDelay": { "alias": "cdkDragStartDelay"; "required": false; }; "freeDragPosition": { "alias": "cdkDragFreeDragPosition"; "required": false; }; "disabled": { "alias": "cdkDragDisabled"; "required": false; }; "constrainPosition": { "alias": "cdkDragConstrainPosition"; "required": false; }; "previewClass": { "alias": "cdkDragPreviewClass"; "required": false; }; "previewContainer": { "alias": "cdkDragPreviewContainer"; "required": false; }; "scale": { "alias": "cdkDragScale"; "required": false; }; }, { "started": "cdkDragStarted"; "released": "cdkDragReleased"; "ended": "cdkDragEnded"; "entered": "cdkDragEntered"; "exited": "cdkDragExited"; "dropped": "cdkDragDropped"; "moved": "cdkDragMoved"; }, never, never, true, never>;
752
- static ngAcceptInputType_disabled: unknown;
753
- static ngAcceptInputType_scale: unknown;
754
- }
755
-
756
- /**
757
- * Service that keeps track of all the drag item and drop container
758
- * instances, and manages global event listeners on the `document`.
759
- * @docs-private
760
- */
761
- declare class DragDropRegistry<_ = unknown, __ = unknown> implements OnDestroy {
762
- private _ngZone;
763
- private _document;
764
- private _styleLoader;
765
- private _renderer;
766
- private _cleanupDocumentTouchmove;
767
- /** Registered drop container instances. */
768
- private _dropInstances;
769
- /** Registered drag item instances. */
770
- private _dragInstances;
771
- /** Drag item instances that are currently being dragged. */
772
- private _activeDragInstances;
773
- /** Keeps track of the event listeners that we've bound to the `document`. */
774
- private _globalListeners;
775
- /**
776
- * Predicate function to check if an item is being dragged. Moved out into a property,
777
- * because it'll be called a lot and we don't want to create a new function every time.
778
- */
779
- private _draggingPredicate;
780
- /**
781
- * Map tracking DOM nodes and their corresponding drag directives. Note that this is different
782
- * from looking through the `_dragInstances` and getting their root node, because the root node
783
- * isn't necessarily the node that the directive is set on.
784
- */
785
- private _domNodesToDirectives;
786
- /**
787
- * Emits the `touchmove` or `mousemove` events that are dispatched
788
- * while the user is dragging a drag item instance.
789
- */
790
- readonly pointerMove: Subject<TouchEvent | MouseEvent>;
791
- /**
792
- * Emits the `touchend` or `mouseup` events that are dispatched
793
- * while the user is dragging a drag item instance.
794
- */
795
- readonly pointerUp: Subject<TouchEvent | MouseEvent>;
796
- /**
797
- * Emits when the viewport has been scrolled while the user is dragging an item.
798
- * @deprecated To be turned into a private member. Use the `scrolled` method instead.
799
- * @breaking-change 13.0.0
800
- */
801
- readonly scroll: Subject<Event>;
802
- constructor(...args: unknown[]);
803
- /** Adds a drop container to the registry. */
804
- registerDropContainer(drop: DropListRef): void;
805
- /** Adds a drag item instance to the registry. */
806
- registerDragItem(drag: DragRef): void;
807
- /** Removes a drop container from the registry. */
808
- removeDropContainer(drop: DropListRef): void;
809
- /** Removes a drag item instance from the registry. */
810
- removeDragItem(drag: DragRef): void;
811
- /**
812
- * Starts the dragging sequence for a drag instance.
813
- * @param drag Drag instance which is being dragged.
814
- * @param event Event that initiated the dragging.
815
- */
816
- startDragging(drag: DragRef, event: TouchEvent | MouseEvent): void;
817
- /** Stops dragging a drag item instance. */
818
- stopDragging(drag: DragRef): void;
819
- /** Gets whether a drag item instance is currently being dragged. */
820
- isDragging(drag: DragRef): boolean;
821
- /**
822
- * Gets a stream that will emit when any element on the page is scrolled while an item is being
823
- * dragged.
824
- * @param shadowRoot Optional shadow root that the current dragging sequence started from.
825
- * Top-level listeners won't pick up events coming from the shadow DOM so this parameter can
826
- * be used to include an additional top-level listener at the shadow root level.
827
- */
828
- scrolled(shadowRoot?: DocumentOrShadowRoot | null): Observable<Event>;
829
- /**
830
- * Tracks the DOM node which has a draggable directive.
831
- * @param node Node to track.
832
- * @param dragRef Drag directive set on the node.
833
- */
834
- registerDirectiveNode(node: Node, dragRef: CdkDrag): void;
835
- /**
836
- * Stops tracking a draggable directive node.
837
- * @param node Node to stop tracking.
838
- */
839
- removeDirectiveNode(node: Node): void;
840
- /**
841
- * Gets the drag directive corresponding to a specific DOM node, if any.
842
- * @param node Node for which to do the lookup.
843
- */
844
- getDragDirectiveForNode(node: Node): CdkDrag | null;
845
- ngOnDestroy(): void;
846
- /**
847
- * Event listener that will prevent the default browser action while the user is dragging.
848
- * @param event Event whose default action should be prevented.
849
- */
850
- private _preventDefaultWhileDragging;
851
- /** Event listener for `touchmove` that is bound even if no dragging is happening. */
852
- private _persistentTouchmoveListener;
853
- /** Clears out the global event listeners from the `document`. */
854
- private _clearGlobalListeners;
855
- static ɵfac: i0.ɵɵFactoryDeclaration<DragDropRegistry<any, any>, never>;
856
- static ɵprov: i0.ɵɵInjectableDeclaration<DragDropRegistry<any, any>>;
857
- }
858
-
859
- /** Template that can be used to create a drag preview element. */
860
- interface DragPreviewTemplate<T = any> {
861
- matchSize?: boolean;
862
- template: TemplateRef<T> | null;
863
- viewContainer: ViewContainerRef;
864
- context: T;
865
- }
866
-
867
- /** Object that can be used to configure the behavior of DragRef. */
868
- interface DragRefConfig {
869
- /**
870
- * Minimum amount of pixels that the user should
871
- * drag, before the CDK initiates a drag sequence.
872
- */
873
- dragStartThreshold: number;
874
- /**
875
- * Amount the pixels the user should drag before the CDK
876
- * considers them to have changed the drag direction.
877
- */
878
- pointerDirectionChangeThreshold: number;
879
- /** `z-index` for the absolutely-positioned elements that are created by the drag item. */
880
- zIndex?: number;
881
- /** Ref that the current drag item is nested in. */
882
- parentDragRef?: DragRef;
883
- }
884
- /** Template that can be used to create a drag helper element (e.g. a preview or a placeholder). */
885
- interface DragHelperTemplate<T = any> {
886
- template: TemplateRef<T> | null;
887
- viewContainer: ViewContainerRef;
888
- context: T;
889
- }
890
- /** Point on the page or within an element. */
891
- interface Point {
892
- x: number;
893
- y: number;
894
- }
895
- /**
896
- * Possible places into which the preview of a drag item can be inserted.
897
- * - `global` - Preview will be inserted at the bottom of the `<body>`. The advantage is that
898
- * you don't have to worry about `overflow: hidden` or `z-index`, but the item won't retain
899
- * its inherited styles.
900
- * - `parent` - Preview will be inserted into the parent of the drag item. The advantage is that
901
- * inherited styles will be preserved, but it may be clipped by `overflow: hidden` or not be
902
- * visible due to `z-index`. Furthermore, the preview is going to have an effect over selectors
903
- * like `:nth-child` and some flexbox configurations.
904
- * - `ElementRef<HTMLElement> | HTMLElement` - Preview will be inserted into a specific element.
905
- * Same advantages and disadvantages as `parent`.
906
- */
907
- type PreviewContainer = 'global' | 'parent' | ElementRef<HTMLElement> | HTMLElement;
908
- /**
909
- * Reference to a draggable item. Used to manipulate or dispose of the item.
910
- */
911
- declare class DragRef<T = any> {
912
- private _config;
913
- private _document;
914
- private _ngZone;
915
- private _viewportRuler;
916
- private _dragDropRegistry;
917
- private _renderer;
918
- private _rootElementCleanups;
919
- private _cleanupShadowRootSelectStart;
920
- /** Element displayed next to the user's pointer while the element is dragged. */
921
- private _preview;
922
- /** Container into which to insert the preview. */
923
- private _previewContainer;
924
- /** Reference to the view of the placeholder element. */
925
- private _placeholderRef;
926
- /** Element that is rendered instead of the draggable item while it is being sorted. */
927
- private _placeholder;
928
- /** Coordinates within the element at which the user picked up the element. */
929
- private _pickupPositionInElement;
930
- /** Coordinates on the page at which the user picked up the element. */
931
- private _pickupPositionOnPage;
932
- /**
933
- * Anchor node used to save the place in the DOM where the element was
934
- * picked up so that it can be restored at the end of the drag sequence.
935
- */
936
- private _anchor;
937
- /**
938
- * CSS `transform` applied to the element when it isn't being dragged. We need a
939
- * passive transform in order for the dragged element to retain its new position
940
- * after the user has stopped dragging and because we need to know the relative
941
- * position in case they start dragging again. This corresponds to `element.style.transform`.
942
- */
943
- private _passiveTransform;
944
- /** CSS `transform` that is applied to the element while it's being dragged. */
945
- private _activeTransform;
946
- /** Inline `transform` value that the element had before the first dragging sequence. */
947
- private _initialTransform?;
948
- /**
949
- * Whether the dragging sequence has been started. Doesn't
950
- * necessarily mean that the element has been moved.
951
- */
952
- private _hasStartedDragging;
953
- /** Whether the element has moved since the user started dragging it. */
954
- private _hasMoved;
955
- /** Drop container in which the DragRef resided when dragging began. */
956
- private _initialContainer;
957
- /** Index at which the item started in its initial container. */
958
- private _initialIndex;
959
- /** Cached positions of scrollable parent elements. */
960
- private _parentPositions;
961
- /** Emits when the item is being moved. */
962
- private readonly _moveEvents;
963
- /** Keeps track of the direction in which the user is dragging along each axis. */
964
- private _pointerDirectionDelta;
965
- /** Pointer position at which the last change in the delta occurred. */
966
- private _pointerPositionAtLastDirectionChange;
967
- /** Position of the pointer at the last pointer event. */
968
- private _lastKnownPointerPosition;
969
- /**
970
- * Root DOM node of the drag instance. This is the element that will
971
- * be moved around as the user is dragging.
972
- */
973
- private _rootElement;
974
- /**
975
- * Nearest ancestor SVG, relative to which coordinates are calculated if dragging SVGElement
976
- */
977
- private _ownerSVGElement;
978
- /**
979
- * Inline style value of `-webkit-tap-highlight-color` at the time the
980
- * dragging was started. Used to restore the value once we're done dragging.
981
- */
982
- private _rootElementTapHighlight;
983
- /** Subscription to pointer movement events. */
984
- private _pointerMoveSubscription;
985
- /** Subscription to the event that is dispatched when the user lifts their pointer. */
986
- private _pointerUpSubscription;
987
- /** Subscription to the viewport being scrolled. */
988
- private _scrollSubscription;
989
- /** Subscription to the viewport being resized. */
990
- private _resizeSubscription;
991
- /**
992
- * Time at which the last touch event occurred. Used to avoid firing the same
993
- * events multiple times on touch devices where the browser will fire a fake
994
- * mouse event for each touch event, after a certain time.
995
- */
996
- private _lastTouchEventTime;
997
- /** Time at which the last dragging sequence was started. */
998
- private _dragStartTime;
999
- /** Cached reference to the boundary element. */
1000
- private _boundaryElement;
1001
- /** Whether the native dragging interactions have been enabled on the root element. */
1002
- private _nativeInteractionsEnabled;
1003
- /** Client rect of the root element when the dragging sequence has started. */
1004
- private _initialDomRect?;
1005
- /** Cached dimensions of the preview element. Should be read via `_getPreviewRect`. */
1006
- private _previewRect?;
1007
- /** Cached dimensions of the boundary element. */
1008
- private _boundaryRect?;
1009
- /** Element that will be used as a template to create the draggable item's preview. */
1010
- private _previewTemplate?;
1011
- /** Template for placeholder element rendered to show where a draggable would be dropped. */
1012
- private _placeholderTemplate?;
1013
- /** Elements that can be used to drag the draggable item. */
1014
- private _handles;
1015
- /** Registered handles that are currently disabled. */
1016
- private _disabledHandles;
1017
- /** Droppable container that the draggable is a part of. */
1018
- private _dropContainer?;
1019
- /** Layout direction of the item. */
1020
- private _direction;
1021
- /** Ref that the current drag item is nested in. */
1022
- private _parentDragRef;
1023
- /**
1024
- * Cached shadow root that the element is placed in. `null` means that the element isn't in
1025
- * the shadow DOM and `undefined` means that it hasn't been resolved yet. Should be read via
1026
- * `_getShadowRoot`, not directly.
1027
- */
1028
- private _cachedShadowRoot;
1029
- /** Axis along which dragging is locked. */
1030
- lockAxis: 'x' | 'y';
1031
- /**
1032
- * Amount of milliseconds to wait after the user has put their
1033
- * pointer down before starting to drag the element.
1034
- */
1035
- dragStartDelay: number | {
1036
- touch: number;
1037
- mouse: number;
1038
- };
1039
- /** Class to be added to the preview element. */
1040
- previewClass: string | string[] | undefined;
1041
- /**
1042
- * If the parent of the dragged element has a `scale` transform, it can throw off the
1043
- * positioning when the user starts dragging. Use this input to notify the CDK of the scale.
1044
- */
1045
- scale: number;
1046
- /** Whether starting to drag this element is disabled. */
1047
- get disabled(): boolean;
1048
- set disabled(value: boolean);
1049
- private _disabled;
1050
- /** Emits as the drag sequence is being prepared. */
1051
- readonly beforeStarted: Subject<void>;
1052
- /** Emits when the user starts dragging the item. */
1053
- readonly started: Subject<{
1054
- source: DragRef;
1055
- event: MouseEvent | TouchEvent;
1056
- }>;
1057
- /** Emits when the user has released a drag item, before any animations have started. */
1058
- readonly released: Subject<{
1059
- source: DragRef;
1060
- event: MouseEvent | TouchEvent;
1061
- }>;
1062
- /** Emits when the user stops dragging an item in the container. */
1063
- readonly ended: Subject<{
1064
- source: DragRef;
1065
- distance: Point;
1066
- dropPoint: Point;
1067
- event: MouseEvent | TouchEvent;
1068
- }>;
1069
- /** Emits when the user has moved the item into a new container. */
1070
- readonly entered: Subject<{
1071
- container: DropListRef;
1072
- item: DragRef;
1073
- currentIndex: number;
1074
- }>;
1075
- /** Emits when the user removes the item its container by dragging it into another container. */
1076
- readonly exited: Subject<{
1077
- container: DropListRef;
1078
- item: DragRef;
1079
- }>;
1080
- /** Emits when the user drops the item inside a container. */
1081
- readonly dropped: Subject<{
1082
- previousIndex: number;
1083
- currentIndex: number;
1084
- item: DragRef;
1085
- container: DropListRef;
1086
- previousContainer: DropListRef;
1087
- distance: Point;
1088
- dropPoint: Point;
1089
- isPointerOverContainer: boolean;
1090
- event: MouseEvent | TouchEvent;
1091
- }>;
1092
- /**
1093
- * Emits as the user is dragging the item. Use with caution,
1094
- * because this event will fire for every pixel that the user has dragged.
1095
- */
1096
- readonly moved: Observable<{
1097
- source: DragRef;
1098
- pointerPosition: {
1099
- x: number;
1100
- y: number;
1101
- };
1102
- event: MouseEvent | TouchEvent;
1103
- distance: Point;
1104
- delta: {
1105
- x: -1 | 0 | 1;
1106
- y: -1 | 0 | 1;
1107
- };
1108
- }>;
1109
- /** Arbitrary data that can be attached to the drag item. */
1110
- data: T;
1111
- /**
1112
- * Function that can be used to customize the logic of how the position of the drag item
1113
- * is limited while it's being dragged. Gets called with a point containing the current position
1114
- * of the user's pointer on the page, a reference to the item being dragged and its dimensions.
1115
- * Should return a point describing where the item should be rendered.
1116
- */
1117
- constrainPosition?: (userPointerPosition: Point, dragRef: DragRef, dimensions: DOMRect, pickupPositionInElement: Point) => Point;
1118
- constructor(element: ElementRef<HTMLElement> | HTMLElement, _config: DragRefConfig, _document: Document, _ngZone: NgZone, _viewportRuler: ViewportRuler, _dragDropRegistry: DragDropRegistry, _renderer: Renderer2);
1119
- /**
1120
- * Returns the element that is being used as a placeholder
1121
- * while the current element is being dragged.
1122
- */
1123
- getPlaceholderElement(): HTMLElement;
1124
- /** Returns the root draggable element. */
1125
- getRootElement(): HTMLElement;
1126
- /**
1127
- * Gets the currently-visible element that represents the drag item.
1128
- * While dragging this is the placeholder, otherwise it's the root element.
1129
- */
1130
- getVisibleElement(): HTMLElement;
1131
- /** Registers the handles that can be used to drag the element. */
1132
- withHandles(handles: (HTMLElement | ElementRef<HTMLElement>)[]): this;
1133
- /**
1134
- * Registers the template that should be used for the drag preview.
1135
- * @param template Template that from which to stamp out the preview.
1136
- */
1137
- withPreviewTemplate(template: DragPreviewTemplate | null): this;
1138
- /**
1139
- * Registers the template that should be used for the drag placeholder.
1140
- * @param template Template that from which to stamp out the placeholder.
1141
- */
1142
- withPlaceholderTemplate(template: DragHelperTemplate | null): this;
1143
- /**
1144
- * Sets an alternate drag root element. The root element is the element that will be moved as
1145
- * the user is dragging. Passing an alternate root element is useful when trying to enable
1146
- * dragging on an element that you might not have access to.
1147
- */
1148
- withRootElement(rootElement: ElementRef<HTMLElement> | HTMLElement): this;
1149
- /**
1150
- * Element to which the draggable's position will be constrained.
1151
- */
1152
- withBoundaryElement(boundaryElement: ElementRef<HTMLElement> | HTMLElement | null): this;
1153
- /** Sets the parent ref that the ref is nested in. */
1154
- withParent(parent: DragRef<unknown> | null): this;
1155
- /** Removes the dragging functionality from the DOM element. */
1156
- dispose(): void;
1157
- /** Checks whether the element is currently being dragged. */
1158
- isDragging(): boolean;
1159
- /** Resets a standalone drag item to its initial position. */
1160
- reset(): void;
1161
- /**
1162
- * Sets a handle as disabled. While a handle is disabled, it'll capture and interrupt dragging.
1163
- * @param handle Handle element that should be disabled.
1164
- */
1165
- disableHandle(handle: HTMLElement): void;
1166
- /**
1167
- * Enables a handle, if it has been disabled.
1168
- * @param handle Handle element to be enabled.
1169
- */
1170
- enableHandle(handle: HTMLElement): void;
1171
- /** Sets the layout direction of the draggable item. */
1172
- withDirection(direction: Direction): this;
1173
- /** Sets the container that the item is part of. */
1174
- _withDropContainer(container: DropListRef): void;
1175
- /**
1176
- * Gets the current position in pixels the draggable outside of a drop container.
1177
- */
1178
- getFreeDragPosition(): Readonly<Point>;
1179
- /**
1180
- * Sets the current position in pixels the draggable outside of a drop container.
1181
- * @param value New position to be set.
1182
- */
1183
- setFreeDragPosition(value: Point): this;
1184
- /**
1185
- * Sets the container into which to insert the preview element.
1186
- * @param value Container into which to insert the preview.
1187
- */
1188
- withPreviewContainer(value: PreviewContainer): this;
1189
- /** Updates the item's sort order based on the last-known pointer position. */
1190
- _sortFromLastPointerPosition(): void;
1191
- /** Unsubscribes from the global subscriptions. */
1192
- private _removeListeners;
1193
- /** Destroys the preview element and its ViewRef. */
1194
- private _destroyPreview;
1195
- /** Destroys the placeholder element and its ViewRef. */
1196
- private _destroyPlaceholder;
1197
- /** Handler for the `mousedown`/`touchstart` events. */
1198
- private _pointerDown;
1199
- /** Handler that is invoked when the user moves their pointer after they've initiated a drag. */
1200
- private _pointerMove;
1201
- /** Handler that is invoked when the user lifts their pointer up, after initiating a drag. */
1202
- private _pointerUp;
1203
- /**
1204
- * Clears subscriptions and stops the dragging sequence.
1205
- * @param event Browser event object that ended the sequence.
1206
- */
1207
- private _endDragSequence;
1208
- /** Starts the dragging sequence. */
1209
- private _startDragSequence;
1210
- /**
1211
- * Sets up the different variables and subscriptions
1212
- * that will be necessary for the dragging sequence.
1213
- * @param referenceElement Element that started the drag sequence.
1214
- * @param event Browser event object that started the sequence.
1215
- */
1216
- private _initializeDragSequence;
1217
- /** Cleans up the DOM artifacts that were added to facilitate the element being dragged. */
1218
- private _cleanupDragArtifacts;
1219
- /**
1220
- * Updates the item's position in its drop container, or moves it
1221
- * into a new one, depending on its current drag position.
1222
- */
1223
- private _updateActiveDropContainer;
1224
- /**
1225
- * Animates the preview element from its current position to the location of the drop placeholder.
1226
- * @returns Promise that resolves when the animation completes.
1227
- */
1228
- private _animatePreviewToPlaceholder;
1229
- /** Creates an element that will be shown instead of the current element while dragging. */
1230
- private _createPlaceholderElement;
1231
- /**
1232
- * Figures out the coordinates at which an element was picked up.
1233
- * @param referenceElement Element that initiated the dragging.
1234
- * @param event Event that initiated the dragging.
1235
- */
1236
- private _getPointerPositionInElement;
1237
- /** Determines the point of the page that was touched by the user. */
1238
- private _getPointerPositionOnPage;
1239
- /** Gets the pointer position on the page, accounting for any position constraints. */
1240
- private _getConstrainedPointerPosition;
1241
- /** Updates the current drag delta, based on the user's current pointer position on the page. */
1242
- private _updatePointerDirectionDelta;
1243
- /** Toggles the native drag interactions, based on how many handles are registered. */
1244
- private _toggleNativeDragInteractions;
1245
- /** Removes the manually-added event listeners from the root element. */
1246
- private _removeRootElementListeners;
1247
- /**
1248
- * Applies a `transform` to the root element, taking into account any existing transforms on it.
1249
- * @param x New transform value along the X axis.
1250
- * @param y New transform value along the Y axis.
1251
- */
1252
- private _applyRootElementTransform;
1253
- /**
1254
- * Applies a `transform` to the preview, taking into account any existing transforms on it.
1255
- * @param x New transform value along the X axis.
1256
- * @param y New transform value along the Y axis.
1257
- */
1258
- private _applyPreviewTransform;
1259
- /**
1260
- * Gets the distance that the user has dragged during the current drag sequence.
1261
- * @param currentPosition Current position of the user's pointer.
1262
- */
1263
- private _getDragDistance;
1264
- /** Cleans up any cached element dimensions that we don't need after dragging has stopped. */
1265
- private _cleanupCachedDimensions;
1266
- /**
1267
- * Checks whether the element is still inside its boundary after the viewport has been resized.
1268
- * If not, the position is adjusted so that the element fits again.
1269
- */
1270
- private _containInsideBoundaryOnResize;
1271
- /** Gets the drag start delay, based on the event type. */
1272
- private _getDragStartDelay;
1273
- /** Updates the internal state of the draggable element when scrolling has occurred. */
1274
- private _updateOnScroll;
1275
- /** Gets the scroll position of the viewport. */
1276
- private _getViewportScrollPosition;
1277
- /**
1278
- * Lazily resolves and returns the shadow root of the element. We do this in a function, rather
1279
- * than saving it in property directly on init, because we want to resolve it as late as possible
1280
- * in order to ensure that the element has been moved into the shadow DOM. Doing it inside the
1281
- * constructor might be too early if the element is inside of something like `ngFor` or `ngIf`.
1282
- */
1283
- private _getShadowRoot;
1284
- /** Gets the element into which the drag preview should be inserted. */
1285
- private _getPreviewInsertionPoint;
1286
- /** Lazily resolves and returns the dimensions of the preview. */
1287
- private _getPreviewRect;
1288
- /** Handles a native `dragstart` event. */
1289
- private _nativeDragStart;
1290
- /** Gets a handle that is the target of an event. */
1291
- private _getTargetHandle;
1292
- }
1293
-
1294
- /**
1295
- * Service that allows for drag-and-drop functionality to be attached to DOM elements.
1296
- */
1297
- declare class DragDrop {
1298
- private _document;
1299
- private _ngZone;
1300
- private _viewportRuler;
1301
- private _dragDropRegistry;
1302
- private _renderer;
1303
- constructor(...args: unknown[]);
1304
- /**
1305
- * Turns an element into a draggable item.
1306
- * @param element Element to which to attach the dragging functionality.
1307
- * @param config Object used to configure the dragging behavior.
1308
- */
1309
- createDrag<T = any>(element: ElementRef<HTMLElement> | HTMLElement, config?: DragRefConfig): DragRef<T>;
1310
- /**
1311
- * Turns an element into a drop list.
1312
- * @param element Element to which to attach the drop list functionality.
1313
- */
1314
- createDropList<T = any>(element: ElementRef<HTMLElement> | HTMLElement): DropListRef<T>;
1315
- static ɵfac: i0.ɵɵFactoryDeclaration<DragDrop, never>;
1316
- static ɵprov: i0.ɵɵInjectableDeclaration<DragDrop>;
1317
- }
1318
-
1319
- /**
1320
- * Injection token that can be used for a `CdkDrag` to provide itself as a parent to the
1321
- * drag-specific child directive (`CdkDragHandle`, `CdkDragPreview` etc.). Used primarily
1322
- * to avoid circular imports.
1323
- * @docs-private
1324
- */
1325
- declare const CDK_DRAG_PARENT: InjectionToken<CdkDrag<any>>;
1326
-
1327
- /**
1328
- * Moves an item one index in an array to another.
1329
- * @param array Array in which to move the item.
1330
- * @param fromIndex Starting index of the item.
1331
- * @param toIndex Index to which the item should be moved.
1332
- */
1333
- declare function moveItemInArray<T = any>(array: T[], fromIndex: number, toIndex: number): void;
1334
- /**
1335
- * Moves an item from one array to another.
1336
- * @param currentArray Array from which to transfer the item.
1337
- * @param targetArray Array into which to put the item.
1338
- * @param currentIndex Index of the item in its current array.
1339
- * @param targetIndex Index at which to insert the item.
1340
- */
1341
- declare function transferArrayItem<T = any>(currentArray: T[], targetArray: T[], currentIndex: number, targetIndex: number): void;
1342
- /**
1343
- * Copies an item from one array to another, leaving it in its
1344
- * original position in current array.
1345
- * @param currentArray Array from which to copy the item.
1346
- * @param targetArray Array into which is copy the item.
1347
- * @param currentIndex Index of the item in its current array.
1348
- * @param targetIndex Index at which to insert the item.
1349
- *
1350
- */
1351
- declare function copyArrayItem<T = any>(currentArray: T[], targetArray: T[], currentIndex: number, targetIndex: number): void;
1352
-
1353
- /**
1354
- * Injection token that can be used to reference instances of `CdkDropListGroup`. It serves as
1355
- * alternative token to the actual `CdkDropListGroup` class which could cause unnecessary
1356
- * retention of the class and its directive metadata.
1357
- */
1358
- declare const CDK_DROP_LIST_GROUP: InjectionToken<CdkDropListGroup<unknown>>;
1359
- /**
1360
- * Declaratively connects sibling `cdkDropList` instances together. All of the `cdkDropList`
1361
- * elements that are placed inside a `cdkDropListGroup` will be connected to each other
1362
- * automatically. Can be used as an alternative to the `cdkDropListConnectedTo` input
1363
- * from `cdkDropList`.
1364
- */
1365
- declare class CdkDropListGroup<T> implements OnDestroy {
1366
- /** Drop lists registered inside the group. */
1367
- readonly _items: Set<T>;
1368
- /** Whether starting a dragging sequence from inside this group is disabled. */
1369
- disabled: boolean;
1370
- ngOnDestroy(): void;
1371
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkDropListGroup<any>, never>;
1372
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkDropListGroup<any>, "[cdkDropListGroup]", ["cdkDropListGroup"], { "disabled": { "alias": "cdkDropListGroupDisabled"; "required": false; }; }, {}, never, never, true, never>;
1373
- static ngAcceptInputType_disabled: unknown;
1374
- }
1375
-
1376
- declare class DragDropModule {
1377
- static ɵfac: i0.ɵɵFactoryDeclaration<DragDropModule, never>;
1378
- static ɵmod: i0.ɵɵNgModuleDeclaration<DragDropModule, never, [typeof CdkDropList, typeof CdkDropListGroup, typeof CdkDrag, typeof CdkDragHandle, typeof CdkDragPreview, typeof CdkDragPlaceholder], [typeof CdkScrollableModule, typeof CdkDropList, typeof CdkDropListGroup, typeof CdkDrag, typeof CdkDragHandle, typeof CdkDragPreview, typeof CdkDragPlaceholder]>;
1379
- static ɵinj: i0.ɵɵInjectorDeclaration<DragDropModule>;
1380
- }
1381
-
1382
- export { CDK_DRAG_CONFIG, CDK_DRAG_HANDLE, CDK_DRAG_PARENT, CDK_DRAG_PLACEHOLDER, CDK_DRAG_PREVIEW, CDK_DROP_LIST, CDK_DROP_LIST_GROUP, CdkDrag, CdkDragHandle, CdkDragPlaceholder, CdkDragPreview, CdkDropList, CdkDropListGroup, DragDrop, DragDropModule, DragDropRegistry, DragRef, DropListRef, copyArrayItem, moveItemInArray, transferArrayItem };
1383
- export type { CdkDragDrop, CdkDragEnd, CdkDragEnter, CdkDragExit, CdkDragMove, CdkDragRelease, CdkDragSortEvent, CdkDragStart, DragAxis, DragConstrainPosition, DragDropConfig, DragRefConfig, DragStartDelay, DropListOrientation, Point, PreviewContainer };