UNPKG

@open-formulieren/formio-builder

Version:

An opinionated Formio webform builder for Open Forms

49 lines (48 loc) 1.73 kB
import { jsxs as p, jsx as e } from "react/jsx-runtime"; import { FormattedMessage as i } from "react-intl"; import "../../components/formio/tabs.js"; import "clsx"; import "formik"; /* empty css */ import "@floating-ui/react"; import "react"; /* empty css */ import s from "../../components/formio/description.js"; import { TextFieldMultiple as r } from "../../components/formio/textfield.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"; import d from "../../components/formio/fieldset.js"; const w = ({ component: a }) => { const { key: t, label: m, description: o, tooltip: l } = a; return /* @__PURE__ */ p(d, { field: t, label: m, tooltip: l, children: [ /* @__PURE__ */ e(r, { name: `${t}.bsn`, label: /* @__PURE__ */ e(i, { id: "H9I1Lx", defaultMessage: [{ type: 0, value: "BSN" }] }), value: "123456788", disabled: !0 }), /* @__PURE__ */ e(r, { name: `${t}.firstNames`, label: /* @__PURE__ */ e(i, { id: "1U0I5C", defaultMessage: [{ type: 0, value: "Firstnames" }] }), value: "Alan", disabled: !0 }), /* @__PURE__ */ e(r, { name: `${t}.dateOfBirth`, label: /* @__PURE__ */ e(i, { id: "96yhxP", defaultMessage: [{ type: 0, value: "Date of birth" }] }), value: "2000-08-09", disabled: !0 }), o && /* @__PURE__ */ e(s, { text: o }) ] }); }; export { w as default };