@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,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-DlFdC7eU.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 {
|
|
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,
|