UNPKG

@open-formulieren/formio-builder

Version:

An opinionated Formio webform builder for Open Forms

37 lines (36 loc) 1.1 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/vanilla-text-mask"; import "formiojs"; import a from "../formio/checkbox.js"; import "lodash"; /* empty css */ import "react-select"; import "dompurify"; import "../formio/datagrid.js"; const k = () => { 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 { k as default };