@open-formulieren/formio-builder
Version:
An opinionated Formio webform builder for Open Forms
41 lines (40 loc) • 1.27 kB
JavaScript
import { jsx as e } from "react/jsx-runtime";
import { useContext as i } from "react";
import { useIntl as p, FormattedMessage as s } from "react-intl";
import { BuilderContext as m } from "../../../context.js";
import "../../formio/tabs.js";
import "clsx";
import "formik";
/* empty css */
import "@floating-ui/react";
/* empty css */
import { TextFieldMultiple as l } from "../../formio/textfield.js";
import "lodash";
/* empty css */
import "react-select";
import "dompurify";
import "../../formio/datagrid.js";
const E = () => {
const t = p(), {
formType: o
} = i(m), r = t.formatMessage({
id: "wZ99FU",
defaultMessage: [{
type: 0,
value: "The regular expression pattern test that the field value must pass before the form can be submitted."
}]
}), a = t.formatMessage({
id: "+q3LGC",
defaultMessage: [{
type: 0,
value: "Regular Expression Pattern"
}]
});
return o === "appointment" ? null : /* @__PURE__ */ e(l, { name: "validate.pattern", label: /* @__PURE__ */ e(s, { id: "1WxO/D", defaultMessage: [{
type: 0,
value: "Regular Expression Pattern"
}] }), tooltip: r, placeholder: a });
};
export {
E as default
};