UNPKG

@open-formulieren/formio-builder

Version:

An opinionated Formio webform builder for Open Forms

61 lines (60 loc) 1.48 kB
import { jsx as m } from "react/jsx-runtime"; import { defineMessages as a, useIntl as o } from "react-intl"; import "../../../components/formio/tabs.js"; import "clsx"; import "formik"; /* empty css */ import "@floating-ui/react"; import "react"; /* empty css */ import "../../../context.js"; import "@formio/vanilla-text-mask"; import "formiojs"; import { DateFieldMultiple as p } from "../../../components/formio/datefield.js"; import "lodash"; /* empty css */ import "react-select"; import "dompurify"; import "../../../components/formio/datagrid.js"; const i = { minDate: a({ label: { id: "TCNvqa", defaultMessage: [{ type: 0, value: "Minimum date" }] }, tooltip: { id: "lVEpR9", defaultMessage: [{ type: 0, value: "The minimum date that can be picked." }] } }), maxDate: a({ label: { id: "7Uh91A", defaultMessage: [{ type: 0, value: "Maximum date" }] }, tooltip: { id: "Nsifca", defaultMessage: [{ type: 0, value: "The maximum date that can be picked." }] } }) }, k = ({ constraint: e }) => { const t = o(); return /* @__PURE__ */ m(p, { name: `datePicker.${e}`, label: t.formatMessage(i[e].label), tooltip: t.formatMessage(i[e].tooltip) }); }; export { k as default };