@angular/cdk-experimental 17.0.0-next.5 → 17.0.0-next.6
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/esm2022/column-resize/column-resize-directives/column-resize-flex.mjs +4 -4
- package/esm2022/column-resize/column-resize-directives/column-resize.mjs +4 -4
- package/esm2022/column-resize/column-resize-directives/default-enabled-column-resize-flex.mjs +4 -4
- package/esm2022/column-resize/column-resize-directives/default-enabled-column-resize.mjs +4 -4
- package/esm2022/column-resize/column-resize-module.mjs +8 -8
- package/esm2022/column-resize/column-resize-notifier.mjs +7 -7
- package/esm2022/column-resize/column-resize.mjs +3 -3
- package/esm2022/column-resize/column-size-store.mjs +3 -3
- package/esm2022/column-resize/event-dispatcher.mjs +4 -4
- package/esm2022/column-resize/overlay-handle.mjs +3 -3
- package/esm2022/column-resize/resizable.mjs +3 -3
- package/esm2022/column-resize/resize-strategy.mjs +13 -13
- package/esm2022/combobox/combobox-module.mjs +4 -4
- package/esm2022/combobox/combobox-popup.mjs +6 -6
- package/esm2022/combobox/combobox.mjs +6 -6
- package/esm2022/popover-edit/edit-event-dispatcher.mjs +4 -4
- package/esm2022/popover-edit/edit-ref.mjs +5 -5
- package/esm2022/popover-edit/edit-services.mjs +4 -4
- package/esm2022/popover-edit/focus-dispatcher.mjs +4 -4
- package/esm2022/popover-edit/focus-escape-notifier.mjs +5 -5
- package/esm2022/popover-edit/lens-directives.mjs +13 -13
- package/esm2022/popover-edit/popover-edit-module.mjs +4 -4
- package/esm2022/popover-edit/popover-edit-position-strategy-factory.mjs +7 -7
- package/esm2022/popover-edit/table-directives.mjs +20 -20
- package/esm2022/scrolling/auto-size-virtual-scroll.mjs +3 -3
- package/esm2022/scrolling/scrolling-module.mjs +4 -4
- package/esm2022/selection/row-selection.mjs +5 -5
- package/esm2022/selection/select-all.mjs +5 -5
- package/esm2022/selection/selection-column.mjs +6 -6
- package/esm2022/selection/selection-module.mjs +4 -4
- package/esm2022/selection/selection-toggle.mjs +6 -6
- package/esm2022/selection/selection.mjs +3 -3
- package/esm2022/table-scroll-container/table-scroll-container-module.mjs +4 -4
- package/esm2022/table-scroll-container/table-scroll-container.mjs +5 -5
- package/esm2022/version.mjs +1 -1
- package/fesm2022/cdk-experimental.mjs +1 -1
- package/fesm2022/cdk-experimental.mjs.map +1 -1
- package/fesm2022/column-resize.mjs +60 -60
- package/fesm2022/combobox.mjs +14 -14
- package/fesm2022/combobox.mjs.map +1 -1
- package/fesm2022/popover-edit.mjs +65 -65
- package/fesm2022/popover-edit.mjs.map +1 -1
- package/fesm2022/scrolling.mjs +7 -7
- package/fesm2022/selection.mjs +26 -26
- package/fesm2022/selection.mjs.map +1 -1
- package/fesm2022/table-scroll-container.mjs +9 -9
- package/package.json +2 -2
|
@@ -200,12 +200,12 @@ class EditEventDispatcher {
|
|
|
200
200
|
_mapAllRowsToSingleRow(mapper) {
|
|
201
201
|
return this.allRows.pipe(map(mapper), this._startWithNullDistinct);
|
|
202
202
|
}
|
|
203
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
204
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
203
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: EditEventDispatcher, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
204
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: EditEventDispatcher }); }
|
|
205
205
|
}
|
|
206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: EditEventDispatcher, decorators: [{
|
|
207
207
|
type: Injectable
|
|
208
|
-
}], ctorParameters:
|
|
208
|
+
}], ctorParameters: () => [{ type: i0.NgZone }] });
|
|
209
209
|
function computeHoverContentState([firstRow, lastRow, activeRow, hoverRow,]) {
|
|
210
210
|
const hoverContentState = new Map();
|
|
211
211
|
// Add focusable rows.
|
|
@@ -300,14 +300,14 @@ class EditRef {
|
|
|
300
300
|
reset(value) {
|
|
301
301
|
this._form.reset(value || this._revertFormValue);
|
|
302
302
|
}
|
|
303
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
304
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
303
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: EditRef, deps: [{ token: i1.ControlContainer, self: true }, { token: EditEventDispatcher }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
304
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: EditRef }); }
|
|
305
305
|
}
|
|
306
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: EditRef, decorators: [{
|
|
307
307
|
type: Injectable
|
|
308
|
-
}], ctorParameters:
|
|
308
|
+
}], ctorParameters: () => [{ type: i1.ControlContainer, decorators: [{
|
|
309
309
|
type: Self
|
|
310
|
-
}] }, { type: EditEventDispatcher }, { type: i0.NgZone }]
|
|
310
|
+
}] }, { type: EditEventDispatcher }, { type: i0.NgZone }] });
|
|
311
311
|
|
|
312
312
|
/**
|
|
313
313
|
* Service responsible for moving cell focus around in response to keyboard events.
|
|
@@ -369,13 +369,13 @@ class FocusDispatcher {
|
|
|
369
369
|
}
|
|
370
370
|
event.preventDefault();
|
|
371
371
|
}
|
|
372
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
373
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
372
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: FocusDispatcher, deps: [{ token: i1$1.Directionality }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
373
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: FocusDispatcher, providedIn: 'root' }); }
|
|
374
374
|
}
|
|
375
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
375
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: FocusDispatcher, decorators: [{
|
|
376
376
|
type: Injectable,
|
|
377
377
|
args: [{ providedIn: 'root' }]
|
|
378
|
-
}], ctorParameters:
|
|
378
|
+
}], ctorParameters: () => [{ type: i1$1.Directionality }] });
|
|
379
379
|
|
|
380
380
|
/**
|
|
381
381
|
* A convenience class for preserving unsaved form state while an edit lens is closed.
|
|
@@ -490,10 +490,10 @@ class CdkEditControl {
|
|
|
490
490
|
_triggerFormSubmit() {
|
|
491
491
|
this.elementRef.nativeElement.dispatchEvent(new Event('submit'));
|
|
492
492
|
}
|
|
493
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
494
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.
|
|
493
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkEditControl, deps: [{ token: i0.ElementRef }, { token: EditRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
494
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.6", type: CdkEditControl, selector: "form[cdkEditControl]", inputs: { clickOutBehavior: ["cdkEditControlClickOutBehavior", "clickOutBehavior"], preservedFormValue: ["cdkEditControlPreservedFormValue", "preservedFormValue"], ignoreSubmitUnlessValid: ["cdkEditControlIgnoreSubmitUnlessValid", "ignoreSubmitUnlessValid"] }, outputs: { preservedFormValueChange: "cdkEditControlPreservedFormValueChange" }, host: { listeners: { "ngSubmit": "handleFormSubmit()", "document:click": "handlePossibleClickOut($event)", "keydown": "_handleKeydown($event)" } }, providers: [EditRef], ngImport: i0 }); }
|
|
495
495
|
}
|
|
496
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
496
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkEditControl, decorators: [{
|
|
497
497
|
type: Directive,
|
|
498
498
|
args: [{
|
|
499
499
|
selector: 'form[cdkEditControl]',
|
|
@@ -510,7 +510,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4",
|
|
|
510
510
|
'(keydown)': '_handleKeydown($event)',
|
|
511
511
|
},
|
|
512
512
|
}]
|
|
513
|
-
}], ctorParameters:
|
|
513
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: EditRef }] });
|
|
514
514
|
/** Reverts the form to its initial or previously submitted state on click. */
|
|
515
515
|
class CdkEditRevert {
|
|
516
516
|
constructor(editRef) {
|
|
@@ -521,10 +521,10 @@ class CdkEditRevert {
|
|
|
521
521
|
revertEdit() {
|
|
522
522
|
this.editRef.reset();
|
|
523
523
|
}
|
|
524
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
525
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.
|
|
524
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkEditRevert, deps: [{ token: EditRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
525
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.6", type: CdkEditRevert, selector: "button[cdkEditRevert]", inputs: { type: "type" }, host: { attributes: { "type": "button" }, listeners: { "click": "revertEdit()" } }, ngImport: i0 }); }
|
|
526
526
|
}
|
|
527
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkEditRevert, decorators: [{
|
|
528
528
|
type: Directive,
|
|
529
529
|
args: [{
|
|
530
530
|
selector: 'button[cdkEditRevert]',
|
|
@@ -533,7 +533,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4",
|
|
|
533
533
|
'(click)': 'revertEdit()',
|
|
534
534
|
},
|
|
535
535
|
}]
|
|
536
|
-
}], ctorParameters:
|
|
536
|
+
}], ctorParameters: () => [{ type: EditRef }], propDecorators: { type: [{
|
|
537
537
|
type: Input
|
|
538
538
|
}] } });
|
|
539
539
|
/** Closes the lens on click. */
|
|
@@ -555,10 +555,10 @@ class CdkEditClose {
|
|
|
555
555
|
// the same event sequence if focus was moved quickly.
|
|
556
556
|
this.editRef.close();
|
|
557
557
|
}
|
|
558
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
559
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.
|
|
558
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkEditClose, deps: [{ token: i0.ElementRef }, { token: EditRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
559
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.6", type: CdkEditClose, selector: "[cdkEditClose]", host: { listeners: { "click": "closeEdit()", "keydown.enter": "closeEdit()", "keydown.space": "closeEdit()" } }, ngImport: i0 }); }
|
|
560
560
|
}
|
|
561
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
561
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkEditClose, decorators: [{
|
|
562
562
|
type: Directive,
|
|
563
563
|
args: [{
|
|
564
564
|
selector: '[cdkEditClose]',
|
|
@@ -568,17 +568,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4",
|
|
|
568
568
|
'(keydown.space)': 'closeEdit()',
|
|
569
569
|
},
|
|
570
570
|
}]
|
|
571
|
-
}], ctorParameters:
|
|
571
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: EditRef }] });
|
|
572
572
|
|
|
573
573
|
/**
|
|
574
574
|
* Overridable factory responsible for configuring how cdkPopoverEdit popovers are positioned
|
|
575
575
|
* and sized.
|
|
576
576
|
*/
|
|
577
577
|
class PopoverEditPositionStrategyFactory {
|
|
578
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
579
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
578
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: PopoverEditPositionStrategyFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
579
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: PopoverEditPositionStrategyFactory }); }
|
|
580
580
|
}
|
|
581
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
581
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: PopoverEditPositionStrategyFactory, decorators: [{
|
|
582
582
|
type: Injectable
|
|
583
583
|
}] });
|
|
584
584
|
/**
|
|
@@ -626,12 +626,12 @@ class DefaultPopoverEditPositionStrategyFactory extends PopoverEditPositionStrat
|
|
|
626
626
|
}
|
|
627
627
|
return { width: lastCell.getBoundingClientRect().right - firstCell.getBoundingClientRect().left };
|
|
628
628
|
}
|
|
629
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
630
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
629
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: DefaultPopoverEditPositionStrategyFactory, deps: [{ token: i1$1.Directionality }, { token: i2.Overlay }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
630
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: DefaultPopoverEditPositionStrategyFactory }); }
|
|
631
631
|
}
|
|
632
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
632
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: DefaultPopoverEditPositionStrategyFactory, decorators: [{
|
|
633
633
|
type: Injectable
|
|
634
|
-
}], ctorParameters:
|
|
634
|
+
}], ctorParameters: () => [{ type: i1$1.Directionality }, { type: i2.Overlay }] });
|
|
635
635
|
|
|
636
636
|
/**
|
|
637
637
|
* Optimization
|
|
@@ -651,12 +651,12 @@ class EditServices {
|
|
|
651
651
|
this.scrollDispatcher = scrollDispatcher;
|
|
652
652
|
this.viewportRuler = viewportRuler;
|
|
653
653
|
}
|
|
654
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
655
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
654
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: EditServices, deps: [{ token: i1$1.Directionality }, { token: EditEventDispatcher }, { token: FocusDispatcher }, { token: i4.FocusTrapFactory }, { token: i0.NgZone }, { token: i2.Overlay }, { token: PopoverEditPositionStrategyFactory }, { token: i7.ScrollDispatcher }, { token: i7.ViewportRuler }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
655
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: EditServices }); }
|
|
656
656
|
}
|
|
657
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
657
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: EditServices, decorators: [{
|
|
658
658
|
type: Injectable
|
|
659
|
-
}], ctorParameters:
|
|
659
|
+
}], ctorParameters: () => [{ type: i1$1.Directionality }, { type: EditEventDispatcher }, { type: FocusDispatcher }, { type: i4.FocusTrapFactory }, { type: i0.NgZone }, { type: i2.Overlay }, { type: PopoverEditPositionStrategyFactory }, { type: i7.ScrollDispatcher }, { type: i7.ViewportRuler }] });
|
|
660
660
|
|
|
661
661
|
/**
|
|
662
662
|
* Like FocusTrap, but rather than trapping focus within a dom region, notifies subscribers when
|
|
@@ -697,16 +697,16 @@ class FocusEscapeNotifierFactory {
|
|
|
697
697
|
create(element) {
|
|
698
698
|
return new FocusEscapeNotifier(element, this._checker, this._ngZone, this._document);
|
|
699
699
|
}
|
|
700
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
701
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
700
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: FocusEscapeNotifierFactory, deps: [{ token: i4.InteractivityChecker }, { token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
701
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: FocusEscapeNotifierFactory, providedIn: 'root' }); }
|
|
702
702
|
}
|
|
703
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
703
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: FocusEscapeNotifierFactory, decorators: [{
|
|
704
704
|
type: Injectable,
|
|
705
705
|
args: [{ providedIn: 'root' }]
|
|
706
|
-
}], ctorParameters:
|
|
706
|
+
}], ctorParameters: () => [{ type: i4.InteractivityChecker }, { type: i0.NgZone }, { type: undefined, decorators: [{
|
|
707
707
|
type: Inject,
|
|
708
708
|
args: [DOCUMENT]
|
|
709
|
-
}] }]
|
|
709
|
+
}] }] });
|
|
710
710
|
|
|
711
711
|
/** Used for rate-limiting mousemove events. */
|
|
712
712
|
const MOUSE_MOVE_THROTTLE_TIME_MS = 10;
|
|
@@ -769,16 +769,16 @@ class CdkEditable {
|
|
|
769
769
|
.subscribe(this.focusDispatcher.keyObserver);
|
|
770
770
|
});
|
|
771
771
|
}
|
|
772
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
773
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.
|
|
772
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkEditable, deps: [{ token: i0.ElementRef }, { token: EditEventDispatcher }, { token: FocusDispatcher }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
773
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.6", type: CdkEditable, selector: "table[editable], cdk-table[editable], mat-table[editable]", providers: [EditEventDispatcher, EditServices], ngImport: i0 }); }
|
|
774
774
|
}
|
|
775
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
775
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkEditable, decorators: [{
|
|
776
776
|
type: Directive,
|
|
777
777
|
args: [{
|
|
778
778
|
selector: 'table[editable], cdk-table[editable], mat-table[editable]',
|
|
779
779
|
providers: [EditEventDispatcher, EditServices],
|
|
780
780
|
}]
|
|
781
|
-
}], ctorParameters:
|
|
781
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: EditEventDispatcher }, { type: FocusDispatcher }, { type: i0.NgZone }] });
|
|
782
782
|
const POPOVER_EDIT_HOST_BINDINGS = {
|
|
783
783
|
'[attr.tabindex]': 'disabled ? null : 0',
|
|
784
784
|
'class': 'cdk-popover-edit-cell',
|
|
@@ -927,17 +927,17 @@ class CdkPopoverEdit {
|
|
|
927
927
|
this.elementRef.nativeElement.focus();
|
|
928
928
|
}
|
|
929
929
|
}
|
|
930
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
931
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.
|
|
930
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkPopoverEdit, deps: [{ token: EditServices }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
931
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.6", type: CdkPopoverEdit, selector: "[cdkPopoverEdit]:not([cdkPopoverEditTabOut])", inputs: { template: ["cdkPopoverEdit", "template"], context: ["cdkPopoverEditContext", "context"], colspan: ["cdkPopoverEditColspan", "colspan"], disabled: ["cdkPopoverEditDisabled", "disabled"] }, host: { properties: { "attr.tabindex": "disabled ? null : 0", "attr.aria-haspopup": "!disabled" }, classAttribute: "cdk-popover-edit-cell" }, ngImport: i0 }); }
|
|
932
932
|
}
|
|
933
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
933
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkPopoverEdit, decorators: [{
|
|
934
934
|
type: Directive,
|
|
935
935
|
args: [{
|
|
936
936
|
selector: '[cdkPopoverEdit]:not([cdkPopoverEditTabOut])',
|
|
937
937
|
host: POPOVER_EDIT_HOST_BINDINGS,
|
|
938
938
|
inputs: POPOVER_EDIT_INPUTS,
|
|
939
939
|
}]
|
|
940
|
-
}], ctorParameters:
|
|
940
|
+
}], ctorParameters: () => [{ type: EditServices }, { type: i0.ElementRef }, { type: i0.ViewContainerRef }] });
|
|
941
941
|
/**
|
|
942
942
|
* Attaches an ng-template to a cell and shows it when instructed to by the
|
|
943
943
|
* EditEventDispatcher service.
|
|
@@ -960,17 +960,17 @@ class CdkPopoverEditTabOut extends CdkPopoverEdit {
|
|
|
960
960
|
this.closeEditOverlay();
|
|
961
961
|
});
|
|
962
962
|
}
|
|
963
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
964
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.
|
|
963
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkPopoverEditTabOut, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: EditServices }, { token: FocusEscapeNotifierFactory }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
964
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.6", type: CdkPopoverEditTabOut, selector: "[cdkPopoverEdit][cdkPopoverEditTabOut]", inputs: { template: ["cdkPopoverEdit", "template"], context: ["cdkPopoverEditContext", "context"], colspan: ["cdkPopoverEditColspan", "colspan"], disabled: ["cdkPopoverEditDisabled", "disabled"] }, host: { properties: { "attr.tabindex": "disabled ? null : 0", "attr.aria-haspopup": "!disabled" }, classAttribute: "cdk-popover-edit-cell" }, usesInheritance: true, ngImport: i0 }); }
|
|
965
965
|
}
|
|
966
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
966
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkPopoverEditTabOut, decorators: [{
|
|
967
967
|
type: Directive,
|
|
968
968
|
args: [{
|
|
969
969
|
selector: '[cdkPopoverEdit][cdkPopoverEditTabOut]',
|
|
970
970
|
host: POPOVER_EDIT_HOST_BINDINGS,
|
|
971
971
|
inputs: POPOVER_EDIT_INPUTS,
|
|
972
972
|
}]
|
|
973
|
-
}], ctorParameters:
|
|
973
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ViewContainerRef }, { type: EditServices }, { type: FocusEscapeNotifierFactory }] });
|
|
974
974
|
/**
|
|
975
975
|
* A structural directive that shows its contents when the table row containing
|
|
976
976
|
* it is hovered or when an element in the row has focus.
|
|
@@ -1048,15 +1048,15 @@ class CdkRowHoverContent {
|
|
|
1048
1048
|
}
|
|
1049
1049
|
});
|
|
1050
1050
|
}
|
|
1051
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1052
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.
|
|
1051
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkRowHoverContent, deps: [{ token: EditServices }, { token: i0.ElementRef }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1052
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.6", type: CdkRowHoverContent, selector: "[cdkRowHoverContent]", ngImport: i0 }); }
|
|
1053
1053
|
}
|
|
1054
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1054
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkRowHoverContent, decorators: [{
|
|
1055
1055
|
type: Directive,
|
|
1056
1056
|
args: [{
|
|
1057
1057
|
selector: '[cdkRowHoverContent]',
|
|
1058
1058
|
}]
|
|
1059
|
-
}], ctorParameters:
|
|
1059
|
+
}], ctorParameters: () => [{ type: EditServices }, { type: i0.ElementRef }, { type: i0.TemplateRef }, { type: i0.ViewContainerRef }] });
|
|
1060
1060
|
/**
|
|
1061
1061
|
* Opens the closest edit popover to this element, whether it's associated with this exact
|
|
1062
1062
|
* element or an ancestor element.
|
|
@@ -1075,10 +1075,10 @@ class CdkEditOpen {
|
|
|
1075
1075
|
this.editEventDispatcher.editing.next(closest(this.elementRef.nativeElement, CELL_SELECTOR));
|
|
1076
1076
|
evt.stopPropagation();
|
|
1077
1077
|
}
|
|
1078
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1079
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.
|
|
1078
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkEditOpen, deps: [{ token: i0.ElementRef }, { token: EditEventDispatcher }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1079
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.6", type: CdkEditOpen, selector: "[cdkEditOpen]", host: { listeners: { "click": "openEdit($event)" } }, ngImport: i0 }); }
|
|
1080
1080
|
}
|
|
1081
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1081
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkEditOpen, decorators: [{
|
|
1082
1082
|
type: Directive,
|
|
1083
1083
|
args: [{
|
|
1084
1084
|
selector: '[cdkEditOpen]',
|
|
@@ -1086,7 +1086,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4",
|
|
|
1086
1086
|
'(click)': 'openEdit($event)',
|
|
1087
1087
|
},
|
|
1088
1088
|
}]
|
|
1089
|
-
}], ctorParameters:
|
|
1089
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: EditEventDispatcher }] });
|
|
1090
1090
|
|
|
1091
1091
|
const EXPORTED_DECLARATIONS = [
|
|
1092
1092
|
CdkPopoverEdit,
|
|
@@ -1099,8 +1099,8 @@ const EXPORTED_DECLARATIONS = [
|
|
|
1099
1099
|
CdkEditOpen,
|
|
1100
1100
|
];
|
|
1101
1101
|
class CdkPopoverEditModule {
|
|
1102
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1103
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-next.
|
|
1102
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkPopoverEditModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1103
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkPopoverEditModule, declarations: [CdkPopoverEdit,
|
|
1104
1104
|
CdkPopoverEditTabOut,
|
|
1105
1105
|
CdkRowHoverContent,
|
|
1106
1106
|
CdkEditControl,
|
|
@@ -1115,14 +1115,14 @@ class CdkPopoverEditModule {
|
|
|
1115
1115
|
CdkEditClose,
|
|
1116
1116
|
CdkEditable,
|
|
1117
1117
|
CdkEditOpen] }); }
|
|
1118
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1118
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkPopoverEditModule, providers: [
|
|
1119
1119
|
{
|
|
1120
1120
|
provide: PopoverEditPositionStrategyFactory,
|
|
1121
1121
|
useClass: DefaultPopoverEditPositionStrategyFactory,
|
|
1122
1122
|
},
|
|
1123
1123
|
], imports: [OverlayModule] }); }
|
|
1124
1124
|
}
|
|
1125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.
|
|
1125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.6", ngImport: i0, type: CdkPopoverEditModule, decorators: [{
|
|
1126
1126
|
type: NgModule,
|
|
1127
1127
|
args: [{
|
|
1128
1128
|
imports: [OverlayModule],
|