UNPKG

@larva.io/webcomponents

Version:

Fentrica SmartUnits WebComponents package

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