UNPKG

gw3-web-guid

Version:

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.14.

1,960 lines 89.1 kB
(function (global, factory) {
    typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/platform-browser'), require('@angular/router'), require('rxjs/operators'), require('@ng-bootstrap/ng-bootstrap'), require('@angular/animations')) :
    typeof define === 'function' && define.amd ? define('gw3-web-guid', ['exports', '@angular/core', '@angular/common', '@angular/platform-browser', '@angular/router', 'rxjs/operators', '@ng-bootstrap/ng-bootstrap', '@angular/animations'], factory) :
    (global = global || self, factory(global['gw3-web-guid'] = {}, global.ng.core, global.ng.common, global.ng.platformBrowser, global.ng.router, global.rxjs.operators, global.ngBootstrap, global.ng.animations));
}(this, (function (exports, core, common, platformBrowser, router, operators, ngBootstrap, animations) { 'use strict';

    /*! *****************************************************************************
    Copyright (c) Microsoft Corporation. All rights reserved.
    Licensed under the Apache License, Version 2.0 (the "License"); you may not use
    this file except in compliance with the License. You may obtain a copy of the
    License at http://www.apache.org/licenses/LICENSE-2.0

    THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
    WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
    MERCHANTABLITY OR NON-INFRINGEMENT.

    See the Apache Version 2.0 License for specific language governing permissions
    and limitations under the License.
    ***************************************************************************** */
    /* global Reflect, Promise */

    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);
    };

    function __extends(d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    }

    var __assign = function() {
        __assign = Object.assign || function __assign(t) {
            for (var s, i = 1, n = arguments.length; i < n; i++) {
                s = arguments[i];
                for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
            }
            return t;
        };
        return __assign.apply(this, arguments);
    };

    function __rest(s, e) {
        var t = {};
        for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
            t[p] = s[p];
        if (s != null && typeof Object.getOwnPropertySymbols === "function")
            for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
                if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
                    t[p[i]] = s[p[i]];
            }
        return t;
    }

    function __decorate(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;
    }

    function __param(paramIndex, decorator) {
        return function (target, key) { decorator(target, key, paramIndex); }
    }

    function __metadata(metadataKey, metadataValue) {
        if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
    }

    function __awaiter(thisArg, _arguments, P, generator) {
        return new (P || (P = Promise))(function (resolve, reject) {
            function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
            function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
            function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
            step((generator = generator.apply(thisArg, _arguments || [])).next());
        });
    }

    function __generator(thisArg, body) {
        var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
        return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
        function verb(n) { return function (v) { return step([n, v]); }; }
        function step(op) {
            if (f) throw new TypeError("Generator is already executing.");
            while (_) try {
                if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
                if (y = 0, t) op = [op[0] & 2, t.value];
                switch (op[0]) {
                    case 0: case 1: t = op; break;
                    case 4: _.label++; return { value: op[1], done: false };
                    case 5: _.label++; y = op[1]; op = [0]; continue;
                    case 7: op = _.ops.pop(); _.trys.pop(); continue;
                    default:
                        if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
                        if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
                        if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
                        if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
                        if (t[2]) _.ops.pop();
                        _.trys.pop(); continue;
                }
                op = body.call(thisArg, _);
            } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
            if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
        }
    }

    function __exportStar(m, exports) {
        for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
    }

    function __values(o) {
        var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0;
        if (m) return m.call(o);
        return {
            next: function () {
                if (o && i >= o.length) o = void 0;
                return { value: o && o[i++], done: !o };
            }
        };
    }

    function __read(o, n) {
        var m = typeof Symbol === "function" && o[Symbol.iterator];
        if (!m) return o;
        var i = m.call(o), r, ar = [], e;
        try {
            while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
        }
        catch (error) { e = { error: error }; }
        finally {
            try {
                if (r && !r.done && (m = i["return"])) m.call(i);
            }
            finally { if (e) throw e.error; }
        }
        return ar;
    }

    function __spread() {
        for (var ar = [], i = 0; i < arguments.length; i++)
            ar = ar.concat(__read(arguments[i]));
        return ar;
    }

    function __spreadArrays() {
        for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
        for (var r = Array(s), k = 0, i = 0; i < il; i++)
            for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
                r[k] = a[j];
        return r;
    };

    function __await(v) {
        return this instanceof __await ? (this.v = v, this) : new __await(v);
    }

    function __asyncGenerator(thisArg, _arguments, generator) {
        if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
        var g = generator.apply(thisArg, _arguments || []), i, q = [];
        return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
        function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
        function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
        function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
        function fulfill(value) { resume("next", value); }
        function reject(value) { resume("throw", value); }
        function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
    }

    function __asyncDelegator(o) {
        var i, p;
        return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
        function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
    }

    function __asyncValues(o) {
        if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
        var m = o[Symbol.asyncIterator], i;
        return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
        function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
        function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
    }

    function __makeTemplateObject(cooked, raw) {
        if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
        return cooked;
    };

    function __importStar(mod) {
        if (mod && mod.__esModule) return mod;
        var result = {};
        if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
        result.default = mod;
        return result;
    }

    function __importDefault(mod) {
        return (mod && mod.__esModule) ? mod : { default: mod };
    }

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/gw3-web-guid.service.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */
    var Gw3WebGuidService = /** @class */ (function () {
        function Gw3WebGuidService() {
        }
        Gw3WebGuidService.decorators = [
            { type: core.Injectable, args: [{
                        providedIn: 'root'
                    },] }
        ];
        /** @nocollapse */
        Gw3WebGuidService.ctorParameters = function () { return []; };
        /** @nocollapse */ Gw3WebGuidService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function Gw3WebGuidService_Factory() { return new Gw3WebGuidService(); }, token: Gw3WebGuidService, providedIn: "root" });
        return Gw3WebGuidService;
    }());

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/gw3-web-guid.component.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */
    var Gw3WebGuidComponent = /** @class */ (function () {
        function Gw3WebGuidComponent() {
        }
        /**
         * @return {?}
         */
        Gw3WebGuidComponent.prototype.ngOnInit = /**
         * @return {?}
         */
        function () {
        };
        Gw3WebGuidComponent.decorators = [
            { type: core.Component, args: [{
                        selector: 'lib-gw3-web-guid',
                        template: "\n    <p>\n      gw3-web-guid works!\n    </p>\n  "
                    }] }
        ];
        /** @nocollapse */
        Gw3WebGuidComponent.ctorParameters = function () { return []; };
        return Gw3WebGuidComponent;
    }());

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/gw3-guid-test/components/tree-view/tree-view.component.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */
    var TreeViewComponent = /** @class */ (function () {
        function TreeViewComponent() {
        }
        /**
         * @return {?}
         */
        TreeViewComponent.prototype.ngOnInit = /**
         * @return {?}
         */
        function () {
        };
        TreeViewComponent.decorators = [
            { type: core.Component, args: [{
                        selector: 'gw1-tree-view',
                        template: "<p>tree-view works!</p>\n",
                        styles: [""]
                    }] }
        ];
        /** @nocollapse */
        TreeViewComponent.ctorParameters = function () { return []; };
        return TreeViewComponent;
    }());

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/gw3-web-guid.module.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */
    var Gw3WebGuidModule = /** @class */ (function () {
        function Gw3WebGuidModule() {
        }
        Gw3WebGuidModule.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [Gw3WebGuidComponent, TreeViewComponent],
                        imports: [],
                        exports: [Gw3WebGuidComponent]
                    },] }
        ];
        return Gw3WebGuidModule;
    }());

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/breadcrumb/breadcrumb.component.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */
    var BreadcrumbComponent = /** @class */ (function () {
        function BreadcrumbComponent(router$1, activatedRoute, titleService) {
            var _this = this;
            this.router = router$1;
            this.activatedRoute = activatedRoute;
            this.titleService = titleService;
            this.breadcrumbEvent = new core.EventEmitter();
            this.router.events
                .pipe(operators.filter((/**
             * @param {?} event
             * @return {?}
             */
            function (event) { return event instanceof router.NavigationEnd; })))
                .pipe(operators.map((/**
             * @return {?}
             */
            function () { return _this.activatedRoute; })))
                .pipe(operators.map((/**
             * @param {?} route
             * @return {?}
             */
            function (route) {
                while (route.firstChild) {
                    route = route.firstChild;
                }
                return route;
            })))
                .pipe(operators.filter((/**
             * @param {?} route
             * @return {?}
             */
            function (route) { return route.outlet === 'primary'; })))
                .pipe(operators.mergeMap((/**
             * @param {?} route
             * @return {?}
             */
            function (route) { return route.data; })))
                .subscribe((/**
             * @param {?} event
             * @return {?}
             */
            function (event) {
                _this.titleService.setTitle(event['title']);
                _this.pageInfo = event;
            }));
        }
        /**
         * @return {?}
         */
        BreadcrumbComponent.prototype.ngOnInit = /**
         * @return {?}
         */
        function () { };
        /**
         * @param {?} title
         * @return {?}
         */
        BreadcrumbComponent.prototype.redirectBack = /**
         * @param {?} title
         * @return {?}
         */
        function (title) {
            // console.log(this.router, '..bread-ruta..', this.titleService.getTitle());
            // console.log('..title..', title);
            /*this.router.navigate(['../'], {relativeTo: this.activatedRoute});*/
            /** @type {?} */
            var url = this.activatedRoute.snapshot.url;
            /** @type {?} */
            var link = (url[0] && url[0].path) || '';
            /** @type {?} */
            var relativeUrl = link ? "../" + link : "./" + link;
            // console.log(url, '..bread-ruta..', link);
            // this.router.navigate([relativeUrl], { relativeTo: this.activatedRoute });
        };
        /**
         * @return {?}
         */
        BreadcrumbComponent.prototype.eventBreadcrumb = /**
         * @return {?}
         */
        function () {
            this.breadcrumbEvent.emit(this);
        };
        BreadcrumbComponent.decorators = [
            { type: core.Component, args: [{
                        selector: 'gw1-breadcrumb',
                        template: "<!-- ============================================================== -->\r\n<!-- Bread crumb and right sidebar toggle -->\r\n<!-- ============================================================== -->\r\n<div class=\"page-breadcrumb\">\r\n    <div class=\"row\">\r\n        <div class=\"col-12 align-self-center\">\r\n            <h4 class=\"page-title\">{{pageInfo?.title}}</h4>\r\n            <div class=\"d-flex align-items-center\">\r\n                <nav aria-label=\"breadcrumb\">\r\n                    <ol class=\"breadcrumb\">\r\n                        <ng-template ngFor let-url [ngForOf]=\"pageInfo?.urls\" let-last=\"last\">\r\n                            <li class=\"breadcrumb-item\" *ngIf=\"!last\">\r\n                                <a (click)=\"eventBreadcrumb()\">{{url.title}}</a>\r\n                            </li>\r\n                            <li class=\"breadcrumb-item active\" *ngIf=\"last\">{{url.title}}</li>\r\n                        </ng-template>\r\n                    </ol>\r\n                </nav>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>\r\n<!-- <div class=\"page-breadcrumb\">\r\n        <div class=\"row\">\r\n            <div class=\"col-12 align-self-center\">\r\n                <h4 class=\"page-title\">{{pageInfo?.title}}</h4>\r\n                <div class=\"d-flex align-items-center\">\r\n                    <nav aria-label=\"breadcrumb\">\r\n                        <ol class=\"breadcrumb\">\r\n                            <ng-template ngFor let-url [ngForOf]=\"pageInfo?.urls\" let-last=\"last\">\r\n                                <li class=\"breadcrumb-item\" *ngIf=\"!last\">\r\n                                    <a (click)=\"redirectBack(url.url)\">{{url.title}}</a>\r\n                                </li>\r\n                                <li class=\"breadcrumb-item active\" *ngIf=\"last\">{{url.title}}</li>\r\n                            </ng-template>\r\n                        </ol>\r\n                    </nav>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div> -->\r\n<!-- ============================================================== -->\r\n<!-- End Bread crumb and right sidebar toggle -->\r\n<!-- ============================================================== -->",
                        styles: ["@charset \"UTF-8\";.page-breadcrumb{padding:10px 10px 0 15px}.page-breadcrumb .page-title{margin-bottom:0}.page-breadcrumb .breadcrumb{padding:0;margin:0;background:0 0;font-size:12px}.page-breadcrumb .breadcrumb .breadcrumb-item+.breadcrumb-item::before{content:\"\uE649\";font-family:themify;color:#ccc;font-size:11px}"]
                    }] }
        ];
        /** @nocollapse */
        BreadcrumbComponent.ctorParameters = function () { return [
            { type: router.Router },
            { type: router.ActivatedRoute },
            { type: platformBrowser.Title }
        ]; };
        BreadcrumbComponent.propDecorators = {
            layout: [{ type: core.Input }],
            breadcrumbEvent: [{ type: core.Output }]
        };
        return BreadcrumbComponent;
    }());
    if (false) {
        /** @type {?} */
        BreadcrumbComponent.prototype.layout;
        /** @type {?} */
        BreadcrumbComponent.prototype.breadcrumbEvent;
        /** @type {?} */
        BreadcrumbComponent.prototype.pageInfo;
        /**
         * @type {?}
         * @private
         */
        BreadcrumbComponent.prototype.router;
        /**
         * @type {?}
         * @private
         */
        BreadcrumbComponent.prototype.activatedRoute;
        /**
         * @type {?}
         * @private
         */
        BreadcrumbComponent.prototype.titleService;
    }

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/breadcrumb/breadcrumb.module.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */
    var Gw1BreadcrumbIconModule = /** @class */ (function () {
        function Gw1BreadcrumbIconModule() {
        }
        Gw1BreadcrumbIconModule.decorators = [
            { type: core.NgModule, args: [{
                        imports: [
                            common.CommonModule,
                        ],
                        exports: [
                            BreadcrumbComponent,
                        ],
                        declarations: [
                            BreadcrumbComponent,
                        ],
                        providers: [],
                    },] }
        ];
        return Gw1BreadcrumbIconModule;
    }());

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/breadcrumb/index.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/button-icon/button-icon.component.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */
    // import { abcForms } from '../standardizer';
    var AppButtonIconComponent = /** @class */ (function () {
        function AppButtonIconComponent() {
            this.class = 'btn btn-primary';
            this.icon = 'fa fa-plus-circle';
            this.label = 'Nuevo';
        }
        /**
         * @return {?}
         */
        AppButtonIconComponent.prototype.ngOnInit = /**
         * @return {?}
         */
        function () {
        };
        AppButtonIconComponent.decorators = [
            { type: core.Component, args: [{
                        selector: 'gw1-button-icon',
                        template: "<button class=\"btn {{colorClass}} btn-sm\" [title]=\"title || ''\" [routerLink]=\"routerLink\" [disabled]=\"isDisabled\">\r\n<!-- <button class=\"btn lamb-btn-block btn-sm\" [title]=\"title || ''\" [routerLink]=\"routerLink\">\r\n    <a class=\"btn lamb-btn-block btn-sm\" [title]=\"title || ''\" [routerLink]=\"routerLink\"> -->\r\n    <span class=\"{{ icon }}\" [ngClass]=\"{'lamb-icon': !onlyIcon }\"></span>\r\n    <span *ngIf=\"!onlyIcon\"> {{ label }}</span>\r\n    <!-- </a> -->\r\n</button>",
                        styles: [".lamb-icon{margin-right:3px}@media (max-width:550px){.lamb-btn-block{display:block;width:100%}}"]
                    }] }
        ];
        /** @nocollapse */
        AppButtonIconComponent.ctorParameters = function () { return []; };
        AppButtonIconComponent.propDecorators = {
            class: [{ type: core.Input }],
            colorClass: [{ type: core.Input }],
            label: [{ type: core.Input }],
            isDisabled: [{ type: core.Input }],
            routerLink: [{ type: core.Input }],
            onlyIcon: [{ type: core.Input }],
            icon: [{ type: core.Input }],
            title: [{ type: core.Input }]
        };
        return AppButtonIconComponent;
    }());
    if (false) {
        /** @type {?} */
        AppButtonIconComponent.prototype.class;
        /** @type {?} */
        AppButtonIconComponent.prototype.colorClass;
        /** @type {?} */
        AppButtonIconComponent.prototype.label;
        /** @type {?} */
        AppButtonIconComponent.prototype.isDisabled;
        /** @type {?} */
        AppButtonIconComponent.prototype.routerLink;
        /** @type {?} */
        AppButtonIconComponent.prototype.onlyIcon;
        /** @type {?} */
        AppButtonIconComponent.prototype.icon;
        /** @type {?} */
        AppButtonIconComponent.prototype.title;
    }

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/button-icon/button-icon.module.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */
    var Gw3ButtonIconModule = /** @class */ (function () {
        function Gw3ButtonIconModule() {
        }
        Gw3ButtonIconModule.decorators = [
            { type: core.NgModule, args: [{
                        imports: [
                            common.CommonModule,
                            router.RouterModule,
                        ],
                        exports: [
                            AppButtonIconComponent,
                        ],
                        declarations: [
                            AppButtonIconComponent,
                        ],
                        providers: [],
                    },] }
        ];
        return Gw3ButtonIconModule;
    }());

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/button-icon/index.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/confirm-dialog/confirm-dialog.component.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */
    var ConfirmDialogComponent = /** @class */ (function () {
        function ConfirmDialogComponent(activeModal) {
            this.activeModal = activeModal;
        }
        /**
         * @return {?}
         */
        ConfirmDialogComponent.prototype.ngOnInit = /**
         * @return {?}
         */
        function () {
        };
        /**
         * @return {?}
         */
        ConfirmDialogComponent.prototype.cancel = /**
         * @return {?}
         */
        function () {
            // this.activeModal.close(false);
            this.activeModal.dismiss(false);
        };
        /**
         * @return {?}
         */
        ConfirmDialogComponent.prototype.ok = /**
         * @return {?}
         */
        function () {
            this.activeModal.close({ daa: 'ola Soy guido' });
        };
        /**
         * @return {?}
         */
        ConfirmDialogComponent.prototype.dismiss = /**
         * @return {?}
         */
        function () {
            // this.activeModal.close(true);
            this.activeModal.dismiss(false);
        };
        ConfirmDialogComponent.decorators = [
            { type: core.Component, args: [{
                        selector: 'gw1-confirm-dialog',
                        template: "<div class=\"modal-header\">\r\n    <h6 class=\"modal-title\">{{ title }}</h6>\r\n    <button type=\"button\" class=\"close\" aria-label=\"Close\" (click)=\"dismiss()\">\r\n        <span aria-hidden=\"true\">&times;</span>\r\n    </button>\r\n</div>\r\n<div class=\"modal-body\">\r\n    {{ message }}\r\n</div>\r\n<div class=\"modal-footer\">\r\n    <button type=\"submit\" class=\"btn btn-light btn-sm\" (click)=\"cancel()\" autofocus>{{ btnCancelText }}</button>\r\n    <button type=\"button\" class=\"btn btn-primary btn-sm\" (click)=\"ok()\" >{{ btnOkText }}</button>\r\n</div>",
                        styles: [""]
                    }] }
        ];
        /** @nocollapse */
        ConfirmDialogComponent.ctorParameters = function () { return [
            { type: ngBootstrap.NgbActiveModal }
        ]; };
        ConfirmDialogComponent.propDecorators = {
            title: [{ type: core.Input }],
            message: [{ type: core.Input }],
            btnOkText: [{ type: core.Input }],
            btnCancelText: [{ type: core.Input }]
        };
        return ConfirmDialogComponent;
    }());
    if (false) {
        /** @type {?} */
        ConfirmDialogComponent.prototype.title;
        /** @type {?} */
        ConfirmDialogComponent.prototype.message;
        /** @type {?} */
        ConfirmDialogComponent.prototype.btnOkText;
        /** @type {?} */
        ConfirmDialogComponent.prototype.btnCancelText;
        /**
         * @type {?}
         * @private
         */
        ConfirmDialogComponent.prototype.activeModal;
    }

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/confirm-dialog/messages.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */
    /** @type {?} */
    var message = {
        confirmDelete: '¿Estas seguro de Eliminar este registro?',
        confirmUpdate: '¿Estas seguro de Actualizar este registro?',
        confirmSave: '¿Estas seguro de Guardar?',
        confirmState: '¿Estas seguro de Cambiar Estado?',
        confirmDefault: '¿Estas seguro de realizar la Acción?',
    };

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/confirm-dialog/confirm-dialog.service.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */
    /**
     * @record
     */
    function Options() { }
    if (false) {
        /** @type {?|undefined} */
        Options.prototype.title;
        /** @type {?|undefined} */
        Options.prototype.message;
        /** @type {?|undefined} */
        Options.prototype.btnOkText;
        /** @type {?|undefined} */
        Options.prototype.btnCancelText;
        /** @type {?|undefined} */
        Options.prototype.dialogSize;
    }
    var ConfirmDialogService = /** @class */ (function () {
        function ConfirmDialogService(gwModalService) {
            this.gwModalService = gwModalService;
        }
        /**
         * Confirm
         * @param options opctional JSON Obtions
         * @param action X = XXX; D = Delete; U = Update; S = Save
         */
        /**
         * Confirm
         * @param {?=} options opctional JSON Obtions
         * @param {?=} action X = XXX; D = Delete; U = Update; S = Save
         * @return {?}
         */
        ConfirmDialogService.prototype.confirm = /**
         * Confirm
         * @param {?=} options opctional JSON Obtions
         * @param {?=} action X = XXX; D = Delete; U = Update; S = Save
         * @return {?}
         */
        function (options, action) {
            if (options === void 0) { options = {}; }
            /** @type {?} */
            var modalRef = this.gwModalService.open(ConfirmDialogComponent, { centered: true });
            // const modalRef =
            // this.lambModalService.open(ConfirmDialogComponent,
            // { size: (options.dialogSize ? options.dialogSize : this.config.dialogSize) });
            modalRef.componentInstance.title
                = options.title ? options.title : this.config.title;
            modalRef.componentInstance.message
                = options.message ? options.message : this.getMessage(action);
            modalRef.componentInstance.btnOkText
                = options.btnOkText ? options.btnOkText : this.config.btnOkText;
            modalRef.componentInstance.btnCancelText
                = options.btnCancelText ? options.btnCancelText : this.config.btnCancelText;
            return modalRef.result;
        };
        /**
         * @param {?=} options
         * @return {?}
         */
        ConfirmDialogService.prototype.confirmDelete = /**
         * @param {?=} options
         * @return {?}
         */
        function (options) {
            if (options === void 0) { options = {}; }
            return this.confirm(options, 'D');
        };
        /**
         * @param {?=} options
         * @return {?}
         */
        ConfirmDialogService.prototype.confirmUpdate = /**
         * @param {?=} options
         * @return {?}
         */
        function (options) {
            if (options === void 0) { options = {}; }
            return this.confirm(options, 'U');
        };
        /**
         * @param {?=} options
         * @return {?}
         */
        ConfirmDialogService.prototype.confirmSave = /**
         * @param {?=} options
         * @return {?}
         */
        function (options) {
            if (options === void 0) { options = {}; }
            return this.confirm(options, 'S');
        };
        /**
         * @param {?=} options
         * @return {?}
         */
        ConfirmDialogService.prototype.confirmState = /**
         * @param {?=} options
         * @return {?}
         */
        function (options) {
            if (options === void 0) { options = {}; }
            return this.confirm(options, 'E');
        };
        /**
         * @private
         * @param {?} action
         * @return {?}
         */
        ConfirmDialogService.prototype.getMessage = /**
         * @private
         * @param {?} action
         * @return {?}
         */
        function (action) {
            switch (action) {
                case 'D': {
                    return message.confirmDelete;
                }
                case 'U': {
                    return message.confirmUpdate;
                }
                case 'E': {
                    return message.confirmState;
                }
                case 'S': {
                    return message.confirmSave;
                }
                default: {
                    return this.config.message;
                }
            }
        };
        Object.defineProperty(ConfirmDialogService.prototype, "config", {
            /**
             * Config for default.
             */
            get: /**
             * Config for default.
             * @return {?}
             */
            function () {
                return {
                    title: 'Confirmación',
                    message: message.confirmDefault,
                    btnOkText: 'OK',
                    btnCancelText: 'CANCEL',
                    dialogSize: 'lg',
                };
            },
            enumerable: true,
            configurable: true
        });
        ConfirmDialogService.decorators = [
            { type: core.Injectable }
        ];
        /** @nocollapse */
        ConfirmDialogService.ctorParameters = function () { return [
            { type: ngBootstrap.NgbModal }
        ]; };
        return ConfirmDialogService;
    }());
    if (false) {
        /**
         * @type {?}
         * @private
         */
        ConfirmDialogService.prototype.gwModalService;
    }

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/confirm-dialog/confirm-dialog.module.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */
    var Gw3ConfirmDialogModule = /** @class */ (function () {
        function Gw3ConfirmDialogModule() {
        }
        Gw3ConfirmDialogModule.decorators = [
            { type: core.NgModule, args: [{
                        imports: [
                            ngBootstrap.NgbModalModule
                        ],
                        declarations: [
                            ConfirmDialogComponent
                        ],
                        providers: [
                            ConfirmDialogService
                        ],
                        entryComponents: [
                            ConfirmDialogComponent
                        ],
                    },] }
        ];
        return Gw3ConfirmDialogModule;
    }());

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/confirm-dialog/index.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/divider/divider-config.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */
    var DividerConfigService = /** @class */ (function () {
        function DividerConfigService() {
            this.icon = '';
            this.description = '';
            this.title = '';
        }
        DividerConfigService.decorators = [
            { type: core.Injectable }
        ];
        return DividerConfigService;
    }());
    if (false) {
        /** @type {?} */
        DividerConfigService.prototype.icon;
        /** @type {?} */
        DividerConfigService.prototype.description;
        /** @type {?} */
        DividerConfigService.prototype.title;
    }

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/divider/divider.component.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */
    var Gw3DividerComponent = /** @class */ (function () {
        function Gw3DividerComponent() {
        }
        /**
         * @return {?}
         */
        Gw3DividerComponent.prototype.ngOnInit = /**
         * @return {?}
         */
        function () {
        };
        Gw3DividerComponent.decorators = [
            { type: core.Component, args: [{
                        selector: 'gw1-divider',
                        template: "\n        <span class=\"{{ icon }}\"></span>\n        <span class=\"lamb-title\">{{ title }} </span>\n        <p>{{ description }}</p>\n        <hr>\n    ",
                        styles: ["hr{margin-top:.3rem}span{margin-right:.5rem}p{opacity:.8;margin-bottom:0;font-style:italic}"]
                    }] }
        ];
        /** @nocollapse */
        Gw3DividerComponent.ctorParameters = function () { return []; };
        Gw3DividerComponent.propDecorators = {
            icon: [{ type: core.Input }],
            title: [{ type: core.Input }],
            description: [{ type: core.Input }]
        };
        return Gw3DividerComponent;
    }());
    if (false) {
        /** @type {?} */
        Gw3DividerComponent.prototype.icon;
        /** @type {?} */
        Gw3DividerComponent.prototype.title;
        /** @type {?} */
        Gw3DividerComponent.prototype.description;
    }

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/divider/divider.module.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */
    var Gw3DividerModule = /** @class */ (function () {
        function Gw3DividerModule() {
        }
        Gw3DividerModule.decorators = [
            { type: core.NgModule, args: [{
                        imports: [
                            common.CommonModule,
                        ],
                        exports: [
                            Gw3DividerComponent,
                        ],
                        declarations: [
                            Gw3DividerComponent,
                        ],
                        providers: [
                            DividerConfigService,
                        ],
                    },] }
        ];
        return Gw3DividerModule;
    }());

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/divider/index.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/fieldset/fieldset.component.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */
    /**
     * Reveal fieldset component.
     *
     * \@example
     *
     *
     * <app-fieldset>
     *  Mi Contenido
     * </app-fieldset>
     *
     *
     * <app-fieldset>
     *   <app-fieldset-head>
     *     <app-fieldset-icon [icon]="fa fa-home"></app-fieldset-icon>
     *     <app-fieldset-title>Mi título</app-fieldset-title>
     *   </app-fieldset-head>
     *     <app-fieldset-body>
     *       Mi contenido
     *     </app-fieldset-body>
     * </app-fieldset>
     *
     */
    var AppFieldsetComponent = /** @class */ (function () {
        function AppFieldsetComponent() {
        }
        /**
         * @return {?}
         */
        AppFieldsetComponent.prototype.ngOnInit = /**
         * @return {?}
         */
        function () { };
        AppFieldsetComponent.decorators = [
            { type: core.Component, args: [{
                        selector: 'gw1-fieldset',
                        template: "\n    <fieldset class=\"fieldset-border\">\n        <legend class=\"legend-border\">\n            <ng-content select=\"gw1-fieldset-head\"></ng-content>\n        </legend>\n        <ng-content></ng-content>\n        <ng-content select=\"gw1-fieldset-body\"></ng-content>\n    </fieldset>\n    ",
                        styles: ["fieldset.fieldset-border{border:1px groove #ddd!important;padding:0 1em 1em!important;box-shadow:0 0 0 0 #000}legend.legend-border{font-size:1em!important;font-weight:700!important;text-align:left!important;width:auto;padding:0 10px;border-bottom:none}"]
                    }] }
        ];
        /** @nocollapse */
        AppFieldsetComponent.ctorParameters = function () { return []; };
        return AppFieldsetComponent;
    }());
    /**
     * Reveal fieldset head component.
     *
     * \@example
     *
     * ```
     * <app-fieldset-head>
     *  Mi título
     * </app-fieldset-head>
     * ```
     * \@example
     *
     * ```
     * <app-fieldset-head>
     *   <app-fieldset-title> Mi Titulo </app-fieldset-title>
     *   <app-fieldset-icon icon="fa fa-home"></app-fieldset-icon>
     * </app-fieldset-head>
     * ```
     */
    var AppFieldsetHeadComponent = /** @class */ (function () {
        function AppFieldsetHeadComponent() {
        }
        AppFieldsetHeadComponent.decorators = [
            { type: core.Component, args: [{
                        selector: 'gw1-fieldset-head',
                        template: "\n        <ng-content></ng-content>\n        <ng-content caption=\"gn-fieldset-icon\" ></ng-content>\n        <ng-content caption=\"gn-fieldset-title\"></ng-content>\n    "
                    }] }
        ];
        /** @nocollapse */
        AppFieldsetHeadComponent.ctorParameters = function () { return []; };
        return AppFieldsetHeadComponent;
    }());
    /**
     * Reveal fieldset body component.
     *
     * \@example
     *
     * ```
     * <app-fieldset-body>
     *  Mi Contenido
     * </app-fieldset-body>
     * ```
     */
    var AppFieldsetBodyComponent = /** @class */ (function () {
        function AppFieldsetBodyComponent() {
        }
        AppFieldsetBodyComponent.decorators = [
            { type: core.Component, args: [{
                        selector: 'gw1-fieldset-body',
                        template: "\n        <ng-content></ng-content>\n    "
                    }] }
        ];
        /** @nocollapse */
        AppFieldsetBodyComponent.ctorParameters = function () { return []; };
        return AppFieldsetBodyComponent;
    }());
    /**
     * Reveal fieldset title component.
     *
     * \@example
     *
     * ```
     * <app-fieldset-title>
     *  Mi Titulo
     * </app-fieldset-title>
     * ```
     */
    var AppFieldsetTitleComponent = /** @class */ (function () {
        function AppFieldsetTitleComponent() {
        }
        AppFieldsetTitleComponent.decorators = [
            { type: core.Component, args: [{
                        selector: 'gw1-fieldset-title',
                        template: "\n    <ng-content></ng-content>\n    "
                    }] }
        ];
        /** @nocollapse */
        AppFieldsetTitleComponent.ctorParameters = function () { return []; };
        return AppFieldsetTitleComponent;
    }());
    /**
     * Reveal fieldset icon component.
     *
     * \@example
     *
     * ```
     * <app-fieldset-icon icon="fa fa-home"></app-fieldset-icon>
     * ```
     */
    var AppFieldsetIconComponent = /** @class */ (function () {
        function AppFieldsetIconComponent() {
        }
        AppFieldsetIconComponent.decorators = [
            { type: core.Component, args: [{
                        selector: 'gw1-fieldset-icon',
                        template: "\n    <span class=\"{{ icon }} gn-icon\" ></span>\n    ",
                        styles: [" .gn-icon {\n                font-size: medium;\n                margin-right: 6px;\n            }\n        "]
                    }] }
        ];
        /** @nocollapse */
        AppFieldsetIconComponent.ctorParameters = function () { return []; };
        AppFieldsetIconComponent.propDecorators = {
            icon: [{ type: core.Input }]
        };
        return AppFieldsetIconComponent;
    }());
    if (false) {
        /** @type {?} */
        AppFieldsetIconComponent.prototype.icon;
    }
    /** @type {?} */
    var App_FIELDSET_COMPONENTS = [
        AppFieldsetComponent,
        AppFieldsetHeadComponent,
        AppFieldsetTitleComponent,
        AppFieldsetBodyComponent,
        AppFieldsetIconComponent,
    ];

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/fieldset/fieldset.module.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */
    var Gw3FieldsetModule = /** @class */ (function () {
        function Gw3FieldsetModule() {
        }
        Gw3FieldsetModule.decorators = [
            { type: core.NgModule, args: [{
                        imports: [],
                        exports: __spread(App_FIELDSET_COMPONENTS),
                        declarations: __spread(App_FIELDSET_COMPONENTS),
                        providers: [],
                    },] }
        ];
        return Gw3FieldsetModule;
    }());

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/fieldset/index.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/input-icon/input-icon.component.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */
    var LambInputIconComponent = /** @class */ (function () {
        function LambInputIconComponent() {
            this.justify = 'end';
        }
        /**
         * @return {?}
         */
        LambInputIconComponent.prototype.ngOnInit = /**
         * @return {?}
         */
        function () {
        };
        LambInputIconComponent.decorators = [
            { type: core.Component, args: [{
                        selector: 'gw1-input-icon',
                        template: "<div class=\"inner-addon {{ justify }}-addon\">\r\n  <ng-content></ng-content>\r\n</div>",
                        styles: ["::ng-deep .inner-addon{position:relative}::ng-deep .inner-addon .fa{position:absolute;top:25%;padding-right:.5rem;padding-left:.5rem;pointer-events:none;font-size:initial}.start-addon .fa{left:0}.start-addon input{padding-left:30px}.end-addon .fa{right:0}.end-addon input{padding-right:30px}"]
                    }] }
        ];
        /** @nocollapse */
        LambInputIconComponent.ctorParameters = function () { return []; };
        LambInputIconComponent.propDecorators = {
            justify: [{ type: core.Input }]
        };
        return LambInputIconComponent;
    }());
    if (false) {
        /** @type {?} */
        LambInputIconComponent.prototype.justify;
    }

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/input-icon/input-icon.module.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */
    var gw3InputIconModule = /** @class */ (function () {
        function gw3InputIconModule() {
        }
        gw3InputIconModule.decorators = [
            { type: core.NgModule, args: [{
                        imports: [],
                        exports: [LambInputIconComponent],
                        declarations: [LambInputIconComponent],
                        providers: [],
                    },] }
        ];
        return gw3InputIconModule;
    }());

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/input-icon/index.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/steps/animations/slide-of-right.animation.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */
    /** @type {?} */
    var slideOfRight = animations.trigger('slideOfRight', [
        animations.transition(':enter', [
            animations.style({ transform: 'translateX(100%)', opacity: 0 }),
            animations.animate('.35s', animations.style({ transform: 'translateX(0)', 'opacity': 1 })),
        ]),
        animations.transition(':leave', [
            animations.style({ transform: 'translateX(0)', 'opacity': 1 }),
            animations.animate('.35s', animations.style({ transform: 'translateX(100%)', 'opacity': 0 })),
        ]),
        // state('next', style({ height: '0px', transform: 'scaleY(0)' /*opacity: 0*/ })),
        animations.state('next', animations.style({ height: '*', transform: 'scaleY(1)' /*opacity: 1*/ })),
        animations.state('back', animations.style({ height: '6px', transform: 'scaleY(0)' /*opacity: 1*/ })),
        animations.transition('* => back', [
            animations.style({ transform: 'translateX(100%)', display: 'block' }),
            animations.animate('.35s', animations.style({ transform: 'translateX(0)', display: 'none' })),
        ]),
        animations.transition('* => next', [
            animations.style({ transform: 'translateX(0)', display: 'none' }),
            animations.animate('.35s', animations.style({ transform: 'translateX(100%)', display: 'block' })),
        ]),
    ]);

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/steps/step-config.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */
    var ConfigNames = /** @class */ (function () {
        function ConfigNames(buttonBack, buttonNext, buttonFinish) {
            this.buttonBack = buttonBack;
            this.buttonNext = buttonNext;
            this.buttonFinish = buttonFinish;
        }
        return ConfigNames;
    }());
    if (false) {
        /** @type {?} */
        ConfigNames.prototype.buttonBack;
        /** @type {?} */
        ConfigNames.prototype.buttonNext;
        /** @type {?} */
        ConfigNames.prototype.buttonFinish;
    }
    var AppStepConfig = /** @class */ (function () {
        function AppStepConfig() {
            // justify: 'start' | 'center' | 'end' | 'fill' | 'justified';
            // orientation: 'horizontal' | 'vertical';
            // type: 'tabss' | 'pills';
            this.justify = 'center';
            this.orientation = 'horizontal';
            // type: 'tabss' | 'pills' = 'tabss';
            this.type = 'stepss';
            this.configNames = new ConfigNames('Anterior', 'Siguiente', 'Finalizar');
        }
        AppStepConfig.decorators = [
            { type: core.Injectable }
        ];
        return AppStepConfig;
    }());
    if (false) {
        /** @type {?} */
        AppStepConfig.prototype.justify;
        /** @type {?} */
        AppStepConfig.prototype.orientation;
        /** @type {?} */
        AppStepConfig.prototype.type;
        /** @type {?} */
        AppStepConfig.prototype.configNames;
    }

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/steps/steps.component.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */
    // import { LambStepConfig, ConfigNames } from '@lamb/steps/step-config';
    // import { slideOfRight } from '@lamb/steps/animations/slide-of-right.animation';
    var AppStepTitleDirective = /** @class */ (function () {
        function AppStepTitleDirective(templateRef) {
            this.templateRef = templateRef;
        }
        AppStepTitleDirective.decorators = [
            { type: core.Directive, args: [{
                        selector: 'ng-template[appStepTitle]',
                    },] }
        ];
        /** @nocollapse */
        AppStepTitleDirective.ctorParameters = function () { return [
            { type: core.TemplateRef }
        ]; };
        return AppStepTitleDirective;
    }());
    if (false) {
        /** @type {?} */
        AppStepTitleDirective.prototype.templateRef;
    }
    var AppStepContentDirective = /** @class */ (function () {
        function AppStepContentDirective(templateRef) {
            this.templateRef = templateRef;
        }
        AppStepContentDirective.decorators = [
            { type: core.Directive, args: [{
                        selector: 'ng-template[appStepContent]',
                    },] }
        ];
        /** @nocollapse */
        AppStepContentDirective.ctorParameters = function () { return [
            { type: core.TemplateRef }
        ]; };
        return AppStepContentDirective;
    }());
    if (false) {
        /** @type {?} */
        AppStepContentDirective.prototype.templateRef;
    }
    /** @type {?} */
    var nextId = 0;
    var AppStepDirective = /** @class */ (function () {
        function AppStepDirective() {
            this.id = "app-step-" + nextId++;
            this.disabled = false;
            // @Input() disabled = true;
            this.isValidStep = true;
        }
        Object.defineProperty(AppStepDirective.prototype, "validStep", {
            // public isValidStep: boolean = false;
            set: 
            // public isValidStep: boolean = false;
            /**
             * @param {?} value
             * @return {?}
             */
            function (value) {
                this.isValidStep = (value === 'true' || value === true) ? true : false;
            },
            enumerable: true,
            configurable: true
        });
        AppStepDirective.decorators = [
            { type: core.Directive, args: [{
                        // tslint:disable-next-line:directive-selector
                        selector: 'gw1-step',
                    },] }
        ];
        AppStepDirective.propDecorators = {
            id: [{ type: core.Input }],
            title: [{ type: core.Input }],
            icon: [{ type: core.Input }],
            data: [{ type: core.Input }],
            disabled: [{ type: core.Input }],
            validStep: [{ type: core.Input }],
            titleTemplate: [{ type: core.ContentChild, args: [AppStepTitleDirective, { static: false },] }],
            contentTemplate: [{ type: core.ContentChild, args: [AppStepContentDirective, { static: false },] }]
        };
        return AppStepDirective;
    }());
    if (false) {
        /** @type {?} */
        AppStepDirective.prototype.id;
        /** @type {?} */
        AppStepDirective.prototype.title;
        /** @type {?} */
        AppStepDirective.prototype.icon;
        /**
         * Guarda Cualquier dato. Creado por el Equipo Lamb.
         * @type {?}
         */
        AppStepDirective.prototype.data;
        /** @type {?} */
        AppStepDirective.prototype.disabled;
        /** @type {?} */
        AppStepDirective.prototype.isValidStep;
        /** @type {?} */
        AppStepDirective.prototype.titleTemplate;
        /** @type {?} */
        AppStepDirective.prototype.contentTemplate;
    }
    /**
     * @record
     */
    function AppStepChangeEvent() { }
    if (false) {
        /**
         * Id de la pestaña actualmente activa.
         * @type {?}
         */
        AppStepChangeEvent.prototype.activeId;
        /**
         * Id de la pestaña recién seleccionada.
         * @type {?}
         */
        AppStepChangeEvent.prototype.nextId;
        /**
         * data guardada en la pestaña actualmente activa.
         * @type {?}
         */
        AppStepChangeEvent.prototype.activeData;
        /**
         * Función que evitará el cambio de pertaña si se llama.
         * @type {?}
         */
        AppStepChangeEvent.prototype.preventDefault;
    }
    var AppStepGroupComponent = /** @class */ (function () {
        function AppStepGroupComponent(config) {
            this.config = config;
            this.hideContent = false;
            /**
             * Cuando cambia de step se destruira el contenido anterior o solo se oculatará?
             */
            // @Input() destroyOnHide: boolean = true;
            this.destroyOnHide = false;
            /**
             * Emite cuando hay cambios de steps.
             */
            this.stepChange = new core.EventEmitter();
            // tslint:disable-next-line: no-output-on-prefix
            this.onComplete = new core.EventEmitter();
            this.type = this.config.type;
            this.justify = this.config.justify;
            this.orientation = this.config.orientation;
            this.iConfigNames = this.config.configNames;
        }
        Object.defineProperty(AppStepGroupComponent.prototype, "configNames", {
            set: /**
             * @param {?} confign
             * @return {?}
             */
            function (confign) {
                this.iConfigNames.buttonBack = confign.buttonBack || this.iConfigNames.buttonBack;
                this.iConfigNames.buttonNext = confign.buttonNext || this.iConfigNames.buttonNext;
                this.iConfigNames.buttonFinish = confign.buttonFinish || this.iConfigNames.buttonFinish;
            },
            enumerable: true,
            configurable: true
        });
        Object.defineProperty(AppStepGroupComponent.prototype, "justify", {
            set: /**
             * @param {?} className
             * @return {?}
             */
            function (className) {
                if (className === 'fill' || className === 'justified') {
                    this.justifyClass = "nav-" + className;
                }
                else {
                    this.justifyClass = "justify-content-" + className;
                }
            },
            enumerable: true,
            configurable: true
        });
        /**
         * @param {?} stepId
         * @return {?}
         */
        AppStepGroupComponent.prototype.onSelect = /**
         * @param {?} stepId
         * @return {?}
         */
        function (stepId) {
            /** @type {?} */
            var selectedStep = this.getStepById(stepId);
            /** @type {?} */
            var selectedActive = this.getStepById(this.activeId);
            // console.log('selectedStep');
            // console.log(selectedStep);
            if (selectedStep && !selectedStep.disabled && this.activeId !== selectedStep.id) {
                /** @type {?} */
                var defaultPrevented_1 = false;
                this.stepChange.emit({
                    activeId: this.activeId,
                    activeData: selectedActive.data || null,
                    nextId: selectedStep.id,
                    preventDefault: (/**
                     * @return {?}
                     */
                    function () { defaultPrevented_1 = true; }),
                });
                if (!defaultPrevented_1) {
                    this.activeId = selectedStep.id;
                }
            }
        };
        /**
         * @return {?}
         */
        AppStepGroupComponent.prototype.ngOnInit = /**
         * @return {?}
         */
        function () {
        };
        /**
         * @return {?}
         */
        AppStepGroupComponent.prototype.ngAfterContentChecked = /**
         * @return {?}
         */
        function () {
            /** @type {?} */
            var activeStep = this.getStepById(this.activeId);
            this.activeId = activeStep ? activeStep.id : (this.steps.length ? this.steps.first.id : null);
        };
        /**
         * @private
         * @param {?} id
         * @return {?}
         */
        AppStepGroupComponent.prototype.getStepById = /**
         * @private
         * @param {?} id
         * @return {?}
         */
        function (id) {
            /** @type {?} */
            var stepsWithId = this.steps.filter((/**
             * @param {?} step
             * @return {?}
             */
            function (step) { return step.id === id; }));
            return stepsWithId.length ? stepsWithId[0] : null;
        };
        /**
         * @return {?}
         */
        AppStepGroupComponent.prototype.back = /**
         * @return {?}
         */
        function () {
            /** @type {?} */
            var back = this.getStepIdSplice(-1);
            this.onSelect(back);
        };
        /**
         * @return {?}
         */
        AppStepGroupComponent.prototype.next = /**
         * @return {?}
         */
        function () {
            /** @type {?} */
            var next = this.getStepIdSplice(+1);
            this.onSelect(next);
        };
        /**
         * @return {?}
         */
        AppStepGroupComponent.prototype.complete = /**
         * @return {?}
         */
        function () {
            this.onComplete.emit();
        };
        /**
         * @param {?} stepId
         * @return {?}
         */
        AppStepGroupComponent.prototype.current = /**
         * @param {?} stepId
         * @return {?}
         */
        function (stepId) {
            this.onSelect(stepId);
        };
        /**
         * @private
         * @param {?} condicion
         * @return {?}
         */
        AppStepGroupComponent.prototype.getStepIdSplice = /**
         * @private
         * @param {?} condicion
         * @return {?}
         */
        function (condicion) {
            /** @type {?} */
            var actual = this.activeId;
            /** @type {?} */
            var splice = actual.slice(0, actual.length - 1);
            /** @type {?} */
            var index = parseInt(actual.slice((actual.length - 1), actual.length), 10);
            /** @type {?} */
            var next = "" + splice + (index + (condicion));
            return next;
        };
        Object.defineProperty(AppStepGroupComponent.prototype, "hidePrevious", {
            get: /**
             * @return {?}
             */
            function () {
                return this.activeId !== 'app-step-0';
            },
            enumerable: true,
            configurable: true
        });
        Object.defineProperty(AppStepGroupComponent.prototype, "hideNext", {
            get: /**
             * @return {?}
             */
            function () {
                /** @type {?} */
                var allLength = (this.steps.length - 1);
                return this.activeId !== 'app-step-' + allLength;
            },
            enumerable: true,
            configurable: true
        });
        /**
         * @param {?} stepId
         * @return {?}
         */
        AppStepGroupComponent.prototype.hideLineRight = /**
         * @param {?} stepId
         * @return {?}
         */
        function (stepId) {
            /** @type {?} */
            var step = parseInt(stepId.slice(stepId.length - 1, stepId.length), 10);
            return (this.steps.length !== (step + 1));
        };
        /**
         * @return {?}
         */
        AppStepGroupComponent.prototype.ngOnDestroy = /**
         * @return {?}
         */
        function () {
            nextId = 0;
        };
        AppStepGroupComponent.decorators = [
            { type: core.Component, args: [{
                        selector: 'gw1-step-group',
                        template: "<!-- <ul class=\"nav justify-content-center\" id=\"myStep\" role=\"steplist\"> -->\r\n<ul [class]=\"'nav lamb-nav-tabs nav-' + type + (orientation == 'horizontal'? ' ' + justifyClass : ' flex-column' )\" id=\"myStep\"\r\n    role=\"steplist\">\r\n\r\n    <!-- <ng-template ngFor let-step [ngForOf]=\"steps\" *ngFor=\"let step of steps\"> -->\r\n    <ng-template ngFor let-step [ngForOf]=\"steps\">\r\n        <li class=\"nav-item\">\r\n            <a [id]=\"step.id\" class=\"nav-link\" [class.active]=\"step.id === activeId\" [class.disabled]=\"step.disabled || !step.isValidStep\"\r\n                role=\"step\" [attr.stepindex]=\"(step.disabled || !step.isValidStep ? '-1': undefined)\"\r\n                [attr.aria-controls]=\"(!destroyOnHide || step.id === activeId ? step.id + '-panel': null)\" [attr.aria-expanded]=\"step.id === activeId\"\r\n                [attr.aria-disabled]=\"step.disabled || !step.isValidStep\" (click)=\"current(step.id)\"><!---->\r\n                <!-- (click)=\"!!onSelect(step.id)\" | Yo Guido declaro haber modificado el codigo de vitmar jhonson, pero si funciona la cosa...vamos con f\u00E9--> \r\n                <!-- data-toggle=\"step\" aria-selected=\"true\" -->\r\n                <ng-template [ngIf]=\"step.icon\">\r\n                    <span class=\"lamb-round-tabs\" [title]=\"step.title\">\r\n                        <i class=\"{{ step.icon }} lamb-icon\"></i>\r\n                    </span>\r\n                </ng-template>\r\n                <br>\r\n                <span class=\"lamb-round-text\">\r\n                    {{ step.title }}\r\n                </span>\r\n                <ng-template [ngTemplateOutlet]=\"step.titleTemplate?.templateRef\"></ng-template>\r\n            </a>\r\n        </li>\r\n        <li class=\"nav-line\" *ngIf=\"hideLineRight(step.id)\">\r\n            <div class=\"lamb-liner\"></div>\r\n        </li>\r\n    </ng-template>\r\n\r\n    <!-- <ng-content select=\"lamb-step-head\"></ng-content> -->\r\n</ul>\r\n<div class=\"tab-content lamb-content\" id=\"myStepContent\">\r\n    <!-- <ng-content select=\"lamb-step-body\"></ng-content> -->\r\n    <ng-template ngFor let-step [ngForOf]=\"steps\">\r\n        <!-- class=\"step-pane fade {{ step.id === activeId ? 'active': null }}\" -->\r\n        <!--\r\n        <div [@slideOfRight]=\"((step.id === activeId) && (status === 'next')) ? 'next': 'back'\" class=\"tab-pane {{ step.id === activeId ? 'active': 'active' }}\"\r\n            *ngIf=\"!destroyOnHide || step.id === activeId\" role=\"steppanel\" [attr.aria-labelledby]=\"step.id\" id=\"{{ step.id }}-panel\"\r\n            [attr.aria-expanded]=\"step.id === activeId\"> -->\r\n\r\n        <div class=\"tab-pane {{ step.id === activeId ? 'active': null }}\" *ngIf=\"!destroyOnHide || step.id === activeId\" role=\"steppanel\"\r\n            [attr.aria-labelledby]=\"step.id\" id=\"{{ step.id }}-panel\" [attr.aria-expanded]=\"step.id === activeId\">\r\n            <div class=\"container\">\r\n                <!---<div class=\"row\">\r\n                    <div class=\"col-md-12\">-->\r\n                        <ng-template [ngTemplateOutlet]=\"step.contentTemplate?.templateRef\"></ng-template>\r\n                    <!--</div>\r\n                </div>-->\r\n            </div>\r\n            <!-- <div class=\"row lamb-button-manage\">\r\n                <div class=\"offset-md-4 col-md-4\">\r\n                    <div class=\"row\">\r\n                        <div class=\"col-md-6\" *ngIf=\"hidePrevious\">\r\n                            <div class=\"form-group text-center space-20\">\r\n                                <button class=\"btn btn-sm btn-block btn-outline-rounded btn-secondary\" (click)=\"back()\">\r\n                                    <span style=\"margin-right:10px;\" class=\"fa fa-arrow-left\"></span>\r\n                                    {{ iConfigNames.buttonBack }}\r\n                                </button>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"col-md-6\" *ngIf=\"hideNext\">\r\n                            <div class=\"form-group text-center space-20\">\r\n                                <button class=\"btn btn-sm btn-block btn-outline-rounded btn-info\" [disabled]=\"!step.isValidStep\" (click)=\"next()\">\r\n                                    {{ iConfigNames.buttonNext }}\r\n                                    <span style=\"margin-left:10px;\" class=\"fa fa-arrow-right\"></span>\r\n                                </button>\r\n                            </div>\r\n                        </div>\r\n                        <div class=\"col-md-6\" *ngIf=\"hidePrevious && !hideNext\">\r\n                            <div class=\"form-group text-center space-20\">\r\n                                <button class=\"btn btn-sm btn-block btn-outline-rounded btn-info\" [disabled]=\"!step.isValidStep\" (click)=\"complete()\">\r\n                                    {{ iConfigNames.buttonFinish }}\r\n                                    <span style=\"margin-left:10px;\" class=\"fa fa-check\"></span>\r\n                                </button>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n            </div> -->\r\n        </div>\r\n    </ng-template>\r\n</div>",
                        // animations: [Animations.slideInOut, Animations.slideOfRight],
                        animations: [slideOfRight],
                        styles: [".lamb-liner{height:2px;background:#ececec;position:relative;width:5rem;margin:0 auto;right:0;top:1.8rem;z-index:1;left:.5rem;color:#333}.tab-content{padding-top:.3rem}.nav-link{padding:0 0 5px}.nav-link .lamb-round-text{color:#000;text-transform:uppercase;font-size:.7rem}@media (max-width:550px){.lamb-liner{width:1rem}.nav-link .lamb-round-text{display:none}}.nav-link.active span.lamb-round-tabs{background:#2962ff;color:#fff}.lamb-nav-tabs{border-bottom:transparent;position:relative;margin:0 auto;box-sizing:border-box;text-align:center;padding:0 1.5rem;background-color:#fff;border-radius:1px solid #ccc}.lamb-nav-tabs li.nav-line{padding-left:0;padding-right:0}.lamb-nav-tabs li a{text-decoration:none}.lamb-button-manage{margin-top:1.5rem}span.lamb-round-tabs{width:40px;height:40px;line-height:40px;display:inline-block;border-radius:100px;background:#ececec;z-index:2;left:-1;text-align:center;font-size:1.3rem;position:relative;margin-top:.6rem;margin-bottom:0;color:#333}"]
                    }] }
        ];
        /** @nocollapse */
        AppStepGroupComponent.ctorParameters = function () { return [
            { type: AppStepConfig }
        ]; };
        AppStepGroupComponent.propDecorators = {
            steps: [{ type: core.ContentChildren, args: [AppStepDirective,] }],
            activeId: [{ type: core.Input }],
            configNames: [{ type: core.Input }],
            destroyOnHide: [{ type: core.Input }],
            stepChange: [{ type: core.Output }],
            onComplete: [{ type: core.Output }],
            justify: [{ type: core.Input }],
            orientation: [{ type: core.Input }],
            type: [{ type: core.Input }]
        };
        return AppStepGroupComponent;
    }());
    if (false) {
        /** @type {?} */
        AppStepGroupComponent.prototype.justifyClass;
        /** @type {?} */
        AppStepGroupComponent.prototype.hideContent;
        /** @type {?} */
        AppStepGroupComponent.prototype.steps;
        /**
         * Id del step que saldrá activado por defecto.
         * @type {?}
         */
        AppStepGroupComponent.prototype.activeId;
        /**
         * Personalizar el nombre 'Anterior | siguiente y Finalizar'
         * Formato de variable : objecto
         * Ej. configNames: object = {buttonBack: 'Regresar', buttonNext: 'Grabar', buttonFinish: 'Fin'}
         * @type {?}
         */
        AppStepGroupComponent.prototype.iConfigNames;
        /**
         * Cuando cambia de step se destruira el contenido anterior o solo se oculatará?
         * @type {?}
         */
        AppStepGroupComponent.prototype.destroyOnHide;
        /**
         * Emite cuando hay cambios de steps.
         * @type {?}
         */
        AppStepGroupComponent.prototype.stepChange;
        /** @type {?} */
        AppStepGroupComponent.prototype.onComplete;
        /** @type {?} */
        AppStepGroupComponent.prototype.orientation;
        /** @type {?} */
        AppStepGroupComponent.prototype.type;
        /**
         * @type {?}
         * @private
         */
        AppStepGroupComponent.prototype.config;
    }
    /** @type {?} */
    var APP_STEPS_COMPONENTS = [
        AppStepGroupComponent,
        AppStepDirective,
        AppStepTitleDirective,
        AppStepContentDirective,
    ];

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/steps/steps.module.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */
    var Gw3StepsModule = /** @class */ (function () {
        function Gw3StepsModule() {
        }
        Gw3StepsModule.decorators = [
            { type: core.NgModule, args: [{
                        imports: [
                            common.CommonModule,
                        ],
                        exports: __spread(APP_STEPS_COMPONENTS),
                        declarations: __spread(APP_STEPS_COMPONENTS),
                        providers: [
                            AppStepConfig,
                        ],
                    },] }
        ];
        return Gw3StepsModule;
    }());

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/steps/index.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/tree-view/tree-view.component.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */
    var AppTreeViewComponent = /** @class */ (function () {
        function AppTreeViewComponent() {
            this.collapseAttr = 'isCollapsed';
            this.eventNewChildren = new core.EventEmitter();
            this.eventUpdate = new core.EventEmitter();
            this.eventDelete = new core.EventEmitter();
        }
        Object.defineProperty(AppTreeViewComponent.prototype, "collapseAll", {
            set: /**
             * @param {?} value
             * @return {?}
             */
            function (value) {
                this._collapseAll = value;
                this._recursiveEdit(this.data, value);
            },
            enumerable: true,
            configurable: true
        });
        /**
         * @return {?}
         */
        AppTreeViewComponent.prototype.ngOnInit = /**
         * @return {?}
         */
        function () { };
        /**
         * @param {?} entry
         * @return {?}
         */
        AppTreeViewComponent.prototype.addChildren = /**
         * @param {?} entry
         * @return {?}
         */
        function (entry) {
            this.eventNewChildren.emit(entry);
        };
        /**
         * @param {?} id
         * @return {?}
         */
        AppTreeViewComponent.prototype.goToUpdate = /**
         * @param {?} id
         * @return {?}
         */
        function (id) {
            this.eventUpdate.emit(id);
        };
        /**
         * @param {?} id
         * @return {?}
         */
        AppTreeViewComponent.prototype.goToDelete = /**
         * @param {?} id
         * @return {?}
         */
        function (id) {
            this.eventDelete.emit(id);
        };
        /**
         * @param {?} $event
         * @return {?}
         */
        AppTreeViewComponent.prototype.newChildren = /**
         * @param {?} $event
         * @return {?}
         */
        function ($event) {
            this.eventNewChildren.emit($event);
        };
        /**
         * @param {?} $event
         * @return {?}
         */
        AppTreeViewComponent.prototype.updated = /**
         * @param {?} $event
         * @return {?}
         */
        function ($event) {
            this.eventUpdate.emit($event);
        };
        /**
         * @param {?} $event
         * @return {?}
         */
        AppTreeViewComponent.prototype.deleted = /**
         * @param {?} $event
         * @return {?}
         */
        function ($event) {
            this.eventDelete.emit($event);
        };
        /**
         * @private
         * @param {?} list
         * @param {?} value
         * @return {?}
         */
        AppTreeViewComponent.prototype._recursiveEdit = /**
         * @private
         * @param {?} list
         * @param {?} value
         * @return {?}
         */
        function (list, value) {
            if (Array.isArray(list)) {
                for (var i = 0, len = list.length; i < len; i++) {
                    list[i].collapse = value;
                    if (list[i].children.length) {
                        this._recursiveEdit(list[i].children, value);
                    }
                }
            }
        };
        AppTreeViewComponent.decorators = [
            { type: core.Component, args: [{
                        selector: 'gw1-tree-view',
                        template: "\n    <ul class=\"treeview\" *ngIf=\"data && data.length\">\n      <li *ngFor=\"let d of data\">\n        <div class=\"card\">\n            <div class=\"row\">\n                <div class=\"col-md-12\">\n                    <div class=\"card-body\">\n                        <i *ngIf=\"d.children.length\" class=\"fas fa-{{d.collapse ? 'minus':'plus'}}-square\"\n                        (click)=\"d.collapse = !d.collapse\"></i>\n                        <i *ngIf=\"!d.children.length\" class=\"fa fa-square\"></i>\n                            <strong class=\"title-card\"> {{d.cont_asiento_nombre}} </strong>\n                        <a class=\"btn btn-ligth lamb-button-menu\" [ngbPopover]=\"templateOptions\" placement=\"bottom\">\n                            <span class=\"fas fa-ellipsis-v\"></span>\n                        </a>\n                        <ng-template #templateOptions>\n                            <ul class=\"menu-options\">\n                                <li (click)=\"addChildren(d)\">\n                                  <a>\n                                    <span class=\"fa fa-plus\"></span> Nuevo Hijo\n                                  </a>\n                                </li>\n                                <li (click)=\"goToUpdate(d.cont_asiento_id)\">\n                                  <a>\n                                    <span class=\"fa fa-edit\"></span> Actualizar\n                                   </a>\n                                </li>\n                                <li (click)=\"goToDelete(d.cont_asiento_id)\" *ngIf=\"!d.children.length\">\n                                  <a>\n                                    <span class=\"fa fa-trash\"></span> Eliminar\n                                  </a>\n                                </li>\n                            </ul>\n                        </ng-template>\n                    </div>\n                </div>\n            </div>\n        </div>\n\n        <gw1-tree-view *ngIf=\"d.collapse && d.children.length\"\n                            [data]=\"d.children\"\n                            [ngbCollapse]=\"d[collapseAttr]\"\n                            (eventNewChildren)=\"newChildren($event)\"\n                            (eventUpdate)=\"updated($event)\"\n                            (eventDelete)=\"deleted($event)\">\n        </gw1-tree-view>\n\n      </li>\n    </ul>\n  ",
                        styles: [".menu-div{font-size:.9rem;height:5.5rem}.ul-nav{padding:.2rem .6rem!important}.li-nav{list-style-type:none!important}.li-nav:hover{background-color:#f5f5f5!important}.l-icon{font-size:1.5rem;top:.3em;position:relative}.card{border:1px solid #ccc;border-radius:2px;margin:.5rem}.card a :active,.card a :focus,.card a:hover{text-decoration:underline;cursor:pointer}.card .card-img-left{height:3rem;margin-top:.5rem;margin-left:.5rem}.card .card-img-left:hover{cursor:pointer}.card .card-footer lamb-button-icon{float:right}.card .card-footer .lamb-badge{border-radius:50%;cursor:pointer}.card .lamb-link{opacity:.8;margin-bottom:0}.card .lamb-icons{cursor:pointer}.card .lamb-button-menu{position:absolute;right:.7rem;top:0;padding:.1rem .7rem;border-radius:50%;cursor:pointer}.card .lamb-button-menu :active,.card .lamb-button-menu :focus,.card .lamb-button-menu:hover{background-color:#ddd}.card .title-card{color:#000}.card .card-body{padding:.2rem!important}.card:hover{box-shadow:3px 3px 0 #999;transition:box-shadow .1s ease-in-out}.card .menu-options{list-style-type:none;padding:0!important;margin:.8rem 0;width:10rem}.card .menu-options li{cursor:pointer;padding:.2rem 2rem;height:2rem}.card .menu-options li :active,.card .menu-options li:hover{background-color:#ddd}.card .menu-options li a{vertical-align:middle}.card .menu-options li a .menu-icon{font-size:1.2rem;margin-right:.4rem;vertical-align:middle}.card .menu-options li a span{text-decoration:none;vertical-align:middle}.me-content{display:flex;flex-wrap:wrap}.treeview{list-style-type:none}.treeview .parent{font-weight:700;cursor:pointer}.treeview span{display:inline-block}.treeview .node-opened{transform:rotate(90deg)}"]
                    }] }
        ];
        /** @nocollapse */
        AppTreeViewComponent.ctorParameters = function () { return []; };
        AppTreeViewComponent.propDecorators = {
            data: [{ type: core.Input, args: ['data',] }],
            collapseAll: [{ type: core.Input, args: ['collapseAll',] }],
            eventNewChildren: [{ type: core.Output }],
            eventUpdate: [{ type: core.Output }],
            eventDelete: [{ type: core.Output }]
        };
        return AppTreeViewComponent;
    }());
    if (false) {
        /** @type {?} */
        AppTreeViewComponent.prototype._collapseAll;
        /** @type {?} */
        AppTreeViewComponent.prototype.collapseAttr;
        /** @type {?} */
        AppTreeViewComponent.prototype.data;
        /** @type {?} */
        AppTreeViewComponent.prototype.eventNewChildren;
        /** @type {?} */
        AppTreeViewComponent.prototype.eventUpdate;
        /** @type {?} */
        AppTreeViewComponent.prototype.eventDelete;
    }
    /** @type {?} */
    var APP_TREEVIEW_COMPONENTS = [
        AppTreeViewComponent,
    ];

    /**
     * @fileoverview added by tsickle
     * Generated from: lib/components/tree-view/tree-view.module.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */
    var Gw3TreeViewModule = /** @class */ (function () {
        function Gw3TreeViewModule() {
        }
        Gw3TreeViewModule.decorators = [
            { type: core.NgModule, args: [{
                        imports: [
                            common.CommonModule,
                            ngBootstrap.NgbCollapseModule,
                            ngBootstrap.NgbPopoverModule
                        ],
                        exports: __spread(APP_TREEVIEW_COMPONENTS),
                        declarations: __spread(APP_TREEVIEW_COMPONENTS),
                        providers: [],
                    },] }
        ];
        return Gw3TreeViewModule;
    }());

    exports.AppButtonIconComponent = AppButtonIconComponent;
    exports.ConfirmDialogService = ConfirmDialogService;
    exports.Gw1BreadcrumbIconModule = Gw1BreadcrumbIconModule;
    exports.Gw3ButtonIconModule = Gw3ButtonIconModule;
    exports.Gw3ConfirmDialogModule = Gw3ConfirmDialogModule;
    exports.Gw3DividerModule = Gw3DividerModule;
    exports.Gw3FieldsetModule = Gw3FieldsetModule;
    exports.Gw3StepsModule = Gw3StepsModule;
    exports.Gw3TreeViewModule = Gw3TreeViewModule;
    exports.Gw3WebGuidComponent = Gw3WebGuidComponent;
    exports.Gw3WebGuidModule = Gw3WebGuidModule;
    exports.Gw3WebGuidService = Gw3WebGuidService;
    exports.LambInputIconComponent = LambInputIconComponent;
    exports.gw3InputIconModule = gw3InputIconModule;
    exports.ɵa = AppStepTitleDirective;
    exports.ɵb = AppStepContentDirective;
    exports.ɵc = AppStepDirective;
    exports.ɵd = AppStepGroupComponent;
    exports.ɵe = APP_STEPS_COMPONENTS;
    exports.ɵf = TreeViewComponent;
    exports.ɵg = BreadcrumbComponent;
    exports.ɵh = ConfirmDialogComponent;
    exports.ɵi = Gw3DividerComponent;
    exports.ɵj = DividerConfigService;
    exports.ɵk = AppFieldsetComponent;
    exports.ɵl = AppFieldsetHeadComponent;
    exports.ɵm = AppFieldsetBodyComponent;
    exports.ɵn = AppFieldsetTitleComponent;
    exports.ɵo = AppFieldsetIconComponent;
    exports.ɵp = App_FIELDSET_COMPONENTS;
    exports.ɵq = slideOfRight;
    exports.ɵr = AppStepConfig;
    exports.ɵs = AppTreeViewComponent;
    exports.ɵt = APP_TREEVIEW_COMPONENTS;

    Object.defineProperty(exports, '__esModule', { value: true });

})));
//# sourceMappingURL=gw3-web-guid.umd.js.map