ws-form-builder
Version:
Ionic 2 Form Builder
22 lines • 6.89 kB
JavaScript
;
/**
* @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("./ws-progress-bar");
var styles_WsProgressBarComponent = [".ws-progress-bar-container[_ngcontent-%COMP%] .ws-progress-bar[_ngcontent-%COMP%]{width:100%;display:block}.ws-progress-bar-container[_ngcontent-%COMP%] .ws-progress-bar[_ngcontent-%COMP%] .step-inner[_ngcontent-%COMP%]{position:absolute;left:2px;right:2px;background:#4a8bfc;height:7px;top:50%;width:0;opacity:0;-moz-transition:width 250ms;-o-transition:width 250ms;-webkit-transition:width 250ms;transition:width 250ms;margin-top:-3.5px;z-index:15}.ws-progress-bar-container[_ngcontent-%COMP%] .ws-progress-bar[_ngcontent-%COMP%] .step-inner[_ngcontent-%COMP%] .active-indicator[_ngcontent-%COMP%]{background-color:#4a8bfc;width:20px;height:20px;line-height:15px;display:inline-block;border:2px solid #fff;color:#fff;text-align:center;font-size:.9em;font-weight:bold;position:absolute;left:50%;margin-left:-10px;top:50%;margin-top:-10px;border-radius:30px;-webkit-border-radius:30px;-moz-border-radius:30px;-moz-transition:opacity 500ms 250ms;-o-transition:opacity 500ms 250ms;-webkit-transition:opacity 500ms 250ms;transition:opacity 500ms 250ms;opacity:0}.ws-progress-bar-container[_ngcontent-%COMP%] .ws-progress-bar__step[_ngcontent-%COMP%]{float:left;display:inline-block;position:relative}.ws-progress-bar-container[_ngcontent-%COMP%] .ws-progress-bar__step[_ngcontent-%COMP%]:before{content:'';position:absolute;left:2px;right:2px;background:#ddd;height:7px;top:50%;margin-top:-3.5px;z-index:10}.ws-progress-bar-container[_ngcontent-%COMP%] .ws-progress-bar__step.step-active[_ngcontent-%COMP%] .step-inner[_ngcontent-%COMP%]{opacity:1;width:calc(100% - 4px)}.ws-progress-bar-container[_ngcontent-%COMP%] .ws-progress-bar__step.step-active[_ngcontent-%COMP%] .show-indicator[_ngcontent-%COMP%]{opacity:1}.ws-progress-bar-container[_ngcontent-%COMP%] .progress-bar-count-2[_ngcontent-%COMP%] .ws-progress-bar__step[_ngcontent-%COMP%]{width:calc(100% / 2);height:30px}.ws-progress-bar-container[_ngcontent-%COMP%] .progress-bar-count-3[_ngcontent-%COMP%] .ws-progress-bar__step[_ngcontent-%COMP%]{width:calc(100% / 3);height:30px}.ws-progress-bar-container[_ngcontent-%COMP%] .progress-bar-count-4[_ngcontent-%COMP%] .ws-progress-bar__step[_ngcontent-%COMP%]{width:calc(100% / 4);height:30px}.ws-progress-bar-container[_ngcontent-%COMP%] .progress-bar-count-5[_ngcontent-%COMP%] .ws-progress-bar__step[_ngcontent-%COMP%]{width:calc(100% / 5);height:30px}.ws-progress-bar-container[_ngcontent-%COMP%] .progress-bar-count-6[_ngcontent-%COMP%] .ws-progress-bar__step[_ngcontent-%COMP%]{width:calc(100% / 6);height:30px}.ws-progress-bar-container[_ngcontent-%COMP%] .progress-bar-count-7[_ngcontent-%COMP%] .ws-progress-bar__step[_ngcontent-%COMP%]{width:calc(100% / 7);height:30px}.ws-progress-bar-container[_ngcontent-%COMP%] .progress-bar-count-8[_ngcontent-%COMP%] .ws-progress-bar__step[_ngcontent-%COMP%]{width:calc(100% / 8);height:30px}.ws-progress-bar-container[_ngcontent-%COMP%] .progress-bar-count-9[_ngcontent-%COMP%] .ws-progress-bar__step[_ngcontent-%COMP%]{width:calc(100% / 9);height:30px}"];
var RenderType_WsProgressBarComponent = i0.ɵcrt({ encapsulation: 0, styles: styles_WsProgressBarComponent, data: {} });
exports.RenderType_WsProgressBarComponent = RenderType_WsProgressBarComponent;
function View_WsProgressBarComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 7, "div", [["class", "ws-progress-bar__step"]], null, null, null, null, null)), i0.ɵdid(1, 278528, null, 0, i1.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, "klass"], ngClass: [1, "ngClass"] }, null), (_l()(), i0.ɵted(-1, null, ["\n\n\t\t\n \t\t"])), (_l()(), i0.ɵeld(3, 0, null, null, 3, "div", [["class", "step-inner"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 2, "span", [["class", "active-indicator"]], null, null, null, null, null)), i0.ɵdid(5, 278528, null, 0, i1.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, "klass"], ngClass: [1, "ngClass"] }, null), (_l()(), i0.ɵted(6, null, ["", ""])), (_l()(), i0.ɵted(-1, null, ["\n \t"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = "ws-progress-bar__step"; var currVal_1 = (_co.isStepActive(_v.context.index) ? "step-active" : ""); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = "active-indicator"; var currVal_3 = ((_co.progressBarCurrent == _v.context.index) ? "show-indicator" : ""); _ck(_v, 5, 0, currVal_2, currVal_3); }, function (_ck, _v) { var currVal_4 = (_v.context.index + 1); _ck(_v, 6, 0, currVal_4); }); }
function View_WsProgressBarComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(1, 0, null, null, 7, "div", [["class", "ws-progress-bar-container"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n "])), (_l()(), i0.ɵeld(3, 0, null, null, 4, "div", [], [[8, "className", 0]], null, null, null, null)), (_l()(), i0.ɵted(-1, null, ["\n \t"])), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_WsProgressBarComponent_1)), i0.ɵdid(6, 802816, null, 0, i1.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, "ngForOf"] }, null), (_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 = " ".repeat(_co.progressBarTotal).split(""); _ck(_v, 6, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, "ws-progress-bar progress-bar-count-", _co.progressBarTotal, ""); _ck(_v, 3, 0, currVal_0); }); }
exports.View_WsProgressBarComponent_0 = View_WsProgressBarComponent_0;
function View_WsProgressBarComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "ws-progress-bar", [], null, null, null, View_WsProgressBarComponent_0, RenderType_WsProgressBarComponent)), i0.ɵdid(1, 49152, null, 0, i2.WsProgressBarComponent, [], null, null)], null, null); }
exports.View_WsProgressBarComponent_Host_0 = View_WsProgressBarComponent_Host_0;
var WsProgressBarComponentNgFactory = i0.ɵccf("ws-progress-bar", i2.WsProgressBarComponent, View_WsProgressBarComponent_Host_0, { progressBarTotal: "progressBarTotal", progressBarCurrent: "progressBarCurrent" }, {}, []);
exports.WsProgressBarComponentNgFactory = WsProgressBarComponentNgFactory;
//# sourceMappingURL=ws-progress-bar.ngfactory.js.map