import { defineComponent as p, mergeModels as c, useModel as m, onBeforeMount as d, createElementBlock as g, openBlock as f, createVNode as b, createElementVNode as _, unref as t, toDisplayString as v } from "vue";
import { useI18n as h } from "vue-i18n";
import { storeToRefs as V } from "pinia";
import { h as x } from "./start-BYfL32Oe.mjs";
import "vue-router";
import "./header-Droxy2Kd.mjs";
import "./moment-h96o7c8I.mjs";
import { u as y } from "./dataTypes-nQ5Ht0CH.mjs";
const E = /* @__PURE__ */ p({
  __name: "NullCoalescenceExtension",
  props: /* @__PURE__ */ c({
    attributeMap: {},
    destinationAttribute: {},
    sourceAttributes: {},
    etlAttributeSetMapId: {}
  }, {
    modelValue: {},
    modelModifiers: {}
  }),
  emits: ["update:modelValue"],
  setup(l) {
    const e = m(l, "modelValue"), { t: n } = h(), a = y(), { languages: u, isLanguagesLoading: r } = V(a);
    return d(a.fetchLanguages), (L, o) => (f(), g("div", null, [
      b(t(x), {
        modelValue: e.value.languageKey,
        "onUpdate:modelValue": o[0] || (o[0] = (s) => e.value.languageKey = s),
        items: t(u),
        loading: t(r),
        label: t(n)("datahub-plugin.etl.null-coalescence.label"),
        "item-title": "description",
        "item-value": "key",
        "persistent-placeholder": ""
      }, null, 8, ["modelValue", "items", "loading", "label"]),
      _("p", null, v(t(n)("datahub-plugin.etl.null-coalescence.RelevantLangExpl")), 1)
    ]));
  }
});
function i(l) {
  const e = l;
  e.__i18n = e.__i18n || [], e.__i18n.push({
    locale: "",
    resource: {
      "en-US": {
        "datahub-plugin": {
          etl: {
            "null-coalescence": {
              label: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Relevant Language" } },
              RelevantLangExpl: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Option relevant for Tree source attribute mapped onto single language attribute" } }
            }
          }
        }
      },
      "de-DE": {
        "datahub-plugin": {
          etl: {
            "null-coalescence": {
              label: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Relevante Sprache" } },
              RelevantLangExpl: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Option nur Relevant wenn Baum auf nicht-mehrsprachiges Text-Attribute verknüpft wird" } }
            }
          }
        }
      }
    }
  });
}
typeof i == "function" && i(E);
export {
  E as default
};
