import { defineComponent as m, mergeModels as i, useModel as d, createElementBlock as p, openBlock as s, createVNode as f, createElementVNode as r, unref as t, createTextVNode as c, toDisplayString as b } from "vue";
import { useI18n as V } from "vue-i18n";
import { d as g } from "./start-CE9SawgU.js";
import "pinia";
import "./header-Bn1EKnBE.js";
import { b as l } from "./current-date.json_vue_type_i18n_index_0_src_true_lang-CK3ElOPg.js";
const h = /* @__PURE__ */ m({
  __name: "CurrentDateExtension",
  props: /* @__PURE__ */ i({
    attributeMap: {},
    destinationAttribute: {},
    sourceAttributes: {},
    etlAttributeSetMapId: {}
  }, {
    modelValue: {},
    modelModifiers: {}
  }),
  emits: ["update:modelValue"],
  setup(n) {
    const o = d(n, "modelValue"), { t: a } = V();
    return (x, e) => (s(), p("div", null, [
      f(t(g), {
        modelValue: o.value.format,
        "onUpdate:modelValue": e[0] || (e[0] = (u) => o.value.format = u),
        label: t(a)("datahub-plugin.etl.current-date.Format"),
        "max-width": "567",
        "persistent-placeholder": ""
      }, null, 8, ["modelValue", "label"]),
      r("div", null, [
        c(b(t(a)("datahub-plugin.etl.current-date.AccordingToDocu")) + " ", 1),
        e[1] || (e[1] = r("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
};
