source: trip-planner-front/node_modules/@angular/cdk/esm2015/tree/outlet.js

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 3.1 KB
Line 
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 { Directive, Inject, InjectionToken, Optional, ViewContainerRef, } from '@angular/core';
9/**
10 * Injection token used to provide a `CdkTreeNode` to its outlet.
11 * Used primarily to avoid circular imports.
12 * @docs-private
13 */
14export const CDK_TREE_NODE_OUTLET_NODE = new InjectionToken('CDK_TREE_NODE_OUTLET_NODE');
15/**
16 * Outlet for nested CdkNode. Put `[cdkTreeNodeOutlet]` on a tag to place children dataNodes
17 * inside the outlet.
18 */
19export class CdkTreeNodeOutlet {
20 constructor(viewContainer, _node) {
21 this.viewContainer = viewContainer;
22 this._node = _node;
23 }
24}
25CdkTreeNodeOutlet.decorators = [
26 { type: Directive, args: [{
27 selector: '[cdkTreeNodeOutlet]'
28 },] }
29];
30CdkTreeNodeOutlet.ctorParameters = () => [
31 { type: ViewContainerRef },
32 { type: undefined, decorators: [{ type: Inject, args: [CDK_TREE_NODE_OUTLET_NODE,] }, { type: Optional }] }
33];
34//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0bGV0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2Nkay90cmVlL291dGxldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUc7QUFDSCxPQUFPLEVBQ0wsU0FBUyxFQUNULE1BQU0sRUFDTixjQUFjLEVBQ2QsUUFBUSxFQUNSLGdCQUFnQixHQUNqQixNQUFNLGVBQWUsQ0FBQztBQUV2Qjs7OztHQUlHO0FBQ0gsTUFBTSxDQUFDLE1BQU0seUJBQXlC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