import { defineComponent as m, mergeModels as u, useModel as p, createElementBlock as d, openBlock as s, createVNode as c, createElementVNode as r, unref as e, toDisplayString as f } from "vue";
import { useI18n as b } from "vue-i18n";
import { b as _ } from "./start-BYfL32Oe.mjs";
import "pinia";
import "vue-router";
import "./header-Droxy2Kd.mjs";
import "./moment-h96o7c8I.mjs";
import { b as l } from "./current-date.json_vue_type_i18n_index_0_src_true_lang-CvRrzwnZ.mjs";
const V = {
  href: "https://www.php.net/manual/de/datetime.format.php",
  target: "_blank"
}, g = /* @__PURE__ */ m({
  __name: "DateToStringExtension",
  props: /* @__PURE__ */ u({
    attributeMap: {},
    destinationAttribute: {},
    sourceAttributes: {},
    etlAttributeSetMapId: {}
  }, {
    modelValue: {},
    modelModifiers: {}
  }),
  emits: ["update:modelValue"],
  setup(n) {
    const t = p(n, "modelValue"), { t: o } = b();
    return (h, a) => (s(), d("div", null, [
      c(e(_), {
        modelValue: t.value.format,
        "onUpdate:modelValue": a[0] || (a[0] = (i) => t.value.format = i),
        label: e(o)("datahub-plugin.etl.current-date.Format"),
        "persistent-placeholder": ""
      }, null, 8, ["modelValue", "label"]),
      r("div", null, [
        r("a", V, f(e(o)("datahub-plugin.etl.current-date.FormatDocumentation")), 1)
      ])
    ]));
  }
});
typeof l == "function" && l(g);
export {
  g as default
};
