@angular/cdk 10.1.2 → 10.1.3
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.
- package/bundles/cdk-a11y.umd.js +425 -373
- package/bundles/cdk-a11y.umd.js.map +1 -1
- package/bundles/cdk-a11y.umd.min.js +34 -10
- package/bundles/cdk-a11y.umd.min.js.map +1 -1
- package/bundles/cdk-accordion.umd.js +40 -40
- package/bundles/cdk-accordion.umd.js.map +1 -1
- package/bundles/cdk-accordion.umd.min.js +10 -2
- package/bundles/cdk-accordion.umd.min.js.map +1 -1
- package/bundles/cdk-bidi.umd.js +25 -25
- package/bundles/cdk-bidi.umd.js.map +1 -1
- package/bundles/cdk-bidi.umd.min.js +5 -4
- package/bundles/cdk-bidi.umd.min.js.map +1 -1
- package/bundles/cdk-clipboard.umd.js +31 -31
- package/bundles/cdk-clipboard.umd.js.map +1 -1
- package/bundles/cdk-clipboard.umd.min.js +10 -2
- package/bundles/cdk-clipboard.umd.min.js.map +1 -1
- package/bundles/cdk-coercion.umd.js.map +1 -1
- package/bundles/cdk-collections.umd.js +303 -237
- package/bundles/cdk-collections.umd.js.map +1 -1
- package/bundles/cdk-collections.umd.min.js +3 -9
- package/bundles/cdk-collections.umd.min.js.map +1 -1
- package/bundles/cdk-drag-drop.umd.js +484 -425
- package/bundles/cdk-drag-drop.umd.js.map +1 -1
- package/bundles/cdk-drag-drop.umd.min.js +68 -5
- package/bundles/cdk-drag-drop.umd.min.js.map +1 -1
- package/bundles/cdk-keycodes.umd.js.map +1 -1
- package/bundles/cdk-layout.umd.js +18 -18
- package/bundles/cdk-layout.umd.js.map +1 -1
- package/bundles/cdk-layout.umd.min.js +6 -5
- package/bundles/cdk-layout.umd.min.js.map +1 -1
- package/bundles/cdk-observers.umd.js +34 -34
- package/bundles/cdk-observers.umd.js.map +1 -1
- package/bundles/cdk-observers.umd.min.js +2 -2
- package/bundles/cdk-observers.umd.min.js.map +1 -1
- package/bundles/cdk-overlay.umd.js +442 -383
- package/bundles/cdk-overlay.umd.js.map +1 -1
- package/bundles/cdk-overlay.umd.min.js +57 -11
- package/bundles/cdk-overlay.umd.min.js.map +1 -1
- package/bundles/cdk-platform.umd.js +10 -10
- package/bundles/cdk-platform.umd.js.map +1 -1
- package/bundles/cdk-platform.umd.min.js +3 -10
- package/bundles/cdk-platform.umd.min.js.map +1 -1
- package/bundles/cdk-portal.umd.js +351 -299
- package/bundles/cdk-portal.umd.js.map +1 -1
- package/bundles/cdk-portal.umd.min.js +4 -5
- package/bundles/cdk-portal.umd.min.js.map +1 -1
- package/bundles/cdk-scrolling.umd.js +432 -378
- package/bundles/cdk-scrolling.umd.js.map +1 -1
- package/bundles/cdk-scrolling.umd.min.js +20 -19
- package/bundles/cdk-scrolling.umd.min.js.map +1 -1
- package/bundles/cdk-stepper.umd.js +117 -117
- package/bundles/cdk-stepper.umd.js.map +1 -1
- package/bundles/cdk-stepper.umd.min.js +11 -2
- package/bundles/cdk-stepper.umd.min.js.map +1 -1
- package/bundles/cdk-table.umd.js +684 -588
- package/bundles/cdk-table.umd.js.map +1 -1
- package/bundles/cdk-table.umd.min.js +7 -14
- package/bundles/cdk-table.umd.min.js.map +1 -1
- package/bundles/cdk-testing-protractor.umd.js +300 -241
- package/bundles/cdk-testing-protractor.umd.js.map +1 -1
- package/bundles/cdk-testing-protractor.umd.min.js +2 -9
- package/bundles/cdk-testing-protractor.umd.min.js.map +1 -1
- package/bundles/cdk-testing-testbed.umd.js +301 -256
- package/bundles/cdk-testing-testbed.umd.js.map +1 -1
- package/bundles/cdk-testing-testbed.umd.min.js +7 -30
- package/bundles/cdk-testing-testbed.umd.min.js.map +1 -1
- package/bundles/cdk-testing.umd.js +326 -270
- package/bundles/cdk-testing.umd.js.map +1 -1
- package/bundles/cdk-testing.umd.min.js +1 -16
- package/bundles/cdk-testing.umd.min.js.map +1 -1
- package/bundles/cdk-text-field.umd.js +51 -51
- package/bundles/cdk-text-field.umd.js.map +1 -1
- package/bundles/cdk-text-field.umd.min.js +10 -2
- package/bundles/cdk-text-field.umd.min.js.map +1 -1
- package/bundles/cdk-tree.umd.js +443 -394
- package/bundles/cdk-tree.umd.js.map +1 -1
- package/bundles/cdk-tree.umd.min.js +28 -3
- package/bundles/cdk-tree.umd.min.js.map +1 -1
- package/bundles/cdk.umd.js +1 -1
- package/bundles/cdk.umd.js.map +1 -1
- package/bundles/cdk.umd.min.js +1 -1
- package/bundles/cdk.umd.min.js.map +1 -1
- package/esm2015/a11y/focus-trap/configurable-focus-trap-factory.js +3 -3
- package/esm2015/a11y/focus-trap/focus-trap.js +1 -1
- package/esm2015/a11y/live-announcer/live-announcer.js +1 -1
- package/esm2015/bidi/directionality.js +1 -1
- package/esm2015/overlay/position/flexible-connected-position-strategy.js +3 -3
- package/esm2015/scrolling/scrolling-module.js +4 -1
- package/esm2015/table/cell.js +18 -3
- package/esm2015/table/coalesced-style-scheduler.js +21 -10
- package/esm2015/table/sticky-styler.js +21 -7
- package/esm2015/table/table.js +8 -2
- package/esm2015/tree/tree.js +9 -23
- package/esm2015/version.js +1 -1
- package/fesm2015/cdk.js +1 -1
- package/fesm2015/cdk.js.map +1 -1
- package/fesm2015/overlay.js +2 -2
- package/fesm2015/overlay.js.map +1 -1
- package/fesm2015/scrolling.js +3 -0
- package/fesm2015/scrolling.js.map +1 -1
- package/fesm2015/table.js +65 -19
- package/fesm2015/table.js.map +1 -1
- package/fesm2015/tree.js +7 -21
- package/fesm2015/tree.js.map +1 -1
- package/package.json +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/scrolling/index.metadata.json +1 -1
- package/scrolling/scrolling-module.d.ts +3 -0
- package/table/cell.d.ts +13 -0
- package/table/coalesced-style-scheduler.d.ts +1 -0
- package/table/index.metadata.json +1 -1
- package/table/sticky-styler.d.ts +5 -1
- package/table/table.d.ts +6 -0
- package/tree/index.metadata.json +1 -1
- package/tree/tree.d.ts +2 -4
|
@@ -715,17 +715,17 @@
|
|
|
715
715
|
var dropContainer = this._dropContainer;
|
|
716
716
|
if (dropContainer) {
|
|
717
717
|
var element = this._rootElement;
|
|
718
|
-
var
|
|
718
|
+
var parent = element.parentNode;
|
|
719
719
|
var preview = this._preview = this._createPreviewElement();
|
|
720
720
|
var placeholder = this._placeholder = this._createPlaceholderElement();
|
|
721
721
|
var anchor = this._anchor = this._anchor || this._document.createComment('');
|
|
722
722
|
// Insert an anchor node so that we can restore the element's position in the DOM.
|
|
723
|
-
|
|
723
|
+
parent.insertBefore(anchor, element);
|
|
724
724
|
// We move the element out at the end of the body and we make it hidden, because keeping it in
|
|
725
725
|
// place will throw off the consumer's `:last-child` selectors. We can't remove the element
|
|
726
726
|
// from the DOM completely, because iOS will stop firing all subsequent events in the chain.
|
|
727
727
|
element.style.display = 'none';
|
|
728
|
-
this._document.body.appendChild(
|
|
728
|
+
this._document.body.appendChild(parent.replaceChild(placeholder, element));
|
|
729
729
|
getPreviewInsertionPoint(this._document).appendChild(preview);
|
|
730
730
|
this.started.next({ source: this }); // Emit before notifying the container.
|
|
731
731
|
dropContainer.start();
|
|
@@ -1286,232 +1286,305 @@
|
|
|
1286
1286
|
target.style.transform = getTransform(sourceRect.left, sourceRect.top);
|
|
1287
1287
|
}
|
|
1288
1288
|
|
|
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
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
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
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
function __rest(s, e) {
|
|
1330
|
-
var t = {};
|
|
1331
|
-
for (var p in s)
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
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")
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
return
|
|
1350
|
-
}
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
function
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
function
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
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
|
+
var extendStatics = function (d, b) {
|
|
1305
|
+
extendStatics = Object.setPrototypeOf ||
|
|
1306
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
1307
|
+
function (d, b) { for (var p in b)
|
|
1308
|
+
if (b.hasOwnProperty(p))
|
|
1309
|
+
d[p] = b[p]; };
|
|
1310
|
+
return extendStatics(d, b);
|
|
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
|
+
var __assign = function () {
|
|
1318
|
+
__assign = Object.assign || function __assign(t) {
|
|
1319
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
1320
|
+
s = arguments[i];
|
|
1321
|
+
for (var p in s)
|
|
1322
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
1323
|
+
t[p] = s[p];
|
|
1324
|
+
}
|
|
1325
|
+
return t;
|
|
1326
|
+
};
|
|
1327
|
+
return __assign.apply(this, arguments);
|
|
1328
|
+
};
|
|
1329
|
+
function __rest(s, e) {
|
|
1330
|
+
var t = {};
|
|
1331
|
+
for (var p in s)
|
|
1332
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
1333
|
+
t[p] = s[p];
|
|
1334
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
1335
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
1336
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
1337
|
+
t[p[i]] = s[p[i]];
|
|
1338
|
+
}
|
|
1339
|
+
return t;
|
|
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")
|
|
1344
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
1345
|
+
else
|
|
1346
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
1347
|
+
if (d = decorators[i])
|
|
1348
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1349
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1350
|
+
}
|
|
1351
|
+
function __param(paramIndex, decorator) {
|
|
1352
|
+
return function (target, key) { decorator(target, key, paramIndex); };
|
|
1353
|
+
}
|
|
1354
|
+
function __metadata(metadataKey, metadataValue) {
|
|
1355
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1356
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
1357
|
+
}
|
|
1358
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
1359
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
1360
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
1361
|
+
function fulfilled(value) { try {
|
|
1362
|
+
step(generator.next(value));
|
|
1363
|
+
}
|
|
1364
|
+
catch (e) {
|
|
1365
|
+
reject(e);
|
|
1366
|
+
} }
|
|
1367
|
+
function rejected(value) { try {
|
|
1368
|
+
step(generator["throw"](value));
|
|
1369
|
+
}
|
|
1370
|
+
catch (e) {
|
|
1371
|
+
reject(e);
|
|
1372
|
+
} }
|
|
1373
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
1374
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
1375
|
+
});
|
|
1376
|
+
}
|
|
1377
|
+
function __generator(thisArg, body) {
|
|
1378
|
+
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
1379
|
+
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
1380
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
1381
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
1382
|
+
function step(op) {
|
|
1383
|
+
if (f)
|
|
1384
|
+
throw new TypeError("Generator is already executing.");
|
|
1385
|
+
while (_)
|
|
1386
|
+
try {
|
|
1387
|
+
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)
|
|
1388
|
+
return t;
|
|
1389
|
+
if (y = 0, t)
|
|
1390
|
+
op = [op[0] & 2, t.value];
|
|
1391
|
+
switch (op[0]) {
|
|
1392
|
+
case 0:
|
|
1393
|
+
case 1:
|
|
1394
|
+
t = op;
|
|
1395
|
+
break;
|
|
1396
|
+
case 4:
|
|
1397
|
+
_.label++;
|
|
1398
|
+
return { value: op[1], done: false };
|
|
1399
|
+
case 5:
|
|
1400
|
+
_.label++;
|
|
1401
|
+
y = op[1];
|
|
1402
|
+
op = [0];
|
|
1403
|
+
continue;
|
|
1404
|
+
case 7:
|
|
1405
|
+
op = _.ops.pop();
|
|
1406
|
+
_.trys.pop();
|
|
1407
|
+
continue;
|
|
1408
|
+
default:
|
|
1409
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
1410
|
+
_ = 0;
|
|
1411
|
+
continue;
|
|
1412
|
+
}
|
|
1413
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
1414
|
+
_.label = op[1];
|
|
1415
|
+
break;
|
|
1416
|
+
}
|
|
1417
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
1418
|
+
_.label = t[1];
|
|
1419
|
+
t = op;
|
|
1420
|
+
break;
|
|
1421
|
+
}
|
|
1422
|
+
if (t && _.label < t[2]) {
|
|
1423
|
+
_.label = t[2];
|
|
1424
|
+
_.ops.push(op);
|
|
1425
|
+
break;
|
|
1426
|
+
}
|
|
1427
|
+
if (t[2])
|
|
1428
|
+
_.ops.pop();
|
|
1429
|
+
_.trys.pop();
|
|
1430
|
+
continue;
|
|
1431
|
+
}
|
|
1432
|
+
op = body.call(thisArg, _);
|
|
1433
|
+
}
|
|
1434
|
+
catch (e) {
|
|
1435
|
+
op = [6, e];
|
|
1436
|
+
y = 0;
|
|
1437
|
+
}
|
|
1438
|
+
finally {
|
|
1439
|
+
f = t = 0;
|
|
1440
|
+
}
|
|
1441
|
+
if (op[0] & 5)
|
|
1442
|
+
throw op[1];
|
|
1443
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
1444
|
+
}
|
|
1445
|
+
}
|
|
1446
|
+
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
1447
|
+
if (k2 === undefined)
|
|
1448
|
+
k2 = k;
|
|
1449
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
1450
|
+
}) : (function (o, m, k, k2) {
|
|
1451
|
+
if (k2 === undefined)
|
|
1452
|
+
k2 = k;
|
|
1453
|
+
o[k2] = m[k];
|
|
1454
|
+
});
|
|
1455
|
+
function __exportStar(m, exports) {
|
|
1456
|
+
for (var p in m)
|
|
1457
|
+
if (p !== "default" && !exports.hasOwnProperty(p))
|
|
1458
|
+
__createBinding(exports, m, p);
|
|
1459
|
+
}
|
|
1460
|
+
function __values(o) {
|
|
1461
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
1462
|
+
if (m)
|
|
1463
|
+
return m.call(o);
|
|
1464
|
+
if (o && typeof o.length === "number")
|
|
1465
|
+
return {
|
|
1466
|
+
next: function () {
|
|
1467
|
+
if (o && i >= o.length)
|
|
1468
|
+
o = void 0;
|
|
1469
|
+
return { value: o && o[i++], done: !o };
|
|
1470
|
+
}
|
|
1471
|
+
};
|
|
1472
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
1473
|
+
}
|
|
1474
|
+
function __read(o, n) {
|
|
1475
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
1476
|
+
if (!m)
|
|
1477
|
+
return o;
|
|
1478
|
+
var i = m.call(o), r, ar = [], e;
|
|
1479
|
+
try {
|
|
1480
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
1481
|
+
ar.push(r.value);
|
|
1482
|
+
}
|
|
1483
|
+
catch (error) {
|
|
1484
|
+
e = { error: error };
|
|
1485
|
+
}
|
|
1486
|
+
finally {
|
|
1487
|
+
try {
|
|
1488
|
+
if (r && !r.done && (m = i["return"]))
|
|
1489
|
+
m.call(i);
|
|
1490
|
+
}
|
|
1491
|
+
finally {
|
|
1492
|
+
if (e)
|
|
1493
|
+
throw e.error;
|
|
1494
|
+
}
|
|
1495
|
+
}
|
|
1496
|
+
return ar;
|
|
1497
|
+
}
|
|
1498
|
+
function __spread() {
|
|
1499
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
1500
|
+
ar = ar.concat(__read(arguments[i]));
|
|
1501
|
+
return ar;
|
|
1502
|
+
}
|
|
1503
|
+
function __spreadArrays() {
|
|
1504
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
1505
|
+
s += arguments[i].length;
|
|
1506
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
1507
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
1508
|
+
r[k] = a[j];
|
|
1509
|
+
return r;
|
|
1510
|
+
}
|
|
1511
|
+
;
|
|
1512
|
+
function __await(v) {
|
|
1513
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
1514
|
+
}
|
|
1515
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
1516
|
+
if (!Symbol.asyncIterator)
|
|
1517
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
1518
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
1519
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
1520
|
+
function verb(n) { if (g[n])
|
|
1521
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
1522
|
+
function resume(n, v) { try {
|
|
1523
|
+
step(g[n](v));
|
|
1524
|
+
}
|
|
1525
|
+
catch (e) {
|
|
1526
|
+
settle(q[0][3], e);
|
|
1527
|
+
} }
|
|
1528
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
1529
|
+
function fulfill(value) { resume("next", value); }
|
|
1530
|
+
function reject(value) { resume("throw", value); }
|
|
1531
|
+
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
1532
|
+
resume(q[0][0], q[0][1]); }
|
|
1533
|
+
}
|
|
1534
|
+
function __asyncDelegator(o) {
|
|
1535
|
+
var i, p;
|
|
1536
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
1537
|
+
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; }
|
|
1538
|
+
}
|
|
1539
|
+
function __asyncValues(o) {
|
|
1540
|
+
if (!Symbol.asyncIterator)
|
|
1541
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
1542
|
+
var m = o[Symbol.asyncIterator], i;
|
|
1543
|
+
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);
|
|
1544
|
+
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); }); }; }
|
|
1545
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
1546
|
+
}
|
|
1547
|
+
function __makeTemplateObject(cooked, raw) {
|
|
1548
|
+
if (Object.defineProperty) {
|
|
1549
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
|
1550
|
+
}
|
|
1551
|
+
else {
|
|
1552
|
+
cooked.raw = raw;
|
|
1553
|
+
}
|
|
1554
|
+
return cooked;
|
|
1555
|
+
}
|
|
1556
|
+
;
|
|
1557
|
+
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
1558
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
1559
|
+
}) : function (o, v) {
|
|
1560
|
+
o["default"] = v;
|
|
1561
|
+
};
|
|
1562
|
+
function __importStar(mod) {
|
|
1563
|
+
if (mod && mod.__esModule)
|
|
1564
|
+
return mod;
|
|
1565
|
+
var result = {};
|
|
1566
|
+
if (mod != null)
|
|
1567
|
+
for (var k in mod)
|
|
1568
|
+
if (Object.hasOwnProperty.call(mod, k))
|
|
1569
|
+
__createBinding(result, mod, k);
|
|
1570
|
+
__setModuleDefault(result, mod);
|
|
1571
|
+
return result;
|
|
1572
|
+
}
|
|
1573
|
+
function __importDefault(mod) {
|
|
1574
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
1575
|
+
}
|
|
1576
|
+
function __classPrivateFieldGet(receiver, privateMap) {
|
|
1577
|
+
if (!privateMap.has(receiver)) {
|
|
1578
|
+
throw new TypeError("attempted to get private field on non-instance");
|
|
1579
|
+
}
|
|
1580
|
+
return privateMap.get(receiver);
|
|
1581
|
+
}
|
|
1582
|
+
function __classPrivateFieldSet(receiver, privateMap, value) {
|
|
1583
|
+
if (!privateMap.has(receiver)) {
|
|
1584
|
+
throw new TypeError("attempted to set private field on non-instance");
|
|
1585
|
+
}
|
|
1586
|
+
privateMap.set(receiver, value);
|
|
1587
|
+
return value;
|
|
1515
1588
|
}
|
|
1516
1589
|
|
|
1517
1590
|
/**
|
|
@@ -1574,13 +1647,6 @@
|
|
|
1574
1647
|
return Math.max(0, Math.min(max, value));
|
|
1575
1648
|
}
|
|
1576
1649
|
|
|
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
1650
|
/**
|
|
1585
1651
|
* Proximity, as a ratio to width/height, at which a
|
|
1586
1652
|
* dragged item will affect the drop container.
|
|
@@ -2569,16 +2635,16 @@
|
|
|
2569
2635
|
});
|
|
2570
2636
|
this._globalListeners.clear();
|
|
2571
2637
|
};
|
|
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
2638
|
return DragDropRegistry;
|
|
2581
2639
|
}());
|
|
2640
|
+
DragDropRegistry.ɵprov = i0.ɵɵdefineInjectable({ factory: function DragDropRegistry_Factory() { return new DragDropRegistry(i0.ɵɵinject(i0.NgZone), i0.ɵɵinject(i1.DOCUMENT)); }, token: DragDropRegistry, providedIn: "root" });
|
|
2641
|
+
DragDropRegistry.decorators = [
|
|
2642
|
+
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
2643
|
+
];
|
|
2644
|
+
DragDropRegistry.ctorParameters = function () { return [
|
|
2645
|
+
{ type: i0.NgZone },
|
|
2646
|
+
{ type: undefined, decorators: [{ type: i0.Inject, args: [i1.DOCUMENT,] }] }
|
|
2647
|
+
]; };
|
|
2582
2648
|
|
|
2583
2649
|
/**
|
|
2584
2650
|
* @license
|
|
@@ -2618,18 +2684,18 @@
|
|
|
2618
2684
|
DragDrop.prototype.createDropList = function (element) {
|
|
2619
2685
|
return new DropListRef(element, this._dragDropRegistry, this._document, this._ngZone, this._viewportRuler);
|
|
2620
2686
|
};
|
|
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
2687
|
return DragDrop;
|
|
2632
2688
|
}());
|
|
2689
|
+
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" });
|
|
2690
|
+
DragDrop.decorators = [
|
|
2691
|
+
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
2692
|
+
];
|
|
2693
|
+
DragDrop.ctorParameters = function () { return [
|
|
2694
|
+
{ type: undefined, decorators: [{ type: i0.Inject, args: [i1.DOCUMENT,] }] },
|
|
2695
|
+
{ type: i0.NgZone },
|
|
2696
|
+
{ type: i2.ViewportRuler },
|
|
2697
|
+
{ type: DragDropRegistry }
|
|
2698
|
+
]; };
|
|
2633
2699
|
|
|
2634
2700
|
/**
|
|
2635
2701
|
* @license
|
|
@@ -2676,18 +2742,18 @@
|
|
|
2676
2742
|
CdkDropListGroup.prototype.ngOnDestroy = function () {
|
|
2677
2743
|
this._items.clear();
|
|
2678
2744
|
};
|
|
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
2745
|
return CdkDropListGroup;
|
|
2690
2746
|
}());
|
|
2747
|
+
CdkDropListGroup.decorators = [
|
|
2748
|
+
{ type: i0.Directive, args: [{
|
|
2749
|
+
selector: '[cdkDropListGroup]',
|
|
2750
|
+
exportAs: 'cdkDropListGroup',
|
|
2751
|
+
providers: [{ provide: CDK_DROP_LIST_GROUP, useExisting: CdkDropListGroup }],
|
|
2752
|
+
},] }
|
|
2753
|
+
];
|
|
2754
|
+
CdkDropListGroup.propDecorators = {
|
|
2755
|
+
disabled: [{ type: i0.Input, args: ['cdkDropListGroupDisabled',] }]
|
|
2756
|
+
};
|
|
2691
2757
|
|
|
2692
2758
|
/**
|
|
2693
2759
|
* @license
|
|
@@ -2946,52 +3012,52 @@
|
|
|
2946
3012
|
CdkDropList.prototype._syncItemsWithRef = function () {
|
|
2947
3013
|
this._dropListRef.withItems(this.getSortedItems().map(function (item) { return item._dragRef; }));
|
|
2948
3014
|
};
|
|
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
3015
|
return CdkDropList;
|
|
2994
3016
|
}());
|
|
3017
|
+
/** Keeps track of the drop lists that are currently on the page. */
|
|
3018
|
+
CdkDropList._dropLists = [];
|
|
3019
|
+
CdkDropList.decorators = [
|
|
3020
|
+
{ type: i0.Directive, args: [{
|
|
3021
|
+
selector: '[cdkDropList], cdk-drop-list',
|
|
3022
|
+
exportAs: 'cdkDropList',
|
|
3023
|
+
providers: [
|
|
3024
|
+
// Prevent child drop lists from picking up the same group as their parent.
|
|
3025
|
+
{ provide: CDK_DROP_LIST_GROUP, useValue: ɵ0 },
|
|
3026
|
+
{ provide: CDK_DROP_LIST, useExisting: CdkDropList },
|
|
3027
|
+
],
|
|
3028
|
+
host: {
|
|
3029
|
+
'class': 'cdk-drop-list',
|
|
3030
|
+
'[id]': 'id',
|
|
3031
|
+
'[class.cdk-drop-list-disabled]': 'disabled',
|
|
3032
|
+
'[class.cdk-drop-list-dragging]': '_dropListRef.isDragging()',
|
|
3033
|
+
'[class.cdk-drop-list-receiving]': '_dropListRef.isReceiving()',
|
|
3034
|
+
}
|
|
3035
|
+
},] }
|
|
3036
|
+
];
|
|
3037
|
+
CdkDropList.ctorParameters = function () { return [
|
|
3038
|
+
{ type: i0.ElementRef },
|
|
3039
|
+
{ type: DragDrop },
|
|
3040
|
+
{ type: i0.ChangeDetectorRef },
|
|
3041
|
+
{ type: bidi.Directionality, decorators: [{ type: i0.Optional }] },
|
|
3042
|
+
{ type: CdkDropListGroup, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [CDK_DROP_LIST_GROUP,] }, { type: i0.SkipSelf }] },
|
|
3043
|
+
{ type: i2.ScrollDispatcher },
|
|
3044
|
+
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [CDK_DRAG_CONFIG,] }] }
|
|
3045
|
+
]; };
|
|
3046
|
+
CdkDropList.propDecorators = {
|
|
3047
|
+
connectedTo: [{ type: i0.Input, args: ['cdkDropListConnectedTo',] }],
|
|
3048
|
+
data: [{ type: i0.Input, args: ['cdkDropListData',] }],
|
|
3049
|
+
orientation: [{ type: i0.Input, args: ['cdkDropListOrientation',] }],
|
|
3050
|
+
id: [{ type: i0.Input }],
|
|
3051
|
+
lockAxis: [{ type: i0.Input, args: ['cdkDropListLockAxis',] }],
|
|
3052
|
+
disabled: [{ type: i0.Input, args: ['cdkDropListDisabled',] }],
|
|
3053
|
+
sortingDisabled: [{ type: i0.Input, args: ['cdkDropListSortingDisabled',] }],
|
|
3054
|
+
enterPredicate: [{ type: i0.Input, args: ['cdkDropListEnterPredicate',] }],
|
|
3055
|
+
autoScrollDisabled: [{ type: i0.Input, args: ['cdkDropListAutoScrollDisabled',] }],
|
|
3056
|
+
dropped: [{ type: i0.Output, args: ['cdkDropListDropped',] }],
|
|
3057
|
+
entered: [{ type: i0.Output, args: ['cdkDropListEntered',] }],
|
|
3058
|
+
exited: [{ type: i0.Output, args: ['cdkDropListExited',] }],
|
|
3059
|
+
sorted: [{ type: i0.Output, args: ['cdkDropListSorted',] }]
|
|
3060
|
+
};
|
|
2995
3061
|
|
|
2996
3062
|
/**
|
|
2997
3063
|
* @license
|
|
@@ -3044,24 +3110,24 @@
|
|
|
3044
3110
|
CdkDragHandle.prototype.ngOnDestroy = function () {
|
|
3045
3111
|
this._stateChanges.complete();
|
|
3046
3112
|
};
|
|
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
3113
|
return CdkDragHandle;
|
|
3064
3114
|
}());
|
|
3115
|
+
CdkDragHandle.decorators = [
|
|
3116
|
+
{ type: i0.Directive, args: [{
|
|
3117
|
+
selector: '[cdkDragHandle]',
|
|
3118
|
+
host: {
|
|
3119
|
+
'class': 'cdk-drag-handle'
|
|
3120
|
+
},
|
|
3121
|
+
providers: [{ provide: CDK_DRAG_HANDLE, useExisting: CdkDragHandle }],
|
|
3122
|
+
},] }
|
|
3123
|
+
];
|
|
3124
|
+
CdkDragHandle.ctorParameters = function () { return [
|
|
3125
|
+
{ type: i0.ElementRef },
|
|
3126
|
+
{ type: undefined, decorators: [{ type: i0.Inject, args: [CDK_DRAG_PARENT,] }, { type: i0.Optional }, { type: i0.SkipSelf }] }
|
|
3127
|
+
]; };
|
|
3128
|
+
CdkDragHandle.propDecorators = {
|
|
3129
|
+
disabled: [{ type: i0.Input, args: ['cdkDragHandleDisabled',] }]
|
|
3130
|
+
};
|
|
3065
3131
|
|
|
3066
3132
|
/**
|
|
3067
3133
|
* @license
|
|
@@ -3084,20 +3150,20 @@
|
|
|
3084
3150
|
function CdkDragPlaceholder(templateRef) {
|
|
3085
3151
|
this.templateRef = templateRef;
|
|
3086
3152
|
}
|
|
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
3153
|
return CdkDragPlaceholder;
|
|
3100
3154
|
}());
|
|
3155
|
+
CdkDragPlaceholder.decorators = [
|
|
3156
|
+
{ type: i0.Directive, args: [{
|
|
3157
|
+
selector: 'ng-template[cdkDragPlaceholder]',
|
|
3158
|
+
providers: [{ provide: CDK_DRAG_PLACEHOLDER, useExisting: CdkDragPlaceholder }],
|
|
3159
|
+
},] }
|
|
3160
|
+
];
|
|
3161
|
+
CdkDragPlaceholder.ctorParameters = function () { return [
|
|
3162
|
+
{ type: i0.TemplateRef }
|
|
3163
|
+
]; };
|
|
3164
|
+
CdkDragPlaceholder.propDecorators = {
|
|
3165
|
+
data: [{ type: i0.Input }]
|
|
3166
|
+
};
|
|
3101
3167
|
|
|
3102
3168
|
/**
|
|
3103
3169
|
* @license
|
|
@@ -3128,29 +3194,22 @@
|
|
|
3128
3194
|
enumerable: false,
|
|
3129
3195
|
configurable: true
|
|
3130
3196
|
});
|
|
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
3197
|
return CdkDragPreview;
|
|
3145
3198
|
}());
|
|
3199
|
+
CdkDragPreview.decorators = [
|
|
3200
|
+
{ type: i0.Directive, args: [{
|
|
3201
|
+
selector: 'ng-template[cdkDragPreview]',
|
|
3202
|
+
providers: [{ provide: CDK_DRAG_PREVIEW, useExisting: CdkDragPreview }],
|
|
3203
|
+
},] }
|
|
3204
|
+
];
|
|
3205
|
+
CdkDragPreview.ctorParameters = function () { return [
|
|
3206
|
+
{ type: i0.TemplateRef }
|
|
3207
|
+
]; };
|
|
3208
|
+
CdkDragPreview.propDecorators = {
|
|
3209
|
+
data: [{ type: i0.Input }],
|
|
3210
|
+
matchSize: [{ type: i0.Input }]
|
|
3211
|
+
};
|
|
3146
3212
|
|
|
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
3213
|
/** Element that can be moved inside a CdkDropList container. */
|
|
3155
3214
|
var CdkDrag = /** @class */ (function () {
|
|
3156
3215
|
function CdkDrag(
|
|
@@ -3440,53 +3499,53 @@
|
|
|
3440
3499
|
this.rootElementSelector = rootElementSelector;
|
|
3441
3500
|
}
|
|
3442
3501
|
};
|
|
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
3502
|
return CdkDrag;
|
|
3489
3503
|
}());
|
|
3504
|
+
CdkDrag.decorators = [
|
|
3505
|
+
{ type: i0.Directive, args: [{
|
|
3506
|
+
selector: '[cdkDrag]',
|
|
3507
|
+
exportAs: 'cdkDrag',
|
|
3508
|
+
host: {
|
|
3509
|
+
'class': 'cdk-drag',
|
|
3510
|
+
'[class.cdk-drag-disabled]': 'disabled',
|
|
3511
|
+
'[class.cdk-drag-dragging]': '_dragRef.isDragging()',
|
|
3512
|
+
},
|
|
3513
|
+
providers: [{ provide: CDK_DRAG_PARENT, useExisting: CdkDrag }]
|
|
3514
|
+
},] }
|
|
3515
|
+
];
|
|
3516
|
+
CdkDrag.ctorParameters = function () { return [
|
|
3517
|
+
{ type: i0.ElementRef },
|
|
3518
|
+
{ type: undefined, decorators: [{ type: i0.Inject, args: [CDK_DROP_LIST,] }, { type: i0.Optional }, { type: i0.SkipSelf }] },
|
|
3519
|
+
{ type: undefined, decorators: [{ type: i0.Inject, args: [i1.DOCUMENT,] }] },
|
|
3520
|
+
{ type: i0.NgZone },
|
|
3521
|
+
{ type: i0.ViewContainerRef },
|
|
3522
|
+
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [CDK_DRAG_CONFIG,] }] },
|
|
3523
|
+
{ type: bidi.Directionality, decorators: [{ type: i0.Optional }] },
|
|
3524
|
+
{ type: DragDrop },
|
|
3525
|
+
{ type: i0.ChangeDetectorRef },
|
|
3526
|
+
{ type: CdkDragHandle, decorators: [{ type: i0.Optional }, { type: i0.Self }, { type: i0.Inject, args: [CDK_DRAG_HANDLE,] }] }
|
|
3527
|
+
]; };
|
|
3528
|
+
CdkDrag.propDecorators = {
|
|
3529
|
+
_handles: [{ type: i0.ContentChildren, args: [CDK_DRAG_HANDLE, { descendants: true },] }],
|
|
3530
|
+
_previewTemplate: [{ type: i0.ContentChild, args: [CDK_DRAG_PREVIEW,] }],
|
|
3531
|
+
_placeholderTemplate: [{ type: i0.ContentChild, args: [CDK_DRAG_PLACEHOLDER,] }],
|
|
3532
|
+
data: [{ type: i0.Input, args: ['cdkDragData',] }],
|
|
3533
|
+
lockAxis: [{ type: i0.Input, args: ['cdkDragLockAxis',] }],
|
|
3534
|
+
rootElementSelector: [{ type: i0.Input, args: ['cdkDragRootElement',] }],
|
|
3535
|
+
boundaryElement: [{ type: i0.Input, args: ['cdkDragBoundary',] }],
|
|
3536
|
+
dragStartDelay: [{ type: i0.Input, args: ['cdkDragStartDelay',] }],
|
|
3537
|
+
freeDragPosition: [{ type: i0.Input, args: ['cdkDragFreeDragPosition',] }],
|
|
3538
|
+
disabled: [{ type: i0.Input, args: ['cdkDragDisabled',] }],
|
|
3539
|
+
constrainPosition: [{ type: i0.Input, args: ['cdkDragConstrainPosition',] }],
|
|
3540
|
+
previewClass: [{ type: i0.Input, args: ['cdkDragPreviewClass',] }],
|
|
3541
|
+
started: [{ type: i0.Output, args: ['cdkDragStarted',] }],
|
|
3542
|
+
released: [{ type: i0.Output, args: ['cdkDragReleased',] }],
|
|
3543
|
+
ended: [{ type: i0.Output, args: ['cdkDragEnded',] }],
|
|
3544
|
+
entered: [{ type: i0.Output, args: ['cdkDragEntered',] }],
|
|
3545
|
+
exited: [{ type: i0.Output, args: ['cdkDragExited',] }],
|
|
3546
|
+
dropped: [{ type: i0.Output, args: ['cdkDragDropped',] }],
|
|
3547
|
+
moved: [{ type: i0.Output, args: ['cdkDragMoved',] }]
|
|
3548
|
+
};
|
|
3490
3549
|
/** Gets the closest ancestor of an element that matches a selector. */
|
|
3491
3550
|
function getClosestMatchingAncestor(element, selector) {
|
|
3492
3551
|
var currentElement = element.parentElement;
|
|
@@ -3511,32 +3570,32 @@
|
|
|
3511
3570
|
var DragDropModule = /** @class */ (function () {
|
|
3512
3571
|
function DragDropModule() {
|
|
3513
3572
|
}
|
|
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
3573
|
return DragDropModule;
|
|
3539
3574
|
}());
|
|
3575
|
+
DragDropModule.decorators = [
|
|
3576
|
+
{ type: i0.NgModule, args: [{
|
|
3577
|
+
declarations: [
|
|
3578
|
+
CdkDropList,
|
|
3579
|
+
CdkDropListGroup,
|
|
3580
|
+
CdkDrag,
|
|
3581
|
+
CdkDragHandle,
|
|
3582
|
+
CdkDragPreview,
|
|
3583
|
+
CdkDragPlaceholder,
|
|
3584
|
+
],
|
|
3585
|
+
exports: [
|
|
3586
|
+
i2.CdkScrollableModule,
|
|
3587
|
+
CdkDropList,
|
|
3588
|
+
CdkDropListGroup,
|
|
3589
|
+
CdkDrag,
|
|
3590
|
+
CdkDragHandle,
|
|
3591
|
+
CdkDragPreview,
|
|
3592
|
+
CdkDragPlaceholder,
|
|
3593
|
+
],
|
|
3594
|
+
providers: [
|
|
3595
|
+
DragDrop,
|
|
3596
|
+
]
|
|
3597
|
+
},] }
|
|
3598
|
+
];
|
|
3540
3599
|
|
|
3541
3600
|
/**
|
|
3542
3601
|
* @license
|