import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
import { d as defineCustomElement$4 } from './ecl-banner2.js';
import { d as defineCustomElement$3 } from './ecl-icon2.js';
import { d as defineCustomElement$2 } from './ecl-link2.js';

const EclCarouselItem$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
  constructor() {
    super();
    this.__registerHost();
    this.styleClass = '';
    this.bannerTitle = '';
    this.bannerVariant = '';
    this.image = '';
    this.theme = 'ec';
    this.ctaLink = undefined;
    this.ctaLabel = undefined;
    this.size = 'm';
    this.ariaLabel = undefined;
    this.centered = undefined;
  }
  getClass() {
    return [
      `ecl-carousel__item`,
      this.styleClass
    ].join(' ');
  }
  render() {
    return (h("div", { class: "ecl-carousel__slide", role: "group", "aria-label": this.ariaLabel }, h("ecl-banner", { "banner-title": this.bannerTitle, image: this.image, variant: this.bannerVariant, theme: this.theme, "cta-link": this.ctaLink, "cta-label": this.ctaLabel, centered: this.centered, size: this.size }, h("slot", null))));
  }
}, [4, "ecl-carousel-item", {
    "styleClass": [1, "style-class"],
    "bannerTitle": [1, "banner-title"],
    "bannerVariant": [1, "banner-variant"],
    "image": [1],
    "theme": [1],
    "ctaLink": [1, "cta-link"],
    "ctaLabel": [1, "cta-label"],
    "size": [1],
    "ariaLabel": [1, "aria-label"],
    "centered": [4]
  }]);
function defineCustomElement$1() {
  if (typeof customElements === "undefined") {
    return;
  }
  const components = ["ecl-carousel-item", "ecl-banner", "ecl-icon", "ecl-link"];
  components.forEach(tagName => { switch (tagName) {
    case "ecl-carousel-item":
      if (!customElements.get(tagName)) {
        customElements.define(tagName, EclCarouselItem$1);
      }
      break;
    case "ecl-banner":
      if (!customElements.get(tagName)) {
        defineCustomElement$4();
      }
      break;
    case "ecl-icon":
      if (!customElements.get(tagName)) {
        defineCustomElement$3();
      }
      break;
    case "ecl-link":
      if (!customElements.get(tagName)) {
        defineCustomElement$2();
      }
      break;
  } });
}

const EclCarouselItem = EclCarouselItem$1;
const defineCustomElement = defineCustomElement$1;

export { EclCarouselItem, defineCustomElement };

//# sourceMappingURL=ecl-carousel-item.js.map