@ogc-maps/storybook-components 0.5.0 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/{FeatureDetailPanel-DpcaTS9I.js → FeatureDetailPanel-CkFpdEKW.js} +8 -7
- package/dist/{FeatureTooltip-CM0ZTudi.js → FeatureTooltip-Db1LgLQV.js} +9 -7
- package/dist/{LayerPanel-BHpb8dbm.js → LayerPanel-SCdJ8948.js} +21 -21
- package/dist/{Legend-D4cc1JzQ.js → Legend-BMrkY-rw.js} +4 -4
- package/dist/PropertyList-BGXHLVBM.js +33 -0
- package/dist/components/BasemapEditor/BasemapEditor.d.ts +7 -0
- package/dist/components/BasemapEditor/BasemapEditor.d.ts.map +1 -0
- package/dist/components/BasemapEditor/BasemapList.d.ts +7 -0
- package/dist/components/BasemapEditor/BasemapList.d.ts.map +1 -0
- package/dist/components/BasemapEditor/index.d.ts +5 -0
- package/dist/components/BasemapEditor/index.d.ts.map +1 -0
- package/dist/components/CollectionBrowser/CollectionBrowser.d.ts +8 -0
- package/dist/components/CollectionBrowser/CollectionBrowser.d.ts.map +1 -0
- package/dist/components/CollectionBrowser/index.d.ts +3 -0
- package/dist/components/CollectionBrowser/index.d.ts.map +1 -0
- package/dist/components/ConfigPreview/ConfigPreview.d.ts +5 -0
- package/dist/components/ConfigPreview/ConfigPreview.d.ts.map +1 -0
- package/dist/components/ConfigPreview/index.d.ts +3 -0
- package/dist/components/ConfigPreview/index.d.ts.map +1 -0
- package/dist/components/FeatureDetailPanel/FeatureDetailPanel.d.ts +2 -1
- package/dist/components/FeatureDetailPanel/FeatureDetailPanel.d.ts.map +1 -1
- package/dist/components/FeatureDetailPanel/index.js +1 -1
- package/dist/components/FeatureTooltip/FeatureTooltip.d.ts +2 -1
- package/dist/components/FeatureTooltip/FeatureTooltip.d.ts.map +1 -1
- package/dist/components/FeatureTooltip/index.js +1 -1
- package/dist/components/LayerEditor/LayerEditor.d.ts +8 -0
- package/dist/components/LayerEditor/LayerEditor.d.ts.map +1 -0
- package/dist/components/LayerEditor/LayerList.d.ts +8 -0
- package/dist/components/LayerEditor/LayerList.d.ts.map +1 -0
- package/dist/components/LayerEditor/index.d.ts +5 -0
- package/dist/components/LayerEditor/index.d.ts.map +1 -0
- package/dist/components/LayerPanel/index.js +1 -1
- package/dist/components/Legend/index.js +1 -1
- package/dist/components/LegendEditor/LegendEditor.d.ts +7 -0
- package/dist/components/LegendEditor/LegendEditor.d.ts.map +1 -0
- package/dist/components/LegendEditor/LegendEntryEditor.d.ts +7 -0
- package/dist/components/LegendEditor/LegendEntryEditor.d.ts.map +1 -0
- package/dist/components/LegendEditor/index.d.ts +5 -0
- package/dist/components/LegendEditor/index.d.ts.map +1 -0
- package/dist/components/PropertyDisplayEditor/PropertyDisplayEditor.d.ts +15 -0
- package/dist/components/PropertyDisplayEditor/PropertyDisplayEditor.d.ts.map +1 -0
- package/dist/components/PropertyDisplayEditor/__tests__/PropertyDisplayEditor.test.d.ts +2 -0
- package/dist/components/PropertyDisplayEditor/__tests__/PropertyDisplayEditor.test.d.ts.map +1 -0
- package/dist/components/PropertyDisplayEditor/index.d.ts +3 -0
- package/dist/components/PropertyDisplayEditor/index.d.ts.map +1 -0
- package/dist/components/SearchFieldEditor/SearchFieldEditor.d.ts +8 -0
- package/dist/components/SearchFieldEditor/SearchFieldEditor.d.ts.map +1 -0
- package/dist/components/SearchFieldEditor/SearchFieldList.d.ts +8 -0
- package/dist/components/SearchFieldEditor/SearchFieldList.d.ts.map +1 -0
- package/dist/components/SearchFieldEditor/index.d.ts +5 -0
- package/dist/components/SearchFieldEditor/index.d.ts.map +1 -0
- package/dist/components/SourceEditor/SourceEditor.d.ts +10 -0
- package/dist/components/SourceEditor/SourceEditor.d.ts.map +1 -0
- package/dist/components/SourceEditor/SourceList.d.ts +7 -0
- package/dist/components/SourceEditor/SourceList.d.ts.map +1 -0
- package/dist/components/SourceEditor/index.d.ts +5 -0
- package/dist/components/SourceEditor/index.d.ts.map +1 -0
- package/dist/components/StyleEditor/StyleEditor.d.ts +11 -0
- package/dist/components/StyleEditor/StyleEditor.d.ts.map +1 -0
- package/dist/components/StyleEditor/index.d.ts +3 -0
- package/dist/components/StyleEditor/index.d.ts.map +1 -0
- package/dist/components/UIConfigEditor/UIConfigEditor.d.ts +7 -0
- package/dist/components/UIConfigEditor/UIConfigEditor.d.ts.map +1 -0
- package/dist/components/UIConfigEditor/index.d.ts +3 -0
- package/dist/components/UIConfigEditor/index.d.ts.map +1 -0
- package/dist/components/ViewEditor/ViewEditor.d.ts +7 -0
- package/dist/components/ViewEditor/ViewEditor.d.ts.map +1 -0
- package/dist/components/ViewEditor/index.d.ts +3 -0
- package/dist/components/ViewEditor/index.d.ts.map +1 -0
- package/dist/components/_shared/PropertyList.d.ts +2 -1
- package/dist/components/_shared/PropertyList.d.ts.map +1 -1
- package/dist/components/admin/ColorPicker.d.ts +7 -0
- package/dist/components/admin/ColorPicker.d.ts.map +1 -0
- package/dist/components/admin/ConfirmDialog.d.ts +9 -0
- package/dist/components/admin/ConfirmDialog.d.ts.map +1 -0
- package/dist/components/admin/FormField.d.ts +10 -0
- package/dist/components/admin/FormField.d.ts.map +1 -0
- package/dist/components/admin/index.d.ts +7 -0
- package/dist/components/admin/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +24 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/cql2-Dhe6Ny6v.js +352 -0
- package/dist/hooks/index.d.ts +5 -2
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +31 -24
- package/dist/hooks/useOgcCollectionDetail.d.ts +14 -0
- package/dist/hooks/useOgcCollectionDetail.d.ts.map +1 -0
- package/dist/hooks/useOgcQueryables.d.ts +14 -0
- package/dist/hooks/useOgcQueryables.d.ts.map +1 -0
- package/dist/{index-BLgVA46J.js → index-Bw9lUiuL.js} +152 -146
- package/dist/main.js +2105 -79
- package/dist/schemas/config.d.ts +81 -5
- package/dist/schemas/config.d.ts.map +1 -1
- package/dist/schemas/index.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +15 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +15 -13
- package/dist/utils/__tests__/propertyDisplay.test.d.ts +2 -0
- package/dist/utils/__tests__/propertyDisplay.test.d.ts.map +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/ogcApi.d.ts +44 -0
- package/dist/utils/ogcApi.d.ts.map +1 -1
- package/dist/utils/propertyDisplay.d.ts +6 -0
- package/dist/utils/propertyDisplay.d.ts.map +1 -0
- package/dist/utils/queryableHelpers.d.ts +35 -0
- package/dist/utils/queryableHelpers.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/PropertyList-BH_DTkcU.js +0 -32
- package/dist/cql2-BaKDic7B.js +0 -288
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @ogc-maps/storybook-components
|
|
2
2
|
|
|
3
|
-
A reusable, config-driven map component library built on OGC API standards. Designed for building interactive web maps with React
|
|
3
|
+
A reusable, config-driven map component library built on OGC API standards. Designed for building interactive web maps with React and `tipg` — the library itself has no MapLibre dependency.
|
|
4
4
|
|
|
5
5
|
## Features
|
|
6
6
|
|
|
@@ -54,7 +54,7 @@ Default styles use the `mapui:` Tailwind prefix so they won't clash with your ap
|
|
|
54
54
|
|
|
55
55
|
- [Getting Started](../../docs/GETTING-STARTED.md) — Installation, minimal config, first render
|
|
56
56
|
- [Configuration](../../docs/CONFIGURATION.md) — Full `MapConfig` schema reference
|
|
57
|
-
- [Components](../../docs/COMPONENTS.md) — All
|
|
57
|
+
- [Components](../../docs/COMPONENTS.md) — All component APIs with props tables and examples
|
|
58
58
|
- [Hooks & Utilities](../../docs/HOOKS.md) — OGC API hooks and utility functions
|
|
59
59
|
- [Publishing](../../docs/PUBLISHING.md) — Versioning and release guide
|
|
60
60
|
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { jsxs as p, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { P as
|
|
3
|
-
function
|
|
2
|
+
import { P as c } from "./PropertyList-BGXHLVBM.js";
|
|
3
|
+
function f({
|
|
4
4
|
isOpen: r,
|
|
5
5
|
onClose: m,
|
|
6
6
|
properties: i,
|
|
7
7
|
title: t = "Feature Properties",
|
|
8
8
|
fields: l,
|
|
9
|
+
labels: o,
|
|
9
10
|
variant: e = "panel",
|
|
10
|
-
className:
|
|
11
|
+
className: n = ""
|
|
11
12
|
}) {
|
|
12
13
|
if (!r) return null;
|
|
13
14
|
const u = /* @__PURE__ */ p(
|
|
@@ -16,9 +17,9 @@ function x({
|
|
|
16
17
|
className: [
|
|
17
18
|
"mapui:flex mapui:flex-col mapui:rounded mapui:border mapui:border-gray-200 mapui:bg-white mapui:shadow-md",
|
|
18
19
|
e === "modal" ? "mapui:max-h-[80vh] mapui:w-full mapui:max-w-lg" : "mapui:max-h-[calc(100vh-4rem)] mapui:w-72",
|
|
19
|
-
|
|
20
|
+
n
|
|
20
21
|
].filter(Boolean).join(" ").trim(),
|
|
21
|
-
onClick: e === "modal" ? (
|
|
22
|
+
onClick: e === "modal" ? (s) => s.stopPropagation() : void 0,
|
|
22
23
|
children: [
|
|
23
24
|
/* @__PURE__ */ p("div", { className: "mapui:flex mapui:shrink-0 mapui:items-center mapui:justify-between mapui:border-b mapui:border-gray-200 mapui:px-4 mapui:py-3", children: [
|
|
24
25
|
/* @__PURE__ */ a("h3", { className: "mapui:m-0 mapui:text-sm mapui:font-semibold mapui:text-gray-700", children: t }),
|
|
@@ -32,7 +33,7 @@ function x({
|
|
|
32
33
|
}
|
|
33
34
|
)
|
|
34
35
|
] }),
|
|
35
|
-
/* @__PURE__ */ a("div", { className: "mapui:overflow-y-auto mapui:px-4 mapui:py-3", children: i && Object.keys(i).length > 0 ? /* @__PURE__ */ a(
|
|
36
|
+
/* @__PURE__ */ a("div", { className: "mapui:overflow-y-auto mapui:px-4 mapui:py-3", children: i && Object.keys(i).length > 0 ? /* @__PURE__ */ a(c, { properties: i, fields: l, labels: o, density: "default" }) : /* @__PURE__ */ a("p", { className: "mapui:m-0 mapui:text-sm mapui:text-gray-400", children: "No properties available." }) })
|
|
36
37
|
]
|
|
37
38
|
}
|
|
38
39
|
);
|
|
@@ -46,5 +47,5 @@ function x({
|
|
|
46
47
|
) : u;
|
|
47
48
|
}
|
|
48
49
|
export {
|
|
49
|
-
|
|
50
|
+
f as F
|
|
50
51
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { jsx as a, jsxs as e } from "react/jsx-runtime";
|
|
2
|
-
import { P as
|
|
3
|
-
function
|
|
2
|
+
import { P as n } from "./PropertyList-BGXHLVBM.js";
|
|
3
|
+
function h({
|
|
4
4
|
title: p,
|
|
5
5
|
properties: m,
|
|
6
6
|
fields: t,
|
|
7
|
+
labels: o,
|
|
7
8
|
maxItems: i = 4,
|
|
8
9
|
className: u = ""
|
|
9
10
|
}) {
|
|
@@ -15,7 +16,7 @@ function x({
|
|
|
15
16
|
children: /* @__PURE__ */ a("p", { className: "mapui:m-0 mapui:text-xs mapui:text-gray-400", children: "No data" })
|
|
16
17
|
}
|
|
17
18
|
);
|
|
18
|
-
const r = t ?? Object.keys(m),
|
|
19
|
+
const r = t ?? Object.keys(m), d = r.length > i, s = r.length - i;
|
|
19
20
|
return /* @__PURE__ */ e(
|
|
20
21
|
"div",
|
|
21
22
|
{
|
|
@@ -23,17 +24,18 @@ function x({
|
|
|
23
24
|
children: [
|
|
24
25
|
p && /* @__PURE__ */ a("p", { className: "mapui:mb-1.5 mapui:mt-0 mapui:text-xs mapui:font-semibold mapui:text-gray-700", children: p }),
|
|
25
26
|
/* @__PURE__ */ a(
|
|
26
|
-
|
|
27
|
+
n,
|
|
27
28
|
{
|
|
28
29
|
properties: m,
|
|
29
30
|
fields: t,
|
|
31
|
+
labels: o,
|
|
30
32
|
maxItems: i,
|
|
31
33
|
density: "compact"
|
|
32
34
|
}
|
|
33
35
|
),
|
|
34
|
-
|
|
36
|
+
d && /* @__PURE__ */ e("p", { className: "mapui:mb-0 mapui:mt-1 mapui:text-xs mapui:text-gray-400", children: [
|
|
35
37
|
"+",
|
|
36
|
-
|
|
38
|
+
s,
|
|
37
39
|
" more"
|
|
38
40
|
] })
|
|
39
41
|
]
|
|
@@ -41,5 +43,5 @@ function x({
|
|
|
41
43
|
);
|
|
42
44
|
}
|
|
43
45
|
export {
|
|
44
|
-
|
|
46
|
+
h as F
|
|
45
47
|
};
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { jsxs as o, jsx as
|
|
2
|
-
import { useState as g, useCallback as
|
|
1
|
+
import { jsxs as o, jsx as u } from "react/jsx-runtime";
|
|
2
|
+
import { useState as g, useCallback as m } from "react";
|
|
3
3
|
function E({
|
|
4
|
-
layers:
|
|
4
|
+
layers: r,
|
|
5
5
|
activeLayerIds: f,
|
|
6
6
|
onToggleVisibility: v,
|
|
7
7
|
onReorder: i,
|
|
8
8
|
className: x = "",
|
|
9
9
|
hideTitle: h
|
|
10
10
|
}) {
|
|
11
|
-
const [n,
|
|
11
|
+
const [n, l] = g(null), [D, s] = g(null), b = m(
|
|
12
12
|
(a, e) => {
|
|
13
|
-
|
|
13
|
+
l(e), a.dataTransfer.effectAllowed = "move", a.dataTransfer.setData("text/plain", e);
|
|
14
14
|
},
|
|
15
15
|
[]
|
|
16
|
-
), N =
|
|
16
|
+
), N = m(
|
|
17
17
|
(a, e) => {
|
|
18
|
-
a.preventDefault(), a.dataTransfer.dropEffect = "move",
|
|
18
|
+
a.preventDefault(), a.dataTransfer.dropEffect = "move", s(e);
|
|
19
19
|
},
|
|
20
20
|
[]
|
|
21
|
-
), O =
|
|
22
|
-
|
|
23
|
-
}, []), I =
|
|
21
|
+
), O = m(() => {
|
|
22
|
+
s(null);
|
|
23
|
+
}, []), I = m(
|
|
24
24
|
(a, e) => {
|
|
25
|
-
if (a.preventDefault(),
|
|
26
|
-
const p =
|
|
25
|
+
if (a.preventDefault(), s(null), l(null), !i || !n || n === e) return;
|
|
26
|
+
const p = r.map((w) => w.id), c = p.indexOf(n), t = p.indexOf(e);
|
|
27
27
|
if (c === -1 || t === -1) return;
|
|
28
28
|
const d = [...p];
|
|
29
29
|
d.splice(c, 1), d.splice(t, 0, n), i(d);
|
|
30
30
|
},
|
|
31
|
-
[n,
|
|
32
|
-
), L =
|
|
33
|
-
|
|
31
|
+
[n, r, i]
|
|
32
|
+
), L = m(() => {
|
|
33
|
+
l(null), s(null);
|
|
34
34
|
}, []);
|
|
35
35
|
return /* @__PURE__ */ o("div", { className: `mapui:flex mapui:flex-col mapui:gap-1 ${x}`.trim(), children: [
|
|
36
|
-
!h && /* @__PURE__ */
|
|
37
|
-
/* @__PURE__ */
|
|
36
|
+
!h && /* @__PURE__ */ u("h3", { className: "mapui:m-0 mapui:mb-2 mapui:text-sm mapui:font-semibold mapui:text-gray-700", children: "Layers" }),
|
|
37
|
+
/* @__PURE__ */ u("ul", { className: "mapui:m-0 mapui:list-none mapui:p-0", children: r.map((a) => {
|
|
38
38
|
const e = f.includes(a.id), p = n === a.id, c = D === a.id;
|
|
39
39
|
return /* @__PURE__ */ o(
|
|
40
40
|
"li",
|
|
@@ -52,7 +52,7 @@ function E({
|
|
|
52
52
|
p ? "mapui:opacity-50" : "mapui:opacity-100"
|
|
53
53
|
].join(" "),
|
|
54
54
|
children: [
|
|
55
|
-
i && /* @__PURE__ */
|
|
55
|
+
i && /* @__PURE__ */ u(
|
|
56
56
|
"span",
|
|
57
57
|
{
|
|
58
58
|
className: "mapui:cursor-grab mapui:text-gray-400 active:mapui:cursor-grabbing",
|
|
@@ -60,8 +60,8 @@ function E({
|
|
|
60
60
|
children: "⠿"
|
|
61
61
|
}
|
|
62
62
|
),
|
|
63
|
-
/* @__PURE__ */ o("label", { className: "mapui:flex mapui:flex-1 mapui:cursor-pointer mapui:items-center mapui:gap-2", children: [
|
|
64
|
-
/* @__PURE__ */
|
|
63
|
+
/* @__PURE__ */ o("label", { className: "mapui:flex mapui:flex-1 mapui:cursor-pointer mapui:items-center mapui:gap-2 mapui:min-w-0", children: [
|
|
64
|
+
/* @__PURE__ */ u(
|
|
65
65
|
"input",
|
|
66
66
|
{
|
|
67
67
|
type: "checkbox",
|
|
@@ -70,7 +70,7 @@ function E({
|
|
|
70
70
|
className: "mapui:h-4 mapui:w-4 mapui:cursor-pointer mapui:accent-blue-600"
|
|
71
71
|
}
|
|
72
72
|
),
|
|
73
|
-
/* @__PURE__ */
|
|
73
|
+
/* @__PURE__ */ u("span", { className: "mapui:text-sm mapui:text-gray-800 mapui:truncate", children: a.label })
|
|
74
74
|
] })
|
|
75
75
|
]
|
|
76
76
|
},
|
|
@@ -62,7 +62,7 @@ function g({ layers: i, visibleLayerIds: p, className: n }) {
|
|
|
62
62
|
className: `mapui:rounded-lg mapui:bg-white mapui:p-3 mapui:shadow-md mapui:text-sm${n ? ` ${n}` : ""}`,
|
|
63
63
|
children: [
|
|
64
64
|
/* @__PURE__ */ e("h3", { className: "mapui:m-0 mapui:mb-2 mapui:text-xs mapui:font-semibold mapui:uppercase mapui:tracking-wide mapui:text-gray-500", children: "Legend" }),
|
|
65
|
-
/* @__PURE__ */ e("ul", { className: "mapui:m-0 mapui:list-none mapui:space-y-2 mapui:p-0", children: r.map(({ layer: a, entries: l }) => /* @__PURE__ */ e("li", { children: l.length === 1 ? /* @__PURE__ */ m("div", { className: "mapui:flex mapui:items-center mapui:gap-2", children: [
|
|
65
|
+
/* @__PURE__ */ e("ul", { className: "mapui:m-0 mapui:list-none mapui:space-y-2 mapui:p-0", children: r.map(({ layer: a, entries: l }) => /* @__PURE__ */ e("li", { children: l.length === 1 ? /* @__PURE__ */ m("div", { className: "mapui:flex mapui:items-center mapui:gap-2 mapui:min-w-0", children: [
|
|
66
66
|
/* @__PURE__ */ e(
|
|
67
67
|
s,
|
|
68
68
|
{
|
|
@@ -70,16 +70,16 @@ function g({ layers: i, visibleLayerIds: p, className: n }) {
|
|
|
70
70
|
shape: l[0].shape
|
|
71
71
|
}
|
|
72
72
|
),
|
|
73
|
-
/* @__PURE__ */ e("span", { className: "mapui:text-gray-700", children: l[0].label })
|
|
73
|
+
/* @__PURE__ */ e("span", { className: "mapui:text-gray-700 mapui:truncate", children: l[0].label })
|
|
74
74
|
] }) : /* @__PURE__ */ m("div", { children: [
|
|
75
75
|
/* @__PURE__ */ e("div", { className: "mapui:mb-1 mapui:text-xs mapui:font-medium mapui:text-gray-600", children: a.label }),
|
|
76
76
|
/* @__PURE__ */ e("ul", { className: "mapui:m-0 mapui:list-none mapui:space-y-1 mapui:p-0 mapui:pl-1", children: l.map((u, c) => /* @__PURE__ */ m(
|
|
77
77
|
"li",
|
|
78
78
|
{
|
|
79
|
-
className: "mapui:flex mapui:items-center mapui:gap-2",
|
|
79
|
+
className: "mapui:flex mapui:items-center mapui:gap-2 mapui:min-w-0",
|
|
80
80
|
children: [
|
|
81
81
|
/* @__PURE__ */ e(s, { color: u.color, shape: u.shape }),
|
|
82
|
-
/* @__PURE__ */ e("span", { className: "mapui:text-gray-700", children: u.label })
|
|
82
|
+
/* @__PURE__ */ e("span", { className: "mapui:text-gray-700 mapui:truncate", children: u.label })
|
|
83
83
|
]
|
|
84
84
|
},
|
|
85
85
|
`${u.label}-${c}`
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { jsx as t, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
function p(i) {
|
|
3
|
+
return i == null ? "--" : typeof i == "boolean" ? i ? "Yes" : "No" : Array.isArray(i) ? i.map(p).join(", ") : typeof i == "object" ? JSON.stringify(i) : String(i);
|
|
4
|
+
}
|
|
5
|
+
function f({
|
|
6
|
+
properties: i,
|
|
7
|
+
fields: s,
|
|
8
|
+
labels: r,
|
|
9
|
+
maxItems: n,
|
|
10
|
+
density: o = "default",
|
|
11
|
+
className: u = ""
|
|
12
|
+
}) {
|
|
13
|
+
const c = s ?? Object.keys(i), d = n != null ? c.slice(0, n) : c;
|
|
14
|
+
return o === "compact" ? /* @__PURE__ */ t("dl", { className: `mapui:m-0 mapui:text-xs ${u}`.trim(), children: d.map((m) => /* @__PURE__ */ a("div", { className: "mapui:flex mapui:gap-1 mapui:py-0.5", children: [
|
|
15
|
+
/* @__PURE__ */ a("dt", { className: "mapui:shrink-0 mapui:font-medium mapui:text-gray-500", children: [
|
|
16
|
+
(r == null ? void 0 : r[m]) ?? m,
|
|
17
|
+
":"
|
|
18
|
+
] }),
|
|
19
|
+
/* @__PURE__ */ t("dd", { className: "mapui:m-0 mapui:truncate mapui:text-gray-800", children: p(i[m]) })
|
|
20
|
+
] }, m)) }) : /* @__PURE__ */ t(
|
|
21
|
+
"dl",
|
|
22
|
+
{
|
|
23
|
+
className: `mapui:m-0 mapui:grid mapui:grid-cols-2 mapui:gap-x-4 mapui:gap-y-2 mapui:text-sm ${u}`.trim(),
|
|
24
|
+
children: d.map((m) => /* @__PURE__ */ a("div", { className: "mapui:contents", children: [
|
|
25
|
+
/* @__PURE__ */ t("dt", { className: "mapui:break-words mapui:font-medium mapui:text-gray-500", children: (r == null ? void 0 : r[m]) ?? m }),
|
|
26
|
+
/* @__PURE__ */ t("dd", { className: "mapui:m-0 mapui:break-words mapui:text-gray-800", children: p(i[m]) })
|
|
27
|
+
] }, m))
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
f as P
|
|
33
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BasemapConfig } from '../../types';
|
|
2
|
+
export interface BasemapEditorProps {
|
|
3
|
+
value: BasemapConfig;
|
|
4
|
+
onChange: (basemap: BasemapConfig) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare function BasemapEditor({ value, onChange }: BasemapEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=BasemapEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BasemapEditor.d.ts","sourceRoot":"","sources":["../../../src/components/BasemapEditor/BasemapEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,aAAa,CAAC;IACrB,QAAQ,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;CAC5C;AAKD,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,kBAAkB,2CAqDpE"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BasemapConfig } from '../../types';
|
|
2
|
+
export interface BasemapListProps {
|
|
3
|
+
basemaps: BasemapConfig[];
|
|
4
|
+
onChange: (basemaps: BasemapConfig[]) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare function BasemapList({ basemaps, onChange }: BasemapListProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=BasemapList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BasemapList.d.ts","sourceRoot":"","sources":["../../../src/components/BasemapEditor/BasemapList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAIjD,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,aAAa,EAAE,CAAC;IAC1B,QAAQ,EAAE,CAAC,QAAQ,EAAE,aAAa,EAAE,KAAK,IAAI,CAAC;CAC/C;AAID,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,gBAAgB,2CA4HnE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/BasemapEditor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface CollectionBrowserProps {
|
|
2
|
+
sourceUrl: string;
|
|
3
|
+
selectedCollectionIds: string[];
|
|
4
|
+
onSelect: (collectionId: string) => void;
|
|
5
|
+
onDeselect: (collectionId: string) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function CollectionBrowser({ sourceUrl, selectedCollectionIds, onSelect, onDeselect, }: CollectionBrowserProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=CollectionBrowser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CollectionBrowser.d.ts","sourceRoot":"","sources":["../../../src/components/CollectionBrowser/CollectionBrowser.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,qBAAqB,EAAE,MAAM,EAAE,CAAC;IAChC,QAAQ,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,UAAU,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C;AAED,wBAAgB,iBAAiB,CAAC,EAChC,SAAS,EACT,qBAAqB,EACrB,QAAQ,EACR,UAAU,GACX,EAAE,sBAAsB,2CAiExB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CollectionBrowser/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfigPreview.d.ts","sourceRoot":"","sources":["../../../src/components/ConfigPreview/ConfigPreview.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,EAAE,kBAAkB,2CA4C3D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ConfigPreview/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -4,8 +4,9 @@ export interface FeatureDetailPanelProps {
|
|
|
4
4
|
properties: Record<string, unknown> | null;
|
|
5
5
|
title?: string;
|
|
6
6
|
fields?: string[];
|
|
7
|
+
labels?: Record<string, string>;
|
|
7
8
|
variant?: 'panel' | 'modal';
|
|
8
9
|
className?: string;
|
|
9
10
|
}
|
|
10
|
-
export declare function FeatureDetailPanel({ isOpen, onClose, properties, title, fields, variant, className, }: FeatureDetailPanelProps): import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
+
export declare function FeatureDetailPanel({ isOpen, onClose, properties, title, fields, labels, variant, className, }: FeatureDetailPanelProps): import("react/jsx-runtime").JSX.Element | null;
|
|
11
12
|
//# sourceMappingURL=FeatureDetailPanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeatureDetailPanel.d.ts","sourceRoot":"","sources":["../../../src/components/FeatureDetailPanel/FeatureDetailPanel.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,OAAO,EACP,UAAU,EACV,KAA4B,EAC5B,MAAM,EACN,OAAiB,EACjB,SAAc,GACf,EAAE,uBAAuB,kDAmDzB"}
|
|
1
|
+
{"version":3,"file":"FeatureDetailPanel.d.ts","sourceRoot":"","sources":["../../../src/components/FeatureDetailPanel/FeatureDetailPanel.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,OAAO,EACP,UAAU,EACV,KAA4B,EAC5B,MAAM,EACN,MAAM,EACN,OAAiB,EACjB,SAAc,GACf,EAAE,uBAAuB,kDAmDzB"}
|
|
@@ -2,8 +2,9 @@ export interface FeatureTooltipProps {
|
|
|
2
2
|
title?: string;
|
|
3
3
|
properties: Record<string, unknown> | null;
|
|
4
4
|
fields?: string[];
|
|
5
|
+
labels?: Record<string, string>;
|
|
5
6
|
maxItems?: number;
|
|
6
7
|
className?: string;
|
|
7
8
|
}
|
|
8
|
-
export declare function FeatureTooltip({ title, properties, fields, maxItems, className, }: FeatureTooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare function FeatureTooltip({ title, properties, fields, labels, maxItems, className, }: FeatureTooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
//# sourceMappingURL=FeatureTooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeatureTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/FeatureTooltip/FeatureTooltip.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAC3C,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,UAAU,EACV,MAAM,EACN,QAAY,EACZ,SAAc,GACf,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"FeatureTooltip.d.ts","sourceRoot":"","sources":["../../../src/components/FeatureTooltip/FeatureTooltip.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAC3C,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,UAAU,EACV,MAAM,EACN,MAAM,EACN,QAAY,EACZ,SAAc,GACf,EAAE,mBAAmB,2CAoCrB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LayerConfig, OgcApiSource } from '../../types';
|
|
2
|
+
export interface LayerEditorProps {
|
|
3
|
+
value: LayerConfig;
|
|
4
|
+
onChange: (layer: LayerConfig) => void;
|
|
5
|
+
availableSources: OgcApiSource[];
|
|
6
|
+
}
|
|
7
|
+
export declare function LayerEditor({ value, onChange, availableSources }: LayerEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=LayerEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LayerEditor.d.ts","sourceRoot":"","sources":["../../../src/components/LayerEditor/LayerEditor.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAqB,MAAM,aAAa,CAAC;AAehF,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IACvC,gBAAgB,EAAE,YAAY,EAAE,CAAC;CAClC;AA6BD,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,EAAE,gBAAgB,2CAwNlF"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LayerConfig, OgcApiSource } from '../../types';
|
|
2
|
+
export interface LayerListProps {
|
|
3
|
+
layers: LayerConfig[];
|
|
4
|
+
onChange: (layers: LayerConfig[]) => void;
|
|
5
|
+
availableSources: OgcApiSource[];
|
|
6
|
+
}
|
|
7
|
+
export declare function LayerList({ layers, onChange, availableSources }: LayerListProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=LayerList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LayerList.d.ts","sourceRoot":"","sources":["../../../src/components/LayerEditor/LayerList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAI7D,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,QAAQ,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,KAAK,IAAI,CAAC;IAC1C,gBAAgB,EAAE,YAAY,EAAE,CAAC;CAClC;AAWD,wBAAgB,SAAS,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,gBAAgB,EAAE,EAAE,cAAc,2CA2P/E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/LayerEditor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LegendConfig } from '../../types';
|
|
2
|
+
export interface LegendEditorProps {
|
|
3
|
+
value: LegendConfig | undefined;
|
|
4
|
+
onChange: (legend: LegendConfig | undefined) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare function LegendEditor({ value, onChange }: LegendEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=LegendEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegendEditor.d.ts","sourceRoot":"","sources":["../../../src/components/LegendEditor/LegendEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAe,MAAM,aAAa,CAAC;AAG7D,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,YAAY,GAAG,SAAS,CAAC;IAChC,QAAQ,EAAE,CAAC,MAAM,EAAE,YAAY,GAAG,SAAS,KAAK,IAAI,CAAC;CACtD;AAID,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,iBAAiB,2CA+ElE"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LegendEntry } from '../../types';
|
|
2
|
+
export interface LegendEntryEditorProps {
|
|
3
|
+
value: LegendEntry;
|
|
4
|
+
onChange: (entry: LegendEntry) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare function LegendEntryEditor({ value, onChange }: LegendEntryEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=LegendEntryEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegendEntryEditor.d.ts","sourceRoot":"","sources":["../../../src/components/LegendEditor/LegendEntryEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAI/C,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;CACxC;AAKD,wBAAgB,iBAAiB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,sBAAsB,2CAkC5E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/LegendEditor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PropertyDisplayConfig, AvailableProperty } from '../../types';
|
|
2
|
+
export interface PropertyDisplayEditorProps {
|
|
3
|
+
value: PropertyDisplayConfig;
|
|
4
|
+
onChange: (config: PropertyDisplayConfig) => void;
|
|
5
|
+
availableProperties?: AvailableProperty[];
|
|
6
|
+
}
|
|
7
|
+
export type PropertyEntry = {
|
|
8
|
+
key: string;
|
|
9
|
+
label: string;
|
|
10
|
+
visible: boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare function toEntries(config: PropertyDisplayConfig): PropertyEntry[];
|
|
13
|
+
export declare function fromEntries(entries: PropertyEntry[]): PropertyDisplayConfig;
|
|
14
|
+
export declare function PropertyDisplayEditor({ value, onChange, availableProperties }: PropertyDisplayEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
//# sourceMappingURL=PropertyDisplayEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PropertyDisplayEditor.d.ts","sourceRoot":"","sources":["../../../src/components/PropertyDisplayEditor/PropertyDisplayEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAG5E,MAAM,WAAW,0BAA0B;IACzC,KAAK,EAAE,qBAAqB,CAAC;IAC7B,QAAQ,EAAE,CAAC,MAAM,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAClD,mBAAmB,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAC3C;AAED,MAAM,MAAM,aAAa,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC;AAE7E,wBAAgB,SAAS,CAAC,MAAM,EAAE,qBAAqB,GAAG,aAAa,EAAE,CAMxE;AAED,wBAAgB,WAAW,CAAC,OAAO,EAAE,aAAa,EAAE,GAAG,qBAAqB,CAS3E;AAKD,wBAAgB,qBAAqB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,EAAE,0BAA0B,2CAkKzG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PropertyDisplayEditor.test.d.ts","sourceRoot":"","sources":["../../../../src/components/PropertyDisplayEditor/__tests__/PropertyDisplayEditor.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PropertyDisplayEditor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,YAAY,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SearchField, AvailableProperty } from '../../types';
|
|
2
|
+
export interface SearchFieldEditorProps {
|
|
3
|
+
value: SearchField;
|
|
4
|
+
onChange: (field: SearchField) => void;
|
|
5
|
+
availableProperties?: AvailableProperty[];
|
|
6
|
+
}
|
|
7
|
+
export declare function SearchFieldEditor({ value, onChange, availableProperties }: SearchFieldEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=SearchFieldEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchFieldEditor.d.ts","sourceRoot":"","sources":["../../../src/components/SearchFieldEditor/SearchFieldEditor.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,WAAW,EAKX,iBAAiB,EAClB,MAAM,aAAa,CAAC;AAyCrB,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IACvC,mBAAmB,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAC3C;AAYD,wBAAgB,iBAAiB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,mBAAmB,EAAE,EAAE,sBAAsB,2CA4OjG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SearchField, AvailableProperty } from '../../types';
|
|
2
|
+
export interface SearchFieldListProps {
|
|
3
|
+
fields: SearchField[];
|
|
4
|
+
onChange: (fields: SearchField[]) => void;
|
|
5
|
+
availableProperties?: AvailableProperty[];
|
|
6
|
+
}
|
|
7
|
+
export declare function SearchFieldList({ fields, onChange, availableProperties }: SearchFieldListProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=SearchFieldList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchFieldList.d.ts","sourceRoot":"","sources":["../../../src/components/SearchFieldEditor/SearchFieldList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAGlE,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,QAAQ,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,KAAK,IAAI,CAAC;IAC1C,mBAAmB,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAC3C;AASD,wBAAgB,eAAe,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,mBAAmB,EAAE,EAAE,oBAAoB,2CA0G9F"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { SearchFieldEditor } from './SearchFieldEditor';
|
|
2
|
+
export type { SearchFieldEditorProps } from './SearchFieldEditor';
|
|
3
|
+
export { SearchFieldList } from './SearchFieldList';
|
|
4
|
+
export type { SearchFieldListProps } from './SearchFieldList';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SearchFieldEditor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OgcApiSource } from '../../types';
|
|
2
|
+
export interface SourceEditorProps {
|
|
3
|
+
value: OgcApiSource;
|
|
4
|
+
onChange: (source: OgcApiSource) => void;
|
|
5
|
+
onTestConnection?: (url: string) => void;
|
|
6
|
+
testStatus?: 'idle' | 'loading' | 'success' | 'error';
|
|
7
|
+
testError?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function SourceEditor({ value, onChange, onTestConnection, testStatus, testError, }: SourceEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=SourceEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SourceEditor.d.ts","sourceRoot":"","sources":["../../../src/components/SourceEditor/SourceEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGhD,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,YAAY,CAAC;IACpB,QAAQ,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IACzC,gBAAgB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAKD,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,QAAQ,EACR,gBAAgB,EAChB,UAAmB,EACnB,SAAS,GACV,EAAE,iBAAiB,2CAkEnB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { OgcApiSource } from '../../types';
|
|
2
|
+
export interface SourceListProps {
|
|
3
|
+
sources: OgcApiSource[];
|
|
4
|
+
onChange: (sources: OgcApiSource[]) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare function SourceList({ sources, onChange }: SourceListProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=SourceList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SourceList.d.ts","sourceRoot":"","sources":["../../../src/components/SourceEditor/SourceList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAIhD,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,QAAQ,EAAE,CAAC,OAAO,EAAE,YAAY,EAAE,KAAK,IAAI,CAAC;CAC7C;AASD,wBAAgB,UAAU,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,eAAe,2CA6KhE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SourceEditor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}
|