import{r as c,h as r,H as n}from"./p-9f21f85f.js";const e={damga:"shield-check",kimlik:"padlock",sepet:"shopping-basket",taban:"database"},o=class{constructor(r){c(this,r)}render(){const{product:c}=this;return c?r(n,null,r("div",{class:{"icon-container":!0,[c.type]:!0}},r("dvn-icon",{iconName:`uil uil-${e[c.type]||"question"}`,scale:"large"})),r("div",{class:"d-flex flex-column"},c.name,r("div",{class:"product-type"},c.type))):r(n,null,r("div",{class:"icon-container"},r("dvn-icon",{iconName:"uil uil-plus",scale:"large"})),"Add new product")}};o.style="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)}";export{o as devingen_product_card}