import { defineComponent as m, mergeModels as s, useModel as d, createElementBlock as c, openBlock as b, createVNode as u, unref as l } from "vue";
import { useI18n as g } from "vue-i18n";
import { b as o, l as f } from "./start-BYfL32Oe.mjs";
import "pinia";
import "vue-router";
import "./header-Droxy2Kd.mjs";
import "./moment-h96o7c8I.mjs";
const _ = { class: "extension-config d-flex flex-wrap" }, p = /* @__PURE__ */ m({
  __name: "PregReplaceExtension",
  props: /* @__PURE__ */ s({
    attributeMap: {},
    destinationAttribute: {},
    sourceAttributes: {},
    etlAttributeSetMapId: {}
  }, {
    modelValue: {},
    modelModifiers: {}
  }),
  emits: ["update:modelValue"],
  setup(a) {
    const e = d(a, "modelValue"), { t: r } = g();
    return (V, t) => (b(), c("div", _, [
      u(l(o), {
        modelValue: e.value.pattern,
        "onUpdate:modelValue": t[0] || (t[0] = (n) => e.value.pattern = n),
        label: l(r)("datahub-plugin.etl.preg-replace.pattern")
      }, null, 8, ["modelValue", "label"]),
      u(l(o), {
        modelValue: e.value.replacement,
        "onUpdate:modelValue": t[1] || (t[1] = (n) => e.value.replacement = n),
        label: l(r)("datahub-plugin.etl.preg-replace.replacement")
      }, null, 8, ["modelValue", "label"]),
      u(l(o), {
        modelValue: e.value.limitOutputString,
        "onUpdate:modelValue": t[2] || (t[2] = (n) => e.value.limitOutputString = n),
        label: l(r)("datahub-plugin.etl.preg-replace.limitOutputString"),
        type: "number"
      }, null, 8, ["modelValue", "label"])
    ]));
  }
});
function i(a) {
  const e = a;
  e.__i18n = e.__i18n || [], e.__i18n.push({
    locale: "",
    resource: {
      "en-US": {
        "datahub-plugin": {
          etl: {
            "preg-replace": {
              pattern: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Pattern" } },
              replacement: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Replacement" } },
              limitOutputString: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Limit length of output string" } }
            }
          }
        }
      },
      "de-DE": {
        "datahub-plugin": {
          etl: {
            "preg-replace": {
              pattern: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Muster" } },
              replacement: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ersatz" } },
              limitOutputString: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Begrenzung der Länge der Ausgabezeichen" } }
            }
          }
        }
      }
    }
  });
}
typeof i == "function" && i(p);
const A = /* @__PURE__ */ f(p, [["__scopeId", "data-v-28b042d9"]]);
export {
  A as default
};
