@open-formulieren/formio-builder
Version:
An opinionated Formio webform builder for Open Forms
37 lines (36 loc) • 1.03 kB
JavaScript
import { jsx as t } from "react/jsx-runtime";
import { useContext as m } from "react";
import { useIntl as i, FormattedMessage as p } from "react-intl";
import { BuilderContext as a } from "../../context.js";
import "../formio/tabs.js";
import "clsx";
import "formik";
/* empty css */
import "@floating-ui/react";
/* empty css */
import "@formio/vanilla-text-mask";
import "formiojs";
import n from "../formio/checkbox.js";
import "lodash";
/* empty css */
import "react-select";
import "dompurify";
import "../formio/datagrid.js";
const F = () => {
const o = i(), {
formType: e
} = m(a), r = o.formatMessage({
id: "/gcLcC",
defaultMessage: [{
type: 0,
value: "Make this component read only."
}]
});
return e === "appointment" ? null : /* @__PURE__ */ t(n, { name: "disabled", label: /* @__PURE__ */ t(p, { id: "HNoGb8", defaultMessage: [{
type: 0,
value: "Read only"
}] }), tooltip: r });
};
export {
F as default
};