@angular/cdk 21.2.1 → 21.2.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/fesm2022/_a11y-module-chunk.mjs +22 -22
- package/fesm2022/_a11y-module-chunk.mjs.map +1 -1
- package/fesm2022/_activedescendant-key-manager-chunk.mjs.map +1 -1
- package/fesm2022/_array-chunk.mjs.map +1 -1
- package/fesm2022/_breakpoints-observer-chunk.mjs +6 -6
- package/fesm2022/_breakpoints-observer-chunk.mjs.map +1 -1
- package/fesm2022/_css-pixel-value-chunk.mjs.map +1 -1
- package/fesm2022/_data-source-chunk.mjs.map +1 -1
- package/fesm2022/_directionality-chunk.mjs +3 -3
- package/fesm2022/_directionality-chunk.mjs.map +1 -1
- package/fesm2022/_dispose-view-repeater-strategy-chunk.mjs.map +1 -1
- package/fesm2022/_element-chunk.mjs.map +1 -1
- package/fesm2022/_fake-event-detection-chunk.mjs.map +1 -1
- package/fesm2022/_focus-key-manager-chunk.mjs.map +1 -1
- package/fesm2022/_focus-monitor-chunk.mjs +9 -9
- package/fesm2022/_focus-monitor-chunk.mjs.map +1 -1
- package/fesm2022/_id-generator-chunk.mjs +3 -3
- package/fesm2022/_id-generator-chunk.mjs.map +1 -1
- package/fesm2022/_keycodes-chunk.mjs.map +1 -1
- package/fesm2022/_list-key-manager-chunk.mjs.map +1 -1
- package/fesm2022/_overlay-module-chunk.mjs +34 -34
- package/fesm2022/_overlay-module-chunk.mjs.map +1 -1
- package/fesm2022/_passive-listeners-chunk.mjs.map +1 -1
- package/fesm2022/_platform-chunk.mjs +3 -3
- package/fesm2022/_platform-chunk.mjs.map +1 -1
- package/fesm2022/_recycle-view-repeater-strategy-chunk.mjs.map +1 -1
- package/fesm2022/_scrolling-chunk.mjs.map +1 -1
- package/fesm2022/_selection-model-chunk.mjs.map +1 -1
- package/fesm2022/_shadow-dom-chunk.mjs.map +1 -1
- package/fesm2022/_style-loader-chunk.mjs +3 -3
- package/fesm2022/_style-loader-chunk.mjs.map +1 -1
- package/fesm2022/_test-environment-chunk.mjs.map +1 -1
- package/fesm2022/_tree-key-manager-chunk.mjs.map +1 -1
- package/fesm2022/_typeahead-chunk.mjs.map +1 -1
- package/fesm2022/_unique-selection-dispatcher-chunk.mjs +3 -3
- package/fesm2022/_unique-selection-dispatcher-chunk.mjs.map +1 -1
- package/fesm2022/a11y.mjs +9 -9
- package/fesm2022/a11y.mjs.map +1 -1
- package/fesm2022/accordion.mjs +10 -10
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/bidi.mjs +7 -7
- package/fesm2022/bidi.mjs.map +1 -1
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/clipboard.mjs +10 -10
- package/fesm2022/clipboard.mjs.map +1 -1
- package/fesm2022/coercion-private.mjs.map +1 -1
- package/fesm2022/coercion.mjs.map +1 -1
- package/fesm2022/dialog.mjs +11 -11
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/drag-drop.mjs +35 -35
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/keycodes.mjs.map +1 -1
- package/fesm2022/layout.mjs +4 -4
- package/fesm2022/layout.mjs.map +1 -1
- package/fesm2022/listbox.mjs +10 -10
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs +49 -49
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/observers-private.mjs +3 -3
- package/fesm2022/observers-private.mjs.map +1 -1
- package/fesm2022/observers.mjs +13 -13
- package/fesm2022/observers.mjs.map +1 -1
- package/fesm2022/overlay.mjs +3 -3
- package/fesm2022/overlay.mjs.map +1 -1
- package/fesm2022/platform.mjs +4 -4
- package/fesm2022/platform.mjs.map +1 -1
- package/fesm2022/portal.mjs +10 -10
- package/fesm2022/portal.mjs.map +1 -1
- package/fesm2022/private.mjs +3 -3
- package/fesm2022/private.mjs.map +1 -1
- package/fesm2022/scrolling.mjs +35 -35
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/stepper.mjs +22 -22
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +78 -78
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/testing-selenium-webdriver.mjs.map +1 -1
- package/fesm2022/testing-testbed.mjs.map +1 -1
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/text-field.mjs +16 -16
- package/fesm2022/text-field.mjs.map +1 -1
- package/fesm2022/tree.mjs +26 -26
- package/fesm2022/tree.mjs.map +1 -1
- package/package.json +1 -1
- package/schematics/ng-add/index.js +1 -1
package/fesm2022/drag-drop.mjs
CHANGED
|
@@ -239,7 +239,7 @@ const activeCapturingEventOptions$1 = {
|
|
|
239
239
|
class _ResetsLoader {
|
|
240
240
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
241
241
|
minVersion: "12.0.0",
|
|
242
|
-
version: "
|
|
242
|
+
version: "22.0.0-next.1",
|
|
243
243
|
ngImport: i0,
|
|
244
244
|
type: _ResetsLoader,
|
|
245
245
|
deps: [],
|
|
@@ -247,7 +247,7 @@ class _ResetsLoader {
|
|
|
247
247
|
});
|
|
248
248
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
249
249
|
minVersion: "14.0.0",
|
|
250
|
-
version: "
|
|
250
|
+
version: "22.0.0-next.1",
|
|
251
251
|
type: _ResetsLoader,
|
|
252
252
|
isStandalone: true,
|
|
253
253
|
selector: "ng-component",
|
|
@@ -266,7 +266,7 @@ class _ResetsLoader {
|
|
|
266
266
|
}
|
|
267
267
|
i0.ɵɵngDeclareClassMetadata({
|
|
268
268
|
minVersion: "12.0.0",
|
|
269
|
-
version: "
|
|
269
|
+
version: "22.0.0-next.1",
|
|
270
270
|
ngImport: i0,
|
|
271
271
|
type: _ResetsLoader,
|
|
272
272
|
decorators: [{
|
|
@@ -418,7 +418,7 @@ class DragDropRegistry {
|
|
|
418
418
|
}
|
|
419
419
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
420
420
|
minVersion: "12.0.0",
|
|
421
|
-
version: "
|
|
421
|
+
version: "22.0.0-next.1",
|
|
422
422
|
ngImport: i0,
|
|
423
423
|
type: DragDropRegistry,
|
|
424
424
|
deps: [],
|
|
@@ -426,7 +426,7 @@ class DragDropRegistry {
|
|
|
426
426
|
});
|
|
427
427
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
428
428
|
minVersion: "12.0.0",
|
|
429
|
-
version: "
|
|
429
|
+
version: "22.0.0-next.1",
|
|
430
430
|
ngImport: i0,
|
|
431
431
|
type: DragDropRegistry,
|
|
432
432
|
providedIn: 'root'
|
|
@@ -434,7 +434,7 @@ class DragDropRegistry {
|
|
|
434
434
|
}
|
|
435
435
|
i0.ɵɵngDeclareClassMetadata({
|
|
436
436
|
minVersion: "12.0.0",
|
|
437
|
-
version: "
|
|
437
|
+
version: "22.0.0-next.1",
|
|
438
438
|
ngImport: i0,
|
|
439
439
|
type: DragDropRegistry,
|
|
440
440
|
decorators: [{
|
|
@@ -1548,10 +1548,13 @@ class SingleAxisSortStrategy {
|
|
|
1548
1548
|
};
|
|
1549
1549
|
}
|
|
1550
1550
|
enter(item, pointerX, pointerY, index) {
|
|
1551
|
-
const newIndex = index == null || index < 0 ? this._getItemIndexFromPointerPosition(item, pointerX, pointerY) : index;
|
|
1552
1551
|
const activeDraggables = this._activeDraggables;
|
|
1553
1552
|
const currentIndex = activeDraggables.indexOf(item);
|
|
1554
1553
|
const placeholder = item.getPlaceholderElement();
|
|
1554
|
+
if (currentIndex > -1) {
|
|
1555
|
+
activeDraggables.splice(currentIndex, 1);
|
|
1556
|
+
}
|
|
1557
|
+
const newIndex = index == null || index < 0 ? this._getItemIndexFromPointerPosition(item, pointerX, pointerY) : index;
|
|
1555
1558
|
let newPositionReference = activeDraggables[newIndex];
|
|
1556
1559
|
if (newPositionReference === item) {
|
|
1557
1560
|
newPositionReference = activeDraggables[newIndex + 1];
|
|
@@ -1559,9 +1562,6 @@ class SingleAxisSortStrategy {
|
|
|
1559
1562
|
if (!newPositionReference && (newIndex == null || newIndex === -1 || newIndex < activeDraggables.length - 1) && this._shouldEnterAsFirstChild(pointerX, pointerY)) {
|
|
1560
1563
|
newPositionReference = activeDraggables[0];
|
|
1561
1564
|
}
|
|
1562
|
-
if (currentIndex > -1) {
|
|
1563
|
-
activeDraggables.splice(currentIndex, 1);
|
|
1564
|
-
}
|
|
1565
1565
|
if (newPositionReference && !this._dragDropRegistry.isDragging(newPositionReference)) {
|
|
1566
1566
|
const element = newPositionReference.getRootElement();
|
|
1567
1567
|
element.parentElement.insertBefore(placeholder, element);
|
|
@@ -2314,7 +2314,7 @@ class DragDrop {
|
|
|
2314
2314
|
}
|
|
2315
2315
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2316
2316
|
minVersion: "12.0.0",
|
|
2317
|
-
version: "
|
|
2317
|
+
version: "22.0.0-next.1",
|
|
2318
2318
|
ngImport: i0,
|
|
2319
2319
|
type: DragDrop,
|
|
2320
2320
|
deps: [],
|
|
@@ -2322,7 +2322,7 @@ class DragDrop {
|
|
|
2322
2322
|
});
|
|
2323
2323
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
2324
2324
|
minVersion: "12.0.0",
|
|
2325
|
-
version: "
|
|
2325
|
+
version: "22.0.0-next.1",
|
|
2326
2326
|
ngImport: i0,
|
|
2327
2327
|
type: DragDrop,
|
|
2328
2328
|
providedIn: 'root'
|
|
@@ -2330,7 +2330,7 @@ class DragDrop {
|
|
|
2330
2330
|
}
|
|
2331
2331
|
i0.ɵɵngDeclareClassMetadata({
|
|
2332
2332
|
minVersion: "12.0.0",
|
|
2333
|
-
version: "
|
|
2333
|
+
version: "22.0.0-next.1",
|
|
2334
2334
|
ngImport: i0,
|
|
2335
2335
|
type: DragDrop,
|
|
2336
2336
|
decorators: [{
|
|
@@ -2393,7 +2393,7 @@ class CdkDragHandle {
|
|
|
2393
2393
|
}
|
|
2394
2394
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2395
2395
|
minVersion: "12.0.0",
|
|
2396
|
-
version: "
|
|
2396
|
+
version: "22.0.0-next.1",
|
|
2397
2397
|
ngImport: i0,
|
|
2398
2398
|
type: CdkDragHandle,
|
|
2399
2399
|
deps: [],
|
|
@@ -2401,7 +2401,7 @@ class CdkDragHandle {
|
|
|
2401
2401
|
});
|
|
2402
2402
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
2403
2403
|
minVersion: "16.1.0",
|
|
2404
|
-
version: "
|
|
2404
|
+
version: "22.0.0-next.1",
|
|
2405
2405
|
type: CdkDragHandle,
|
|
2406
2406
|
isStandalone: true,
|
|
2407
2407
|
selector: "[cdkDragHandle]",
|
|
@@ -2420,7 +2420,7 @@ class CdkDragHandle {
|
|
|
2420
2420
|
}
|
|
2421
2421
|
i0.ɵɵngDeclareClassMetadata({
|
|
2422
2422
|
minVersion: "12.0.0",
|
|
2423
|
-
version: "
|
|
2423
|
+
version: "22.0.0-next.1",
|
|
2424
2424
|
ngImport: i0,
|
|
2425
2425
|
type: CdkDragHandle,
|
|
2426
2426
|
decorators: [{
|
|
@@ -2782,7 +2782,7 @@ class CdkDrag {
|
|
|
2782
2782
|
}
|
|
2783
2783
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2784
2784
|
minVersion: "12.0.0",
|
|
2785
|
-
version: "
|
|
2785
|
+
version: "22.0.0-next.1",
|
|
2786
2786
|
ngImport: i0,
|
|
2787
2787
|
type: CdkDrag,
|
|
2788
2788
|
deps: [],
|
|
@@ -2790,7 +2790,7 @@ class CdkDrag {
|
|
|
2790
2790
|
});
|
|
2791
2791
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
2792
2792
|
minVersion: "16.1.0",
|
|
2793
|
-
version: "
|
|
2793
|
+
version: "22.0.0-next.1",
|
|
2794
2794
|
type: CdkDrag,
|
|
2795
2795
|
isStandalone: true,
|
|
2796
2796
|
selector: "[cdkDrag]",
|
|
@@ -2834,7 +2834,7 @@ class CdkDrag {
|
|
|
2834
2834
|
}
|
|
2835
2835
|
i0.ɵɵngDeclareClassMetadata({
|
|
2836
2836
|
minVersion: "12.0.0",
|
|
2837
|
-
version: "
|
|
2837
|
+
version: "22.0.0-next.1",
|
|
2838
2838
|
ngImport: i0,
|
|
2839
2839
|
type: CdkDrag,
|
|
2840
2840
|
decorators: [{
|
|
@@ -2945,7 +2945,7 @@ class CdkDropListGroup {
|
|
|
2945
2945
|
}
|
|
2946
2946
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2947
2947
|
minVersion: "12.0.0",
|
|
2948
|
-
version: "
|
|
2948
|
+
version: "22.0.0-next.1",
|
|
2949
2949
|
ngImport: i0,
|
|
2950
2950
|
type: CdkDropListGroup,
|
|
2951
2951
|
deps: [],
|
|
@@ -2953,7 +2953,7 @@ class CdkDropListGroup {
|
|
|
2953
2953
|
});
|
|
2954
2954
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
2955
2955
|
minVersion: "16.1.0",
|
|
2956
|
-
version: "
|
|
2956
|
+
version: "22.0.0-next.1",
|
|
2957
2957
|
type: CdkDropListGroup,
|
|
2958
2958
|
isStandalone: true,
|
|
2959
2959
|
selector: "[cdkDropListGroup]",
|
|
@@ -2970,7 +2970,7 @@ class CdkDropListGroup {
|
|
|
2970
2970
|
}
|
|
2971
2971
|
i0.ɵɵngDeclareClassMetadata({
|
|
2972
2972
|
minVersion: "12.0.0",
|
|
2973
|
-
version: "
|
|
2973
|
+
version: "22.0.0-next.1",
|
|
2974
2974
|
ngImport: i0,
|
|
2975
2975
|
type: CdkDropListGroup,
|
|
2976
2976
|
decorators: [{
|
|
@@ -3204,7 +3204,7 @@ class CdkDropList {
|
|
|
3204
3204
|
}
|
|
3205
3205
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3206
3206
|
minVersion: "12.0.0",
|
|
3207
|
-
version: "
|
|
3207
|
+
version: "22.0.0-next.1",
|
|
3208
3208
|
ngImport: i0,
|
|
3209
3209
|
type: CdkDropList,
|
|
3210
3210
|
deps: [],
|
|
@@ -3212,7 +3212,7 @@ class CdkDropList {
|
|
|
3212
3212
|
});
|
|
3213
3213
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
3214
3214
|
minVersion: "16.1.0",
|
|
3215
|
-
version: "
|
|
3215
|
+
version: "22.0.0-next.1",
|
|
3216
3216
|
type: CdkDropList,
|
|
3217
3217
|
isStandalone: true,
|
|
3218
3218
|
selector: "[cdkDropList], cdk-drop-list",
|
|
@@ -3259,7 +3259,7 @@ class CdkDropList {
|
|
|
3259
3259
|
}
|
|
3260
3260
|
i0.ɵɵngDeclareClassMetadata({
|
|
3261
3261
|
minVersion: "12.0.0",
|
|
3262
|
-
version: "
|
|
3262
|
+
version: "22.0.0-next.1",
|
|
3263
3263
|
ngImport: i0,
|
|
3264
3264
|
type: CdkDropList,
|
|
3265
3265
|
decorators: [{
|
|
@@ -3383,7 +3383,7 @@ class CdkDragPreview {
|
|
|
3383
3383
|
}
|
|
3384
3384
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3385
3385
|
minVersion: "12.0.0",
|
|
3386
|
-
version: "
|
|
3386
|
+
version: "22.0.0-next.1",
|
|
3387
3387
|
ngImport: i0,
|
|
3388
3388
|
type: CdkDragPreview,
|
|
3389
3389
|
deps: [],
|
|
@@ -3391,7 +3391,7 @@ class CdkDragPreview {
|
|
|
3391
3391
|
});
|
|
3392
3392
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
3393
3393
|
minVersion: "16.1.0",
|
|
3394
|
-
version: "
|
|
3394
|
+
version: "22.0.0-next.1",
|
|
3395
3395
|
type: CdkDragPreview,
|
|
3396
3396
|
isStandalone: true,
|
|
3397
3397
|
selector: "ng-template[cdkDragPreview]",
|
|
@@ -3408,7 +3408,7 @@ class CdkDragPreview {
|
|
|
3408
3408
|
}
|
|
3409
3409
|
i0.ɵɵngDeclareClassMetadata({
|
|
3410
3410
|
minVersion: "12.0.0",
|
|
3411
|
-
version: "
|
|
3411
|
+
version: "22.0.0-next.1",
|
|
3412
3412
|
ngImport: i0,
|
|
3413
3413
|
type: CdkDragPreview,
|
|
3414
3414
|
decorators: [{
|
|
@@ -3450,7 +3450,7 @@ class CdkDragPlaceholder {
|
|
|
3450
3450
|
}
|
|
3451
3451
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3452
3452
|
minVersion: "12.0.0",
|
|
3453
|
-
version: "
|
|
3453
|
+
version: "22.0.0-next.1",
|
|
3454
3454
|
ngImport: i0,
|
|
3455
3455
|
type: CdkDragPlaceholder,
|
|
3456
3456
|
deps: [],
|
|
@@ -3458,7 +3458,7 @@ class CdkDragPlaceholder {
|
|
|
3458
3458
|
});
|
|
3459
3459
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
3460
3460
|
minVersion: "14.0.0",
|
|
3461
|
-
version: "
|
|
3461
|
+
version: "22.0.0-next.1",
|
|
3462
3462
|
type: CdkDragPlaceholder,
|
|
3463
3463
|
isStandalone: true,
|
|
3464
3464
|
selector: "ng-template[cdkDragPlaceholder]",
|
|
@@ -3474,7 +3474,7 @@ class CdkDragPlaceholder {
|
|
|
3474
3474
|
}
|
|
3475
3475
|
i0.ɵɵngDeclareClassMetadata({
|
|
3476
3476
|
minVersion: "12.0.0",
|
|
3477
|
-
version: "
|
|
3477
|
+
version: "22.0.0-next.1",
|
|
3478
3478
|
ngImport: i0,
|
|
3479
3479
|
type: CdkDragPlaceholder,
|
|
3480
3480
|
decorators: [{
|
|
@@ -3499,7 +3499,7 @@ const DRAG_DROP_DIRECTIVES = [CdkDropList, CdkDropListGroup, CdkDrag, CdkDragHan
|
|
|
3499
3499
|
class DragDropModule {
|
|
3500
3500
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3501
3501
|
minVersion: "12.0.0",
|
|
3502
|
-
version: "
|
|
3502
|
+
version: "22.0.0-next.1",
|
|
3503
3503
|
ngImport: i0,
|
|
3504
3504
|
type: DragDropModule,
|
|
3505
3505
|
deps: [],
|
|
@@ -3507,7 +3507,7 @@ class DragDropModule {
|
|
|
3507
3507
|
});
|
|
3508
3508
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
3509
3509
|
minVersion: "14.0.0",
|
|
3510
|
-
version: "
|
|
3510
|
+
version: "22.0.0-next.1",
|
|
3511
3511
|
ngImport: i0,
|
|
3512
3512
|
type: DragDropModule,
|
|
3513
3513
|
imports: [CdkDropList, CdkDropListGroup, CdkDrag, CdkDragHandle, CdkDragPreview, CdkDragPlaceholder],
|
|
@@ -3515,7 +3515,7 @@ class DragDropModule {
|
|
|
3515
3515
|
});
|
|
3516
3516
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
3517
3517
|
minVersion: "12.0.0",
|
|
3518
|
-
version: "
|
|
3518
|
+
version: "22.0.0-next.1",
|
|
3519
3519
|
ngImport: i0,
|
|
3520
3520
|
type: DragDropModule,
|
|
3521
3521
|
providers: [DragDrop],
|
|
@@ -3524,7 +3524,7 @@ class DragDropModule {
|
|
|
3524
3524
|
}
|
|
3525
3525
|
i0.ɵɵngDeclareClassMetadata({
|
|
3526
3526
|
minVersion: "12.0.0",
|
|
3527
|
-
version: "
|
|
3527
|
+
version: "22.0.0-next.1",
|
|
3528
3528
|
ngImport: i0,
|
|
3529
3529
|
type: DragDropModule,
|
|
3530
3530
|
decorators: [{
|