@hybridcore/ui 1.6.19 → 1.6.20
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.
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { styled as o, Box as n, FormLabel as
|
|
2
|
-
const
|
|
1
|
+
import { styled as o, Box as n, FormLabel as a, Button as r, FormControl as c, InputLabel as m, Input as l, OutlinedInput as s, FilledInput as d, InputAdornment as p, IconButton as y, Dialog as k, DialogTitle as g, DialogContent as u } from "@mui/material";
|
|
2
|
+
const i = (e) => e !== "ownerState", G = o(n, {
|
|
3
3
|
name: "HCGeometryPicker",
|
|
4
4
|
slot: "root"
|
|
5
|
-
})({}), C = o(
|
|
5
|
+
})({}), C = o(a, {
|
|
6
6
|
name: "HCGeometryPicker",
|
|
7
7
|
slot: "topLabel"
|
|
8
8
|
})(({ theme: e }) => ({
|
|
@@ -10,25 +10,46 @@ const G = (e) => e !== "ownerState", g = o(n, {
|
|
|
10
10
|
marginBottom: e.spacing(0.5)
|
|
11
11
|
})), b = o(n, {
|
|
12
12
|
name: "HCGeometryPicker",
|
|
13
|
-
slot: "
|
|
13
|
+
slot: "header"
|
|
14
14
|
})(({ theme: e }) => ({
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
display: "flex",
|
|
16
|
+
alignItems: "center",
|
|
17
|
+
justifyContent: "space-between",
|
|
18
|
+
gap: e.spacing(1),
|
|
19
|
+
marginBottom: e.spacing(0.5),
|
|
20
|
+
minHeight: 28,
|
|
21
|
+
"& > .MuiFormLabel-root": {
|
|
22
|
+
marginBottom: 0
|
|
23
|
+
}
|
|
18
24
|
})), H = o(n, {
|
|
25
|
+
name: "HCGeometryPicker",
|
|
26
|
+
slot: "container",
|
|
27
|
+
shouldForwardProp: i
|
|
28
|
+
})(({ ownerState: e, theme: t }) => ({
|
|
29
|
+
position: "relative",
|
|
30
|
+
width: "100%",
|
|
31
|
+
paddingTop: e.labelPosition === "top" ? 0 : t.spacing(1)
|
|
32
|
+
})), f = o(n, {
|
|
19
33
|
name: "HCGeometryPicker",
|
|
20
34
|
slot: "actions",
|
|
21
|
-
shouldForwardProp:
|
|
35
|
+
shouldForwardProp: i
|
|
22
36
|
})(({ ownerState: e, theme: t }) => ({
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
37
|
+
display: "flex",
|
|
38
|
+
alignItems: "center",
|
|
39
|
+
...e.labelPosition === "top" ? {
|
|
40
|
+
flexWrap: "wrap",
|
|
41
|
+
justifyContent: "flex-end"
|
|
42
|
+
} : {
|
|
43
|
+
position: "absolute",
|
|
44
|
+
top: 0,
|
|
45
|
+
right: 0,
|
|
46
|
+
zIndex: 9,
|
|
47
|
+
...e.variant === "outlined" && {
|
|
48
|
+
padding: t.spacing(0.25),
|
|
49
|
+
top: t.spacing(-0.75),
|
|
50
|
+
right: t.spacing(1),
|
|
51
|
+
background: t.palette.background.default
|
|
52
|
+
}
|
|
32
53
|
}
|
|
33
54
|
})), I = o(r, {
|
|
34
55
|
name: "HCGeometryPicker",
|
|
@@ -53,31 +74,31 @@ const G = (e) => e !== "ownerState", g = o(n, {
|
|
|
53
74
|
boxShadow: e.shadows[1]
|
|
54
75
|
}
|
|
55
76
|
}
|
|
56
|
-
})),
|
|
77
|
+
})), x = o(c, {
|
|
57
78
|
name: "HCGeometryPicker",
|
|
58
79
|
slot: "formControl"
|
|
59
|
-
})({}),
|
|
80
|
+
})({}), B = o(m, {
|
|
60
81
|
name: "HCGeometryPicker",
|
|
61
82
|
slot: "inputLabel"
|
|
62
|
-
})({}),
|
|
83
|
+
})({}), h = o(l, {
|
|
63
84
|
name: "HCGeometryPicker",
|
|
64
85
|
slot: "input"
|
|
65
|
-
})({}),
|
|
86
|
+
})({}), w = o(s, {
|
|
66
87
|
name: "HCGeometryPicker",
|
|
67
88
|
slot: "input"
|
|
68
|
-
})({}),
|
|
89
|
+
})({}), L = o(d, {
|
|
69
90
|
name: "HCGeometryPicker",
|
|
70
91
|
slot: "input"
|
|
71
|
-
})({}),
|
|
92
|
+
})({}), T = o(p, {
|
|
72
93
|
name: "HCGeometryPicker",
|
|
73
94
|
slot: "endAdornment"
|
|
74
|
-
})({}),
|
|
95
|
+
})({}), A = o(y, {
|
|
75
96
|
name: "HCGeometryPicker",
|
|
76
97
|
slot: "endAdornmentButton"
|
|
77
|
-
})({}),
|
|
98
|
+
})({}), F = o(k, {
|
|
78
99
|
name: "HCGeometryPicker",
|
|
79
100
|
slot: "dialog"
|
|
80
|
-
})({}),
|
|
101
|
+
})({}), S = o(g, {
|
|
81
102
|
name: "HCGeometryPicker",
|
|
82
103
|
slot: "dialogTitle"
|
|
83
104
|
})({}), v = o(u, {
|
|
@@ -89,7 +110,7 @@ const G = (e) => e !== "ownerState", g = o(n, {
|
|
|
89
110
|
})(({ theme: e }) => ({
|
|
90
111
|
textTransform: "none",
|
|
91
112
|
marginTop: e.spacing(1)
|
|
92
|
-
})),
|
|
113
|
+
})), M = o(n, {
|
|
93
114
|
name: "HCGeometryPicker",
|
|
94
115
|
slot: "geometryMapOverlay"
|
|
95
116
|
})(({ theme: e }) => ({
|
|
@@ -97,20 +118,21 @@ const G = (e) => e !== "ownerState", g = o(n, {
|
|
|
97
118
|
}));
|
|
98
119
|
export {
|
|
99
120
|
I as GeometryPickerActionButton,
|
|
100
|
-
|
|
101
|
-
|
|
121
|
+
f as GeometryPickerActions,
|
|
122
|
+
H as GeometryPickerContainer,
|
|
102
123
|
D as GeometryPickerCoordinateSubmit,
|
|
103
|
-
|
|
124
|
+
F as GeometryPickerDialog,
|
|
104
125
|
v as GeometryPickerDialogContent,
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
126
|
+
S as GeometryPickerDialogTitle,
|
|
127
|
+
T as GeometryPickerEndAdornment,
|
|
128
|
+
A as GeometryPickerEndAdornmentButton,
|
|
129
|
+
x as GeometryPickerFormControl,
|
|
130
|
+
M as GeometryPickerGeometryMapOverlay,
|
|
131
|
+
b as GeometryPickerHeader,
|
|
132
|
+
L as GeometryPickerInputFilled,
|
|
133
|
+
B as GeometryPickerInputLabel,
|
|
134
|
+
w as GeometryPickerInputOutlined,
|
|
135
|
+
h as GeometryPickerInputStandard,
|
|
136
|
+
G as GeometryPickerRoot,
|
|
115
137
|
C as GeometryPickerTopLabel
|
|
116
138
|
};
|
package/dist/main.d.ts
CHANGED