@hybridcore/ui 1.3.2 → 1.3.4
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/{ButtonBase-C875Ww3z.js → ButtonBase-DJz-TFGO.js} +200 -208
- package/dist/{CardContent-pWhEcyoR.js → CardContent-DZnCVGy9.js} +15 -15
- package/dist/{Checkbox-COCZU8Yl.js → Checkbox-DzmWBCrt.js} +154 -144
- package/dist/{Collapse-CZFw4GZs.js → Collapse-NqW0GIK_.js} +79 -77
- package/dist/DialogContent-D51w7KVX.js +2119 -0
- package/dist/FormControl-aXQs42m6.js +1363 -0
- package/dist/FormControlLabel-hDa-xf_q.js +639 -0
- package/dist/{IconButton-DM-0JFx9.js → IconButton-SnBOFQ43.js} +22 -22
- package/dist/{Input-DgIhcA8j.js → Input-CeVb6kjv.js} +34 -34
- package/dist/InputAdornment-fM3loNyx.js +155 -0
- package/dist/{List-Dz3Z1qJk.js → List-DLIiXc6r.js} +10 -10
- package/dist/{ListItem-DnyWDeDF.js → ListItem-BkxmqFI8.js} +23 -23
- package/dist/{MenuItem-BjC83iWq.js → MenuItem-BEW28T9O.js} +27 -27
- package/dist/{OutlinedInput-CS2BwiVg.js → OutlinedInput-DkzLHRTd.js} +75 -78
- package/dist/{Paper-seBMlMwu.js → Paper-Dp3qO0cK.js} +18 -18
- package/dist/Select-Cdmu0dQ4.js +2175 -0
- package/dist/Typography-CXe5ytr0.js +201 -0
- package/dist/components/card/index.js +17 -17
- package/dist/components/card/styled.js +1 -1
- package/dist/components/collapsible-card/style.js +222 -302
- package/dist/components/confirm/dialog.js +13 -13
- package/dist/components/container/index.js +19 -19
- package/dist/components/context-menu/index.js +32 -32
- package/dist/components/data-management/instance-form/components/composite-list/index.js +1 -1
- package/dist/components/data-management/instance-form/components/variable/index.js +6 -6
- package/dist/components/data-management/instance-form/components/variables/index.js +1 -1
- package/dist/components/date-time-picker/index.js +4 -4
- package/dist/components/geometry-picker/index.js +7 -6
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/map/styled.js +14 -14
- package/dist/components/search-input/index.js +10 -9
- package/dist/components/template-property-filters/index.js +1 -1
- package/dist/components/template-property-filters/property.js +4 -4
- package/dist/components/tree-select/index.js +4 -4
- package/dist/components/treeview-filter/index.js +29 -30
- package/dist/components/treeview-filter/item/index.js +1 -1
- package/dist/components/treeview-filter/item-label/index.js +2 -2
- package/dist/createStyled-liRRhQcN.js +1910 -0
- package/dist/createSvgIcon-B4TFefhd.js +73 -0
- package/dist/{createSvgIcon-pajAAvTK.js → createSvgIcon-Cl8kMTkx.js} +82 -85
- package/dist/{exactProp-D0xuoiRB.js → exactProp-CT2wqJXE.js} +2 -2
- package/dist/{index-tNZngrO0.js → index-D9TdkXAs.js} +10 -10
- package/dist/{index-DlFdC7eU.js → index-DRy8nExS.js} +205 -218
- package/dist/{listItemTextClasses-DRMkDW2V.js → listItemTextClasses-BrCbmCR1.js} +2 -2
- package/dist/main.js +248 -326
- package/dist/property-BsU8ijQF.js +6857 -0
- package/dist/requirePropFactory-BItwGLRQ.js +18 -0
- package/dist/styled-Dm8rXzIG.js +677 -0
- package/dist/useTheme-CTuK-wFF.js +10 -0
- package/dist/useThemeProps-BXn-nVhw.js +107 -0
- package/dist/{utils-Cbb4HUTT.js → utils-DY9Jk4Ah.js} +2 -2
- package/package.json +4 -4
- package/dist/DialogContent-DhcqAG-q.js +0 -1982
- package/dist/FormControl-BhwmBUAq.js +0 -1479
- package/dist/FormControlLabel-BL6c4YAN.js +0 -827
- package/dist/Select-C8Iimh3g.js +0 -2305
- package/dist/Typography-CqyjdT7p.js +0 -178
- package/dist/chainPropTypes-CwfDfLEA.js +0 -96
- package/dist/createSvgIcon-CTQMsmqJ.js +0 -77
- package/dist/createTheme-CCwx9ptk.js +0 -2395
- package/dist/property-CKak9_tn.js +0 -7020
- package/dist/resolveComponentProps-DVsx78bV.js +0 -54
- package/dist/styled-CPg13iuX.js +0 -142
- package/dist/styled-fcu13kUF.js +0 -1033
- package/dist/useTheme-BWgLzAUj.js +0 -18
- package/dist/useTheme-pp7LSyyX.js +0 -10
- package/dist/useThemeProps-CDWnyqCh.js +0 -62
- package/dist/useThemeProps-DOuXhu3E.js +0 -27
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as s, jsxs as d } from "react/jsx-runtime";
|
|
2
2
|
import { confirmable as x } from "react-confirm";
|
|
3
|
-
import { IconButton as
|
|
4
|
-
import { Close as
|
|
5
|
-
import { c as
|
|
3
|
+
import { IconButton as h } from "@mui/material";
|
|
4
|
+
import { Close as C } from "@mui/icons-material";
|
|
5
|
+
import { c as D, g as T, D as b, a as y, b as B, B as p } from "../../DialogContent-D51w7KVX.js";
|
|
6
6
|
import { a as j, _ as v } from "../../extends-Cyw62AD_.js";
|
|
7
7
|
import * as u from "react";
|
|
8
|
-
import { P as o } from "../../
|
|
9
|
-
import { u as M, c as N, a as O } from "../../
|
|
10
|
-
import { s as R } from "../../styled-
|
|
11
|
-
import { T as P } from "../../Typography-
|
|
8
|
+
import { P as o } from "../../createStyled-liRRhQcN.js";
|
|
9
|
+
import { u as M, c as N, a as O } from "../../useThemeProps-BXn-nVhw.js";
|
|
10
|
+
import { s as R } from "../../styled-Dm8rXzIG.js";
|
|
11
|
+
import { T as P } from "../../Typography-CXe5ytr0.js";
|
|
12
12
|
const _ = ["className", "id"], k = (a) => {
|
|
13
13
|
const {
|
|
14
14
|
classes: t
|
|
@@ -32,7 +32,7 @@ const _ = ["className", "id"], k = (a) => {
|
|
|
32
32
|
id: n
|
|
33
33
|
} = i, r = j(i, _), c = i, f = k(c), {
|
|
34
34
|
titleId: g = n
|
|
35
|
-
} = u.useContext(
|
|
35
|
+
} = u.useContext(D);
|
|
36
36
|
return /* @__PURE__ */ s(w, v({
|
|
37
37
|
component: "h2",
|
|
38
38
|
className: N(f.root, e),
|
|
@@ -43,10 +43,10 @@ const _ = ["className", "id"], k = (a) => {
|
|
|
43
43
|
}, r));
|
|
44
44
|
});
|
|
45
45
|
process.env.NODE_ENV !== "production" && (m.propTypes = {
|
|
46
|
-
//
|
|
47
|
-
//
|
|
48
|
-
//
|
|
49
|
-
//
|
|
46
|
+
// ----------------------------- Warning --------------------------------
|
|
47
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
48
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
49
|
+
// ----------------------------------------------------------------------
|
|
50
50
|
/**
|
|
51
51
|
* The content of the component.
|
|
52
52
|
*/
|
|
@@ -124,7 +124,7 @@ const A = {
|
|
|
124
124
|
},
|
|
125
125
|
children: [
|
|
126
126
|
l,
|
|
127
|
-
/* @__PURE__ */ s(
|
|
127
|
+
/* @__PURE__ */ s(h, { onClick: r, children: /* @__PURE__ */ s(C, {}) })
|
|
128
128
|
]
|
|
129
129
|
}
|
|
130
130
|
),
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { jsx as n, jsxs as C } from "react/jsx-runtime";
|
|
2
2
|
import { a as g, _ as i } from "../../extends-Cyw62AD_.js";
|
|
3
3
|
import * as T from "react";
|
|
4
|
-
import { P as e } from "../../
|
|
5
|
-
import { g as N, u as P, c as x,
|
|
6
|
-
import { g as R, s as h } from "../../styled-
|
|
7
|
-
import { P as E } from "../../Paper-
|
|
8
|
-
import { T as b } from "../../Typography-
|
|
9
|
-
import { C as $ } from "../../CardContent-
|
|
10
|
-
function
|
|
4
|
+
import { P as e } from "../../createStyled-liRRhQcN.js";
|
|
5
|
+
import { g as N, u as P, c as x, d as S, a as H } from "../../useThemeProps-BXn-nVhw.js";
|
|
6
|
+
import { g as R, s as h } from "../../styled-Dm8rXzIG.js";
|
|
7
|
+
import { P as E } from "../../Paper-Dp3qO0cK.js";
|
|
8
|
+
import { T as b } from "../../Typography-CXe5ytr0.js";
|
|
9
|
+
import { C as $ } from "../../CardContent-DZnCVGy9.js";
|
|
10
|
+
function k(r) {
|
|
11
11
|
return R("MuiCard", r);
|
|
12
12
|
}
|
|
13
13
|
N("MuiCard", ["root"]);
|
|
14
|
-
const
|
|
14
|
+
const z = ["className", "raised"], D = (r) => {
|
|
15
15
|
const {
|
|
16
16
|
classes: o
|
|
17
17
|
} = r;
|
|
18
18
|
return H({
|
|
19
19
|
root: ["root"]
|
|
20
|
-
},
|
|
20
|
+
}, k, o);
|
|
21
21
|
}, I = h(E, {
|
|
22
22
|
name: "MuiCard",
|
|
23
23
|
slot: "Root",
|
|
@@ -31,9 +31,9 @@ const k = ["className", "raised"], z = (r) => {
|
|
|
31
31
|
}), {
|
|
32
32
|
className: d,
|
|
33
33
|
raised: s = !1
|
|
34
|
-
} = a, c = g(a,
|
|
34
|
+
} = a, c = g(a, z), p = i({}, a, {
|
|
35
35
|
raised: s
|
|
36
|
-
}), u =
|
|
36
|
+
}), u = D(p);
|
|
37
37
|
return /* @__PURE__ */ n(I, i({
|
|
38
38
|
className: x(u.root, d),
|
|
39
39
|
elevation: s ? 8 : void 0,
|
|
@@ -42,10 +42,10 @@ const k = ["className", "raised"], z = (r) => {
|
|
|
42
42
|
}, c));
|
|
43
43
|
});
|
|
44
44
|
process.env.NODE_ENV !== "production" && (w.propTypes = {
|
|
45
|
-
//
|
|
46
|
-
//
|
|
47
|
-
//
|
|
48
|
-
//
|
|
45
|
+
// ----------------------------- Warning --------------------------------
|
|
46
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
47
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
48
|
+
// ----------------------------------------------------------------------
|
|
49
49
|
/**
|
|
50
50
|
* The content of the component.
|
|
51
51
|
*/
|
|
@@ -176,10 +176,10 @@ const v = N("MuiCardHeader", ["root", "avatar", "action", "content", "title", "s
|
|
|
176
176
|
}));
|
|
177
177
|
});
|
|
178
178
|
process.env.NODE_ENV !== "production" && (M.propTypes = {
|
|
179
|
-
//
|
|
180
|
-
//
|
|
181
|
-
//
|
|
182
|
-
//
|
|
179
|
+
// ----------------------------- Warning --------------------------------
|
|
180
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
181
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
182
|
+
// ----------------------------------------------------------------------
|
|
183
183
|
/**
|
|
184
184
|
* The action to display in the card header.
|
|
185
185
|
*/
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { jsx as y, jsxs as
|
|
1
|
+
import { jsx as y, jsxs as V, Fragment as G } from "react/jsx-runtime";
|
|
2
2
|
import * as d from "react";
|
|
3
|
-
import { P as t } from "../../
|
|
4
|
-
import { B as W,
|
|
3
|
+
import { P as t } from "../../createStyled-liRRhQcN.js";
|
|
4
|
+
import { B as W, b as z, u as D, a as H } from "../../ButtonBase-DJz-TFGO.js";
|
|
5
5
|
import { o as k } from "../../ownerDocument-CUrv0DIK.js";
|
|
6
|
-
import { e as q, a as X } from "../../exactProp-
|
|
7
|
-
import { a as L, L as Y } from "../../List-
|
|
8
|
-
import { l as T, g as J, L as K } from "../../ListItem-
|
|
6
|
+
import { e as q, a as X } from "../../exactProp-CT2wqJXE.js";
|
|
7
|
+
import { a as L, L as Y } from "../../List-DLIiXc6r.js";
|
|
8
|
+
import { l as T, g as J, L as K } from "../../ListItem-BkxmqFI8.js";
|
|
9
9
|
import { _ as b, a as P } from "../../extends-Cyw62AD_.js";
|
|
10
|
-
import { u as $, c as R, a as w } from "../../
|
|
11
|
-
import { s as B, r as Q, a as C } from "../../styled-
|
|
12
|
-
import { g as Z, l as S, a as ee } from "../../listItemTextClasses-
|
|
13
|
-
import { T as E } from "../../Typography-
|
|
10
|
+
import { u as $, c as R, a as w } from "../../useThemeProps-BXn-nVhw.js";
|
|
11
|
+
import { s as B, r as Q, a as C } from "../../styled-Dm8rXzIG.js";
|
|
12
|
+
import { g as Z, l as S, a as ee } from "../../listItemTextClasses-BrCbmCR1.js";
|
|
13
|
+
import { T as E } from "../../Typography-CXe5ytr0.js";
|
|
14
14
|
const te = ["alignItems", "autoFocus", "component", "children", "dense", "disableGutters", "divider", "focusVisibleClassName", "selected", "className"], oe = (e, o) => {
|
|
15
15
|
const {
|
|
16
16
|
ownerState: s
|
|
@@ -90,7 +90,7 @@ const te = ["alignItems", "autoFocus", "component", "children", "dense", "disabl
|
|
|
90
90
|
}, o.dense && {
|
|
91
91
|
paddingTop: 4,
|
|
92
92
|
paddingBottom: 4
|
|
93
|
-
})),
|
|
93
|
+
})), F = /* @__PURE__ */ d.forwardRef(function(o, s) {
|
|
94
94
|
const n = $({
|
|
95
95
|
props: o,
|
|
96
96
|
name: "MuiListItemButton"
|
|
@@ -119,13 +119,13 @@ const te = ["alignItems", "autoFocus", "component", "children", "dense", "disabl
|
|
|
119
119
|
disableGutters: m,
|
|
120
120
|
divider: I,
|
|
121
121
|
selected: h
|
|
122
|
-
}), N = se(j), A =
|
|
122
|
+
}), N = se(j), A = D(v, s);
|
|
123
123
|
return /* @__PURE__ */ y(L.Provider, {
|
|
124
124
|
value: f,
|
|
125
125
|
children: /* @__PURE__ */ y(re, b({
|
|
126
126
|
ref: A,
|
|
127
127
|
href: r.href || r.to,
|
|
128
|
-
component: (r.href || r.to) && l === "div" ? "
|
|
128
|
+
component: (r.href || r.to) && l === "div" ? "a" : l,
|
|
129
129
|
focusVisibleClassName: R(N.focusVisible, g),
|
|
130
130
|
ownerState: j,
|
|
131
131
|
className: R(N.root, x)
|
|
@@ -135,11 +135,11 @@ const te = ["alignItems", "autoFocus", "component", "children", "dense", "disabl
|
|
|
135
135
|
}))
|
|
136
136
|
});
|
|
137
137
|
});
|
|
138
|
-
process.env.NODE_ENV !== "production" && (
|
|
139
|
-
//
|
|
140
|
-
//
|
|
141
|
-
//
|
|
142
|
-
//
|
|
138
|
+
process.env.NODE_ENV !== "production" && (F.propTypes = {
|
|
139
|
+
// ----------------------------- Warning --------------------------------
|
|
140
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
141
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
142
|
+
// ----------------------------------------------------------------------
|
|
143
143
|
/**
|
|
144
144
|
* Defines the `align-items` style property.
|
|
145
145
|
* @default 'center'
|
|
@@ -240,7 +240,7 @@ const ne = ["className"], ae = (e) => {
|
|
|
240
240
|
display: "inline-flex"
|
|
241
241
|
}, o.alignItems === "flex-start" && {
|
|
242
242
|
marginTop: 8
|
|
243
|
-
})),
|
|
243
|
+
})), _ = /* @__PURE__ */ d.forwardRef(function(o, s) {
|
|
244
244
|
const n = $({
|
|
245
245
|
props: o,
|
|
246
246
|
name: "MuiListItemIcon"
|
|
@@ -255,11 +255,11 @@ const ne = ["className"], ae = (e) => {
|
|
|
255
255
|
ref: s
|
|
256
256
|
}, c));
|
|
257
257
|
});
|
|
258
|
-
process.env.NODE_ENV !== "production" && (
|
|
259
|
-
//
|
|
260
|
-
//
|
|
261
|
-
//
|
|
262
|
-
//
|
|
258
|
+
process.env.NODE_ENV !== "production" && (_.propTypes = {
|
|
259
|
+
// ----------------------------- Warning --------------------------------
|
|
260
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
261
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
262
|
+
// ----------------------------------------------------------------------
|
|
263
263
|
/**
|
|
264
264
|
* The content of the component, normally `Icon`, `SvgIcon`,
|
|
265
265
|
* or a `@mui/icons-material` SVG icon element.
|
|
@@ -354,7 +354,7 @@ const ce = ["children", "className", "disableTypography", "inset", "primary", "p
|
|
|
354
354
|
display: "block"
|
|
355
355
|
}, g, {
|
|
356
356
|
children: i
|
|
357
|
-
}))), /* @__PURE__ */
|
|
357
|
+
}))), /* @__PURE__ */ V(de, b({
|
|
358
358
|
className: R(v.root, c),
|
|
359
359
|
ownerState: f,
|
|
360
360
|
ref: s
|
|
@@ -363,10 +363,10 @@ const ce = ["children", "className", "disableTypography", "inset", "primary", "p
|
|
|
363
363
|
}));
|
|
364
364
|
});
|
|
365
365
|
process.env.NODE_ENV !== "production" && (U.propTypes = {
|
|
366
|
-
//
|
|
367
|
-
//
|
|
368
|
-
//
|
|
369
|
-
//
|
|
366
|
+
// ----------------------------- Warning --------------------------------
|
|
367
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
368
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
369
|
+
// ----------------------------------------------------------------------
|
|
370
370
|
/**
|
|
371
371
|
* Alias for the `primary` prop.
|
|
372
372
|
*/
|
|
@@ -435,7 +435,7 @@ function O(e) {
|
|
|
435
435
|
}, 0), () => {
|
|
436
436
|
u.current = !1;
|
|
437
437
|
}), []);
|
|
438
|
-
const I =
|
|
438
|
+
const I = D(
|
|
439
439
|
// @ts-expect-error TODO upstream fix
|
|
440
440
|
o.ref,
|
|
441
441
|
a
|
|
@@ -541,8 +541,8 @@ const Ee = ({
|
|
|
541
541
|
...p
|
|
542
542
|
},
|
|
543
543
|
disablePadding: !0,
|
|
544
|
-
children: o.map((a, u) => /* @__PURE__ */ y(K, { secondaryAction: a.endIcon, disablePadding: !0, children: /* @__PURE__ */
|
|
545
|
-
a.startIcon !== void 0 && /* @__PURE__ */ y(
|
|
544
|
+
children: o.map((a, u) => /* @__PURE__ */ y(K, { secondaryAction: a.endIcon, disablePadding: !0, children: /* @__PURE__ */ V(F, { role: void 0, onClick: a.onClick, dense: !0, children: [
|
|
545
|
+
a.startIcon !== void 0 && /* @__PURE__ */ y(_, { sx: { minWidth: "auto", mr: 1 }, children: a.startIcon }),
|
|
546
546
|
/* @__PURE__ */ y(
|
|
547
547
|
U,
|
|
548
548
|
{
|
|
@@ -3,7 +3,7 @@ import "@mui/material";
|
|
|
3
3
|
import "./styled.js";
|
|
4
4
|
import "@mui/icons-material";
|
|
5
5
|
import "../../../../../hooks/useToggle.js";
|
|
6
|
-
import { C as l } from "../../../../../index-
|
|
6
|
+
import { C as l } from "../../../../../index-D9TdkXAs.js";
|
|
7
7
|
import "react";
|
|
8
8
|
import "lodash";
|
|
9
9
|
import "dayjs";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "lodash";
|
|
3
3
|
import "dayjs";
|
|
4
|
-
import { V as b } from "../../../../../index-
|
|
4
|
+
import { V as b } from "../../../../../index-D9TdkXAs.js";
|
|
5
5
|
import "@mui/material";
|
|
6
6
|
import "@mui/icons-material";
|
|
7
7
|
import "../../../../geometry-picker/index.js";
|
|
8
8
|
import "../../../../phone-input/index.js";
|
|
9
9
|
import "../../../../date-time-picker/index.js";
|
|
10
|
-
import "../../../../../FormControlLabel-
|
|
11
|
-
import "../../../../../Checkbox-
|
|
12
|
-
import "../../../../../FormControl-
|
|
13
|
-
import "../../../../../Select-
|
|
14
|
-
import "../../../../../MenuItem-
|
|
10
|
+
import "../../../../../FormControlLabel-hDa-xf_q.js";
|
|
11
|
+
import "../../../../../Checkbox-DzmWBCrt.js";
|
|
12
|
+
import "../../../../../FormControl-aXQs42m6.js";
|
|
13
|
+
import "../../../../../Select-Cdmu0dQ4.js";
|
|
14
|
+
import "../../../../../MenuItem-BEW28T9O.js";
|
|
15
15
|
export {
|
|
16
16
|
b as default
|
|
17
17
|
};
|
|
@@ -9,8 +9,8 @@ import { Schedule as Z } from "@mui/icons-material";
|
|
|
9
9
|
import $ from "../../hooks/useMenuLogic.js";
|
|
10
10
|
const K = ({
|
|
11
11
|
value: g,
|
|
12
|
-
name:
|
|
13
|
-
minDate:
|
|
12
|
+
name: Y,
|
|
13
|
+
minDate: D,
|
|
14
14
|
variant: M,
|
|
15
15
|
size: H = "small",
|
|
16
16
|
minuteStep: m = 30,
|
|
@@ -49,7 +49,7 @@ const K = ({
|
|
|
49
49
|
{
|
|
50
50
|
value: o,
|
|
51
51
|
format: "DD/MM/YYYY",
|
|
52
|
-
minDate:
|
|
52
|
+
minDate: D,
|
|
53
53
|
onChange: x,
|
|
54
54
|
slotProps: {
|
|
55
55
|
textField: {
|
|
@@ -95,7 +95,7 @@ const K = ({
|
|
|
95
95
|
children: v.map((t) => /* @__PURE__ */ e(E, { onClick: C(t), children: t }, t))
|
|
96
96
|
}
|
|
97
97
|
),
|
|
98
|
-
/* @__PURE__ */ e("input", { type: "hidden", name:
|
|
98
|
+
/* @__PURE__ */ e("input", { type: "hidden", name: Y, value: (o == null ? void 0 : o.format()) ?? "" })
|
|
99
99
|
] });
|
|
100
100
|
};
|
|
101
101
|
export {
|
|
@@ -8,9 +8,10 @@ import y from "./geometry/index.js";
|
|
|
8
8
|
import b from "./kml/index.js";
|
|
9
9
|
import g from "./wkt/index.js";
|
|
10
10
|
import { IconButton as s, Dialog as E, DialogTitle as W, DialogContent as K } from "@mui/material";
|
|
11
|
-
import { F as L,
|
|
12
|
-
import { I as
|
|
13
|
-
|
|
11
|
+
import { F as L, I as z } from "../../FormControl-aXQs42m6.js";
|
|
12
|
+
import { I as G } from "../../Input-CeVb6kjv.js";
|
|
13
|
+
import { I as w } from "../../InputAdornment-fM3loNyx.js";
|
|
14
|
+
const Q = ({
|
|
14
15
|
label: c,
|
|
15
16
|
mapboxAccessToken: r,
|
|
16
17
|
value: e = "",
|
|
@@ -74,11 +75,11 @@ const J = ({
|
|
|
74
75
|
children: [
|
|
75
76
|
/* @__PURE__ */ o(z, { shrink: !0, children: c }),
|
|
76
77
|
/* @__PURE__ */ o(
|
|
77
|
-
|
|
78
|
+
G,
|
|
78
79
|
{
|
|
79
80
|
value: e,
|
|
80
81
|
readOnly: !0,
|
|
81
|
-
endAdornment: /* @__PURE__ */ o(
|
|
82
|
+
endAdornment: /* @__PURE__ */ o(w, { position: "end", children: e !== "" && /* @__PURE__ */ i(m, { children: [
|
|
82
83
|
/* @__PURE__ */ o(s, { size: "small", onClick: n.onEdit, children: /* @__PURE__ */ o(f, { fontSize: "small" }) }),
|
|
83
84
|
/* @__PURE__ */ o(s, { size: "small", onClick: n.onDelete, children: /* @__PURE__ */ o(D, { fontSize: "small" }) })
|
|
84
85
|
] }) })
|
|
@@ -136,5 +137,5 @@ const J = ({
|
|
|
136
137
|
] });
|
|
137
138
|
};
|
|
138
139
|
export {
|
|
139
|
-
|
|
140
|
+
Q as GeometryPicker
|
|
140
141
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { VerticalButton as m, MiniButton as c } from "./styled.js";
|
|
3
|
-
import { I as e } from "../../IconButton-
|
|
3
|
+
import { I as e } from "../../IconButton-SnBOFQ43.js";
|
|
4
4
|
const a = ({
|
|
5
5
|
variant: i = "default",
|
|
6
6
|
startIcon: f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as r, F as t, a, C as s, I as c, T as
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
1
|
+
import { S as r, F as t, a as i, C as s, I as c, T as d } from "../../Text-D6oGbCdi.js";
|
|
2
|
+
import { e as f } from "../../createStyled-liRRhQcN.js";
|
|
3
|
+
const g = f(), a = 0.4, w = g("div")(
|
|
4
4
|
({ theme: o, cssPosition: n = "absolute" }) => ({
|
|
5
5
|
position: n,
|
|
6
6
|
width: "100%",
|
|
@@ -18,11 +18,11 @@ const i = 0.4, g = d("div")(
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
})
|
|
21
|
-
),
|
|
21
|
+
), y = new r({
|
|
22
22
|
fill: new t({
|
|
23
23
|
color: "rgba(255, 255, 255, 0.2)"
|
|
24
24
|
}),
|
|
25
|
-
stroke: new
|
|
25
|
+
stroke: new i({
|
|
26
26
|
color: "#2daae1",
|
|
27
27
|
width: 2
|
|
28
28
|
}),
|
|
@@ -32,11 +32,11 @@ const i = 0.4, g = d("div")(
|
|
|
32
32
|
color: "#2daae1"
|
|
33
33
|
})
|
|
34
34
|
})
|
|
35
|
-
}),
|
|
35
|
+
}), u = new r({
|
|
36
36
|
fill: new t({
|
|
37
37
|
color: "rgba(255, 255, 255, 0.4)"
|
|
38
38
|
}),
|
|
39
|
-
stroke: new
|
|
39
|
+
stroke: new i({
|
|
40
40
|
color: "#0f70b7",
|
|
41
41
|
width: 2
|
|
42
42
|
}),
|
|
@@ -53,7 +53,7 @@ const i = 0.4, g = d("div")(
|
|
|
53
53
|
image: new c({
|
|
54
54
|
anchor: [0.5, 0.5],
|
|
55
55
|
src: n,
|
|
56
|
-
scale:
|
|
56
|
+
scale: a
|
|
57
57
|
}),
|
|
58
58
|
zIndex: 2
|
|
59
59
|
});
|
|
@@ -65,10 +65,10 @@ const i = 0.4, g = d("div")(
|
|
|
65
65
|
image: new c({
|
|
66
66
|
anchor: [0.5, 0.5],
|
|
67
67
|
src: l,
|
|
68
|
-
scale:
|
|
68
|
+
scale: a
|
|
69
69
|
}),
|
|
70
70
|
...e.length > 1 && {
|
|
71
|
-
text: new
|
|
71
|
+
text: new d({
|
|
72
72
|
text: e.length.toString(),
|
|
73
73
|
font: "14px sans-serif",
|
|
74
74
|
fill: new t({
|
|
@@ -79,13 +79,13 @@ const i = 0.4, g = d("div")(
|
|
|
79
79
|
zIndex: 2
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
|
-
return
|
|
82
|
+
return u;
|
|
83
83
|
}, m = {
|
|
84
|
-
Container:
|
|
84
|
+
Container: w
|
|
85
85
|
};
|
|
86
86
|
export {
|
|
87
87
|
m as default,
|
|
88
|
-
|
|
88
|
+
y as defaultStyle,
|
|
89
89
|
b as selectStyleFunction,
|
|
90
|
-
|
|
90
|
+
u as selectedStyle
|
|
91
91
|
};
|
|
@@ -2,14 +2,15 @@ import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import k, { useState as O } from "react";
|
|
3
3
|
import { Close as m, Search as u } from "@mui/icons-material";
|
|
4
4
|
import { FilledInput as b, Input as R } from "@mui/material";
|
|
5
|
-
import { F as _,
|
|
6
|
-
import { O as v } from "../../OutlinedInput-
|
|
7
|
-
import { I as
|
|
5
|
+
import { F as _, I as j } from "../../FormControl-aXQs42m6.js";
|
|
6
|
+
import { O as v } from "../../OutlinedInput-DkzLHRTd.js";
|
|
7
|
+
import { I as g } from "../../InputAdornment-fM3loNyx.js";
|
|
8
|
+
import { I as t } from "../../IconButton-SnBOFQ43.js";
|
|
8
9
|
const z = ({
|
|
9
10
|
defaultValue: x = "",
|
|
10
|
-
label:
|
|
11
|
+
label: I = "Search",
|
|
11
12
|
placeholder: i,
|
|
12
|
-
disableLabel:
|
|
13
|
+
disableLabel: C = !1,
|
|
13
14
|
fullWidth: w = !1,
|
|
14
15
|
variant: l = "outlined",
|
|
15
16
|
size: A = "small",
|
|
@@ -36,13 +37,13 @@ const z = ({
|
|
|
36
37
|
h(""), a && a("");
|
|
37
38
|
};
|
|
38
39
|
return /* @__PURE__ */ s(_, { sx: D, size: A, variant: l, fullWidth: w, children: [
|
|
39
|
-
!
|
|
40
|
+
!C && /* @__PURE__ */ e(j, { htmlFor: "search-input", children: I }),
|
|
40
41
|
l === "outlined" && /* @__PURE__ */ e(
|
|
41
42
|
v,
|
|
42
43
|
{
|
|
43
44
|
id: "search-input",
|
|
44
45
|
type: "text",
|
|
45
|
-
label:
|
|
46
|
+
label: C ? "" : I,
|
|
46
47
|
value: r,
|
|
47
48
|
placeholder: i,
|
|
48
49
|
onChange: c,
|
|
@@ -141,7 +142,7 @@ const z = ({
|
|
|
141
142
|
}
|
|
142
143
|
)
|
|
143
144
|
] });
|
|
144
|
-
},
|
|
145
|
+
}, M = k.forwardRef(z);
|
|
145
146
|
export {
|
|
146
|
-
|
|
147
|
+
M as SearchInput
|
|
147
148
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s, Fragment as c } from "react/jsx-runtime";
|
|
2
2
|
import a from "lodash";
|
|
3
3
|
import { CollapsibleCard as g } from "../collapsible-card/index.js";
|
|
4
|
-
import { P as p } from "../../property-
|
|
4
|
+
import { P as p } from "../../property-BsU8ijQF.js";
|
|
5
5
|
const K = ({
|
|
6
6
|
values: f,
|
|
7
7
|
templates: d,
|
|
@@ -3,10 +3,10 @@ import "react";
|
|
|
3
3
|
import "dayjs";
|
|
4
4
|
import "@mui/icons-material";
|
|
5
5
|
import "@mui/material";
|
|
6
|
-
import "../../FormControlLabel-
|
|
7
|
-
import "../../Checkbox-
|
|
8
|
-
import { P as l } from "../../property-
|
|
9
|
-
import "../../FormControl-
|
|
6
|
+
import "../../FormControlLabel-hDa-xf_q.js";
|
|
7
|
+
import "../../Checkbox-DzmWBCrt.js";
|
|
8
|
+
import { P as l } from "../../property-BsU8ijQF.js";
|
|
9
|
+
import "../../FormControl-aXQs42m6.js";
|
|
10
10
|
export {
|
|
11
11
|
l as default
|
|
12
12
|
};
|
|
@@ -3,10 +3,10 @@ import f from "react";
|
|
|
3
3
|
import { TreeViewFilter as _ } from "../treeview-filter/index.js";
|
|
4
4
|
import r from "lodash";
|
|
5
5
|
import { flattenNestedTemplates as b } from "../../utils/ontology.js";
|
|
6
|
-
import { F as A,
|
|
7
|
-
import { S as M } from "../../Select-
|
|
8
|
-
import { M as j } from "../../MenuItem-
|
|
9
|
-
import { D as B, a as k, b as w, B as L } from "../../DialogContent-
|
|
6
|
+
import { F as A, I as E } from "../../FormControl-aXQs42m6.js";
|
|
7
|
+
import { S as M } from "../../Select-Cdmu0dQ4.js";
|
|
8
|
+
import { M as j } from "../../MenuItem-BEW28T9O.js";
|
|
9
|
+
import { D as B, a as k, b as w, B as L } from "../../DialogContent-D51w7KVX.js";
|
|
10
10
|
const P = ({
|
|
11
11
|
data: h,
|
|
12
12
|
label: s,
|