@hybridcore/ui 1.5.31 → 1.5.33
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/dist/components/geometry-picker/index.js +12 -12
- package/dist/components/tabs/index.js +430 -429
- package/dist/main.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as o, jsxs as i, Fragment as s } from "react/jsx-runtime";
|
|
2
2
|
import { EditOutlined as f, DeleteOutline as D, AddLocationOutlined as I, DrawOutlined as A, LayersOutlined as p } from "@mui/icons-material";
|
|
3
|
-
import { Container as O, Actions as
|
|
4
|
-
import
|
|
3
|
+
import { Container as O, Actions as k, Button as l } from "./styled.js";
|
|
4
|
+
import S from "./logic.js";
|
|
5
5
|
import y from "./coordinate/index.js";
|
|
6
6
|
import b from "./edit/index.js";
|
|
7
7
|
import E from "./geometry/index.js";
|
|
8
8
|
import g from "./kml/index.js";
|
|
9
9
|
import W from "./wkt/index.js";
|
|
10
|
-
import { IconButton as u, OutlinedInput as K, FilledInput as L, Dialog as z, DialogTitle as
|
|
11
|
-
import { I as
|
|
12
|
-
import { F as
|
|
10
|
+
import { IconButton as u, OutlinedInput as K, FilledInput as L, Dialog as z, DialogTitle as B, DialogContent as F } from "@mui/material";
|
|
11
|
+
import { I as G } from "../../InputAdornment-BAVRrRts.js";
|
|
12
|
+
import { F as T, I as w } from "../../InputLabel-ClDXuWBr.js";
|
|
13
13
|
import { I as M } from "../../Input-BAbDr3Tk.js";
|
|
14
14
|
const Z = ({
|
|
15
15
|
label: d,
|
|
@@ -20,17 +20,17 @@ const Z = ({
|
|
|
20
20
|
variant: r = "outlined",
|
|
21
21
|
onChange: C
|
|
22
22
|
}) => {
|
|
23
|
-
const { state: t, action: n } =
|
|
23
|
+
const { state: t, action: n } = S({
|
|
24
24
|
label: d,
|
|
25
25
|
value: e,
|
|
26
26
|
onChange: C
|
|
27
|
-
}), m = /* @__PURE__ */ o(
|
|
27
|
+
}), m = /* @__PURE__ */ o(G, { position: "end", children: e !== "" && /* @__PURE__ */ i(s, { children: [
|
|
28
28
|
/* @__PURE__ */ o(u, { size: "small", onClick: n.onEdit, children: /* @__PURE__ */ o(f, { fontSize: "small" }) }),
|
|
29
29
|
/* @__PURE__ */ o(u, { size: "small", onClick: n.onDelete, children: /* @__PURE__ */ o(D, { fontSize: "small" }) })
|
|
30
30
|
] }) });
|
|
31
31
|
return /* @__PURE__ */ i(s, { children: [
|
|
32
32
|
/* @__PURE__ */ i(O, { children: [
|
|
33
|
-
/* @__PURE__ */ i(
|
|
33
|
+
/* @__PURE__ */ i(k, { variant: r, children: [
|
|
34
34
|
h === !1 && /* @__PURE__ */ o(
|
|
35
35
|
l,
|
|
36
36
|
{
|
|
@@ -69,14 +69,14 @@ const Z = ({
|
|
|
69
69
|
)
|
|
70
70
|
] }),
|
|
71
71
|
/* @__PURE__ */ i(
|
|
72
|
-
|
|
72
|
+
T,
|
|
73
73
|
{
|
|
74
74
|
fullWidth: !0,
|
|
75
75
|
variant: r,
|
|
76
76
|
contentEditable: !1,
|
|
77
77
|
onClick: n.onClick,
|
|
78
78
|
children: [
|
|
79
|
-
/* @__PURE__ */ o(
|
|
79
|
+
/* @__PURE__ */ o(w, { shrink: !!e, children: d }),
|
|
80
80
|
r === "standard" && /* @__PURE__ */ o(M, { value: e, readOnly: !0, endAdornment: m }),
|
|
81
81
|
r === "outlined" && /* @__PURE__ */ o(
|
|
82
82
|
K,
|
|
@@ -100,8 +100,8 @@ const Z = ({
|
|
|
100
100
|
fullWidth: !0,
|
|
101
101
|
maxWidth: "md",
|
|
102
102
|
children: [
|
|
103
|
-
/* @__PURE__ */ o(
|
|
104
|
-
/* @__PURE__ */ i(
|
|
103
|
+
/* @__PURE__ */ o(B, { children: t.content.title }),
|
|
104
|
+
/* @__PURE__ */ i(F, { children: [
|
|
105
105
|
t.content.action === "ADD" && t.content.type === "COORDINATE" && /* @__PURE__ */ o(
|
|
106
106
|
y,
|
|
107
107
|
{
|