UNPKG

@junte/ui

Version:

Quality Angular UI components kit

20 lines 4.26 kB
/** * @fileoverview This file was generated by the Angular template compiler. Do not edit. * * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire} * tslint:disable */ import * as i0 from "@angular/core"; import * as i1 from "./pipes"; import * as i2 from "@angular/common"; import * as i3 from "./progress-bar.component"; var styles_ProgressBarComponent = []; var RenderType_ProgressBarComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_ProgressBarComponent, data: {} }); export { RenderType_ProgressBarComponent as RenderType_ProgressBarComponent }; function View_ProgressBarComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, null, null, null, null, null, null, null))], null, null); } function View_ProgressBarComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "div", [["child-of", "jnt-progress-bar-host"], ["data-progress", ""]], [[4, "width", "%"], [4, "background-color", null], [1, "data-fail", 0]], null, null, null, null)), i0.ɵpid(0, i1.GetColorPipe, [])], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co.value > 100) ? 100 : _co.value); var currVal_1 = i0.ɵunv(_v, 0, 1, i0.ɵnov(_v, 1).transform(_co.value, _co.lines, _co.color)); var currVal_2 = (_co.value > 100); _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2); }); } export function View_ProgressBarComponent_0(_l) { return i0.ɵvid(2, [(_l()(), i0.ɵand(16777216, null, null, 1, null, View_ProgressBarComponent_1)), i0.ɵdid(1, 540672, null, 0, i2.NgTemplateOutlet, [i0.ViewContainerRef], { ngTemplateOutlet: [0, "ngTemplateOutlet"] }, null), (_l()(), i0.ɵeld(2, 0, null, null, 2, "div", [["child-of", "jnt-progress-bar-host"], ["data-bar", ""]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_ProgressBarComponent_2)), i0.ɵdid(4, 16384, null, 0, i2.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.progressBarLegendTemplate; _ck(_v, 1, 0, currVal_0); var currVal_1 = (_co.value >= 0); _ck(_v, 4, 0, currVal_1); }, null); } export function View_ProgressBarComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, "jnt-progress-bar", [], [[1, "host", 0]], null, null, View_ProgressBarComponent_0, RenderType_ProgressBarComponent)), i0.ɵdid(1, 4243456, null, 2, i3.ProgressBarComponent, [i0.ChangeDetectorRef], null, null), i0.ɵqud(603979776, 1, { progressBarLegendTemplate: 0 }), i0.ɵqud(603979776, 2, { lines: 1 })], null, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 1).host; _ck(_v, 0, 0, currVal_0); }); } var ProgressBarComponentNgFactory = i0.ɵccf("jnt-progress-bar", i3.ProgressBarComponent, View_ProgressBarComponent_Host_0, { value: "value", color: "color" }, {}, []); export { ProgressBarComponentNgFactory as ProgressBarComponentNgFactory }; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZ3Jlc3MtYmFyLmNvbXBvbmVudC5uZ2ZhY3RvcnkuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AanVudGUvdWkvIiwic291cmNlcyI6WyJsaWIvZHluYW1pYy9wcm9ncmVzcy1iYXIvcHJvZ3Jlc3MtYmFyLmNvbXBvbmVudC5uZ2ZhY3RvcnkudHMiLCJsaWIvZHluYW1pYy9wcm9ncmVzcy1iYXIvcHJvZ3Jlc3MtYmFyLmVuY2Fwc3VsYXRlZC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7K0RDQUEsNkVBQTREOytEQUUxRCwyTUFHb0MsSUFEL0IsOEJBQXVELHVEQUR2RCw4Q0FBMkMsU0FDM0Msb0ZBQXVELFVBQ3ZELGdDQUE4QixHQUhuQyxZQUdvQyxFQUYvQixTQUEyQyx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