import { defineComponent as r, mergeModels as n, useModel as p, computed as d, createBlock as m, openBlock as b, unref as i } from "vue";
import { useI18n as c } from "vue-i18n";
import { h as f } from "./start-BYfL32Oe.mjs";
import "pinia";
import "vue-router";
import "./header-Droxy2Kd.mjs";
import "./moment-h96o7c8I.mjs";
const _ = /* @__PURE__ */ r({
  __name: "SplitAddressExtension",
  props: /* @__PURE__ */ n({
    attributeMap: {},
    destinationAttribute: {},
    sourceAttributes: {},
    etlAttributeSetMapId: {}
  }, {
    modelValue: {},
    modelModifiers: {}
  }),
  emits: ["update:modelValue"],
  setup(t) {
    const e = p(t, "modelValue"), { t: l } = c(), u = d(() => [
      {
        value: "street",
        title: l("datahub-plugin.etl.split-address.street")
      },
      {
        value: "number",
        title: l("datahub-plugin.etl.split-address.number")
      }
    ]);
    return (g, s) => (b(), m(i(f), {
      modelValue: e.value.type,
      "onUpdate:modelValue": s[0] || (s[0] = (a) => e.value.type = a),
      items: u.value,
      label: i(l)("datahub-plugin.etl.split-address.label"),
      "persistent-placeholder": ""
    }, null, 8, ["modelValue", "items", "label"]));
  }
});
function o(t) {
  const e = t;
  e.__i18n = e.__i18n || [], e.__i18n.push({
    locale: "",
    resource: {
      "en-US": {
        "datahub-plugin": {
          etl: {
            "split-address": {
              label: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Type" } },
              street: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Street" } },
              number: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "House number" } }
            }
          }
        }
      },
      "de-DE": {
        "datahub-plugin": {
          etl: {
            "split-address": {
              label: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Typ" } },
              street: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Straße" } },
              number: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Hausnummer" } }
            }
          }
        }
      }
    }
  });
}
typeof o == "function" && o(_);
export {
  _ as default
};
