UNPKG

@open-formulieren/formio-builder

Version:

An opinionated Formio webform builder for Open Forms

37 lines (36 loc) 1.07 kB
import { jsx as t } from "react/jsx-runtime"; import { useContext as m } from "react"; import { useIntl as i, FormattedMessage as p } 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 "@formio/vanilla-text-mask"; import "formiojs"; import n from "../formio/checkbox.js"; import "lodash"; /* empty css */ import "react-select"; import "dompurify"; import "../formio/datagrid.js"; const L = () => { const o = i(), { formType: r } = m(a), e = o.formatMessage({ id: "5LxMj7", defaultMessage: [{ type: 0, value: "Show a live count of the number of characters." }] }); return r === "appointment" ? null : /* @__PURE__ */ t(n, { name: "showCharCount", label: /* @__PURE__ */ t(p, { id: "ktjLJK", defaultMessage: [{ type: 0, value: "Show character counter" }] }), tooltip: e }); }; export { L as default };