import { defineComponent as s, mergeModels as f, useModel as c, createElementBlock as y, openBlock as V, Fragment as b, createVNode as a, unref as e, withCtx as m } from "vue";
import { useI18n as g } from "vue-i18n";
import { a as i, b as u } from "./start-BYfL32Oe.mjs";
import "pinia";
import "vue-router";
import "./header-Droxy2Kd.mjs";
import "./moment-h96o7c8I.mjs";
import { b as d } from "./product-relation.json_vue_type_i18n_index_0_src_true_lang-D8v7hF1s.mjs";
const R = /* @__PURE__ */ s({
  __name: "PIMDataTypeProductRelationValueConfiguration",
  props: /* @__PURE__ */ f({
    attribute: {},
    dataTypeInstance: {},
    remoteScopes: {},
    remoteLanguages: {},
    remoteAttributes: {},
    readonly: { type: Boolean }
  }, {
    modelValue: {},
    modelModifiers: {}
  }),
  emits: ["update:modelValue"],
  setup(p) {
    const l = c(p, "modelValue"), { t: n } = g();
    return (r, o) => (V(), y(b, null, [
      a(e(i), null, {
        default: m(() => [
          a(e(u), {
            modelValue: l.value.minRelations,
            "onUpdate:modelValue": o[0] || (o[0] = (t) => l.value.minRelations = t),
            label: e(n)("pim-plugin.product-relation.minRelations"),
            readonly: r.readonly
          }, null, 8, ["modelValue", "label", "readonly"])
        ]),
        _: 1
      }),
      a(e(i), null, {
        default: m(() => [
          a(e(u), {
            modelValue: l.value.maxRelations,
            "onUpdate:modelValue": o[1] || (o[1] = (t) => l.value.maxRelations = t),
            label: e(n)("pim-plugin.product-relation.maxRelations"),
            readonly: r.readonly
          }, null, 8, ["modelValue", "label", "readonly"])
        ]),
        _: 1
      })
    ], 64));
  }
});
typeof d == "function" && d(R);
export {
  R as default
};
