UNPKG

@open-formulieren/formio-builder

Version:

An opinionated Formio webform builder for Open Forms

55 lines (54 loc) 1.96 kB
import { jsxs as m, jsx as e } from "react/jsx-runtime"; import { FormattedMessage as a } from "react-intl"; import "../../components/formio/tabs.js"; import "clsx"; import "formik"; /* empty css */ import "@floating-ui/react"; import "react"; /* empty css */ import d from "../../components/formio/description.js"; import { TextFieldMultiple as i } from "../../components/formio/textfield.js"; import "../../context.js"; import "lodash"; /* empty css */ import "react-select"; import "dompurify"; import "../../components/formio/datagrid.js"; import p from "../../components/formio/fieldset.js"; const C = ({ component: r }) => { const { key: t, label: s, description: l, tooltip: o } = r; return /* @__PURE__ */ m(p, { field: t, label: s, tooltip: o, children: [ /* @__PURE__ */ e(i, { name: `${t}.bsn`, label: /* @__PURE__ */ e(a, { id: "hkXaC1", defaultMessage: [{ type: 0, value: "BSN" }] }), value: "123456788", disabled: !0 }), /* @__PURE__ */ e(i, { name: `${t}.initials`, label: /* @__PURE__ */ e(a, { id: "/kZu2e", defaultMessage: [{ type: 0, value: "Initials" }] }), value: "J", disabled: !0 }), /* @__PURE__ */ e(i, { name: `${t}.affixes`, label: /* @__PURE__ */ e(a, { id: "M2+MHj", defaultMessage: [{ type: 0, value: "Affixes" }] }), value: "Van", disabled: !0 }), /* @__PURE__ */ e(i, { name: `${t}.lastname`, label: /* @__PURE__ */ e(a, { id: "JKnHMC", defaultMessage: [{ type: 0, value: "Lastname" }] }), value: "Deniston", disabled: !0 }), /* @__PURE__ */ e(i, { name: `${t}.dateOfBirth`, label: /* @__PURE__ */ e(a, { id: "ZYWsHs", defaultMessage: [{ type: 0, value: "Date of birth" }] }), value: "2000-08-09", disabled: !0 }), l && /* @__PURE__ */ e(d, { text: l }) ] }); }; export { C as default };