@hybridcore/ui 1.4.35 → 1.4.37
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/{DialogContent-B0_-g7B0.js → DialogContent-CtA2aNum.js} +1 -1
- package/dist/{Modal-CJn-Bqyo.js → Modal-DzZo-vlm.js} +1 -0
- package/dist/{Select-DwAJxKTN.js → Select-ush_fSWy.js} +1 -1
- package/dist/{TextField-BAXUnwnR.js → TextField-BjFXx91l.js} +1 -1
- package/dist/components/confirm/dialog.js +2 -2
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/context-menu/index.js +118 -118
- package/dist/components/instance-form/components/composite-list/index.js +1 -1
- package/dist/components/instance-form/components/variable/index.js +3 -3
- package/dist/components/instance-form/components/variables/index.js +1 -1
- package/dist/components/property-mapping/index.js +1 -1
- package/dist/components/range-selector/components/composite-list-range/index.js +1 -1
- package/dist/components/range-selector/components/date-range/index.js +1 -1
- package/dist/components/range-selector/index.js +1 -1
- package/dist/components/template-form/components/property-list/index.js +3 -3
- package/dist/components/template-form/components/property-list/property-list-form.js +3 -3
- package/dist/components/template-form/components/recognition-property-list/index.js +2 -2
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +2 -2
- package/dist/components/template-form/index.js +2 -2
- package/dist/components/template-property-filters/property.js +1 -1
- package/dist/components/tree-select/index.js +2 -2
- package/dist/components/treeview-filter/index.js +45 -592
- package/dist/components/treeview-filter/item/index.js +19 -19
- package/dist/components/treeview-filter/item/styled.js +2 -2
- package/dist/{dialog-DPGR2gik.js → dialog-DrVArHYg.js} +1 -1
- package/dist/{index-RfDWDd66.js → index-CAaDu0NI.js} +1979 -2071
- package/dist/{index-B_GNCJdV.js → index-D2tF2-ya.js} +2 -2
- package/dist/main.js +1 -1
- package/dist/{property-list-form-DgmTiBvu.js → property-list-form-CLSTkOmv.js} +2 -2
- package/package.json +3 -3
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import g from "../item-label/index.js";
|
|
3
3
|
import a from "lodash";
|
|
4
4
|
import { ArrowRight as I } from "@mui/icons-material";
|
|
5
5
|
import { TreeItem as h } from "./styled.js";
|
|
6
6
|
function x({
|
|
7
|
-
id:
|
|
8
|
-
idKey:
|
|
7
|
+
id: i,
|
|
8
|
+
idKey: n,
|
|
9
9
|
name: f,
|
|
10
|
-
checked:
|
|
10
|
+
checked: e,
|
|
11
11
|
disabled: l,
|
|
12
12
|
disabledIds: c,
|
|
13
13
|
onChange: s,
|
|
14
14
|
children: r,
|
|
15
15
|
defaultSelected: p
|
|
16
16
|
}) {
|
|
17
|
-
return /* @__PURE__ */
|
|
17
|
+
return /* @__PURE__ */ t(
|
|
18
18
|
h,
|
|
19
19
|
{
|
|
20
|
-
|
|
21
|
-
label: /* @__PURE__ */
|
|
20
|
+
itemId: String(i),
|
|
21
|
+
label: /* @__PURE__ */ t(
|
|
22
22
|
g,
|
|
23
23
|
{
|
|
24
|
-
id:
|
|
24
|
+
id: i,
|
|
25
25
|
name: f,
|
|
26
|
-
checked:
|
|
26
|
+
checked: e,
|
|
27
27
|
disabled: l,
|
|
28
28
|
onChange: s
|
|
29
29
|
}
|
|
30
30
|
),
|
|
31
|
-
checked:
|
|
31
|
+
checked: e,
|
|
32
32
|
...r && r.length > 0 && {
|
|
33
|
-
icon: /* @__PURE__ */
|
|
33
|
+
icon: /* @__PURE__ */ t(I, {})
|
|
34
34
|
},
|
|
35
|
-
children: r && r.map((
|
|
36
|
-
const m = String(
|
|
37
|
-
return /* @__PURE__ */
|
|
35
|
+
children: r && r.map((o, u) => {
|
|
36
|
+
const m = String(o[n]), b = a.includes(p, m), d = a.includes(c, m);
|
|
37
|
+
return /* @__PURE__ */ t(
|
|
38
38
|
x,
|
|
39
39
|
{
|
|
40
40
|
id: m,
|
|
41
|
-
idKey:
|
|
42
|
-
name:
|
|
43
|
-
checked:
|
|
44
|
-
disabled:
|
|
41
|
+
idKey: n,
|
|
42
|
+
name: o.name,
|
|
43
|
+
checked: b,
|
|
44
|
+
disabled: d,
|
|
45
45
|
disabledIds: c,
|
|
46
|
-
children:
|
|
46
|
+
children: o.children,
|
|
47
47
|
onChange: s,
|
|
48
48
|
defaultSelected: p
|
|
49
49
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TreeItem as t } from "@mui/
|
|
1
|
+
import { TreeItem as t } from "@mui/x-tree-view";
|
|
2
2
|
import { styled as r, alpha as i } from "@mui/material";
|
|
3
3
|
const m = r(t)(
|
|
4
4
|
({ theme: e, checked: o }) => ({
|
|
@@ -16,7 +16,7 @@ const m = r(t)(
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"& .MuiTreeItem-content.Mui-expanded .MuiTreeItem-iconContainer": {
|
|
19
|
-
transform: "rotate(90deg)"
|
|
19
|
+
// transform: "rotate(90deg)",
|
|
20
20
|
},
|
|
21
21
|
...o && {
|
|
22
22
|
"&:before": {
|
|
@@ -2,7 +2,7 @@ import { jsx as s, jsxs as p } from "react/jsx-runtime";
|
|
|
2
2
|
import { confirmable as x } from "react-confirm";
|
|
3
3
|
import { IconButton as h } from "@mui/material";
|
|
4
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 } from "./DialogContent-
|
|
5
|
+
import { c as D, g as T, D as b, a as y, b as B } from "./DialogContent-CtA2aNum.js";
|
|
6
6
|
import { _ as j, a as v } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
|
|
7
7
|
import * as d from "react";
|
|
8
8
|
import { P as o } from "./createTheme-DrgvKMA_.js";
|