import { defineComponent as c, mergeModels as f, useModel as b, computed as _, createElementBlock as V, openBlock as g, createElementVNode as r, createVNode as u, createTextVNode as m, toDisplayString as d, unref as n } from "vue";
import { useI18n as M } from "vue-i18n";
import { e as v, d as B } from "./start-CE9SawgU.js";
import "pinia";
import "./header-Bn1EKnBE.js";
const U = { class: "mb-4" }, x = /* @__PURE__ */ c({
  __name: "ToBundleConfiguration",
  props: /* @__PURE__ */ f({
    attributeMap: {},
    destinationAttribute: {},
    sourceAttributes: {},
    etlAttributeSetMapId: {}
  }, {
    modelValue: {},
    modelModifiers: {}
  }),
  emits: ["update:modelValue"],
  setup(l) {
    const e = b(l, "modelValue"), { t: i } = M(), p = _(() => {
      const a = e.value?.delimiter || ",";
      return ["SKU1", 3, "SKU2", 2, "SKU3", 5].join(a);
    });
    return (a, t) => (g(), V("div", null, [
      r("div", U, [
        m(d(n(i)("pim.etl.ToBundleConfiguration.explanation")) + " ", 1),
        t[2] || (t[2] = r("br", null, null, -1)),
        m(" " + d(p.value), 1)
      ]),
      u(n(v), {
        modelValue: e.value.incrementalMode,
        "onUpdate:modelValue": t[0] || (t[0] = (o) => e.value.incrementalMode = o),
        label: n(i)("pim.etl.ToBundleConfiguration.incrementalMode"),
        class: "mb-4"
      }, null, 8, ["modelValue", "label"]),
      u(n(B), {
        modelValue: e.value.delimiter,
        "onUpdate:modelValue": t[1] || (t[1] = (o) => e.value.delimiter = o),
        label: n(i)("pim.etl.ToBundleConfiguration.delimiter"),
        "persistent-placeholder": ""
      }, null, 8, ["modelValue", "label"])
    ]));
  }
});
function s(l) {
  const e = l;
  e.__i18n = e.__i18n || [], e.__i18n.push({
    locale: "",
    resource: {
      "en-US": {
        pim: {
          etl: {
            ToBundleConfiguration: {
              explanation: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Data values must be an alternating list of SKUs and amounts. For example:" } },
              incrementalMode: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Incremental update" } },
              delimiter: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Delimiter" } }
            }
          }
        }
      },
      "de-DE": {
        pim: {
          etl: {
            ToBundleConfiguration: {
              explanation: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Datenwerte müssen eine abwechselnde Liste von SKUs und Mengen sein. Zum Beispiel:" } },
              incrementalMode: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Inkrementelles Update" } },
              delimiter: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Trennzeichen" } }
            }
          }
        }
      }
    }
  });
}
typeof s == "function" && s(x);
export {
  x as default
};
