import { jsx as e } from "../../../../../../external/.pnpm/preact@10.28.2/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js";
import { ValidityField as a } from "./Fields/ValidityField.js";
import { AmountField as m } from "./Fields/AmountField.js";
import { LinkTypeField as o } from "./Fields/LinkTypeField.js";
import { FormTextInput as n } from "../../../../../internal/FormWrappers/FormTextInput.js";
import { FormCalendarInput as l } from "../../../../../internal/FormWrappers/FormCalendarInput.js";
import { PAYMENT_LINK_CREATION_FIELD_LENGTHS as t } from "../../../constants.js";
/* empty css                        */
import p from "../../../../../../core/Context/preact/useCoreContext.js";
const b = ({ configuration: i }) => {
  const { i18n: r } = p();
  return /* @__PURE__ */ e("div", { className: "adyen-pe-payment-link-creation-form__fields-container", children: [
    /* @__PURE__ */ e(a, { configuration: i }),
    /* @__PURE__ */ e(m, {}),
    /* @__PURE__ */ e(
      n,
      {
        minLength: t.merchantReference.min,
        maxLength: t.merchantReference.max,
        fieldName: "reference",
        label: r.get("payByLink.creation.fields.merchantReference.label")
      }
    ),
    /* @__PURE__ */ e(o, { configuration: i }),
    /* @__PURE__ */ e(
      n,
      {
        maxLength: t.description.max,
        fieldName: "description",
        label: r.get("payByLink.creation.fields.description.label"),
        supportText: r.get("payByLink.creation.fields.description.supportText")
      }
    ),
    /* @__PURE__ */ e(
      l,
      {
        clearable: !0,
        fieldName: "deliverAt",
        label: r.get("payByLink.creation.fields.deliverAt.label")
      }
    )
  ] });
};
export {
  b as PaymentDetailsForm
};
