@larva.io/webcomponents
Version:
Fentrica SmartUnits WebComponents package
41 lines (36 loc) • 1.68 kB
JavaScript
/*!
* (C) Fentrica http://fentrica.com - Seee LICENSE.md
*/
import { p as proxyCustomElement, H, h, d as Host } from './p-AOwgnAK2.js';
const appCss = "slot-fb[hidden],slot[hidden]{display:initial !important}lar-app{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--lar-background-color, #000);color:var(--lar-text-color, #fff);font-family:var(--lar-font-family, inherit);display:block;position:relative !important;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;-webkit-overflow-scrolling:touch;will-change:scroll-position;-ms-scroll-chaining:none;overscroll-behavior:contain;overflow:auto}";
const LarvaApp = /*@__PURE__*/ proxyCustomElement(class LarvaApp extends H {
constructor(registerHost) {
super();
if (registerHost !== false) {
this.__registerHost();
}
}
render() {
return (h(Host, { key: 'd2a76f28dd64be594c770d2679750405650c9689', class: { 'lar-app': true } }));
}
static get style() { return appCss; }
}, [256, "lar-app"]);
function defineCustomElement$1() {
if (typeof customElements === "undefined") {
return;
}
const components = ["lar-app"];
components.forEach(tagName => { switch (tagName) {
case "lar-app":
if (!customElements.get(tagName)) {
customElements.define(tagName, LarvaApp);
}
break;
} });
}
defineCustomElement$1();
const LarApp = LarvaApp;
const defineCustomElement = defineCustomElement$1;
export { LarApp, defineCustomElement };
//# sourceMappingURL=lar-app.js.map
//# sourceMappingURL=lar-app.js.map