@open-formulieren/formio-builder
Version:
An opinionated Formio webform builder for Open Forms
47 lines (46 loc) • 1.58 kB
JavaScript
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 "../../context.js";
import "lodash";
/* empty css */
import "react-select";
import "dompurify";
import "../../components/formio/datagrid.js";
import d from "../../components/formio/fieldset.js";
const P = ({
component: a
}) => {
const {
key: t,
label: l,
description: o,
tooltip: m
} = a;
return /* @__PURE__ */ p(d, { field: t, label: l, tooltip: m, 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 {
P as default
};