@senx/discovery-plugin-marauder
Version:
Discovery plugin - Marauder's map
2 lines • 3.48 kB
JavaScript
import{r as registerInstance,c as createEvent,h}from"./index-7d8b9e81.js";var discoveryInputChipsChipCss='/*!\n * Copyright 2022 SenX S.A.S.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */:host{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-align:center;align-items:center;background-color:var(--chip-background-color, #f0f0f0);border-color:var(--chip-border-color, transparent);border-width:var(--chip-border-width, 0px);font-size:var(--chip-font-size, 24px);line-height:var(--chip-font-size, 24px);white-space:nowrap;border-radius:var(--warp-view-input-border-radius, 0.25rem);margin-left:3px;padding:5px;height:20px}:host #label{padding-left:5px}:host #close_icon{cursor:pointer}:host #icon{height:var(--chip-icon-height, 16px);width:var(--chip-icon-width, 16px);-o-object-fit:scale-down;object-fit:scale-down}:host #close_icon{height:var(--chip-close-icon-height, 16px);width:var(--chip-close-icon-width, 16px);-o-object-fit:scale-down;object-fit:scale-down;margin-left:5px;pointer-events:all;display:inline-table}:host #close_icon_stroke{fill:var(--chip-close-icon-fill, lightgrey)}:host #close_icon:hover #close_icon_stroke{fill:var(--chip-close-icon-hover-fill, lightblue)}';var DiscoveryInputChipsChipStyle0=discoveryInputChipsChipCss;var DiscoveryInputChipsChip=function(){function e(e){registerInstance(this,e);this.removeChip=createEvent(this,"removeChip",6);this.label=undefined}e.prototype.render=function(){var e=this;return[h("span",{key:"41b34adeae8f3794648025eac596fca7918bdbdd",id:"label",innerHTML:this.label}),h("div",{key:"e7a1e155a942034c96368a7f3d819ea0eeb94c9b",id:"close_icon",onClick:function(){return e.handleClose()}},h("svg",{key:"110214a0928b43999b209d07646c7fd16b9363fc",fill:"#000000",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 100 100","enable-background":"new 0 0 100 100","xml:space":"preserve"},h("path",{key:"077c4465df73a449bdb2ca6b63fb6ecfd29e07ea",id:"close_icon_stroke",d:"M50.433,0.892c-27.119,0-49.102,21.983-49.102,49.102s21.983,49.103,49.102,49.103s49.101-21.984,49.101-49.103 S77.552,0.892,50.433,0.892z M69.879,70.439l-0.05,0.053c-2.644,2.792-7.052,2.913-9.845,0.269l-10.192-9.649l-9.647,10.19 c-2.645,2.793-6.998,2.853-9.845,0.268l-0.053-0.048c-2.847-2.586-2.915-7.052-0.27-9.845l9.648-10.19L28.707,41.149 c-2.793-2.645-2.913-7.052-0.269-9.845l0.05-0.053c2.645-2.793,7.052-2.914,9.845-0.27l10.919,10.337l10.337-10.918 c2.645-2.793,7.053-2.913,9.846-0.27l0.052,0.049c2.793,2.644,2.913,7.053,0.27,9.845L59.418,50.945l10.192,9.65 C72.402,63.239,72.523,67.647,69.879,70.439z"})))]};e.prototype.handleClose=function(){this.removeChip.emit(this.label)};return e}();DiscoveryInputChipsChip.style=DiscoveryInputChipsChipStyle0;export{DiscoveryInputChipsChip as discovery_input_chips_chip};
//# sourceMappingURL=discovery-input-chips-chip.entry.js.map