ngx-tag-autocomplete
Version:
Tag input component for Angular
23 lines • 3.08 kB
JavaScript
"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("./tag-input-item.component");
var styles_TagInputItemComponent = ["[_nghost-%COMP%] {\n font-family: \"Roboto\", \"Helvetica Neue\", sans-serif;\n font-size: 16px;\n height: 32px;\n line-height: 32px;\n display: inline-block;\n background: #e0e0e0;\n padding: 0 12px;\n border-radius: 90px;\n margin-right: 10px;\n transition: all 0.12s ease-out;\n }\n\n [_nghost-%COMP%] .ng2-tag-input-remove[_ngcontent-%COMP%] {\n background: #a6a6a6;\n border-radius: 50%;\n color: #e0e0e0;\n cursor: pointer;\n display: inline-block;\n font-size: 17px;\n height: 24px;\n line-height: 24px;\n margin-left: 6px;\n margin-right: -6px;\n text-align: center;\n width: 24px;\n }\n\n .ng2-tag-input-item-selected[_nghost-%COMP%] {\n color: white;\n background: #0d8bff;\n }\n\n .ng2-tag-input-item-selected[_nghost-%COMP%] .ng2-tag-input-remove[_ngcontent-%COMP%] {\n background: white;\n color: #0d8bff;\n }"];
var RenderType_TagInputItemComponent = i0.ɵcrt({ encapsulation: 0, styles: styles_TagInputItemComponent, data: {} });
exports.RenderType_TagInputItemComponent = RenderType_TagInputItemComponent;
function View_TagInputItemComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵted(0, null, [" ", " "])), (_l()(), i0.ɵeld(1, 0, null, null, 1, "span", [["class", "ng2-tag-input-remove"]], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
var pd_0 = (_co.removeTag() !== false);
ad = (pd_0 && ad);
} return ad; }, null, null)), (_l()(), i0.ɵted(-1, null, ["\u00D7"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.text; _ck(_v, 0, 0, currVal_0); }); }
exports.View_TagInputItemComponent_0 = View_TagInputItemComponent_0;
function View_TagInputItemComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "ngx-tag-input-item", [], [[2, "ng2-tag-input-item-selected", null]], null, null, View_TagInputItemComponent_0, RenderType_TagInputItemComponent)), i0.ɵdid(1, 49152, null, 0, i1.TagInputItemComponent, [], null, null)], null, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 1).isSelected; _ck(_v, 0, 0, currVal_0); }); }
exports.View_TagInputItemComponent_Host_0 = View_TagInputItemComponent_Host_0;
var TagInputItemComponentNgFactory = i0.ɵccf("ngx-tag-input-item", i1.TagInputItemComponent, View_TagInputItemComponent_Host_0, { selected: "selected", text: "text", index: "index" }, { tagRemoved: "tagRemoved" }, []);
exports.TagInputItemComponentNgFactory = TagInputItemComponentNgFactory;
//# sourceMappingURL=tag-input-item.component.ngfactory.js.map