import { defineComponent as m, mergeModels as u, useModel as s, watch as d, createBlock as c, createCommentVNode as p, openBlock as f, unref as a } from "vue";
import { useI18n as b } from "vue-i18n";
import { ag as V } from "./start-CE9SawgU.js";
import "pinia";
import "./header-Bn1EKnBE.js";
import { b as l } from "./pim-to-product-relation.json_vue_type_i18n_index_0_src_true_lang-CldzWkBc.js";
const C = /* @__PURE__ */ m({
  __name: "PimChannelsConnectionPimToProductRelationsExtension",
  props: /* @__PURE__ */ u({
    attributeMap: {},
    destinationAttribute: {},
    sourceAttributes: {},
    etlAttributeSetMapId: {}
  }, {
    modelValue: {},
    modelModifiers: {}
  }),
  emits: ["update:modelValue"],
  setup(n) {
    const e = s(n, "modelValue"), { t: i } = b();
    return d(
      e,
      (t) => {
        t || (e.value = {});
      },
      { immediate: !0 }
    ), (t, o) => e.value ? (f(), c(a(V), {
      key: 0,
      modelValue: e.value.relateChildVariantsToParent,
      "onUpdate:modelValue": o[0] || (o[0] = (r) => e.value.relateChildVariantsToParent = r),
      label: a(i)("pim-channels-connection.etl.label")
    }, null, 8, ["modelValue", "label"])) : p("", !0);
  }
});
typeof l == "function" && l(C);
export {
  C as default
};
