import{r as registerInstance,h,H as Host}from"./index-ecdfb761.js";var devingenProductCardCss="devingen-product-card{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:calc(2 * var(--spacing-unit));color:var(--color-text);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}devingen-product-card .icon-container{padding:calc(2.4 * var(--spacing-unit));background:var(--color-background-primary);border-radius:calc(var(--corner-radius) / 3 * 2);margin-right:calc(2 * var(--spacing-unit))}devingen-product-card .icon-container.damga{background:var(--color-secondary);color:white}devingen-product-card .icon-container.kimlik{background:var(--color-primary);color:white}devingen-product-card .icon-container.sepet{background:var(--color-danger);color:white}devingen-product-card .icon-container.taban{background:var(--color-warning);color:white}devingen-product-card .product-type{font-size:0.9em;color:var(--color-text-secondary)}";var productIcons={damga:"shield-check",kimlik:"padlock",sepet:"shopping-basket",taban:"database"};var DevingenHomePage=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){var e;var n=this.product;if(!n){return h(Host,null,h("div",{class:"icon-container"},h("dvn-icon",{iconName:"uil uil-plus",scale:"large"})),"Add new product")}return h(Host,null,h("div",{class:(e={"icon-container":true},e[n.type]=true,e)},h("dvn-icon",{iconName:"uil uil-".concat(productIcons[n.type]||"question"),scale:"large"})),h("div",{class:"d-flex flex-column"},n.name,h("div",{class:"product-type"},n.type)))};return e}();DevingenHomePage.style=devingenProductCardCss;export{DevingenHomePage as devingen_product_card};