@angular/cdk-experimental 14.0.0-next.8 → 14.0.0-next.9
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/dialog/dialog-config.d.ts +6 -1
- package/esm2020/column-resize/column-resize-directives/column-resize-flex.mjs +3 -3
- package/esm2020/column-resize/column-resize-directives/column-resize.mjs +3 -3
- package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize-flex.mjs +3 -3
- package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize.mjs +3 -3
- package/esm2020/column-resize/column-resize-module.mjs +8 -8
- package/esm2020/column-resize/column-resize-notifier.mjs +6 -6
- package/esm2020/column-resize/column-resize.mjs +3 -3
- package/esm2020/column-resize/column-size-store.mjs +3 -3
- package/esm2020/column-resize/event-dispatcher.mjs +3 -3
- package/esm2020/column-resize/overlay-handle.mjs +3 -3
- package/esm2020/column-resize/resizable.mjs +3 -3
- package/esm2020/column-resize/resize-strategy.mjs +9 -9
- package/esm2020/combobox/combobox-module.mjs +4 -4
- package/esm2020/combobox/combobox-popup.mjs +3 -3
- package/esm2020/combobox/combobox.mjs +3 -3
- package/esm2020/dialog/dialog-config.mjs +1 -1
- package/esm2020/dialog/dialog-container.mjs +5 -5
- package/esm2020/dialog/dialog-module.mjs +4 -4
- package/esm2020/dialog/dialog.mjs +5 -5
- package/esm2020/listbox/listbox-module.mjs +4 -4
- package/esm2020/listbox/listbox.mjs +6 -6
- package/esm2020/menu/context-menu.mjs +12 -48
- package/esm2020/menu/menu-aim.mjs +6 -6
- package/esm2020/menu/menu-bar.mjs +39 -130
- package/esm2020/menu/menu-base.mjs +129 -0
- package/esm2020/menu/menu-group.mjs +9 -9
- package/esm2020/menu/menu-interface.mjs +1 -1
- package/esm2020/menu/menu-item-checkbox.mjs +3 -3
- package/esm2020/menu/menu-item-radio.mjs +4 -6
- package/esm2020/menu/menu-item-selectable.mjs +3 -3
- package/esm2020/menu/menu-item-trigger.mjs +30 -90
- package/esm2020/menu/menu-item.mjs +36 -22
- package/esm2020/menu/menu-module.mjs +4 -4
- package/esm2020/menu/menu-stack.mjs +26 -5
- package/esm2020/menu/menu-trigger.mjs +35 -8
- package/esm2020/menu/menu.mjs +43 -127
- package/esm2020/popover-edit/edit-event-dispatcher.mjs +3 -3
- package/esm2020/popover-edit/edit-ref.mjs +3 -3
- package/esm2020/popover-edit/edit-services.mjs +3 -3
- package/esm2020/popover-edit/focus-dispatcher.mjs +3 -3
- package/esm2020/popover-edit/focus-escape-notifier.mjs +3 -3
- package/esm2020/popover-edit/lens-directives.mjs +9 -9
- package/esm2020/popover-edit/popover-edit-module.mjs +4 -4
- package/esm2020/popover-edit/popover-edit-position-strategy-factory.mjs +6 -6
- package/esm2020/popover-edit/table-directives.mjs +15 -15
- package/esm2020/scrolling/auto-size-virtual-scroll.mjs +3 -3
- package/esm2020/scrolling/scrolling-module.mjs +4 -4
- package/esm2020/selection/row-selection.mjs +3 -3
- package/esm2020/selection/select-all.mjs +3 -3
- package/esm2020/selection/selection-column.mjs +3 -3
- package/esm2020/selection/selection-module.mjs +4 -4
- package/esm2020/selection/selection-toggle.mjs +3 -3
- package/esm2020/selection/selection.mjs +3 -3
- package/esm2020/table-scroll-container/table-scroll-container-module.mjs +4 -4
- package/esm2020/table-scroll-container/table-scroll-container.mjs +3 -3
- package/esm2020/version.mjs +1 -1
- package/fesm2015/cdk-experimental.mjs +1 -1
- package/fesm2015/cdk-experimental.mjs.map +1 -1
- package/fesm2015/column-resize.mjs +50 -50
- package/fesm2015/combobox.mjs +10 -10
- package/fesm2015/dialog.mjs +13 -12
- package/fesm2015/dialog.mjs.map +1 -1
- package/fesm2015/listbox.mjs +10 -10
- package/fesm2015/menu.mjs +353 -445
- package/fesm2015/menu.mjs.map +1 -1
- package/fesm2015/popover-edit.mjs +49 -49
- package/fesm2015/scrolling.mjs +7 -7
- package/fesm2015/selection.mjs +19 -19
- package/fesm2015/table-scroll-container.mjs +7 -7
- package/fesm2020/cdk-experimental.mjs +1 -1
- package/fesm2020/cdk-experimental.mjs.map +1 -1
- package/fesm2020/column-resize.mjs +50 -50
- package/fesm2020/combobox.mjs +10 -10
- package/fesm2020/dialog.mjs +12 -12
- package/fesm2020/dialog.mjs.map +1 -1
- package/fesm2020/listbox.mjs +10 -10
- package/fesm2020/menu.mjs +345 -435
- package/fesm2020/menu.mjs.map +1 -1
- package/fesm2020/popover-edit.mjs +49 -49
- package/fesm2020/scrolling.mjs +7 -7
- package/fesm2020/selection.mjs +19 -19
- package/fesm2020/table-scroll-container.mjs +7 -7
- package/menu/context-menu.d.ts +3 -24
- package/menu/menu-bar.d.ts +9 -50
- package/menu/menu-base.d.ts +64 -0
- package/menu/menu-group.d.ts +2 -2
- package/menu/menu-interface.d.ts +1 -1
- package/menu/menu-item-radio.d.ts +2 -2
- package/menu/menu-item-trigger.d.ts +4 -27
- package/menu/menu-item.d.ts +3 -3
- package/menu/menu-stack.d.ts +17 -2
- package/menu/menu-trigger.d.ts +29 -5
- package/menu/menu.d.ts +9 -49
- package/package.json +2 -2
|
@@ -222,9 +222,9 @@ class EditEventDispatcher {
|
|
|
222
222
|
return this.allRows.pipe(map(mapper), this._startWithNullDistinct);
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
|
-
EditEventDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
226
|
-
EditEventDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
227
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
225
|
+
EditEventDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: EditEventDispatcher, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
226
|
+
EditEventDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: EditEventDispatcher });
|
|
227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: EditEventDispatcher, decorators: [{
|
|
228
228
|
type: Injectable
|
|
229
229
|
}], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
|
|
230
230
|
function computeHoverContentState([firstRow, lastRow, activeRow, hoverRow,]) {
|
|
@@ -329,9 +329,9 @@ class EditRef {
|
|
|
329
329
|
this._form.reset(value || this._revertFormValue);
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
|
-
EditRef.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
333
|
-
EditRef.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
334
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
332
|
+
EditRef.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: EditRef, deps: [{ token: i1.ControlContainer, self: true }, { token: EditEventDispatcher }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
333
|
+
EditRef.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: EditRef });
|
|
334
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: EditRef, decorators: [{
|
|
335
335
|
type: Injectable
|
|
336
336
|
}], ctorParameters: function () { return [{ type: i1.ControlContainer, decorators: [{
|
|
337
337
|
type: Self
|
|
@@ -405,9 +405,9 @@ class FocusDispatcher {
|
|
|
405
405
|
event.preventDefault();
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
|
-
FocusDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
409
|
-
FocusDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
410
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
408
|
+
FocusDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: FocusDispatcher, deps: [{ token: i1$1.Directionality }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
409
|
+
FocusDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: FocusDispatcher, providedIn: 'root' });
|
|
410
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: FocusDispatcher, decorators: [{
|
|
411
411
|
type: Injectable,
|
|
412
412
|
args: [{ providedIn: 'root' }]
|
|
413
413
|
}], ctorParameters: function () { return [{ type: i1$1.Directionality }]; } });
|
|
@@ -540,9 +540,9 @@ class CdkEditControl {
|
|
|
540
540
|
this.elementRef.nativeElement.dispatchEvent(new Event('submit'));
|
|
541
541
|
}
|
|
542
542
|
}
|
|
543
|
-
CdkEditControl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
544
|
-
CdkEditControl.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
545
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
543
|
+
CdkEditControl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkEditControl, deps: [{ token: i0.ElementRef }, { token: EditRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
544
|
+
CdkEditControl.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", 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 });
|
|
545
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkEditControl, decorators: [{
|
|
546
546
|
type: Directive,
|
|
547
547
|
args: [{
|
|
548
548
|
selector: 'form[cdkEditControl]',
|
|
@@ -571,9 +571,9 @@ class CdkEditRevert {
|
|
|
571
571
|
this.editRef.reset();
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
|
-
CdkEditRevert.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
575
|
-
CdkEditRevert.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
576
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
574
|
+
CdkEditRevert.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkEditRevert, deps: [{ token: EditRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
575
|
+
CdkEditRevert.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkEditRevert, selector: "button[cdkEditRevert]", inputs: { type: "type" }, host: { attributes: { "type": "button" }, listeners: { "click": "revertEdit()" } }, ngImport: i0 });
|
|
576
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkEditRevert, decorators: [{
|
|
577
577
|
type: Directive,
|
|
578
578
|
args: [{
|
|
579
579
|
selector: 'button[cdkEditRevert]',
|
|
@@ -605,9 +605,9 @@ class CdkEditClose {
|
|
|
605
605
|
this.editRef.close();
|
|
606
606
|
}
|
|
607
607
|
}
|
|
608
|
-
CdkEditClose.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
609
|
-
CdkEditClose.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
610
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
608
|
+
CdkEditClose.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkEditClose, deps: [{ token: i0.ElementRef }, { token: EditRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
609
|
+
CdkEditClose.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkEditClose, selector: "[cdkEditClose]", host: { listeners: { "click": "closeEdit()", "keydown.enter": "closeEdit()", "keydown.space": "closeEdit()" } }, ngImport: i0 });
|
|
610
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkEditClose, decorators: [{
|
|
611
611
|
type: Directive,
|
|
612
612
|
args: [{
|
|
613
613
|
selector: '[cdkEditClose]',
|
|
@@ -632,9 +632,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6",
|
|
|
632
632
|
*/
|
|
633
633
|
class PopoverEditPositionStrategyFactory {
|
|
634
634
|
}
|
|
635
|
-
PopoverEditPositionStrategyFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
636
|
-
PopoverEditPositionStrategyFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
637
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
635
|
+
PopoverEditPositionStrategyFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: PopoverEditPositionStrategyFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
636
|
+
PopoverEditPositionStrategyFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: PopoverEditPositionStrategyFactory });
|
|
637
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: PopoverEditPositionStrategyFactory, decorators: [{
|
|
638
638
|
type: Injectable
|
|
639
639
|
}] });
|
|
640
640
|
/**
|
|
@@ -683,9 +683,9 @@ class DefaultPopoverEditPositionStrategyFactory extends PopoverEditPositionStrat
|
|
|
683
683
|
return { width: lastCell.getBoundingClientRect().right - firstCell.getBoundingClientRect().left };
|
|
684
684
|
}
|
|
685
685
|
}
|
|
686
|
-
DefaultPopoverEditPositionStrategyFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
687
|
-
DefaultPopoverEditPositionStrategyFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
688
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
686
|
+
DefaultPopoverEditPositionStrategyFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: DefaultPopoverEditPositionStrategyFactory, deps: [{ token: i1$1.Directionality }, { token: i2.Overlay }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
687
|
+
DefaultPopoverEditPositionStrategyFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: DefaultPopoverEditPositionStrategyFactory });
|
|
688
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: DefaultPopoverEditPositionStrategyFactory, decorators: [{
|
|
689
689
|
type: Injectable
|
|
690
690
|
}], ctorParameters: function () { return [{ type: i1$1.Directionality }, { type: i2.Overlay }]; } });
|
|
691
691
|
|
|
@@ -715,9 +715,9 @@ class EditServices {
|
|
|
715
715
|
this.viewportRuler = viewportRuler;
|
|
716
716
|
}
|
|
717
717
|
}
|
|
718
|
-
EditServices.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
719
|
-
EditServices.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
720
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
718
|
+
EditServices.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", 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 });
|
|
719
|
+
EditServices.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: EditServices });
|
|
720
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: EditServices, decorators: [{
|
|
721
721
|
type: Injectable
|
|
722
722
|
}], ctorParameters: function () { return [{ 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 }]; } });
|
|
723
723
|
|
|
@@ -768,9 +768,9 @@ class FocusEscapeNotifierFactory {
|
|
|
768
768
|
return new FocusEscapeNotifier(element, this._checker, this._ngZone, this._document);
|
|
769
769
|
}
|
|
770
770
|
}
|
|
771
|
-
FocusEscapeNotifierFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
772
|
-
FocusEscapeNotifierFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
773
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
771
|
+
FocusEscapeNotifierFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: FocusEscapeNotifierFactory, deps: [{ token: i4.InteractivityChecker }, { token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
772
|
+
FocusEscapeNotifierFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: FocusEscapeNotifierFactory, providedIn: 'root' });
|
|
773
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: FocusEscapeNotifierFactory, decorators: [{
|
|
774
774
|
type: Injectable,
|
|
775
775
|
args: [{ providedIn: 'root' }]
|
|
776
776
|
}], ctorParameters: function () { return [{ type: i4.InteractivityChecker }, { type: i0.NgZone }, { type: undefined, decorators: [{
|
|
@@ -840,9 +840,9 @@ class CdkEditable {
|
|
|
840
840
|
});
|
|
841
841
|
}
|
|
842
842
|
}
|
|
843
|
-
CdkEditable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
844
|
-
CdkEditable.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
845
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
843
|
+
CdkEditable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkEditable, deps: [{ token: i0.ElementRef }, { token: EditEventDispatcher }, { token: FocusDispatcher }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
844
|
+
CdkEditable.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkEditable, selector: "table[editable], cdk-table[editable], mat-table[editable]", providers: [EditEventDispatcher, EditServices], ngImport: i0 });
|
|
845
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkEditable, decorators: [{
|
|
846
846
|
type: Directive,
|
|
847
847
|
args: [{
|
|
848
848
|
selector: 'table[editable], cdk-table[editable], mat-table[editable]',
|
|
@@ -998,9 +998,9 @@ class CdkPopoverEdit {
|
|
|
998
998
|
}
|
|
999
999
|
}
|
|
1000
1000
|
}
|
|
1001
|
-
CdkPopoverEdit.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1002
|
-
CdkPopoverEdit.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1003
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1001
|
+
CdkPopoverEdit.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkPopoverEdit, deps: [{ token: EditServices }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1002
|
+
CdkPopoverEdit.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", 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 });
|
|
1003
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkPopoverEdit, decorators: [{
|
|
1004
1004
|
type: Directive,
|
|
1005
1005
|
args: [{
|
|
1006
1006
|
selector: '[cdkPopoverEdit]:not([cdkPopoverEditTabOut])',
|
|
@@ -1032,9 +1032,9 @@ class CdkPopoverEditTabOut extends CdkPopoverEdit {
|
|
|
1032
1032
|
});
|
|
1033
1033
|
}
|
|
1034
1034
|
}
|
|
1035
|
-
CdkPopoverEditTabOut.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1036
|
-
CdkPopoverEditTabOut.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1037
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1035
|
+
CdkPopoverEditTabOut.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkPopoverEditTabOut, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: EditServices }, { token: FocusEscapeNotifierFactory }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1036
|
+
CdkPopoverEditTabOut.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", 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 });
|
|
1037
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkPopoverEditTabOut, decorators: [{
|
|
1038
1038
|
type: Directive,
|
|
1039
1039
|
args: [{
|
|
1040
1040
|
selector: '[cdkPopoverEdit][cdkPopoverEditTabOut]',
|
|
@@ -1120,9 +1120,9 @@ class CdkRowHoverContent {
|
|
|
1120
1120
|
});
|
|
1121
1121
|
}
|
|
1122
1122
|
}
|
|
1123
|
-
CdkRowHoverContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1124
|
-
CdkRowHoverContent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1123
|
+
CdkRowHoverContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkRowHoverContent, deps: [{ token: EditServices }, { token: i0.ElementRef }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1124
|
+
CdkRowHoverContent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkRowHoverContent, selector: "[cdkRowHoverContent]", ngImport: i0 });
|
|
1125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkRowHoverContent, decorators: [{
|
|
1126
1126
|
type: Directive,
|
|
1127
1127
|
args: [{
|
|
1128
1128
|
selector: '[cdkRowHoverContent]',
|
|
@@ -1147,9 +1147,9 @@ class CdkEditOpen {
|
|
|
1147
1147
|
evt.stopPropagation();
|
|
1148
1148
|
}
|
|
1149
1149
|
}
|
|
1150
|
-
CdkEditOpen.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1151
|
-
CdkEditOpen.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1150
|
+
CdkEditOpen.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkEditOpen, deps: [{ token: i0.ElementRef }, { token: EditEventDispatcher }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1151
|
+
CdkEditOpen.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkEditOpen, selector: "[cdkEditOpen]", host: { listeners: { "click": "openEdit($event)" } }, ngImport: i0 });
|
|
1152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkEditOpen, decorators: [{
|
|
1153
1153
|
type: Directive,
|
|
1154
1154
|
args: [{
|
|
1155
1155
|
selector: '[cdkEditOpen]',
|
|
@@ -1178,8 +1178,8 @@ const EXPORTED_DECLARATIONS = [
|
|
|
1178
1178
|
];
|
|
1179
1179
|
class CdkPopoverEditModule {
|
|
1180
1180
|
}
|
|
1181
|
-
CdkPopoverEditModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1182
|
-
CdkPopoverEditModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1181
|
+
CdkPopoverEditModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkPopoverEditModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1182
|
+
CdkPopoverEditModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkPopoverEditModule, declarations: [CdkPopoverEdit,
|
|
1183
1183
|
CdkPopoverEditTabOut,
|
|
1184
1184
|
CdkRowHoverContent,
|
|
1185
1185
|
CdkEditControl,
|
|
@@ -1194,13 +1194,13 @@ CdkPopoverEditModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ve
|
|
|
1194
1194
|
CdkEditClose,
|
|
1195
1195
|
CdkEditable,
|
|
1196
1196
|
CdkEditOpen] });
|
|
1197
|
-
CdkPopoverEditModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1197
|
+
CdkPopoverEditModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkPopoverEditModule, providers: [
|
|
1198
1198
|
{
|
|
1199
1199
|
provide: PopoverEditPositionStrategyFactory,
|
|
1200
1200
|
useClass: DefaultPopoverEditPositionStrategyFactory,
|
|
1201
1201
|
},
|
|
1202
1202
|
], imports: [[OverlayModule]] });
|
|
1203
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkPopoverEditModule, decorators: [{
|
|
1204
1204
|
type: NgModule,
|
|
1205
1205
|
args: [{
|
|
1206
1206
|
imports: [OverlayModule],
|
package/fesm2020/scrolling.mjs
CHANGED
|
@@ -394,15 +394,15 @@ class CdkAutoSizeVirtualScroll {
|
|
|
394
394
|
this._scrollStrategy.updateBufferSize(this.minBufferPx, this.maxBufferPx);
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
CdkAutoSizeVirtualScroll.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
398
|
-
CdkAutoSizeVirtualScroll.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
397
|
+
CdkAutoSizeVirtualScroll.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkAutoSizeVirtualScroll, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
398
|
+
CdkAutoSizeVirtualScroll.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkAutoSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[autosize]", inputs: { minBufferPx: "minBufferPx", maxBufferPx: "maxBufferPx" }, providers: [
|
|
399
399
|
{
|
|
400
400
|
provide: VIRTUAL_SCROLL_STRATEGY,
|
|
401
401
|
useFactory: _autoSizeVirtualScrollStrategyFactory,
|
|
402
402
|
deps: [forwardRef(() => CdkAutoSizeVirtualScroll)],
|
|
403
403
|
},
|
|
404
404
|
], usesOnChanges: true, ngImport: i0 });
|
|
405
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
405
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkAutoSizeVirtualScroll, decorators: [{
|
|
406
406
|
type: Directive,
|
|
407
407
|
args: [{
|
|
408
408
|
selector: 'cdk-virtual-scroll-viewport[autosize]',
|
|
@@ -429,10 +429,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6",
|
|
|
429
429
|
*/
|
|
430
430
|
class ScrollingModule {
|
|
431
431
|
}
|
|
432
|
-
ScrollingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
433
|
-
ScrollingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
434
|
-
ScrollingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
435
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
432
|
+
ScrollingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: ScrollingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
433
|
+
ScrollingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: ScrollingModule, declarations: [CdkAutoSizeVirtualScroll], exports: [CdkAutoSizeVirtualScroll] });
|
|
434
|
+
ScrollingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: ScrollingModule });
|
|
435
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: ScrollingModule, decorators: [{
|
|
436
436
|
type: NgModule,
|
|
437
437
|
args: [{
|
|
438
438
|
exports: [CdkAutoSizeVirtualScroll],
|
package/fesm2020/selection.mjs
CHANGED
|
@@ -247,9 +247,9 @@ class CdkSelection {
|
|
|
247
247
|
}
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
|
-
CdkSelection.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
251
|
-
CdkSelection.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
250
|
+
CdkSelection.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkSelection, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
251
|
+
CdkSelection.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", 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: "14.0.0-next.9", ngImport: i0, type: CdkSelection, decorators: [{
|
|
253
253
|
type: Directive,
|
|
254
254
|
args: [{
|
|
255
255
|
selector: '[cdkSelection]',
|
|
@@ -348,9 +348,9 @@ class CdkSelectAll {
|
|
|
348
348
|
this._destroyed.complete();
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
|
-
CdkSelectAll.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
352
|
-
CdkSelectAll.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
353
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
351
|
+
CdkSelectAll.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkSelectAll, deps: [{ token: CdkSelection, optional: true }, { token: NG_VALUE_ACCESSOR, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
352
|
+
CdkSelectAll.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkSelectAll, selector: "[cdkSelectAll]", exportAs: ["cdkSelectAll"], ngImport: i0 });
|
|
353
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkSelectAll, decorators: [{
|
|
354
354
|
type: Directive,
|
|
355
355
|
args: [{
|
|
356
356
|
selector: '[cdkSelectAll]',
|
|
@@ -435,9 +435,9 @@ class CdkSelectionToggle {
|
|
|
435
435
|
return this._selection.isSelected(this.value, this.index);
|
|
436
436
|
}
|
|
437
437
|
}
|
|
438
|
-
CdkSelectionToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
439
|
-
CdkSelectionToggle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
440
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
438
|
+
CdkSelectionToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkSelectionToggle, deps: [{ token: CdkSelection, optional: true }, { token: NG_VALUE_ACCESSOR, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
439
|
+
CdkSelectionToggle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkSelectionToggle, selector: "[cdkSelectionToggle]", inputs: { value: ["cdkSelectionToggleValue", "value"], index: ["cdkSelectionToggleIndex", "index"] }, exportAs: ["cdkSelectionToggle"], ngImport: i0 });
|
|
440
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkSelectionToggle, decorators: [{
|
|
441
441
|
type: Directive,
|
|
442
442
|
args: [{
|
|
443
443
|
selector: '[cdkSelectionToggle]',
|
|
@@ -514,8 +514,8 @@ class CdkSelectionColumn {
|
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
|
-
CdkSelectionColumn.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
518
|
-
CdkSelectionColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
517
|
+
CdkSelectionColumn.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkSelectionColumn, deps: [{ token: CdkTable, optional: true }, { token: CdkSelection, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
518
|
+
CdkSelectionColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "14.0.0-next.9", 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
519
|
<ng-container cdkColumnDef>
|
|
520
520
|
<th cdkHeaderCell *cdkHeaderCellDef>
|
|
521
521
|
<input type="checkbox" *ngIf="selection.multiple"
|
|
@@ -536,7 +536,7 @@ CdkSelectionColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
536
536
|
</td>
|
|
537
537
|
</ng-container>
|
|
538
538
|
`, isInline: true, directives: [{ type: i1.CdkColumnDef, selector: "[cdkColumnDef]", inputs: ["sticky", "cdkColumnDef", "stickyEnd"] }, { type: i1.CdkHeaderCellDef, selector: "[cdkHeaderCellDef]" }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: CdkSelectAll, selector: "[cdkSelectAll]", exportAs: ["cdkSelectAll"] }, { type: i1.CdkCellDef, selector: "[cdkCellDef]" }, { type: CdkSelectionToggle, selector: "[cdkSelectionToggle]", inputs: ["cdkSelectionToggleValue", "cdkSelectionToggleIndex"], exportAs: ["cdkSelectionToggle"] }], pipes: { "async": i2.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
539
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
539
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkSelectionColumn, decorators: [{
|
|
540
540
|
type: Component,
|
|
541
541
|
args: [{
|
|
542
542
|
selector: 'cdk-selection-column',
|
|
@@ -613,9 +613,9 @@ class CdkRowSelection {
|
|
|
613
613
|
this._index = coerceNumberProperty(index);
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
|
-
CdkRowSelection.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
617
|
-
CdkRowSelection.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
618
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
616
|
+
CdkRowSelection.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkRowSelection, deps: [{ token: CdkSelection }], target: i0.ɵɵFactoryTarget.Directive });
|
|
617
|
+
CdkRowSelection.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", 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: "14.0.0-next.9", ngImport: i0, type: CdkRowSelection, decorators: [{
|
|
619
619
|
type: Directive,
|
|
620
620
|
args: [{
|
|
621
621
|
selector: '[cdkRowSelection]',
|
|
@@ -641,14 +641,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.6",
|
|
|
641
641
|
*/
|
|
642
642
|
class CdkSelectionModule {
|
|
643
643
|
}
|
|
644
|
-
CdkSelectionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
645
|
-
CdkSelectionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
644
|
+
CdkSelectionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkSelectionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
645
|
+
CdkSelectionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkSelectionModule, declarations: [CdkSelection,
|
|
646
646
|
CdkSelectionToggle,
|
|
647
647
|
CdkSelectAll,
|
|
648
648
|
CdkSelectionColumn,
|
|
649
649
|
CdkRowSelection], imports: [CommonModule, CdkTableModule], exports: [CdkSelection, CdkSelectionToggle, CdkSelectAll, CdkSelectionColumn, CdkRowSelection] });
|
|
650
|
-
CdkSelectionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
651
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
650
|
+
CdkSelectionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkSelectionModule, imports: [[CommonModule, CdkTableModule]] });
|
|
651
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkSelectionModule, decorators: [{
|
|
652
652
|
type: NgModule,
|
|
653
653
|
args: [{
|
|
654
654
|
imports: [CommonModule, CdkTableModule],
|
|
@@ -101,9 +101,9 @@ class CdkTableScrollContainer {
|
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
CdkTableScrollContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
105
|
-
CdkTableScrollContainer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
104
|
+
CdkTableScrollContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkTableScrollContainer, deps: [{ token: i0.ElementRef }, { token: DOCUMENT }, { token: i1.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
105
|
+
CdkTableScrollContainer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", 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: "14.0.0-next.9", ngImport: i0, type: CdkTableScrollContainer, decorators: [{
|
|
107
107
|
type: Directive,
|
|
108
108
|
args: [{
|
|
109
109
|
selector: '[cdkTableScrollContainer]',
|
|
@@ -138,10 +138,10 @@ function computeMargin(sizes) {
|
|
|
138
138
|
*/
|
|
139
139
|
class CdkTableScrollContainerModule {
|
|
140
140
|
}
|
|
141
|
-
CdkTableScrollContainerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
142
|
-
CdkTableScrollContainerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
143
|
-
CdkTableScrollContainerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
141
|
+
CdkTableScrollContainerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkTableScrollContainerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
142
|
+
CdkTableScrollContainerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkTableScrollContainerModule, declarations: [CdkTableScrollContainer], exports: [CdkTableScrollContainer] });
|
|
143
|
+
CdkTableScrollContainerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkTableScrollContainerModule });
|
|
144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkTableScrollContainerModule, decorators: [{
|
|
145
145
|
type: NgModule,
|
|
146
146
|
args: [{
|
|
147
147
|
declarations: [CdkTableScrollContainer],
|
package/menu/context-menu.d.ts
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
6
|
* found in the LICENSE file at https://angular.io/license
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
8
|
+
import { Injector, OnDestroy, ViewContainerRef } from '@angular/core';
|
|
9
9
|
import { Directionality } from '@angular/cdk/bidi';
|
|
10
|
-
import {
|
|
10
|
+
import { Overlay } from '@angular/cdk/overlay';
|
|
11
11
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
12
12
|
import { MenuStack } from './menu-stack';
|
|
13
13
|
import { MenuTrigger } from './menu-trigger';
|
|
@@ -39,26 +39,10 @@ export declare class CdkContextMenuTrigger extends MenuTrigger implements OnDest
|
|
|
39
39
|
private readonly _overlay;
|
|
40
40
|
private readonly _contextMenuTracker;
|
|
41
41
|
private readonly _directionality?;
|
|
42
|
-
/** Template reference variable to the menu to open on right click. */
|
|
43
|
-
private _menuTemplateRef;
|
|
44
|
-
/** A list of preferred menu positions to be used when constructing the `FlexibleConnectedPositionStrategy` for this trigger's menu. */
|
|
45
|
-
menuPosition: ConnectedPosition[];
|
|
46
|
-
/** Emits when the attached menu is requested to open. */
|
|
47
|
-
readonly opened: EventEmitter<void>;
|
|
48
|
-
/** Emits when the attached menu is requested to close. */
|
|
49
|
-
readonly closed: EventEmitter<void>;
|
|
50
42
|
/** Whether the context menu should be disabled. */
|
|
51
43
|
get disabled(): boolean;
|
|
52
44
|
set disabled(value: BooleanInput);
|
|
53
45
|
private _disabled;
|
|
54
|
-
/** A reference to the overlay which manages the triggered menu. */
|
|
55
|
-
private _overlayRef;
|
|
56
|
-
/** The content of the menu panel opened by this trigger. */
|
|
57
|
-
private _menuPortal;
|
|
58
|
-
/** Emits when the element is destroyed. */
|
|
59
|
-
private readonly _destroyed;
|
|
60
|
-
/** Emits when the outside pointer events listener on the overlay should be stopped. */
|
|
61
|
-
private readonly _stopOutsideClicksListener;
|
|
62
46
|
constructor(injector: Injector, _viewContainerRef: ViewContainerRef, _overlay: Overlay, _contextMenuTracker: ContextMenuTracker, menuStack: MenuStack, _directionality?: Directionality | undefined);
|
|
63
47
|
/**
|
|
64
48
|
* Open the attached menu at the specified location.
|
|
@@ -73,8 +57,6 @@ export declare class CdkContextMenuTrigger extends MenuTrigger implements OnDest
|
|
|
73
57
|
* @param event the mouse event which opens the context menu.
|
|
74
58
|
*/
|
|
75
59
|
_openOnContextMenu(event: MouseEvent): void;
|
|
76
|
-
/** Whether the attached menu is open. */
|
|
77
|
-
isOpen(): boolean;
|
|
78
60
|
/**
|
|
79
61
|
* Get the configuration object used to create the overlay.
|
|
80
62
|
* @param coordinates the location to place the opened menu
|
|
@@ -97,9 +79,6 @@ export declare class CdkContextMenuTrigger extends MenuTrigger implements OnDest
|
|
|
97
79
|
* click occurs outside the menus.
|
|
98
80
|
*/
|
|
99
81
|
private _subscribeToOutsideClicks;
|
|
100
|
-
ngOnDestroy(): void;
|
|
101
|
-
/** Destroy and unset the overlay reference it if exists. */
|
|
102
|
-
private _destroyOverlay;
|
|
103
82
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkContextMenuTrigger, [null, null, null, null, null, { optional: true; }]>;
|
|
104
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkContextMenuTrigger, "[cdkContextMenuTriggerFor]", ["cdkContextMenuTriggerFor"], { "_menuTemplateRef": "cdkContextMenuTriggerFor"; "menuPosition": "
|
|
83
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkContextMenuTrigger, "[cdkContextMenuTriggerFor]", ["cdkContextMenuTriggerFor"], { "_menuTemplateRef": "cdkContextMenuTriggerFor"; "menuPosition": "cdkContextMenuPosition"; "disabled": "cdkContextMenuDisabled"; }, { "opened": "cdkContextMenuOpened"; "closed": "cdkContextMenuClosed"; }, never>;
|
|
105
84
|
}
|
package/menu/menu-bar.d.ts
CHANGED
|
@@ -5,13 +5,11 @@
|
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
6
|
* found in the LICENSE file at https://angular.io/license
|
|
7
7
|
*/
|
|
8
|
-
import { AfterContentInit,
|
|
8
|
+
import { AfterContentInit, ElementRef, NgZone, OnDestroy } from '@angular/core';
|
|
9
9
|
import { Directionality } from '@angular/cdk/bidi';
|
|
10
|
-
import { FocusOrigin } from '@angular/cdk/a11y';
|
|
11
|
-
import { CdkMenuGroup } from './menu-group';
|
|
12
|
-
import { Menu } from './menu-interface';
|
|
13
10
|
import { MenuStack } from './menu-stack';
|
|
14
11
|
import { MenuAim } from './menu-aim';
|
|
12
|
+
import { CdkMenuBase } from './menu-base';
|
|
15
13
|
import * as i0 from "@angular/core";
|
|
16
14
|
/**
|
|
17
15
|
* Directive applied to an element which configures it as a MenuBar by setting the appropriate
|
|
@@ -19,70 +17,31 @@ import * as i0 from "@angular/core";
|
|
|
19
17
|
* this directive is applied to should contain components marked with CdkMenuItem.
|
|
20
18
|
*
|
|
21
19
|
*/
|
|
22
|
-
export declare class CdkMenuBar extends
|
|
20
|
+
export declare class CdkMenuBar extends CdkMenuBase implements AfterContentInit, OnDestroy {
|
|
23
21
|
private readonly _ngZone;
|
|
24
|
-
readonly _elementRef: ElementRef<HTMLElement>;
|
|
25
|
-
readonly _menuStack: MenuStack;
|
|
26
22
|
private readonly _menuAim?;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
* Does not affect styling/layout.
|
|
31
|
-
*/
|
|
32
|
-
orientation: 'horizontal' | 'vertical';
|
|
33
|
-
/** Handles keyboard events for the MenuBar. */
|
|
34
|
-
private _keyManager;
|
|
35
|
-
/** Manages items under mouse focus */
|
|
36
|
-
private _pointerTracker?;
|
|
37
|
-
/** Emits when the MenuBar is destroyed. */
|
|
38
|
-
private readonly _destroyed;
|
|
39
|
-
/** All child MenuItem elements nested in this MenuBar. */
|
|
40
|
-
private readonly _allItems;
|
|
41
|
-
/** The Menu Item which triggered the open submenu. */
|
|
42
|
-
private _openItem?;
|
|
43
|
-
constructor(_ngZone: NgZone, _elementRef: ElementRef<HTMLElement>, _menuStack: MenuStack, _menuAim?: MenuAim | undefined, _dir?: Directionality | undefined);
|
|
23
|
+
readonly orientation: 'horizontal' | 'vertical';
|
|
24
|
+
menuStack: MenuStack;
|
|
25
|
+
constructor(_ngZone: NgZone, elementRef: ElementRef<HTMLElement>, menuStack: MenuStack, _menuAim?: MenuAim | undefined, dir?: Directionality);
|
|
44
26
|
ngAfterContentInit(): void;
|
|
45
|
-
|
|
46
|
-
focusFirstItem(focusOrigin?: FocusOrigin): void;
|
|
47
|
-
/** Place focus on the last MenuItem in the menu and set the focus origin. */
|
|
48
|
-
focusLastItem(focusOrigin?: FocusOrigin): void;
|
|
27
|
+
ngOnDestroy(): void;
|
|
49
28
|
/**
|
|
50
29
|
* Handle keyboard events, specifically changing the focused element and/or toggling the active
|
|
51
30
|
* items menu.
|
|
52
31
|
* @param event the KeyboardEvent to handle.
|
|
53
32
|
*/
|
|
54
33
|
_handleKeyEvent(event: KeyboardEvent): void;
|
|
55
|
-
/** Setup the FocusKeyManager with the correct orientation for the menu bar. */
|
|
56
|
-
private _setKeyManager;
|
|
57
34
|
/**
|
|
58
35
|
* Set the PointerFocusTracker and ensure that when mouse focus changes the key manager is updated
|
|
59
36
|
* with the latest menu item under mouse focus.
|
|
60
37
|
*/
|
|
61
38
|
private _subscribeToMouseManager;
|
|
62
|
-
/** Subscribe to the MenuStack close and empty observables. */
|
|
63
|
-
private _subscribeToMenuStack;
|
|
64
|
-
/**
|
|
65
|
-
* Close the open menu if the current active item opened the requested MenuStackItem.
|
|
66
|
-
* @param item the MenuStackItem requested to be closed.
|
|
67
|
-
*/
|
|
68
|
-
private _closeOpenMenu;
|
|
69
39
|
/**
|
|
70
40
|
* Set focus to either the current, previous or next item based on the FocusNext event, then
|
|
71
41
|
* open the previous or next item.
|
|
72
42
|
*/
|
|
73
43
|
private _toggleOpenMenu;
|
|
74
|
-
|
|
75
|
-
* @return true if the menu bar is configured to be horizontal.
|
|
76
|
-
*/
|
|
77
|
-
private _isHorizontal;
|
|
78
|
-
/**
|
|
79
|
-
* Subscribe to the menu trigger's open events in order to track the trigger which opened the menu
|
|
80
|
-
* and stop tracking it when the menu is closed.
|
|
81
|
-
*/
|
|
82
|
-
private _subscribeToMenuOpen;
|
|
83
|
-
/** Return true if the MenuBar has an open submenu. */
|
|
84
|
-
private _hasOpenSubmenu;
|
|
85
|
-
ngOnDestroy(): void;
|
|
44
|
+
private _subscribeToMenuStackEmptied;
|
|
86
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkMenuBar, [null, null, null, { optional: true; self: true; }, { optional: true; }]>;
|
|
87
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkMenuBar, "[cdkMenuBar]", ["cdkMenuBar"], {
|
|
46
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkMenuBar, "[cdkMenuBar]", ["cdkMenuBar"], {}, {}, never>;
|
|
88
47
|
}
|