import { defineComponent as g, mergeModels as s, useModel as r, computed as m, createBlock as _, openBlock as c, unref as l } from "vue";
import { useI18n as d } from "vue-i18n";
import { a as p } from "./start-CE9SawgU.js";
import "pinia";
import "./header-Bn1EKnBE.js";
const h = /* @__PURE__ */ g({
  __name: "LanguageToXExtension",
  props: /* @__PURE__ */ s({
    attributeMap: {},
    destinationAttribute: {},
    sourceAttributes: {},
    etlAttributeSetMapId: {}
  }, {
    modelValue: {},
    modelModifiers: {}
  }),
  emits: ["update:modelValue"],
  setup(t) {
    const e = r(t, "modelValue"), { t: a } = d(), o = m(() => [
      {
        value: "iso_639_2_code",
        title: a("datahub-plugin.etl.language-x.iso_639_2_code")
      },
      {
        value: "iso_639_1_code",
        title: a("datahub-plugin.etl.language-x.iso_639_1_code")
      },
      {
        value: "english_name",
        title: a("datahub-plugin.etl.language-x.english_name")
      },
      {
        value: "french_name",
        title: a("datahub-plugin.etl.language-x.french_name")
      },
      {
        value: "german_name",
        title: a("datahub-plugin.etl.language-x.german_name")
      }
    ]);
    return (b, n) => (c(), _(l(p), {
      modelValue: e.value.languageValue,
      "onUpdate:modelValue": n[0] || (n[0] = (u) => e.value.languageValue = u),
      items: o.value,
      label: l(a)("datahub-plugin.etl.language-x.languageCode"),
      "max-width": "567",
      "persistent-placeholder": ""
    }, null, 8, ["modelValue", "items", "label"]));
  }
});
function i(t) {
  const e = t;
  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: "Three-letter language code" } },
              iso_639_1_code: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Two-letter language code" } },
              english_name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Language name (english)" } },
              french_name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Language name (french)" } },
              german_name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Language 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: "Dreistelliger Sprachcode" } },
              iso_639_1_code: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zweistelliger Sprachcode" } },
              english_name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sprachenname (englisch)" } },
              french_name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sprachenname (französisch)" } },
              german_name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Sprachenname (deutsch)" } }
            }
          }
        }
      }
    }
  });
}
typeof i == "function" && i(h);
export {
  h as default
};
