import { Component, Host, h, Prop } from '@stencil/core';
import stringCombiner from '../../utils/stringCombiner';
export class TeliaColumn {
  constructor() {
    /** Tracking id is used to identify and count Component usage */
    this.dataTrackingId = 'telia-col';
  }
  render() {
    const columnClassList = stringCombiner([
      'telia-col',
      {
        [`telia-col-${this.width}`]: !!this.width,
        [`telia-col-md-${this.widthMd}`]: !!this.widthMd,
        [`telia-col-lg-${this.widthLg}`]: !!this.widthLg,
        [`telia-col-hide-up-${this.hideUp}`]: !!this.hideUp,
        [`telia-col-hide-down-${this.hideDown}`]: !!this.hideDown,
      },
    ]);
    return (h(Host, { class: columnClassList },
      h("slot", null),
      h("telia-vst", { dataTrackingId: this.dataTrackingId })));
  }
  static get is() { return "telia-col"; }
  static get originalStyleUrls() { return {
    "$": ["telia-column.scss"]
  }; }
  static get styleUrls() { return {
    "$": ["telia-column.css"]
  }; }
  static get properties() { return {
    "dataTestid": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "string",
        "resolved": "string",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": "Test id set for web component host"
      },
      "attribute": "data-testid",
      "reflect": false
    },
    "width": {
      "type": "number",
      "mutable": false,
      "complexType": {
        "original": "ColumnWidthType",
        "resolved": "1 | 10 | 11 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9",
        "references": {
          "ColumnWidthType": {
            "location": "local"
          }
        }
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": "Column size"
      },
      "attribute": "width",
      "reflect": false
    },
    "widthMd": {
      "type": "number",
      "mutable": false,
      "complexType": {
        "original": "ColumnWidthType",
        "resolved": "1 | 10 | 11 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9",
        "references": {
          "ColumnWidthType": {
            "location": "local"
          }
        }
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": "Column size starting from MD breakpoint"
      },
      "attribute": "width-md",
      "reflect": false
    },
    "widthLg": {
      "type": "number",
      "mutable": false,
      "complexType": {
        "original": "ColumnWidthType",
        "resolved": "1 | 10 | 11 | 12 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9",
        "references": {
          "ColumnWidthType": {
            "location": "local"
          }
        }
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": "Column size starting from LG breakpoint"
      },
      "attribute": "width-lg",
      "reflect": false
    },
    "hideUp": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "'sm' | 'md' | 'lg'",
        "resolved": "\"lg\" | \"md\" | \"sm\"",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": "Hide column from this breakpoint up"
      },
      "attribute": "hide-up",
      "reflect": false
    },
    "hideDown": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "'sm' | 'md'",
        "resolved": "\"md\" | \"sm\"",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": "Hide breakpoint on this breakpoint scope and down"
      },
      "attribute": "hide-down",
      "reflect": false
    }
  }; }
}
