UNPKG

@open-formulieren/formio-builder

Version:

An opinionated Formio webform builder for Open Forms

37 lines (36 loc) 1.15 kB
import { jsx as t } from "react/jsx-runtime"; import { useContext as r } from "react"; import { useIntl as m, FormattedMessage as s } from "react-intl"; import { BuilderContext as p } 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 l from "../formio/checkbox.js"; import "lodash"; /* empty css */ import "react-select"; import "dompurify"; import "../formio/datagrid.js"; const j = () => { const e = m(), { formType: o } = r(p), i = e.formatMessage({ id: "cAC5kL", defaultMessage: [{ type: 0, value: "Remove the value of this field from the submission if it is hidden. Note: the value of this field is then also not used in logic rules!" }] }); return o === "appointment" ? null : /* @__PURE__ */ t(l, { name: "clearOnHide", label: /* @__PURE__ */ t(s, { id: "iqAbXt", defaultMessage: [{ type: 0, value: "Clear on hide" }] }), tooltip: i }); }; export { j as default };