import { defineComponent as s, mergeModels as c, useModel as d, createElementBlock as p, openBlock as m, createVNode as u, unref as l } from "vue";
import { useI18n as f } from "vue-i18n";
import { b as _, c as b, l as x } from "./start-BYfL32Oe.mjs";
import "pinia";
import "vue-router";
import "./header-Droxy2Kd.mjs";
import "./moment-h96o7c8I.mjs";
const g = { class: "extension-config d-flex flex-wrap" }, r = /* @__PURE__ */ s({
  __name: "ExtractValueExtension",
  props: /* @__PURE__ */ c({
    attributeMap: {},
    destinationAttribute: {},
    sourceAttributes: {},
    etlAttributeSetMapId: {}
  }, {
    modelValue: {},
    modelModifiers: {}
  }),
  emits: ["update:modelValue"],
  setup(a) {
    const e = d(a, "modelValue"), { t: n } = f();
    return (V, t) => (m(), p("div", g, [
      u(l(_), {
        modelValue: e.value.path,
        "onUpdate:modelValue": t[0] || (t[0] = (o) => e.value.path = o),
        label: l(n)("datahub-plugin.etl.extract-value.ValueExtractionPath"),
        placeholder: "e.g. pimProduct._pim_ean",
        "persistent-placeholder": ""
      }, null, 8, ["modelValue", "label"]),
      u(l(b), {
        modelValue: e.value.nullCoalescing,
        "onUpdate:modelValue": t[1] || (t[1] = (o) => e.value.nullCoalescing = o),
        label: l(n)("datahub-plugin.etl.extract-value.NullCoalescing")
      }, null, 8, ["modelValue", "label"])
    ]));
  }
});
function i(a) {
  const e = a;
  e.__i18n = e.__i18n || [], e.__i18n.push({
    locale: "",
    resource: {
      "en-US": {
        "datahub-plugin": {
          etl: {
            "extract-value": {
              NullCoalescing: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Null coalescing" } },
              ValueExtractionPath: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Path for value extraction" } }
            }
          }
        }
      },
      "de-DE": {
        "datahub-plugin": {
          etl: {
            "extract-value": {
              NullCoalescing: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Nullvereinigung" } },
              ValueExtractionPath: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Pfad der Wertentnahme" } }
            }
          }
        }
      }
    }
  });
}
typeof i == "function" && i(r);
const k = /* @__PURE__ */ x(r, [["__scopeId", "data-v-5f339e10"]]);
export {
  k as default
};
