@hybridcore/ui 1.3.6 → 1.4.0
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/AccordionDetails-CGs6GZQK.js +454 -0
- package/dist/Add-eepk2WTM.js +379 -0
- package/dist/Box-BPyg-Ybm.js +70 -0
- package/dist/Button-DLwB_sKd.js +354 -0
- package/dist/{ButtonBase-D6qhsxB0.js → ButtonBase-D0qccOVb.js} +6 -5
- package/dist/{CardContent-B8hqgH-I.js → CardContent-DFsCCOWk.js} +4 -4
- package/dist/{Checkbox-BFWhj3s-.js → Checkbox-qy3cjvnb.js} +134 -195
- package/dist/{Collapse-D_TjnyE5.js → Collapse-CL6LGGZw.js} +68 -75
- package/dist/Delete-OHEw9lDi.js +22 -0
- package/dist/DialogContent-CxOSq6h9.js +519 -0
- package/dist/FormControlLabel-D9KFjcIx.js +193 -0
- package/dist/{IconButton-D8bwME9t.js → IconButton-BaiyAtmS.js} +5 -5
- package/dist/{Input-Dxzguyp5.js → Input-CmCkXczh.js} +6 -6
- package/dist/{InputAdornment-B8ERE7Zv.js → InputAdornment-CZUPEeia.js} +5 -5
- package/dist/{FormControl-BMRUQKHh.js → InputLabel-CWkW8NtU.js} +316 -316
- package/dist/{List-DEWyK9IO.js → List-PpNAWJ_I.js} +4 -4
- package/dist/ListItem-CZbZ91vp.js +428 -0
- package/dist/{MenuItem-DstAFfik.js → MenuItem-D-INSvZa.js} +7 -7
- package/dist/{Modal-DNGEQJ1M.js → Modal-KrI5qFIq.js} +61 -57
- package/dist/{OutlinedInput-w2Cj9STF.js → OutlinedInput-DkIUD30e.js} +6 -6
- package/dist/{Paper-BseeergJ.js → Paper-btu3j72o.js} +5 -5
- package/dist/{Select-NDq3WyLt.js → Select-ClaBvSqf.js} +20 -18
- package/dist/Tabs-BzelDJKy.js +787 -0
- package/dist/TextField-D87qTh1k.js +457 -0
- package/dist/Typography-Bm7PFqUT.js +176 -0
- package/dist/assets/index.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/components/card/index.js +6 -6
- package/dist/components/card/styled.js +1 -1
- package/dist/components/collapsible-card/style.js +20 -466
- package/dist/components/confirm/dialog.js +8 -149
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/container/index.js +7 -7
- package/dist/components/context-menu/index.js +191 -604
- package/dist/components/data-security-selectors/dissemination-list/index.js +12 -6
- package/dist/components/data-security-selectors/security-level/index.js +46 -45
- package/dist/components/date-time-picker/index.js +85 -64
- package/dist/components/geometry-picker/coordinate/index.js +1 -1
- package/dist/components/geometry-picker/edit/index.js +16 -16
- package/dist/components/geometry-picker/geometry/index.js +35 -35
- package/dist/components/geometry-picker/index.js +60 -56
- package/dist/components/geometry-picker/kml/index.js +14 -14
- package/dist/components/geometry-picker/map/index.js +1 -1
- package/dist/components/geometry-picker/map/logic.js +38 -37
- package/dist/components/geometry-picker/parser/coordinate-input/logic.js +63 -59
- package/dist/components/geometry-picker/parser/logic.js +33 -32
- package/dist/components/geometry-picker/styled.js +22 -14
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/icon-button/styled.js +0 -2
- package/dist/components/{data-management/instance-form → instance-form}/components/composite-list/index.js +2 -2
- package/dist/components/{data-management/instance-form → instance-form}/components/composite-list/styled.js +15 -6
- package/dist/components/instance-form/components/variable/index.js +19 -0
- package/dist/components/instance-form/components/variables/index.js +40 -0
- package/dist/components/{data-management/instance-form → instance-form}/index.js +174 -155
- package/dist/components/instance-hierarchy-table/index.js +58 -0
- package/dist/components/instance-hierarchy-table/styled.js +29 -0
- package/dist/components/instance-table/index.js +125 -0
- package/dist/components/instance-table/styled.js +13 -0
- package/dist/components/map/helpers/ol.js +1 -1
- package/dist/components/map/index.js +1 -1
- package/dist/components/map/logic.js +1 -1
- package/dist/components/map/styled.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/property-mapping/index.js +558 -0
- package/dist/components/range-selector/components/composite-list-range/index.js +81 -0
- package/dist/components/range-selector/components/date-range/index.js +9 -0
- package/dist/components/range-selector/components/geometry-range/index.js +26 -0
- package/dist/components/range-selector/components/number-range/index.js +86 -0
- package/dist/components/range-selector/components/string-range/index.js +31 -0
- package/dist/components/range-selector/index.js +59 -0
- package/dist/components/search-input/index.js +4 -4
- package/dist/components/tabs/appleTabs.style.js +55 -0
- package/dist/components/tabs/index.js +93 -0
- package/dist/components/tabs/tab-panel.js +18 -0
- package/dist/components/template-form/components/catalogue-instance-selector/index.js +158 -0
- package/dist/components/template-form/components/property-list/index.js +72 -0
- package/dist/components/template-form/components/property-list/property-list-columns.js +125 -0
- package/dist/components/template-form/components/property-list/property-list-form.js +16 -0
- package/dist/components/template-form/components/property-list/property-list-logic.js +66 -0
- package/dist/components/template-form/components/property-list/types.js +8 -0
- package/dist/components/template-form/components/recognition-property-list/index.js +69 -0
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +50 -0
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +174 -0
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-logic.js +64 -0
- package/dist/components/template-form/components/recognition-property-list/types.js +8 -0
- package/dist/components/template-form/components/select-icon/index.js +186 -0
- package/dist/components/template-form/components/select-icon/styled.js +76 -0
- package/dist/components/template-form/index.js +338 -0
- package/dist/components/template-property-filters/property.js +48 -46
- package/dist/components/tree-select/index.js +51 -49
- package/dist/components/tree-select/styled.js +2 -2
- package/dist/components/treeview-filter/index.js +8 -8
- package/dist/components/treeview-filter/item/index.js +1 -1
- package/dist/components/treeview-filter/item-label/index.js +18 -17
- package/dist/constants/index.js +41 -0
- package/dist/{createStyled-B96gjom1.js → createStyled-BzvgQjjR.js} +487 -464
- package/dist/createSvgIcon-Cfm1LkEe.js +73 -0
- package/dist/{createSvgIcon-BNrb7rDY.js → createSvgIcon-DEXLbMwp.js} +62 -90
- package/dist/dialog-v5-nL5yy.js +153 -0
- package/dist/{exactProp-CI_rjX83.js → exactProp-DkmnwNVS.js} +3 -3
- package/dist/extendSxProp-qqdkfHzS.js +30 -0
- package/dist/{index-CSfSVkKj.js → index-B0JPwFI9.js} +6 -5
- package/dist/index-C1fczHEW.js +11042 -0
- package/dist/index-DPf5olog.js +288 -0
- package/dist/{index-JrtqxUdI.js → index-DlnzUkwe.js} +1 -1
- package/dist/{listItemTextClasses-CFiI_U7B.js → listItemTextClasses-DsHGzpPM.js} +2 -2
- package/dist/main.d.ts +569 -81
- package/dist/main.js +157 -157
- package/dist/{ol-BUKJ1urU.js → ol-CHaVTXvL.js} +24 -24
- package/dist/property-list-form-BfP9gzSo.js +391 -0
- package/dist/requirePropFactory-BjhhI-AW.js +18 -0
- package/dist/{styled-cPJbqF0E.js → styled-LNCprp4n.js} +24 -22
- package/dist/unsupportedProp-BuVD30Gh.js +9 -0
- package/dist/useControlled-BYdyS7Pn.js +31 -0
- package/dist/{useTheme-C-T6Qisa.js → useTheme-DBiahn6p.js} +2 -2
- package/dist/{useThemeProps-DeftUmqJ.js → useThemeProps-uYx_RkOH.js} +16 -14
- package/dist/utils/ontology.js +52 -30
- package/dist/{utils-CCkxV0lZ.js → utils-DNe_YYjm.js} +16 -16
- package/package.json +2 -1
- package/dist/DialogContent-BCYm_d1s.js +0 -864
- package/dist/FormControlLabel-DENNVXWL.js +0 -639
- package/dist/Typography-Dg-ROiTA.js +0 -201
- package/dist/components/data-management/instance-form/components/variable/index.js +0 -17
- package/dist/components/data-management/instance-form/components/variables/index.js +0 -39
- package/dist/createSvgIcon-B2WT0K4k.js +0 -87
- package/dist/index-B3Oj04nl.js +0 -287
- package/dist/components/{data-management/instance-form → instance-form}/components/policy-list/index.js +0 -0
- package/dist/{extends-Cyw62AD_.js → objectWithoutPropertiesLoose-BK36oJDi.js} +9 -9
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
import { jsxs as C, Fragment as P, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import T from "lodash";
|
|
3
|
+
import F from "dayjs";
|
|
4
|
+
import { Typography as B, Chip as j, Dialog as N, DialogTitle as S, DialogContent as W, DialogActions as Y, Button as w, InputAdornment as v, Tooltip as O } from "@mui/material";
|
|
5
|
+
import { Container as _, Values as y, MiniButton as E } from "./components/instance-form/components/composite-list/styled.js";
|
|
6
|
+
import { Add as G, LockOutlined as H } from "@mui/icons-material";
|
|
7
|
+
import R from "./hooks/useToggle.js";
|
|
8
|
+
import { GeometryPicker as $ } from "./components/geometry-picker/index.js";
|
|
9
|
+
import { PhoneInput as q } from "./components/phone-input/index.js";
|
|
10
|
+
import { DateTimePicker as J } from "./components/date-time-picker/index.js";
|
|
11
|
+
import { T as D } from "./TextField-D87qTh1k.js";
|
|
12
|
+
import { B as b } from "./Box-BPyg-Ybm.js";
|
|
13
|
+
import { F as K } from "./FormControlLabel-D9KFjcIx.js";
|
|
14
|
+
import { C as Q } from "./Checkbox-qy3cjvnb.js";
|
|
15
|
+
import { F as U, I as X } from "./InputLabel-CWkW8NtU.js";
|
|
16
|
+
import { S as Z } from "./Select-ClaBvSqf.js";
|
|
17
|
+
import { M } from "./MenuItem-D-INSvZa.js";
|
|
18
|
+
import { useState as z } from "react";
|
|
19
|
+
function ee({
|
|
20
|
+
property: m,
|
|
21
|
+
mapboxAccessToken: e,
|
|
22
|
+
value: l,
|
|
23
|
+
variant: c = "outlined",
|
|
24
|
+
size: i = "medium",
|
|
25
|
+
onChange: a
|
|
26
|
+
}) {
|
|
27
|
+
var x;
|
|
28
|
+
const s = R(!1), [d, g] = z(), V = (u) => {
|
|
29
|
+
g(T.get(u, m.propertyId));
|
|
30
|
+
}, p = () => {
|
|
31
|
+
a([...l || [], d]), g(""), s.action.close();
|
|
32
|
+
}, k = (u) => () => {
|
|
33
|
+
if (l) {
|
|
34
|
+
const r = [...l];
|
|
35
|
+
r.splice(u, 1), a(r);
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
return /* @__PURE__ */ C(P, { children: [
|
|
39
|
+
/* @__PURE__ */ C(_, { variant: c, children: [
|
|
40
|
+
/* @__PURE__ */ n(B, { children: m.name }),
|
|
41
|
+
/* @__PURE__ */ n(y, { children: T.isArray(l) && l.map((u, r) => {
|
|
42
|
+
var h, t;
|
|
43
|
+
return /* @__PURE__ */ n(
|
|
44
|
+
j,
|
|
45
|
+
{
|
|
46
|
+
label: ((t = (h = m.dataTypeInfo) == null ? void 0 : h.innerType) == null ? void 0 : t.type) === "date" ? F(u).format("DD/MM/YYYY HH:mm:ss") : u,
|
|
47
|
+
size: i,
|
|
48
|
+
onDelete: k(r)
|
|
49
|
+
},
|
|
50
|
+
r
|
|
51
|
+
);
|
|
52
|
+
}) }),
|
|
53
|
+
/* @__PURE__ */ n(
|
|
54
|
+
E,
|
|
55
|
+
{
|
|
56
|
+
startIcon: /* @__PURE__ */ n(G, {}),
|
|
57
|
+
variant: "text",
|
|
58
|
+
onClick: s.action.open,
|
|
59
|
+
children: "Add"
|
|
60
|
+
}
|
|
61
|
+
)
|
|
62
|
+
] }),
|
|
63
|
+
/* @__PURE__ */ C(
|
|
64
|
+
N,
|
|
65
|
+
{
|
|
66
|
+
open: s.state.isOpen,
|
|
67
|
+
onClose: s.action.close,
|
|
68
|
+
maxWidth: "sm",
|
|
69
|
+
fullWidth: !0,
|
|
70
|
+
children: [
|
|
71
|
+
/* @__PURE__ */ n(S, { children: "Add List Value" }),
|
|
72
|
+
/* @__PURE__ */ n(W, { children: (x = m.dataTypeInfo) != null && x.innerType ? /* @__PURE__ */ n(
|
|
73
|
+
ne,
|
|
74
|
+
{
|
|
75
|
+
mapboxAccessToken: e,
|
|
76
|
+
property: {
|
|
77
|
+
...m,
|
|
78
|
+
name: "Value",
|
|
79
|
+
type: m.dataTypeInfo.innerType.type
|
|
80
|
+
},
|
|
81
|
+
value: d,
|
|
82
|
+
onChange: V
|
|
83
|
+
}
|
|
84
|
+
) : null }),
|
|
85
|
+
/* @__PURE__ */ C(Y, { children: [
|
|
86
|
+
/* @__PURE__ */ n(
|
|
87
|
+
w,
|
|
88
|
+
{
|
|
89
|
+
variant: "contained",
|
|
90
|
+
color: "inherit",
|
|
91
|
+
onClick: s.action.close,
|
|
92
|
+
children: "Cancel"
|
|
93
|
+
}
|
|
94
|
+
),
|
|
95
|
+
/* @__PURE__ */ n(w, { variant: "contained", color: "primary", onClick: p, children: "Ok" })
|
|
96
|
+
] })
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
)
|
|
100
|
+
] });
|
|
101
|
+
}
|
|
102
|
+
function ne({
|
|
103
|
+
mapboxAccessToken: m,
|
|
104
|
+
property: e,
|
|
105
|
+
value: l,
|
|
106
|
+
variant: c = "standard",
|
|
107
|
+
size: i = "medium",
|
|
108
|
+
disableMargin: a = !1,
|
|
109
|
+
defaultExtent: s,
|
|
110
|
+
// keyAuth,
|
|
111
|
+
onChange: d
|
|
112
|
+
}) {
|
|
113
|
+
var h;
|
|
114
|
+
const g = (t) => {
|
|
115
|
+
const f = t.target.value.split(",").map((A) => A.trimStart());
|
|
116
|
+
d({
|
|
117
|
+
[e.propertyId]: f
|
|
118
|
+
});
|
|
119
|
+
}, V = (t) => {
|
|
120
|
+
const { name: o, type: f, checked: A, value: L } = t.target;
|
|
121
|
+
let I = L;
|
|
122
|
+
e.type === "double" && (I = I.replace(",", "."), I = I.replace(/[^\d.-]+/g, "")), d({
|
|
123
|
+
[o]: f === "checkbox" ? A : I
|
|
124
|
+
});
|
|
125
|
+
}, p = (t) => {
|
|
126
|
+
d({
|
|
127
|
+
[e.propertyId]: t
|
|
128
|
+
});
|
|
129
|
+
}, k = (t) => {
|
|
130
|
+
d({
|
|
131
|
+
[e.propertyId]: t.target.value
|
|
132
|
+
});
|
|
133
|
+
}, x = (t) => (o) => {
|
|
134
|
+
d({
|
|
135
|
+
[t]: o
|
|
136
|
+
});
|
|
137
|
+
}, u = (t) => (o) => {
|
|
138
|
+
d({
|
|
139
|
+
[t]: o
|
|
140
|
+
});
|
|
141
|
+
}, r = (t) => (o) => {
|
|
142
|
+
d({
|
|
143
|
+
[t]: o
|
|
144
|
+
});
|
|
145
|
+
};
|
|
146
|
+
if ([
|
|
147
|
+
"string",
|
|
148
|
+
"integer",
|
|
149
|
+
"double",
|
|
150
|
+
"text",
|
|
151
|
+
"long",
|
|
152
|
+
"byte",
|
|
153
|
+
"bank-account"
|
|
154
|
+
].includes(e.type))
|
|
155
|
+
return /* @__PURE__ */ n(
|
|
156
|
+
D,
|
|
157
|
+
{
|
|
158
|
+
label: e.name,
|
|
159
|
+
name: e.propertyId,
|
|
160
|
+
value: l ?? e.defaultValue ?? "",
|
|
161
|
+
defaultValue: l,
|
|
162
|
+
onChange: V,
|
|
163
|
+
variant: c,
|
|
164
|
+
type: "text",
|
|
165
|
+
multiline: e.type === "text",
|
|
166
|
+
disabled: !e.editable,
|
|
167
|
+
fullWidth: !0,
|
|
168
|
+
sx: { mb: a ? 0 : 2 },
|
|
169
|
+
InputProps: {
|
|
170
|
+
size: i,
|
|
171
|
+
...e.privacyPreservationMethod === "ENCRYPTION" ? {
|
|
172
|
+
endAdornment: /* @__PURE__ */ n(v, { position: "end", children: /* @__PURE__ */ n(O, { title: "Encrypted Field", children: /* @__PURE__ */ n(H, {}) }) })
|
|
173
|
+
} : {}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
);
|
|
177
|
+
if (e.type === "date") {
|
|
178
|
+
const t = l !== void 0 ? F(l).format() : l;
|
|
179
|
+
return /* @__PURE__ */ n(b, { mb: a ? 0 : 2, children: /* @__PURE__ */ n(
|
|
180
|
+
J,
|
|
181
|
+
{
|
|
182
|
+
label: e.name,
|
|
183
|
+
value: t,
|
|
184
|
+
variant: c,
|
|
185
|
+
size: i,
|
|
186
|
+
name: e.propertyId,
|
|
187
|
+
onChange: p
|
|
188
|
+
}
|
|
189
|
+
) });
|
|
190
|
+
}
|
|
191
|
+
if (e.type === "list") {
|
|
192
|
+
let t = "";
|
|
193
|
+
return e.defaultValue && (t = T.isArray(e.defaultValue) ? l.join(", ") : e.defaultValue), l && (t = T.isArray(l) ? l.join(",") : l), /* @__PURE__ */ n(
|
|
194
|
+
D,
|
|
195
|
+
{
|
|
196
|
+
label: e.name,
|
|
197
|
+
name: e.propertyId,
|
|
198
|
+
value: t,
|
|
199
|
+
onChange: g,
|
|
200
|
+
variant: c,
|
|
201
|
+
disabled: !e.editable,
|
|
202
|
+
fullWidth: !0,
|
|
203
|
+
helperText: i === "small" ? null : "Add list values with the comma (,) separated string",
|
|
204
|
+
sx: { mb: a ? 0 : 2 },
|
|
205
|
+
InputProps: {
|
|
206
|
+
size: i,
|
|
207
|
+
placeholder: i === "small" ? "Add list values with the comma (,) separated string" : ""
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
);
|
|
211
|
+
}
|
|
212
|
+
if (e.type === "boolean")
|
|
213
|
+
return /* @__PURE__ */ n(b, { mb: a ? 0 : 2, children: /* @__PURE__ */ n(
|
|
214
|
+
K,
|
|
215
|
+
{
|
|
216
|
+
control: /* @__PURE__ */ n(
|
|
217
|
+
Q,
|
|
218
|
+
{
|
|
219
|
+
name: e.propertyId,
|
|
220
|
+
checked: !!l,
|
|
221
|
+
onChange: V,
|
|
222
|
+
size: i
|
|
223
|
+
}
|
|
224
|
+
),
|
|
225
|
+
label: e.name
|
|
226
|
+
}
|
|
227
|
+
) });
|
|
228
|
+
if (e.type === "enum") {
|
|
229
|
+
let t = [];
|
|
230
|
+
return (h = e.dataTypeInfo) != null && h.enumValues && (t = e.dataTypeInfo.enumValues), /* @__PURE__ */ C(
|
|
231
|
+
U,
|
|
232
|
+
{
|
|
233
|
+
fullWidth: !0,
|
|
234
|
+
variant: c,
|
|
235
|
+
sx: { mb: a ? 0 : 2 },
|
|
236
|
+
size: i,
|
|
237
|
+
children: [
|
|
238
|
+
/* @__PURE__ */ n(X, { id: `${e.propertyId}-label`, children: e.name }),
|
|
239
|
+
/* @__PURE__ */ n(
|
|
240
|
+
Z,
|
|
241
|
+
{
|
|
242
|
+
label: e.name,
|
|
243
|
+
name: e.name,
|
|
244
|
+
labelId: `${e.propertyId}-label`,
|
|
245
|
+
id: e.propertyId,
|
|
246
|
+
value: l ?? "",
|
|
247
|
+
onChange: k,
|
|
248
|
+
children: t.map((o, f) => /* @__PURE__ */ n(M, { value: o, children: o }, f))
|
|
249
|
+
}
|
|
250
|
+
)
|
|
251
|
+
]
|
|
252
|
+
}
|
|
253
|
+
);
|
|
254
|
+
}
|
|
255
|
+
return e.type === "geometry" ? /* @__PURE__ */ n(b, { sx: { mb: a ? 0 : 2, width: "100%" }, children: /* @__PURE__ */ n(
|
|
256
|
+
$,
|
|
257
|
+
{
|
|
258
|
+
mapboxAccessToken: m,
|
|
259
|
+
label: e.name,
|
|
260
|
+
value: l ?? e.defaultValue ?? "",
|
|
261
|
+
defaultExtent: s,
|
|
262
|
+
variant: c,
|
|
263
|
+
onChange: x(e.propertyId)
|
|
264
|
+
}
|
|
265
|
+
) }) : e.type === "phone-number" ? /* @__PURE__ */ n(b, { sx: { mb: a ? 0 : 2, width: "100%" }, children: /* @__PURE__ */ n(
|
|
266
|
+
q,
|
|
267
|
+
{
|
|
268
|
+
label: e.name,
|
|
269
|
+
placeholder: "Enter phone number",
|
|
270
|
+
value: l ?? e.defaultValue ?? "",
|
|
271
|
+
onChange: u(e.propertyId)
|
|
272
|
+
}
|
|
273
|
+
) }) : e.type === "composite-list" ? /* @__PURE__ */ n(b, { sx: { mb: a ? 0 : 2, width: "100%" }, children: /* @__PURE__ */ n(
|
|
274
|
+
ee,
|
|
275
|
+
{
|
|
276
|
+
property: e,
|
|
277
|
+
value: l ?? e.defaultValue ?? "",
|
|
278
|
+
variant: c,
|
|
279
|
+
size: i,
|
|
280
|
+
mapboxAccessToken: m,
|
|
281
|
+
onChange: r(e.propertyId)
|
|
282
|
+
}
|
|
283
|
+
) }) : /* @__PURE__ */ n(P, {});
|
|
284
|
+
}
|
|
285
|
+
export {
|
|
286
|
+
ee as C,
|
|
287
|
+
ne as V
|
|
288
|
+
};
|
|
@@ -2,7 +2,7 @@ import { jsx as n } from "react/jsx-runtime";
|
|
|
2
2
|
import o from "react";
|
|
3
3
|
import f from "./components/map/logic.js";
|
|
4
4
|
import a from "./components/map/styled.js";
|
|
5
|
-
import './assets/
|
|
5
|
+
import './assets/index2.css';const l = (e, i) => {
|
|
6
6
|
var t, r;
|
|
7
7
|
const { refs: s, action: m } = f(e);
|
|
8
8
|
return o.useImperativeHandle(i, () => m), /* @__PURE__ */ n(
|