'use strict';Object.defineProperty(exports,'__esModule',{value:true});var normalizeComponent=require('./normalize-component-d9981c57.js'),BaseBox=require('./BaseBox-1df1f27d.js'),i18n=require('./i18n-68e039d3.js');require('./es.array.includes-3990bfec.js'),require('./export-61511812.js'),require('./object-keys-12f2c5e5.js'),require('./regexp-exec-abstract-216cd44a.js'),require('./string-multibyte-a2dff6e3.js'),require('./regexp-flags-abc49c4a.js'),require('./es.string.split-98e29ede.js'),require('./is-regexp-d6f1551e.js'),require('./function-bind-context-e4685306.js'),require('./es.object.to-string-f27a75a8.js'),require('./classof-819fc780.js'),require('./array-iteration-f8b4483d.js'),require('./array-species-create-c414c2ec.js'),require('./es.object.keys-c57f02bd.js');//
var script = {
  name: 'BaseDetailBox',
  components: {
    BaseBox: BaseBox.B
  },
  mixins: [i18n.i],
  props: {
    /**
     * an array with objects to pass the data to be displayed, expecting an object with
     * 'label' and 'value' properties - if different please use valuePropertyName
     * and labelPropertyName respectively!
     */
    data: {
      type: Array,
      default: function _default() {
        return [];
      }
    },

    /**
     * customize the value property displayed
     */
    valuePropertyName: {
      type: String,
      default: 'value'
    },

    /**
     * customize the label property displayed
     */
    labelPropertyName: {
      type: String,
      default: 'label'
    },

    /**
     * specify a language (ISO 639-1) (used for label if label is language specific object
     * e.g. { de: 'xxx', en: 'yyy' })
     */
    language: {
      type: String,
      default: 'en'
    }
  }
};/* script */
var __vue_script__ = script;
/* template */

var __vue_render__ = function __vue_render__() {
  var _vm = this;

  var _h = _vm.$createElement;

  var _c = _vm._self._c || _h;

  return _c('base-box', {
    staticClass: "base-detail-box",
    attrs: {
      "box-size": {
        width: '100%'
      },
      "box-hover": false,
      "box-ratio": "0"
    }
  }, [_c('dl', {
    staticClass: "base-detail-box-dl"
  }, [_vm._l(_vm.data, function (item, index) {
    return [_c('dt', {
      key: 'dt' + index
    }, [_vm._v("\n        " + _vm._s(_vm.getLangLabel(item[_vm.labelPropertyName], true)) + "\n      ")]), _vm._v(" "), _c('dd', {
      key: 'dd' + index
    }, [_vm._v("\n        " + _vm._s(item[_vm.valuePropertyName]) + "\n      ")])];
  })], 2)]);
};

var __vue_staticRenderFns__ = [];
/* style */

var __vue_inject_styles__ = undefined;
/* scoped */

var __vue_scope_id__ = "data-v-49405eb6";
/* module identifier */

var __vue_module_identifier__ = "data-v-49405eb6";
/* functional template */

var __vue_is_functional_template__ = false;
/* style inject */

/* style inject SSR */

/* style inject shadow dom */

var __vue_component__ = /*#__PURE__*/normalizeComponent.n({
  render: __vue_render__,
  staticRenderFns: __vue_staticRenderFns__
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);

var BaseDetailBox = __vue_component__;var Plugin = {
  install: function install(Vue) {
    normalizeComponent.r(Vue, BaseDetailBox);
  }
};
normalizeComponent.u(Plugin);exports.BaseDetailBox=BaseDetailBox;exports["default"]=Plugin;