import { defineComponent as u, mergeModels as c, useModel as m, createElementBlock as p, openBlock as s, createVNode as a, unref as t } from "vue";
import { useI18n as d } from "vue-i18n";
import { j as f, n as b, a8 as g } from "./start-BYfL32Oe.mjs";
import "pinia";
import "vue-router";
import "./header-Droxy2Kd.mjs";
import "./moment-h96o7c8I.mjs";
const C = /* @__PURE__ */ u({
  __name: "PriceToTaxConfiguration",
  props: /* @__PURE__ */ c({
    attributeMap: {},
    destinationAttribute: {},
    sourceAttributes: {},
    etlAttributeSetMapId: {}
  }, {
    modelValue: {},
    modelModifiers: {}
  }),
  emits: ["update:modelValue"],
  setup(n) {
    const e = m(n, "modelValue"), { t: r } = d();
    return (_, o) => (s(), p("div", null, [
      a(t(f), {
        data: t(b).getCountriesCached,
        text: e.value.country,
        label: t(r)("pim.etl.PriceToTaxConfiguration.country"),
        "item-title": "name",
        "item-value": "code3digit",
        search: "",
        select: "",
        "page-size": "",
        class: "mb-4",
        onChange: o[0] || (o[0] = (i) => e.value.country = i)
      }, null, 8, ["data", "text", "label"]),
      a(t(g), {
        modelValue: e.value.percent,
        "onUpdate:modelValue": o[1] || (o[1] = (i) => e.value.percent = i),
        label: t(r)("pim.etl.PriceToTaxConfiguration.percent")
      }, null, 8, ["modelValue", "label"])
    ]));
  }
});
function l(n) {
  const e = n;
  e.__i18n = e.__i18n || [], e.__i18n.push({
    locale: "",
    resource: {
      "en-US": {
        pim: {
          etl: {
            PriceToTaxConfiguration: {
              country: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Country" } },
              percent: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "In percent" } }
            }
          }
        }
      },
      "de-DE": {
        pim: {
          etl: {
            PriceToTaxConfiguration: {
              country: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Land" } },
              percent: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "In Prozent" } }
            }
          }
        }
      }
    }
  });
}
typeof l == "function" && l(C);
export {
  C as default
};
