var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { CdkTreeNodeToggle } from '@angular/cdk/tree';
import { Directive, Input } from '@angular/core';
var NtTreeNodeToggleDirective = (function (_super) {
    __extends(NtTreeNodeToggleDirective, _super);
    function NtTreeNodeToggleDirective() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.recursive = false;
        return _this;
    }
    NtTreeNodeToggleDirective_1 = NtTreeNodeToggleDirective;
    var NtTreeNodeToggleDirective_1;
    __decorate([
        Input('ntTreeNodeToggleRecursive')
    ], NtTreeNodeToggleDirective.prototype, "recursive", void 0);
    NtTreeNodeToggleDirective = NtTreeNodeToggleDirective_1 = __decorate([
        Directive({
            selector: '[ntTreeNodeToggle]',
            providers: [{ provide: CdkTreeNodeToggle, useExisting: NtTreeNodeToggleDirective_1 }]
        })
    ], NtTreeNodeToggleDirective);
    return NtTreeNodeToggleDirective;
}(CdkTreeNodeToggle));
export { NtTreeNodeToggleDirective };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9nZ2xlLmRpcmVjdGl2ZS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