import { n as normalizeComponent, u as use, r as registerComponent } from './normalize-component-63e8c7a0.js';
import { B as BaseBox } from './BaseBox-a4447dc8.js';
import { i as i18n } from './i18n-e25edebe.js';
import './es.array.includes-1f433385.js';
import './export-ecf4b1cb.js';
import './object-keys-a5d351f7.js';
import './regexp-exec-abstract-04d119fc.js';
import './string-multibyte-88926e02.js';
import './regexp-flags-b5fc4ddb.js';
import './es.string.split-cd1f3afc.js';
import './is-regexp-5558fd03.js';
import './function-bind-context-b3fabf77.js';
import './es.object.to-string-5a59fbfc.js';
import './classof-b10e7604.js';
import './array-iteration-dec5536e.js';
import './array-species-create-afb281e6.js';
import './es.object.keys-6369b884.js';

//
var script = {
  name: 'BaseDetailBox',
  components: {
    BaseBox: BaseBox
  },
  mixins: [i18n],
  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__ = undefined;
/* functional template */

var __vue_is_functional_template__ = false;
/* style inject */

/* style inject SSR */

/* style inject shadow dom */

var __vue_component__ = /*#__PURE__*/normalizeComponent({
  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) {
    registerComponent(Vue, BaseDetailBox);
  }
};
use(Plugin);

export { BaseDetailBox, Plugin as default };
