UNPKG

4.97 kBJavaScriptView Raw
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { NgModule } from '@angular/core';
9import { CdkScrollableModule } from '@angular/cdk/scrolling';
10import { CdkDropList } from './directives/drop-list';
11import { CdkDropListGroup } from './directives/drop-list-group';
12import { CdkDrag } from './directives/drag';
13import { CdkDragHandle } from './directives/drag-handle';
14import { CdkDragPreview } from './directives/drag-preview';
15import { CdkDragPlaceholder } from './directives/drag-placeholder';
16import { DragDrop } from './drag-drop';
17import * as i0 from "@angular/core";
18const DRAG_DROP_DIRECTIVES = [
19 CdkDropList,
20 CdkDropListGroup,
21 CdkDrag,
22 CdkDragHandle,
23 CdkDragPreview,
24 CdkDragPlaceholder,
25];
26class DragDropModule {
27 static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: DragDropModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
28 static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: DragDropModule, imports: [CdkDropList,
29 CdkDropListGroup,
30 CdkDrag,
31 CdkDragHandle,
32 CdkDragPreview,
33 CdkDragPlaceholder], exports: [CdkScrollableModule, CdkDropList,
34 CdkDropListGroup,
35 CdkDrag,
36 CdkDragHandle,
37 CdkDragPreview,
38 CdkDragPlaceholder] }); }
39 static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: DragDropModule, providers: [DragDrop], imports: [CdkScrollableModule] }); }
40}
41export { DragDropModule };
42i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: DragDropModule, decorators: [{
43 type: NgModule,
44 args: [{
45 imports: DRAG_DROP_DIRECTIVES,
46 exports: [CdkScrollableModule, ...DRAG_DROP_DIRECTIVES],
47 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