@angular/cdk 10.1.1 → 10.2.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 (223) hide show
  1. package/a11y/index.metadata.json +1 -1
  2. package/a11y/key-manager/list-key-manager.d.ts +4 -3
  3. package/bundles/cdk-a11y.umd.js +440 -384
  4. package/bundles/cdk-a11y.umd.js.map +1 -1
  5. package/bundles/cdk-a11y.umd.min.js +34 -10
  6. package/bundles/cdk-a11y.umd.min.js.map +1 -1
  7. package/bundles/cdk-accordion.umd.js +40 -40
  8. package/bundles/cdk-accordion.umd.js.map +1 -1
  9. package/bundles/cdk-accordion.umd.min.js +10 -2
  10. package/bundles/cdk-accordion.umd.min.js.map +1 -1
  11. package/bundles/cdk-bidi.umd.js +25 -25
  12. package/bundles/cdk-bidi.umd.js.map +1 -1
  13. package/bundles/cdk-bidi.umd.min.js +5 -4
  14. package/bundles/cdk-bidi.umd.min.js.map +1 -1
  15. package/bundles/cdk-clipboard.umd.js +37 -36
  16. package/bundles/cdk-clipboard.umd.js.map +1 -1
  17. package/bundles/cdk-clipboard.umd.min.js +10 -2
  18. package/bundles/cdk-clipboard.umd.min.js.map +1 -1
  19. package/bundles/cdk-coercion.umd.js.map +1 -1
  20. package/bundles/cdk-collections.umd.js +498 -238
  21. package/bundles/cdk-collections.umd.js.map +1 -1
  22. package/bundles/cdk-collections.umd.min.js +6 -4
  23. package/bundles/cdk-collections.umd.min.js.map +1 -1
  24. package/bundles/cdk-drag-drop.umd.js +508 -448
  25. package/bundles/cdk-drag-drop.umd.js.map +1 -1
  26. package/bundles/cdk-drag-drop.umd.min.js +64 -8
  27. package/bundles/cdk-drag-drop.umd.min.js.map +1 -1
  28. package/bundles/cdk-keycodes.umd.js.map +1 -1
  29. package/bundles/cdk-layout.umd.js +30 -26
  30. package/bundles/cdk-layout.umd.js.map +1 -1
  31. package/bundles/cdk-layout.umd.min.js +7 -6
  32. package/bundles/cdk-layout.umd.min.js.map +1 -1
  33. package/bundles/cdk-observers.umd.js +34 -34
  34. package/bundles/cdk-observers.umd.js.map +1 -1
  35. package/bundles/cdk-observers.umd.min.js +2 -2
  36. package/bundles/cdk-observers.umd.min.js.map +1 -1
  37. package/bundles/cdk-overlay.umd.js +492 -435
  38. package/bundles/cdk-overlay.umd.js.map +1 -1
  39. package/bundles/cdk-overlay.umd.min.js +51 -11
  40. package/bundles/cdk-overlay.umd.min.js.map +1 -1
  41. package/bundles/cdk-platform.umd.js +38 -11
  42. package/bundles/cdk-platform.umd.js.map +1 -1
  43. package/bundles/cdk-platform.umd.min.js +5 -12
  44. package/bundles/cdk-platform.umd.min.js.map +1 -1
  45. package/bundles/cdk-portal.umd.js +385 -322
  46. package/bundles/cdk-portal.umd.js.map +1 -1
  47. package/bundles/cdk-portal.umd.min.js +3 -12
  48. package/bundles/cdk-portal.umd.min.js.map +1 -1
  49. package/bundles/cdk-scrolling.umd.js +503 -490
  50. package/bundles/cdk-scrolling.umd.js.map +1 -1
  51. package/bundles/cdk-scrolling.umd.min.js +20 -34
  52. package/bundles/cdk-scrolling.umd.min.js.map +1 -1
  53. package/bundles/cdk-stepper.umd.js +135 -136
  54. package/bundles/cdk-stepper.umd.js.map +1 -1
  55. package/bundles/cdk-stepper.umd.min.js +11 -2
  56. package/bundles/cdk-stepper.umd.min.js.map +1 -1
  57. package/bundles/cdk-table.umd.js +923 -653
  58. package/bundles/cdk-table.umd.js.map +1 -1
  59. package/bundles/cdk-table.umd.min.js +7 -22
  60. package/bundles/cdk-table.umd.min.js.map +1 -1
  61. package/bundles/cdk-testing-protractor.umd.js +310 -245
  62. package/bundles/cdk-testing-protractor.umd.js.map +1 -1
  63. package/bundles/cdk-testing-protractor.umd.min.js +2 -9
  64. package/bundles/cdk-testing-protractor.umd.min.js.map +1 -1
  65. package/bundles/cdk-testing-testbed.umd.js +341 -292
  66. package/bundles/cdk-testing-testbed.umd.js.map +1 -1
  67. package/bundles/cdk-testing-testbed.umd.min.js +6 -29
  68. package/bundles/cdk-testing-testbed.umd.min.js.map +1 -1
  69. package/bundles/cdk-testing.umd.js +342 -270
  70. package/bundles/cdk-testing.umd.js.map +1 -1
  71. package/bundles/cdk-testing.umd.min.js +3 -17
  72. package/bundles/cdk-testing.umd.min.js.map +1 -1
  73. package/bundles/cdk-text-field.umd.js +53 -53
  74. package/bundles/cdk-text-field.umd.js.map +1 -1
  75. package/bundles/cdk-text-field.umd.min.js +10 -2
  76. package/bundles/cdk-text-field.umd.min.js.map +1 -1
  77. package/bundles/cdk-tree.umd.js +481 -417
  78. package/bundles/cdk-tree.umd.js.map +1 -1
  79. package/bundles/cdk-tree.umd.min.js +28 -3
  80. package/bundles/cdk-tree.umd.min.js.map +1 -1
  81. package/bundles/cdk.umd.js +1 -1
  82. package/bundles/cdk.umd.js.map +1 -1
  83. package/bundles/cdk.umd.min.js +1 -1
  84. package/bundles/cdk.umd.min.js.map +1 -1
  85. package/collections/dispose-view-repeater-strategy.d.ts +22 -0
  86. package/collections/index.metadata.json +1 -1
  87. package/collections/public-api.d.ts +3 -0
  88. package/collections/recycle-view-repeater-strategy.d.ts +56 -0
  89. package/collections/view-repeater.d.ts +94 -0
  90. package/drag-drop/index.d.ts +1 -2
  91. package/drag-drop/index.metadata.json +1 -1
  92. package/drag-drop/public-api.d.ts +2 -1
  93. package/esm2015/a11y/aria-describer/aria-describer.js +3 -3
  94. package/esm2015/a11y/focus-monitor/focus-monitor.js +3 -3
  95. package/esm2015/a11y/focus-trap/focus-trap.js +5 -4
  96. package/esm2015/a11y/key-manager/list-key-manager.js +8 -6
  97. package/esm2015/clipboard/pending-copy.js +7 -6
  98. package/esm2015/collections/collection-viewer.js +1 -0
  99. package/esm2015/collections/dispose-view-repeater-strategy.js +48 -0
  100. package/esm2015/collections/public-api.js +4 -1
  101. package/esm2015/collections/recycle-view-repeater-strategy.js +128 -0
  102. package/esm2015/collections/selection-model.js +2 -2
  103. package/esm2015/collections/tree-adapter.js +1 -0
  104. package/esm2015/collections/view-repeater.js +16 -0
  105. package/esm2015/drag-drop/clone-node.js +9 -1
  106. package/esm2015/drag-drop/directives/drag-handle.js +1 -3
  107. package/esm2015/drag-drop/directives/drag.js +7 -5
  108. package/esm2015/drag-drop/directives/drop-list.js +3 -3
  109. package/esm2015/drag-drop/drag-events.js +1 -0
  110. package/esm2015/drag-drop/drag-ref.js +2 -2
  111. package/esm2015/drag-drop/index.js +1 -3
  112. package/esm2015/drag-drop/public-api.js +3 -2
  113. package/esm2015/layout/breakpoints-observer.js +9 -9
  114. package/esm2015/overlay/dispatchers/overlay-outside-click-dispatcher.js +11 -9
  115. package/esm2015/overlay/overlay-config.js +1 -5
  116. package/esm2015/overlay/overlay-directives.js +18 -2
  117. package/esm2015/overlay/overlay-ref.js +6 -8
  118. package/esm2015/overlay/overlay-reference.js +1 -0
  119. package/esm2015/overlay/overlay.js +4 -4
  120. package/esm2015/overlay/position/connected-position-strategy.js +2 -9
  121. package/esm2015/overlay/position/flexible-connected-position-strategy.js +19 -16
  122. package/esm2015/overlay/position/position-strategy.js +1 -0
  123. package/esm2015/overlay/scroll/close-scroll-strategy.js +2 -2
  124. package/esm2015/overlay/scroll/reposition-scroll-strategy.js +2 -2
  125. package/esm2015/platform/features/scrolling.js +29 -2
  126. package/esm2015/portal/dom-portal-outlet.js +7 -4
  127. package/esm2015/portal/portal-directives.js +3 -3
  128. package/esm2015/portal/portal-injector.js +3 -1
  129. package/esm2015/portal/portal.js +25 -19
  130. package/esm2015/scrolling/fixed-size-virtual-scroll.js +2 -2
  131. package/esm2015/scrolling/scrolling-module.js +4 -1
  132. package/esm2015/scrolling/virtual-for-of.js +67 -92
  133. package/esm2015/scrolling/virtual-scroll-repeater.js +1 -0
  134. package/esm2015/scrolling/virtual-scroll-viewport.js +5 -5
  135. package/esm2015/stepper/stepper.js +19 -17
  136. package/esm2015/table/cell.js +34 -14
  137. package/esm2015/table/coalesced-style-scheduler.js +87 -0
  138. package/esm2015/table/public-api.js +2 -1
  139. package/esm2015/table/sticky-styler.js +79 -45
  140. package/esm2015/table/table-module.js +4 -2
  141. package/esm2015/table/table.js +70 -44
  142. package/esm2015/table/text-column.js +9 -5
  143. package/esm2015/testing/element-dimensions.js +1 -0
  144. package/esm2015/testing/protractor/protractor-element.js +6 -3
  145. package/esm2015/testing/public-api.js +2 -1
  146. package/esm2015/testing/test-element.js +1 -1
  147. package/esm2015/testing/testbed/task-state-zone-interceptor.js +2 -2
  148. package/esm2015/testing/testbed/unit-test-element.js +26 -21
  149. package/esm2015/testing/text-filtering.js +23 -0
  150. package/esm2015/text-field/autofill.js +3 -3
  151. package/esm2015/tree/control/tree-control.js +1 -0
  152. package/esm2015/tree/nested-node.js +2 -2
  153. package/esm2015/tree/padding.js +34 -20
  154. package/esm2015/tree/tree.js +14 -27
  155. package/esm2015/version.js +1 -1
  156. package/fesm2015/a11y.js +15 -12
  157. package/fesm2015/a11y.js.map +1 -1
  158. package/fesm2015/cdk.js +1 -1
  159. package/fesm2015/cdk.js.map +1 -1
  160. package/fesm2015/clipboard.js +6 -5
  161. package/fesm2015/clipboard.js.map +1 -1
  162. package/fesm2015/collections.js +194 -3
  163. package/fesm2015/collections.js.map +1 -1
  164. package/fesm2015/drag-drop.js +32 -23
  165. package/fesm2015/drag-drop.js.map +1 -1
  166. package/fesm2015/layout.js +8 -8
  167. package/fesm2015/layout.js.map +1 -1
  168. package/fesm2015/overlay.js +55 -48
  169. package/fesm2015/overlay.js.map +1 -1
  170. package/fesm2015/platform.js +28 -1
  171. package/fesm2015/platform.js.map +1 -1
  172. package/fesm2015/portal.js +34 -23
  173. package/fesm2015/portal.js.map +1 -1
  174. package/fesm2015/scrolling.js +72 -95
  175. package/fesm2015/scrolling.js.map +1 -1
  176. package/fesm2015/stepper.js +19 -17
  177. package/fesm2015/stepper.js.map +1 -1
  178. package/fesm2015/table.js +274 -105
  179. package/fesm2015/table.js.map +1 -1
  180. package/fesm2015/testing/protractor.js +5 -2
  181. package/fesm2015/testing/protractor.js.map +1 -1
  182. package/fesm2015/testing/testbed.js +26 -21
  183. package/fesm2015/testing/testbed.js.map +1 -1
  184. package/fesm2015/testing.js +24 -1
  185. package/fesm2015/testing.js.map +1 -1
  186. package/fesm2015/text-field.js +2 -2
  187. package/fesm2015/text-field.js.map +1 -1
  188. package/fesm2015/tree.js +46 -45
  189. package/fesm2015/tree.js.map +1 -1
  190. package/layout/breakpoints-observer.d.ts +3 -3
  191. package/overlay/index.metadata.json +1 -1
  192. package/overlay/overlay-config.d.ts +0 -4
  193. package/overlay/overlay-directives.d.ts +1 -0
  194. package/overlay/position/connected-position-strategy.d.ts +1 -3
  195. package/package.json +1 -1
  196. package/platform/index.metadata.json +1 -1
  197. package/portal/index.metadata.json +1 -1
  198. package/portal/portal-injector.d.ts +2 -0
  199. package/schematics/index.js +1 -1
  200. package/schematics/ng-add/index.js +1 -1
  201. package/schematics/ng-update/data/index.js +1 -1
  202. package/schematics/ng-update/public-api.js +1 -1
  203. package/schematics/update-tool/public-api.js +1 -1
  204. package/schematics/utils/index.js +1 -1
  205. package/scrolling/index.metadata.json +1 -1
  206. package/scrolling/scrolling-module.d.ts +3 -0
  207. package/scrolling/virtual-for-of.d.ts +11 -19
  208. package/stepper/index.metadata.json +1 -1
  209. package/stepper/stepper.d.ts +7 -10
  210. package/table/cell.d.ts +21 -1
  211. package/table/coalesced-style-scheduler.d.ts +41 -0
  212. package/table/index.metadata.json +1 -1
  213. package/table/public-api.d.ts +1 -0
  214. package/table/sticky-styler.d.ts +7 -1
  215. package/table/table.d.ts +14 -8
  216. package/testing/protractor/protractor-element.d.ts +2 -2
  217. package/testing/public-api.d.ts +1 -0
  218. package/testing/test-element.d.ts +9 -2
  219. package/testing/testbed/unit-test-element.d.ts +9 -2
  220. package/testing/text-filtering.d.ts +13 -0
  221. package/tree/index.metadata.json +1 -1
  222. package/tree/padding.d.ts +14 -0
  223. package/tree/tree.d.ts +2 -4
@@ -247,9 +247,17 @@
247
247
  }
248
248
  }
249
249
  }
250
+ // Counter for unique cloned radio button names.
251
+ var cloneUniqueId = 0;
250
252
  /** Transfers the data of one input element to another. */
251
253
  function transferInputData(source, clone) {
252
254
  clone.value = source.value;
255
+ // Radio button `name` attributes must be unique for radio button groups
256
+ // otherwise original radio buttons can lose their checked state
257
+ // once the clone is inserted in the DOM.
258
+ if (clone.type === 'radio' && clone.name) {
259
+ clone.name = "mat-clone-" + clone.name + "-" + cloneUniqueId++;
260
+ }
253
261
  }
254
262
  /** Transfers the data of one canvas element to another. */
255
263
  function transferCanvasData(source, clone) {
@@ -346,7 +354,7 @@
346
354
  * Emits as the user is dragging the item. Use with caution,
347
355
  * because this event will fire for every pixel that the user has dragged.
348
356
  */
349
- this.moved = this._moveEvents.asObservable();
357
+ this.moved = this._moveEvents;
350
358
  /** Handler for the `mousedown`/`touchstart` events. */
351
359
  this._pointerDown = function (event) {
352
360
  _this.beforeStarted.next();
@@ -715,17 +723,17 @@
715
723
  var dropContainer = this._dropContainer;
716
724
  if (dropContainer) {
717
725
  var element = this._rootElement;
718
- var parent_1 = element.parentNode;
726
+ var parent = element.parentNode;
719
727
  var preview = this._preview = this._createPreviewElement();
720
728
  var placeholder = this._placeholder = this._createPlaceholderElement();
721
729
  var anchor = this._anchor = this._anchor || this._document.createComment('');
722
730
  // Insert an anchor node so that we can restore the element's position in the DOM.
723
- parent_1.insertBefore(anchor, element);
731
+ parent.insertBefore(anchor, element);
724
732
  // We move the element out at the end of the body and we make it hidden, because keeping it in
725
733
  // place will throw off the consumer's `:last-child` selectors. We can't remove the element
726
734
  // from the DOM completely, because iOS will stop firing all subsequent events in the chain.
727
735
  element.style.display = 'none';
728
- this._document.body.appendChild(parent_1.replaceChild(placeholder, element));
736
+ this._document.body.appendChild(parent.replaceChild(placeholder, element));
729
737
  getPreviewInsertionPoint(this._document).appendChild(preview);
730
738
  this.started.next({ source: this }); // Emit before notifying the container.
731
739
  dropContainer.start();
@@ -1286,232 +1294,305 @@
1286
1294
  target.style.transform = getTransform(sourceRect.left, sourceRect.top);
1287
1295
  }
1288
1296
 
1289
- /*! *****************************************************************************
1290
- Copyright (c) Microsoft Corporation.
1291
-
1292
- Permission to use, copy, modify, and/or distribute this software for any
1293
- purpose with or without fee is hereby granted.
1294
-
1295
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
1296
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1297
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
1298
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1299
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1300
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1301
- PERFORMANCE OF THIS SOFTWARE.
1302
- ***************************************************************************** */
1303
- /* global Reflect, Promise */
1304
-
1305
- var extendStatics = function(d, b) {
1306
- extendStatics = Object.setPrototypeOf ||
1307
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
1308
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
1309
- return extendStatics(d, b);
1310
- };
1311
-
1312
- function __extends(d, b) {
1313
- extendStatics(d, b);
1314
- function __() { this.constructor = d; }
1315
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
1316
- }
1317
-
1318
- var __assign = function() {
1319
- __assign = Object.assign || function __assign(t) {
1320
- for (var s, i = 1, n = arguments.length; i < n; i++) {
1321
- s = arguments[i];
1322
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
1323
- }
1324
- return t;
1325
- };
1326
- return __assign.apply(this, arguments);
1327
- };
1328
-
1329
- function __rest(s, e) {
1330
- var t = {};
1331
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1332
- t[p] = s[p];
1333
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
1334
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
1335
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
1336
- t[p[i]] = s[p[i]];
1337
- }
1338
- return t;
1339
- }
1340
-
1341
- function __decorate(decorators, target, key, desc) {
1342
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1343
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1344
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1345
- return c > 3 && r && Object.defineProperty(target, key, r), r;
1346
- }
1347
-
1348
- function __param(paramIndex, decorator) {
1349
- return function (target, key) { decorator(target, key, paramIndex); }
1350
- }
1351
-
1352
- function __metadata(metadataKey, metadataValue) {
1353
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
1354
- }
1355
-
1356
- function __awaiter(thisArg, _arguments, P, generator) {
1357
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
1358
- return new (P || (P = Promise))(function (resolve, reject) {
1359
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
1360
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
1361
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
1362
- step((generator = generator.apply(thisArg, _arguments || [])).next());
1363
- });
1364
- }
1365
-
1366
- function __generator(thisArg, body) {
1367
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
1368
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
1369
- function verb(n) { return function (v) { return step([n, v]); }; }
1370
- function step(op) {
1371
- if (f) throw new TypeError("Generator is already executing.");
1372
- while (_) try {
1373
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
1374
- if (y = 0, t) op = [op[0] & 2, t.value];
1375
- switch (op[0]) {
1376
- case 0: case 1: t = op; break;
1377
- case 4: _.label++; return { value: op[1], done: false };
1378
- case 5: _.label++; y = op[1]; op = [0]; continue;
1379
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
1380
- default:
1381
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
1382
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
1383
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
1384
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
1385
- if (t[2]) _.ops.pop();
1386
- _.trys.pop(); continue;
1387
- }
1388
- op = body.call(thisArg, _);
1389
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
1390
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
1391
- }
1392
- }
1393
-
1394
- var __createBinding = Object.create ? (function(o, m, k, k2) {
1395
- if (k2 === undefined) k2 = k;
1396
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
1397
- }) : (function(o, m, k, k2) {
1398
- if (k2 === undefined) k2 = k;
1399
- o[k2] = m[k];
1400
- });
1401
-
1402
- function __exportStar(m, exports) {
1403
- for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
1404
- }
1405
-
1406
- function __values(o) {
1407
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
1408
- if (m) return m.call(o);
1409
- if (o && typeof o.length === "number") return {
1410
- next: function () {
1411
- if (o && i >= o.length) o = void 0;
1412
- return { value: o && o[i++], done: !o };
1413
- }
1414
- };
1415
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
1416
- }
1417
-
1418
- function __read(o, n) {
1419
- var m = typeof Symbol === "function" && o[Symbol.iterator];
1420
- if (!m) return o;
1421
- var i = m.call(o), r, ar = [], e;
1422
- try {
1423
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
1424
- }
1425
- catch (error) { e = { error: error }; }
1426
- finally {
1427
- try {
1428
- if (r && !r.done && (m = i["return"])) m.call(i);
1429
- }
1430
- finally { if (e) throw e.error; }
1431
- }
1432
- return ar;
1433
- }
1434
-
1435
- function __spread() {
1436
- for (var ar = [], i = 0; i < arguments.length; i++)
1437
- ar = ar.concat(__read(arguments[i]));
1438
- return ar;
1439
- }
1440
-
1441
- function __spreadArrays() {
1442
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
1443
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
1444
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
1445
- r[k] = a[j];
1446
- return r;
1447
- };
1448
-
1449
- function __await(v) {
1450
- return this instanceof __await ? (this.v = v, this) : new __await(v);
1451
- }
1452
-
1453
- function __asyncGenerator(thisArg, _arguments, generator) {
1454
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
1455
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
1456
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
1457
- function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
1458
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
1459
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
1460
- function fulfill(value) { resume("next", value); }
1461
- function reject(value) { resume("throw", value); }
1462
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
1463
- }
1464
-
1465
- function __asyncDelegator(o) {
1466
- var i, p;
1467
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
1468
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
1469
- }
1470
-
1471
- function __asyncValues(o) {
1472
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
1473
- var m = o[Symbol.asyncIterator], i;
1474
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
1475
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
1476
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
1477
- }
1478
-
1479
- function __makeTemplateObject(cooked, raw) {
1480
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
1481
- return cooked;
1482
- };
1483
-
1484
- var __setModuleDefault = Object.create ? (function(o, v) {
1485
- Object.defineProperty(o, "default", { enumerable: true, value: v });
1486
- }) : function(o, v) {
1487
- o["default"] = v;
1488
- };
1489
-
1490
- function __importStar(mod) {
1491
- if (mod && mod.__esModule) return mod;
1492
- var result = {};
1493
- if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
1494
- __setModuleDefault(result, mod);
1495
- return result;
1496
- }
1497
-
1498
- function __importDefault(mod) {
1499
- return (mod && mod.__esModule) ? mod : { default: mod };
1500
- }
1501
-
1502
- function __classPrivateFieldGet(receiver, privateMap) {
1503
- if (!privateMap.has(receiver)) {
1504
- throw new TypeError("attempted to get private field on non-instance");
1505
- }
1506
- return privateMap.get(receiver);
1507
- }
1508
-
1509
- function __classPrivateFieldSet(receiver, privateMap, value) {
1510
- if (!privateMap.has(receiver)) {
1511
- throw new TypeError("attempted to set private field on non-instance");
1512
- }
1513
- privateMap.set(receiver, value);
1514
- return value;
1297
+ /*! *****************************************************************************
1298
+ Copyright (c) Microsoft Corporation.
1299
+
1300
+ Permission to use, copy, modify, and/or distribute this software for any
1301
+ purpose with or without fee is hereby granted.
1302
+
1303
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
1304
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1305
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
1306
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1307
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1308
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1309
+ PERFORMANCE OF THIS SOFTWARE.
1310
+ ***************************************************************************** */
1311
+ /* global Reflect, Promise */
1312
+ var extendStatics = function (d, b) {
1313
+ extendStatics = Object.setPrototypeOf ||
1314
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
1315
+ function (d, b) { for (var p in b)
1316
+ if (b.hasOwnProperty(p))
1317
+ d[p] = b[p]; };
1318
+ return extendStatics(d, b);
1319
+ };
1320
+ function __extends(d, b) {
1321
+ extendStatics(d, b);
1322
+ function __() { this.constructor = d; }
1323
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
1324
+ }
1325
+ var __assign = function () {
1326
+ __assign = Object.assign || function __assign(t) {
1327
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
1328
+ s = arguments[i];
1329
+ for (var p in s)
1330
+ if (Object.prototype.hasOwnProperty.call(s, p))
1331
+ t[p] = s[p];
1332
+ }
1333
+ return t;
1334
+ };
1335
+ return __assign.apply(this, arguments);
1336
+ };
1337
+ function __rest(s, e) {
1338
+ var t = {};
1339
+ for (var p in s)
1340
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1341
+ t[p] = s[p];
1342
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
1343
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
1344
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
1345
+ t[p[i]] = s[p[i]];
1346
+ }
1347
+ return t;
1348
+ }
1349
+ function __decorate(decorators, target, key, desc) {
1350
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1351
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
1352
+ r = Reflect.decorate(decorators, target, key, desc);
1353
+ else
1354
+ for (var i = decorators.length - 1; i >= 0; i--)
1355
+ if (d = decorators[i])
1356
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1357
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1358
+ }
1359
+ function __param(paramIndex, decorator) {
1360
+ return function (target, key) { decorator(target, key, paramIndex); };
1361
+ }
1362
+ function __metadata(metadataKey, metadataValue) {
1363
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
1364
+ return Reflect.metadata(metadataKey, metadataValue);
1365
+ }
1366
+ function __awaiter(thisArg, _arguments, P, generator) {
1367
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
1368
+ return new (P || (P = Promise))(function (resolve, reject) {
1369
+ function fulfilled(value) { try {
1370
+ step(generator.next(value));
1371
+ }
1372
+ catch (e) {
1373
+ reject(e);
1374
+ } }
1375
+ function rejected(value) { try {
1376
+ step(generator["throw"](value));
1377
+ }
1378
+ catch (e) {
1379
+ reject(e);
1380
+ } }
1381
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
1382
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
1383
+ });
1384
+ }
1385
+ function __generator(thisArg, body) {
1386
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
1387
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
1388
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
1389
+ function verb(n) { return function (v) { return step([n, v]); }; }
1390
+ function step(op) {
1391
+ if (f)
1392
+ throw new TypeError("Generator is already executing.");
1393
+ while (_)
1394
+ try {
1395
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
1396
+ return t;
1397
+ if (y = 0, t)
1398
+ op = [op[0] & 2, t.value];
1399
+ switch (op[0]) {
1400
+ case 0:
1401
+ case 1:
1402
+ t = op;
1403
+ break;
1404
+ case 4:
1405
+ _.label++;
1406
+ return { value: op[1], done: false };
1407
+ case 5:
1408
+ _.label++;
1409
+ y = op[1];
1410
+ op = [0];
1411
+ continue;
1412
+ case 7:
1413
+ op = _.ops.pop();
1414
+ _.trys.pop();
1415
+ continue;
1416
+ default:
1417
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
1418
+ _ = 0;
1419
+ continue;
1420
+ }
1421
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
1422
+ _.label = op[1];
1423
+ break;
1424
+ }
1425
+ if (op[0] === 6 && _.label < t[1]) {
1426
+ _.label = t[1];
1427
+ t = op;
1428
+ break;
1429
+ }
1430
+ if (t && _.label < t[2]) {
1431
+ _.label = t[2];
1432
+ _.ops.push(op);
1433
+ break;
1434
+ }
1435
+ if (t[2])
1436
+ _.ops.pop();
1437
+ _.trys.pop();
1438
+ continue;
1439
+ }
1440
+ op = body.call(thisArg, _);
1441
+ }
1442
+ catch (e) {
1443
+ op = [6, e];
1444
+ y = 0;
1445
+ }
1446
+ finally {
1447
+ f = t = 0;
1448
+ }
1449
+ if (op[0] & 5)
1450
+ throw op[1];
1451
+ return { value: op[0] ? op[1] : void 0, done: true };
1452
+ }
1453
+ }
1454
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
1455
+ if (k2 === undefined)
1456
+ k2 = k;
1457
+ Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
1458
+ }) : (function (o, m, k, k2) {
1459
+ if (k2 === undefined)
1460
+ k2 = k;
1461
+ o[k2] = m[k];
1462
+ });
1463
+ function __exportStar(m, exports) {
1464
+ for (var p in m)
1465
+ if (p !== "default" && !exports.hasOwnProperty(p))
1466
+ __createBinding(exports, m, p);
1467
+ }
1468
+ function __values(o) {
1469
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
1470
+ if (m)
1471
+ return m.call(o);
1472
+ if (o && typeof o.length === "number")
1473
+ return {
1474
+ next: function () {
1475
+ if (o && i >= o.length)
1476
+ o = void 0;
1477
+ return { value: o && o[i++], done: !o };
1478
+ }
1479
+ };
1480
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
1481
+ }
1482
+ function __read(o, n) {
1483
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
1484
+ if (!m)
1485
+ return o;
1486
+ var i = m.call(o), r, ar = [], e;
1487
+ try {
1488
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
1489
+ ar.push(r.value);
1490
+ }
1491
+ catch (error) {
1492
+ e = { error: error };
1493
+ }
1494
+ finally {
1495
+ try {
1496
+ if (r && !r.done && (m = i["return"]))
1497
+ m.call(i);
1498
+ }
1499
+ finally {
1500
+ if (e)
1501
+ throw e.error;
1502
+ }
1503
+ }
1504
+ return ar;
1505
+ }
1506
+ function __spread() {
1507
+ for (var ar = [], i = 0; i < arguments.length; i++)
1508
+ ar = ar.concat(__read(arguments[i]));
1509
+ return ar;
1510
+ }
1511
+ function __spreadArrays() {
1512
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
1513
+ s += arguments[i].length;
1514
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
1515
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
1516
+ r[k] = a[j];
1517
+ return r;
1518
+ }
1519
+ ;
1520
+ function __await(v) {
1521
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
1522
+ }
1523
+ function __asyncGenerator(thisArg, _arguments, generator) {
1524
+ if (!Symbol.asyncIterator)
1525
+ throw new TypeError("Symbol.asyncIterator is not defined.");
1526
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
1527
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
1528
+ function verb(n) { if (g[n])
1529
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
1530
+ function resume(n, v) { try {
1531
+ step(g[n](v));
1532
+ }
1533
+ catch (e) {
1534
+ settle(q[0][3], e);
1535
+ } }
1536
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
1537
+ function fulfill(value) { resume("next", value); }
1538
+ function reject(value) { resume("throw", value); }
1539
+ function settle(f, v) { if (f(v), q.shift(), q.length)
1540
+ resume(q[0][0], q[0][1]); }
1541
+ }
1542
+ function __asyncDelegator(o) {
1543
+ var i, p;
1544
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
1545
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
1546
+ }
1547
+ function __asyncValues(o) {
1548
+ if (!Symbol.asyncIterator)
1549
+ throw new TypeError("Symbol.asyncIterator is not defined.");
1550
+ var m = o[Symbol.asyncIterator], i;
1551
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
1552
+ function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
1553
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
1554
+ }
1555
+ function __makeTemplateObject(cooked, raw) {
1556
+ if (Object.defineProperty) {
1557
+ Object.defineProperty(cooked, "raw", { value: raw });
1558
+ }
1559
+ else {
1560
+ cooked.raw = raw;
1561
+ }
1562
+ return cooked;
1563
+ }
1564
+ ;
1565
+ var __setModuleDefault = Object.create ? (function (o, v) {
1566
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
1567
+ }) : function (o, v) {
1568
+ o["default"] = v;
1569
+ };
1570
+ function __importStar(mod) {
1571
+ if (mod && mod.__esModule)
1572
+ return mod;
1573
+ var result = {};
1574
+ if (mod != null)
1575
+ for (var k in mod)
1576
+ if (Object.hasOwnProperty.call(mod, k))
1577
+ __createBinding(result, mod, k);
1578
+ __setModuleDefault(result, mod);
1579
+ return result;
1580
+ }
1581
+ function __importDefault(mod) {
1582
+ return (mod && mod.__esModule) ? mod : { default: mod };
1583
+ }
1584
+ function __classPrivateFieldGet(receiver, privateMap) {
1585
+ if (!privateMap.has(receiver)) {
1586
+ throw new TypeError("attempted to get private field on non-instance");
1587
+ }
1588
+ return privateMap.get(receiver);
1589
+ }
1590
+ function __classPrivateFieldSet(receiver, privateMap, value) {
1591
+ if (!privateMap.has(receiver)) {
1592
+ throw new TypeError("attempted to set private field on non-instance");
1593
+ }
1594
+ privateMap.set(receiver, value);
1595
+ return value;
1515
1596
  }
1516
1597
 
1517
1598
  /**
@@ -1574,13 +1655,6 @@
1574
1655
  return Math.max(0, Math.min(max, value));
1575
1656
  }
1576
1657
 
1577
- /**
1578
- * @license
1579
- * Copyright Google LLC All Rights Reserved.
1580
- *
1581
- * Use of this source code is governed by an MIT-style license that can be
1582
- * found in the LICENSE file at https://angular.io/license
1583
- */
1584
1658
  /**
1585
1659
  * Proximity, as a ratio to width/height, at which a
1586
1660
  * dragged item will affect the drop container.
@@ -2569,16 +2643,16 @@
2569
2643
  });
2570
2644
  this._globalListeners.clear();
2571
2645
  };
2572
- DragDropRegistry.ɵprov = i0.ɵɵdefineInjectable({ factory: function DragDropRegistry_Factory() { return new DragDropRegistry(i0.ɵɵinject(i0.NgZone), i0.ɵɵinject(i1.DOCUMENT)); }, token: DragDropRegistry, providedIn: "root" });
2573
- DragDropRegistry.decorators = [
2574
- { type: i0.Injectable, args: [{ providedIn: 'root' },] }
2575
- ];
2576
- DragDropRegistry.ctorParameters = function () { return [
2577
- { type: i0.NgZone },
2578
- { type: undefined, decorators: [{ type: i0.Inject, args: [i1.DOCUMENT,] }] }
2579
- ]; };
2580
2646
  return DragDropRegistry;
2581
2647
  }());
2648
+ DragDropRegistry.ɵprov = i0.ɵɵdefineInjectable({ factory: function DragDropRegistry_Factory() { return new DragDropRegistry(i0.ɵɵinject(i0.NgZone), i0.ɵɵinject(i1.DOCUMENT)); }, token: DragDropRegistry, providedIn: "root" });
2649
+ DragDropRegistry.decorators = [
2650
+ { type: i0.Injectable, args: [{ providedIn: 'root' },] }
2651
+ ];
2652
+ DragDropRegistry.ctorParameters = function () { return [
2653
+ { type: i0.NgZone },
2654
+ { type: undefined, decorators: [{ type: i0.Inject, args: [i1.DOCUMENT,] }] }
2655
+ ]; };
2582
2656
 
2583
2657
  /**
2584
2658
  * @license
@@ -2618,18 +2692,18 @@
2618
2692
  DragDrop.prototype.createDropList = function (element) {
2619
2693
  return new DropListRef(element, this._dragDropRegistry, this._document, this._ngZone, this._viewportRuler);
2620
2694
  };
2621
- DragDrop.ɵprov = i0.ɵɵdefineInjectable({ factory: function DragDrop_Factory() { return new DragDrop(i0.ɵɵinject(i1.DOCUMENT), i0.ɵɵinject(i0.NgZone), i0.ɵɵinject(i2.ViewportRuler), i0.ɵɵinject(DragDropRegistry)); }, token: DragDrop, providedIn: "root" });
2622
- DragDrop.decorators = [
2623
- { type: i0.Injectable, args: [{ providedIn: 'root' },] }
2624
- ];
2625
- DragDrop.ctorParameters = function () { return [
2626
- { type: undefined, decorators: [{ type: i0.Inject, args: [i1.DOCUMENT,] }] },
2627
- { type: i0.NgZone },
2628
- { type: i2.ViewportRuler },
2629
- { type: DragDropRegistry }
2630
- ]; };
2631
2695
  return DragDrop;
2632
2696
  }());
2697
+ DragDrop.ɵprov = i0.ɵɵdefineInjectable({ factory: function DragDrop_Factory() { return new DragDrop(i0.ɵɵinject(i1.DOCUMENT), i0.ɵɵinject(i0.NgZone), i0.ɵɵinject(i2.ViewportRuler), i0.ɵɵinject(DragDropRegistry)); }, token: DragDrop, providedIn: "root" });
2698
+ DragDrop.decorators = [
2699
+ { type: i0.Injectable, args: [{ providedIn: 'root' },] }
2700
+ ];
2701
+ DragDrop.ctorParameters = function () { return [
2702
+ { type: undefined, decorators: [{ type: i0.Inject, args: [i1.DOCUMENT,] }] },
2703
+ { type: i0.NgZone },
2704
+ { type: i2.ViewportRuler },
2705
+ { type: DragDropRegistry }
2706
+ ]; };
2633
2707
 
2634
2708
  /**
2635
2709
  * @license
@@ -2638,6 +2712,13 @@
2638
2712
  * Use of this source code is governed by an MIT-style license that can be
2639
2713
  * found in the LICENSE file at https://angular.io/license
2640
2714
  */
2715
+ /**
2716
+ * Injection token that can be used for a `CdkDrag` to provide itself as a parent to the
2717
+ * drag-specific child directive (`CdkDragHandle`, `CdkDragPreview` etc.). Used primarily
2718
+ * to avoid circular imports.
2719
+ * @docs-private
2720
+ */
2721
+ var CDK_DRAG_PARENT = new i0.InjectionToken('CDK_DRAG_PARENT');
2641
2722
 
2642
2723
  /**
2643
2724
  * @license
@@ -2676,18 +2757,18 @@
2676
2757
  CdkDropListGroup.prototype.ngOnDestroy = function () {
2677
2758
  this._items.clear();
2678
2759
  };
2679
- CdkDropListGroup.decorators = [
2680
- { type: i0.Directive, args: [{
2681
- selector: '[cdkDropListGroup]',
2682
- exportAs: 'cdkDropListGroup',
2683
- providers: [{ provide: CDK_DROP_LIST_GROUP, useExisting: CdkDropListGroup }],
2684
- },] }
2685
- ];
2686
- CdkDropListGroup.propDecorators = {
2687
- disabled: [{ type: i0.Input, args: ['cdkDropListGroupDisabled',] }]
2688
- };
2689
2760
  return CdkDropListGroup;
2690
2761
  }());
2762
+ CdkDropListGroup.decorators = [
2763
+ { type: i0.Directive, args: [{
2764
+ selector: '[cdkDropListGroup]',
2765
+ exportAs: 'cdkDropListGroup',
2766
+ providers: [{ provide: CDK_DROP_LIST_GROUP, useExisting: CdkDropListGroup }],
2767
+ },] }
2768
+ ];
2769
+ CdkDropListGroup.propDecorators = {
2770
+ disabled: [{ type: i0.Input, args: ['cdkDropListGroupDisabled',] }]
2771
+ };
2691
2772
 
2692
2773
  /**
2693
2774
  * @license
@@ -2852,7 +2933,7 @@
2852
2933
  var siblings = coercion.coerceArray(_this.connectedTo).map(function (drop) {
2853
2934
  if (typeof drop === 'string') {
2854
2935
  var correspondingDropList = CdkDropList._dropLists.find(function (list) { return list.id === drop; });
2855
- if (!correspondingDropList && i0.isDevMode()) {
2936
+ if (!correspondingDropList && (typeof ngDevMode === 'undefined' || ngDevMode)) {
2856
2937
  console.warn("CdkDropList could not find connected drop list with id \"" + drop + "\"");
2857
2938
  }
2858
2939
  return correspondingDropList;
@@ -2946,67 +3027,52 @@
2946
3027
  CdkDropList.prototype._syncItemsWithRef = function () {
2947
3028
  this._dropListRef.withItems(this.getSortedItems().map(function (item) { return item._dragRef; }));
2948
3029
  };
2949
- /** Keeps track of the drop lists that are currently on the page. */
2950
- CdkDropList._dropLists = [];
2951
- CdkDropList.decorators = [
2952
- { type: i0.Directive, args: [{
2953
- selector: '[cdkDropList], cdk-drop-list',
2954
- exportAs: 'cdkDropList',
2955
- providers: [
2956
- // Prevent child drop lists from picking up the same group as their parent.
2957
- { provide: CDK_DROP_LIST_GROUP, useValue: ɵ0 },
2958
- { provide: CDK_DROP_LIST, useExisting: CdkDropList },
2959
- ],
2960
- host: {
2961
- 'class': 'cdk-drop-list',
2962
- '[id]': 'id',
2963
- '[class.cdk-drop-list-disabled]': 'disabled',
2964
- '[class.cdk-drop-list-dragging]': '_dropListRef.isDragging()',
2965
- '[class.cdk-drop-list-receiving]': '_dropListRef.isReceiving()',
2966
- }
2967
- },] }
2968
- ];
2969
- CdkDropList.ctorParameters = function () { return [
2970
- { type: i0.ElementRef },
2971
- { type: DragDrop },
2972
- { type: i0.ChangeDetectorRef },
2973
- { type: bidi.Directionality, decorators: [{ type: i0.Optional }] },
2974
- { type: CdkDropListGroup, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [CDK_DROP_LIST_GROUP,] }, { type: i0.SkipSelf }] },
2975
- { type: i2.ScrollDispatcher },
2976
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [CDK_DRAG_CONFIG,] }] }
2977
- ]; };
2978
- CdkDropList.propDecorators = {
2979
- connectedTo: [{ type: i0.Input, args: ['cdkDropListConnectedTo',] }],
2980
- data: [{ type: i0.Input, args: ['cdkDropListData',] }],
2981
- orientation: [{ type: i0.Input, args: ['cdkDropListOrientation',] }],
2982
- id: [{ type: i0.Input }],
2983
- lockAxis: [{ type: i0.Input, args: ['cdkDropListLockAxis',] }],
2984
- disabled: [{ type: i0.Input, args: ['cdkDropListDisabled',] }],
2985
- sortingDisabled: [{ type: i0.Input, args: ['cdkDropListSortingDisabled',] }],
2986
- enterPredicate: [{ type: i0.Input, args: ['cdkDropListEnterPredicate',] }],
2987
- autoScrollDisabled: [{ type: i0.Input, args: ['cdkDropListAutoScrollDisabled',] }],
2988
- dropped: [{ type: i0.Output, args: ['cdkDropListDropped',] }],
2989
- entered: [{ type: i0.Output, args: ['cdkDropListEntered',] }],
2990
- exited: [{ type: i0.Output, args: ['cdkDropListExited',] }],
2991
- sorted: [{ type: i0.Output, args: ['cdkDropListSorted',] }]
2992
- };
2993
3030
  return CdkDropList;
2994
3031
  }());
2995
-
2996
- /**
2997
- * @license
2998
- * Copyright Google LLC All Rights Reserved.
2999
- *
3000
- * Use of this source code is governed by an MIT-style license that can be
3001
- * found in the LICENSE file at https://angular.io/license
3002
- */
3003
- /**
3004
- * Injection token that can be used for a `CdkDrag` to provide itself as a parent to the
3005
- * drag-specific child directive (`CdkDragHandle`, `CdkDragPreview` etc.). Used primarily
3006
- * to avoid circular imports.
3007
- * @docs-private
3008
- */
3009
- var CDK_DRAG_PARENT = new i0.InjectionToken('CDK_DRAG_PARENT');
3032
+ /** Keeps track of the drop lists that are currently on the page. */
3033
+ CdkDropList._dropLists = [];
3034
+ CdkDropList.decorators = [
3035
+ { type: i0.Directive, args: [{
3036
+ selector: '[cdkDropList], cdk-drop-list',
3037
+ exportAs: 'cdkDropList',
3038
+ providers: [
3039
+ // Prevent child drop lists from picking up the same group as their parent.
3040
+ { provide: CDK_DROP_LIST_GROUP, useValue: ɵ0 },
3041
+ { provide: CDK_DROP_LIST, useExisting: CdkDropList },
3042
+ ],
3043
+ host: {
3044
+ 'class': 'cdk-drop-list',
3045
+ '[id]': 'id',
3046
+ '[class.cdk-drop-list-disabled]': 'disabled',
3047
+ '[class.cdk-drop-list-dragging]': '_dropListRef.isDragging()',
3048
+ '[class.cdk-drop-list-receiving]': '_dropListRef.isReceiving()',
3049
+ }
3050
+ },] }
3051
+ ];
3052
+ CdkDropList.ctorParameters = function () { return [
3053
+ { type: i0.ElementRef },
3054
+ { type: DragDrop },
3055
+ { type: i0.ChangeDetectorRef },
3056
+ { type: bidi.Directionality, decorators: [{ type: i0.Optional }] },
3057
+ { type: CdkDropListGroup, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [CDK_DROP_LIST_GROUP,] }, { type: i0.SkipSelf }] },
3058
+ { type: i2.ScrollDispatcher },
3059
+ { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [CDK_DRAG_CONFIG,] }] }
3060
+ ]; };
3061
+ CdkDropList.propDecorators = {
3062
+ connectedTo: [{ type: i0.Input, args: ['cdkDropListConnectedTo',] }],
3063
+ data: [{ type: i0.Input, args: ['cdkDropListData',] }],
3064
+ orientation: [{ type: i0.Input, args: ['cdkDropListOrientation',] }],
3065
+ id: [{ type: i0.Input }],
3066
+ lockAxis: [{ type: i0.Input, args: ['cdkDropListLockAxis',] }],
3067
+ disabled: [{ type: i0.Input, args: ['cdkDropListDisabled',] }],
3068
+ sortingDisabled: [{ type: i0.Input, args: ['cdkDropListSortingDisabled',] }],
3069
+ enterPredicate: [{ type: i0.Input, args: ['cdkDropListEnterPredicate',] }],
3070
+ autoScrollDisabled: [{ type: i0.Input, args: ['cdkDropListAutoScrollDisabled',] }],
3071
+ dropped: [{ type: i0.Output, args: ['cdkDropListDropped',] }],
3072
+ entered: [{ type: i0.Output, args: ['cdkDropListEntered',] }],
3073
+ exited: [{ type: i0.Output, args: ['cdkDropListExited',] }],
3074
+ sorted: [{ type: i0.Output, args: ['cdkDropListSorted',] }]
3075
+ };
3010
3076
 
3011
3077
  /**
3012
3078
  * @license
@@ -3029,7 +3095,6 @@
3029
3095
  this._stateChanges = new rxjs.Subject();
3030
3096
  this._disabled = false;
3031
3097
  this._parentDrag = parentDrag;
3032
- toggleNativeDragInteractions(element.nativeElement, false);
3033
3098
  }
3034
3099
  Object.defineProperty(CdkDragHandle.prototype, "disabled", {
3035
3100
  /** Whether starting to drag through this handle is disabled. */
@@ -3044,24 +3109,24 @@
3044
3109
  CdkDragHandle.prototype.ngOnDestroy = function () {
3045
3110
  this._stateChanges.complete();
3046
3111
  };
3047
- CdkDragHandle.decorators = [
3048
- { type: i0.Directive, args: [{
3049
- selector: '[cdkDragHandle]',
3050
- host: {
3051
- 'class': 'cdk-drag-handle'
3052
- },
3053
- providers: [{ provide: CDK_DRAG_HANDLE, useExisting: CdkDragHandle }],
3054
- },] }
3055
- ];
3056
- CdkDragHandle.ctorParameters = function () { return [
3057
- { type: i0.ElementRef },
3058
- { type: undefined, decorators: [{ type: i0.Inject, args: [CDK_DRAG_PARENT,] }, { type: i0.Optional }, { type: i0.SkipSelf }] }
3059
- ]; };
3060
- CdkDragHandle.propDecorators = {
3061
- disabled: [{ type: i0.Input, args: ['cdkDragHandleDisabled',] }]
3062
- };
3063
3112
  return CdkDragHandle;
3064
3113
  }());
3114
+ CdkDragHandle.decorators = [
3115
+ { type: i0.Directive, args: [{
3116
+ selector: '[cdkDragHandle]',
3117
+ host: {
3118
+ 'class': 'cdk-drag-handle'
3119
+ },
3120
+ providers: [{ provide: CDK_DRAG_HANDLE, useExisting: CdkDragHandle }],
3121
+ },] }
3122
+ ];
3123
+ CdkDragHandle.ctorParameters = function () { return [
3124
+ { type: i0.ElementRef },
3125
+ { type: undefined, decorators: [{ type: i0.Inject, args: [CDK_DRAG_PARENT,] }, { type: i0.Optional }, { type: i0.SkipSelf }] }
3126
+ ]; };
3127
+ CdkDragHandle.propDecorators = {
3128
+ disabled: [{ type: i0.Input, args: ['cdkDragHandleDisabled',] }]
3129
+ };
3065
3130
 
3066
3131
  /**
3067
3132
  * @license
@@ -3084,20 +3149,20 @@
3084
3149
  function CdkDragPlaceholder(templateRef) {
3085
3150
  this.templateRef = templateRef;
3086
3151
  }
3087
- CdkDragPlaceholder.decorators = [
3088
- { type: i0.Directive, args: [{
3089
- selector: 'ng-template[cdkDragPlaceholder]',
3090
- providers: [{ provide: CDK_DRAG_PLACEHOLDER, useExisting: CdkDragPlaceholder }],
3091
- },] }
3092
- ];
3093
- CdkDragPlaceholder.ctorParameters = function () { return [
3094
- { type: i0.TemplateRef }
3095
- ]; };
3096
- CdkDragPlaceholder.propDecorators = {
3097
- data: [{ type: i0.Input }]
3098
- };
3099
3152
  return CdkDragPlaceholder;
3100
3153
  }());
3154
+ CdkDragPlaceholder.decorators = [
3155
+ { type: i0.Directive, args: [{
3156
+ selector: 'ng-template[cdkDragPlaceholder]',
3157
+ providers: [{ provide: CDK_DRAG_PLACEHOLDER, useExisting: CdkDragPlaceholder }],
3158
+ },] }
3159
+ ];
3160
+ CdkDragPlaceholder.ctorParameters = function () { return [
3161
+ { type: i0.TemplateRef }
3162
+ ]; };
3163
+ CdkDragPlaceholder.propDecorators = {
3164
+ data: [{ type: i0.Input }]
3165
+ };
3101
3166
 
3102
3167
  /**
3103
3168
  * @license
@@ -3128,29 +3193,22 @@
3128
3193
  enumerable: false,
3129
3194
  configurable: true
3130
3195
  });
3131
- CdkDragPreview.decorators = [
3132
- { type: i0.Directive, args: [{
3133
- selector: 'ng-template[cdkDragPreview]',
3134
- providers: [{ provide: CDK_DRAG_PREVIEW, useExisting: CdkDragPreview }],
3135
- },] }
3136
- ];
3137
- CdkDragPreview.ctorParameters = function () { return [
3138
- { type: i0.TemplateRef }
3139
- ]; };
3140
- CdkDragPreview.propDecorators = {
3141
- data: [{ type: i0.Input }],
3142
- matchSize: [{ type: i0.Input }]
3143
- };
3144
3196
  return CdkDragPreview;
3145
3197
  }());
3198
+ CdkDragPreview.decorators = [
3199
+ { type: i0.Directive, args: [{
3200
+ selector: 'ng-template[cdkDragPreview]',
3201
+ providers: [{ provide: CDK_DRAG_PREVIEW, useExisting: CdkDragPreview }],
3202
+ },] }
3203
+ ];
3204
+ CdkDragPreview.ctorParameters = function () { return [
3205
+ { type: i0.TemplateRef }
3206
+ ]; };
3207
+ CdkDragPreview.propDecorators = {
3208
+ data: [{ type: i0.Input }],
3209
+ matchSize: [{ type: i0.Input }]
3210
+ };
3146
3211
 
3147
- /**
3148
- * @license
3149
- * Copyright Google LLC All Rights Reserved.
3150
- *
3151
- * Use of this source code is governed by an MIT-style license that can be
3152
- * found in the LICENSE file at https://angular.io/license
3153
- */
3154
3212
  /** Element that can be moved inside a CdkDropList container. */
3155
3213
  var CdkDrag = /** @class */ (function () {
3156
3214
  function CdkDrag(
@@ -3260,7 +3318,7 @@
3260
3318
  // element to be in the proper place in the DOM. This is mostly relevant
3261
3319
  // for draggable elements inside portals since they get stamped out in
3262
3320
  // their original DOM position and then they get transferred to the portal.
3263
- this._ngZone.onStable.asObservable()
3321
+ this._ngZone.onStable
3264
3322
  .pipe(operators.take(1), operators.takeUntil(this._destroyed))
3265
3323
  .subscribe(function () {
3266
3324
  _this._updateRootElement();
@@ -3321,7 +3379,8 @@
3321
3379
  var element = this.element.nativeElement;
3322
3380
  var rootElement = this.rootElementSelector ?
3323
3381
  getClosestMatchingAncestor(element, this.rootElementSelector) : element;
3324
- if (rootElement && rootElement.nodeType !== this._document.ELEMENT_NODE) {
3382
+ if (rootElement && rootElement.nodeType !== this._document.ELEMENT_NODE &&
3383
+ (typeof ngDevMode === 'undefined' || ngDevMode)) {
3325
3384
  throw Error("cdkDrag must be attached to an element node. " +
3326
3385
  ("Currently attached to \"" + rootElement.nodeName + "\"."));
3327
3386
  }
@@ -3337,7 +3396,8 @@
3337
3396
  return getClosestMatchingAncestor(this.element.nativeElement, boundary);
3338
3397
  }
3339
3398
  var element = coercion.coerceElement(boundary);
3340
- if (i0.isDevMode() && !element.contains(this.element.nativeElement)) {
3399
+ if ((typeof ngDevMode === 'undefined' || ngDevMode) &&
3400
+ !element.contains(this.element.nativeElement)) {
3341
3401
  throw Error('Draggable element is not inside of the node passed into cdkDragBoundary.');
3342
3402
  }
3343
3403
  return element;
@@ -3440,53 +3500,53 @@
3440
3500
  this.rootElementSelector = rootElementSelector;
3441
3501
  }
3442
3502
  };
3443
- CdkDrag.decorators = [
3444
- { type: i0.Directive, args: [{
3445
- selector: '[cdkDrag]',
3446
- exportAs: 'cdkDrag',
3447
- host: {
3448
- 'class': 'cdk-drag',
3449
- '[class.cdk-drag-disabled]': 'disabled',
3450
- '[class.cdk-drag-dragging]': '_dragRef.isDragging()',
3451
- },
3452
- providers: [{ provide: CDK_DRAG_PARENT, useExisting: CdkDrag }]
3453
- },] }
3454
- ];
3455
- CdkDrag.ctorParameters = function () { return [
3456
- { type: i0.ElementRef },
3457
- { type: undefined, decorators: [{ type: i0.Inject, args: [CDK_DROP_LIST,] }, { type: i0.Optional }, { type: i0.SkipSelf }] },
3458
- { type: undefined, decorators: [{ type: i0.Inject, args: [i1.DOCUMENT,] }] },
3459
- { type: i0.NgZone },
3460
- { type: i0.ViewContainerRef },
3461
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [CDK_DRAG_CONFIG,] }] },
3462
- { type: bidi.Directionality, decorators: [{ type: i0.Optional }] },
3463
- { type: DragDrop },
3464
- { type: i0.ChangeDetectorRef },
3465
- { type: CdkDragHandle, decorators: [{ type: i0.Optional }, { type: i0.Self }, { type: i0.Inject, args: [CDK_DRAG_HANDLE,] }] }
3466
- ]; };
3467
- CdkDrag.propDecorators = {
3468
- _handles: [{ type: i0.ContentChildren, args: [CDK_DRAG_HANDLE, { descendants: true },] }],
3469
- _previewTemplate: [{ type: i0.ContentChild, args: [CDK_DRAG_PREVIEW,] }],
3470
- _placeholderTemplate: [{ type: i0.ContentChild, args: [CDK_DRAG_PLACEHOLDER,] }],
3471
- data: [{ type: i0.Input, args: ['cdkDragData',] }],
3472
- lockAxis: [{ type: i0.Input, args: ['cdkDragLockAxis',] }],
3473
- rootElementSelector: [{ type: i0.Input, args: ['cdkDragRootElement',] }],
3474
- boundaryElement: [{ type: i0.Input, args: ['cdkDragBoundary',] }],
3475
- dragStartDelay: [{ type: i0.Input, args: ['cdkDragStartDelay',] }],
3476
- freeDragPosition: [{ type: i0.Input, args: ['cdkDragFreeDragPosition',] }],
3477
- disabled: [{ type: i0.Input, args: ['cdkDragDisabled',] }],
3478
- constrainPosition: [{ type: i0.Input, args: ['cdkDragConstrainPosition',] }],
3479
- previewClass: [{ type: i0.Input, args: ['cdkDragPreviewClass',] }],
3480
- started: [{ type: i0.Output, args: ['cdkDragStarted',] }],
3481
- released: [{ type: i0.Output, args: ['cdkDragReleased',] }],
3482
- ended: [{ type: i0.Output, args: ['cdkDragEnded',] }],
3483
- entered: [{ type: i0.Output, args: ['cdkDragEntered',] }],
3484
- exited: [{ type: i0.Output, args: ['cdkDragExited',] }],
3485
- dropped: [{ type: i0.Output, args: ['cdkDragDropped',] }],
3486
- moved: [{ type: i0.Output, args: ['cdkDragMoved',] }]
3487
- };
3488
3503
  return CdkDrag;
3489
3504
  }());
3505
+ CdkDrag.decorators = [
3506
+ { type: i0.Directive, args: [{
3507
+ selector: '[cdkDrag]',
3508
+ exportAs: 'cdkDrag',
3509
+ host: {
3510
+ 'class': 'cdk-drag',
3511
+ '[class.cdk-drag-disabled]': 'disabled',
3512
+ '[class.cdk-drag-dragging]': '_dragRef.isDragging()',
3513
+ },
3514
+ providers: [{ provide: CDK_DRAG_PARENT, useExisting: CdkDrag }]
3515
+ },] }
3516
+ ];
3517
+ CdkDrag.ctorParameters = function () { return [
3518
+ { type: i0.ElementRef },
3519
+ { type: undefined, decorators: [{ type: i0.Inject, args: [CDK_DROP_LIST,] }, { type: i0.Optional }, { type: i0.SkipSelf }] },
3520
+ { type: undefined, decorators: [{ type: i0.Inject, args: [i1.DOCUMENT,] }] },
3521
+ { type: i0.NgZone },
3522
+ { type: i0.ViewContainerRef },
3523
+ { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [CDK_DRAG_CONFIG,] }] },
3524
+ { type: bidi.Directionality, decorators: [{ type: i0.Optional }] },
3525
+ { type: DragDrop },
3526
+ { type: i0.ChangeDetectorRef },
3527
+ { type: CdkDragHandle, decorators: [{ type: i0.Optional }, { type: i0.Self }, { type: i0.Inject, args: [CDK_DRAG_HANDLE,] }] }
3528
+ ]; };
3529
+ CdkDrag.propDecorators = {
3530
+ _handles: [{ type: i0.ContentChildren, args: [CDK_DRAG_HANDLE, { descendants: true },] }],
3531
+ _previewTemplate: [{ type: i0.ContentChild, args: [CDK_DRAG_PREVIEW,] }],
3532
+ _placeholderTemplate: [{ type: i0.ContentChild, args: [CDK_DRAG_PLACEHOLDER,] }],
3533
+ data: [{ type: i0.Input, args: ['cdkDragData',] }],
3534
+ lockAxis: [{ type: i0.Input, args: ['cdkDragLockAxis',] }],
3535
+ rootElementSelector: [{ type: i0.Input, args: ['cdkDragRootElement',] }],
3536
+ boundaryElement: [{ type: i0.Input, args: ['cdkDragBoundary',] }],
3537
+ dragStartDelay: [{ type: i0.Input, args: ['cdkDragStartDelay',] }],
3538
+ freeDragPosition: [{ type: i0.Input, args: ['cdkDragFreeDragPosition',] }],
3539
+ disabled: [{ type: i0.Input, args: ['cdkDragDisabled',] }],
3540
+ constrainPosition: [{ type: i0.Input, args: ['cdkDragConstrainPosition',] }],
3541
+ previewClass: [{ type: i0.Input, args: ['cdkDragPreviewClass',] }],
3542
+ started: [{ type: i0.Output, args: ['cdkDragStarted',] }],
3543
+ released: [{ type: i0.Output, args: ['cdkDragReleased',] }],
3544
+ ended: [{ type: i0.Output, args: ['cdkDragEnded',] }],
3545
+ entered: [{ type: i0.Output, args: ['cdkDragEntered',] }],
3546
+ exited: [{ type: i0.Output, args: ['cdkDragExited',] }],
3547
+ dropped: [{ type: i0.Output, args: ['cdkDragDropped',] }],
3548
+ moved: [{ type: i0.Output, args: ['cdkDragMoved',] }]
3549
+ };
3490
3550
  /** Gets the closest ancestor of an element that matches a selector. */
3491
3551
  function getClosestMatchingAncestor(element, selector) {
3492
3552
  var currentElement = element.parentElement;
@@ -3511,32 +3571,32 @@
3511
3571
  var DragDropModule = /** @class */ (function () {
3512
3572
  function DragDropModule() {
3513
3573
  }
3514
- DragDropModule.decorators = [
3515
- { type: i0.NgModule, args: [{
3516
- declarations: [
3517
- CdkDropList,
3518
- CdkDropListGroup,
3519
- CdkDrag,
3520
- CdkDragHandle,
3521
- CdkDragPreview,
3522
- CdkDragPlaceholder,
3523
- ],
3524
- exports: [
3525
- i2.CdkScrollableModule,
3526
- CdkDropList,
3527
- CdkDropListGroup,
3528
- CdkDrag,
3529
- CdkDragHandle,
3530
- CdkDragPreview,
3531
- CdkDragPlaceholder,
3532
- ],
3533
- providers: [
3534
- DragDrop,
3535
- ]
3536
- },] }
3537
- ];
3538
3574
  return DragDropModule;
3539
3575
  }());
3576
+ DragDropModule.decorators = [
3577
+ { type: i0.NgModule, args: [{
3578
+ declarations: [
3579
+ CdkDropList,
3580
+ CdkDropListGroup,
3581
+ CdkDrag,
3582
+ CdkDragHandle,
3583
+ CdkDragPreview,
3584
+ CdkDragPlaceholder,
3585
+ ],
3586
+ exports: [
3587
+ i2.CdkScrollableModule,
3588
+ CdkDropList,
3589
+ CdkDropListGroup,
3590
+ CdkDrag,
3591
+ CdkDragHandle,
3592
+ CdkDragPreview,
3593
+ CdkDragPlaceholder,
3594
+ ],
3595
+ providers: [
3596
+ DragDrop,
3597
+ ]
3598
+ },] }
3599
+ ];
3540
3600
 
3541
3601
  /**
3542
3602
  * @license
@@ -3552,8 +3612,10 @@
3552
3612
 
3553
3613
  exports.CDK_DRAG_CONFIG = CDK_DRAG_CONFIG;
3554
3614
  exports.CDK_DRAG_HANDLE = CDK_DRAG_HANDLE;
3615
+ exports.CDK_DRAG_PARENT = CDK_DRAG_PARENT;
3555
3616
  exports.CDK_DRAG_PLACEHOLDER = CDK_DRAG_PLACEHOLDER;
3556
3617
  exports.CDK_DRAG_PREVIEW = CDK_DRAG_PREVIEW;
3618
+ exports.CDK_DROP_LIST = CDK_DROP_LIST;
3557
3619
  exports.CDK_DROP_LIST_GROUP = CDK_DROP_LIST_GROUP;
3558
3620
  exports.CdkDrag = CdkDrag;
3559
3621
  exports.CdkDragHandle = CdkDragHandle;
@@ -3569,8 +3631,6 @@
3569
3631
  exports.copyArrayItem = copyArrayItem;
3570
3632
  exports.moveItemInArray = moveItemInArray;
3571
3633
  exports.transferArrayItem = transferArrayItem;
3572
- exports.ɵangular_material_src_cdk_drag_drop_drag_drop_b = CDK_DROP_LIST;
3573
- exports.ɵangular_material_src_cdk_drag_drop_drag_drop_c = CDK_DRAG_PARENT;
3574
3634
 
3575
3635
  Object.defineProperty(exports, '__esModule', { value: true });
3576
3636