UNPKG

yoyo-ng-modulewindy

Version:

服务于52ABP模板的前端开源的相关组件内容。整合了ng-alain和你NG ZORRO的内容

27 lines 6.34 kB
/** * @fileoverview This file was generated by the Angular template compiler. Do not edit. * * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes} * tslint:disable */ import * as i0 from "@angular/core"; import * as i1 from "@angular/common"; import * as i2 from "../../../../node_modules/ng-zorro-antd/antd.ngfactory"; import * as i3 from "ng-zorro-antd"; import * as i4 from "./pie.component"; var styles_G2PieComponent = []; var RenderType_G2PieComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_G2PieComponent, data: {} }); export { RenderType_G2PieComponent as RenderType_G2PieComponent }; function View_G2PieComponent_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, "h4", [["class", "pie-sub-title"]], [[8, "innerHTML", 1]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.subTitle; _ck(_v, 0, 0, currVal_0); }); } function View_G2PieComponent_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, "div", [["class", "pie-stat"]], [[8, "innerHTML", 1]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.total; _ck(_v, 0, 0, currVal_0); }); } function View_G2PieComponent_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, "div", [["class", "total"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_G2PieComponent_2)), i0.ɵdid(2, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_G2PieComponent_3)), i0.ɵdid(4, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.subTitle; _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.total; _ck(_v, 4, 0, currVal_1); }, null); } function View_G2PieComponent_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 11, "li", [], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) { var pd_0 = (_co.handleLegendClick(_v.context.index) !== false); ad = (pd_0 && ad); } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 2, "span", [["class", "dot"]], null, null, null, null, null)), i0.ɵdid(2, 278528, null, 0, i1.NgStyle, [i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { ngStyle: [0, "ngStyle"] }, null), i0.ɵpod(3, { "background-color": 0 }), (_l()(), i0.ɵeld(4, 0, null, null, 1, "span", [["class", "legend-title"]], null, null, null, null, null)), (_l()(), i0.ɵted(5, null, ["", ""])), (_l()(), i0.ɵeld(6, 0, null, null, 2, "nz-divider", [["nzType", "vertical"]], null, null, null, i2.View_ɵgx_0, i2.RenderType_ɵgx)), i0.ɵprd(512, null, i3.ɵc, i3.ɵc, [i0.Renderer2]), i0.ɵdid(8, 638976, null, 0, i3.ɵgx, [i0.ElementRef, i0.ChangeDetectorRef, i3.ɵc], { nzType: [0, "nzType"] }, null), (_l()(), i0.ɵeld(9, 0, null, null, 1, "span", [["class", "percent"]], null, null, null, null, null)), (_l()(), i0.ɵted(10, null, ["", "%"])), (_l()(), i0.ɵeld(11, 0, null, null, 0, "span", [["class", "value"]], [[8, "innerHTML", 1]], null, null, null, null))], function (_ck, _v) { var currVal_0 = _ck(_v, 3, 0, (!_v.context.$implicit.checked ? "#aaa" : _v.context.$implicit.color)); _ck(_v, 2, 0, currVal_0); var currVal_2 = "vertical"; _ck(_v, 8, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _v.context.$implicit.x; _ck(_v, 5, 0, currVal_1); var currVal_3 = _v.context.$implicit.percent; _ck(_v, 10, 0, currVal_3); var currVal_4 = (_co.valueFormat ? _co.valueFormat(_v.context.$implicit.y) : _v.context.$implicit.y); _ck(_v, 11, 0, currVal_4); }); } function View_G2PieComponent_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, "ul", [["class", "legend"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_G2PieComponent_5)), i0.ɵdid(2, 278528, null, 0, i1.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, "ngForOf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.legendData; _ck(_v, 2, 0, currVal_0); }, null); } export function View_G2PieComponent_0(_l) { return i0.ɵvid(2, [i0.ɵqud(402653184, 1, { node: 0 }), (_l()(), i0.ɵeld(1, 0, null, null, 3, "div", [["class", "chart"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, [[1, 0], ["container", 1]], null, 0, "div", [], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_G2PieComponent_1)), i0.ɵdid(4, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_G2PieComponent_4)), i0.ɵdid(6, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.subTitle || _co.total); _ck(_v, 4, 0, currVal_0); var currVal_1 = (_co.hasLegend && ((_co.legendData == null) ? null : _co.legendData.length)); _ck(_v, 6, 0, currVal_1); }, null); } export function View_G2PieComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "g2-pie", [], [[2, "ad-pie", null], [2, "has-legend", null], [2, "legend-block", null]], null, null, View_G2PieComponent_0, RenderType_G2PieComponent)), i0.ɵdid(1, 4964352, null, 0, i4.G2PieComponent, [i0.ElementRef, i0.ChangeDetectorRef, i0.NgZone], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, function (_ck, _v) { var currVal_0 = true; var currVal_1 = i0.ɵnov(_v, 1).hasLegend; var currVal_2 = i0.ɵnov(_v, 1).legendBlock; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2); }); } var G2PieComponentNgFactory = i0.ɵccf("g2-pie", i4.G2PieComponent, View_G2PieComponent_Host_0, { animate: "animate", color: "color", subTitle: "subTitle", total: "total", height: "height", hasLegend: "hasLegend", legendBlock: "legendBlock", inner: "inner", padding: "padding", percent: "percent", tooltip: "tooltip", lineWidth: "lineWidth", select: "select", data: "data", valueFormat: "valueFormat", colors: "colors" }, {}, []); export { G2PieComponentNgFactory as G2PieComponentNgFactory }; //# sourceMappingURL=pie.component.ngfactory.js.map