import { defineComponent as p, useModel as u, ref as n, createBlock as d, 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 { o as V } from "./OfferRelationController-BHWbvT3n.mjs";
import { b as i } from "./product-bundle.json_vue_type_i18n_index_0_src_true_lang-mxWLXH2l.mjs";
const k = /* @__PURE__ */ p({
  __name: "ChannelsDataTypeProductBundleValueEditor",
  props: {
    modelValue: {},
    modelModifiers: {}
  },
  emits: ["update:modelValue"],
  setup(r) {
    const e = u(r, "modelValue"), { t: o } = f(), m = n({
      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(), d(s(b), c({
      modelValue: e.value,
      "onUpdate:modelValue": t[0] || (t[0] = (l) => e.value = l)
    }, m.value), null, 16, ["modelValue"]));
  }
});
typeof i == "function" && i(k);
export {
  k as default
};
