UNPKG

tixif-ngx-busy

Version:

Angular 2 Busy: show busy/loading indicators on any promise, or on any Observable's subscription

24 lines 3.18 kB
"use strict"; /** * @fileoverview This file is generated by the Angular template compiler. * Do not edit. * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride} * tslint:disable */ Object.defineProperty(exports, "__esModule", { value: true }); var i0 = require("@angular/core"); var i1 = require("@angular/common"); var i2 = require("./busy.component"); var i3 = require("./promise-tracker.service"); var styles_BusyComponent = []; var RenderType_BusyComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_BusyComponent, data: { "animation": [{ type: 7, name: "flyInOut", definitions: [{ type: 1, expr: "void => *", animation: [{ type: 6, styles: { opacity: 0, transform: "translateY(-40px)" }, offset: null }, { type: 4, styles: null, timings: ".3s ease" }], options: null }, { type: 1, expr: "* => void", animation: [{ type: 4, styles: { type: 6, styles: { opacity: 0, transform: "translateY(-40px)" }, offset: null }, timings: ".3s ease" }], options: null }], options: {} }] } }); exports.RenderType_BusyComponent = RenderType_BusyComponent; function View_BusyComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, null, null, null, null, null, null, null))], null, null); } function View_BusyComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, "div", [], [[8, "className", 0], [24, "@flyInOut", 0]], null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_BusyComponent_2)), i0.ɵdid(3, 671744, null, 0, i1.NgComponentOutlet, [i0.ViewContainerRef], { ngComponentOutlet: [0, "ngComponentOutlet"], ngComponentOutletNgModuleFactory: [1, "ngComponentOutletNgModuleFactory"] }, null), (_l()(), i0.ɵted(-1, null, ["\n "]))], function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.TemplateComponent; var currVal_3 = _co.nmf; _ck(_v, 3, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.wrapperClass; var currVal_1 = undefined; _ck(_v, 0, 0, currVal_0, currVal_1); }); } function View_BusyComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_BusyComponent_1)), i0.ɵdid(2, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵted(-1, null, ["\n "]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.isActive(); _ck(_v, 2, 0, currVal_0); }, null); } exports.View_BusyComponent_0 = View_BusyComponent_0; function View_BusyComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "ng-busy", [], null, null, null, View_BusyComponent_0, RenderType_BusyComponent)), i0.ɵdid(1, 442368, null, 0, i2.BusyComponent, [i3.PromiseTrackerService, i0.Compiler], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); } exports.View_BusyComponent_Host_0 = View_BusyComponent_Host_0; var BusyComponentNgFactory = i0.ɵccf("ng-busy", i2.BusyComponent, View_BusyComponent_Host_0, {}, {}, []); exports.BusyComponentNgFactory = BusyComponentNgFactory; //# sourceMappingURL=busy.component.ngfactory.js.map