import { Component, Host, Prop, h } from '@stencil/core';
import { createColorClasses } from '../../utils/theme';
export class GascoDialogFooter {
  constructor() {
    /**
     * If `true`, the dialog footer will be translucent.
     */
    this.translucent = false;
    /**
     * If `true`, the dialog footer will be line.
     */
    this.line = false;
    /**
     * If `true`, the dialog footer will be line.
     */
    this.position = 'right';
  }
  render() {
    return (h(Host, { class: createColorClasses(null, {
        'gasco-inherit-color': true,
        'dialog-footer-line': this.line,
        [`dialog-footer-${this.position}`]: true,
        'dialog-footer-translucent': this.translucent,
      }) },
      h("slot", null)));
  }
  static get is() { return "gasco-dialog-footer"; }
  static get encapsulation() { return "shadow"; }
  static get originalStyleUrls() { return {
    "$": ["gasco-dialog-footer.md.scss"]
  }; }
  static get styleUrls() { return {
    "$": ["gasco-dialog-footer.md.css"]
  }; }
  static get properties() { return {
    "translucent": {
      "type": "boolean",
      "mutable": false,
      "complexType": {
        "original": "boolean",
        "resolved": "boolean",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": "If `true`, the dialog footer will be translucent."
      },
      "attribute": "translucent",
      "reflect": false,
      "defaultValue": "false"
    },
    "line": {
      "type": "boolean",
      "mutable": false,
      "complexType": {
        "original": "boolean",
        "resolved": "boolean",
        "references": {}
      },
      "required": false,
      "optional": true,
      "docs": {
        "tags": [],
        "text": "If `true`, the dialog footer will be line."
      },
      "attribute": "line",
      "reflect": false,
      "defaultValue": "false"
    },
    "position": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "'left' | 'right'",
        "resolved": "\"left\" | \"right\"",
        "references": {}
      },
      "required": false,
      "optional": true,
      "docs": {
        "tags": [],
        "text": "If `true`, the dialog footer will be line."
      },
      "attribute": "position",
      "reflect": false,
      "defaultValue": "'right'"
    }
  }; }
}
