import { defineComponent as r, mergeModels as a, useModel as s, computed as c, createBlock as m, openBlock as p, unref as n } from "vue";
import { useI18n as b } from "vue-i18n";
import { a as g } from "./start-CE9SawgU.js";
import "pinia";
import "./header-Bn1EKnBE.js";
const f = /* @__PURE__ */ r({
  __name: "StringToCountryExtension",
  props: /* @__PURE__ */ a({
    attributeMap: {},
    destinationAttribute: {},
    sourceAttributes: {},
    etlAttributeSetMapId: {}
  }, {
    modelValue: {},
    modelModifiers: {}
  }),
  emits: ["update:modelValue"],
  setup(o) {
    const e = s(o, "modelValue"), { t } = b(), d = c(() => [
      {
        value: "id",
        title: t("datahub-plugin.etl.string-to-country.id")
      },
      {
        value: "code3digit",
        title: t("datahub-plugin.etl.string-to-country.code3digit")
      },
      {
        value: "code2digit",
        title: t("datahub-plugin.etl.string-to-country.code2digit")
      },
      {
        value: "codeKfz",
        title: t("datahub-plugin.etl.string-to-country.codeKfz")
      },
      {
        value: "name",
        title: t("datahub-plugin.etl.string-to-country.name")
      },
      {
        value: "codeFusionmaps",
        title: t("datahub-plugin.etl.string-to-country.codeFusionmaps")
      }
    ]);
    return (h, i) => (p(), m(n(g), {
      modelValue: e.value.fieldToSearch,
      "onUpdate:modelValue": i[0] || (i[0] = (u) => e.value.fieldToSearch = u),
      items: d.value,
      label: n(t)("datahub-plugin.etl.string-to-country.label"),
      "max-width": "567",
      "persistent-placeholder": ""
    }, null, 8, ["modelValue", "items", "label"]));
  }
});
function l(o) {
  const e = o;
  e.__i18n = e.__i18n || [], e.__i18n.push({
    locale: "",
    resource: {
      "en-US": {
        "datahub-plugin": {
          etl: {
            "string-to-country": {
              label: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Country code" } },
              id: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Numeric country code" } },
              code3digit: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Three-letter country code" } },
              code2digit: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Two-letter country code" } },
              codeKfz: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "International vehicle registration code" } },
              name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Country name" } },
              codeFusionmaps: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "FusionMaps country code" } }
            }
          }
        }
      },
      "de-DE": {
        "datahub-plugin": {
          etl: {
            "string-to-country": {
              label: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ländercode" } },
              id: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Numerischer Ländercode" } },
              code3digit: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Dreistelliger Ländercode" } },
              code2digit: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zweistelliger Ländercode" } },
              codeKfz: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Kfz-Länderkennzeichen" } },
              name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Landesname" } },
              codeFusionmaps: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "FusionMaps-Ländercode" } }
            }
          }
        }
      }
    }
  });
}
typeof l == "function" && l(f);
export {
  f as default
};
