'use strict';

var normalizeComponent = require('./normalize-component-6fa50395.js');
var ThemeMixin = require('./ThemeMixin-a2f817cd.js');
var svgAtom = require('./svg-atom-d2541b7d.js');
var iconAtom = require('./icon-atom-65241b51.js');
var hoverAtom = require('./hover-atom-17a12a07.js');
var tooltipAtom = require('./tooltip-atom-8f536df5.js');

//
var script = {
  name: 'LabelAtom',
  props: {
    label: {
      type: String,
      default: ''
    },
    disabled: {
      type: Boolean,
      default: false
    }
  },
  mixins: [ThemeMixin.ThemeMixin]
};

/* 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('label',{staticClass:"label-atom",class:_vm.themeCssClass,attrs:{"disabled":_vm.disabled}},[_vm._v("\n  "+_vm._s(_vm.label)+"\n  "),_vm._t("default")],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 LabelAtom = normalizeComponent.__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: 'LabelMolecule',
  props: {
    label: {
      type: String,
      default: ''
    },
    disabled: {
      type: Boolean,
      default: false
    },
    tooltipLabel: {
      type: String,
      default: ''
    },
    icon: {
      type: String,
      default: 'info'
    }
  },
  mixins: [ThemeMixin.ThemeMixin],
  components: {
    LabelAtom: LabelAtom,
    TooltipAtom: tooltipAtom.TooltipAtom,
    HoverAtom: hoverAtom.HoverAtom,
    IconAtom: iconAtom.IconAtom,
    SvgAtom: svgAtom.SvgAtom
  }
};

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

/* template */
var __vue_render__$1 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('label-atom',{staticClass:"label-molecule",attrs:{"label":_vm.label,"disabled":_vm.disabled}},[(_vm.tooltipLabel)?_c('hover-atom',{staticClass:"label-molecule-tooltip",class:_vm.themeCssClass,scopedSlots:_vm._u([{key:"default",fn:function(ref){
var isHover = ref.isHover;
return [_c('tooltip-atom',{attrs:{"show":isHover,"position":"bottom-left"}},[_vm._v("\n      "+_vm._s(_vm.tooltipLabel)+"\n    ")]),_vm._v(" "),_c('icon-atom',{staticClass:"label-molecule-icon"},[_c('svg-atom',{attrs:{"name":_vm.icon}})],1)]}}],null,false,2927682378)}):_vm._e()],1)};
var __vue_staticRenderFns__$1 = [];

  /* 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 = false;
  /* style inject */
  
  /* style inject SSR */
  

  
  var LabelMolecule = normalizeComponent.__vue_normalize__(
    { render: __vue_render__$1, staticRenderFns: __vue_staticRenderFns__$1 },
    __vue_inject_styles__$1,
    __vue_script__$1,
    __vue_scope_id__$1,
    __vue_is_functional_template__$1,
    __vue_module_identifier__$1,
    undefined,
    undefined
  );

exports.LabelMolecule = LabelMolecule;
