import { defineComponent as a, mergeModels as r, 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 { h as g } from "./start-BYfL32Oe.mjs";
import "pinia";
import "vue-router";
import "./header-Droxy2Kd.mjs";
import "./moment-h96o7c8I.mjs";
const f = /* @__PURE__ */ a({
  __name: "StringToCountryExtension",
  props: /* @__PURE__ */ r({
    attributeMap: {},
    destinationAttribute: {},
    sourceAttributes: {},
    etlAttributeSetMapId: {}
  }, {
    modelValue: {},
    modelModifiers: {}
  }),
  emits: ["update:modelValue"],
  setup(i) {
    const e = s(i, "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, o) => (p(), m(n(g), {
      modelValue: e.value.fieldToSearch,
      "onUpdate:modelValue": o[0] || (o[0] = (l) => e.value.fieldToSearch = l),
      items: d.value,
      label: n(t)("datahub-plugin.etl.string-to-country.label"),
      "persistent-placeholder": ""
    }, null, 8, ["modelValue", "items", "label"]));
  }
});
function u(i) {
  const e = i;
  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: "Field to search" } },
              id: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Country code" } },
              code3digit: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "3-digit country code" } },
              code2digit: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "2-digit country code" } },
              codeKfz: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Motor vehicle country code" } },
              name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "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: "Suchfeld" } },
              id: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Numerischer Ländercode" } },
              code3digit: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Dreibuchstabiger Ländercode" } },
              code2digit: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Zweibuchstabiger Ländercode" } },
              codeKfz: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Kfz Ländercode" } },
              name: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Name" } },
              codeFusionmaps: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "FusionMaps Ländercode" } }
            }
          }
        }
      }
    }
  });
}
typeof u == "function" && u(f);
export {
  f as default
};
