carbon-components-angular
Version:
Next generation components
41 lines (38 loc) • 4.82 kB
JavaScript
/*!
*
* Neutrino v0.0.0 | notification.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 "./notification.service";
import * as i2 from "./notification.component";
import * as i3 from "../i18n/i18n.service";
var styles_Notification = [];
var RenderType_Notification = i0.ɵcrt({ encapsulation: 2, styles: styles_Notification, data: {} });
export { RenderType_Notification as RenderType_Notification };
export function View_Notification_0(_l) { return i0.ɵvid(0, [i0.ɵqud(402653184, 1, { notification: 0 }), (_l()(), i0.ɵeld(1, 0, null, null, 5, "div", [["class", "bx--inline-notification__details"]], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 1, ":svg:svg", [["class", "bx--inline-notification__icon"], ["height", "16"], ["viewBox", "0 0 16 16"], ["width", "16"], ["xmlns", "http://www.w3.org/2000/svg"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 0, ":svg:path", [["d", "M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16zM3.293 4.707l8 8 1.414-1.414-8-8-1.414 1.414z"], ["fill-rule", "evenodd"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 2, "div", [["class", "bx--inline-notification__text-wrapper"]], null, null, null, null, null)), (_l()(), i0.ɵeld(5, 0, null, null, 0, "p", [["class", "bx--inline-notification__title"]], [[8, "innerHTML", 1]], null, null, null, null)), (_l()(), i0.ɵeld(6, 0, null, null, 0, "p", [["class", "bx--inline-notification__subtitle"]], [[8, "innerHTML", 1]], null, null, null, null)), (_l()(), i0.ɵeld(7, 0, null, null, 2, "button", [["class", "bx--inline-notification__close-button"], ["type", "button"]], [[1, "aria-label", 0]], [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
var pd_0 = (_co.onClose() !== false);
ad = (pd_0 && ad);
} return ad; }, null, null)), (_l()(), i0.ɵeld(8, 0, null, null, 1, ":svg:svg", [["class", "bx--inline-notification__close-icon"], ["height", "10"], ["viewBox", "0 0 10 10"], ["width", "10"], ["xmlns", "http://www.w3.org/2000/svg"]], null, null, null, null, null)), (_l()(), i0.ɵeld(9, 0, null, null, 0, ":svg:path", [["d", "M6.32 5L10 8.68 8.68 10 5 6.32 1.32 10 0 8.68 3.68 5 0 1.32 1.32 0 5 3.68 8.68 0 10 1.32 6.32 5z"], ["fill-rule", "nonzero"]], null, null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.notificationObj.title; _ck(_v, 5, 0, currVal_0); var currVal_1 = _co.notificationObj.message; _ck(_v, 6, 0, currVal_1); var currVal_2 = _co.notificationObj.closeLabel; _ck(_v, 7, 0, currVal_2); }); }
export function View_Notification_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, "ibm-notification", [], [[1, "id", 0], [2, "bx--inline-notification", null], [1, "role", 0], [2, "bx--inline-notification--error", null], [2, "bx--inline-notification--info", null], [2, "bx--inline-notification--success", null], [2, "bx--inline-notification--warning", null]], null, null, View_Notification_0, RenderType_Notification)), i0.ɵprd(131584, null, i1.NotificationService, i1.NotificationService, [i0.Injector, i0.ComponentFactoryResolver, i0.ApplicationRef]), i0.ɵdid(2, 114688, null, 0, i2.Notification, [i1.NotificationService, i3.I18n], null, null)], function (_ck, _v) { _ck(_v, 2, 0); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 2).notificationID; var currVal_1 = i0.ɵnov(_v, 2).notificationClass; var currVal_2 = i0.ɵnov(_v, 2).role; var currVal_3 = i0.ɵnov(_v, 2).isError; var currVal_4 = i0.ɵnov(_v, 2).isInfo; var currVal_5 = i0.ɵnov(_v, 2).isSuccess; var currVal_6 = i0.ɵnov(_v, 2).isWarning; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); }); }
var NotificationNgFactory = i0.ɵccf("ibm-notification", i2.Notification, View_Notification_Host_0, { notificationObj: "notificationObj" }, { close: "close" }, []);
export { NotificationNgFactory as NotificationNgFactory };
//# sourceMappingURL=notification.component.ngfactory.js.map