@angular/cdk 22.0.0-next.7 → 22.0.0-rc.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.
- package/fesm2022/_a11y-module-chunk.mjs +25 -29
- package/fesm2022/_a11y-module-chunk.mjs.map +1 -1
- package/fesm2022/_breakpoints-observer-chunk.mjs +6 -6
- package/fesm2022/_directionality-chunk.mjs +3 -3
- package/fesm2022/_focus-monitor-chunk.mjs +9 -9
- package/fesm2022/_id-generator-chunk.mjs +3 -3
- package/fesm2022/_overlay-module-chunk.mjs +35 -37
- package/fesm2022/_overlay-module-chunk.mjs.map +1 -1
- package/fesm2022/_platform-chunk.mjs +3 -3
- package/fesm2022/_style-loader-chunk.mjs +3 -3
- package/fesm2022/_unique-selection-dispatcher-chunk.mjs +3 -3
- package/fesm2022/a11y.mjs +11 -20
- 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/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/clipboard.mjs +10 -10
- package/fesm2022/dialog.mjs +10 -10
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/drag-drop.mjs +33 -35
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/layout.mjs +4 -4
- package/fesm2022/listbox.mjs +10 -10
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs +50 -50
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/observers-private.mjs +3 -3
- package/fesm2022/observers.mjs +13 -13
- package/fesm2022/observers.mjs.map +1 -1
- package/fesm2022/overlay.mjs +3 -3
- package/fesm2022/platform.mjs +4 -4
- package/fesm2022/portal.mjs +19 -14
- package/fesm2022/portal.mjs.map +1 -1
- package/fesm2022/private.mjs +4 -6
- package/fesm2022/private.mjs.map +1 -1
- package/fesm2022/scrolling.mjs +36 -38
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/stepper.mjs +24 -26
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +73 -73
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/text-field.mjs +17 -19
- package/fesm2022/text-field.mjs.map +1 -1
- package/fesm2022/tree.mjs +25 -25
- package/fesm2022/tree.mjs.map +1 -1
- package/package.json +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/types/_a11y-module-chunk.d.ts +2 -5
- package/types/_portal-directives-chunk.d.ts +6 -2
- package/types/a11y.d.ts +2 -25
- package/types/drag-drop.d.ts +1 -3
- package/types/menu.d.ts +1 -1
package/fesm2022/drag-drop.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, NgZone, DOCUMENT, RendererFactory2, signal,
|
|
2
|
+
import { inject, NgZone, DOCUMENT, RendererFactory2, signal, ViewEncapsulation, Component, Service, Renderer2, Injector, InjectionToken, ElementRef, booleanAttribute, Input, Directive, ViewContainerRef, ChangeDetectorRef, EventEmitter, afterNextRender, numberAttribute, Output, TemplateRef, NgModule } from '@angular/core';
|
|
3
3
|
import { Subject, Observable, merge, Subscription, interval, animationFrameScheduler, BehaviorSubject } from 'rxjs';
|
|
4
4
|
import { _CdkPrivateStyleLoader } from './_style-loader-chunk.mjs';
|
|
5
5
|
import { takeUntil, map, take, tap, switchMap, startWith } from 'rxjs/operators';
|
|
@@ -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: "22.0.0-next.
|
|
242
|
+
version: "22.0.0-next.12",
|
|
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: "22.0.0-next.
|
|
250
|
+
version: "22.0.0-next.12",
|
|
251
251
|
type: _ResetsLoader,
|
|
252
252
|
isStandalone: true,
|
|
253
253
|
selector: "ng-component",
|
|
@@ -260,13 +260,12 @@ class _ResetsLoader {
|
|
|
260
260
|
template: '',
|
|
261
261
|
isInline: true,
|
|
262
262
|
styles: ["@layer cdk-resets {\n .cdk-drag-preview {\n background: none;\n border: none;\n padding: 0;\n color: inherit;\n inset: auto;\n }\n}\n.cdk-drag-placeholder *,\n.cdk-drag-preview * {\n pointer-events: none !important;\n}\n"],
|
|
263
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
264
263
|
encapsulation: i0.ViewEncapsulation.None
|
|
265
264
|
});
|
|
266
265
|
}
|
|
267
266
|
i0.ɵɵngDeclareClassMetadata({
|
|
268
267
|
minVersion: "12.0.0",
|
|
269
|
-
version: "22.0.0-next.
|
|
268
|
+
version: "22.0.0-next.12",
|
|
270
269
|
ngImport: i0,
|
|
271
270
|
type: _ResetsLoader,
|
|
272
271
|
decorators: [{
|
|
@@ -274,7 +273,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
274
273
|
args: [{
|
|
275
274
|
encapsulation: ViewEncapsulation.None,
|
|
276
275
|
template: '',
|
|
277
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
278
276
|
host: {
|
|
279
277
|
'cdk-drag-resets-container': ''
|
|
280
278
|
},
|
|
@@ -417,7 +415,7 @@ class DragDropRegistry {
|
|
|
417
415
|
}
|
|
418
416
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
419
417
|
minVersion: "12.0.0",
|
|
420
|
-
version: "22.0.0-next.
|
|
418
|
+
version: "22.0.0-next.12",
|
|
421
419
|
ngImport: i0,
|
|
422
420
|
type: DragDropRegistry,
|
|
423
421
|
deps: [],
|
|
@@ -425,14 +423,14 @@ class DragDropRegistry {
|
|
|
425
423
|
});
|
|
426
424
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
427
425
|
minVersion: "22.0.0",
|
|
428
|
-
version: "22.0.0-next.
|
|
426
|
+
version: "22.0.0-next.12",
|
|
429
427
|
ngImport: i0,
|
|
430
428
|
type: DragDropRegistry
|
|
431
429
|
});
|
|
432
430
|
}
|
|
433
431
|
i0.ɵɵngDeclareClassMetadata({
|
|
434
432
|
minVersion: "12.0.0",
|
|
435
|
-
version: "22.0.0-next.
|
|
433
|
+
version: "22.0.0-next.12",
|
|
436
434
|
ngImport: i0,
|
|
437
435
|
type: DragDropRegistry,
|
|
438
436
|
decorators: [{
|
|
@@ -1963,7 +1961,7 @@ class DropListRef {
|
|
|
1963
1961
|
container: this
|
|
1964
1962
|
});
|
|
1965
1963
|
}
|
|
1966
|
-
drop(item, currentIndex, previousIndex, previousContainer, isPointerOverContainer, distance, dropPoint, event
|
|
1964
|
+
drop(item, currentIndex, previousIndex, previousContainer, isPointerOverContainer, distance, dropPoint, event) {
|
|
1967
1965
|
this._reset();
|
|
1968
1966
|
this.dropped.next({
|
|
1969
1967
|
item,
|
|
@@ -2307,7 +2305,7 @@ class DragDrop {
|
|
|
2307
2305
|
}
|
|
2308
2306
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2309
2307
|
minVersion: "12.0.0",
|
|
2310
|
-
version: "22.0.0-next.
|
|
2308
|
+
version: "22.0.0-next.12",
|
|
2311
2309
|
ngImport: i0,
|
|
2312
2310
|
type: DragDrop,
|
|
2313
2311
|
deps: [],
|
|
@@ -2315,14 +2313,14 @@ class DragDrop {
|
|
|
2315
2313
|
});
|
|
2316
2314
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
2317
2315
|
minVersion: "22.0.0",
|
|
2318
|
-
version: "22.0.0-next.
|
|
2316
|
+
version: "22.0.0-next.12",
|
|
2319
2317
|
ngImport: i0,
|
|
2320
2318
|
type: DragDrop
|
|
2321
2319
|
});
|
|
2322
2320
|
}
|
|
2323
2321
|
i0.ɵɵngDeclareClassMetadata({
|
|
2324
2322
|
minVersion: "12.0.0",
|
|
2325
|
-
version: "22.0.0-next.
|
|
2323
|
+
version: "22.0.0-next.12",
|
|
2326
2324
|
ngImport: i0,
|
|
2327
2325
|
type: DragDrop,
|
|
2328
2326
|
decorators: [{
|
|
@@ -2381,7 +2379,7 @@ class CdkDragHandle {
|
|
|
2381
2379
|
}
|
|
2382
2380
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2383
2381
|
minVersion: "12.0.0",
|
|
2384
|
-
version: "22.0.0-next.
|
|
2382
|
+
version: "22.0.0-next.12",
|
|
2385
2383
|
ngImport: i0,
|
|
2386
2384
|
type: CdkDragHandle,
|
|
2387
2385
|
deps: [],
|
|
@@ -2389,7 +2387,7 @@ class CdkDragHandle {
|
|
|
2389
2387
|
});
|
|
2390
2388
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
2391
2389
|
minVersion: "16.1.0",
|
|
2392
|
-
version: "22.0.0-next.
|
|
2390
|
+
version: "22.0.0-next.12",
|
|
2393
2391
|
type: CdkDragHandle,
|
|
2394
2392
|
isStandalone: true,
|
|
2395
2393
|
selector: "[cdkDragHandle]",
|
|
@@ -2408,7 +2406,7 @@ class CdkDragHandle {
|
|
|
2408
2406
|
}
|
|
2409
2407
|
i0.ɵɵngDeclareClassMetadata({
|
|
2410
2408
|
minVersion: "12.0.0",
|
|
2411
|
-
version: "22.0.0-next.
|
|
2409
|
+
version: "22.0.0-next.12",
|
|
2412
2410
|
ngImport: i0,
|
|
2413
2411
|
type: CdkDragHandle,
|
|
2414
2412
|
decorators: [{
|
|
@@ -2770,7 +2768,7 @@ class CdkDrag {
|
|
|
2770
2768
|
}
|
|
2771
2769
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2772
2770
|
minVersion: "12.0.0",
|
|
2773
|
-
version: "22.0.0-next.
|
|
2771
|
+
version: "22.0.0-next.12",
|
|
2774
2772
|
ngImport: i0,
|
|
2775
2773
|
type: CdkDrag,
|
|
2776
2774
|
deps: [],
|
|
@@ -2778,7 +2776,7 @@ class CdkDrag {
|
|
|
2778
2776
|
});
|
|
2779
2777
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
2780
2778
|
minVersion: "16.1.0",
|
|
2781
|
-
version: "22.0.0-next.
|
|
2779
|
+
version: "22.0.0-next.12",
|
|
2782
2780
|
type: CdkDrag,
|
|
2783
2781
|
isStandalone: true,
|
|
2784
2782
|
selector: "[cdkDrag]",
|
|
@@ -2822,7 +2820,7 @@ class CdkDrag {
|
|
|
2822
2820
|
}
|
|
2823
2821
|
i0.ɵɵngDeclareClassMetadata({
|
|
2824
2822
|
minVersion: "12.0.0",
|
|
2825
|
-
version: "22.0.0-next.
|
|
2823
|
+
version: "22.0.0-next.12",
|
|
2826
2824
|
ngImport: i0,
|
|
2827
2825
|
type: CdkDrag,
|
|
2828
2826
|
decorators: [{
|
|
@@ -2933,7 +2931,7 @@ class CdkDropListGroup {
|
|
|
2933
2931
|
}
|
|
2934
2932
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2935
2933
|
minVersion: "12.0.0",
|
|
2936
|
-
version: "22.0.0-next.
|
|
2934
|
+
version: "22.0.0-next.12",
|
|
2937
2935
|
ngImport: i0,
|
|
2938
2936
|
type: CdkDropListGroup,
|
|
2939
2937
|
deps: [],
|
|
@@ -2941,7 +2939,7 @@ class CdkDropListGroup {
|
|
|
2941
2939
|
});
|
|
2942
2940
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
2943
2941
|
minVersion: "16.1.0",
|
|
2944
|
-
version: "22.0.0-next.
|
|
2942
|
+
version: "22.0.0-next.12",
|
|
2945
2943
|
type: CdkDropListGroup,
|
|
2946
2944
|
isStandalone: true,
|
|
2947
2945
|
selector: "[cdkDropListGroup]",
|
|
@@ -2958,7 +2956,7 @@ class CdkDropListGroup {
|
|
|
2958
2956
|
}
|
|
2959
2957
|
i0.ɵɵngDeclareClassMetadata({
|
|
2960
2958
|
minVersion: "12.0.0",
|
|
2961
|
-
version: "22.0.0-next.
|
|
2959
|
+
version: "22.0.0-next.12",
|
|
2962
2960
|
ngImport: i0,
|
|
2963
2961
|
type: CdkDropListGroup,
|
|
2964
2962
|
decorators: [{
|
|
@@ -3192,7 +3190,7 @@ class CdkDropList {
|
|
|
3192
3190
|
}
|
|
3193
3191
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3194
3192
|
minVersion: "12.0.0",
|
|
3195
|
-
version: "22.0.0-next.
|
|
3193
|
+
version: "22.0.0-next.12",
|
|
3196
3194
|
ngImport: i0,
|
|
3197
3195
|
type: CdkDropList,
|
|
3198
3196
|
deps: [],
|
|
@@ -3200,7 +3198,7 @@ class CdkDropList {
|
|
|
3200
3198
|
});
|
|
3201
3199
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
3202
3200
|
minVersion: "16.1.0",
|
|
3203
|
-
version: "22.0.0-next.
|
|
3201
|
+
version: "22.0.0-next.12",
|
|
3204
3202
|
type: CdkDropList,
|
|
3205
3203
|
isStandalone: true,
|
|
3206
3204
|
selector: "[cdkDropList], cdk-drop-list",
|
|
@@ -3247,7 +3245,7 @@ class CdkDropList {
|
|
|
3247
3245
|
}
|
|
3248
3246
|
i0.ɵɵngDeclareClassMetadata({
|
|
3249
3247
|
minVersion: "12.0.0",
|
|
3250
|
-
version: "22.0.0-next.
|
|
3248
|
+
version: "22.0.0-next.12",
|
|
3251
3249
|
ngImport: i0,
|
|
3252
3250
|
type: CdkDropList,
|
|
3253
3251
|
decorators: [{
|
|
@@ -3371,7 +3369,7 @@ class CdkDragPreview {
|
|
|
3371
3369
|
}
|
|
3372
3370
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3373
3371
|
minVersion: "12.0.0",
|
|
3374
|
-
version: "22.0.0-next.
|
|
3372
|
+
version: "22.0.0-next.12",
|
|
3375
3373
|
ngImport: i0,
|
|
3376
3374
|
type: CdkDragPreview,
|
|
3377
3375
|
deps: [],
|
|
@@ -3379,7 +3377,7 @@ class CdkDragPreview {
|
|
|
3379
3377
|
});
|
|
3380
3378
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
3381
3379
|
minVersion: "16.1.0",
|
|
3382
|
-
version: "22.0.0-next.
|
|
3380
|
+
version: "22.0.0-next.12",
|
|
3383
3381
|
type: CdkDragPreview,
|
|
3384
3382
|
isStandalone: true,
|
|
3385
3383
|
selector: "ng-template[cdkDragPreview]",
|
|
@@ -3396,7 +3394,7 @@ class CdkDragPreview {
|
|
|
3396
3394
|
}
|
|
3397
3395
|
i0.ɵɵngDeclareClassMetadata({
|
|
3398
3396
|
minVersion: "12.0.0",
|
|
3399
|
-
version: "22.0.0-next.
|
|
3397
|
+
version: "22.0.0-next.12",
|
|
3400
3398
|
ngImport: i0,
|
|
3401
3399
|
type: CdkDragPreview,
|
|
3402
3400
|
decorators: [{
|
|
@@ -3438,7 +3436,7 @@ class CdkDragPlaceholder {
|
|
|
3438
3436
|
}
|
|
3439
3437
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3440
3438
|
minVersion: "12.0.0",
|
|
3441
|
-
version: "22.0.0-next.
|
|
3439
|
+
version: "22.0.0-next.12",
|
|
3442
3440
|
ngImport: i0,
|
|
3443
3441
|
type: CdkDragPlaceholder,
|
|
3444
3442
|
deps: [],
|
|
@@ -3446,7 +3444,7 @@ class CdkDragPlaceholder {
|
|
|
3446
3444
|
});
|
|
3447
3445
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
3448
3446
|
minVersion: "14.0.0",
|
|
3449
|
-
version: "22.0.0-next.
|
|
3447
|
+
version: "22.0.0-next.12",
|
|
3450
3448
|
type: CdkDragPlaceholder,
|
|
3451
3449
|
isStandalone: true,
|
|
3452
3450
|
selector: "ng-template[cdkDragPlaceholder]",
|
|
@@ -3462,7 +3460,7 @@ class CdkDragPlaceholder {
|
|
|
3462
3460
|
}
|
|
3463
3461
|
i0.ɵɵngDeclareClassMetadata({
|
|
3464
3462
|
minVersion: "12.0.0",
|
|
3465
|
-
version: "22.0.0-next.
|
|
3463
|
+
version: "22.0.0-next.12",
|
|
3466
3464
|
ngImport: i0,
|
|
3467
3465
|
type: CdkDragPlaceholder,
|
|
3468
3466
|
decorators: [{
|
|
@@ -3487,7 +3485,7 @@ const DRAG_DROP_DIRECTIVES = [CdkDropList, CdkDropListGroup, CdkDrag, CdkDragHan
|
|
|
3487
3485
|
class DragDropModule {
|
|
3488
3486
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3489
3487
|
minVersion: "12.0.0",
|
|
3490
|
-
version: "22.0.0-next.
|
|
3488
|
+
version: "22.0.0-next.12",
|
|
3491
3489
|
ngImport: i0,
|
|
3492
3490
|
type: DragDropModule,
|
|
3493
3491
|
deps: [],
|
|
@@ -3495,7 +3493,7 @@ class DragDropModule {
|
|
|
3495
3493
|
});
|
|
3496
3494
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
3497
3495
|
minVersion: "14.0.0",
|
|
3498
|
-
version: "22.0.0-next.
|
|
3496
|
+
version: "22.0.0-next.12",
|
|
3499
3497
|
ngImport: i0,
|
|
3500
3498
|
type: DragDropModule,
|
|
3501
3499
|
imports: [CdkDropList, CdkDropListGroup, CdkDrag, CdkDragHandle, CdkDragPreview, CdkDragPlaceholder],
|
|
@@ -3503,7 +3501,7 @@ class DragDropModule {
|
|
|
3503
3501
|
});
|
|
3504
3502
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
3505
3503
|
minVersion: "12.0.0",
|
|
3506
|
-
version: "22.0.0-next.
|
|
3504
|
+
version: "22.0.0-next.12",
|
|
3507
3505
|
ngImport: i0,
|
|
3508
3506
|
type: DragDropModule,
|
|
3509
3507
|
providers: [DragDrop],
|
|
@@ -3512,7 +3510,7 @@ class DragDropModule {
|
|
|
3512
3510
|
}
|
|
3513
3511
|
i0.ɵɵngDeclareClassMetadata({
|
|
3514
3512
|
minVersion: "12.0.0",
|
|
3515
|
-
version: "22.0.0-next.
|
|
3513
|
+
version: "22.0.0-next.12",
|
|
3516
3514
|
ngImport: i0,
|
|
3517
3515
|
type: DragDropModule,
|
|
3518
3516
|
decorators: [{
|