@angular/cdk 14.0.0-next.4 → 14.0.0-next.7

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 (229) hide show
  1. package/a11y/live-announcer/live-announcer.d.ts +3 -1
  2. package/drag-drop/drag-events.d.ts +8 -0
  3. package/drag-drop/drag-ref.d.ts +11 -1
  4. package/drag-drop/drop-list-ref.d.ts +5 -1
  5. package/esm2020/a11y/a11y-module.mjs +5 -5
  6. package/esm2020/a11y/aria-describer/aria-describer.mjs +4 -4
  7. package/esm2020/a11y/focus-monitor/focus-monitor.mjs +7 -7
  8. package/esm2020/a11y/focus-trap/configurable-focus-trap-factory.mjs +4 -4
  9. package/esm2020/a11y/focus-trap/focus-trap-manager.mjs +4 -4
  10. package/esm2020/a11y/focus-trap/focus-trap.mjs +7 -7
  11. package/esm2020/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +4 -4
  12. package/esm2020/a11y/input-modality/input-modality-detector.mjs +4 -4
  13. package/esm2020/a11y/interactivity-checker/interactivity-checker.mjs +4 -4
  14. package/esm2020/a11y/live-announcer/live-announcer.mjs +11 -8
  15. package/esm2020/accordion/accordion-item.mjs +4 -4
  16. package/esm2020/accordion/accordion-module.mjs +5 -5
  17. package/esm2020/accordion/accordion.mjs +4 -4
  18. package/esm2020/bidi/bidi-module.mjs +5 -5
  19. package/esm2020/bidi/dir.mjs +4 -4
  20. package/esm2020/bidi/directionality.mjs +4 -4
  21. package/esm2020/clipboard/clipboard-module.mjs +5 -5
  22. package/esm2020/clipboard/clipboard.mjs +4 -4
  23. package/esm2020/clipboard/copy-to-clipboard.mjs +4 -4
  24. package/esm2020/collections/unique-selection-dispatcher.mjs +4 -4
  25. package/esm2020/drag-drop/directives/drag-handle.mjs +4 -4
  26. package/esm2020/drag-drop/directives/drag-placeholder.mjs +4 -4
  27. package/esm2020/drag-drop/directives/drag-preview.mjs +4 -4
  28. package/esm2020/drag-drop/directives/drag.mjs +26 -24
  29. package/esm2020/drag-drop/directives/drop-list-group.mjs +4 -4
  30. package/esm2020/drag-drop/directives/drop-list.mjs +14 -13
  31. package/esm2020/drag-drop/drag-drop-module.mjs +5 -5
  32. package/esm2020/drag-drop/drag-drop-registry.mjs +4 -4
  33. package/esm2020/drag-drop/drag-drop.mjs +4 -4
  34. package/esm2020/drag-drop/drag-events.mjs +1 -1
  35. package/esm2020/drag-drop/drag-ref.mjs +42 -27
  36. package/esm2020/drag-drop/drop-list-ref.mjs +6 -2
  37. package/esm2020/layout/breakpoints-observer.mjs +4 -4
  38. package/esm2020/layout/layout-module.mjs +5 -5
  39. package/esm2020/layout/media-matcher.mjs +4 -4
  40. package/esm2020/observers/observe-content.mjs +14 -14
  41. package/esm2020/overlay/dispatchers/base-overlay-dispatcher.mjs +4 -4
  42. package/esm2020/overlay/dispatchers/overlay-keyboard-dispatcher.mjs +26 -8
  43. package/esm2020/overlay/dispatchers/overlay-outside-click-dispatcher.mjs +33 -12
  44. package/esm2020/overlay/fullscreen-overlay-container.mjs +4 -4
  45. package/esm2020/overlay/overlay-container.mjs +4 -4
  46. package/esm2020/overlay/overlay-directives.mjs +7 -7
  47. package/esm2020/overlay/overlay-module.mjs +5 -5
  48. package/esm2020/overlay/overlay-ref.mjs +14 -16
  49. package/esm2020/overlay/overlay.mjs +4 -4
  50. package/esm2020/overlay/position/global-position-strategy.mjs +64 -30
  51. package/esm2020/overlay/position/overlay-position-builder.mjs +4 -4
  52. package/esm2020/overlay/scroll/scroll-strategy-options.mjs +4 -4
  53. package/esm2020/platform/platform-module.mjs +5 -5
  54. package/esm2020/platform/platform.mjs +4 -4
  55. package/esm2020/portal/dom-portal-outlet.mjs +4 -2
  56. package/esm2020/portal/portal-directives.mjs +20 -18
  57. package/esm2020/portal/portal.mjs +12 -3
  58. package/esm2020/scrolling/fixed-size-virtual-scroll.mjs +4 -4
  59. package/esm2020/scrolling/scroll-dispatcher.mjs +4 -4
  60. package/esm2020/scrolling/scrollable.mjs +4 -4
  61. package/esm2020/scrolling/scrolling-module.mjs +9 -9
  62. package/esm2020/scrolling/viewport-ruler.mjs +4 -4
  63. package/esm2020/scrolling/virtual-for-of.mjs +4 -4
  64. package/esm2020/scrolling/virtual-scroll-viewport.mjs +4 -4
  65. package/esm2020/stepper/step-header.mjs +4 -4
  66. package/esm2020/stepper/step-label.mjs +4 -4
  67. package/esm2020/stepper/stepper-button.mjs +7 -7
  68. package/esm2020/stepper/stepper-module.mjs +5 -5
  69. package/esm2020/stepper/stepper.mjs +7 -7
  70. package/esm2020/table/cell.mjs +22 -22
  71. package/esm2020/table/coalesced-style-scheduler.mjs +4 -4
  72. package/esm2020/table/row.mjs +28 -28
  73. package/esm2020/table/table-module.mjs +5 -5
  74. package/esm2020/table/table.mjs +19 -19
  75. package/esm2020/table/text-column.mjs +4 -4
  76. package/esm2020/testing/harness-environment.mjs +4 -1
  77. package/esm2020/testing/public-api.mjs +2 -1
  78. package/esm2020/testing/selenium-webdriver/selenium-web-driver-element.mjs +8 -3
  79. package/esm2020/testing/test-element-errors.mjs +15 -0
  80. package/esm2020/testing/test-element.mjs +1 -1
  81. package/esm2020/testing/testbed/fake-events/type-in-element.mjs +12 -3
  82. package/esm2020/testing/testbed/unit-test-element.mjs +21 -5
  83. package/esm2020/text-field/autofill.mjs +7 -7
  84. package/esm2020/text-field/autosize.mjs +4 -4
  85. package/esm2020/text-field/text-field-module.mjs +5 -5
  86. package/esm2020/tree/nested-node.mjs +4 -4
  87. package/esm2020/tree/node.mjs +4 -4
  88. package/esm2020/tree/outlet.mjs +4 -4
  89. package/esm2020/tree/padding.mjs +4 -4
  90. package/esm2020/tree/toggle.mjs +4 -4
  91. package/esm2020/tree/tree-module.mjs +5 -5
  92. package/esm2020/tree/tree.mjs +7 -7
  93. package/esm2020/version.mjs +1 -1
  94. package/fesm2015/a11y.mjs +44 -41
  95. package/fesm2015/a11y.mjs.map +1 -1
  96. package/fesm2015/accordion.mjs +10 -10
  97. package/fesm2015/accordion.mjs.map +1 -1
  98. package/fesm2015/bidi.mjs +10 -10
  99. package/fesm2015/bidi.mjs.map +1 -1
  100. package/fesm2015/cdk.mjs +1 -1
  101. package/fesm2015/cdk.mjs.map +1 -1
  102. package/fesm2015/clipboard.mjs +10 -10
  103. package/fesm2015/clipboard.mjs.map +1 -1
  104. package/fesm2015/coercion.mjs.map +1 -1
  105. package/fesm2015/collections.mjs +3 -3
  106. package/fesm2015/collections.mjs.map +1 -1
  107. package/fesm2015/drag-drop.mjs +106 -84
  108. package/fesm2015/drag-drop.mjs.map +1 -1
  109. package/fesm2015/keycodes.mjs.map +1 -1
  110. package/fesm2015/layout.mjs +10 -10
  111. package/fesm2015/layout.mjs.map +1 -1
  112. package/fesm2015/observers.mjs +13 -13
  113. package/fesm2015/observers.mjs.map +1 -1
  114. package/fesm2015/overlay.mjs +162 -91
  115. package/fesm2015/overlay.mjs.map +1 -1
  116. package/fesm2015/platform.mjs +7 -7
  117. package/fesm2015/platform.mjs.map +1 -1
  118. package/fesm2015/portal.mjs +33 -20
  119. package/fesm2015/portal.mjs.map +1 -1
  120. package/fesm2015/scrolling.mjs +26 -26
  121. package/fesm2015/scrolling.mjs.map +1 -1
  122. package/fesm2015/stepper.mjs +22 -22
  123. package/fesm2015/stepper.mjs.map +1 -1
  124. package/fesm2015/table.mjs +76 -76
  125. package/fesm2015/table.mjs.map +1 -1
  126. package/fesm2015/testing/selenium-webdriver.mjs +7 -2
  127. package/fesm2015/testing/selenium-webdriver.mjs.map +1 -1
  128. package/fesm2015/testing/testbed.mjs +31 -7
  129. package/fesm2015/testing/testbed.mjs.map +1 -1
  130. package/fesm2015/testing.mjs +19 -1
  131. package/fesm2015/testing.mjs.map +1 -1
  132. package/fesm2015/text-field.mjs +13 -13
  133. package/fesm2015/text-field.mjs.map +1 -1
  134. package/fesm2015/tree.mjs +25 -25
  135. package/fesm2015/tree.mjs.map +1 -1
  136. package/fesm2020/a11y.mjs +44 -41
  137. package/fesm2020/a11y.mjs.map +1 -1
  138. package/fesm2020/accordion.mjs +10 -10
  139. package/fesm2020/accordion.mjs.map +1 -1
  140. package/fesm2020/bidi.mjs +10 -10
  141. package/fesm2020/bidi.mjs.map +1 -1
  142. package/fesm2020/cdk.mjs +1 -1
  143. package/fesm2020/cdk.mjs.map +1 -1
  144. package/fesm2020/clipboard.mjs +10 -10
  145. package/fesm2020/clipboard.mjs.map +1 -1
  146. package/fesm2020/coercion.mjs.map +1 -1
  147. package/fesm2020/collections.mjs +3 -3
  148. package/fesm2020/collections.mjs.map +1 -1
  149. package/fesm2020/drag-drop.mjs +106 -84
  150. package/fesm2020/drag-drop.mjs.map +1 -1
  151. package/fesm2020/keycodes.mjs.map +1 -1
  152. package/fesm2020/layout.mjs +10 -10
  153. package/fesm2020/layout.mjs.map +1 -1
  154. package/fesm2020/observers.mjs +13 -13
  155. package/fesm2020/observers.mjs.map +1 -1
  156. package/fesm2020/overlay.mjs +162 -91
  157. package/fesm2020/overlay.mjs.map +1 -1
  158. package/fesm2020/platform.mjs +7 -7
  159. package/fesm2020/platform.mjs.map +1 -1
  160. package/fesm2020/portal.mjs +33 -20
  161. package/fesm2020/portal.mjs.map +1 -1
  162. package/fesm2020/scrolling.mjs +26 -26
  163. package/fesm2020/scrolling.mjs.map +1 -1
  164. package/fesm2020/stepper.mjs +22 -22
  165. package/fesm2020/stepper.mjs.map +1 -1
  166. package/fesm2020/table.mjs +76 -76
  167. package/fesm2020/table.mjs.map +1 -1
  168. package/fesm2020/testing/selenium-webdriver.mjs +7 -2
  169. package/fesm2020/testing/selenium-webdriver.mjs.map +1 -1
  170. package/fesm2020/testing/testbed.mjs +31 -7
  171. package/fesm2020/testing/testbed.mjs.map +1 -1
  172. package/fesm2020/testing.mjs +19 -1
  173. package/fesm2020/testing.mjs.map +1 -1
  174. package/fesm2020/text-field.mjs +13 -13
  175. package/fesm2020/text-field.mjs.map +1 -1
  176. package/fesm2020/tree.mjs +25 -25
  177. package/fesm2020/tree.mjs.map +1 -1
  178. package/overlay/_index.scss +7 -1
  179. package/overlay/dispatchers/overlay-keyboard-dispatcher.d.ts +7 -2
  180. package/overlay/dispatchers/overlay-outside-click-dispatcher.d.ts +8 -2
  181. package/overlay/overlay-ref.d.ts +2 -0
  182. package/overlay/position/global-position-strategy.d.ts +14 -3
  183. package/overlay-prebuilt.css +1 -1
  184. package/package.json +3 -3
  185. package/portal/dom-portal-outlet.d.ts +2 -2
  186. package/portal/portal.d.ts +12 -2
  187. package/schematics/index.js +6 -2
  188. package/schematics/index.mjs +6 -2
  189. package/schematics/migration.json +5 -0
  190. package/schematics/ng-add/index.js +1 -1
  191. package/schematics/ng-add/index.mjs +1 -1
  192. package/schematics/ng-generate/drag-drop/index.js +5 -14
  193. package/schematics/ng-generate/drag-drop/index.mjs +5 -14
  194. package/schematics/ng-update/data/index.js +6 -2
  195. package/schematics/ng-update/data/index.mjs +6 -2
  196. package/schematics/ng-update/devkit-migration-rule.js +5 -14
  197. package/schematics/ng-update/devkit-migration-rule.mjs +5 -14
  198. package/schematics/ng-update/html-parsing/elements.js +2 -3
  199. package/schematics/ng-update/html-parsing/elements.mjs +2 -3
  200. package/schematics/ng-update/index.d.ts +2 -0
  201. package/schematics/ng-update/index.js +7 -2
  202. package/schematics/ng-update/index.mjs +7 -2
  203. package/schematics/ng-update/migrations/symbol-removal.js +2 -3
  204. package/schematics/ng-update/migrations/symbol-removal.mjs +2 -3
  205. package/schematics/ng-update/public-api.js +6 -2
  206. package/schematics/ng-update/public-api.mjs +6 -2
  207. package/schematics/update-tool/public-api.js +6 -2
  208. package/schematics/update-tool/public-api.mjs +6 -2
  209. package/schematics/update-tool/target-version.d.ts +2 -1
  210. package/schematics/update-tool/target-version.js +2 -1
  211. package/schematics/update-tool/target-version.mjs +2 -1
  212. package/schematics/utils/ast.js +11 -22
  213. package/schematics/utils/ast.mjs +11 -22
  214. package/schematics/utils/build-component.js +10 -15
  215. package/schematics/utils/build-component.mjs +10 -15
  216. package/schematics/utils/index.js +6 -2
  217. package/schematics/utils/index.mjs +6 -2
  218. package/schematics/utils/project-index-file.js +2 -2
  219. package/schematics/utils/project-index-file.mjs +2 -2
  220. package/schematics/utils/project-targets.js +3 -4
  221. package/schematics/utils/project-targets.mjs +3 -4
  222. package/schematics/utils/project-tsconfig-paths.js +16 -28
  223. package/schematics/utils/project-tsconfig-paths.mjs +16 -28
  224. package/table/text-column.d.ts +1 -1
  225. package/testing/public-api.d.ts +1 -0
  226. package/testing/test-element-errors.d.ts +12 -0
  227. package/testing/test-element.d.ts +4 -2
  228. package/testing/testbed/fake-events/type-in-element.d.ts +2 -2
  229. package/testing/testbed/unit-test-element.d.ts +4 -1
@@ -415,9 +415,7 @@ class DragRef {
415
415
  this.beforeStarted.next();
416
416
  // Delegate the event based on whether it started from a handle or the element itself.
417
417
  if (this._handles.length) {
418
- const targetHandle = this._handles.find(handle => {
419
- return event.target && (event.target === handle || handle.contains(event.target));
420
- });
418
+ const targetHandle = this._getTargetHandle(event);
421
419
  if (targetHandle && !this._disabledHandles.has(targetHandle) && !this.disabled) {
422
420
  this._initializeDragSequence(targetHandle, event);
423
421
  }
@@ -457,14 +455,6 @@ class DragRef {
457
455
  }
458
456
  return;
459
457
  }
460
- // We only need the preview dimensions if we have a boundary element.
461
- if (this._boundaryElement) {
462
- // Cache the preview element rect if we haven't cached it already or if
463
- // we cached it too early before the element dimensions were computed.
464
- if (!this._previewRect || (!this._previewRect.width && !this._previewRect.height)) {
465
- this._previewRect = (this._preview || this._rootElement).getBoundingClientRect();
466
- }
467
- }
468
458
  // We prevent the default action down here so that we know that dragging has started. This is
469
459
  // important for touch devices where doing this too early can unnecessarily block scrolling,
470
460
  // if there's a dragging delay.
@@ -503,6 +493,20 @@ class DragRef {
503
493
  this._pointerUp = (event) => {
504
494
  this._endDragSequence(event);
505
495
  };
496
+ /** Handles a native `dragstart` event. */
497
+ this._nativeDragStart = (event) => {
498
+ if (this._handles.length) {
499
+ const targetHandle = this._getTargetHandle(event);
500
+ if (targetHandle && !this._disabledHandles.has(targetHandle) && !this.disabled) {
501
+ event.preventDefault();
502
+ }
503
+ }
504
+ else if (!this.disabled) {
505
+ // Usually this isn't necessary since the we prevent the default action in `pointerDown`,
506
+ // but some cases like dragging of links can slip through (see #24403).
507
+ event.preventDefault();
508
+ }
509
+ };
506
510
  this.withRootElement(element).withParent(_config.parentDragRef || null);
507
511
  this._parentPositions = new ParentPositionTracker(_document);
508
512
  _dragDropRegistry.registerDragItem(this);
@@ -585,9 +589,7 @@ class DragRef {
585
589
  this._ngZone.runOutsideAngular(() => {
586
590
  element.addEventListener('mousedown', this._pointerDown, activeEventListenerOptions);
587
591
  element.addEventListener('touchstart', this._pointerDown, passiveEventListenerOptions);
588
- // Usually this isn't necessary since the we prevent the default action in `pointerDown`,
589
- // but some cases like dragging of links can slip through (see #24403).
590
- element.addEventListener('dragstart', preventDefault, activeEventListenerOptions);
592
+ element.addEventListener('dragstart', this._nativeDragStart, activeEventListenerOptions);
591
593
  });
592
594
  this._initialTransform = undefined;
593
595
  this._rootElement = element;
@@ -769,7 +771,7 @@ class DragRef {
769
771
  if (!this._hasStartedDragging) {
770
772
  return;
771
773
  }
772
- this.released.next({ source: this });
774
+ this.released.next({ source: this, event });
773
775
  if (this._dropContainer) {
774
776
  // Stop scrolling immediately, instead of waiting for the animation to finish.
775
777
  this._dropContainer._stopScrolling();
@@ -791,6 +793,7 @@ class DragRef {
791
793
  source: this,
792
794
  distance: this._getDragDistance(pointerPosition),
793
795
  dropPoint: pointerPosition,
796
+ event,
794
797
  });
795
798
  });
796
799
  this._cleanupCachedDimensions();
@@ -825,13 +828,13 @@ class DragRef {
825
828
  toggleVisibility(element, false, dragImportantProperties);
826
829
  this._document.body.appendChild(parent.replaceChild(placeholder, element));
827
830
  this._getPreviewInsertionPoint(parent, shadowRoot).appendChild(this._preview);
828
- this.started.next({ source: this }); // Emit before notifying the container.
831
+ this.started.next({ source: this, event }); // Emit before notifying the container.
829
832
  dropContainer.start();
830
833
  this._initialContainer = dropContainer;
831
834
  this._initialIndex = dropContainer.getItemIndex(this);
832
835
  }
833
836
  else {
834
- this.started.next({ source: this });
837
+ this.started.next({ source: this, event });
835
838
  this._initialContainer = this._initialIndex = undefined;
836
839
  }
837
840
  // Important to run after we've called `start` on the parent container
@@ -928,7 +931,7 @@ class DragRef {
928
931
  const pointerPosition = this._getPointerPositionOnPage(event);
929
932
  const distance = this._getDragDistance(pointerPosition);
930
933
  const isPointerOverContainer = container._isOverContainer(pointerPosition.x, pointerPosition.y);
931
- this.ended.next({ source: this, distance, dropPoint: pointerPosition });
934
+ this.ended.next({ source: this, distance, dropPoint: pointerPosition, event });
932
935
  this.dropped.next({
933
936
  item: this,
934
937
  currentIndex,
@@ -938,6 +941,7 @@ class DragRef {
938
941
  isPointerOverContainer,
939
942
  distance,
940
943
  dropPoint: pointerPosition,
944
+ event,
941
945
  });
942
946
  container.drop(this, currentIndex, this._initialIndex, this._initialContainer, isPointerOverContainer, distance, pointerPosition);
943
947
  this._dropContainer = this._initialContainer;
@@ -1161,11 +1165,11 @@ class DragRef {
1161
1165
  if (this._boundaryRect) {
1162
1166
  const { x: pickupX, y: pickupY } = this._pickupPositionInElement;
1163
1167
  const boundaryRect = this._boundaryRect;
1164
- const previewRect = this._previewRect;
1168
+ const { width: previewWidth, height: previewHeight } = this._getPreviewRect();
1165
1169
  const minY = boundaryRect.top + pickupY;
1166
- const maxY = boundaryRect.bottom - (previewRect.height - pickupY);
1170
+ const maxY = boundaryRect.bottom - (previewHeight - pickupY);
1167
1171
  const minX = boundaryRect.left + pickupX;
1168
- const maxX = boundaryRect.right - (previewRect.width - pickupX);
1172
+ const maxX = boundaryRect.right - (previewWidth - pickupX);
1169
1173
  x = clamp$1(x, minX, maxX);
1170
1174
  y = clamp$1(y, minY, maxY);
1171
1175
  }
@@ -1208,7 +1212,7 @@ class DragRef {
1208
1212
  _removeRootElementListeners(element) {
1209
1213
  element.removeEventListener('mousedown', this._pointerDown, activeEventListenerOptions);
1210
1214
  element.removeEventListener('touchstart', this._pointerDown, passiveEventListenerOptions);
1211
- element.removeEventListener('dragstart', preventDefault, activeEventListenerOptions);
1215
+ element.removeEventListener('dragstart', this._nativeDragStart, activeEventListenerOptions);
1212
1216
  }
1213
1217
  /**
1214
1218
  * Applies a `transform` to the root element, taking into account any existing transforms on it.
@@ -1382,6 +1386,21 @@ class DragRef {
1382
1386
  }
1383
1387
  return coerceElement(previewContainer);
1384
1388
  }
1389
+ /** Lazily resolves and returns the dimensions of the preview. */
1390
+ _getPreviewRect() {
1391
+ // Cache the preview element rect if we haven't cached it already or if
1392
+ // we cached it too early before the element dimensions were computed.
1393
+ if (!this._previewRect || (!this._previewRect.width && !this._previewRect.height)) {
1394
+ this._previewRect = (this._preview || this._rootElement).getBoundingClientRect();
1395
+ }
1396
+ return this._previewRect;
1397
+ }
1398
+ /** Gets a handle that is the target of an event. */
1399
+ _getTargetHandle(event) {
1400
+ return this._handles.find(handle => {
1401
+ return event.target && (event.target === handle || handle.contains(event.target));
1402
+ });
1403
+ }
1385
1404
  }
1386
1405
  /**
1387
1406
  * Gets a 3d `transform` that can be applied to an element.
@@ -1427,10 +1446,6 @@ function matchElementSize(target, sourceRect) {
1427
1446
  target.style.height = `${sourceRect.height}px`;
1428
1447
  target.style.transform = getTransform(sourceRect.left, sourceRect.top);
1429
1448
  }
1430
- /** Utility to prevent the default action of an event. */
1431
- function preventDefault(event) {
1432
- event.preventDefault();
1433
- }
1434
1449
 
1435
1450
  /**
1436
1451
  * @license
@@ -1716,8 +1731,11 @@ class DropListRef {
1716
1731
  * @param isPointerOverContainer Whether the user's pointer was over the
1717
1732
  * container when the item was dropped.
1718
1733
  * @param distance Distance the user has dragged since the start of the dragging sequence.
1734
+ * @param event Event that triggered the dropping sequence.
1735
+ *
1736
+ * @breaking-change 15.0.0 `previousIndex` and `event` parameters to become required.
1719
1737
  */
1720
- drop(item, currentIndex, previousIndex, previousContainer, isPointerOverContainer, distance, dropPoint) {
1738
+ drop(item, currentIndex, previousIndex, previousContainer, isPointerOverContainer, distance, dropPoint, event = {}) {
1721
1739
  this._reset();
1722
1740
  this.dropped.next({
1723
1741
  item,
@@ -1728,6 +1746,7 @@ class DropListRef {
1728
1746
  isPointerOverContainer,
1729
1747
  distance,
1730
1748
  dropPoint,
1749
+ event,
1731
1750
  });
1732
1751
  }
1733
1752
  /**
@@ -2533,9 +2552,9 @@ class DragDropRegistry {
2533
2552
  this._globalListeners.clear();
2534
2553
  }
2535
2554
  }
2536
- DragDropRegistry.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DragDropRegistry, deps: [{ token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
2537
- DragDropRegistry.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DragDropRegistry, providedIn: 'root' });
2538
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DragDropRegistry, decorators: [{
2555
+ DragDropRegistry.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: DragDropRegistry, deps: [{ token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
2556
+ DragDropRegistry.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: DragDropRegistry, providedIn: 'root' });
2557
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: DragDropRegistry, decorators: [{
2539
2558
  type: Injectable,
2540
2559
  args: [{ providedIn: 'root' }]
2541
2560
  }], ctorParameters: function () {
@@ -2583,9 +2602,9 @@ class DragDrop {
2583
2602
  return new DropListRef(element, this._dragDropRegistry, this._document, this._ngZone, this._viewportRuler);
2584
2603
  }
2585
2604
  }
2586
- DragDrop.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DragDrop, deps: [{ token: DOCUMENT }, { token: i0.NgZone }, { token: i1.ViewportRuler }, { token: DragDropRegistry }], target: i0.ɵɵFactoryTarget.Injectable });
2587
- DragDrop.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DragDrop, providedIn: 'root' });
2588
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DragDrop, decorators: [{
2605
+ DragDrop.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: DragDrop, deps: [{ token: DOCUMENT }, { token: i0.NgZone }, { token: i1.ViewportRuler }, { token: DragDropRegistry }], target: i0.ɵɵFactoryTarget.Injectable });
2606
+ DragDrop.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: DragDrop, providedIn: 'root' });
2607
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: DragDrop, decorators: [{
2589
2608
  type: Injectable,
2590
2609
  args: [{ providedIn: 'root' }]
2591
2610
  }], ctorParameters: function () {
@@ -2646,9 +2665,9 @@ class CdkDropListGroup {
2646
2665
  this._items.clear();
2647
2666
  }
2648
2667
  }
2649
- CdkDropListGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkDropListGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
2650
- CdkDropListGroup.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: CdkDropListGroup, selector: "[cdkDropListGroup]", inputs: { disabled: ["cdkDropListGroupDisabled", "disabled"] }, providers: [{ provide: CDK_DROP_LIST_GROUP, useExisting: CdkDropListGroup }], exportAs: ["cdkDropListGroup"], ngImport: i0 });
2651
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkDropListGroup, decorators: [{
2668
+ CdkDropListGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CdkDropListGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
2669
+ CdkDropListGroup.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.6", type: CdkDropListGroup, selector: "[cdkDropListGroup]", inputs: { disabled: ["cdkDropListGroupDisabled", "disabled"] }, providers: [{ provide: CDK_DROP_LIST_GROUP, useExisting: CdkDropListGroup }], exportAs: ["cdkDropListGroup"], ngImport: i0 });
2670
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CdkDropListGroup, decorators: [{
2652
2671
  type: Directive,
2653
2672
  args: [{
2654
2673
  selector: '[cdkDropListGroup]',
@@ -2902,16 +2921,17 @@ class CdkDropList {
2902
2921
  item: event.item.data,
2903
2922
  });
2904
2923
  });
2905
- ref.dropped.subscribe(event => {
2924
+ ref.dropped.subscribe(dropEvent => {
2906
2925
  this.dropped.emit({
2907
- previousIndex: event.previousIndex,
2908
- currentIndex: event.currentIndex,
2909
- previousContainer: event.previousContainer.data,
2910
- container: event.container.data,
2911
- item: event.item.data,
2912
- isPointerOverContainer: event.isPointerOverContainer,
2913
- distance: event.distance,
2914
- dropPoint: event.dropPoint,
2926
+ previousIndex: dropEvent.previousIndex,
2927
+ currentIndex: dropEvent.currentIndex,
2928
+ previousContainer: dropEvent.previousContainer.data,
2929
+ container: dropEvent.container.data,
2930
+ item: dropEvent.item.data,
2931
+ isPointerOverContainer: dropEvent.isPointerOverContainer,
2932
+ distance: dropEvent.distance,
2933
+ dropPoint: dropEvent.dropPoint,
2934
+ event: dropEvent.event,
2915
2935
  });
2916
2936
  // Mark for check since all of these events run outside of change
2917
2937
  // detection and we're not guaranteed for something else to have triggered it.
@@ -2936,13 +2956,13 @@ class CdkDropList {
2936
2956
  }
2937
2957
  /** Keeps track of the drop lists that are currently on the page. */
2938
2958
  CdkDropList._dropLists = [];
2939
- CdkDropList.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkDropList, deps: [{ token: i0.ElementRef }, { token: DragDrop }, { token: i0.ChangeDetectorRef }, { token: i1.ScrollDispatcher }, { token: i3.Directionality, optional: true }, { token: CDK_DROP_LIST_GROUP, optional: true, skipSelf: true }, { token: CDK_DRAG_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
2940
- CdkDropList.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: { connectedTo: ["cdkDropListConnectedTo", "connectedTo"], data: ["cdkDropListData", "data"], orientation: ["cdkDropListOrientation", "orientation"], id: "id", lockAxis: ["cdkDropListLockAxis", "lockAxis"], disabled: ["cdkDropListDisabled", "disabled"], sortingDisabled: ["cdkDropListSortingDisabled", "sortingDisabled"], enterPredicate: ["cdkDropListEnterPredicate", "enterPredicate"], sortPredicate: ["cdkDropListSortPredicate", "sortPredicate"], autoScrollDisabled: ["cdkDropListAutoScrollDisabled", "autoScrollDisabled"], autoScrollStep: ["cdkDropListAutoScrollStep", "autoScrollStep"] }, outputs: { dropped: "cdkDropListDropped", entered: "cdkDropListEntered", exited: "cdkDropListExited", sorted: "cdkDropListSorted" }, host: { properties: { "attr.id": "id", "class.cdk-drop-list-disabled": "disabled", "class.cdk-drop-list-dragging": "_dropListRef.isDragging()", "class.cdk-drop-list-receiving": "_dropListRef.isReceiving()" }, classAttribute: "cdk-drop-list" }, providers: [
2959
+ CdkDropList.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CdkDropList, deps: [{ token: i0.ElementRef }, { token: DragDrop }, { token: i0.ChangeDetectorRef }, { token: i1.ScrollDispatcher }, { token: i3.Directionality, optional: true }, { token: CDK_DROP_LIST_GROUP, optional: true, skipSelf: true }, { token: CDK_DRAG_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
2960
+ CdkDropList.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.6", type: CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: { connectedTo: ["cdkDropListConnectedTo", "connectedTo"], data: ["cdkDropListData", "data"], orientation: ["cdkDropListOrientation", "orientation"], id: "id", lockAxis: ["cdkDropListLockAxis", "lockAxis"], disabled: ["cdkDropListDisabled", "disabled"], sortingDisabled: ["cdkDropListSortingDisabled", "sortingDisabled"], enterPredicate: ["cdkDropListEnterPredicate", "enterPredicate"], sortPredicate: ["cdkDropListSortPredicate", "sortPredicate"], autoScrollDisabled: ["cdkDropListAutoScrollDisabled", "autoScrollDisabled"], autoScrollStep: ["cdkDropListAutoScrollStep", "autoScrollStep"] }, outputs: { dropped: "cdkDropListDropped", entered: "cdkDropListEntered", exited: "cdkDropListExited", sorted: "cdkDropListSorted" }, host: { properties: { "attr.id": "id", "class.cdk-drop-list-disabled": "disabled", "class.cdk-drop-list-dragging": "_dropListRef.isDragging()", "class.cdk-drop-list-receiving": "_dropListRef.isReceiving()" }, classAttribute: "cdk-drop-list" }, providers: [
2941
2961
  // Prevent child drop lists from picking up the same group as their parent.
2942
2962
  { provide: CDK_DROP_LIST_GROUP, useValue: undefined },
2943
2963
  { provide: CDK_DROP_LIST, useExisting: CdkDropList },
2944
2964
  ], exportAs: ["cdkDropList"], ngImport: i0 });
2945
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkDropList, decorators: [{
2965
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CdkDropList, decorators: [{
2946
2966
  type: Directive,
2947
2967
  args: [{
2948
2968
  selector: '[cdkDropList], cdk-drop-list',
@@ -3059,9 +3079,9 @@ class CdkDragHandle {
3059
3079
  this._stateChanges.complete();
3060
3080
  }
3061
3081
  }
3062
- CdkDragHandle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkDragHandle, deps: [{ token: i0.ElementRef }, { token: CDK_DRAG_PARENT, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
3063
- CdkDragHandle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: { disabled: ["cdkDragHandleDisabled", "disabled"] }, host: { classAttribute: "cdk-drag-handle" }, providers: [{ provide: CDK_DRAG_HANDLE, useExisting: CdkDragHandle }], ngImport: i0 });
3064
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkDragHandle, decorators: [{
3082
+ CdkDragHandle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CdkDragHandle, deps: [{ token: i0.ElementRef }, { token: CDK_DRAG_PARENT, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
3083
+ CdkDragHandle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.6", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: { disabled: ["cdkDragHandleDisabled", "disabled"] }, host: { classAttribute: "cdk-drag-handle" }, providers: [{ provide: CDK_DRAG_HANDLE, useExisting: CdkDragHandle }], ngImport: i0 });
3084
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CdkDragHandle, decorators: [{
3065
3085
  type: Directive,
3066
3086
  args: [{
3067
3087
  selector: '[cdkDragHandle]',
@@ -3106,9 +3126,9 @@ class CdkDragPlaceholder {
3106
3126
  this.templateRef = templateRef;
3107
3127
  }
3108
3128
  }
3109
- CdkDragPlaceholder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkDragPlaceholder, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
3110
- CdkDragPlaceholder.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: CdkDragPlaceholder, selector: "ng-template[cdkDragPlaceholder]", inputs: { data: "data" }, providers: [{ provide: CDK_DRAG_PLACEHOLDER, useExisting: CdkDragPlaceholder }], ngImport: i0 });
3111
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkDragPlaceholder, decorators: [{
3129
+ CdkDragPlaceholder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CdkDragPlaceholder, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
3130
+ CdkDragPlaceholder.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.6", type: CdkDragPlaceholder, selector: "ng-template[cdkDragPlaceholder]", inputs: { data: "data" }, providers: [{ provide: CDK_DRAG_PLACEHOLDER, useExisting: CdkDragPlaceholder }], ngImport: i0 });
3131
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CdkDragPlaceholder, decorators: [{
3112
3132
  type: Directive,
3113
3133
  args: [{
3114
3134
  selector: 'ng-template[cdkDragPlaceholder]',
@@ -3148,9 +3168,9 @@ class CdkDragPreview {
3148
3168
  this._matchSize = coerceBooleanProperty(value);
3149
3169
  }
3150
3170
  }
3151
- CdkDragPreview.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkDragPreview, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
3152
- CdkDragPreview.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: CdkDragPreview, selector: "ng-template[cdkDragPreview]", inputs: { data: "data", matchSize: "matchSize" }, providers: [{ provide: CDK_DRAG_PREVIEW, useExisting: CdkDragPreview }], ngImport: i0 });
3153
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkDragPreview, decorators: [{
3171
+ CdkDragPreview.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CdkDragPreview, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
3172
+ CdkDragPreview.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.6", type: CdkDragPreview, selector: "ng-template[cdkDragPreview]", inputs: { data: "data", matchSize: "matchSize" }, providers: [{ provide: CDK_DRAG_PREVIEW, useExisting: CdkDragPreview }], ngImport: i0 });
3173
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CdkDragPreview, decorators: [{
3154
3174
  type: Directive,
3155
3175
  args: [{
3156
3176
  selector: 'ng-template[cdkDragPreview]',
@@ -3408,48 +3428,50 @@ class CdkDrag {
3408
3428
  }
3409
3429
  /** Handles the events from the underlying `DragRef`. */
3410
3430
  _handleEvents(ref) {
3411
- ref.started.subscribe(() => {
3412
- this.started.emit({ source: this });
3431
+ ref.started.subscribe(startEvent => {
3432
+ this.started.emit({ source: this, event: startEvent.event });
3413
3433
  // Since all of these events run outside of change detection,
3414
3434
  // we need to ensure that everything is marked correctly.
3415
3435
  this._changeDetectorRef.markForCheck();
3416
3436
  });
3417
- ref.released.subscribe(() => {
3418
- this.released.emit({ source: this });
3437
+ ref.released.subscribe(releaseEvent => {
3438
+ this.released.emit({ source: this, event: releaseEvent.event });
3419
3439
  });
3420
- ref.ended.subscribe(event => {
3440
+ ref.ended.subscribe(endEvent => {
3421
3441
  this.ended.emit({
3422
3442
  source: this,
3423
- distance: event.distance,
3424
- dropPoint: event.dropPoint,
3443
+ distance: endEvent.distance,
3444
+ dropPoint: endEvent.dropPoint,
3445
+ event: endEvent.event,
3425
3446
  });
3426
3447
  // Since all of these events run outside of change detection,
3427
3448
  // we need to ensure that everything is marked correctly.
3428
3449
  this._changeDetectorRef.markForCheck();
3429
3450
  });
3430
- ref.entered.subscribe(event => {
3451
+ ref.entered.subscribe(enterEvent => {
3431
3452
  this.entered.emit({
3432
- container: event.container.data,
3453
+ container: enterEvent.container.data,
3433
3454
  item: this,
3434
- currentIndex: event.currentIndex,
3455
+ currentIndex: enterEvent.currentIndex,
3435
3456
  });
3436
3457
  });
3437
- ref.exited.subscribe(event => {
3458
+ ref.exited.subscribe(exitEvent => {
3438
3459
  this.exited.emit({
3439
- container: event.container.data,
3460
+ container: exitEvent.container.data,
3440
3461
  item: this,
3441
3462
  });
3442
3463
  });
3443
- ref.dropped.subscribe(event => {
3464
+ ref.dropped.subscribe(dropEvent => {
3444
3465
  this.dropped.emit({
3445
- previousIndex: event.previousIndex,
3446
- currentIndex: event.currentIndex,
3447
- previousContainer: event.previousContainer.data,
3448
- container: event.container.data,
3449
- isPointerOverContainer: event.isPointerOverContainer,
3466
+ previousIndex: dropEvent.previousIndex,
3467
+ currentIndex: dropEvent.currentIndex,
3468
+ previousContainer: dropEvent.previousContainer.data,
3469
+ container: dropEvent.container.data,
3470
+ isPointerOverContainer: dropEvent.isPointerOverContainer,
3450
3471
  item: this,
3451
- distance: event.distance,
3452
- dropPoint: event.dropPoint,
3472
+ distance: dropEvent.distance,
3473
+ dropPoint: dropEvent.dropPoint,
3474
+ event: dropEvent.event,
3453
3475
  });
3454
3476
  });
3455
3477
  }
@@ -3510,9 +3532,9 @@ class CdkDrag {
3510
3532
  }
3511
3533
  }
3512
3534
  CdkDrag._dragInstances = [];
3513
- CdkDrag.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkDrag, deps: [{ token: i0.ElementRef }, { token: CDK_DROP_LIST, optional: true, skipSelf: true }, { token: DOCUMENT }, { token: i0.NgZone }, { token: i0.ViewContainerRef }, { token: CDK_DRAG_CONFIG, optional: true }, { token: i3.Directionality, optional: true }, { token: DragDrop }, { token: i0.ChangeDetectorRef }, { token: CDK_DRAG_HANDLE, optional: true, self: true }, { token: CDK_DRAG_PARENT, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
3514
- CdkDrag.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: CdkDrag, selector: "[cdkDrag]", inputs: { data: ["cdkDragData", "data"], lockAxis: ["cdkDragLockAxis", "lockAxis"], rootElementSelector: ["cdkDragRootElement", "rootElementSelector"], boundaryElement: ["cdkDragBoundary", "boundaryElement"], dragStartDelay: ["cdkDragStartDelay", "dragStartDelay"], freeDragPosition: ["cdkDragFreeDragPosition", "freeDragPosition"], disabled: ["cdkDragDisabled", "disabled"], constrainPosition: ["cdkDragConstrainPosition", "constrainPosition"], previewClass: ["cdkDragPreviewClass", "previewClass"], previewContainer: ["cdkDragPreviewContainer", "previewContainer"] }, outputs: { started: "cdkDragStarted", released: "cdkDragReleased", ended: "cdkDragEnded", entered: "cdkDragEntered", exited: "cdkDragExited", dropped: "cdkDragDropped", moved: "cdkDragMoved" }, host: { properties: { "class.cdk-drag-disabled": "disabled", "class.cdk-drag-dragging": "_dragRef.isDragging()" }, classAttribute: "cdk-drag" }, providers: [{ provide: CDK_DRAG_PARENT, useExisting: CdkDrag }], queries: [{ propertyName: "_previewTemplate", first: true, predicate: CDK_DRAG_PREVIEW, descendants: true }, { propertyName: "_placeholderTemplate", first: true, predicate: CDK_DRAG_PLACEHOLDER, descendants: true }, { propertyName: "_handles", predicate: CDK_DRAG_HANDLE, descendants: true }], exportAs: ["cdkDrag"], usesOnChanges: true, ngImport: i0 });
3515
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkDrag, decorators: [{
3535
+ CdkDrag.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CdkDrag, deps: [{ token: i0.ElementRef }, { token: CDK_DROP_LIST, optional: true, skipSelf: true }, { token: DOCUMENT }, { token: i0.NgZone }, { token: i0.ViewContainerRef }, { token: CDK_DRAG_CONFIG, optional: true }, { token: i3.Directionality, optional: true }, { token: DragDrop }, { token: i0.ChangeDetectorRef }, { token: CDK_DRAG_HANDLE, optional: true, self: true }, { token: CDK_DRAG_PARENT, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
3536
+ CdkDrag.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.6", type: CdkDrag, selector: "[cdkDrag]", inputs: { data: ["cdkDragData", "data"], lockAxis: ["cdkDragLockAxis", "lockAxis"], rootElementSelector: ["cdkDragRootElement", "rootElementSelector"], boundaryElement: ["cdkDragBoundary", "boundaryElement"], dragStartDelay: ["cdkDragStartDelay", "dragStartDelay"], freeDragPosition: ["cdkDragFreeDragPosition", "freeDragPosition"], disabled: ["cdkDragDisabled", "disabled"], constrainPosition: ["cdkDragConstrainPosition", "constrainPosition"], previewClass: ["cdkDragPreviewClass", "previewClass"], previewContainer: ["cdkDragPreviewContainer", "previewContainer"] }, outputs: { started: "cdkDragStarted", released: "cdkDragReleased", ended: "cdkDragEnded", entered: "cdkDragEntered", exited: "cdkDragExited", dropped: "cdkDragDropped", moved: "cdkDragMoved" }, host: { properties: { "class.cdk-drag-disabled": "disabled", "class.cdk-drag-dragging": "_dragRef.isDragging()" }, classAttribute: "cdk-drag" }, providers: [{ provide: CDK_DRAG_PARENT, useExisting: CdkDrag }], queries: [{ propertyName: "_previewTemplate", first: true, predicate: CDK_DRAG_PREVIEW, descendants: true }, { propertyName: "_placeholderTemplate", first: true, predicate: CDK_DRAG_PLACEHOLDER, descendants: true }, { propertyName: "_handles", predicate: CDK_DRAG_HANDLE, descendants: true }], exportAs: ["cdkDrag"], usesOnChanges: true, ngImport: i0 });
3537
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: CdkDrag, decorators: [{
3516
3538
  type: Directive,
3517
3539
  args: [{
3518
3540
  selector: '[cdkDrag]',
@@ -3628,8 +3650,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
3628
3650
  */
3629
3651
  class DragDropModule {
3630
3652
  }
3631
- DragDropModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DragDropModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3632
- DragDropModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DragDropModule, declarations: [CdkDropList,
3653
+ DragDropModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: DragDropModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3654
+ DragDropModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: DragDropModule, declarations: [CdkDropList,
3633
3655
  CdkDropListGroup,
3634
3656
  CdkDrag,
3635
3657
  CdkDragHandle,
@@ -3641,8 +3663,8 @@ DragDropModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
3641
3663
  CdkDragHandle,
3642
3664
  CdkDragPreview,
3643
3665
  CdkDragPlaceholder] });
3644
- DragDropModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DragDropModule, providers: [DragDrop], imports: [CdkScrollableModule] });
3645
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: DragDropModule, decorators: [{
3666
+ DragDropModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: DragDropModule, providers: [DragDrop], imports: [CdkScrollableModule] });
3667
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6", ngImport: i0, type: DragDropModule, decorators: [{
3646
3668
  type: NgModule,
3647
3669
  args: [{
3648
3670
  declarations: [