import { defineComponent as s, mergeModels as g, useModel as m, computed as _, createBlock as d, openBlock as r, unref as l } from "vue";
import { useI18n as c } from "vue-i18n";
import { h as p } from "./start-BYfL32Oe.mjs";
import "pinia";
import "vue-router";
import "./header-Droxy2Kd.mjs";
import "./moment-h96o7c8I.mjs";
const b = /* @__PURE__ */ s({
  __name: "LanguageToXExtension",
  props: /* @__PURE__ */ g({
    attributeMap: {},
    destinationAttribute: {},
    sourceAttributes: {},
    etlAttributeSetMapId: {}
  }, {
    modelValue: {},
    modelModifiers: {}
  }),
  emits: ["update:modelValue"],
  setup(a) {
    const e = m(a, "modelValue"), { t } = c(), o = _(() => [
      {
        value: "iso_639_2_code",
        title: t("datahub-plugin.etl.language-x.iso_639_2_code")
      },
      {
        value: "iso_639_1_code",
        title: t("datahub-plugin.etl.language-x.iso_639_1_code")
      },
      {
        value: "english_name",
        title: t("datahub-plugin.etl.language-x.english_name")
      },
      {
        value: "french_name",
        title: t("datahub-plugin.etl.language-x.french_name")
      },
      {
        value: "german_name",
        title: t("datahub-plugin.etl.language-x.german_name")
      }
    ]);
    return (h, n) => (r(), d(l(p), {
      modelValue: e.value.languageValue,
      "onUpdate:modelValue": n[0] || (n[0] = (u) => e.value.languageValue = u),
      items: o.value,
      label: l(t)("datahub-plugin.etl.language-x.languageCode"),
      "persistent-placeholder": ""
    }, null, 8, ["modelValue", "items", "label"]));
  }
});
function i(a) {
  const e = a;
  e.__i18n = e.__i18n || [], e.__i18n.push({
    locale: "",
    resource: {
      "en-US": {
        "datahub-plugin": {
          etl: {
            "language-x": {
              languageCode: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Language code" } },
              iso_639_2_code: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "3 digit code" } },
              iso_639_1_code: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "2 digit code" } },
              english_name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Name (english)" } },
              french_name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Name (french)" } },
              german_name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Name (german)" } }
            }
          }
        }
      },
      "de-DE": {
        "datahub-plugin": {
          etl: {
            "language-x": {
              languageCode: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sprachcode" } },
              iso_639_2_code: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "3-stelliger Code" } },
              iso_639_1_code: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "2-stelliger Code" } },
              english_name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Name (englisch)" } },
              french_name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Name (französisch)" } },
              german_name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Name (deutsch)" } }
            }
          }
        }
      }
    }
  });
}
typeof i == "function" && i(b);
export {
  b as default
};
