UNPKG

@open-formulieren/formio-builder

Version:

An opinionated Formio webform builder for Open Forms

40 lines (39 loc) 1.23 kB
import { jsx as t } from "react/jsx-runtime"; import { useContext as r } from "react"; import { useIntl as m, FormattedMessage as p } from "react-intl"; import { BuilderContext as n } from "../../context.js"; import "../formio/tabs.js"; import "clsx"; import "formik"; /* empty css */ import "@floating-ui/react"; /* empty css */ import "../formio/textfield.js"; import a from "../formio/checkbox.js"; import "../formio/datefield.js"; import "../formio/datetimefield.js"; import "../formio/timefield.js"; /* empty css */ import "react-select"; import "dompurify"; import "../formio/textarea.js"; import "../formio/datagrid.js"; /* empty css */ const E = () => { const o = m(), { formType: i } = r(n), e = o.formatMessage({ id: "ewzHfR", defaultMessage: [{ type: 0, value: "Email-address in this field will receive the confirmation email." }] }); return i === "appointment" ? null : /* @__PURE__ */ t(a, { name: "confirmationRecipient", label: /* @__PURE__ */ t(p, { id: "0OP7ho", defaultMessage: [{ type: 0, value: "Receives confirmation email" }] }), tooltip: e }); }; export { E as default };