import { defineComponent as a, mergeModels as p, useModel as u, computed as c, createElementBlock as d, openBlock as g, createVNode as l, unref as o } from "vue";
import { useI18n as P } from "vue-i18n";
import { j as f, n as b, h as C } from "./start-BYfL32Oe.mjs";
import "pinia";
import "vue-router";
import "./header-Droxy2Kd.mjs";
import "./moment-h96o7c8I.mjs";
const _ = /* @__PURE__ */ a({
  __name: "PriceToSimplePriceConfiguration",
  props: /* @__PURE__ */ p({
    attributeMap: {},
    destinationAttribute: {},
    sourceAttributes: {},
    etlAttributeSetMapId: {}
  }, {
    modelValue: {},
    modelModifiers: {}
  }),
  emits: ["update:modelValue"],
  setup(n) {
    const e = u(n, "modelValue"), { t: i } = P(), m = c(() => [
      {
        value: "all",
        title: i("pim.etl.PriceToSimplePriceConfiguration.considerAllPrices")
      },
      {
        value: "promotions",
        title: i("pim.etl.PriceToSimplePriceConfiguration.considerOnlyPromotions")
      },
      {
        value: "no_promotions",
        title: i("pim.etl.PriceToSimplePriceConfiguration.ignorePromotions")
      }
    ]);
    return (y, t) => (g(), d("div", null, [
      l(o(f), {
        data: o(b).getCountriesCached,
        text: e.value.country,
        label: o(i)("pim.etl.PriceToSimplePriceConfiguration.country"),
        "item-title": "name",
        "item-value": "code3digit",
        search: "",
        select: "",
        "page-size": "",
        class: "mb-4",
        onChange: t[0] || (t[0] = (r) => e.value.country = r)
      }, null, 8, ["data", "text", "label"]),
      l(o(C), {
        modelValue: e.value.mappingMode,
        "onUpdate:modelValue": t[1] || (t[1] = (r) => e.value.mappingMode = r),
        items: m.value,
        label: o(i)("pim.etl.PriceToSimplePriceConfiguration.mappingMode")
      }, null, 8, ["modelValue", "items", "label"])
    ]));
  }
});
function s(n) {
  const e = n;
  e.__i18n = e.__i18n || [], e.__i18n.push({
    locale: "",
    resource: {
      "en-US": {
        pim: {
          etl: {
            PriceToSimplePriceConfiguration: {
              country: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Country" } },
              mappingMode: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Mapping mode" } },
              considerAllPrices: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Consider all prices" } },
              considerOnlyPromotions: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Consider only promotions" } },
              ignorePromotions: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ignore promotions" } }
            }
          }
        }
      },
      "de-DE": {
        pim: {
          etl: {
            PriceToSimplePriceConfiguration: {
              country: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Land" } },
              mappingMode: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zuordnungsmodus" } },
              considerAllPrices: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Alle Preise berücksichtigen" } },
              considerOnlyPromotions: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nur Aktionspreise berücksichtigen" } },
              ignorePromotions: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Aktionspreise ignorieren" } }
            }
          }
        }
      }
    }
  });
}
typeof s == "function" && s(_);
export {
  _ as default
};
