carbon-components-angular
Version:
Next generation components
44 lines (41 loc) • 4.85 kB
JavaScript
/*!
*
* Neutrino v0.0.0 | calendar-months.component.ngfactory.js
*
* Copyright 2014, 2018 IBM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @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 "../calendar-header.component.ngfactory";
import * as i3 from "../calendar-header.component";
import * as i4 from "./calendar-months.component";
var styles_CalendarMonths = [];
var RenderType_CalendarMonths = i0.ɵcrt({ encapsulation: 2, styles: styles_CalendarMonths, data: {} });
export { RenderType_CalendarMonths as RenderType_CalendarMonths };
function View_CalendarMonths_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 5, "td", [], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
var pd_0 = (_co.selectMonth(((_v.parent.context.$implicit * 4) + _v.context.$implicit)) !== 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], { ngClass: [0, "ngClass"] }, null), i0.ɵpod(2, { "today": 0, "selected": 1, "range": 2, "disabled": 3 }), (_l()(), i0.ɵeld(3, 0, null, null, 2, "div", [], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 1, "p", [], null, null, null, null, null)), (_l()(), i0.ɵted(5, null, [" ", " "]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 2, 0, _co.isCurrentMonth(((_v.parent.context.$implicit * 4) + _v.context.$implicit)), _co.isSelected(((_v.parent.context.$implicit * 4) + _v.context.$implicit)), _co.inRange(((_v.parent.context.$implicit * 4) + _v.context.$implicit)), _co.isDisabled(((_v.parent.context.$implicit * 4) + _v.context.$implicit))); _ck(_v, 1, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.months[((_v.parent.context.$implicit * 4) + _v.context.$implicit)]; _ck(_v, 5, 0, currVal_1); }); }
function View_CalendarMonths_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, "tr", [["class", "grid_row--months"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_CalendarMonths_2)), 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.range(4); _ck(_v, 2, 0, currVal_0); }, null); }
export function View_CalendarMonths_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 6, "div", [["class", "calendar-view"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, "ibm-calendar-header", [["header", "yearOnly"]], null, null, null, i2.View_CalendarHeader_0, i2.RenderType_CalendarHeader)), i0.ɵdid(2, 49152, null, 0, i3.CalendarHeader, [], { currentView: [0, "currentView"], header: [1, "header"] }, null), (_l()(), i0.ɵeld(3, 0, null, null, 3, "table", [["class", "calendar_grid"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 2, "tbody", [], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_CalendarMonths_1)), i0.ɵdid(6, 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.currentView; var currVal_1 = "yearOnly"; _ck(_v, 2, 0, currVal_0, currVal_1); var currVal_2 = _co.range(3); _ck(_v, 6, 0, currVal_2); }, null); }
export function View_CalendarMonths_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "ibm-calendar-months-view", [], null, null, null, View_CalendarMonths_0, RenderType_CalendarMonths)), i0.ɵdid(1, 114688, null, 0, i4.CalendarMonths, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }
var CalendarMonthsNgFactory = i0.ɵccf("ibm-calendar-months-view", i4.CalendarMonths, View_CalendarMonths_Host_0, { model: "model" }, {}, []);
export { CalendarMonthsNgFactory as CalendarMonthsNgFactory };
//# sourceMappingURL=calendar-months.component.ngfactory.js.map