@hybridcore/ui 1.3.3 → 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-DE8d_U2E.js → ButtonBase-DJz-TFGO.js} +199 -207
- package/dist/{CardContent-Du2i427Y.js → CardContent-DZnCVGy9.js} +15 -15
- package/dist/{Checkbox-BGNAqLl0.js → Checkbox-DzmWBCrt.js} +154 -144
- package/dist/{Collapse-FRd0_2Pt.js → Collapse-NqW0GIK_.js} +79 -77
- package/dist/DialogContent-D51w7KVX.js +2119 -0
- package/dist/{FormControl-ChTmxscy.js → FormControl-aXQs42m6.js} +496 -466
- package/dist/FormControlLabel-hDa-xf_q.js +639 -0
- package/dist/{IconButton-Cu_XEJB2.js → IconButton-SnBOFQ43.js} +22 -22
- package/dist/{Input-DU22-Zbo.js → Input-CeVb6kjv.js} +34 -34
- package/dist/{InputAdornment-6aeADcPO.js → InputAdornment-fM3loNyx.js} +12 -12
- package/dist/{List-nOXr-cFJ.js → List-DLIiXc6r.js} +10 -10
- package/dist/{ListItem-RJvRMwkZ.js → ListItem-BkxmqFI8.js} +23 -23
- package/dist/{MenuItem-DF45rx2m.js → MenuItem-BEW28T9O.js} +27 -27
- package/dist/{OutlinedInput-DJCHjkR3.js → OutlinedInput-DkzLHRTd.js} +75 -78
- package/dist/{Paper-CD_ma6NJ.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/geometry-picker/index.js +3 -3
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/map/styled.js +14 -14
- package/dist/components/search-input/index.js +4 -4
- 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-DPZ7UbxM.js → createSvgIcon-Cl8kMTkx.js} +82 -85
- package/dist/{exactProp--3vlJ9a9.js → exactProp-CT2wqJXE.js} +2 -2
- package/dist/{index-CtuBGOmk.js → index-D9TdkXAs.js} +5 -5
- package/dist/{index-DzFccwzL.js → index-DRy8nExS.js} +205 -218
- package/dist/{listItemTextClasses-2BAu-hye.js → listItemTextClasses-BrCbmCR1.js} +2 -2
- package/dist/main.js +2 -2
- package/dist/{property-BSufYw1E.js → property-BsU8ijQF.js} +1056 -1087
- 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-qcu0RzdN.js → utils-DY9Jk4Ah.js} +2 -2
- package/package.json +3 -3
- package/dist/DialogContent-CKeAZ3Ts.js +0 -1982
- package/dist/FormControlLabel-Df7csguX.js +0 -827
- package/dist/Select-C1jD_gBQ.js +0 -2305
- package/dist/Typography-C2BkMNk-.js +0 -178
- package/dist/chainPropTypes-GRMJ22CO.js +0 -96
- package/dist/createSvgIcon-6wv0RQr3.js +0 -63
- package/dist/createTheme-C3DKplhE.js +0 -2395
- package/dist/resolveComponentProps-DozbaB8e.js +0 -54
- package/dist/styled-CVWGE9ik.js +0 -142
- package/dist/styled-iyoioZCr.js +0 -1033
- package/dist/useTheme--x3BjP9A.js +0 -17
- package/dist/useTheme-pWltVFb2.js +0 -10
- package/dist/useThemeProps-C90JF0Qc.js +0 -62
- package/dist/useThemeProps-DNZoozBw.js +0 -26
|
@@ -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, b as z, u as
|
|
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
|
};
|
|
@@ -8,9 +8,9 @@ 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, I as z } from "../../FormControl-
|
|
12
|
-
import { I as G } from "../../Input-
|
|
13
|
-
import { I as w } from "../../InputAdornment-
|
|
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
14
|
const Q = ({
|
|
15
15
|
label: c,
|
|
16
16
|
mapboxAccessToken: r,
|
|
@@ -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,10 +2,10 @@ 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 _, I as j } from "../../FormControl-
|
|
6
|
-
import { O as v } from "../../OutlinedInput-
|
|
7
|
-
import { I as g } from "../../InputAdornment-
|
|
8
|
-
import { I as t } from "../../IconButton-
|
|
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";
|
|
9
9
|
const z = ({
|
|
10
10
|
defaultValue: x = "",
|
|
11
11
|
label: I = "Search",
|
|
@@ -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, I as E } from "../../FormControl-
|
|
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,
|
|
@@ -1,33 +1,32 @@
|
|
|
1
1
|
import Ne, { jsx as C, jsxs as it, Fragment as ut } from "react/jsx-runtime";
|
|
2
2
|
import * as f from "react";
|
|
3
3
|
import Se from "react";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { T as pt, D as ht, c as mt, I as xt } from "../../index-DzFccwzL.js";
|
|
4
|
+
import { r as Oe, i as Te } from "../../createSvgIcon-B4TFefhd.js";
|
|
5
|
+
import { T as dt, D as ft, I as pt } from "../../index-DRy8nExS.js";
|
|
7
6
|
import we from "lodash";
|
|
8
|
-
import { Box as
|
|
9
|
-
import { SearchInput as
|
|
10
|
-
import { flattenNestedTemplates as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { u as Ct } from "../../useTheme-
|
|
7
|
+
import { Box as ht } from "@mui/material";
|
|
8
|
+
import { SearchInput as mt } from "../search-input/index.js";
|
|
9
|
+
import { flattenNestedTemplates as xt } from "../../utils/ontology.js";
|
|
10
|
+
import { g as gt, u as bt, c as St, a as wt } from "../../useThemeProps-BXn-nVhw.js";
|
|
11
|
+
import { P as o } from "../../createStyled-liRRhQcN.js";
|
|
12
|
+
import { g as yt, s as It } from "../../styled-Dm8rXzIG.js";
|
|
13
|
+
import { u as Ct } from "../../useTheme-CTuK-wFF.js";
|
|
15
14
|
import { u as Nt } from "../../useId-BHG98T5I.js";
|
|
16
|
-
import { u as Ot } from "../../ButtonBase-
|
|
17
|
-
import { u as ye } from "../../createSvgIcon-
|
|
15
|
+
import { u as Ot } from "../../ButtonBase-DJz-TFGO.js";
|
|
16
|
+
import { u as ye } from "../../createSvgIcon-Cl8kMTkx.js";
|
|
18
17
|
import { o as Tt } from "../../ownerDocument-CUrv0DIK.js";
|
|
19
18
|
function Rt(d) {
|
|
20
|
-
return
|
|
19
|
+
return yt("MuiTreeView", d);
|
|
21
20
|
}
|
|
22
|
-
|
|
21
|
+
gt("MuiTreeView", ["root"]);
|
|
23
22
|
const kt = (d) => {
|
|
24
23
|
const {
|
|
25
24
|
classes: b
|
|
26
25
|
} = d;
|
|
27
|
-
return
|
|
26
|
+
return wt({
|
|
28
27
|
root: ["root"]
|
|
29
28
|
}, Rt, b);
|
|
30
|
-
}, Et =
|
|
29
|
+
}, Et = It("ul", {
|
|
31
30
|
name: "MuiTreeView",
|
|
32
31
|
slot: "Root",
|
|
33
32
|
overridesResolver: (d, b) => b.root
|
|
@@ -50,7 +49,7 @@ function Ce() {
|
|
|
50
49
|
return !1;
|
|
51
50
|
}
|
|
52
51
|
const Pt = [], At = [], Re = /* @__PURE__ */ f.forwardRef(function(b, E) {
|
|
53
|
-
const y =
|
|
52
|
+
const y = bt({
|
|
54
53
|
props: b,
|
|
55
54
|
name: "MuiTreeView"
|
|
56
55
|
}), {
|
|
@@ -310,7 +309,7 @@ const Pt = [], At = [], Re = /* @__PURE__ */ f.forwardRef(function(b, E) {
|
|
|
310
309
|
}, ot = (e) => {
|
|
311
310
|
ne(null), D && D(e);
|
|
312
311
|
}, at = i.current[a] ? i.current[a].idAttribute : null;
|
|
313
|
-
return /* @__PURE__ */ C(
|
|
312
|
+
return /* @__PURE__ */ C(dt.Provider, {
|
|
314
313
|
// TODO: fix this lint error
|
|
315
314
|
// eslint-disable-next-line react/jsx-no-constructed-context-values
|
|
316
315
|
value: {
|
|
@@ -337,13 +336,13 @@ const Pt = [], At = [], Re = /* @__PURE__ */ f.forwardRef(function(b, E) {
|
|
|
337
336
|
unregisterNode: et,
|
|
338
337
|
treeId: pe
|
|
339
338
|
},
|
|
340
|
-
children: /* @__PURE__ */ C(
|
|
339
|
+
children: /* @__PURE__ */ C(ft, {
|
|
341
340
|
children: /* @__PURE__ */ C(Et, {
|
|
342
341
|
role: "tree",
|
|
343
342
|
id: pe,
|
|
344
343
|
"aria-activedescendant": at,
|
|
345
344
|
"aria-multiselectable": p,
|
|
346
|
-
className:
|
|
345
|
+
className: St(Ae.root, Y),
|
|
347
346
|
ref: De,
|
|
348
347
|
tabIndex: 0,
|
|
349
348
|
onKeyDown: nt,
|
|
@@ -470,23 +469,23 @@ process.env.NODE_ENV !== "production" && (Re.propTypes = {
|
|
|
470
469
|
*/
|
|
471
470
|
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
|
|
472
471
|
});
|
|
473
|
-
var ce = {}, Dt =
|
|
472
|
+
var ce = {}, Dt = Te;
|
|
474
473
|
Object.defineProperty(ce, "__esModule", {
|
|
475
474
|
value: !0
|
|
476
475
|
});
|
|
477
|
-
var ke = ce.default = void 0, Mt = Dt(
|
|
476
|
+
var ke = ce.default = void 0, Mt = Dt(Oe()), _t = Ne;
|
|
478
477
|
ke = ce.default = (0, Mt.default)(/* @__PURE__ */ (0, _t.jsx)("path", {
|
|
479
478
|
d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"
|
|
480
479
|
}), "ExpandMore");
|
|
481
|
-
var le = {}, jt =
|
|
480
|
+
var le = {}, jt = Te;
|
|
482
481
|
Object.defineProperty(le, "__esModule", {
|
|
483
482
|
value: !0
|
|
484
483
|
});
|
|
485
|
-
var Ee = le.default = void 0, Vt = jt(
|
|
484
|
+
var Ee = le.default = void 0, Vt = jt(Oe()), Kt = Ne;
|
|
486
485
|
Ee = le.default = (0, Vt.default)(/* @__PURE__ */ (0, Kt.jsx)("path", {
|
|
487
486
|
d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
|
|
488
487
|
}), "ChevronRight");
|
|
489
|
-
const
|
|
488
|
+
const rr = ({
|
|
490
489
|
data: d,
|
|
491
490
|
idKey: b = "id",
|
|
492
491
|
selected: E,
|
|
@@ -496,14 +495,14 @@ const nr = ({
|
|
|
496
495
|
onChange: Z,
|
|
497
496
|
onToggle: v
|
|
498
497
|
}) => {
|
|
499
|
-
const [A, ee] = Se.useState(""), te =
|
|
498
|
+
const [A, ee] = Se.useState(""), te = xt(d), q = Se.useMemo(() => A.length > 0 ? te.filter(
|
|
500
499
|
(I) => I.name.toLowerCase().includes(A)
|
|
501
500
|
) : d, [A, d]);
|
|
502
501
|
let N = null;
|
|
503
502
|
const g = 500;
|
|
504
503
|
return /* @__PURE__ */ it(ut, { children: [
|
|
505
|
-
!Y && /* @__PURE__ */ C(
|
|
506
|
-
|
|
504
|
+
!Y && /* @__PURE__ */ C(ht, { px: 1, children: /* @__PURE__ */ C(
|
|
505
|
+
mt,
|
|
507
506
|
{
|
|
508
507
|
fullWidth: !0,
|
|
509
508
|
disableLabel: !0,
|
|
@@ -532,7 +531,7 @@ const nr = ({
|
|
|
532
531
|
children: q.map((I, p) => {
|
|
533
532
|
const D = String(I[b]), U = we.includes(E, D), z = we.includes($, D);
|
|
534
533
|
return /* @__PURE__ */ C(
|
|
535
|
-
|
|
534
|
+
pt,
|
|
536
535
|
{
|
|
537
536
|
id: D,
|
|
538
537
|
idKey: b,
|
|
@@ -552,5 +551,5 @@ const nr = ({
|
|
|
552
551
|
] });
|
|
553
552
|
};
|
|
554
553
|
export {
|
|
555
|
-
|
|
554
|
+
rr as TreeViewFilter
|
|
556
555
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as c, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { RadioButtonUnchecked as l, CheckCircle as s } from "@mui/icons-material";
|
|
3
|
-
import { B as p, C as h } from "../../../Checkbox-
|
|
4
|
-
import { T as d } from "../../../Typography-
|
|
3
|
+
import { B as p, C as h } from "../../../Checkbox-DzmWBCrt.js";
|
|
4
|
+
import { T as d } from "../../../Typography-CXe5ytr0.js";
|
|
5
5
|
function k({
|
|
6
6
|
id: t,
|
|
7
7
|
name: n,
|