UNPKG

jpush-ui

Version:

极光大数据前端Angular组件(^6.1.0)

33 lines 29.3 kB
"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/common"); var i2 = require("./switch.component"); var styles_SwitchComponent = ["\n @font-face {\n font-family: 'iconfont';\n \n src: url(\"//at.alicdn.com/t/font_290315_x4r2fph1yvutbj4i.eot\");\n src: url(\"//at.alicdn.com/t/font_290315_x4r2fph1yvutbj4i.eot?#iefix\") format(\"embedded-opentype\"), url(\"//at.alicdn.com/t/font_290315_x4r2fph1yvutbj4i.woff\") format(\"woff\"), url(\"//at.alicdn.com/t/font_290315_x4r2fph1yvutbj4i.ttf\") format(\"truetype\"), url(\"//at.alicdn.com/t/font_290315_x4r2fph1yvutbj4i.svg#iconfont\") format(\"svg\"); }\n\n .iconfont {\n display: inline-block;\n vertical-align: baseline;\n font-family: \"iconfont\" !important;\n font-style: normal;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale; }\n\n .icon-jui-alert:before {\n content: \"\\e600\"; }\n\n .icon-jui-search:before {\n content: \"\\e630\"; }\n\n .icon-jui-paper3:before {\n content: \"\\e652\"; }\n\n .icon-jui-setting:before {\n content: \"\\e602\"; }\n\n .icon-jui-left2:before {\n content: \"\\e697\"; }\n\n .icon-jui-wrong:before {\n content: \"\\e69a\"; }\n\n .icon-jui-up2:before {\n content: \"\\e6a5\"; }\n\n .icon-jui-down2:before {\n content: \"\\e6a6\"; }\n\n .icon-jui-right2:before {\n content: \"\\e6a7\"; }\n\n .icon-jui-correct2:before {\n content: \"\\e627\"; }\n\n .icon-jui-qq:before {\n content: \"\\e63a\"; }\n\n .icon-jui-email:before {\n content: \"\\e62a\"; }\n\n .icon-jui-edit:before {\n content: \"\\e686\"; }\n\n .icon-jui-download2:before {\n content: \"\\e714\"; }\n\n .icon-jui-speaker:before {\n content: \"\\e85c\"; }\n\n .icon-jui-add:before {\n content: \"\\e609\"; }\n\n .icon-jui-msg:before {\n content: \"\\e613\"; }\n\n .icon-jui-minus:before {\n content: \"\\e601\"; }\n\n .icon-jui-up:before {\n content: \"\\e658\"; }\n\n .icon-jui-letter-open:before {\n content: \"\\e61d\"; }\n\n .icon-jui-down:before {\n content: \"\\ed22\"; }\n\n .icon-jui-info:before {\n content: \"\\e685\"; }\n\n .icon-jui-cross2:before {\n content: \"\\e6b4\"; }\n\n .icon-jui-paper2:before {\n content: \"\\e71e\"; }\n\n .icon-jui-loading:before {\n content: \"\\eee3\"; }\n\n .icon-jui-road-sign:before {\n content: \"\\e604\"; }\n\n .icon-jui-left:before {\n content: \"\\e66a\"; }\n\n .icon-jui-letter:before {\n content: \"\\e605\"; }\n\n .icon-jui-right:before {\n content: \"\\e64d\"; }\n\n .icon-jui-back-top:before {\n content: \"\\e628\"; }\n\n .icon-jui-dropdown:before {\n content: \"\\e75a\"; }\n\n .icon-jui-down3:before {\n content: \"\\e629\"; }\n\n .icon-jui-alarm:before {\n content: \"\\e6c2\"; }\n\n .icon-jui-paper:before {\n content: \"\\e612\"; }\n\n .icon-jui-cross:before {\n content: \"\\e6b0\"; }\n\n .icon-jui-correct:before {\n content: \"\\e6b3\"; }\n\n .icon-jui-up3:before {\n content: \"\\eee4\"; }\n\n .icon-jui-username:before {\n content: \"\\e670\"; }\n\n .icon-jui-password:before {\n content: \"\\e615\"; }\n\n .icon-jui-slideLeft:before {\n content: \"\\e603\"; }\n\n .icon-jui-slideRight:before {\n content: \"\\e641\"; }\n\n \n .icon-doTurn {\n -webkit-animation: doTurn 1s infinite linear;\n animation: doTurn 1s infinite linear; }\n\n @-webkit-keyframes doTurn {\n 0% {\n -webkit-transform-origin: 50% 50%;\n -webkit-transform: rotate(0deg); }\n to {\n -webkit-transform-origin: 50% 50%;\n -webkit-transform: rotate(1turn); } }\n\n @keyframes doTurn {\n 0% {\n transform-origin: 50% 50%;\n transform: rotate(0deg); }\n to {\n transform-origin: 50% 50%;\n transform: rotate(1turn); } }\n jui-switch .jui-switch {\n vertical-align: middle;\n background: #fff;\n border: 1px solid #dfdfdf;\n position: relative;\n display: inline-block;\n box-sizing: content-box;\n overflow: visible;\n padding: 0;\n margin: 0;\n border-radius: 20px;\n cursor: pointer;\n box-shadow: inset 0 0 0 0 #dfdfdf;\n transition: all .3s ease-out;\n -webkit-transition: all .3s ease-out;\n top: -1px; }\n jui-switch .jui-switch .jui-switch-handle {\n background: #fff;\n border-radius: 100%;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);\n position: absolute;\n transition: all .3s ease-out;\n -webkit-transition: all .3s ease-out; }\n jui-switch .jui-switch .jui-switch-handle-default {\n width: 18px;\n height: 18px; }\n jui-switch .jui-switch .jui-switch-handle-small {\n width: 12px;\n height: 12px; }\n jui-switch .jui-switch .jui-switch-on, jui-switch .jui-switch .jui-switch-off {\n white-space: nowrap;\n display: inline-block;\n position: absolute;\n width: auto;\n overflow: hidden;\n user-select: none;\n -moz-user-select: none;\n -khtml-user-select: none;\n -webkit-user-select: none;\n font-weight: bold;\n height: 100%;\n line-height: 1.5em;\n font-size: 12px; }\n jui-switch .jui-switch .jui-switch-on i, jui-switch .jui-switch .jui-switch-off i {\n font-size: 12px; }\n jui-switch .jui-switch .jui-switch-on span, jui-switch .jui-switch .jui-switch-off span {\n display: inline-block;\n text-align: center;\n height: 100%;\n line-height: inherit; }\n jui-switch .jui-switch .jui-switch-on-default {\n left: 6px;\n border: 0 none;\n top: 1px; }\n jui-switch .jui-switch .jui-switch-off-default {\n right: 6px;\n text-align: right;\n top: 1px; }\n jui-switch .jui-switch .jui-switch-on-small {\n left: 3px;\n border: 0 none;\n top: -2px;\n -webkit-transform-origin-x: 0;\n -webkit-transform: scale(0.9);\n font-size: 10.8px; }\n jui-switch .jui-switch .jui-switch-off-small {\n right: 3px;\n text-align: right;\n top: -2px;\n -webkit-transform-origin-x: 0;\n -webkit-transform: scale(0.9);\n font-size: 10.8px; }\n jui-switch .jui-switch .jui-switch-display {\n display: none; }\n jui-switch .jui-switch .jui-helper-hidden-accessible input {\n display: none; }\n jui-switch .jui-switch .jui-state-focus {\n left: 23px;\n top: 1px; }\n jui-switch .jui-switch .jui-state-focus-small {\n left: 14px;\n top: 0; }\n jui-switch .jui-switch .jui-state-default {\n left: 1px;\n top: 1px; }\n jui-switch .jui-switch .jui-state-default-small {\n left: 0px;\n top: 0; }\n\n jui-switch .jui-switch-default {\n width: 42px;\n height: 20px; }\n\n jui-switch .jui-switch-small {\n width: 26px;\n height: 12px; }\n\n jui-switch .jui-switch-disabled, jui-switch .jui-switch-disabled span, jui-switch .jui-switch-disabled label {\n opacity: 0.5;\n filter: alpha(opacity=50);\n cursor: not-allowed !important; }\n\n jui-switch .jui-switch-display {\n display: none; }\n\n jui-switch .jui-switch-rectangle {\n display: inline-block;\n font-size: 0;\n cursor: pointer;\n -webkit-border-radius: 5px;\n -moz-border-radius: 5px;\n border-radius: 5px;\n border: 1px solid;\n border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);\n position: relative;\n text-align: left;\n overflow: hidden;\n line-height: 8px;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n -o-user-select: none;\n user-select: none;\n min-width: 100px; }\n jui-switch .jui-switch-rectangle div {\n display: inline-block;\n width: 150%;\n position: relative;\n top: 0; }\n jui-switch .jui-switch-rectangle div.switch-rectangle-animate {\n -webkit-transition: left 0.5s;\n -moz-transition: left 0.5s;\n -o-transition: left 0.5s;\n transition: left 0.5s; }\n jui-switch .jui-switch-rectangle span, jui-switch .jui-switch-rectangle label {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n cursor: pointer;\n position: relative;\n display: inline-block;\n height: 100%;\n padding-bottom: 4px;\n padding-top: 4px;\n font-size: 14px;\n line-height: 20px; }\n jui-switch .jui-switch-rectangle span {\n text-align: center;\n z-index: 1;\n width: 33%; }\n jui-switch .jui-switch-rectangle span.switch-left {\n -webkit-border-top-left-radius: 4px;\n -moz-border-radius-topleft: 4px;\n border-top-left-radius: 4px;\n -webkit-border-bottom-left-radius: 4px;\n -moz-border-radius-bottomleft: 4px;\n border-bottom-left-radius: 4px; }\n jui-switch .jui-switch-rectangle span.switch-primary, jui-switch .jui-switch-rectangle span.switch-left {\n color: #ffffff;\n text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\n background-color: #005fcc;\n background-image: -moz-linear-gradient(top, #0044cc, #0088cc);\n background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0044cc), to(#0088cc));\n background-image: -webkit-linear-gradient(top, #0044cc, #0088cc);\n background-image: -o-linear-gradient(top, #0044cc, #0088cc);\n background-image: linear-gradient(to bottom, #0044cc, #0088cc);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0044cc', endColorstr='#ff0088cc', GradientType=0);\n border-color: #0088cc #0088cc #005580;\n border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); }\n jui-switch .jui-switch-rectangle span.switch-right {\n color: #333333;\n text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);\n background-color: #f0f0f0;\n background-image: -moz-linear-gradient(top, #e6e6e6, #ffffff);\n background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e6e6e6), to(#ffffff));\n background-image: -webkit-linear-gradient(top, #e6e6e6, #ffffff);\n background-image: -o-linear-gradient(top, #e6e6e6, #ffffff);\n background-image: linear-gradient(to bottom, #e6e6e6, #ffffff);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe6e6e6', endColorstr='#ffffffff', GradientType=0);\n border-color: #ffffff #ffffff #d9d9d9;\n border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); }\n jui-switch .jui-switch-rectangle label {\n text-align: center;\n margin-top: -1px;\n margin-bottom: -1px;\n z-index: 100;\n width: 34%;\n border-left: 1px solid #cccccc;\n border-right: 1px solid #cccccc;\n color: #ffffff;\n text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\n background-color: #f5f5f5;\n background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);\n background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));\n background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);\n background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);\n background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);\n border-color: #e6e6e6 #e6e6e6 #bfbfbf;\n border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); }\n jui-switch .jui-switch-rectangle span.switch-info {\n color: #ffffff;\n text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\n background-color: #41a7c5;\n background-image: -moz-linear-gradient(top, #2f96b4, #5bc0de);\n background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#2f96b4), to(#5bc0de));\n background-image: -webkit-linear-gradient(top, #2f96b4, #5bc0de);\n background-image: -o-linear-gradient(top, #2f96b4, #5bc0de);\n background-image: linear-gradient(to bottom, #2f96b4, #5bc0de);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff2f96b4', endColorstr='#ff5bc0de', GradientType=0);\n border-color: #5bc0de #5bc0de #28a1c5;\n border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); }\n jui-switch .jui-switch-rectangle span.switch-success {\n color: #ffffff;\n text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\n background-color: #58b058;\n background-image: -moz-linear-gradient(top, #51a351, #62c462);\n background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#51a351), to(#62c462));\n background-image: -webkit-linear-gradient(top, #51a351, #62c462);\n background-image: -o-linear-gradient(top, #51a351, #62c462);\n background-image: linear-gradient(to bottom, #51a351, #62c462);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff51a351', endColorstr='#ff62c462', GradientType=0);\n border-color: #62c462 #62c462 #3b9e3b;\n border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); }\n jui-switch .jui-switch-rectangle span.switch-warning {\n color: #ffffff;\n text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\n background-color: #f9a123;\n background-image: -moz-linear-gradient(top, #f89406, #fbb450);\n background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f89406), to(#fbb450));\n background-image: -webkit-linear-gradient(top, #f89406, #fbb450);\n background-image: -o-linear-gradient(top, #f89406, #fbb450);\n background-image: linear-gradient(to bottom, #f89406, #fbb450);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff89406', endColorstr='#fffbb450', GradientType=0);\n border-color: #fbb450 #fbb450 #f89406;\n border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); }\n jui-switch .jui-switch-rectangle span.switch-danger {\n color: #ffffff;\n text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\n background-color: #d14641;\n background-image: -moz-linear-gradient(top, #bd362f, #ee5f5b);\n background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#bd362f), to(#ee5f5b));\n background-image: -webkit-linear-gradient(top, #bd362f, #ee5f5b);\n background-image: -o-linear-gradient(top, #bd362f, #ee5f5b);\n background-image: linear-gradient(to bottom, #bd362f, #ee5f5b);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffbd362f', endColorstr='#ffee5f5b', GradientType=0);\n border-color: #ee5f5b #ee5f5b #e51d18;\n border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);\n filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); }\n\n jui-switch .jui-switch-rectangle.switch-large {\n min-width: 120px; }\n jui-switch .jui-switch-rectangle.switch-large span.switch-large, jui-switch .jui-switch-rectangle.switch-large label.switch-large {\n padding-bottom: 9px;\n padding-top: 9px;\n font-size: 16px; }\n\n jui-switch .jui-switch-rectangle.switch-small {\n min-width: 80px; }\n jui-switch .jui-switch-rectangle.switch-small span.switch-small, jui-switch .jui-switch-rectangle.switch-small label.switch-small {\n padding-bottom: 3px;\n padding-top: 3px;\n font-size: 12px;\n line-height: 18px; }\n\n jui-switch .jui-switch-rectangle.switch-mini {\n min-width: 72px; }\n jui-switch .jui-switch-rectangle.switch-mini span.switch-mini, jui-switch .jui-switch-rectangle.switch-mini label.switch-mini {\n padding-bottom: 4px;\n padding-top: 4px;\n font-size: 10px;\n line-height: 9px; }\n "]; var RenderType_SwitchComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_SwitchComponent, data: {} }); exports.RenderType_SwitchComponent = RenderType_SwitchComponent; function View_SwitchComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "span", [["class", "jui-switch-onlabel"]], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, ["", ""]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.onLabel; _ck(_v, 1, 0, currVal_0); }); } function View_SwitchComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, "i", [], [[8, "className", 0]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, "iconfont ", _co.onIcon, ""); _ck(_v, 0, 0, currVal_0); }); } function View_SwitchComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "span", [["class", "jui-switch-offlabel"]], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, ["", ""]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.offLabel; _ck(_v, 1, 0, currVal_0); }); } function View_SwitchComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, "i", [], [[8, "className", 0]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, "iconfont ", _co.offIcon, ""); _ck(_v, 0, 0, currVal_0); }); } function View_SwitchComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, "i", [], [[8, "className", 0]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, "iconfont ", _co.onIcon, ""); _ck(_v, 0, 0, currVal_0); }); } function View_SwitchComponent_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, "i", [], [[8, "className", 0]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵinlineInterpolate(1, "iconfont ", _co.offIcon, ""); _ck(_v, 0, 0, currVal_0); }); } function View_SwitchComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 22, "div", [["class", "jui-switch"]], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) { var pd_0 = (_co.toggle($event) !== false); ad = (pd_0 && ad); } return ad; }, 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), i0.ɵpod(2, { "jui-switch-display": 0, "jui-switch-default": 1, "jui-switch-small": 2, "jui-switch-checked": 3, "jui-switch-unchecked": 4, "jui-switch-disabled": 5 }), i0.ɵdid(3, 278528, null, 0, i1.NgStyle, [i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngStyle: [0, "ngStyle"] }, null), (_l()(), i0.ɵeld(4, 0, null, null, 7, "div", [["class", "jui-switch-on"]], [[2, "jui-switch-display", 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), i0.ɵpod(6, { "jui-switch-on-default": 0, "jui-switch-on-small": 1 }), i0.ɵdid(7, 278528, null, 0, i1.NgStyle, [i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngStyle: [0, "ngStyle"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_SwitchComponent_1)), i0.ɵdid(9, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_SwitchComponent_2)), i0.ɵdid(11, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵeld(12, 0, null, null, 7, "div", [["class", "jui-switch-off"]], [[2, "jui-switch-display", null]], null, null, null, null)), i0.ɵdid(13, 278528, null, 0, i1.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, "klass"], ngClass: [1, "ngClass"] }, null), i0.ɵpod(14, { "jui-switch-off-default": 0, "jui-switch-off-small": 1 }), i0.ɵdid(15, 278528, null, 0, i1.NgStyle, [i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngStyle: [0, "ngStyle"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_SwitchComponent_3)), i0.ɵdid(17, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_SwitchComponent_4)), i0.ɵdid(19, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵeld(20, 0, null, null, 2, "div", [], null, null, null, null, null)), i0.ɵdid(21, 278528, null, 0, i1.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngClass: [0, "ngClass"] }, null), i0.ɵpod(22, { "jui-switch-handle": 0, "jui-switch-handle-default": 1, "jui-switch-handle-small": 2, "jui-state-focus": 3, "jui-state-focus-small": 4, "jui-state-default": 5, "jui-state-default-small": 6 }), (_l()(), i0.ɵeld(23, 0, null, null, 20, "div", [], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) { var pd_0 = (_co.toggle($event) !== false); ad = (pd_0 && ad); } return ad; }, null, null)), i0.ɵdid(24, 278528, null, 0, i1.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngClass: [0, "ngClass"] }, null), i0.ɵpod(25, { "jui-switch-display": 0, "jui-switch-rectangle": 1, "jui-switch-disabled": 2, "switch-large": 3, "switch-small": 4, "switch-mini": 5 }), (_l()(), i0.ɵeld(26, 0, null, null, 17, "div", [["class", "switch-rectangle switch-rectangle-animate"]], null, null, null, null, null)), i0.ɵdid(27, 278528, null, 0, i1.NgStyle, [i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngStyle: [0, "ngStyle"] }, null), (_l()(), i0.ɵeld(28, 0, null, null, 5, "span", [["class", "switch-left"]], null, null, null, null, null)), i0.ɵdid(29, 278528, null, 0, i1.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, "klass"], ngClass: [1, "ngClass"] }, null), i0.ɵpod(30, { "switch-large": 0, "switch-small": 1, "switch-mini": 2, "switch-primary": 3, "switch-info": 4, "switch-success": 5, "switch-warning": 6, "switch-danger": 7 }), (_l()(), i0.ɵted(31, null, ["", " "])), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_SwitchComponent_5)), i0.ɵdid(33, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵeld(34, 0, null, null, 3, "label", [], null, null, null, null, null)), i0.ɵdid(35, 278528, null, 0, i1.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngClass: [0, "ngClass"] }, null), i0.ɵpod(36, { "switch-large": 0, "switch-small": 1, "switch-mini": 2 }), (_l()(), i0.ɵted(-1, null, ["\u00A0"])), (_l()(), i0.ɵeld(38, 0, null, null, 5, "span", [["class", "switch-right"]], null, null, null, null, null)), i0.ɵdid(39, 278528, null, 0, i1.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, "klass"], ngClass: [1, "ngClass"] }, null), i0.ɵpod(40, { "switch-large": 0, "switch-small": 1, "switch-mini": 2, "switch-primary": 3, "switch-info": 4, "switch-success": 5, "switch-warning": 6, "switch-danger": 7 }), (_l()(), i0.ɵted(41, null, ["", " "])), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_SwitchComponent_6)), i0.ɵdid(43, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = "jui-switch"; var currVal_1 = _ck(_v, 2, 0, _co.rectangle, !_co.small, _co.small, _co.checked, !_co.checked, _co.disabled); _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_2 = _co.style; _ck(_v, 3, 0, currVal_2); var currVal_4 = "jui-switch-on"; var currVal_5 = _ck(_v, 6, 0, !_co.small, _co.small); _ck(_v, 5, 0, currVal_4, currVal_5); var currVal_6 = _co.onTextStyle; _ck(_v, 7, 0, currVal_6); var currVal_7 = _co.onLabel; _ck(_v, 9, 0, currVal_7); var currVal_8 = _co.onIcon; _ck(_v, 11, 0, currVal_8); var currVal_10 = "jui-switch-off"; var currVal_11 = _ck(_v, 14, 0, !_co.small, _co.small); _ck(_v, 13, 0, currVal_10, currVal_11); var currVal_12 = _co.offTextStyle; _ck(_v, 15, 0, currVal_12); var currVal_13 = _co.offLabel; _ck(_v, 17, 0, currVal_13); var currVal_14 = _co.offIcon; _ck(_v, 19, 0, currVal_14); var currVal_15 = _ck(_v, 22, 0, true, !_co.small, _co.small, (_co.checked && !_co.small), (_co.checked && _co.small), (!_co.checked && !_co.small), (!_co.checked && _co.small)); _ck(_v, 21, 0, currVal_15); var currVal_16 = _ck(_v, 25, 0, !_co.rectangle, _co.rectangle, _co.disabled, (_co.size == "large"), (_co.size == "small"), (_co.size == "mini")); _ck(_v, 24, 0, currVal_16); var currVal_17 = _co.recStyle; _ck(_v, 27, 0, currVal_17); var currVal_18 = "switch-left"; var currVal_19 = _ck(_v, 30, 0, (_co.size == "large"), (_co.size == "small"), (_co.size == "mini"), (_co.dataOn == "primary"), (_co.dataOn == "info"), (_co.dataOn == "success"), (_co.dataOn == "warning"), (_co.dataOn == "danger")); _ck(_v, 29, 0, currVal_18, currVal_19); var currVal_21 = _co.onIcon; _ck(_v, 33, 0, currVal_21); var currVal_22 = _ck(_v, 36, 0, (_co.size == "large"), (_co.size == "small"), (_co.size == "mini")); _ck(_v, 35, 0, currVal_22); var currVal_23 = "switch-right"; var currVal_24 = _ck(_v, 40, 0, (_co.size == "large"), (_co.size == "small"), (_co.size == "mini"), (_co.dataOff == "primary"), (_co.dataOff == "info"), (_co.dataOff == "success"), (_co.dataOff == "warning"), (_co.dataOff == "danger")); _ck(_v, 39, 0, currVal_23, currVal_24); var currVal_26 = _co.offIcon; _ck(_v, 43, 0, currVal_26); }, function (_ck, _v) { var _co = _v.component; var currVal_3 = !_co.checked; _ck(_v, 4, 0, currVal_3); var currVal_9 = _co.checked; _ck(_v, 12, 0, currVal_9); var currVal_20 = _co.onLabel; _ck(_v, 31, 0, currVal_20); var currVal_25 = _co.offLabel; _ck(_v, 41, 0, currVal_25); }); } exports.View_SwitchComponent_0 = View_SwitchComponent_0; function View_SwitchComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "jui-switch", [], null, null, null, View_SwitchComponent_0, RenderType_SwitchComponent)), i0.ɵdid(1, 114688, null, 0, i2.SwitchComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); } exports.View_SwitchComponent_Host_0 = View_SwitchComponent_Host_0; var SwitchComponentNgFactory = i0.ɵccf("jui-switch", i2.SwitchComponent, View_SwitchComponent_Host_0, { checked: "checked", isAutoChange: "isAutoChange", onLabel: "onLabel", offLabel: "offLabel", onIcon: "onIcon", offIcon: "offIcon", onTextColor: "onTextColor", offTextColor: "offTextColor", onColor: "onColor", offColor: "offColor", size: "size", disabled: "disabled", rectangle: "rectangle", dataOn: "dataOn", dataOff: "dataOff" }, { checkedChange: "checkedChange" }, []); exports.SwitchComponentNgFactory = SwitchComponentNgFactory; //# sourceMappingURL=switch.component.ngfactory.js.map