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-BYfL32Oe.mjs";
import "vue-router";
import "./header-Droxy2Kd.mjs";
import "./moment-h96o7c8I.mjs";
import "./IsActiveStatusCell-DlvB6_E-.mjs";
import "@vuelidate/validators";
import "./MultiLangScopeEditorsList.vue_vue_type_script_setup_true_lang-CWQeDnSm.mjs";
import "./DatahubDataTypeCompletenessRenderer.vue_vue_type_script_setup_true_lang-Btvu_WeF.mjs";
import { b } from "./topBarRoutes-0VuQ_i6D.mjs";
import "./VariantToVariantExtension-WcLvPNqG.mjs";
import "./DatahubDataTypeVariantValueEditor-f1gR3QCx.mjs";
import { p as V } from "./ProductRelationController-CFhAQA0u.mjs";
import { b as i } from "./product-bundle.json_vue_type_i18n_index_0_src_true_lang-mxWLXH2l.mjs";
const k = /* @__PURE__ */ l({
  __name: "PIMDataTypeProductBundleValueEditor",
  props: {
    modelValue: {},
    modelModifiers: {}
  },
  emits: ["update:modelValue"],
  setup(r) {
    const t = 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 (_, e) => (a(), n(s(b), c({
      modelValue: t.value,
      "onUpdate:modelValue": e[0] || (e[0] = (p) => t.value = p)
    }, m.value), null, 16, ["modelValue"]));
  }
});
typeof i == "function" && i(k);
export {
  k as default
};
