import { defineComponent as l, useModel as u, ref as d, createBlock as n, openBlock as a, unref as s, mergeProps as c } from "vue";
import { useI18n as f } from "vue-i18n";
import "pinia";
import "./start-CE9SawgU.js";
import "./header-Bn1EKnBE.js";
import "@vuelidate/validators";
import "./TreeView.vue_vue_type_style_index_0_scoped_0bd14ef7_lang-CZieIjgg.js";
import "./DatahubDataTypeCompletenessRenderer.vue_vue_type_script_setup_true_lang-5buor0oX.js";
import { b } from "./topBarRoutes-CBd5qLxn.js";
import "./IsActiveStatusCell-xz7XnAYP.js";
import "./VariantToVariantExtension-DUC3WSrH.js";
import "./DatahubDataTypeVariantValueEditor-9WYNJneN.js";
import "./dataTypes-DocW2t0g.js";
import { p as V } from "./ProductRelationController-ndCatWv7.js";
import { b as i } from "./product-bundle.json_vue_type_i18n_index_0_src_true_lang-2LgFM3pA.js";
const k = /* @__PURE__ */ l({
  __name: "PIMDataTypeProductBundleValueEditor",
  props: {
    modelValue: {},
    modelModifiers: {}
  },
  emits: ["update:modelValue"],
  setup(r) {
    const e = u(r, "modelValue"), { t: o } = f(), m = d({
      listEndpoint: V.listNotAssociatedEntities,
      addButtonCaption: o("pim-plugin.product-bundle.addProduct"),
      itemTitle: "sku",
      columns: [
        {
          id: "id",
          header: "common.id"
        },
        {
          id: "sku",
          header: o("pim-plugin.product-bundle.sku")
        },
        {
          id: "attributeSetName",
          header: o("pim-plugin.product-bundle.attributeSet")
        }
      ]
    });
    return (_, t) => (a(), n(s(b), c({
      modelValue: e.value,
      "onUpdate:modelValue": t[0] || (t[0] = (p) => e.value = p)
    }, m.value), null, 16, ["modelValue"]));
  }
});
typeof i == "function" && i(k);
export {
  k as default
};
