@angular/cdk 13.2.4 → 13.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/drag-drop/drag-ref.d.ts +7 -1
  2. package/esm2020/a11y/a11y-module.mjs +4 -4
  3. package/esm2020/a11y/aria-describer/aria-describer.mjs +3 -3
  4. package/esm2020/a11y/focus-monitor/focus-monitor.mjs +6 -6
  5. package/esm2020/a11y/focus-trap/configurable-focus-trap-factory.mjs +3 -3
  6. package/esm2020/a11y/focus-trap/focus-trap-manager.mjs +3 -3
  7. package/esm2020/a11y/focus-trap/focus-trap.mjs +6 -6
  8. package/esm2020/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +3 -3
  9. package/esm2020/a11y/input-modality/input-modality-detector.mjs +3 -3
  10. package/esm2020/a11y/interactivity-checker/interactivity-checker.mjs +3 -3
  11. package/esm2020/a11y/live-announcer/live-announcer.mjs +6 -6
  12. package/esm2020/accordion/accordion-item.mjs +3 -3
  13. package/esm2020/accordion/accordion-module.mjs +4 -4
  14. package/esm2020/accordion/accordion.mjs +3 -3
  15. package/esm2020/bidi/bidi-module.mjs +4 -4
  16. package/esm2020/bidi/dir.mjs +3 -3
  17. package/esm2020/bidi/directionality.mjs +3 -3
  18. package/esm2020/clipboard/clipboard-module.mjs +4 -4
  19. package/esm2020/clipboard/clipboard.mjs +3 -3
  20. package/esm2020/clipboard/copy-to-clipboard.mjs +3 -3
  21. package/esm2020/collections/unique-selection-dispatcher.mjs +3 -3
  22. package/esm2020/drag-drop/directives/drag-handle.mjs +3 -3
  23. package/esm2020/drag-drop/directives/drag-placeholder.mjs +3 -3
  24. package/esm2020/drag-drop/directives/drag-preview.mjs +3 -3
  25. package/esm2020/drag-drop/directives/drag.mjs +3 -3
  26. package/esm2020/drag-drop/directives/drop-list-group.mjs +3 -3
  27. package/esm2020/drag-drop/directives/drop-list.mjs +3 -3
  28. package/esm2020/drag-drop/drag-drop-module.mjs +4 -4
  29. package/esm2020/drag-drop/drag-drop-registry.mjs +3 -3
  30. package/esm2020/drag-drop/drag-drop.mjs +3 -3
  31. package/esm2020/drag-drop/drag-ref.mjs +36 -23
  32. package/esm2020/layout/breakpoints-observer.mjs +3 -3
  33. package/esm2020/layout/layout-module.mjs +4 -4
  34. package/esm2020/layout/media-matcher.mjs +3 -3
  35. package/esm2020/observers/observe-content.mjs +13 -13
  36. package/esm2020/overlay/dispatchers/base-overlay-dispatcher.mjs +3 -3
  37. package/esm2020/overlay/dispatchers/overlay-keyboard-dispatcher.mjs +26 -8
  38. package/esm2020/overlay/dispatchers/overlay-outside-click-dispatcher.mjs +33 -12
  39. package/esm2020/overlay/fullscreen-overlay-container.mjs +3 -3
  40. package/esm2020/overlay/overlay-container.mjs +3 -3
  41. package/esm2020/overlay/overlay-directives.mjs +6 -6
  42. package/esm2020/overlay/overlay-module.mjs +4 -4
  43. package/esm2020/overlay/overlay-ref.mjs +14 -16
  44. package/esm2020/overlay/overlay.mjs +3 -3
  45. package/esm2020/overlay/position/overlay-position-builder.mjs +3 -3
  46. package/esm2020/overlay/scroll/scroll-strategy-options.mjs +3 -3
  47. package/esm2020/platform/platform-module.mjs +4 -4
  48. package/esm2020/platform/platform.mjs +3 -3
  49. package/esm2020/portal/portal-directives.mjs +16 -16
  50. package/esm2020/scrolling/fixed-size-virtual-scroll.mjs +3 -3
  51. package/esm2020/scrolling/scroll-dispatcher.mjs +3 -3
  52. package/esm2020/scrolling/scrollable.mjs +3 -3
  53. package/esm2020/scrolling/scrolling-module.mjs +8 -8
  54. package/esm2020/scrolling/viewport-ruler.mjs +3 -3
  55. package/esm2020/scrolling/virtual-for-of.mjs +3 -3
  56. package/esm2020/scrolling/virtual-scroll-viewport.mjs +3 -3
  57. package/esm2020/stepper/step-header.mjs +3 -3
  58. package/esm2020/stepper/step-label.mjs +3 -3
  59. package/esm2020/stepper/stepper-button.mjs +6 -6
  60. package/esm2020/stepper/stepper-module.mjs +4 -4
  61. package/esm2020/stepper/stepper.mjs +6 -6
  62. package/esm2020/table/cell.mjs +21 -21
  63. package/esm2020/table/coalesced-style-scheduler.mjs +3 -3
  64. package/esm2020/table/row.mjs +27 -27
  65. package/esm2020/table/table-module.mjs +4 -4
  66. package/esm2020/table/table.mjs +18 -18
  67. package/esm2020/table/text-column.mjs +3 -3
  68. package/esm2020/testing/harness-environment.mjs +4 -1
  69. package/esm2020/testing/protractor/protractor-element.mjs +8 -3
  70. package/esm2020/testing/public-api.mjs +2 -1
  71. package/esm2020/testing/selenium-webdriver/selenium-web-driver-element.mjs +8 -3
  72. package/esm2020/testing/test-element-errors.mjs +15 -0
  73. package/esm2020/testing/test-element.mjs +1 -1
  74. package/esm2020/testing/testbed/fake-events/type-in-element.mjs +12 -3
  75. package/esm2020/testing/testbed/unit-test-element.mjs +21 -5
  76. package/esm2020/text-field/autofill.mjs +6 -6
  77. package/esm2020/text-field/autosize.mjs +3 -3
  78. package/esm2020/text-field/text-field-module.mjs +4 -4
  79. package/esm2020/tree/nested-node.mjs +3 -3
  80. package/esm2020/tree/node.mjs +3 -3
  81. package/esm2020/tree/outlet.mjs +3 -3
  82. package/esm2020/tree/padding.mjs +3 -3
  83. package/esm2020/tree/toggle.mjs +3 -3
  84. package/esm2020/tree/tree-module.mjs +4 -4
  85. package/esm2020/tree/tree.mjs +6 -6
  86. package/esm2020/version.mjs +1 -1
  87. package/fesm2015/a11y.mjs +40 -40
  88. package/fesm2015/a11y.mjs.map +1 -1
  89. package/fesm2015/accordion.mjs +10 -10
  90. package/fesm2015/accordion.mjs.map +1 -1
  91. package/fesm2015/bidi.mjs +10 -10
  92. package/fesm2015/bidi.mjs.map +1 -1
  93. package/fesm2015/cdk.mjs +1 -1
  94. package/fesm2015/cdk.mjs.map +1 -1
  95. package/fesm2015/clipboard.mjs +10 -10
  96. package/fesm2015/clipboard.mjs.map +1 -1
  97. package/fesm2015/coercion.mjs.map +1 -1
  98. package/fesm2015/collections.mjs +3 -3
  99. package/fesm2015/collections.mjs.map +1 -1
  100. package/fesm2015/drag-drop.mjs +63 -50
  101. package/fesm2015/drag-drop.mjs.map +1 -1
  102. package/fesm2015/keycodes.mjs.map +1 -1
  103. package/fesm2015/layout.mjs +10 -10
  104. package/fesm2015/layout.mjs.map +1 -1
  105. package/fesm2015/observers.mjs +13 -13
  106. package/fesm2015/observers.mjs.map +1 -1
  107. package/fesm2015/overlay.mjs +97 -60
  108. package/fesm2015/overlay.mjs.map +1 -1
  109. package/fesm2015/platform.mjs +7 -7
  110. package/fesm2015/platform.mjs.map +1 -1
  111. package/fesm2015/portal.mjs +16 -16
  112. package/fesm2015/portal.mjs.map +1 -1
  113. package/fesm2015/scrolling.mjs +26 -26
  114. package/fesm2015/scrolling.mjs.map +1 -1
  115. package/fesm2015/stepper.mjs +22 -22
  116. package/fesm2015/stepper.mjs.map +1 -1
  117. package/fesm2015/table.mjs +76 -76
  118. package/fesm2015/table.mjs.map +1 -1
  119. package/fesm2015/testing/protractor.mjs +7 -2
  120. package/fesm2015/testing/protractor.mjs.map +1 -1
  121. package/fesm2015/testing/selenium-webdriver.mjs +7 -2
  122. package/fesm2015/testing/selenium-webdriver.mjs.map +1 -1
  123. package/fesm2015/testing/testbed.mjs +31 -7
  124. package/fesm2015/testing/testbed.mjs.map +1 -1
  125. package/fesm2015/testing.mjs +19 -1
  126. package/fesm2015/testing.mjs.map +1 -1
  127. package/fesm2015/text-field.mjs +13 -13
  128. package/fesm2015/text-field.mjs.map +1 -1
  129. package/fesm2015/tree.mjs +25 -25
  130. package/fesm2015/tree.mjs.map +1 -1
  131. package/fesm2020/a11y.mjs +40 -40
  132. package/fesm2020/a11y.mjs.map +1 -1
  133. package/fesm2020/accordion.mjs +10 -10
  134. package/fesm2020/accordion.mjs.map +1 -1
  135. package/fesm2020/bidi.mjs +10 -10
  136. package/fesm2020/bidi.mjs.map +1 -1
  137. package/fesm2020/cdk.mjs +1 -1
  138. package/fesm2020/cdk.mjs.map +1 -1
  139. package/fesm2020/clipboard.mjs +10 -10
  140. package/fesm2020/clipboard.mjs.map +1 -1
  141. package/fesm2020/coercion.mjs.map +1 -1
  142. package/fesm2020/collections.mjs +3 -3
  143. package/fesm2020/collections.mjs.map +1 -1
  144. package/fesm2020/drag-drop.mjs +63 -50
  145. package/fesm2020/drag-drop.mjs.map +1 -1
  146. package/fesm2020/keycodes.mjs.map +1 -1
  147. package/fesm2020/layout.mjs +10 -10
  148. package/fesm2020/layout.mjs.map +1 -1
  149. package/fesm2020/observers.mjs +13 -13
  150. package/fesm2020/observers.mjs.map +1 -1
  151. package/fesm2020/overlay.mjs +97 -60
  152. package/fesm2020/overlay.mjs.map +1 -1
  153. package/fesm2020/platform.mjs +7 -7
  154. package/fesm2020/platform.mjs.map +1 -1
  155. package/fesm2020/portal.mjs +16 -16
  156. package/fesm2020/portal.mjs.map +1 -1
  157. package/fesm2020/scrolling.mjs +26 -26
  158. package/fesm2020/scrolling.mjs.map +1 -1
  159. package/fesm2020/stepper.mjs +22 -22
  160. package/fesm2020/stepper.mjs.map +1 -1
  161. package/fesm2020/table.mjs +76 -76
  162. package/fesm2020/table.mjs.map +1 -1
  163. package/fesm2020/testing/protractor.mjs +7 -2
  164. package/fesm2020/testing/protractor.mjs.map +1 -1
  165. package/fesm2020/testing/selenium-webdriver.mjs +7 -2
  166. package/fesm2020/testing/selenium-webdriver.mjs.map +1 -1
  167. package/fesm2020/testing/testbed.mjs +31 -7
  168. package/fesm2020/testing/testbed.mjs.map +1 -1
  169. package/fesm2020/testing.mjs +19 -1
  170. package/fesm2020/testing.mjs.map +1 -1
  171. package/fesm2020/text-field.mjs +13 -13
  172. package/fesm2020/text-field.mjs.map +1 -1
  173. package/fesm2020/tree.mjs +25 -25
  174. package/fesm2020/tree.mjs.map +1 -1
  175. package/overlay/_index.scss +7 -1
  176. package/overlay/dispatchers/overlay-keyboard-dispatcher.d.ts +7 -2
  177. package/overlay/dispatchers/overlay-outside-click-dispatcher.d.ts +8 -2
  178. package/overlay/overlay-ref.d.ts +2 -0
  179. package/overlay-prebuilt.css +1 -1
  180. package/package.json +1 -1
  181. package/schematics/index.js +6 -2
  182. package/schematics/index.mjs +6 -2
  183. package/schematics/ng-add/index.js +1 -1
  184. package/schematics/ng-add/index.mjs +1 -1
  185. package/schematics/ng-update/data/index.js +6 -2
  186. package/schematics/ng-update/data/index.mjs +6 -2
  187. package/schematics/ng-update/devkit-migration-rule.js +2 -2
  188. package/schematics/ng-update/devkit-migration-rule.mjs +2 -2
  189. package/schematics/ng-update/public-api.js +6 -2
  190. package/schematics/ng-update/public-api.mjs +6 -2
  191. package/schematics/update-tool/public-api.js +6 -2
  192. package/schematics/update-tool/public-api.mjs +6 -2
  193. package/schematics/utils/index.js +6 -2
  194. package/schematics/utils/index.mjs +6 -2
  195. package/testing/public-api.d.ts +1 -0
  196. package/testing/test-element-errors.d.ts +12 -0
  197. package/testing/test-element.d.ts +4 -2
  198. package/testing/testbed/fake-events/type-in-element.d.ts +2 -2
  199. 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;
@@ -1161,11 +1163,11 @@ class DragRef {
1161
1163
  if (this._boundaryRect) {
1162
1164
  const { x: pickupX, y: pickupY } = this._pickupPositionInElement;
1163
1165
  const boundaryRect = this._boundaryRect;
1164
- const previewRect = this._previewRect;
1166
+ const { width: previewWidth, height: previewHeight } = this._getPreviewRect();
1165
1167
  const minY = boundaryRect.top + pickupY;
1166
- const maxY = boundaryRect.bottom - (previewRect.height - pickupY);
1168
+ const maxY = boundaryRect.bottom - (previewHeight - pickupY);
1167
1169
  const minX = boundaryRect.left + pickupX;
1168
- const maxX = boundaryRect.right - (previewRect.width - pickupX);
1170
+ const maxX = boundaryRect.right - (previewWidth - pickupX);
1169
1171
  x = clamp$1(x, minX, maxX);
1170
1172
  y = clamp$1(y, minY, maxY);
1171
1173
  }
@@ -1208,7 +1210,7 @@ class DragRef {
1208
1210
  _removeRootElementListeners(element) {
1209
1211
  element.removeEventListener('mousedown', this._pointerDown, activeEventListenerOptions);
1210
1212
  element.removeEventListener('touchstart', this._pointerDown, passiveEventListenerOptions);
1211
- element.removeEventListener('dragstart', preventDefault, activeEventListenerOptions);
1213
+ element.removeEventListener('dragstart', this._nativeDragStart, activeEventListenerOptions);
1212
1214
  }
1213
1215
  /**
1214
1216
  * Applies a `transform` to the root element, taking into account any existing transforms on it.
@@ -1382,6 +1384,21 @@ class DragRef {
1382
1384
  }
1383
1385
  return coerceElement(previewContainer);
1384
1386
  }
1387
+ /** Lazily resolves and returns the dimensions of the preview. */
1388
+ _getPreviewRect() {
1389
+ // Cache the preview element rect if we haven't cached it already or if
1390
+ // we cached it too early before the element dimensions were computed.
1391
+ if (!this._previewRect || (!this._previewRect.width && !this._previewRect.height)) {
1392
+ this._previewRect = (this._preview || this._rootElement).getBoundingClientRect();
1393
+ }
1394
+ return this._previewRect;
1395
+ }
1396
+ /** Gets a handle that is the target of an event. */
1397
+ _getTargetHandle(event) {
1398
+ return this._handles.find(handle => {
1399
+ return event.target && (event.target === handle || handle.contains(event.target));
1400
+ });
1401
+ }
1385
1402
  }
1386
1403
  /**
1387
1404
  * Gets a 3d `transform` that can be applied to an element.
@@ -1427,10 +1444,6 @@ function matchElementSize(target, sourceRect) {
1427
1444
  target.style.height = `${sourceRect.height}px`;
1428
1445
  target.style.transform = getTransform(sourceRect.left, sourceRect.top);
1429
1446
  }
1430
- /** Utility to prevent the default action of an event. */
1431
- function preventDefault(event) {
1432
- event.preventDefault();
1433
- }
1434
1447
 
1435
1448
  /**
1436
1449
  * @license
@@ -2533,9 +2546,9 @@ class DragDropRegistry {
2533
2546
  this._globalListeners.clear();
2534
2547
  }
2535
2548
  }
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: [{
2549
+ DragDropRegistry.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DragDropRegistry, deps: [{ token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
2550
+ DragDropRegistry.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DragDropRegistry, providedIn: 'root' });
2551
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DragDropRegistry, decorators: [{
2539
2552
  type: Injectable,
2540
2553
  args: [{ providedIn: 'root' }]
2541
2554
  }], ctorParameters: function () {
@@ -2583,9 +2596,9 @@ class DragDrop {
2583
2596
  return new DropListRef(element, this._dragDropRegistry, this._document, this._ngZone, this._viewportRuler);
2584
2597
  }
2585
2598
  }
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: [{
2599
+ DragDrop.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DragDrop, deps: [{ token: DOCUMENT }, { token: i0.NgZone }, { token: i1.ViewportRuler }, { token: DragDropRegistry }], target: i0.ɵɵFactoryTarget.Injectable });
2600
+ DragDrop.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DragDrop, providedIn: 'root' });
2601
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DragDrop, decorators: [{
2589
2602
  type: Injectable,
2590
2603
  args: [{ providedIn: 'root' }]
2591
2604
  }], ctorParameters: function () {
@@ -2646,9 +2659,9 @@ class CdkDropListGroup {
2646
2659
  this._items.clear();
2647
2660
  }
2648
2661
  }
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: [{
2662
+ CdkDropListGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CdkDropListGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
2663
+ CdkDropListGroup.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: CdkDropListGroup, selector: "[cdkDropListGroup]", inputs: { disabled: ["cdkDropListGroupDisabled", "disabled"] }, providers: [{ provide: CDK_DROP_LIST_GROUP, useExisting: CdkDropListGroup }], exportAs: ["cdkDropListGroup"], ngImport: i0 });
2664
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CdkDropListGroup, decorators: [{
2652
2665
  type: Directive,
2653
2666
  args: [{
2654
2667
  selector: '[cdkDropListGroup]',
@@ -2936,13 +2949,13 @@ class CdkDropList {
2936
2949
  }
2937
2950
  /** Keeps track of the drop lists that are currently on the page. */
2938
2951
  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: [
2952
+ CdkDropList.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.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 });
2953
+ CdkDropList.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.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: [
2941
2954
  // Prevent child drop lists from picking up the same group as their parent.
2942
2955
  { provide: CDK_DROP_LIST_GROUP, useValue: undefined },
2943
2956
  { provide: CDK_DROP_LIST, useExisting: CdkDropList },
2944
2957
  ], exportAs: ["cdkDropList"], ngImport: i0 });
2945
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkDropList, decorators: [{
2958
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CdkDropList, decorators: [{
2946
2959
  type: Directive,
2947
2960
  args: [{
2948
2961
  selector: '[cdkDropList], cdk-drop-list',
@@ -3059,9 +3072,9 @@ class CdkDragHandle {
3059
3072
  this._stateChanges.complete();
3060
3073
  }
3061
3074
  }
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: [{
3075
+ CdkDragHandle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CdkDragHandle, deps: [{ token: i0.ElementRef }, { token: CDK_DRAG_PARENT, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
3076
+ CdkDragHandle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: { disabled: ["cdkDragHandleDisabled", "disabled"] }, host: { classAttribute: "cdk-drag-handle" }, providers: [{ provide: CDK_DRAG_HANDLE, useExisting: CdkDragHandle }], ngImport: i0 });
3077
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CdkDragHandle, decorators: [{
3065
3078
  type: Directive,
3066
3079
  args: [{
3067
3080
  selector: '[cdkDragHandle]',
@@ -3106,9 +3119,9 @@ class CdkDragPlaceholder {
3106
3119
  this.templateRef = templateRef;
3107
3120
  }
3108
3121
  }
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: [{
3122
+ CdkDragPlaceholder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CdkDragPlaceholder, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
3123
+ CdkDragPlaceholder.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: CdkDragPlaceholder, selector: "ng-template[cdkDragPlaceholder]", inputs: { data: "data" }, providers: [{ provide: CDK_DRAG_PLACEHOLDER, useExisting: CdkDragPlaceholder }], ngImport: i0 });
3124
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CdkDragPlaceholder, decorators: [{
3112
3125
  type: Directive,
3113
3126
  args: [{
3114
3127
  selector: 'ng-template[cdkDragPlaceholder]',
@@ -3148,9 +3161,9 @@ class CdkDragPreview {
3148
3161
  this._matchSize = coerceBooleanProperty(value);
3149
3162
  }
3150
3163
  }
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: [{
3164
+ CdkDragPreview.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CdkDragPreview, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
3165
+ CdkDragPreview.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: CdkDragPreview, selector: "ng-template[cdkDragPreview]", inputs: { data: "data", matchSize: "matchSize" }, providers: [{ provide: CDK_DRAG_PREVIEW, useExisting: CdkDragPreview }], ngImport: i0 });
3166
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CdkDragPreview, decorators: [{
3154
3167
  type: Directive,
3155
3168
  args: [{
3156
3169
  selector: 'ng-template[cdkDragPreview]',
@@ -3510,9 +3523,9 @@ class CdkDrag {
3510
3523
  }
3511
3524
  }
3512
3525
  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: [{
3526
+ CdkDrag.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.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 });
3527
+ CdkDrag.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.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 });
3528
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CdkDrag, decorators: [{
3516
3529
  type: Directive,
3517
3530
  args: [{
3518
3531
  selector: '[cdkDrag]',
@@ -3628,8 +3641,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
3628
3641
  */
3629
3642
  class DragDropModule {
3630
3643
  }
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,
3644
+ DragDropModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DragDropModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3645
+ DragDropModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DragDropModule, declarations: [CdkDropList,
3633
3646
  CdkDropListGroup,
3634
3647
  CdkDrag,
3635
3648
  CdkDragHandle,
@@ -3641,8 +3654,8 @@ DragDropModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
3641
3654
  CdkDragHandle,
3642
3655
  CdkDragPreview,
3643
3656
  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: [{
3657
+ DragDropModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DragDropModule, providers: [DragDrop], imports: [CdkScrollableModule] });
3658
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DragDropModule, decorators: [{
3646
3659
  type: NgModule,
3647
3660
  args: [{
3648
3661
  declarations: [