import { defineComponent as s, mergeModels as c, useModel as p, watch as b, createElementBlock as f, createCommentVNode as g, openBlock as V, createVNode as n, unref as o } from "vue";
import { useI18n as x } from "vue-i18n";
import { aF as u, ag as v, o as I } from "./start-CE9SawgU.js";
import "pinia";
import "./header-Bn1EKnBE.js";
import { b as i } from "./ecm-datahub-image-to-string.json_vue_type_i18n_index_0_src_true_lang-AlSq0kKl.js";
const _ = {
  key: 0,
  class: "d-flex flex-wrap extension-config"
}, d = /* @__PURE__ */ s({
  __name: "EcmDataHubIntegrationImageToDownloadLinkExtension",
  props: /* @__PURE__ */ c({
    attributeMap: {},
    destinationAttribute: {},
    sourceAttributes: {},
    etlAttributeSetMapId: {}
  }, {
    modelValue: {},
    modelModifiers: {}
  }),
  emits: ["update:modelValue"],
  setup(r) {
    const e = p(r, "modelValue"), { t } = x();
    return b(
      e,
      (m) => {
        m || (e.value = {});
      },
      { immediate: !0 }
    ), (m, a) => e.value ? (V(), f("div", _, [
      n(o(u), {
        modelValue: e.value.imageNumber,
        "onUpdate:modelValue": a[0] || (a[0] = (l) => e.value.imageNumber = l),
        label: o(t)("ecm-datahub-ui.image.imageNumber")
      }, null, 8, ["modelValue", "label"]),
      n(o(u), {
        modelValue: e.value.maxAgeInDays,
        "onUpdate:modelValue": a[1] || (a[1] = (l) => e.value.maxAgeInDays = l),
        label: o(t)("ecm-datahub-ui.image.maxAgeInDays")
      }, null, 8, ["modelValue", "label"]),
      n(o(v), {
        modelValue: e.value.downloadOnlyOnce,
        "onUpdate:modelValue": a[2] || (a[2] = (l) => e.value.downloadOnlyOnce = l),
        label: o(t)("ecm-datahub-ui.image.downloadOnlyOnce")
      }, null, 8, ["modelValue", "label"])
    ])) : g("", !0);
  }
});
typeof i == "function" && i(d);
const E = /* @__PURE__ */ I(d, [["__scopeId", "data-v-e7acaa5c"]]);
export {
  E as default
};
