import { Component, h, Host, Prop } from '@stencil/core';
import services from '../../configs/services';
export class DevingenProductRootSepet {
  render() {
    const { apiKimlik, product } = this;
    return (h(Host, { class: "d-flex flex-grow-1 flex-column" },
      h("sepet-home", { apiEndpoint: services.sepet, apiHeaders: {
          Authorization: apiKimlik.api.getDefaults().headers['Authorization'],
          'devingen-product-id': product._id,
        } })));
  }
  static get is() { return "devingen-product-root-sepet"; }
  static get properties() { return {
    "apiKimlik": {
      "type": "unknown",
      "mutable": false,
      "complexType": {
        "original": "KimlikApi",
        "resolved": "KimlikApi",
        "references": {
          "KimlikApi": {
            "location": "import",
            "path": "@dvn/kimlik/api/kimlik-api"
          }
        }
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      }
    },
    "product": {
      "type": "unknown",
      "mutable": false,
      "complexType": {
        "original": "Product",
        "resolved": "Product",
        "references": {
          "Product": {
            "location": "import",
            "path": "../../models/product"
          }
        }
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      }
    }
  }; }
}
