UNPKG

@angular-jz/jz

Version:

jim jz

29 lines 11.9 kB
/** * @fileoverview This file was generated by the Angular template compiler. Do not edit. * * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes} * tslint:disable */ import * as i0 from "@angular/core"; import * as i1 from "@angular/router"; import * as i2 from "@angular/common"; import * as i3 from "../../pipe/cascade.pipe"; import * as i4 from "./jz-nav.component"; var styles_JZNavComponent = []; var RenderType_JZNavComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_JZNavComponent, data: {} }); export { RenderType_JZNavComponent as RenderType_JZNavComponent }; function View_JZNavComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 10, null, null, null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(2, 0, null, null, 5, "a", [], [[1, "target", 0], [8, "href", 4]], [[null, "click"]], function (_v, en, $event) { var ad = true; if (("click" === en)) { var pd_0 = (i0.ɵnov(_v, 3).onClick($event.button, $event.ctrlKey, $event.metaKey, $event.shiftKey) !== false); ad = (pd_0 && ad); } return ad; }, null, null)), i0.ɵdid(3, 671744, null, 0, i1.RouterLinkWithHref, [i1.Router, i1.ActivatedRoute, i2.LocationStrategy], { routerLink: [0, "routerLink"] }, null), (_l()(), i0.ɵeld(4, 0, null, null, 0, "i", [], [[8, "className", 0]], null, null, null, null)), (_l()(), i0.ɵted(-1, null, [" "])), (_l()(), i0.ɵeld(6, 0, null, null, 1, "span", [["class", "nav-label"]], null, null, null, null, null)), (_l()(), i0.ɵted(7, null, ["", ""])), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(9, 0, null, null, 0, "ul", [["class", "nav nav-second-level collapse"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n "]))], function (_ck, _v) { var currVal_2 = _v.parent.context.$implicit.url; _ck(_v, 3, 0, currVal_2); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 3).target; var currVal_1 = i0.ɵnov(_v, 3).href; _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_3 = i0.ɵinlineInterpolate(1, "fa ", _v.parent.context.$implicit.icon, ""); _ck(_v, 4, 0, currVal_3); var currVal_4 = _v.parent.context.$implicit.name; _ck(_v, 7, 0, currVal_4); }); } function View_JZNavComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 8, "li", [], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(2, 0, null, null, 5, "a", [["routerLinkActive", "active"]], [[2, "active", null], [1, "target", 0], [8, "href", 4]], [[null, "click"]], function (_v, en, $event) { var ad = true; if (("click" === en)) { var pd_0 = (i0.ɵnov(_v, 3).onClick($event.button, $event.ctrlKey, $event.metaKey, $event.shiftKey) !== false); ad = (pd_0 && ad); } return ad; }, null, null)), i0.ɵdid(3, 671744, [[3, 4]], 0, i1.RouterLinkWithHref, [i1.Router, i1.ActivatedRoute, i2.LocationStrategy], { queryParams: [0, "queryParams"], routerLink: [1, "routerLink"] }, null), i0.ɵdid(4, 1720320, null, 2, i1.RouterLinkActive, [i1.Router, i0.ElementRef, i0.Renderer2, i0.ChangeDetectorRef], { routerLinkActive: [0, "routerLinkActive"] }, null), i0.ɵqud(603979776, 2, { links: 1 }), i0.ɵqud(603979776, 3, { linksWithHrefs: 1 }), (_l()(), i0.ɵted(7, null, ["", ""])), (_l()(), i0.ɵted(-1, null, ["\n "]))], function (_ck, _v) { var currVal_3 = _v.context.$implicit.queryParams; var currVal_4 = _v.context.$implicit.url; _ck(_v, 3, 0, currVal_3, currVal_4); var currVal_5 = "active"; _ck(_v, 4, 0, currVal_5); }, function (_ck, _v) { var currVal_0 = _v.context.$implicit.isActive; var currVal_1 = i0.ɵnov(_v, 3).target; var currVal_2 = i0.ɵnov(_v, 3).href; _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2); var currVal_6 = _v.context.$implicit.name; _ck(_v, 7, 0, currVal_6); }); } function View_JZNavComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 16, null, null, null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(2, 0, null, null, 5, "a", [], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 0, "i", [], [[8, "className", 0]], null, null, null, null)), (_l()(), i0.ɵted(-1, null, [" "])), (_l()(), i0.ɵeld(5, 0, null, null, 1, "span", [["class", "nav-label"]], null, null, null, null, null)), (_l()(), i0.ɵted(6, null, ["", ""])), (_l()(), i0.ɵeld(7, 0, null, null, 0, "span", [["class", "fa arrow"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(9, 0, null, null, 6, "ul", [["class", "nav nav-second-level collapse"]], [[2, "in", null]], null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵand(16777216, null, null, 3, null, View_JZNavComponent_4)), i0.ɵdid(12, 802816, null, 0, i2.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, "ngForOf"] }, null), i0.ɵpod(13, { fieldName: 0, fieldValue: 1 }), i0.ɵppd(14, 2), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵted(-1, null, ["\n "]))], function (_ck, _v) { var currVal_3 = i0.ɵunv(_v, 12, 0, _ck(_v, 14, 0, i0.ɵnov(_v.parent.parent, 0), _v.parent.context.$implicit.children, _ck(_v, 13, 0, "isVisible", true))); _ck(_v, 12, 0, currVal_3); }, function (_ck, _v) { var currVal_0 = i0.ɵinlineInterpolate(1, "fa ", _v.parent.context.$implicit.icon, ""); _ck(_v, 3, 0, currVal_0); var currVal_1 = _v.parent.context.$implicit.name; _ck(_v, 6, 0, currVal_1); var currVal_2 = _v.parent.context.$implicit.isActive; _ck(_v, 9, 0, currVal_2); }); } function View_JZNavComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 7, "li", [["class", ""]], [[2, "active", null]], null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_JZNavComponent_2)), i0.ɵdid(3, 16384, null, 0, i2.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_JZNavComponent_3)), i0.ɵdid(6, 16384, null, 0, i2.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵted(-1, null, ["\n "]))], function (_ck, _v) { var currVal_1 = !_v.context.$implicit.children.length; _ck(_v, 3, 0, currVal_1); var currVal_2 = _v.context.$implicit.children.length; _ck(_v, 6, 0, currVal_2); }, function (_ck, _v) { var currVal_0 = _v.context.$implicit.isActive; _ck(_v, 0, 0, currVal_0); }); } export function View_JZNavComponent_0(_l) { return i0.ɵvid(0, [i0.ɵpid(0, i3.CascadePipe, []), i0.ɵqud(402653184, 1, { menu: 0 }), (_l()(), i0.ɵeld(2, 0, null, null, 53, "nav", [["class", "navbar-default navbar-static-side"], ["role", "navigation"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(4, 0, null, null, 50, "div", [["class", "sidebar-collapse"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(6, 0, [[1, 0], ["menu", 1]], null, 47, "ul", [["class", "nav metismenu"], ["id", "side-menu"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(8, 0, null, null, 39, "li", [["class", "nav-header"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(10, 0, null, null, 33, "div", [["class", "dropdown profile-element"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(12, 0, null, null, 8, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(14, 0, null, null, 1, "div", [["class", "col-md-4"]], null, null, null, null, null)), (_l()(), i0.ɵeld(15, 0, null, null, 0, "img", [["alt", "image"], ["class", "img-circle"], ["src", "/src/assets/images/profile_small.jpg"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(17, 0, null, null, 2, "div", [["class", "col-md-8"]], null, null, null, null, null)), (_l()(), i0.ɵeld(18, 0, null, null, 1, "h3", [["style", "color:white; line-height:50px;"]], null, null, null, null, null)), (_l()(), i0.ɵted(19, null, ["", ""])), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(23, 0, null, null, 19, "ul", [["class", "dropdown-menu animated fadeInRight m-t-xs"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(25, 0, null, null, 2, "li", [], null, null, null, null, null)), (_l()(), i0.ɵeld(26, 0, null, null, 1, "a", [["href", "profile.html"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\u4E2A\u4EBA\u8D44\u6599"])), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(29, 0, null, null, 2, "li", [], null, null, null, null, null)), (_l()(), i0.ɵeld(30, 0, null, null, 1, "a", [["href", "contacts.html"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\u8054\u7CFB\u4EBA"])), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(33, 0, null, null, 2, "li", [], null, null, null, null, null)), (_l()(), i0.ɵeld(34, 0, null, null, 1, "a", [["href", "mailbox.html"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\u90AE\u7BB1"])), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(37, 0, null, null, 0, "li", [["class", "divider"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(39, 0, null, null, 2, "li", [], null, null, null, null, null)), (_l()(), i0.ɵeld(40, 0, null, null, 1, "a", [["href", "login.html"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\u767B\u51FA"])), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(45, 0, null, null, 1, "div", [["class", "logo-element"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n IN+\n "])), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵand(16777216, null, null, 3, null, View_JZNavComponent_1)), i0.ɵdid(50, 802816, null, 0, i2.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, "ngForOf"] }, null), i0.ɵpod(51, { fieldName: 0, fieldValue: 1 }), i0.ɵppd(52, 2), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵted(-1, null, ["\n"]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = i0.ɵunv(_v, 50, 0, _ck(_v, 52, 0, i0.ɵnov(_v, 0), _co.dataSource, _ck(_v, 51, 0, "isVisible", true))); _ck(_v, 50, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.userName; _ck(_v, 19, 0, currVal_0); }); } export function View_JZNavComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "jz-nav", [], null, null, null, View_JZNavComponent_0, RenderType_JZNavComponent)), i0.ɵdid(1, 4833280, null, 0, i4.JZNavComponent, [i2.Location], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); } var JZNavComponentNgFactory = i0.ɵccf("jz-nav", i4.JZNavComponent, View_JZNavComponent_Host_0, { userName: "userName", permissions: "permissions" }, {}, []); export { JZNavComponentNgFactory as JZNavComponentNgFactory }; //# sourceMappingURL=jz-nav.component.ngfactory.js.map