import { defineComponent as d, mergeModels as b, useModel as c, createElementBlock as g, openBlock as f, createVNode as r, unref as o } from "vue";
import { useI18n as _ } from "vue-i18n";
import { a as i, o as S } from "./start-CE9SawgU.js";
import "pinia";
import "./header-Bn1EKnBE.js";
const v = { class: "extension-config d-flex flex-wrap" }, s = /* @__PURE__ */ d({
  __name: "StringToNumberExtension",
  props: /* @__PURE__ */ b({
    attributeMap: {},
    destinationAttribute: {},
    sourceAttributes: {},
    etlAttributeSetMapId: {}
  }, {
    modelValue: {},
    modelModifiers: {}
  }),
  emits: ["update:modelValue"],
  setup(l) {
    const e = c(l, "modelValue"), { t: a } = _(), m = [
      { title: ",", value: "," },
      { title: ".", value: "." }
    ], p = [
      { title: "null", value: "leer" },
      { title: "0", value: "0" }
    ];
    return (x, t) => (f(), g("div", v, [
      r(o(i), {
        modelValue: e.value.separator,
        "onUpdate:modelValue": t[0] || (t[0] = (n) => e.value.separator = n),
        items: m,
        label: o(a)("datahub-plugin.etl.StringToNumber.separator"),
        "max-width": "567"
      }, null, 8, ["modelValue", "label"]),
      r(o(i), {
        modelValue: e.value.emptyString,
        "onUpdate:modelValue": t[1] || (t[1] = (n) => e.value.emptyString = n),
        items: p,
        label: o(a)("datahub-plugin.etl.StringToNumber.emptyString"),
        "max-width": "567"
      }, null, 8, ["modelValue", "label"])
    ]));
  }
});
function u(l) {
  const e = l;
  e.__i18n = e.__i18n || [], e.__i18n.push({
    locale: "",
    resource: {
      "en-US": {
        "datahub-plugin": {
          etl: {
            StringToNumber: {
              separator: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Separator" } },
              emptyString: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Empty string" } }
            }
          }
        }
      },
      "de-DE": {
        "datahub-plugin": {
          etl: {
            StringToNumber: {
              separator: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Trennzeichen" } },
              emptyString: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Leere Zeichenkette" } }
            }
          }
        }
      }
    }
  });
}
typeof u == "function" && u(s);
const E = /* @__PURE__ */ S(s, [["__scopeId", "data-v-75d366d4"]]);
export {
  E as default
};
