UNPKG

@open-formulieren/formio-builder

Version:

An opinionated Formio webform builder for Open Forms

68 lines (67 loc) 2.17 kB
import { jsxs as n, jsx as t } from "react/jsx-runtime"; import { FormattedMessage as o, useIntl 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 "../../components/formio/textfield.js"; import r from "../../components/formio/checkbox.js"; import "../../components/formio/datefield.js"; import "../../components/formio/datetimefield.js"; import "../../components/formio/timefield.js"; import s from "../../components/formio/panel.js"; import "react-select"; import "dompurify"; import "../../components/formio/textarea.js"; import "../../components/formio/datagrid.js"; /* empty css */ const l = () => { const e = a().formatMessage({ id: "b64egT", defaultMessage: [{ type: 0, value: "Users can draw shapes (polygons) on the map" }] }); return /* @__PURE__ */ t(r, { name: "interactions.polygon", label: /* @__PURE__ */ t(o, { id: "T64zDz", defaultMessage: [{ type: 0, value: "Polygon" }] }), tooltip: e }); }, p = () => { const e = a().formatMessage({ id: "pM92DZ", defaultMessage: [{ type: 0, value: "Users can draw straight lines on the map" }] }); return /* @__PURE__ */ t(r, { name: "interactions.polyline", label: /* @__PURE__ */ t(o, { id: "mRmbnJ", defaultMessage: [{ type: 0, value: "Line" }] }), tooltip: e }); }, m = () => { const e = a().formatMessage({ id: "WXpj4j", defaultMessage: [{ type: 0, value: "Users can set a marker on the map" }] }); return /* @__PURE__ */ t(r, { name: "interactions.marker", label: /* @__PURE__ */ t(o, { id: "9oJuUL", defaultMessage: [{ type: 0, value: "Marker" }] }), tooltip: e }); }, J = () => /* @__PURE__ */ n(s, { title: /* @__PURE__ */ t(o, { id: "Gjhh/5", defaultMessage: [{ type: 0, value: "Available drawing shapes" }] }), children: [ /* @__PURE__ */ t(l, {}), /* @__PURE__ */ t(p, {}), /* @__PURE__ */ t(m, {}) ] }); export { J as default };