import { defineComponent as d, mergeModels as c, useModel as p, watch as g, createElementBlock as f, createCommentVNode as b, openBlock as V, createVNode as i, createElementVNode as u, unref as t, toDisplayString as _ } from "vue";
import { useI18n as x } from "vue-i18n";
import { a8 as v, ax as I, l as h } from "./start-BYfL32Oe.mjs";
import "pinia";
import "vue-router";
import "./header-Droxy2Kd.mjs";
import "./moment-h96o7c8I.mjs";
import { b as s } from "./ecm-datahub-image-to-string.json_vue_type_i18n_index_0_src_true_lang-CJZboNVr.mjs";
const y = {
  key: 0,
  class: "extension-config"
}, E = { class: "extension-config" }, m = /* @__PURE__ */ d({
  __name: "EcmDataHubIntegrationImageValueConfigExtension",
  props: /* @__PURE__ */ c({
    attributeMap: {},
    destinationAttribute: {},
    sourceAttributes: {},
    etlAttributeSetMapId: {}
  }, {
    modelValue: {},
    modelModifiers: {}
  }),
  emits: ["update:modelValue"],
  setup(r) {
    const e = p(r, "modelValue"), { t: a } = x();
    return g(
      e,
      (n) => {
        n || (e.value = {});
      },
      { immediate: !0 }
    ), (n, o) => e.value ? (V(), f("div", y, [
      i(t(v), {
        modelValue: e.value.onlyWithoutTags,
        "onUpdate:modelValue": o[0] || (o[0] = (l) => e.value.onlyWithoutTags = l),
        label: t(a)("ecm-datahub-ui.image.onlyWithoutTags"),
        class: "extension-config__input"
      }, null, 8, ["modelValue", "label"]),
      u("div", E, [
        i(t(I), {
          modelValue: e.value.allowedTags,
          "onUpdate:modelValue": o[1] || (o[1] = (l) => e.value.allowedTags = l),
          label: t(a)("ecm-datahub-ui.image.tags"),
          type: "text",
          class: "extension-config__input"
        }, null, 8, ["modelValue", "label"]),
        u("span", null, _(t(a)("ecm-datahub-ui.image.tagsExpl")), 1)
      ])
    ])) : b("", !0);
  }
});
typeof s == "function" && s(m);
const S = /* @__PURE__ */ h(m, [["__scopeId", "data-v-8a767cfb"]]);
export {
  S as default
};
