Skip to content

Instantly share code, notes, and snippets.

@alexeagle
Created March 19, 2019 21:14
Show Gist options
  • Save alexeagle/62c245f12e8c6e03d64009c64dfd51b3 to your computer and use it in GitHub Desktop.
Save alexeagle/62c245f12e8c6e03d64009c64dfd51b3 to your computer and use it in GitHub Desktop.
(function (factory) {
if (typeof module === "object" && typeof module.exports === "object") {
var v = factory(require, exports);
if (v !== undefined) module.exports = v;
}
else if (typeof define === "function" && define.amd) {
define("angular_bazel_example/src/app.component.ngfactory", ["require", "exports", "@angular/core", "@angular/material/toolbar/typings/index.ngfactory", "@angular/common", "@angular/router", "angular_bazel_example/src/app.component"], factory);
}
})(function (require, exports) {
"use strict";
/**
* @fileoverview This file was generated by the Angular template compiler. Do not edit.
*
* @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}
* tslint:disable
*/
Object.defineProperty(exports, "__esModule", { value: true });
var i0 = require("@angular/core");
var i1 = require("@angular/material/toolbar/typings/index.ngfactory");
var i2 = require("@angular/common");
var i3 = require("@angular/router");
var i4 = require("angular_bazel_example/src/app.component");
var styles_AppComponent = [];
var RenderType_AppComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_AppComponent, data: {} });
exports.RenderType_AppComponent = RenderType_AppComponent;
function View_AppComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 23, "nav", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 13, "mat-toolbar", [["class", "mat-toolbar"]], [[2, "mat-toolbar-multiple-rows", null], [2, "mat-toolbar-single-row", null]], null, null, i1.View_MatToolbar_0, i1.RenderType_MatToolbar)), i0.ɵdid(2, 4243456, null, 1, MatToolbar, [i0.ElementRef, Platform, i2.DOCUMENT], null, null), i0.ɵqud(603979776, 1, { _toolbarRows: 1 }), (_l()(), i0.ɵeld(4, 0, null, 0, 1, "a", [["class", "mat-button"], ["href", "https://bazel.build"]], null, null, null, null, null)), (_l()(), i0.ɵeld(5, 0, null, null, 0, "img", [["class", "nav-logo"], ["src", "/images/bazel-navbar.svg"]], null, null, null, null, null)), (_l()(), i0.ɵeld(6, 0, null, 0, 2, "a", [["class", "mat-button hide-small"], ["routerLink", "/"]], [[1, "target", 0], [8, "href", 4]], [[null, "click"]], function (_v, en, $event) { var ad = true; if (("click" === en)) {
var pd_0 = (i0.ɵnov(_v, 7).onClick($event.button, $event.ctrlKey, $event.metaKey, $event.shiftKey) !== false);
ad = (pd_0 && ad);
} return ad; }, null, null)), i0.ɵdid(7, 671744, null, 0, i3.RouterLinkWithHref, [i3.Router, i3.ActivatedRoute, i2.LocationStrategy], { routerLink: [0, "routerLink"] }, null), (_l()(), i0.ɵted(-1, null, ["Home"])), (_l()(), i0.ɵeld(9, 0, null, 0, 2, "a", [["class", "mat-button hide-small"], ["routerLink", "/todos"]], [[1, "target", 0], [8, "href", 4]], [[null, "click"]], function (_v, en, $event) { var ad = true; if (("click" === en)) {
var pd_0 = (i0.ɵnov(_v, 10).onClick($event.button, $event.ctrlKey, $event.metaKey, $event.shiftKey) !== false);
ad = (pd_0 && ad);
} return ad; }, null, null)), i0.ɵdid(10, 671744, null, 0, i3.RouterLinkWithHref, [i3.Router, i3.ActivatedRoute, i2.LocationStrategy], { routerLink: [0, "routerLink"] }, null), (_l()(), i0.ɵted(-1, null, ["Todos"])), (_l()(), i0.ɵeld(12, 0, null, 0, 0, "span", [["class", "flex-spacer"]], null, null, null, null, null)), (_l()(), i0.ɵeld(13, 0, null, 0, 1, "a", [["class", "mat-button"], ["href", "https://github.com/alexeagle/angular-bazel-example"]], null, null, null, null, null)), (_l()(), i0.ɵeld(14, 0, null, null, 0, "img", [["class", "nav-logo"], ["src", "/images/github-circle-white-transparent.svg"]], null, null, null, null, null)), (_l()(), i0.ɵeld(15, 0, null, null, 8, "mat-toolbar", [["class", "show-small mobile-nav mat-toolbar"]], [[2, "mat-toolbar-multiple-rows", null], [2, "mat-toolbar-single-row", null]], null, null, i1.View_MatToolbar_0, i1.RenderType_MatToolbar)), i0.ɵdid(16, 4243456, null, 1, MatToolbar, [i0.ElementRef, Platform, i2.DOCUMENT], null, null), i0.ɵqud(603979776, 2, { _toolbarRows: 1 }), (_l()(), i0.ɵeld(18, 0, null, 0, 2, "a", [["class", "mat-button"], ["routerLink", "/"]], [[1, "target", 0], [8, "href", 4]], [[null, "click"]], function (_v, en, $event) { var ad = true; if (("click" === en)) {
var pd_0 = (i0.ɵnov(_v, 19).onClick($event.button, $event.ctrlKey, $event.metaKey, $event.shiftKey) !== false);
ad = (pd_0 && ad);
} return ad; }, null, null)), i0.ɵdid(19, 671744, null, 0, i3.RouterLinkWithHref, [i3.Router, i3.ActivatedRoute, i2.LocationStrategy], { routerLink: [0, "routerLink"] }, null), (_l()(), i0.ɵted(-1, null, ["Home"])), (_l()(), i0.ɵeld(21, 0, null, 0, 2, "a", [["class", "mat-button"], ["routerLink", "/todos"]], [[1, "target", 0], [8, "href", 4]], [[null, "click"]], function (_v, en, $event) { var ad = true; if (("click" === en)) {
var pd_0 = (i0.ɵnov(_v, 22).onClick($event.button, $event.ctrlKey, $event.metaKey, $event.shiftKey) !== false);
ad = (pd_0 && ad);
} return ad; }, null, null)), i0.ɵdid(22, 671744, null, 0, i3.RouterLinkWithHref, [i3.Router, i3.ActivatedRoute, i2.LocationStrategy], { routerLink: [0, "routerLink"] }, null), (_l()(), i0.ɵted(-1, null, ["Todos"])), (_l()(), i0.ɵeld(24, 0, null, null, 2, "div", [["class", "content"]], null, null, null, null, null)), (_l()(), i0.ɵeld(25, 16777216, null, null, 1, "router-outlet", [], null, null, null, null, null)), i0.ɵdid(26, 212992, null, 0, i3.RouterOutlet, [i3.ChildrenOutletContexts, i0.ViewContainerRef, i0.ComponentFactoryResolver, [8, null], i0.ChangeDetectorRef], null, null)], function (_ck, _v) { var currVal_4 = "/"; _ck(_v, 7, 0, currVal_4); var currVal_7 = "/todos"; _ck(_v, 10, 0, currVal_7); var currVal_12 = "/"; _ck(_v, 19, 0, currVal_12); var currVal_15 = "/todos"; _ck(_v, 22, 0, currVal_15); _ck(_v, 26, 0); }, function (_ck, _v) { var currVal_0 = (i0.ɵnov(_v, 2)._toolbarRows.length > 0); var currVal_1 = (i0.ɵnov(_v, 2)._toolbarRows.length === 0); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = i0.ɵnov(_v, 7).target; var currVal_3 = i0.ɵnov(_v, 7).href; _ck(_v, 6, 0, currVal_2, currVal_3); var currVal_5 = i0.ɵnov(_v, 10).target; var currVal_6 = i0.ɵnov(_v, 10).href; _ck(_v, 9, 0, currVal_5, currVal_6); var currVal_8 = (i0.ɵnov(_v, 16)._toolbarRows.length > 0); var currVal_9 = (i0.ɵnov(_v, 16)._toolbarRows.length === 0); _ck(_v, 15, 0, currVal_8, currVal_9); var currVal_10 = i0.ɵnov(_v, 19).target; var currVal_11 = i0.ɵnov(_v, 19).href; _ck(_v, 18, 0, currVal_10, currVal_11); var currVal_13 = i0.ɵnov(_v, 22).target; var currVal_14 = i0.ɵnov(_v, 22).href; _ck(_v, 21, 0, currVal_13, currVal_14); }); }
exports.View_AppComponent_0 = View_AppComponent_0;
function View_AppComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "app-component", [], null, null, null, View_AppComponent_0, RenderType_AppComponent)), i0.ɵdid(1, 49152, null, 0, i4.AppComponent, [], null, null)], null, null); }
exports.View_AppComponent_Host_0 = View_AppComponent_Host_0;
var AppComponentNgFactory = i0.ɵccf("app-component", i4.AppComponent, View_AppComponent_Host_0, {}, {}, []);
exports.AppComponentNgFactory = AppComponentNgFactory;
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLmNvbXBvbmVudC5uZ2ZhY3RvcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwLmNvbXBvbmVudC5uZ2ZhY3RvcnkudHMiLCIuLi8uLi8uLi8uLi9zcmMv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