'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var __chunk_1 = require('./chunk-cc325129.js');
var __chunk_2 = require('./chunk-d8f887e2.js');
var __chunk_4 = require('./chunk-db6c6598.js');

//
var script = {
  name: 'NavigationIconButtonAtom',
  props: {
    icon: {
      type: String,
      default: null
    },
    height: {
      type: String,
      default: '32px'
    },
    width: {
      type: String,
      default: '32px'
    }
  },
  computed: {
    iconButtonCssClass: function iconButtonCssClass() {
      return Object.assign(this.themeCssClass, {
        'icon-button-atom': true
      });
    },
    isIconSlotFilled: function isIconSlotFilled() {
      return !!this.$slots.default;
    }
  },
  methods: {
    emitClick: function emitClick() {
      this.$emit('click');
    }
  },
  mixins: [__chunk_2.ThemeMixin],
  components: {
    SvgAtom: __chunk_4.SvgAtom
  }
};

/* script */
const __vue_script__ = script;

/* template */
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',{class:_vm.iconButtonCssClass,attrs:{"width":_vm.width,"height":_vm.height},on:{"click":_vm.emitClick}},[_vm._t("default"),_vm._v(" "),(!_vm.isIconSlotFilled)?_c('svg-atom',{attrs:{"width":_vm.width,"height":_vm.height,"name":_vm.icon}}):_vm._e()],2)};
var __vue_staticRenderFns__ = [];

  /* style */
  const __vue_inject_styles__ = undefined;
  /* scoped */
  const __vue_scope_id__ = undefined;
  /* module identifier */
  const __vue_module_identifier__ = undefined;
  /* functional template */
  const __vue_is_functional_template__ = false;
  /* style inject */
  
  /* style inject SSR */
  

  
  var IconButtonAtom = __chunk_1.__vue_normalize__(
    { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
    __vue_inject_styles__,
    __vue_script__,
    __vue_scope_id__,
    __vue_is_functional_template__,
    __vue_module_identifier__,
    undefined,
    undefined
  );

var script$1 = {
  name: 'VIconButton',
  extends: IconButtonAtom
};

/* script */
const __vue_script__$1 = script$1;

/* template */

  /* style */
  const __vue_inject_styles__$1 = undefined;
  /* scoped */
  const __vue_scope_id__$1 = undefined;
  /* module identifier */
  const __vue_module_identifier__$1 = undefined;
  /* functional template */
  const __vue_is_functional_template__$1 = undefined;
  /* style inject */
  
  /* style inject SSR */
  

  
  var VIconButton = __chunk_1.__vue_normalize__(
    {},
    __vue_inject_styles__$1,
    __vue_script__$1,
    __vue_scope_id__$1,
    __vue_is_functional_template__$1,
    __vue_module_identifier__$1,
    undefined,
    undefined
  );

exports.default = VIconButton;
