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

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

initial commit

  • Property mode set to 100644
File size: 3.6 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, TemplateRef } from '@angular/core';
9/** Context provided to the tree node component. */
10export class CdkTreeNodeOutletContext {
11 constructor(data) {
12 this.$implicit = data;
13 }
14}
15/**
16 * Data node definition for the CdkTree.
17 * Captures the node's template and a when predicate that describes when this node should be used.
18 */
19export class CdkTreeNodeDef {
20 /** @docs-private */
21 constructor(template) {
22 this.template = template;
23 }
24}
25CdkTreeNodeDef.decorators = [
26 { type: Directive, args: [{
27 selector: '[cdkTreeNodeDef]',
28 inputs: [
29 'when: cdkTreeNodeDefWhen'
30 ],
31 },] }
32];
33CdkTreeNodeDef.ctorParameters = () => [
34 { type: TemplateRef }
35];
36//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9kZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jZGsvdHJlZS9ub2RlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRztBQUVILE9BQU8sRUFBQyxTQUFTLEVBQUUsV0FBVyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBR3JELG1EQUFtRDtBQUNuRCxNQUFNLE9BQU8sd0JBQXdCO0lBYW5DLFlBQVksSUFBTztRQUNqQixJQUFJLENBQUMsU0FBUyxHQUFHLElBQUksQ0FBQztJQUN4QixDQUFDO0NBQ0Y7QUFFRDs7O0dBR0c7QUFPSCxNQUFNLE9BQU8sY0FBYztJQVV6QixvQkFBb0I7SUFDcEIsWUFBbUIsUUFBMEI7UUFBMUI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