import { defineComponent as u, mergeModels as i, useModel as p, createElementBlock as d, openBlock as s, createVNode as f, createElementVNode as a, unref as t, createTextVNode as c, toDisplayString as b } from "vue";
import { useI18n as V } from "vue-i18n";
import { b as g } 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 h = /* @__PURE__ */ u({
  __name: "CurrentDateExtension",
  props: /* @__PURE__ */ i({
    attributeMap: {},
    destinationAttribute: {},
    sourceAttributes: {},
    etlAttributeSetMapId: {}
  }, {
    modelValue: {},
    modelModifiers: {}
  }),
  emits: ["update:modelValue"],
  setup(n) {
    const o = p(n, "modelValue"), { t: r } = V();
    return (M, e) => (s(), d("div", null, [
      f(t(g), {
        modelValue: o.value.format,
        "onUpdate:modelValue": e[0] || (e[0] = (m) => o.value.format = m),
        label: t(r)("datahub-plugin.etl.current-date.Format"),
        "persistent-placeholder": ""
      }, null, 8, ["modelValue", "label"]),
      a("div", null, [
        c(b(t(r)("datahub-plugin.etl.current-date.AccordingToDocu")) + " ", 1),
        e[1] || (e[1] = a("a", {
          href: "https://www.php.net/manual/en/datetimeimmutable.createfromformat.php",
          target: "_blank"
        }, " php.net ", -1))
      ])
    ]));
  }
});
typeof l == "function" && l(h);
export {
  h as default
};
