UNPKG

@open-formulieren/formio-builder

Version:

An opinionated Formio webform builder for Open Forms

44 lines (43 loc) 1.29 kB
import { jsx as f } from "react/jsx-runtime"; import "../../components/formio/tabs.js"; import "clsx"; import "formik"; /* empty css */ import "@floating-ui/react"; import "react"; /* empty css */ import "../../components/formio/textfield.js"; import "../../components/formio/datefield.js"; import "../../components/formio/datetimefield.js"; import "../../components/formio/timefield.js"; import "react-intl"; /* empty css */ import "react-select"; import "dompurify"; import { TextAreaMultiple as x } from "../../components/formio/textarea.js"; import "../../components/formio/datagrid.js"; /* empty css */ const F = ({ component: t }) => { const { key: o, label: r, description: i, placeholder: p, tooltip: e, validate: m = {}, autocomplete: l = "", disabled: a = !1, multiple: s, showCharCount: u, rows: d, autoExpand: n = !1 } = t, { required: c = !1 } = m; return /* @__PURE__ */ f(x, { name: o, multiple: !!s, label: r, description: i, tooltip: e, placeholder: p, required: c, autoComplete: l, readOnly: a, showCharCount: u, autoExpand: n, rows: d }); }; export { F as default };