@angular/cdk-experimental 17.3.0 → 18.0.0-next.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/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 +9 -9
- package/esm2022/column-resize/column-resize-notifier.mjs +7 -7
- package/esm2022/column-resize/column-resize.mjs +4 -4
- package/esm2022/column-resize/column-size-store.mjs +4 -4
- package/esm2022/column-resize/event-dispatcher.mjs +4 -4
- package/esm2022/column-resize/overlay-handle.mjs +4 -4
- package/esm2022/column-resize/resizable.mjs +4 -4
- package/esm2022/column-resize/resize-strategy.mjs +10 -10
- package/esm2022/combobox/combobox-module.mjs +5 -5
- package/esm2022/combobox/combobox-popup.mjs +4 -4
- package/esm2022/combobox/combobox.mjs +4 -4
- package/esm2022/popover-edit/edit-event-dispatcher.mjs +4 -4
- package/esm2022/popover-edit/edit-ref.mjs +11 -12
- 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 +4 -4
- package/esm2022/popover-edit/lens-directives.mjs +10 -10
- package/esm2022/popover-edit/popover-edit-module.mjs +5 -5
- package/esm2022/popover-edit/table-directives.mjs +23 -18
- package/esm2022/scrolling/auto-size-virtual-scroll.mjs +4 -4
- package/esm2022/scrolling/scrolling-module.mjs +5 -5
- package/esm2022/selection/row-selection.mjs +4 -4
- package/esm2022/selection/select-all.mjs +4 -4
- package/esm2022/selection/selection-column.mjs +4 -4
- package/esm2022/selection/selection-module.mjs +5 -5
- package/esm2022/selection/selection-toggle.mjs +4 -4
- package/esm2022/selection/selection.mjs +4 -4
- package/esm2022/table-scroll-container/table-scroll-container-module.mjs +5 -5
- package/esm2022/table-scroll-container/table-scroll-container.mjs +4 -4
- 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 +50 -50
- package/fesm2022/column-resize.mjs.map +1 -1
- package/fesm2022/combobox.mjs +10 -10
- package/fesm2022/combobox.mjs.map +1 -1
- package/fesm2022/popover-edit.mjs +57 -52
- package/fesm2022/popover-edit.mjs.map +1 -1
- package/fesm2022/scrolling.mjs +7 -7
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/selection.mjs +19 -19
- package/fesm2022/selection.mjs.map +1 -1
- package/fesm2022/table-scroll-container.mjs +7 -7
- package/fesm2022/table-scroll-container.mjs.map +1 -1
- package/package.json +3 -3
- package/popover-edit/index.d.ts +4 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, Self, EventEmitter, Directive, Input, Inject, NgModule } from '@angular/core';
|
|
2
|
+
import { Injectable, inject, Injector, afterNextRender, Self, EventEmitter, Directive, Input, Inject, afterRender, NgModule } from '@angular/core';
|
|
3
3
|
import { Subject, pipe, combineLatest, Observable, fromEvent, fromEventPattern, merge } from 'rxjs';
|
|
4
|
-
import { distinctUntilChanged, startWith, shareReplay, filter, map, auditTime, audit, debounceTime, skip,
|
|
4
|
+
import { distinctUntilChanged, startWith, shareReplay, filter, map, auditTime, audit, debounceTime, skip, takeUntil, mapTo, throttleTime, share, withLatestFrom } from 'rxjs/operators';
|
|
5
5
|
import * as i1 from '@angular/forms';
|
|
6
6
|
import * as i1$1 from '@angular/cdk/bidi';
|
|
7
7
|
import { RIGHT_ARROW, LEFT_ARROW, DOWN_ARROW, UP_ARROW, hasModifierKey } from '@angular/cdk/keycodes';
|
|
@@ -212,10 +212,10 @@ class EditEventDispatcher {
|
|
|
212
212
|
_mapAllRowsToSingleRow(mapper) {
|
|
213
213
|
return this.allRows.pipe(map(mapper), this._startWithNullDistinct);
|
|
214
214
|
}
|
|
215
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
216
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
215
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: EditEventDispatcher, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
216
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: EditEventDispatcher }); }
|
|
217
217
|
}
|
|
218
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
218
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: EditEventDispatcher, decorators: [{
|
|
219
219
|
type: Injectable
|
|
220
220
|
}], ctorParameters: () => [{ type: i0.NgZone }] });
|
|
221
221
|
function computeHoverContentState([firstRow, lastRow, activeRow, hoverRow,]) {
|
|
@@ -257,16 +257,16 @@ function areMapEntriesEqual(a, b) {
|
|
|
257
257
|
* table that launched it. Provided by CdkEditControl within the lens.
|
|
258
258
|
*/
|
|
259
259
|
class EditRef {
|
|
260
|
-
constructor(_form, _editEventDispatcher
|
|
260
|
+
constructor(_form, _editEventDispatcher) {
|
|
261
261
|
this._form = _form;
|
|
262
262
|
this._editEventDispatcher = _editEventDispatcher;
|
|
263
|
-
this._ngZone = _ngZone;
|
|
264
263
|
/** Emits the final value of this edit instance before closing. */
|
|
265
264
|
this._finalValueSubject = new Subject();
|
|
266
265
|
this.finalValue = this._finalValueSubject;
|
|
267
266
|
/** Emits when the user tabs out of this edit lens before closing. */
|
|
268
267
|
this._blurredSubject = new Subject();
|
|
269
268
|
this.blurred = this._blurredSubject;
|
|
269
|
+
this._injector = inject(Injector);
|
|
270
270
|
this._editEventDispatcher.setActiveEditRef(this);
|
|
271
271
|
}
|
|
272
272
|
/**
|
|
@@ -275,14 +275,14 @@ class EditRef {
|
|
|
275
275
|
* applicable.
|
|
276
276
|
*/
|
|
277
277
|
init(previousFormValue) {
|
|
278
|
-
// Wait for the
|
|
278
|
+
// Wait for the next render before caching the initial value.
|
|
279
279
|
// This ensures that all form controls have been initialized.
|
|
280
|
-
|
|
280
|
+
afterNextRender(() => {
|
|
281
281
|
this.updateRevertValue();
|
|
282
282
|
if (previousFormValue) {
|
|
283
283
|
this.reset(previousFormValue);
|
|
284
284
|
}
|
|
285
|
-
});
|
|
285
|
+
}, { injector: this._injector });
|
|
286
286
|
}
|
|
287
287
|
ngOnDestroy() {
|
|
288
288
|
this._editEventDispatcher.unsetActiveEditRef(this);
|
|
@@ -312,14 +312,14 @@ class EditRef {
|
|
|
312
312
|
reset(value) {
|
|
313
313
|
this._form.reset(value || this._revertFormValue);
|
|
314
314
|
}
|
|
315
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
316
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
315
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: EditRef, deps: [{ token: i1.ControlContainer, self: true }, { token: EditEventDispatcher }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
316
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: EditRef }); }
|
|
317
317
|
}
|
|
318
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: EditRef, decorators: [{
|
|
319
319
|
type: Injectable
|
|
320
320
|
}], ctorParameters: () => [{ type: i1.ControlContainer, decorators: [{
|
|
321
321
|
type: Self
|
|
322
|
-
}] }, { type: EditEventDispatcher }
|
|
322
|
+
}] }, { type: EditEventDispatcher }] });
|
|
323
323
|
|
|
324
324
|
/**
|
|
325
325
|
* Service responsible for moving cell focus around in response to keyboard events.
|
|
@@ -381,10 +381,10 @@ class FocusDispatcher {
|
|
|
381
381
|
}
|
|
382
382
|
event.preventDefault();
|
|
383
383
|
}
|
|
384
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
385
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
384
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: FocusDispatcher, deps: [{ token: i1$1.Directionality }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
385
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: FocusDispatcher, providedIn: 'root' }); }
|
|
386
386
|
}
|
|
387
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
387
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: FocusDispatcher, decorators: [{
|
|
388
388
|
type: Injectable,
|
|
389
389
|
args: [{ providedIn: 'root' }]
|
|
390
390
|
}], ctorParameters: () => [{ type: i1$1.Directionality }] });
|
|
@@ -502,10 +502,10 @@ class CdkEditControl {
|
|
|
502
502
|
_triggerFormSubmit() {
|
|
503
503
|
this.elementRef.nativeElement.dispatchEvent(new Event('submit'));
|
|
504
504
|
}
|
|
505
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
506
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
505
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: CdkEditControl, deps: [{ token: i0.ElementRef }, { token: EditRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
506
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.0+sha-37d1f71", type: CdkEditControl, isStandalone: true, 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 }); }
|
|
507
507
|
}
|
|
508
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
508
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: CdkEditControl, decorators: [{
|
|
509
509
|
type: Directive,
|
|
510
510
|
args: [{
|
|
511
511
|
selector: 'form[cdkEditControl]',
|
|
@@ -534,10 +534,10 @@ class CdkEditRevert {
|
|
|
534
534
|
revertEdit() {
|
|
535
535
|
this.editRef.reset();
|
|
536
536
|
}
|
|
537
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
538
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
537
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: CdkEditRevert, deps: [{ token: EditRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
538
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.0+sha-37d1f71", type: CdkEditRevert, isStandalone: true, selector: "button[cdkEditRevert]", inputs: { type: "type" }, host: { attributes: { "type": "button" }, listeners: { "click": "revertEdit()" } }, ngImport: i0 }); }
|
|
539
539
|
}
|
|
540
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
540
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: CdkEditRevert, decorators: [{
|
|
541
541
|
type: Directive,
|
|
542
542
|
args: [{
|
|
543
543
|
selector: 'button[cdkEditRevert]',
|
|
@@ -569,10 +569,10 @@ class CdkEditClose {
|
|
|
569
569
|
// the same event sequence if focus was moved quickly.
|
|
570
570
|
this.editRef.close();
|
|
571
571
|
}
|
|
572
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
573
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
572
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: CdkEditClose, deps: [{ token: i0.ElementRef }, { token: EditRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
573
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.0+sha-37d1f71", type: CdkEditClose, isStandalone: true, selector: "[cdkEditClose]", host: { listeners: { "click": "closeEdit()", "keydown.enter": "closeEdit()", "keydown.space": "closeEdit()" } }, ngImport: i0 }); }
|
|
574
574
|
}
|
|
575
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
575
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: CdkEditClose, decorators: [{
|
|
576
576
|
type: Directive,
|
|
577
577
|
args: [{
|
|
578
578
|
selector: '[cdkEditClose]',
|
|
@@ -602,10 +602,10 @@ class EditServices {
|
|
|
602
602
|
this.scrollDispatcher = scrollDispatcher;
|
|
603
603
|
this.viewportRuler = viewportRuler;
|
|
604
604
|
}
|
|
605
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
606
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
605
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: EditServices, deps: [{ token: i1$1.Directionality }, { token: EditEventDispatcher }, { token: FocusDispatcher }, { token: i4.FocusTrapFactory }, { token: i0.NgZone }, { token: i5.Overlay }, { token: i6.ScrollDispatcher }, { token: i6.ViewportRuler }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
606
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: EditServices }); }
|
|
607
607
|
}
|
|
608
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
608
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: EditServices, decorators: [{
|
|
609
609
|
type: Injectable
|
|
610
610
|
}], ctorParameters: () => [{ type: i1$1.Directionality }, { type: EditEventDispatcher }, { type: FocusDispatcher }, { type: i4.FocusTrapFactory }, { type: i0.NgZone }, { type: i5.Overlay }, { type: i6.ScrollDispatcher }, { type: i6.ViewportRuler }] });
|
|
611
611
|
|
|
@@ -654,10 +654,10 @@ class FocusEscapeNotifierFactory {
|
|
|
654
654
|
create(element) {
|
|
655
655
|
return new FocusEscapeNotifier(element, this._checker, this._ngZone, this._document);
|
|
656
656
|
}
|
|
657
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
658
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
657
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: FocusEscapeNotifierFactory, deps: [{ token: i4.InteractivityChecker }, { token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
658
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: FocusEscapeNotifierFactory, providedIn: 'root' }); }
|
|
659
659
|
}
|
|
660
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
660
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: FocusEscapeNotifierFactory, decorators: [{
|
|
661
661
|
type: Injectable,
|
|
662
662
|
args: [{ providedIn: 'root' }]
|
|
663
663
|
}], ctorParameters: () => [{ type: i4.InteractivityChecker }, { type: i0.NgZone }, { type: undefined, decorators: [{
|
|
@@ -679,6 +679,10 @@ class CdkEditable {
|
|
|
679
679
|
this.focusDispatcher = focusDispatcher;
|
|
680
680
|
this.ngZone = ngZone;
|
|
681
681
|
this.destroyed = new Subject();
|
|
682
|
+
this._rendered = new Subject();
|
|
683
|
+
afterRender(() => {
|
|
684
|
+
this._rendered.next();
|
|
685
|
+
});
|
|
682
686
|
}
|
|
683
687
|
ngAfterViewInit() {
|
|
684
688
|
this._listenForTableEvents();
|
|
@@ -686,6 +690,7 @@ class CdkEditable {
|
|
|
686
690
|
ngOnDestroy() {
|
|
687
691
|
this.destroyed.next();
|
|
688
692
|
this.destroyed.complete();
|
|
693
|
+
this._rendered.complete();
|
|
689
694
|
}
|
|
690
695
|
_listenForTableEvents() {
|
|
691
696
|
const element = this.elementRef.nativeElement;
|
|
@@ -711,7 +716,7 @@ class CdkEditable {
|
|
|
711
716
|
// Keep track of rows within the table. This is used to know which rows with hover content
|
|
712
717
|
// are first or last in the table. They are kept focusable in case focus enters from above
|
|
713
718
|
// or below the table.
|
|
714
|
-
this.
|
|
719
|
+
this._rendered
|
|
715
720
|
.pipe(
|
|
716
721
|
// Optimization: ignore dom changes while focus is within the table as we already
|
|
717
722
|
// ensure that rows above and below the focused/active row are tabbable.
|
|
@@ -726,10 +731,10 @@ class CdkEditable {
|
|
|
726
731
|
.subscribe(this.focusDispatcher.keyObserver);
|
|
727
732
|
});
|
|
728
733
|
}
|
|
729
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
730
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
734
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: CdkEditable, deps: [{ token: i0.ElementRef }, { token: EditEventDispatcher }, { token: FocusDispatcher }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
735
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.0+sha-37d1f71", type: CdkEditable, isStandalone: true, selector: "table[editable], cdk-table[editable], mat-table[editable]", providers: [EditEventDispatcher, EditServices], ngImport: i0 }); }
|
|
731
736
|
}
|
|
732
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
737
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: CdkEditable, decorators: [{
|
|
733
738
|
type: Directive,
|
|
734
739
|
args: [{
|
|
735
740
|
selector: 'table[editable], cdk-table[editable], mat-table[editable]',
|
|
@@ -917,10 +922,10 @@ class CdkPopoverEdit {
|
|
|
917
922
|
}
|
|
918
923
|
return { width: lastCell.getBoundingClientRect().right - firstCell.getBoundingClientRect().left };
|
|
919
924
|
}
|
|
920
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
921
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
925
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: CdkPopoverEdit, deps: [{ token: EditServices }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
926
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.0+sha-37d1f71", type: CdkPopoverEdit, isStandalone: true, 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 }); }
|
|
922
927
|
}
|
|
923
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
928
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: CdkPopoverEdit, decorators: [{
|
|
924
929
|
type: Directive,
|
|
925
930
|
args: [{
|
|
926
931
|
selector: '[cdkPopoverEdit]:not([cdkPopoverEditTabOut])',
|
|
@@ -951,10 +956,10 @@ class CdkPopoverEditTabOut extends CdkPopoverEdit {
|
|
|
951
956
|
this.closeEditOverlay();
|
|
952
957
|
});
|
|
953
958
|
}
|
|
954
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
955
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
959
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: CdkPopoverEditTabOut, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: EditServices }, { token: FocusEscapeNotifierFactory }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
960
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.0+sha-37d1f71", type: CdkPopoverEditTabOut, isStandalone: true, 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 }); }
|
|
956
961
|
}
|
|
957
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
962
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: CdkPopoverEditTabOut, decorators: [{
|
|
958
963
|
type: Directive,
|
|
959
964
|
args: [{
|
|
960
965
|
selector: '[cdkPopoverEdit][cdkPopoverEditTabOut]',
|
|
@@ -1040,10 +1045,10 @@ class CdkRowHoverContent {
|
|
|
1040
1045
|
}
|
|
1041
1046
|
});
|
|
1042
1047
|
}
|
|
1043
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1044
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1048
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: CdkRowHoverContent, deps: [{ token: EditServices }, { token: i0.ElementRef }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1049
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.0+sha-37d1f71", type: CdkRowHoverContent, isStandalone: true, selector: "[cdkRowHoverContent]", ngImport: i0 }); }
|
|
1045
1050
|
}
|
|
1046
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1051
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: CdkRowHoverContent, decorators: [{
|
|
1047
1052
|
type: Directive,
|
|
1048
1053
|
args: [{
|
|
1049
1054
|
selector: '[cdkRowHoverContent]',
|
|
@@ -1068,10 +1073,10 @@ class CdkEditOpen {
|
|
|
1068
1073
|
this.editEventDispatcher.editing.next(closest(this.elementRef.nativeElement, CELL_SELECTOR));
|
|
1069
1074
|
evt.stopPropagation();
|
|
1070
1075
|
}
|
|
1071
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1072
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1076
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: CdkEditOpen, deps: [{ token: i0.ElementRef }, { token: EditEventDispatcher }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1077
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.0+sha-37d1f71", type: CdkEditOpen, isStandalone: true, selector: "[cdkEditOpen]", host: { listeners: { "click": "openEdit($event)" } }, ngImport: i0 }); }
|
|
1073
1078
|
}
|
|
1074
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1079
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: CdkEditOpen, decorators: [{
|
|
1075
1080
|
type: Directive,
|
|
1076
1081
|
args: [{
|
|
1077
1082
|
selector: '[cdkEditOpen]',
|
|
@@ -1093,8 +1098,8 @@ const EXPORTED_DECLARATIONS = [
|
|
|
1093
1098
|
CdkEditOpen,
|
|
1094
1099
|
];
|
|
1095
1100
|
class CdkPopoverEditModule {
|
|
1096
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1097
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1101
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: CdkPopoverEditModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1102
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: CdkPopoverEditModule, imports: [OverlayModule, CdkPopoverEdit,
|
|
1098
1103
|
CdkPopoverEditTabOut,
|
|
1099
1104
|
CdkRowHoverContent,
|
|
1100
1105
|
CdkEditControl,
|
|
@@ -1109,9 +1114,9 @@ class CdkPopoverEditModule {
|
|
|
1109
1114
|
CdkEditClose,
|
|
1110
1115
|
CdkEditable,
|
|
1111
1116
|
CdkEditOpen] }); }
|
|
1112
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1117
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: CdkPopoverEditModule, imports: [OverlayModule] }); }
|
|
1113
1118
|
}
|
|
1114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.0+sha-37d1f71", ngImport: i0, type: CdkPopoverEditModule, decorators: [{
|
|
1115
1120
|
type: NgModule,
|
|
1116
1121
|
args: [{
|
|
1117
1122
|
imports: [OverlayModule, ...EXPORTED_DECLARATIONS],
|