@angular/cdk-experimental 16.0.0-next.4 → 16.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/combobox/index.d.ts +2 -2
- package/{esm2020 → esm2022}/column-resize/column-resize-directives/column-resize-flex.mjs +4 -4
- package/{esm2020 → esm2022}/column-resize/column-resize-directives/column-resize.mjs +4 -4
- package/{esm2020 → esm2022}/column-resize/column-resize-directives/default-enabled-column-resize-flex.mjs +7 -7
- package/{esm2020 → esm2022}/column-resize/column-resize-directives/default-enabled-column-resize.mjs +7 -7
- package/{esm2020 → esm2022}/column-resize/column-resize-module.mjs +9 -9
- package/{esm2020 → esm2022}/column-resize/column-resize-notifier.mjs +7 -7
- package/{esm2020 → esm2022}/column-resize/column-resize.mjs +4 -4
- package/{esm2020 → esm2022}/column-resize/column-size-store.mjs +4 -4
- package/{esm2020 → esm2022}/column-resize/event-dispatcher.mjs +4 -4
- package/{esm2020 → esm2022}/column-resize/overlay-handle.mjs +4 -4
- package/{esm2020 → esm2022}/column-resize/resizable.mjs +4 -4
- package/{esm2020 → esm2022}/column-resize/resize-strategy.mjs +10 -10
- package/{esm2020 → esm2022}/combobox/combobox-module.mjs +5 -5
- package/{esm2020 → esm2022}/combobox/combobox-popup.mjs +4 -4
- package/{esm2020 → esm2022}/combobox/combobox.mjs +4 -4
- package/{esm2020 → esm2022}/popover-edit/edit-event-dispatcher.mjs +4 -4
- package/{esm2020 → esm2022}/popover-edit/edit-ref.mjs +4 -4
- package/{esm2020 → esm2022}/popover-edit/edit-services.mjs +4 -4
- package/{esm2020 → esm2022}/popover-edit/focus-dispatcher.mjs +4 -4
- package/{esm2020 → esm2022}/popover-edit/focus-escape-notifier.mjs +4 -4
- package/{esm2020 → esm2022}/popover-edit/lens-directives.mjs +10 -10
- package/esm2022/popover-edit/popover-edit-module.mjs +63 -0
- package/{esm2020 → esm2022}/popover-edit/popover-edit-position-strategy-factory.mjs +7 -7
- package/esm2022/popover-edit/table-directives.mjs +400 -0
- package/{esm2020 → esm2022}/scrolling/auto-size-virtual-scroll.mjs +10 -10
- package/{esm2020 → esm2022}/scrolling/scrolling-module.mjs +5 -5
- package/esm2022/selection/row-selection.mjs +52 -0
- package/esm2022/selection/select-all.mjs +101 -0
- package/{esm2020 → esm2022}/selection/selection-column.mjs +6 -6
- package/{esm2020 → esm2022}/selection/selection-module.mjs +9 -9
- package/esm2022/selection/selection-toggle.mjs +101 -0
- package/{esm2020 → esm2022}/selection/selection.mjs +4 -4
- package/{esm2020 → esm2022}/table-scroll-container/table-scroll-container-module.mjs +5 -5
- package/{esm2020 → esm2022}/table-scroll-container/table-scroll-container.mjs +4 -4
- package/{esm2020 → esm2022}/version.mjs +1 -1
- package/fesm2022/cdk-experimental.mjs +7 -0
- package/fesm2022/cdk-experimental.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/column-resize.mjs +56 -177
- package/fesm2022/column-resize.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/combobox.mjs +10 -47
- package/fesm2022/combobox.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/popover-edit.mjs +70 -164
- package/fesm2022/popover-edit.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/scrolling.mjs +13 -43
- package/fesm2022/scrolling.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/selection.mjs +30 -103
- package/fesm2022/selection.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/table-scroll-container.mjs +7 -37
- package/fesm2022/table-scroll-container.mjs.map +1 -0
- package/package.json +24 -42
- package/popover-edit/index.d.ts +4 -4
- package/scrolling/index.d.ts +1 -1
- package/selection/index.d.ts +4 -4
- package/esm2020/popover-edit/popover-edit-module.mjs +0 -63
- package/esm2020/popover-edit/table-directives.mjs +0 -401
- package/esm2020/selection/row-selection.mjs +0 -50
- package/esm2020/selection/select-all.mjs +0 -110
- package/esm2020/selection/selection-toggle.mjs +0 -102
- package/fesm2015/cdk-experimental.mjs +0 -30
- package/fesm2015/cdk-experimental.mjs.map +0 -1
- package/fesm2015/column-resize.mjs +0 -1028
- package/fesm2015/column-resize.mjs.map +0 -1
- package/fesm2015/combobox.mjs +0 -396
- package/fesm2015/combobox.mjs.map +0 -1
- package/fesm2015/popover-edit.mjs +0 -1230
- package/fesm2015/popover-edit.mjs.map +0 -1
- package/fesm2015/scrolling.mjs +0 -464
- package/fesm2015/scrolling.mjs.map +0 -1
- package/fesm2015/selection.mjs +0 -693
- package/fesm2015/selection.mjs.map +0 -1
- package/fesm2015/table-scroll-container.mjs +0 -177
- package/fesm2015/table-scroll-container.mjs.map +0 -1
- package/fesm2020/cdk-experimental.mjs +0 -30
- package/fesm2020/cdk-experimental.mjs.map +0 -1
- package/fesm2020/column-resize.mjs.map +0 -1
- package/fesm2020/combobox.mjs.map +0 -1
- package/fesm2020/popover-edit.mjs.map +0 -1
- package/fesm2020/scrolling.mjs.map +0 -1
- package/fesm2020/selection.mjs.map +0 -1
- package/fesm2020/table-scroll-container.mjs.map +0 -1
- /package/{esm2020 → esm2022}/column-resize/column-resize-directives/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/column-resize/column-resize_public_index.mjs +0 -0
- /package/{esm2020 → esm2022}/column-resize/index.mjs +0 -0
- /package/{esm2020 → esm2022}/column-resize/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/column-resize/resize-ref.mjs +0 -0
- /package/{esm2020 → esm2022}/column-resize/selectors.mjs +0 -0
- /package/{esm2020 → esm2022}/combobox/combobox_public_index.mjs +0 -0
- /package/{esm2020 → esm2022}/combobox/index.mjs +0 -0
- /package/{esm2020 → esm2022}/combobox/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/popover-edit/constants.mjs +0 -0
- /package/{esm2020 → esm2022}/popover-edit/form-value-container.mjs +0 -0
- /package/{esm2020 → esm2022}/popover-edit/index.mjs +0 -0
- /package/{esm2020 → esm2022}/popover-edit/polyfill.mjs +0 -0
- /package/{esm2020 → esm2022}/popover-edit/popover-edit_public_index.mjs +0 -0
- /package/{esm2020 → esm2022}/popover-edit/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/scrolling/index.mjs +0 -0
- /package/{esm2020 → esm2022}/scrolling/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/scrolling/scrolling_public_index.mjs +0 -0
- /package/{esm2020 → esm2022}/selection/index.mjs +0 -0
- /package/{esm2020 → esm2022}/selection/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/selection/selection-set.mjs +0 -0
- /package/{esm2020 → esm2022}/selection/selection_public_index.mjs +0 -0
- /package/{esm2020 → esm2022}/table-scroll-container/index.mjs +0 -0
- /package/{esm2020 → esm2022}/table-scroll-container/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/table-scroll-container/table-scroll-container_public_index.mjs +0 -0
|
@@ -10,13 +10,6 @@ import { CdkTable, CdkColumnDef, CdkCellDef, CdkHeaderCellDef, CdkTableModule }
|
|
|
10
10
|
import * as i1 from '@angular/common';
|
|
11
11
|
import { CommonModule } from '@angular/common';
|
|
12
12
|
|
|
13
|
-
/**
|
|
14
|
-
* @license
|
|
15
|
-
* Copyright Google LLC All Rights Reserved.
|
|
16
|
-
*
|
|
17
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
18
|
-
* found in the LICENSE file at https://angular.io/license
|
|
19
|
-
*/
|
|
20
13
|
/**
|
|
21
14
|
* Maintains a set of selected items. Support selecting and deselecting items, and checking if a
|
|
22
15
|
* value is selected.
|
|
@@ -89,13 +82,6 @@ class SelectionSet {
|
|
|
89
82
|
}
|
|
90
83
|
}
|
|
91
84
|
|
|
92
|
-
/**
|
|
93
|
-
* @license
|
|
94
|
-
* Copyright Google LLC All Rights Reserved.
|
|
95
|
-
*
|
|
96
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
97
|
-
* found in the LICENSE file at https://angular.io/license
|
|
98
|
-
*/
|
|
99
85
|
/**
|
|
100
86
|
* Manages the selection states of the items and provides methods to check and update the selection
|
|
101
87
|
* states.
|
|
@@ -246,10 +232,10 @@ class CdkSelection {
|
|
|
246
232
|
this.selectAllState = 'none';
|
|
247
233
|
}
|
|
248
234
|
}
|
|
235
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkSelection, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
236
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: CdkSelection, selector: "[cdkSelection]", inputs: { dataSource: "dataSource", trackByFn: ["trackBy", "trackByFn"], multiple: ["cdkSelectionMultiple", "multiple"] }, outputs: { change: "cdkSelectionChange" }, exportAs: ["cdkSelection"], ngImport: i0 }); }
|
|
249
237
|
}
|
|
250
|
-
|
|
251
|
-
CdkSelection.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: CdkSelection, selector: "[cdkSelection]", inputs: { dataSource: "dataSource", trackByFn: ["trackBy", "trackByFn"], multiple: ["cdkSelectionMultiple", "multiple"] }, outputs: { change: "cdkSelectionChange" }, exportAs: ["cdkSelection"], ngImport: i0 });
|
|
252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: CdkSelection, decorators: [{
|
|
238
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkSelection, decorators: [{
|
|
253
239
|
type: Directive,
|
|
254
240
|
args: [{
|
|
255
241
|
selector: '[cdkSelection]',
|
|
@@ -268,13 +254,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
268
254
|
args: ['cdkSelectionChange']
|
|
269
255
|
}] } });
|
|
270
256
|
|
|
271
|
-
/**
|
|
272
|
-
* @license
|
|
273
|
-
* Copyright Google LLC All Rights Reserved.
|
|
274
|
-
*
|
|
275
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
276
|
-
* found in the LICENSE file at https://angular.io/license
|
|
277
|
-
*/
|
|
278
257
|
/**
|
|
279
258
|
* Makes the element a select-all toggle.
|
|
280
259
|
*
|
|
@@ -306,18 +285,9 @@ class CdkSelectAll {
|
|
|
306
285
|
constructor(_selection, _controlValueAccessor) {
|
|
307
286
|
this._selection = _selection;
|
|
308
287
|
this._controlValueAccessor = _controlValueAccessor;
|
|
309
|
-
/**
|
|
310
|
-
* The checked state of the toggle.
|
|
311
|
-
* Resolves to `true` if all the values are selected, `false` if no value is selected.
|
|
312
|
-
*/
|
|
313
|
-
this.checked = this._selection.change.pipe(switchMap(() => of(this._selection.isAllSelected())));
|
|
314
|
-
/**
|
|
315
|
-
* The indeterminate state of the toggle.
|
|
316
|
-
* Resolves to `true` if part (not all) of the values are selected, `false` if all values or no
|
|
317
|
-
* value at all are selected.
|
|
318
|
-
*/
|
|
319
|
-
this.indeterminate = this._selection.change.pipe(switchMap(() => of(this._selection.isPartialSelected())));
|
|
320
288
|
this._destroyed = new Subject();
|
|
289
|
+
this.checked = _selection.change.pipe(switchMap(() => of(_selection.isAllSelected())));
|
|
290
|
+
this.indeterminate = _selection.change.pipe(switchMap(() => of(_selection.isPartialSelected())));
|
|
321
291
|
}
|
|
322
292
|
ngOnInit() {
|
|
323
293
|
this._assertValidParentSelection();
|
|
@@ -347,10 +317,10 @@ class CdkSelectAll {
|
|
|
347
317
|
this._destroyed.next();
|
|
348
318
|
this._destroyed.complete();
|
|
349
319
|
}
|
|
320
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkSelectAll, deps: [{ token: CdkSelection, optional: true }, { token: NG_VALUE_ACCESSOR, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
321
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: CdkSelectAll, selector: "[cdkSelectAll]", exportAs: ["cdkSelectAll"], ngImport: i0 }); }
|
|
350
322
|
}
|
|
351
|
-
|
|
352
|
-
CdkSelectAll.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: CdkSelectAll, selector: "[cdkSelectAll]", exportAs: ["cdkSelectAll"], ngImport: i0 });
|
|
353
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: CdkSelectAll, decorators: [{
|
|
323
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkSelectAll, decorators: [{
|
|
354
324
|
type: Directive,
|
|
355
325
|
args: [{
|
|
356
326
|
selector: '[cdkSelectAll]',
|
|
@@ -370,13 +340,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
370
340
|
args: [NG_VALUE_ACCESSOR]
|
|
371
341
|
}] }]; } });
|
|
372
342
|
|
|
373
|
-
/**
|
|
374
|
-
* @license
|
|
375
|
-
* Copyright Google LLC All Rights Reserved.
|
|
376
|
-
*
|
|
377
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
378
|
-
* found in the LICENSE file at https://angular.io/license
|
|
379
|
-
*/
|
|
380
343
|
/**
|
|
381
344
|
* Makes the element a selection toggle.
|
|
382
345
|
*
|
|
@@ -402,9 +365,8 @@ class CdkSelectionToggle {
|
|
|
402
365
|
constructor(_selection, _controlValueAccessors) {
|
|
403
366
|
this._selection = _selection;
|
|
404
367
|
this._controlValueAccessors = _controlValueAccessors;
|
|
405
|
-
/** The checked state of the selection toggle */
|
|
406
|
-
this.checked = this._selection.change.pipe(switchMap(() => of(this._isSelected())), distinctUntilChanged());
|
|
407
368
|
this._destroyed = new Subject();
|
|
369
|
+
this.checked = _selection.change.pipe(switchMap(() => of(this._isSelected())), distinctUntilChanged());
|
|
408
370
|
}
|
|
409
371
|
ngOnInit() {
|
|
410
372
|
this._assertValidParentSelection();
|
|
@@ -434,10 +396,10 @@ class CdkSelectionToggle {
|
|
|
434
396
|
_isSelected() {
|
|
435
397
|
return this._selection.isSelected(this.value, this.index);
|
|
436
398
|
}
|
|
399
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkSelectionToggle, deps: [{ token: CdkSelection, optional: true }, { token: NG_VALUE_ACCESSOR, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
400
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: CdkSelectionToggle, selector: "[cdkSelectionToggle]", inputs: { value: ["cdkSelectionToggleValue", "value"], index: ["cdkSelectionToggleIndex", "index"] }, exportAs: ["cdkSelectionToggle"], ngImport: i0 }); }
|
|
437
401
|
}
|
|
438
|
-
|
|
439
|
-
CdkSelectionToggle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: CdkSelectionToggle, selector: "[cdkSelectionToggle]", inputs: { value: ["cdkSelectionToggleValue", "value"], index: ["cdkSelectionToggleIndex", "index"] }, exportAs: ["cdkSelectionToggle"], ngImport: i0 });
|
|
440
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: CdkSelectionToggle, decorators: [{
|
|
402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkSelectionToggle, decorators: [{
|
|
441
403
|
type: Directive,
|
|
442
404
|
args: [{
|
|
443
405
|
selector: '[cdkSelectionToggle]',
|
|
@@ -463,13 +425,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
463
425
|
args: ['cdkSelectionToggleIndex']
|
|
464
426
|
}] } });
|
|
465
427
|
|
|
466
|
-
/**
|
|
467
|
-
* @license
|
|
468
|
-
* Copyright Google LLC All Rights Reserved.
|
|
469
|
-
*
|
|
470
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
471
|
-
* found in the LICENSE file at https://angular.io/license
|
|
472
|
-
*/
|
|
473
428
|
/**
|
|
474
429
|
* Column that adds row selecting checkboxes and a select-all checkbox if `cdkSelectionMultiple` is
|
|
475
430
|
* `true`.
|
|
@@ -513,9 +468,8 @@ class CdkSelectionColumn {
|
|
|
513
468
|
this._columnDef.name = this._name;
|
|
514
469
|
}
|
|
515
470
|
}
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
CdkSelectionColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0-next.2", type: CdkSelectionColumn, selector: "cdk-selection-column", inputs: { name: ["cdkSelectionColumnName", "name"] }, viewQueries: [{ propertyName: "_columnDef", first: true, predicate: CdkColumnDef, descendants: true, static: true }, { propertyName: "_cell", first: true, predicate: CdkCellDef, descendants: true, static: true }, { propertyName: "_headerCell", first: true, predicate: CdkHeaderCellDef, descendants: true, static: true }], ngImport: i0, template: `
|
|
471
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkSelectionColumn, deps: [{ token: CdkTable, optional: true }, { token: CdkSelection, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
472
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0-next.7", type: CdkSelectionColumn, selector: "cdk-selection-column", inputs: { name: ["cdkSelectionColumnName", "name"] }, viewQueries: [{ propertyName: "_columnDef", first: true, predicate: CdkColumnDef, descendants: true, static: true }, { propertyName: "_cell", first: true, predicate: CdkCellDef, descendants: true, static: true }, { propertyName: "_headerCell", first: true, predicate: CdkHeaderCellDef, descendants: true, static: true }], ngImport: i0, template: `
|
|
519
473
|
<ng-container cdkColumnDef>
|
|
520
474
|
<th cdkHeaderCell *cdkHeaderCellDef>
|
|
521
475
|
<input type="checkbox" *ngIf="selection.multiple"
|
|
@@ -535,8 +489,9 @@ CdkSelectionColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
535
489
|
[checked]="toggler.checked | async">
|
|
536
490
|
</td>
|
|
537
491
|
</ng-container>
|
|
538
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.CdkCellDef, selector: "[cdkCellDef]" }, { kind: "directive", type: i2.CdkHeaderCellDef, selector: "[cdkHeaderCellDef]" }, { kind: "directive", type: i2.CdkColumnDef, selector: "[cdkColumnDef]", inputs: ["sticky", "cdkColumnDef", "stickyEnd"] }, { kind: "directive", type: CdkSelectionToggle, selector: "[cdkSelectionToggle]", inputs: ["cdkSelectionToggleValue", "cdkSelectionToggleIndex"], exportAs: ["cdkSelectionToggle"] }, { kind: "directive", type: CdkSelectAll, selector: "[cdkSelectAll]", exportAs: ["cdkSelectAll"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
539
|
-
|
|
492
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.CdkCellDef, selector: "[cdkCellDef]" }, { kind: "directive", type: i2.CdkHeaderCellDef, selector: "[cdkHeaderCellDef]" }, { kind: "directive", type: i2.CdkColumnDef, selector: "[cdkColumnDef]", inputs: ["sticky", "cdkColumnDef", "stickyEnd"] }, { kind: "directive", type: CdkSelectionToggle, selector: "[cdkSelectionToggle]", inputs: ["cdkSelectionToggleValue", "cdkSelectionToggleIndex"], exportAs: ["cdkSelectionToggle"] }, { kind: "directive", type: CdkSelectAll, selector: "[cdkSelectAll]", exportAs: ["cdkSelectAll"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
493
|
+
}
|
|
494
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkSelectionColumn, decorators: [{
|
|
540
495
|
type: Component,
|
|
541
496
|
args: [{
|
|
542
497
|
selector: 'cdk-selection-column',
|
|
@@ -588,13 +543,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
588
543
|
args: [CdkHeaderCellDef, { static: true }]
|
|
589
544
|
}] } });
|
|
590
545
|
|
|
591
|
-
/**
|
|
592
|
-
* @license
|
|
593
|
-
* Copyright Google LLC All Rights Reserved.
|
|
594
|
-
*
|
|
595
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
596
|
-
* found in the LICENSE file at https://angular.io/license
|
|
597
|
-
*/
|
|
598
546
|
/**
|
|
599
547
|
* Applies `cdk-selected` class and `aria-selected` to an element.
|
|
600
548
|
*
|
|
@@ -611,11 +559,13 @@ class CdkRowSelection {
|
|
|
611
559
|
}
|
|
612
560
|
constructor(_selection) {
|
|
613
561
|
this._selection = _selection;
|
|
562
|
+
// We need an initializer here to avoid a TS error.
|
|
563
|
+
this.value = undefined;
|
|
614
564
|
}
|
|
565
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkRowSelection, deps: [{ token: CdkSelection }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
566
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: CdkRowSelection, selector: "[cdkRowSelection]", inputs: { value: ["cdkRowSelectionValue", "value"], index: ["cdkRowSelectionIndex", "index"] }, host: { properties: { "class.cdk-selected": "_selection.isSelected(this.value, this.index)", "attr.aria-selected": "_selection.isSelected(this.value, this.index)" } }, ngImport: i0 }); }
|
|
615
567
|
}
|
|
616
|
-
|
|
617
|
-
CdkRowSelection.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: CdkRowSelection, selector: "[cdkRowSelection]", inputs: { value: ["cdkRowSelectionValue", "value"], index: ["cdkRowSelectionIndex", "index"] }, host: { properties: { "class.cdk-selected": "_selection.isSelected(this.value, this.index)", "attr.aria-selected": "_selection.isSelected(this.value, this.index)" } }, ngImport: i0 });
|
|
618
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: CdkRowSelection, decorators: [{
|
|
568
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkRowSelection, decorators: [{
|
|
619
569
|
type: Directive,
|
|
620
570
|
args: [{
|
|
621
571
|
selector: '[cdkRowSelection]',
|
|
@@ -632,23 +582,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
632
582
|
args: ['cdkRowSelectionIndex']
|
|
633
583
|
}] } });
|
|
634
584
|
|
|
635
|
-
/**
|
|
636
|
-
* @license
|
|
637
|
-
* Copyright Google LLC All Rights Reserved.
|
|
638
|
-
*
|
|
639
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
640
|
-
* found in the LICENSE file at https://angular.io/license
|
|
641
|
-
*/
|
|
642
585
|
class CdkSelectionModule {
|
|
586
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkSelectionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
587
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkSelectionModule, declarations: [CdkSelection,
|
|
588
|
+
CdkSelectionToggle,
|
|
589
|
+
CdkSelectAll,
|
|
590
|
+
CdkSelectionColumn,
|
|
591
|
+
CdkRowSelection], imports: [CommonModule, CdkTableModule], exports: [CdkSelection, CdkSelectionToggle, CdkSelectAll, CdkSelectionColumn, CdkRowSelection] }); }
|
|
592
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkSelectionModule, imports: [CommonModule, CdkTableModule] }); }
|
|
643
593
|
}
|
|
644
|
-
|
|
645
|
-
CdkSelectionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.2", ngImport: i0, type: CdkSelectionModule, declarations: [CdkSelection,
|
|
646
|
-
CdkSelectionToggle,
|
|
647
|
-
CdkSelectAll,
|
|
648
|
-
CdkSelectionColumn,
|
|
649
|
-
CdkRowSelection], imports: [CommonModule, CdkTableModule], exports: [CdkSelection, CdkSelectionToggle, CdkSelectAll, CdkSelectionColumn, CdkRowSelection] });
|
|
650
|
-
CdkSelectionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: CdkSelectionModule, imports: [CommonModule, CdkTableModule] });
|
|
651
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: CdkSelectionModule, decorators: [{
|
|
594
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkSelectionModule, decorators: [{
|
|
652
595
|
type: NgModule,
|
|
653
596
|
args: [{
|
|
654
597
|
imports: [CommonModule, CdkTableModule],
|
|
@@ -663,22 +606,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
663
606
|
}]
|
|
664
607
|
}] });
|
|
665
608
|
|
|
666
|
-
/**
|
|
667
|
-
* @license
|
|
668
|
-
* Copyright Google LLC All Rights Reserved.
|
|
669
|
-
*
|
|
670
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
671
|
-
* found in the LICENSE file at https://angular.io/license
|
|
672
|
-
*/
|
|
673
|
-
|
|
674
|
-
/**
|
|
675
|
-
* @license
|
|
676
|
-
* Copyright Google LLC All Rights Reserved.
|
|
677
|
-
*
|
|
678
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
679
|
-
* found in the LICENSE file at https://angular.io/license
|
|
680
|
-
*/
|
|
681
|
-
|
|
682
609
|
/**
|
|
683
610
|
* Generated bundle index. Do not edit.
|
|
684
611
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selection.mjs","sources":["../../../../../../src/cdk-experimental/selection/selection-set.ts","../../../../../../src/cdk-experimental/selection/selection.ts","../../../../../../src/cdk-experimental/selection/select-all.ts","../../../../../../src/cdk-experimental/selection/selection-toggle.ts","../../../../../../src/cdk-experimental/selection/selection-column.ts","../../../../../../src/cdk-experimental/selection/row-selection.ts","../../../../../../src/cdk-experimental/selection/selection-module.ts","../../../../../../src/cdk-experimental/selection/selection_public_index.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {TrackByFunction} from '@angular/core';\nimport {Subject} from 'rxjs';\n\n/**\n * Maintains a set of selected values. One or more values can be added to or removed from the\n * selection.\n */\ninterface TrackBySelection<T> {\n isSelected(value: SelectableWithIndex<T>): boolean;\n select(...values: SelectableWithIndex<T>[]): void;\n deselect(...values: SelectableWithIndex<T>[]): void;\n changed: Subject<SelectionChange<T>>;\n}\n\n/**\n * A selectable value with an optional index. The index is required when the selection is used with\n * `trackBy`.\n */\nexport interface SelectableWithIndex<T> {\n value: T;\n index?: number;\n}\n\n/**\n * Represents the change in the selection set.\n */\nexport interface SelectionChange<T> {\n before: SelectableWithIndex<T>[];\n after: SelectableWithIndex<T>[];\n}\n\n/**\n * Maintains a set of selected items. Support selecting and deselecting items, and checking if a\n * value is selected.\n * When constructed with a `trackByFn`, all the items will be identified by applying the `trackByFn`\n * on them. Because `trackByFn` requires the index of the item to be passed in, the `index` field is\n * expected to be set when calling `isSelected`, `select` and `deselect`.\n */\nexport class SelectionSet<T> implements TrackBySelection<T> {\n private _selectionMap = new Map<T | ReturnType<TrackByFunction<T>>, SelectableWithIndex<T>>();\n changed = new Subject<SelectionChange<T>>();\n\n constructor(private _multiple = false, private _trackByFn?: TrackByFunction<T>) {}\n\n isSelected(value: SelectableWithIndex<T>): boolean {\n return this._selectionMap.has(this._getTrackedByValue(value));\n }\n\n select(...selects: SelectableWithIndex<T>[]) {\n if (!this._multiple && selects.length > 1 && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('SelectionSet: not multiple selection');\n }\n\n const before = this._getCurrentSelection();\n\n if (!this._multiple) {\n this._selectionMap.clear();\n }\n\n const toSelect: SelectableWithIndex<T>[] = [];\n for (const select of selects) {\n if (this.isSelected(select)) {\n continue;\n }\n\n toSelect.push(select);\n this._markSelected(this._getTrackedByValue(select), select);\n }\n\n const after = this._getCurrentSelection();\n\n this.changed.next({before, after});\n }\n\n deselect(...selects: SelectableWithIndex<T>[]) {\n if (!this._multiple && selects.length > 1 && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('SelectionSet: not multiple selection');\n }\n\n const before = this._getCurrentSelection();\n const toDeselect: SelectableWithIndex<T>[] = [];\n\n for (const select of selects) {\n if (!this.isSelected(select)) {\n continue;\n }\n\n toDeselect.push(select);\n this._markDeselected(this._getTrackedByValue(select));\n }\n\n const after = this._getCurrentSelection();\n this.changed.next({before, after});\n }\n\n private _markSelected(key: T | ReturnType<TrackByFunction<T>>, toSelect: SelectableWithIndex<T>) {\n this._selectionMap.set(key, toSelect);\n }\n\n private _markDeselected(key: T | ReturnType<TrackByFunction<T>>) {\n this._selectionMap.delete(key);\n }\n\n private _getTrackedByValue(select: SelectableWithIndex<T>) {\n if (!this._trackByFn) {\n return select.value;\n }\n\n if (select.index == null && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('SelectionSet: index required when trackByFn is used.');\n }\n\n return this._trackByFn(select.index!, select.value);\n }\n\n private _getCurrentSelection(): SelectableWithIndex<T>[] {\n return Array.from(this._selectionMap.values());\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {CollectionViewer, DataSource, isDataSource, ListRange} from '@angular/cdk/collections';\nimport {\n AfterContentChecked,\n Directive,\n EventEmitter,\n Input,\n OnDestroy,\n OnInit,\n Output,\n TrackByFunction,\n} from '@angular/core';\nimport {Observable, of as observableOf, Subject, Subscription} from 'rxjs';\nimport {takeUntil} from 'rxjs/operators';\n\nimport {SelectableWithIndex, SelectionChange, SelectionSet} from './selection-set';\n\n/**\n * Manages the selection states of the items and provides methods to check and update the selection\n * states.\n * It must be applied to the parent element if `cdkSelectionToggle`, `cdkSelectAll`,\n * `cdkRowSelection` and `cdkSelectionColumn` are applied.\n */\n@Directive({\n selector: '[cdkSelection]',\n exportAs: 'cdkSelection',\n})\nexport class CdkSelection<T> implements OnInit, AfterContentChecked, CollectionViewer, OnDestroy {\n viewChange: Observable<ListRange>;\n\n @Input()\n get dataSource(): TableDataSource<T> {\n return this._dataSource;\n }\n set dataSource(dataSource: TableDataSource<T>) {\n if (this._dataSource !== dataSource) {\n this._switchDataSource(dataSource);\n }\n }\n private _dataSource: TableDataSource<T>;\n\n @Input('trackBy') trackByFn: TrackByFunction<T>;\n\n /** Whether to support multiple selection */\n @Input('cdkSelectionMultiple')\n get multiple(): boolean {\n return this._multiple;\n }\n set multiple(multiple: BooleanInput) {\n this._multiple = coerceBooleanProperty(multiple);\n }\n protected _multiple: boolean;\n\n /** Emits when selection changes. */\n @Output('cdkSelectionChange') readonly change = new EventEmitter<SelectionChange<T>>();\n\n /** Latest data provided by the data source. */\n private _data: T[] | readonly T[];\n\n /** Subscription that listens for the data provided by the data source. */\n private _renderChangeSubscription: Subscription | null;\n\n private _destroyed = new Subject<void>();\n\n private _selection: SelectionSet<T>;\n\n private _switchDataSource(dataSource: TableDataSource<T>) {\n this._data = [];\n\n // TODO: Move this logic to a shared function in `cdk/collections`.\n if (isDataSource(this._dataSource)) {\n this._dataSource.disconnect(this);\n }\n\n if (this._renderChangeSubscription) {\n this._renderChangeSubscription.unsubscribe();\n this._renderChangeSubscription = null;\n }\n\n this._dataSource = dataSource;\n }\n\n private _observeRenderChanges() {\n if (!this._dataSource) {\n return;\n }\n\n let dataStream: Observable<readonly T[]> | undefined;\n\n if (isDataSource(this._dataSource)) {\n dataStream = this._dataSource.connect(this);\n } else if (this._dataSource instanceof Observable) {\n dataStream = this._dataSource;\n } else if (Array.isArray(this._dataSource)) {\n dataStream = observableOf(this._dataSource);\n }\n\n if (dataStream == null && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('Unknown data source');\n }\n\n this._renderChangeSubscription = dataStream!\n .pipe(takeUntil(this._destroyed))\n .subscribe(data => {\n this._data = data || [];\n });\n }\n\n ngOnInit() {\n this._selection = new SelectionSet<T>(this._multiple, this.trackByFn);\n this._selection.changed.pipe(takeUntil(this._destroyed)).subscribe(change => {\n this._updateSelectAllState();\n this.change.emit(change);\n });\n }\n\n ngAfterContentChecked() {\n if (this._dataSource && !this._renderChangeSubscription) {\n this._observeRenderChanges();\n }\n }\n\n ngOnDestroy() {\n this._destroyed.next();\n this._destroyed.complete();\n\n if (isDataSource(this._dataSource)) {\n this._dataSource.disconnect(this);\n }\n }\n\n /** Toggles selection for a given value. `index` is required if `trackBy` is used. */\n toggleSelection(value: T, index?: number) {\n if (!!this.trackByFn && index == null && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('CdkSelection: index required when trackBy is used');\n }\n\n if (this.isSelected(value, index)) {\n this._selection.deselect({value, index});\n } else {\n this._selection.select({value, index});\n }\n }\n\n /**\n * Toggles select-all. If no value is selected, select all values. If all values or some of the\n * values are selected, de-select all values.\n */\n toggleSelectAll() {\n if (!this._multiple && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('CdkSelection: multiple selection not enabled');\n }\n\n if (this.selectAllState === 'none') {\n this._selectAll();\n } else {\n this._clearAll();\n }\n }\n\n /** Checks whether a value is selected. `index` is required if `trackBy` is used. */\n isSelected(value: T, index?: number) {\n if (!!this.trackByFn && index == null && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('CdkSelection: index required when trackBy is used');\n }\n\n return this._selection.isSelected({value, index});\n }\n\n /** Checks whether all values are selected. */\n isAllSelected() {\n return this._data.every((value, index) => this._selection.isSelected({value, index}));\n }\n\n /** Checks whether partially selected. */\n isPartialSelected() {\n return (\n !this.isAllSelected() &&\n this._data.some((value, index) => this._selection.isSelected({value, index}))\n );\n }\n\n private _selectAll() {\n const toSelect: SelectableWithIndex<T>[] = [];\n this._data.forEach((value, index) => {\n toSelect.push({value, index});\n });\n\n this._selection.select(...toSelect);\n }\n\n private _clearAll() {\n const toDeselect: SelectableWithIndex<T>[] = [];\n this._data.forEach((value, index) => {\n toDeselect.push({value, index});\n });\n\n this._selection.deselect(...toDeselect);\n }\n\n private _updateSelectAllState() {\n if (this.isAllSelected()) {\n this.selectAllState = 'all';\n } else if (this.isPartialSelected()) {\n this.selectAllState = 'partial';\n } else {\n this.selectAllState = 'none';\n }\n }\n\n selectAllState: SelectAllState = 'none';\n}\n\ntype SelectAllState = 'all' | 'none' | 'partial';\ntype TableDataSource<T> = DataSource<T> | Observable<readonly T[]> | readonly T[];\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Directive, Inject, OnDestroy, OnInit, Optional, Self} from '@angular/core';\nimport {ControlValueAccessor, NG_VALUE_ACCESSOR} from '@angular/forms';\nimport {Observable, of as observableOf, Subject} from 'rxjs';\nimport {switchMap, takeUntil} from 'rxjs/operators';\n\nimport {CdkSelection} from './selection';\n\n/**\n * Makes the element a select-all toggle.\n *\n * Must be used within a parent `CdkSelection` directive. It toggles the selection states\n * of all the selection toggles connected with the `CdkSelection` directive.\n * If the element implements `ControlValueAccessor`, e.g. `MatCheckbox`, the directive\n * automatically connects it with the select-all state provided by the `CdkSelection` directive. If\n * not, use `checked$` to get the checked state, `indeterminate$` to get the indeterminate state,\n * and `toggle()` to change the selection state.\n */\n@Directive({\n selector: '[cdkSelectAll]',\n exportAs: 'cdkSelectAll',\n})\nexport class CdkSelectAll<T> implements OnDestroy, OnInit {\n /**\n * The checked state of the toggle.\n * Resolves to `true` if all the values are selected, `false` if no value is selected.\n */\n readonly checked: Observable<boolean>;\n\n /**\n * The indeterminate state of the toggle.\n * Resolves to `true` if part (not all) of the values are selected, `false` if all values or no\n * value at all are selected.\n */\n readonly indeterminate: Observable<boolean>;\n\n /**\n * Toggles the select-all state.\n * @param event The click event if the toggle is triggered by a (mouse or keyboard) click. If\n * using with a native `<input type=\"checkbox\">`, the parameter is required for the\n * indeterminate state to work properly.\n */\n toggle(event?: MouseEvent) {\n // This is needed when applying the directive on a native <input type=\"checkbox\">\n // checkbox. The default behavior needs to be prevented in order to support the indeterminate\n // state. The timeout is also needed so the checkbox can show the latest state.\n if (event) {\n event.preventDefault();\n }\n\n setTimeout(() => {\n this._selection.toggleSelectAll();\n });\n }\n\n private readonly _destroyed = new Subject<void>();\n\n constructor(\n @Optional() @Inject(CdkSelection) private readonly _selection: CdkSelection<T>,\n @Optional()\n @Self()\n @Inject(NG_VALUE_ACCESSOR)\n private readonly _controlValueAccessor: ControlValueAccessor[],\n ) {\n this.checked = _selection.change.pipe(\n switchMap(() => observableOf(_selection.isAllSelected())),\n );\n\n this.indeterminate = _selection.change.pipe(\n switchMap(() => observableOf(_selection.isPartialSelected())),\n );\n }\n\n ngOnInit() {\n this._assertValidParentSelection();\n this._configureControlValueAccessor();\n }\n\n private _configureControlValueAccessor() {\n if (this._controlValueAccessor && this._controlValueAccessor.length) {\n this._controlValueAccessor[0].registerOnChange((e: unknown) => {\n if (e === true || e === false) {\n this.toggle();\n }\n });\n this.checked.pipe(takeUntil(this._destroyed)).subscribe(state => {\n this._controlValueAccessor[0].writeValue(state);\n });\n }\n }\n\n private _assertValidParentSelection() {\n if (!this._selection && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('CdkSelectAll: missing CdkSelection in the parent');\n }\n\n if (!this._selection.multiple && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('CdkSelectAll: CdkSelection must have cdkSelectionMultiple set to true');\n }\n }\n\n ngOnDestroy() {\n this._destroyed.next();\n this._destroyed.complete();\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {coerceNumberProperty, NumberInput} from '@angular/cdk/coercion';\nimport {Directive, Inject, Input, OnDestroy, OnInit, Optional, Self} from '@angular/core';\nimport {ControlValueAccessor, NG_VALUE_ACCESSOR} from '@angular/forms';\nimport {Observable, of as observableOf, Subject} from 'rxjs';\nimport {distinctUntilChanged, switchMap, takeUntil} from 'rxjs/operators';\n\nimport {CdkSelection} from './selection';\n\n/**\n * Makes the element a selection toggle.\n *\n * Must be used within a parent `CdkSelection` directive.\n * Must be provided with the value. If `trackBy` is used on `CdkSelection`, the index of the value\n * is required. If the element implements `ControlValueAccessor`, e.g. `MatCheckbox`, the directive\n * automatically connects it with the selection state provided by the `CdkSelection` directive. If\n * not, use `checked$` to get the checked state of the value, and `toggle()` to change the selection\n * state.\n */\n@Directive({\n selector: '[cdkSelectionToggle]',\n exportAs: 'cdkSelectionToggle',\n})\nexport class CdkSelectionToggle<T> implements OnDestroy, OnInit {\n /** The value that is associated with the toggle */\n @Input('cdkSelectionToggleValue') value: T;\n\n /** The index of the value in the list. Required when used with `trackBy` */\n @Input('cdkSelectionToggleIndex')\n get index(): number | undefined {\n return this._index;\n }\n set index(index: NumberInput) {\n this._index = coerceNumberProperty(index);\n }\n protected _index?: number;\n\n /** The checked state of the selection toggle */\n readonly checked: Observable<boolean>;\n\n /** Toggles the selection */\n toggle() {\n this._selection.toggleSelection(this.value, this.index);\n }\n\n private _destroyed = new Subject<void>();\n\n constructor(\n @Optional() @Inject(CdkSelection) private _selection: CdkSelection<T>,\n @Optional()\n @Self()\n @Inject(NG_VALUE_ACCESSOR)\n private _controlValueAccessors: ControlValueAccessor[],\n ) {\n this.checked = _selection.change.pipe(\n switchMap(() => observableOf(this._isSelected())),\n distinctUntilChanged(),\n );\n }\n\n ngOnInit() {\n this._assertValidParentSelection();\n this._configureControlValueAccessor();\n }\n\n ngOnDestroy() {\n this._destroyed.next();\n this._destroyed.complete();\n }\n\n private _assertValidParentSelection() {\n if (!this._selection && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('CdkSelectAll: missing CdkSelection in the parent');\n }\n }\n\n private _configureControlValueAccessor() {\n if (this._controlValueAccessors && this._controlValueAccessors.length) {\n this._controlValueAccessors[0].registerOnChange((e: unknown) => {\n if (typeof e === 'boolean') {\n this.toggle();\n }\n });\n\n this.checked.pipe(takeUntil(this._destroyed)).subscribe(state => {\n this._controlValueAccessors[0].writeValue(state);\n });\n }\n }\n\n private _isSelected(): boolean {\n return this._selection.isSelected(this.value, this.index);\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {CdkCellDef, CdkColumnDef, CdkHeaderCellDef, CdkTable} from '@angular/cdk/table';\nimport {\n Component,\n Input,\n OnDestroy,\n OnInit,\n Optional,\n ViewChild,\n ChangeDetectionStrategy,\n ViewEncapsulation,\n Inject,\n} from '@angular/core';\n\nimport {CdkSelection} from './selection';\n\n/**\n * Column that adds row selecting checkboxes and a select-all checkbox if `cdkSelectionMultiple` is\n * `true`.\n *\n * Must be used within a parent `CdkSelection` directive.\n */\n@Component({\n selector: 'cdk-selection-column',\n template: `\n <ng-container cdkColumnDef>\n <th cdkHeaderCell *cdkHeaderCellDef>\n <input type=\"checkbox\" *ngIf=\"selection.multiple\"\n cdkSelectAll\n #allToggler=\"cdkSelectAll\"\n [checked]=\"allToggler.checked | async\"\n [indeterminate]=\"allToggler.indeterminate | async\"\n (click)=\"allToggler.toggle($event)\">\n </th>\n <td cdkCell *cdkCellDef=\"let row; let i = $index\">\n <input type=\"checkbox\"\n #toggler=\"cdkSelectionToggle\"\n cdkSelectionToggle\n [cdkSelectionToggleValue]=\"row\"\n [cdkSelectionToggleIndex]=\"i\"\n (click)=\"toggler.toggle()\"\n [checked]=\"toggler.checked | async\">\n </td>\n </ng-container>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class CdkSelectionColumn<T> implements OnInit, OnDestroy {\n /** Column name that should be used to reference this column. */\n @Input('cdkSelectionColumnName')\n get name(): string {\n return this._name;\n }\n set name(name: string) {\n this._name = name;\n\n this._syncColumnDefName();\n }\n private _name: string;\n\n @ViewChild(CdkColumnDef, {static: true}) private readonly _columnDef: CdkColumnDef;\n @ViewChild(CdkCellDef, {static: true}) private readonly _cell: CdkCellDef;\n @ViewChild(CdkHeaderCellDef, {static: true}) private readonly _headerCell: CdkHeaderCellDef;\n\n constructor(\n @Optional() @Inject(CdkTable) private _table: CdkTable<T>,\n @Optional() @Inject(CdkSelection) readonly selection: CdkSelection<T>,\n ) {}\n\n ngOnInit() {\n if (!this.selection && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('CdkSelectionColumn: missing CdkSelection in the parent');\n }\n\n this._syncColumnDefName();\n\n if (this._table) {\n this._columnDef.cell = this._cell;\n this._columnDef.headerCell = this._headerCell;\n this._table.addColumnDef(this._columnDef);\n } else if (typeof ngDevMode === 'undefined' || ngDevMode) {\n throw Error('CdkSelectionColumn: missing parent table');\n }\n }\n\n ngOnDestroy() {\n if (this._table) {\n this._table.removeColumnDef(this._columnDef);\n }\n }\n\n private _syncColumnDefName() {\n if (this._columnDef) {\n this._columnDef.name = this._name;\n }\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {coerceNumberProperty, NumberInput} from '@angular/cdk/coercion';\nimport {Directive, Input} from '@angular/core';\n\nimport {CdkSelection} from './selection';\n\n/**\n * Applies `cdk-selected` class and `aria-selected` to an element.\n *\n * Must be used within a parent `CdkSelection` directive.\n * Must be provided with the value. The index is required if `trackBy` is used on the `CdkSelection`\n * directive.\n */\n@Directive({\n selector: '[cdkRowSelection]',\n host: {\n '[class.cdk-selected]': '_selection.isSelected(this.value, this.index)',\n '[attr.aria-selected]': '_selection.isSelected(this.value, this.index)',\n },\n})\nexport class CdkRowSelection<T> {\n // We need an initializer here to avoid a TS error.\n @Input('cdkRowSelectionValue') value: T = undefined!;\n\n @Input('cdkRowSelectionIndex')\n get index(): number | undefined {\n return this._index;\n }\n set index(index: NumberInput) {\n this._index = coerceNumberProperty(index);\n }\n protected _index?: number;\n\n constructor(readonly _selection: CdkSelection<T>) {}\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {CdkTableModule} from '@angular/cdk/table';\nimport {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\n\nimport {CdkRowSelection} from './row-selection';\nimport {CdkSelectAll} from './select-all';\nimport {CdkSelection} from './selection';\nimport {CdkSelectionColumn} from './selection-column';\nimport {CdkSelectionToggle} from './selection-toggle';\n\n@NgModule({\n imports: [CommonModule, CdkTableModule],\n exports: [CdkSelection, CdkSelectionToggle, CdkSelectAll, CdkSelectionColumn, CdkRowSelection],\n declarations: [\n CdkSelection,\n CdkSelectionToggle,\n CdkSelectAll,\n CdkSelectionColumn,\n CdkRowSelection,\n ],\n})\nexport class CdkSelectionModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["observableOf","i3.CdkSelectionToggle","i4.CdkSelectAll","i1.CdkSelection"],"mappings":";;;;;;;;;;;;AAuCA;;;;;;AAMG;MACU,YAAY,CAAA;IAIvB,WAAoB,CAAA,SAAA,GAAY,KAAK,EAAU,UAA+B,EAAA;QAA1D,IAAS,CAAA,SAAA,GAAT,SAAS,CAAQ;QAAU,IAAU,CAAA,UAAA,GAAV,UAAU,CAAqB;AAHtE,QAAA,IAAA,CAAA,aAAa,GAAG,IAAI,GAAG,EAA8D,CAAC;AAC9F,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,OAAO,EAAsB,CAAC;KAEsC;AAElF,IAAA,UAAU,CAAC,KAA6B,EAAA;AACtC,QAAA,OAAO,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC,CAAC;KAC/D;IAED,MAAM,CAAC,GAAG,OAAiC,EAAA;AACzC,QAAA,IAAI,CAAC,IAAI,CAAC,SAAS,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,KAAK,OAAO,SAAS,KAAK,WAAW,IAAI,SAAS,CAAC,EAAE;AAC5F,YAAA,MAAM,KAAK,CAAC,sCAAsC,CAAC,CAAC;AACrD,SAAA;AAED,QAAA,MAAM,MAAM,GAAG,IAAI,CAAC,oBAAoB,EAAE,CAAC;AAE3C,QAAA,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;AACnB,YAAA,IAAI,CAAC,aAAa,CAAC,KAAK,EAAE,CAAC;AAC5B,SAAA;QAED,MAAM,QAAQ,GAA6B,EAAE,CAAC;AAC9C,QAAA,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE;AAC5B,YAAA,IAAI,IAAI,CAAC,UAAU,C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owRoot } from '@angular/cdk/platform';
|
|
6
6
|
import { STICKY_POSITIONING_LISTENER } from '@angular/cdk/table';
|
|
7
7
|
|
|
8
|
-
/**
|
|
9
|
-
* @license
|
|
10
|
-
* Copyright Google LLC All Rights Reserved.
|
|
11
|
-
*
|
|
12
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
13
|
-
* found in the LICENSE file at https://angular.io/license
|
|
14
|
-
*/
|
|
15
8
|
let nextId = 0;
|
|
16
9
|
/**
|
|
17
10
|
* Applies styles to the host element that make its scrollbars match up with
|
|
@@ -100,10 +93,10 @@ class CdkTableScrollContainer {
|
|
|
100
93
|
styleSheet.deleteRule(0);
|
|
101
94
|
}
|
|
102
95
|
}
|
|
96
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkTableScrollContainer, deps: [{ token: i0.ElementRef }, { token: DOCUMENT }, { token: i1.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
97
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: CdkTableScrollContainer, selector: "[cdkTableScrollContainer]", host: { classAttribute: "cdk-table-scroll-container" }, providers: [{ provide: STICKY_POSITIONING_LISTENER, useExisting: CdkTableScrollContainer }], ngImport: i0 }); }
|
|
103
98
|
}
|
|
104
|
-
|
|
105
|
-
CdkTableScrollContainer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: CdkTableScrollContainer, selector: "[cdkTableScrollContainer]", host: { classAttribute: "cdk-table-scroll-container" }, providers: [{ provide: STICKY_POSITIONING_LISTENER, useExisting: CdkTableScrollContainer }], ngImport: i0 });
|
|
106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: CdkTableScrollContainer, decorators: [{
|
|
99
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkTableScrollContainer, decorators: [{
|
|
107
100
|
type: Directive,
|
|
108
101
|
args: [{
|
|
109
102
|
selector: '[cdkTableScrollContainer]',
|
|
@@ -129,19 +122,12 @@ function computeMargin(sizes) {
|
|
|
129
122
|
return margin;
|
|
130
123
|
}
|
|
131
124
|
|
|
132
|
-
/**
|
|
133
|
-
* @license
|
|
134
|
-
* Copyright Google LLC All Rights Reserved.
|
|
135
|
-
*
|
|
136
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
137
|
-
* found in the LICENSE file at https://angular.io/license
|
|
138
|
-
*/
|
|
139
125
|
class CdkTableScrollContainerModule {
|
|
126
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkTableScrollContainerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
127
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkTableScrollContainerModule, declarations: [CdkTableScrollContainer], exports: [CdkTableScrollContainer] }); }
|
|
128
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkTableScrollContainerModule }); }
|
|
140
129
|
}
|
|
141
|
-
|
|
142
|
-
CdkTableScrollContainerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.2", ngImport: i0, type: CdkTableScrollContainerModule, declarations: [CdkTableScrollContainer], exports: [CdkTableScrollContainer] });
|
|
143
|
-
CdkTableScrollContainerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: CdkTableScrollContainerModule });
|
|
144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: CdkTableScrollContainerModule, decorators: [{
|
|
130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkTableScrollContainerModule, decorators: [{
|
|
145
131
|
type: NgModule,
|
|
146
132
|
args: [{
|
|
147
133
|
declarations: [CdkTableScrollContainer],
|
|
@@ -149,22 +135,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
149
135
|
}]
|
|
150
136
|
}] });
|
|
151
137
|
|
|
152
|
-
/**
|
|
153
|
-
* @license
|
|
154
|
-
* Copyright Google LLC All Rights Reserved.
|
|
155
|
-
*
|
|
156
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
157
|
-
* found in the LICENSE file at https://angular.io/license
|
|
158
|
-
*/
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
* @license
|
|
162
|
-
* Copyright Google LLC All Rights Reserved.
|
|
163
|
-
*
|
|
164
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
165
|
-
* found in the LICENSE file at https://angular.io/license
|
|
166
|
-
*/
|
|
167
|
-
|
|
168
138
|
/**
|
|
169
139
|
* Generated bundle index. Do not edit.
|
|
170
140
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table-scroll-container.mjs","sources":["../../../../../../src/cdk-experimental/table-scroll-container/table-scroll-container.ts","../../../../../../src/cdk-experimental/table-scroll-container/table-scroll-container-module.ts","../../../../../../src/cdk-experimental/table-scroll-container/table-scroll-container_public_index.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Directive, ElementRef, Inject, OnDestroy, OnInit, Optional} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\nimport {Directionality} from '@angular/cdk/bidi';\nimport {_getShadowRoot} from '@angular/cdk/platform';\nimport {\n STICKY_POSITIONING_LISTENER,\n StickyPositioningListener,\n StickySize,\n StickyUpdate,\n} from '@angular/cdk/table';\n\nlet nextId = 0;\n\n/**\n * Applies styles to the host element that make its scrollbars match up with\n * the non-sticky scrollable portions of the CdkTable contained within.\n *\n * This visual effect only works in Webkit and Blink based browsers (eg Chrome,\n * Safari, Edge). Other browsers such as Firefox will gracefully degrade to\n * normal scrollbar appearance.\n * Further note: These styles have no effect when the browser is using OS-default\n * scrollbars. The easiest way to force them into custom mode is to specify width\n * and height for the scrollbar and thumb.\n */\n@Directive({\n selector: '[cdkTableScrollContainer]',\n host: {\n 'class': 'cdk-table-scroll-container',\n },\n providers: [{provide: STICKY_POSITIONING_LISTENER, useExisting: CdkTableScrollContainer}],\n})\nexport class CdkTableScrollContainer implements StickyPositioningListener, OnDestroy, OnInit {\n private readonly _uniqueClassName: string;\n private _styleRoot!: Node;\n private _styleElement?: HTMLStyleElement;\n\n /** The most recent sticky column size values from the CdkTable. */\n private _startSizes: StickySize[] = [];\n private _endSizes: StickySize[] = [];\n private _headerSizes: StickySize[] = [];\n private _footerSizes: StickySize[] = [];\n\n constructor(\n private readonly _elementRef: ElementRef<HTMLElement>,\n @Inject(DOCUMENT) private readonly _document: Document,\n @Optional() private readonly _directionality?: Directionality,\n ) {\n this._uniqueClassName = `cdk-table-scroll-container-${++nextId}`;\n _elementRef.nativeElement.classList.add(this._uniqueClassName);\n }\n\n ngOnInit() {\n // Note that we need to look up the root node in ngOnInit, rather than the constructor, because\n // Angular seems to create the element outside the shadow root and then moves it inside, if the\n // node is inside an `ngIf` and a ShadowDom-encapsulated component.\n this._styleRoot = _getShadowRoot(this._elementRef.nativeElement) ?? this._document.head;\n }\n\n ngOnDestroy(): void {\n this._styleElement?.remove();\n this._styleElement = undefined;\n }\n\n stickyColumnsUpdated({sizes}: StickyUpdate): void {\n this._startSizes = sizes;\n this._updateScrollbar();\n }\n\n stickyEndColumnsUpdated({sizes}: StickyUpdate): void {\n this._endSizes = sizes;\n this._updateScrollbar();\n }\n\n stickyHeaderRowsUpdated({sizes}: StickyUpdate): void {\n this._headerSizes = sizes;\n this._updateScrollbar();\n }\n\n stickyFooterRowsUpdated({sizes}: StickyUpdate): void {\n this._footerSizes = sizes;\n this._updateScrollbar();\n }\n\n /**\n * Set padding on the scrollbar track based on the sticky states from CdkTable.\n */\n private _updateScrollbar(): void {\n const topMargin = computeMargin(this._headerSizes);\n const bottomMargin = computeMargin(this._footerSizes);\n const startMargin = computeMargin(this._startSizes);\n const endMargin = computeMargin(this._endSizes);\n\n if (topMargin === 0 && bottomMargin === 0 && startMargin === 0 && endMargin === 0) {\n this._clearCss();\n return;\n }\n\n const direction = this._directionality ? this._directionality.value : 'ltr';\n const leftMargin = direction === 'rtl' ? endMargin : startMargin;\n const rightMargin = direction === 'rtl' ? startMargin : endMargin;\n\n this._applyCss(`${topMargin}px ${rightMargin}px ${bottomMargin}px ${leftMargin}px`);\n }\n\n /** Gets the stylesheet for the scrollbar styles and creates it if need be. */\n private _getStyleSheet(): CSSStyleSheet {\n if (!this._styleElement) {\n this._styleElement = this._document.createElement('style');\n this._styleRoot.appendChild(this._styleElement);\n }\n\n return this._styleElement.sheet as CSSStyleSheet;\n }\n\n /** Updates the stylesheet with the specified scrollbar style. */\n private _applyCss(value: string) {\n this._clearCss();\n\n const selector = `.${this._uniqueClassName}::-webkit-scrollbar-track`;\n this._getStyleSheet().insertRule(`${selector} {margin: ${value}}`, 0);\n }\n\n private _clearCss() {\n const styleSheet = this._getStyleSheet();\n if (styleSheet.cssRules.length > 0) {\n styleSheet.deleteRule(0);\n }\n }\n}\n\nfunction computeMargin(sizes: (number | null | undefined)[]): number {\n let margin = 0;\n for (const size of sizes) {\n if (size == null) {\n break;\n }\n margin += size;\n }\n return margin;\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {NgModule} from '@angular/core';\n\nimport {CdkTableScrollContainer} from './table-scroll-container';\n\n@NgModule({\n declarations: [CdkTableScrollContainer],\n exports: [CdkTableScrollContainer],\n})\nexport class CdkTableScrollContainerModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAmBA,IAAI,MAAM,GAAG,CAAC,CAAC;AAEf;;;;;;;;;;AAUG;AACH,MAOa,uBAAuB,CAAA;AAWlC,IAAA,WAAA,CACmB,WAAoC,EAClB,SAAmB,EACzB,eAAgC,EAAA;QAF5C,IAAW,CAAA,WAAA,GAAX,WAAW,CAAyB;QAClB,IAAS,CAAA,SAAA,GAAT,SAAS,CAAU;QACzB,IAAe,CAAA,eAAA,GAAf,eAAe,CAAiB;;QARvD,IAAW,CAAA,WAAA,GAAiB,EAAE,CAAC;QAC/B,IAAS,CAAA,SAAA,GAAiB,EAAE,CAAC;QAC7B,IAAY,CAAA,YAAA,GAAiB,EAAE,CAAC;QAChC,IAAY,CAAA,YAAA,GAAiB,EAAE,CAAC;AAOtC,QAAA,IAAI,CAAC,gBAAgB,GAAG,8BAA8B,EAAE,MAAM,EAAE,CAAC;QACjE,WAAW,CAAC,aAAa,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;KAChE;IAED,QAAQ,GAAA;;;;AAIN,QAAA,IAAI,CAAC,UAAU,GAAG,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;KACzF;IAED,WAAW,GAAA;AACT,QAAA,IAAI,CAAC,aAAa,EAAE,MAAM,EAAE,CAAC;AAC7B,QAAA,IAAI,CAAC,aAAa,GAAG,SAAS,CAAC;KAChC;IAED,oBAAoB,CAAC,EAAC,KAAK,EAAe,EAAA;AACxC,QAAA,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QACzB,IAAI,CAAC,gBAAgB,EAAE,CAAC;KACzB;IAED,uBAAuB,CAAC,EAAC,KAAK,EAAe,EAAA;AAC3C,QAAA,IAA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uBAAuB,CAAC;AACnC,iBAAA,CAAA;;;ACfD;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/cdk-experimental",
|
|
3
|
-
"version": "16.0.0-
|
|
3
|
+
"version": "16.0.0-rc.0",
|
|
4
4
|
"description": "Experimental components for Angular CDK",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,19 +12,15 @@
|
|
|
12
12
|
},
|
|
13
13
|
"homepage": "https://github.com/angular/components#readme",
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@angular/cdk": "16.0.0-
|
|
15
|
+
"@angular/cdk": "16.0.0-rc.0",
|
|
16
16
|
"@angular/core": "^16.0.0-0 || ^16.1.0-0 || ^16.2.0-0 || ^16.3.0-0 || ^17.0.0-0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"tslib": "^2.3.0"
|
|
20
20
|
},
|
|
21
21
|
"sideEffects": false,
|
|
22
|
-
"
|
|
23
|
-
"fesm2015": "./fesm2015/cdk-experimental.mjs",
|
|
24
|
-
"esm2020": "./esm2020/index.mjs",
|
|
22
|
+
"module": "./fesm2022/cdk-experimental.mjs",
|
|
25
23
|
"typings": "./index.d.ts",
|
|
26
|
-
"module": "./fesm2015/cdk-experimental.mjs",
|
|
27
|
-
"es2020": "./fesm2020/cdk-experimental.mjs",
|
|
28
24
|
"type": "module",
|
|
29
25
|
"exports": {
|
|
30
26
|
"./package.json": {
|
|
@@ -32,59 +28,45 @@
|
|
|
32
28
|
},
|
|
33
29
|
".": {
|
|
34
30
|
"types": "./index.d.ts",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"node": "./fesm2015/cdk-experimental.mjs",
|
|
39
|
-
"default": "./fesm2020/cdk-experimental.mjs"
|
|
31
|
+
"esm2022": "./esm2022/index.mjs",
|
|
32
|
+
"esm": "./esm2022/index.mjs",
|
|
33
|
+
"default": "./fesm2022/cdk-experimental.mjs"
|
|
40
34
|
},
|
|
41
35
|
"./column-resize": {
|
|
42
36
|
"types": "./column-resize/index.d.ts",
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"node": "./fesm2015/column-resize.mjs",
|
|
47
|
-
"default": "./fesm2020/column-resize.mjs"
|
|
37
|
+
"esm2022": "./esm2022/column-resize/column-resize_public_index.mjs",
|
|
38
|
+
"esm": "./esm2022/column-resize/column-resize_public_index.mjs",
|
|
39
|
+
"default": "./fesm2022/column-resize.mjs"
|
|
48
40
|
},
|
|
49
41
|
"./combobox": {
|
|
50
42
|
"types": "./combobox/index.d.ts",
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"node": "./fesm2015/combobox.mjs",
|
|
55
|
-
"default": "./fesm2020/combobox.mjs"
|
|
43
|
+
"esm2022": "./esm2022/combobox/combobox_public_index.mjs",
|
|
44
|
+
"esm": "./esm2022/combobox/combobox_public_index.mjs",
|
|
45
|
+
"default": "./fesm2022/combobox.mjs"
|
|
56
46
|
},
|
|
57
47
|
"./popover-edit": {
|
|
58
48
|
"types": "./popover-edit/index.d.ts",
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"node": "./fesm2015/popover-edit.mjs",
|
|
63
|
-
"default": "./fesm2020/popover-edit.mjs"
|
|
49
|
+
"esm2022": "./esm2022/popover-edit/popover-edit_public_index.mjs",
|
|
50
|
+
"esm": "./esm2022/popover-edit/popover-edit_public_index.mjs",
|
|
51
|
+
"default": "./fesm2022/popover-edit.mjs"
|
|
64
52
|
},
|
|
65
53
|
"./scrolling": {
|
|
66
54
|
"types": "./scrolling/index.d.ts",
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"node": "./fesm2015/scrolling.mjs",
|
|
71
|
-
"default": "./fesm2020/scrolling.mjs"
|
|
55
|
+
"esm2022": "./esm2022/scrolling/scrolling_public_index.mjs",
|
|
56
|
+
"esm": "./esm2022/scrolling/scrolling_public_index.mjs",
|
|
57
|
+
"default": "./fesm2022/scrolling.mjs"
|
|
72
58
|
},
|
|
73
59
|
"./selection": {
|
|
74
60
|
"types": "./selection/index.d.ts",
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"node": "./fesm2015/selection.mjs",
|
|
79
|
-
"default": "./fesm2020/selection.mjs"
|
|
61
|
+
"esm2022": "./esm2022/selection/selection_public_index.mjs",
|
|
62
|
+
"esm": "./esm2022/selection/selection_public_index.mjs",
|
|
63
|
+
"default": "./fesm2022/selection.mjs"
|
|
80
64
|
},
|
|
81
65
|
"./table-scroll-container": {
|
|
82
66
|
"types": "./table-scroll-container/index.d.ts",
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"node": "./fesm2015/table-scroll-container.mjs",
|
|
87
|
-
"default": "./fesm2020/table-scroll-container.mjs"
|
|
67
|
+
"esm2022": "./esm2022/table-scroll-container/table-scroll-container_public_index.mjs",
|
|
68
|
+
"esm": "./esm2022/table-scroll-container/table-scroll-container_public_index.mjs",
|
|
69
|
+
"default": "./fesm2022/table-scroll-container.mjs"
|
|
88
70
|
}
|
|
89
71
|
}
|
|
90
72
|
}
|
package/popover-edit/index.d.ts
CHANGED
|
@@ -101,7 +101,7 @@ export declare class CdkEditControl<FormValue> implements OnDestroy, OnInit {
|
|
|
101
101
|
private _handleBlur;
|
|
102
102
|
private _triggerFormSubmit;
|
|
103
103
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkEditControl<any>, never>;
|
|
104
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkEditControl<any>, "form[cdkEditControl]", never, { "clickOutBehavior": "cdkEditControlClickOutBehavior"; "preservedFormValue": "cdkEditControlPreservedFormValue"; "ignoreSubmitUnlessValid": "cdkEditControlIgnoreSubmitUnlessValid"; }, { "preservedFormValueChange": "cdkEditControlPreservedFormValueChange"; }, never, never, false, never>;
|
|
104
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkEditControl<any>, "form[cdkEditControl]", never, { "clickOutBehavior": { "alias": "cdkEditControlClickOutBehavior"; "required": false; }; "preservedFormValue": { "alias": "cdkEditControlPreservedFormValue"; "required": false; }; "ignoreSubmitUnlessValid": { "alias": "cdkEditControlIgnoreSubmitUnlessValid"; "required": false; }; }, { "preservedFormValueChange": "cdkEditControlPreservedFormValueChange"; }, never, never, false, never>;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
/**
|
|
@@ -125,7 +125,7 @@ export declare class CdkEditRevert<FormValue> {
|
|
|
125
125
|
constructor(editRef: EditRef<FormValue>);
|
|
126
126
|
revertEdit(): void;
|
|
127
127
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkEditRevert<any>, never>;
|
|
128
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkEditRevert<any>, "button[cdkEditRevert]", never, { "type": "type"; }, {}, never, never, false, never>;
|
|
128
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkEditRevert<any>, "button[cdkEditRevert]", never, { "type": { "alias": "type"; "required": false; }; }, {}, never, never, false, never>;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
/**
|
|
@@ -172,7 +172,7 @@ export declare class CdkPopoverEdit<C> implements AfterViewInit, OnDestroy {
|
|
|
172
172
|
private _updateOverlaySize;
|
|
173
173
|
private _maybeReturnFocusToCell;
|
|
174
174
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkPopoverEdit<any>, never>;
|
|
175
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkPopoverEdit<any>, "[cdkPopoverEdit]:not([cdkPopoverEditTabOut])", never, { "template": "cdkPopoverEdit"; "context": "cdkPopoverEditContext"; "colspan": "cdkPopoverEditColspan"; "disabled": "cdkPopoverEditDisabled"; }, {}, never, never, false, never>;
|
|
175
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkPopoverEdit<any>, "[cdkPopoverEdit]:not([cdkPopoverEditTabOut])", never, { "template": { "alias": "cdkPopoverEdit"; "required": false; }; "context": { "alias": "cdkPopoverEditContext"; "required": false; }; "colspan": { "alias": "cdkPopoverEditColspan"; "required": false; }; "disabled": { "alias": "cdkPopoverEditDisabled"; "required": false; }; }, {}, never, never, false, never>;
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
/**
|
|
@@ -202,7 +202,7 @@ export declare class CdkPopoverEditTabOut<C> extends CdkPopoverEdit<C> {
|
|
|
202
202
|
constructor(elementRef: ElementRef, viewContainerRef: ViewContainerRef, services: EditServices, focusEscapeNotifierFactory: FocusEscapeNotifierFactory);
|
|
203
203
|
protected initFocusTrap(): void;
|
|
204
204
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkPopoverEditTabOut<any>, never>;
|
|
205
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkPopoverEditTabOut<any>, "[cdkPopoverEdit][cdkPopoverEditTabOut]", never, { "template": "cdkPopoverEdit"; "context": "cdkPopoverEditContext"; "colspan": "cdkPopoverEditColspan"; "disabled": "cdkPopoverEditDisabled"; }, {}, never, never, false, never>;
|
|
205
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkPopoverEditTabOut<any>, "[cdkPopoverEdit][cdkPopoverEditTabOut]", never, { "template": { "alias": "cdkPopoverEdit"; "required": false; }; "context": { "alias": "cdkPopoverEditContext"; "required": false; }; "colspan": { "alias": "cdkPopoverEditColspan"; "required": false; }; "disabled": { "alias": "cdkPopoverEditDisabled"; "required": false; }; }, {}, never, never, false, never>;
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
/**
|
package/scrolling/index.d.ts
CHANGED
|
@@ -129,7 +129,7 @@ export declare class CdkAutoSizeVirtualScroll implements OnChanges {
|
|
|
129
129
|
_scrollStrategy: AutoSizeVirtualScrollStrategy;
|
|
130
130
|
ngOnChanges(): void;
|
|
131
131
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkAutoSizeVirtualScroll, never>;
|
|
132
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkAutoSizeVirtualScroll, "cdk-virtual-scroll-viewport[autosize]", never, { "minBufferPx": "minBufferPx"; "maxBufferPx": "maxBufferPx"; }, {}, never, never, false, never>;
|
|
132
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkAutoSizeVirtualScroll, "cdk-virtual-scroll-viewport[autosize]", never, { "minBufferPx": { "alias": "minBufferPx"; "required": false; }; "maxBufferPx": { "alias": "maxBufferPx"; "required": false; }; }, {}, never, never, false, never>;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
declare namespace i1 {
|