@open-formulieren/formio-builder
Version:
An opinionated Formio webform builder for Open Forms
65 lines (64 loc) • 1.97 kB
JavaScript
import { jsxs as i, 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 "../../context.js";
import "@formio/vanilla-text-mask";
import "formiojs";
import n from "../../components/formio/checkbox.js";
import s from "../../components/formio/panel.js";
import "react-select";
import "dompurify";
import "../../components/formio/datagrid.js";
const l = () => {
const e = a().formatMessage({
id: "b64egT",
defaultMessage: [{
type: 0,
value: "Users can draw shapes (polygons) on the map"
}]
});
return /* @__PURE__ */ t(n, { 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(n, { 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(n, { name: "interactions.marker", label: /* @__PURE__ */ t(o, { id: "9oJuUL", defaultMessage: [{
type: 0,
value: "Marker"
}] }), tooltip: e });
}, z = () => /* @__PURE__ */ i(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 {
z as default
};