UNPKG

5.55 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 { OverlayModule } from '@angular/cdk/overlay';
10import { CdkMenu } from './menu';
11import { CdkMenuBar } from './menu-bar';
12import { CdkMenuItem } from './menu-item';
13import { CdkMenuGroup } from './menu-group';
14import { CdkMenuItemRadio } from './menu-item-radio';
15import { CdkMenuItemCheckbox } from './menu-item-checkbox';
16import { CdkMenuTrigger } from './menu-trigger';
17import { CdkContextMenuTrigger } from './context-menu-trigger';
18import { CdkTargetMenuAim } from './menu-aim';
19import * as i0 from "@angular/core";
20const MENU_DIRECTIVES = [
21 CdkMenuBar,
22 CdkMenu,
23 CdkMenuItem,
24 CdkMenuItemRadio,
25 CdkMenuItemCheckbox,
26 CdkMenuTrigger,
27 CdkMenuGroup,
28 CdkContextMenuTrigger,
29 CdkTargetMenuAim,
30];
31/** Module that declares components and directives for the CDK menu. */
32class CdkMenuModule {
33 static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: CdkMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
34 static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: CdkMenuModule, imports: [OverlayModule, CdkMenuBar,
35 CdkMenu,
36 CdkMenuItem,
37 CdkMenuItemRadio,
38 CdkMenuItemCheckbox,
39 CdkMenuTrigger,
40 CdkMenuGroup,
41 CdkContextMenuTrigger,
42 CdkTargetMenuAim], exports: [CdkMenuBar,
43 CdkMenu,
44 CdkMenuItem,
45 CdkMenuItemRadio,
46 CdkMenuItemCheckbox,
47 CdkMenuTrigger,
48 CdkMenuGroup,
49 CdkContextMenuTrigger,
50 CdkTargetMenuAim] }); }
51 static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: CdkMenuModule, imports: [OverlayModule] }); }
52}
53export { CdkMenuModule };
54i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: CdkMenuModule, decorators: [{
55 type: NgModule,
56 args: [{
57 imports: [OverlayModule, ...MENU_DIRECTIVES],
58 exports: MENU_DIRECTIVES,
59 }]
60 }] });
61//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS1tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvY2RrL21lbnUvbWVudS1tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HO0FBRUgsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUMsYUFBYSxFQUFDLE1BQU0sc0JBQXNCLENBQUM7QUFDbkQsT0FBTyxFQUFDLE9BQU8sRUFBQyxNQUFNLFFBQVEsQ0FBQztBQUMvQixPQUFPLEVBQUMsVUFBVSxFQUFDLE1BQU0sWUFBWSxDQUFDO0FBQ3RDLE9BQU8sRUFBQyxXQUFXLEVBQUMsTUFBTSxhQUFhLENBQUM7QUFDeEMsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGNBQWMsQ0FBQztBQUMxQyxPQUFPLEVBQUMsZ0JBQWdCLEVBQUMsTUFBTSxtQkFBbUIsQ0FBQztBQUNuRCxPQUFPLEVBQUMsbUJBQW1CLEVBQUMsTUFBTSxzQkFBc0IsQ0FBQztBQUN6RCxPQUFPLEVBQUMsY0FBYyxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7QUFDOUMsT0FBTyxFQUFDLHFCQUFxQixFQUFDLE1BQU0sd0JBQXdCLENBQUM7QUFDN0QsT0FBTyxFQUFDLGdCQUFnQixFQUFDLE1BQU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