UNPKG

@open-formulieren/formio-builder

Version:

An opinionated Formio webform builder for Open Forms

44 lines (43 loc) 1.32 kB
import { jsx as e } from "react/jsx-runtime"; import { useContext as i } from "react"; import { useIntl as p, FormattedMessage as m } from "react-intl"; import { BuilderContext as a } from "../../context.js"; import "../formio/tabs.js"; import "clsx"; import "formik"; /* empty css */ import "@floating-ui/react"; /* empty css */ import { TextFieldMultiple as l } from "../formio/textfield.js"; import "lodash"; /* empty css */ import "react-select"; import "dompurify"; import "../formio/datagrid.js"; const F = () => { const t = p(), { formType: o } = i(a), r = t.formatMessage({ id: "czUDSQ", defaultMessage: [{ type: 0, value: "A short indicator that can provide more context for the expected field value. The <sup> and <sub> HTML tags are supported." }] }); return o === "appointment" ? null : /* @__PURE__ */ e(l, { name: "suffix", label: /* @__PURE__ */ e(m, { id: "cAio/J", defaultMessage: [{ type: 0, value: "A short indicator to discribe the field value, e.g. " }, { type: 8, value: "example", children: [] }, { type: 0, value: "." }], values: { example: () => /* @__PURE__ */ e("code", { children: "m<sup>3</sup>" }) } }), tooltip: r }); }; export { F as default };