UNPKG

@larva.io/webcomponents

Version:

Fentrica SmartUnits WebComponents package

19 lines (16 loc) 1.21 kB
/*! * (C) Fentrica http://fentrica.com - Seee LICENSE.md */ import { r as registerInstance, h } from './index-C4h1muVj.js'; const WeatherItem = class { constructor(hostRef) { registerInstance(this, hostRef); } render() { return [ h("lar-list-item", { key: 'de105c9ea455307dfe617f4c31c6dc67564e4002' }, h("div", { key: '2f80a102e73a0b4165cb2387e7392de98e21c31b', slot: "start", class: "circle" }, h("lar-icon", { key: '6e5300b09d6ff36362db8357d7db8b869e8cf3fe', color: "tertiary", style: { transform: `rotate(${this.rotateIcon || 0}deg)` }, icon: this.icon })), h("h4", { key: 'aa49bc89ef053c121e3e0904bfec055bf93e2411' }, h("lar-translate", { key: '647d5ab7eba473210cde5dd4ff6174070d7fc91b', t: this.name })), this.value !== 'true' && this.value !== 'false' && h("span", { key: '471e5ec61275a8054d5154d929fbf289dbe815ac' }, this.value), (this.value === 'true' || this.value === 'false') && h("span", { key: 'b142ea10052dda54964bb36df1b5ccebd5baf389' }, h("lar-translate", { key: '132b1c40e7caa4017ff3f597131886b07e5145bf', t: `weather.${this.value}` }))) ]; } }; export { WeatherItem as lar_weather_item }; //# sourceMappingURL=lar-weather-item.entry.js.map