+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.0-next.3", type: CdkDragDropTabsExample, isStandalone: true, selector: "cdk-drag-drop-tabs-example", ngImport: i0, template: "<mat-tab-group\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n (cdkDropListDropped)=\"drop($event)\"\n cdkDropListElementContainer=\".mat-mdc-tab-labels\"\n class=\"example-drag-tabs\"\n [(selectedIndex)]=\"selectedTabIndex\"\n animationDuration=\"0\">\n @for (tab of tabs; track $index) {\n <mat-tab>\n <ng-template mat-tab-label>\n <span\n cdkDrag\n cdkDragPreviewClass=\"example-drag-tabs-preview\"\n cdkDragRootElement=\".mat-mdc-tab\">{{tab}}</span>\n </ng-template>\n\n <h3>Content for {{tab}}</h3>\n\n Lorem ipsum dolor, sit amet consectetur adipisicing elit. Quidem perspiciatis in delectus\n reprehenderit, molestias ullam nostrum odit, modi consequatur harum beatae? Sapiente\n voluptatibus illo natus assumenda hic quasi dolor et laborum veniam! Molestiae architecto\n nesciunt est quo nisi? Nostrum repellendus quibusdam laudantium? Optio architecto explicabo\n labore sapiente cum alias nobis!\n </mat-tab>\n }\n</mat-tab-group>\n", styles: [".example-drag-tabs.cdk-drop-list-dragging {\n pointer-events: none;\n}\n\n.example-drag-tabs-preview.cdk-drag-animating {\n transition: all 250ms cubic-bezier(0, 0, 0.2, 1);\n}\n\n.mat-mdc-tab.example-drag-tabs-preview {\n outline: dashed 1px #ccc;\n outline-offset: 4px;\n}\n\n.example-drag-tabs .cdk-drag-placeholder {\n opacity: 0.5;\n}\n\n"], dependencies: [{ kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "ngmodule", type: MatTabsModule }, { kind: "directive", type: i1$1.MatTabLabel, selector: "[mat-tab-label], [matTabLabel]" }, { kind: "component", type: i1$1.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }, { kind: "component", type: i1$1.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs", "mat-align-tabs", "dynamicHeight", "selectedIndex", "headerPosition", "animationDuration", "contentTabIndex", "disablePagination", "disableRipple", "preserveContent", "backgroundColor", "aria-label", "aria-labelledby"], outputs: ["selectedIndexChange", "focusChange", "animationDone", "selectedTabChange"], exportAs: ["matTabGroup"] }], encapsulation: i0.ViewEncapsulation.None }); }
0 commit comments