UNPKG

@open-formulieren/formio-builder

Version:

An opinionated Formio webform builder for Open Forms

40 lines (39 loc) 1.43 kB
import { jsx as t } from "react/jsx-runtime"; import { useContext as i } from "react"; import { useIntl as m, FormattedMessage as p } from "react-intl"; import "../../components/formio/tabs.js"; import "clsx"; import "formik"; /* empty css */ import "@floating-ui/react"; /* empty css */ import "../../components/formio/textfield.js"; import l from "../../components/formio/checkbox.js"; import "../../components/formio/datefield.js"; import "../../components/formio/datetimefield.js"; import "../../components/formio/timefield.js"; /* empty css */ import "react-select"; import "dompurify"; import "../../components/formio/textarea.js"; import "../../components/formio/datagrid.js"; /* empty css */ import { BuilderContext as n } from "../../context.js"; const F = () => { const e = m(), { formType: o } = i(n), r = e.formatMessage({ id: "e09gXO", defaultMessage: [{ type: 0, value: "Allow the selection of specific children that are retrieved from the external source for further processing." }] }); return o === "appointment" ? null : /* @__PURE__ */ t(l, { name: "enableSelection", label: /* @__PURE__ */ t(p, { id: "7E8B/6", defaultMessage: [{ type: 0, value: "Enable selection" }] }), tooltip: r }); }; export { F as default };