@hybridcore/ui 1.3.7 → 1.4.1
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 +341 -179
- 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 +1 -1
- package/dist/components/data-security-selectors/security-level/index.js +42 -40
- package/dist/components/date-time-picker/index.js +18 -19
- 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 +3 -3
- 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/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/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 +106 -100
- 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 +16 -15
- 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-CJVcedWy.js → index-DPf5olog.js} +29 -27
- 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 +562 -78
- 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 -41
- package/dist/createSvgIcon-B2WT0K4k.js +0 -87
- package/dist/components/{data-management/instance-form → instance-form}/components/composite-list/styled.js +0 -0
- 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,73 @@
|
|
|
1
|
+
import { a as p, n as l } from "./createStyled-BzvgQjjR.js";
|
|
2
|
+
import { c as d } from "./createSvgIcon-DEXLbMwp.js";
|
|
3
|
+
import { C as _ } from "./styled-LNCprp4n.js";
|
|
4
|
+
import { c as g, u as v } from "./useId-BHG98T5I.js";
|
|
5
|
+
import { r as b } from "./requirePropFactory-BjhhI-AW.js";
|
|
6
|
+
import { s as h, u as E, b as N, a as C, c as I } from "./ButtonBase-D0qccOVb.js";
|
|
7
|
+
import { d as S } from "./debounce-46wSf_lW.js";
|
|
8
|
+
import { i as x } from "./isMuiElement-CxT3_ACP.js";
|
|
9
|
+
import { o as y } from "./ownerDocument-CUrv0DIK.js";
|
|
10
|
+
import { o as q } from "./ownerWindow-niciwP7I.js";
|
|
11
|
+
import { u as $ } from "./unsupportedProp-BuVD30Gh.js";
|
|
12
|
+
import { u as D } from "./useControlled-BYdyS7Pn.js";
|
|
13
|
+
function M(e, t) {
|
|
14
|
+
return process.env.NODE_ENV === "production" ? () => null : (r, a, u, i, c) => {
|
|
15
|
+
const m = u || "<<anonymous>>", f = c || a;
|
|
16
|
+
return typeof r[a] < "u" ? new Error(`The ${i} \`${f}\` of \`${m}\` is deprecated. ${t}`) : null;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
var n = { exports: {} };
|
|
20
|
+
(function(e) {
|
|
21
|
+
function t(r) {
|
|
22
|
+
return r && r.__esModule ? r : {
|
|
23
|
+
default: r
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
|
|
27
|
+
})(n);
|
|
28
|
+
var B = n.exports, o = {};
|
|
29
|
+
const O = {
|
|
30
|
+
configure: (e) => {
|
|
31
|
+
process.env.NODE_ENV !== "production" && console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.", "", "You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead", "", "The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401", "", "The updated documentation: https://mui.com/guides/classname-generator/"].join(`
|
|
32
|
+
`)), _.configure(e);
|
|
33
|
+
}
|
|
34
|
+
}, P = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
35
|
+
__proto__: null,
|
|
36
|
+
capitalize: p,
|
|
37
|
+
createChainedFunction: g,
|
|
38
|
+
createSvgIcon: d,
|
|
39
|
+
debounce: S,
|
|
40
|
+
deprecatedPropType: M,
|
|
41
|
+
isMuiElement: x,
|
|
42
|
+
ownerDocument: y,
|
|
43
|
+
ownerWindow: q,
|
|
44
|
+
requirePropFactory: b,
|
|
45
|
+
setRef: h,
|
|
46
|
+
unstable_ClassNameGenerator: O,
|
|
47
|
+
unstable_useEnhancedEffect: E,
|
|
48
|
+
unstable_useId: v,
|
|
49
|
+
unsupportedProp: $,
|
|
50
|
+
useControlled: D,
|
|
51
|
+
useEventCallback: N,
|
|
52
|
+
useForkRef: C,
|
|
53
|
+
useIsFocusVisible: I
|
|
54
|
+
}, Symbol.toStringTag, { value: "Module" })), R = /* @__PURE__ */ l(P);
|
|
55
|
+
var s;
|
|
56
|
+
function H() {
|
|
57
|
+
return s || (s = 1, function(e) {
|
|
58
|
+
"use client";
|
|
59
|
+
Object.defineProperty(e, "__esModule", {
|
|
60
|
+
value: !0
|
|
61
|
+
}), Object.defineProperty(e, "default", {
|
|
62
|
+
enumerable: !0,
|
|
63
|
+
get: function() {
|
|
64
|
+
return t.createSvgIcon;
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
var t = R;
|
|
68
|
+
}(o)), o;
|
|
69
|
+
}
|
|
70
|
+
export {
|
|
71
|
+
B as i,
|
|
72
|
+
H as r
|
|
73
|
+
};
|
|
@@ -1,63 +1,36 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { jsxs as
|
|
4
|
-
import { a as
|
|
5
|
-
import { g as
|
|
6
|
-
import { g as
|
|
7
|
-
function F({
|
|
8
|
-
controlled: e,
|
|
9
|
-
default: t,
|
|
10
|
-
name: n,
|
|
11
|
-
state: r = "value"
|
|
12
|
-
}) {
|
|
13
|
-
const {
|
|
14
|
-
current: i
|
|
15
|
-
} = l.useRef(e !== void 0), [f, c] = l.useState(t), a = i ? e : f;
|
|
16
|
-
if (process.env.NODE_ENV !== "production") {
|
|
17
|
-
l.useEffect(() => {
|
|
18
|
-
i !== (e !== void 0) && console.error([`MUI: A component is changing the ${i ? "" : "un"}controlled ${r} state of ${n} to be ${i ? "un" : ""}controlled.`, "Elements should not switch from uncontrolled to controlled (or vice versa).", `Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`, "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.", "More info: https://fb.me/react-controlled-components"].join(`
|
|
19
|
-
`));
|
|
20
|
-
}, [r, n, e]);
|
|
21
|
-
const {
|
|
22
|
-
current: s
|
|
23
|
-
} = l.useRef(t);
|
|
24
|
-
l.useEffect(() => {
|
|
25
|
-
!i && !Object.is(s, t) && console.error([`MUI: A component is changing the default ${r} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join(`
|
|
26
|
-
`));
|
|
27
|
-
}, [JSON.stringify(t)]);
|
|
28
|
-
}
|
|
29
|
-
const u = l.useCallback((s) => {
|
|
30
|
-
i || c(s);
|
|
31
|
-
}, []);
|
|
32
|
-
return [a, u];
|
|
33
|
-
}
|
|
1
|
+
import { a as I, _ as $ } from "./objectWithoutPropertiesLoose-BK36oJDi.js";
|
|
2
|
+
import * as _ from "react";
|
|
3
|
+
import { jsxs as b, jsx as w } from "react/jsx-runtime";
|
|
4
|
+
import { a as y, P as o } from "./createStyled-BzvgQjjR.js";
|
|
5
|
+
import { g as T, u as N, c as C, a as R } from "./useThemeProps-uYx_RkOH.js";
|
|
6
|
+
import { g as O, s as B } from "./styled-LNCprp4n.js";
|
|
34
7
|
function j(e) {
|
|
35
|
-
return
|
|
8
|
+
return O("MuiSvgIcon", e);
|
|
36
9
|
}
|
|
37
|
-
|
|
38
|
-
const
|
|
10
|
+
T("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
|
|
11
|
+
const E = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"], M = (e) => {
|
|
39
12
|
const {
|
|
40
13
|
color: t,
|
|
41
14
|
fontSize: n,
|
|
42
|
-
classes:
|
|
43
|
-
} = e,
|
|
44
|
-
root: ["root", t !== "inherit" && `color${
|
|
15
|
+
classes: i
|
|
16
|
+
} = e, r = {
|
|
17
|
+
root: ["root", t !== "inherit" && `color${y(t)}`, `fontSize${y(n)}`]
|
|
45
18
|
};
|
|
46
|
-
return
|
|
47
|
-
},
|
|
19
|
+
return R(r, j, i);
|
|
20
|
+
}, V = B("svg", {
|
|
48
21
|
name: "MuiSvgIcon",
|
|
49
22
|
slot: "Root",
|
|
50
23
|
overridesResolver: (e, t) => {
|
|
51
24
|
const {
|
|
52
25
|
ownerState: n
|
|
53
26
|
} = e;
|
|
54
|
-
return [t.root, n.color !== "inherit" && t[`color${
|
|
27
|
+
return [t.root, n.color !== "inherit" && t[`color${y(n.color)}`], t[`fontSize${y(n.fontSize)}`]];
|
|
55
28
|
}
|
|
56
29
|
})(({
|
|
57
30
|
theme: e,
|
|
58
31
|
ownerState: t
|
|
59
32
|
}) => {
|
|
60
|
-
var n,
|
|
33
|
+
var n, i, r, f, a, c, p, v, s, l, d, g, m, u, h, x, z;
|
|
61
34
|
return {
|
|
62
35
|
userSelect: "none",
|
|
63
36
|
width: "1em",
|
|
@@ -65,62 +38,62 @@ const V = ["children", "className", "color", "component", "fontSize", "htmlColor
|
|
|
65
38
|
display: "inline-block",
|
|
66
39
|
fill: "currentColor",
|
|
67
40
|
flexShrink: 0,
|
|
68
|
-
transition: (n = e.transitions) == null || (
|
|
69
|
-
duration: (
|
|
41
|
+
transition: (n = e.transitions) == null || (i = n.create) == null ? void 0 : i.call(n, "fill", {
|
|
42
|
+
duration: (r = e.transitions) == null || (f = r.duration) == null ? void 0 : f.shorter
|
|
70
43
|
}),
|
|
71
44
|
fontSize: {
|
|
72
45
|
inherit: "inherit",
|
|
73
|
-
small: ((
|
|
74
|
-
medium: ((
|
|
75
|
-
large: ((
|
|
46
|
+
small: ((a = e.typography) == null || (c = a.pxToRem) == null ? void 0 : c.call(a, 20)) || "1.25rem",
|
|
47
|
+
medium: ((p = e.typography) == null || (v = p.pxToRem) == null ? void 0 : v.call(p, 24)) || "1.5rem",
|
|
48
|
+
large: ((s = e.typography) == null || (l = s.pxToRem) == null ? void 0 : l.call(s, 35)) || "2.1875rem"
|
|
76
49
|
}[t.fontSize],
|
|
77
50
|
// TODO v5 deprecate, v6 remove for sx
|
|
78
|
-
color: (
|
|
79
|
-
action: (
|
|
80
|
-
disabled: (x = (e.vars || e).palette) == null || (
|
|
51
|
+
color: (d = (g = (e.vars || e).palette) == null || (m = g[t.color]) == null ? void 0 : m.main) != null ? d : {
|
|
52
|
+
action: (u = (e.vars || e).palette) == null || (h = u.action) == null ? void 0 : h.active,
|
|
53
|
+
disabled: (x = (e.vars || e).palette) == null || (z = x.action) == null ? void 0 : z.disabled,
|
|
81
54
|
inherit: void 0
|
|
82
55
|
}[t.color]
|
|
83
56
|
};
|
|
84
|
-
}),
|
|
85
|
-
const
|
|
57
|
+
}), S = /* @__PURE__ */ _.forwardRef(function(t, n) {
|
|
58
|
+
const i = N({
|
|
86
59
|
props: t,
|
|
87
60
|
name: "MuiSvgIcon"
|
|
88
61
|
}), {
|
|
89
|
-
children:
|
|
62
|
+
children: r,
|
|
90
63
|
className: f,
|
|
91
|
-
color:
|
|
92
|
-
component:
|
|
93
|
-
fontSize:
|
|
94
|
-
htmlColor:
|
|
95
|
-
inheritViewBox:
|
|
96
|
-
titleAccess:
|
|
97
|
-
viewBox:
|
|
98
|
-
} =
|
|
99
|
-
color:
|
|
100
|
-
component:
|
|
101
|
-
fontSize:
|
|
64
|
+
color: a = "inherit",
|
|
65
|
+
component: c = "svg",
|
|
66
|
+
fontSize: p = "medium",
|
|
67
|
+
htmlColor: v,
|
|
68
|
+
inheritViewBox: s = !1,
|
|
69
|
+
titleAccess: l,
|
|
70
|
+
viewBox: d = "0 0 24 24"
|
|
71
|
+
} = i, g = I(i, E), m = $({}, i, {
|
|
72
|
+
color: a,
|
|
73
|
+
component: c,
|
|
74
|
+
fontSize: p,
|
|
102
75
|
instanceFontSize: t.fontSize,
|
|
103
|
-
inheritViewBox:
|
|
104
|
-
viewBox:
|
|
105
|
-
}),
|
|
106
|
-
|
|
107
|
-
const
|
|
108
|
-
return /* @__PURE__ */
|
|
109
|
-
as:
|
|
110
|
-
className: C(
|
|
76
|
+
inheritViewBox: s,
|
|
77
|
+
viewBox: d
|
|
78
|
+
}), u = {};
|
|
79
|
+
s || (u.viewBox = d);
|
|
80
|
+
const h = M(m);
|
|
81
|
+
return /* @__PURE__ */ b(V, $({
|
|
82
|
+
as: c,
|
|
83
|
+
className: C(h.root, f),
|
|
111
84
|
focusable: "false",
|
|
112
|
-
color:
|
|
113
|
-
"aria-hidden":
|
|
114
|
-
role:
|
|
85
|
+
color: v,
|
|
86
|
+
"aria-hidden": l ? void 0 : !0,
|
|
87
|
+
role: l ? "img" : void 0,
|
|
115
88
|
ref: n
|
|
116
|
-
},
|
|
117
|
-
ownerState:
|
|
118
|
-
children: [
|
|
119
|
-
children:
|
|
89
|
+
}, u, g, {
|
|
90
|
+
ownerState: m,
|
|
91
|
+
children: [r, l ? /* @__PURE__ */ w("title", {
|
|
92
|
+
children: l
|
|
120
93
|
}) : null]
|
|
121
94
|
}));
|
|
122
95
|
});
|
|
123
|
-
process.env.NODE_ENV !== "production" && (
|
|
96
|
+
process.env.NODE_ENV !== "production" && (S.propTypes = {
|
|
124
97
|
// ----------------------------- Warning --------------------------------
|
|
125
98
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
126
99
|
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
@@ -192,19 +165,18 @@ process.env.NODE_ENV !== "production" && ($.propTypes = {
|
|
|
192
165
|
*/
|
|
193
166
|
viewBox: o.string
|
|
194
167
|
});
|
|
195
|
-
|
|
196
|
-
function
|
|
197
|
-
function n(
|
|
198
|
-
return /* @__PURE__ */ w(
|
|
168
|
+
S.muiName = "SvgIcon";
|
|
169
|
+
function L(e, t) {
|
|
170
|
+
function n(i, r) {
|
|
171
|
+
return /* @__PURE__ */ w(S, $({
|
|
199
172
|
"data-testid": `${t}Icon`,
|
|
200
|
-
ref:
|
|
201
|
-
},
|
|
173
|
+
ref: r
|
|
174
|
+
}, i, {
|
|
202
175
|
children: e
|
|
203
176
|
}));
|
|
204
177
|
}
|
|
205
|
-
return process.env.NODE_ENV !== "production" && (n.displayName = `${t}Icon`), n.muiName =
|
|
178
|
+
return process.env.NODE_ENV !== "production" && (n.displayName = `${t}Icon`), n.muiName = S.muiName, /* @__PURE__ */ _.memo(/* @__PURE__ */ _.forwardRef(n));
|
|
206
179
|
}
|
|
207
180
|
export {
|
|
208
|
-
|
|
209
|
-
F as u
|
|
181
|
+
L as c
|
|
210
182
|
};
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { jsx as s, jsxs as p } from "react/jsx-runtime";
|
|
2
|
+
import { confirmable as x } from "react-confirm";
|
|
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 } from "./DialogContent-CxOSq6h9.js";
|
|
6
|
+
import { a as j, _ as v } from "./objectWithoutPropertiesLoose-BK36oJDi.js";
|
|
7
|
+
import * as d from "react";
|
|
8
|
+
import { P as o } from "./createStyled-BzvgQjjR.js";
|
|
9
|
+
import { u as M, c as N, a as O } from "./useThemeProps-uYx_RkOH.js";
|
|
10
|
+
import { s as R } from "./styled-LNCprp4n.js";
|
|
11
|
+
import { T as P } from "./Typography-Bm7PFqUT.js";
|
|
12
|
+
import { B as m } from "./Button-DLwB_sKd.js";
|
|
13
|
+
const _ = ["className", "id"], k = (a) => {
|
|
14
|
+
const {
|
|
15
|
+
classes: t
|
|
16
|
+
} = a;
|
|
17
|
+
return O({
|
|
18
|
+
root: ["root"]
|
|
19
|
+
}, T, t);
|
|
20
|
+
}, w = R(P, {
|
|
21
|
+
name: "MuiDialogTitle",
|
|
22
|
+
slot: "Root",
|
|
23
|
+
overridesResolver: (a, t) => t.root
|
|
24
|
+
})({
|
|
25
|
+
padding: "16px 24px",
|
|
26
|
+
flex: "0 0 auto"
|
|
27
|
+
}), u = /* @__PURE__ */ d.forwardRef(function(t, r) {
|
|
28
|
+
const i = M({
|
|
29
|
+
props: t,
|
|
30
|
+
name: "MuiDialogTitle"
|
|
31
|
+
}), {
|
|
32
|
+
className: e,
|
|
33
|
+
id: n
|
|
34
|
+
} = i, l = j(i, _), c = i, f = k(c), {
|
|
35
|
+
titleId: g = n
|
|
36
|
+
} = d.useContext(D);
|
|
37
|
+
return /* @__PURE__ */ s(w, v({
|
|
38
|
+
component: "h2",
|
|
39
|
+
className: N(f.root, e),
|
|
40
|
+
ownerState: c,
|
|
41
|
+
ref: r,
|
|
42
|
+
variant: "h6",
|
|
43
|
+
id: n ?? g
|
|
44
|
+
}, l));
|
|
45
|
+
});
|
|
46
|
+
process.env.NODE_ENV !== "production" && (u.propTypes = {
|
|
47
|
+
// ----------------------------- Warning --------------------------------
|
|
48
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
49
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
50
|
+
// ----------------------------------------------------------------------
|
|
51
|
+
/**
|
|
52
|
+
* The content of the component.
|
|
53
|
+
*/
|
|
54
|
+
children: o.node,
|
|
55
|
+
/**
|
|
56
|
+
* Override or extend the styles applied to the component.
|
|
57
|
+
*/
|
|
58
|
+
classes: o.object,
|
|
59
|
+
/**
|
|
60
|
+
* @ignore
|
|
61
|
+
*/
|
|
62
|
+
className: o.string,
|
|
63
|
+
/**
|
|
64
|
+
* @ignore
|
|
65
|
+
*/
|
|
66
|
+
id: o.string,
|
|
67
|
+
/**
|
|
68
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
69
|
+
*/
|
|
70
|
+
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
|
|
71
|
+
});
|
|
72
|
+
const A = {
|
|
73
|
+
confirmButtonText: "OK",
|
|
74
|
+
cancelButtonText: "Cancel",
|
|
75
|
+
disableCancelButton: !1
|
|
76
|
+
}, I = ({
|
|
77
|
+
show: a = !0,
|
|
78
|
+
proceed: t = () => {
|
|
79
|
+
},
|
|
80
|
+
title: r,
|
|
81
|
+
description: i,
|
|
82
|
+
options: e
|
|
83
|
+
}) => {
|
|
84
|
+
e = { ...A, ...e };
|
|
85
|
+
const n = () => {
|
|
86
|
+
t(!1);
|
|
87
|
+
}, l = () => {
|
|
88
|
+
t(!1);
|
|
89
|
+
}, c = () => {
|
|
90
|
+
t(!0);
|
|
91
|
+
};
|
|
92
|
+
return /* @__PURE__ */ p(
|
|
93
|
+
b,
|
|
94
|
+
{
|
|
95
|
+
open: a,
|
|
96
|
+
onClose: n,
|
|
97
|
+
"aria-labelledby": "dialog-title",
|
|
98
|
+
"aria-describedby": "dialog-description",
|
|
99
|
+
sx: {
|
|
100
|
+
"& .MuiDialog-paper": {
|
|
101
|
+
borderRadius: 3
|
|
102
|
+
},
|
|
103
|
+
"& .MuiDialogTitle-root": {
|
|
104
|
+
px: 4,
|
|
105
|
+
py: 3
|
|
106
|
+
},
|
|
107
|
+
"& .MuiDialogContent-root": {
|
|
108
|
+
p: 4,
|
|
109
|
+
pt: 0
|
|
110
|
+
},
|
|
111
|
+
"& .MuiDialogActions-root": {
|
|
112
|
+
p: 4,
|
|
113
|
+
background: "#0439910A"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
children: [
|
|
117
|
+
/* @__PURE__ */ p(
|
|
118
|
+
u,
|
|
119
|
+
{
|
|
120
|
+
id: "dialog-title",
|
|
121
|
+
sx: {
|
|
122
|
+
display: "flex",
|
|
123
|
+
justifyContent: "space-between",
|
|
124
|
+
alignItems: "center"
|
|
125
|
+
},
|
|
126
|
+
children: [
|
|
127
|
+
r,
|
|
128
|
+
/* @__PURE__ */ s(h, { onClick: l, children: /* @__PURE__ */ s(C, {}) })
|
|
129
|
+
]
|
|
130
|
+
}
|
|
131
|
+
),
|
|
132
|
+
/* @__PURE__ */ s(y, { sx: { minWidth: 400 }, children: i }),
|
|
133
|
+
/* @__PURE__ */ p(B, { children: [
|
|
134
|
+
!e.disableCancelButton && /* @__PURE__ */ s(m, { color: "inherit", onClick: l, children: e.cancelButtonText }),
|
|
135
|
+
/* @__PURE__ */ s(
|
|
136
|
+
m,
|
|
137
|
+
{
|
|
138
|
+
variant: "contained",
|
|
139
|
+
color: "primary",
|
|
140
|
+
onClick: c,
|
|
141
|
+
autoFocus: !0,
|
|
142
|
+
children: e.confirmButtonText
|
|
143
|
+
}
|
|
144
|
+
)
|
|
145
|
+
] })
|
|
146
|
+
]
|
|
147
|
+
}
|
|
148
|
+
);
|
|
149
|
+
}, G = x(I);
|
|
150
|
+
export {
|
|
151
|
+
u as D,
|
|
152
|
+
G as a
|
|
153
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as a } from "./createStyled-
|
|
2
|
-
import { b as p } from "./useThemeProps-
|
|
3
|
-
import { _ as f } from "./
|
|
1
|
+
import { P as a } from "./createStyled-BzvgQjjR.js";
|
|
2
|
+
import { b as p } from "./useThemeProps-uYx_RkOH.js";
|
|
3
|
+
import { _ as f } from "./objectWithoutPropertiesLoose-BK36oJDi.js";
|
|
4
4
|
function m(e) {
|
|
5
5
|
const {
|
|
6
6
|
prototype: n = {}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { a, _ as i } from "./objectWithoutPropertiesLoose-BK36oJDi.js";
|
|
2
|
+
import { k as c, m as f } from "./createStyled-BzvgQjjR.js";
|
|
3
|
+
const x = ["sx"], m = (t) => {
|
|
4
|
+
var s, n;
|
|
5
|
+
const o = {
|
|
6
|
+
systemProps: {},
|
|
7
|
+
otherProps: {}
|
|
8
|
+
}, r = (s = t == null || (n = t.theme) == null ? void 0 : n.unstable_sxConfig) != null ? s : c;
|
|
9
|
+
return Object.keys(t).forEach((e) => {
|
|
10
|
+
r[e] ? o.systemProps[e] = t[e] : o.otherProps[e] = t[e];
|
|
11
|
+
}), o;
|
|
12
|
+
};
|
|
13
|
+
function y(t) {
|
|
14
|
+
const {
|
|
15
|
+
sx: s
|
|
16
|
+
} = t, n = a(t, x), {
|
|
17
|
+
systemProps: o,
|
|
18
|
+
otherProps: r
|
|
19
|
+
} = m(n);
|
|
20
|
+
let e;
|
|
21
|
+
return Array.isArray(s) ? e = [o, ...s] : typeof s == "function" ? e = (...u) => {
|
|
22
|
+
const l = s(...u);
|
|
23
|
+
return f(l) ? i({}, o, l) : o;
|
|
24
|
+
} : e = i({}, o, s), i({}, r, {
|
|
25
|
+
sx: e
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
y as e
|
|
30
|
+
};
|
|
@@ -2,11 +2,12 @@ import { jsx as T, jsxs as re } from "react/jsx-runtime";
|
|
|
2
2
|
import ye from "./components/treeview-filter/item-label/index.js";
|
|
3
3
|
import se from "lodash";
|
|
4
4
|
import * as l from "react";
|
|
5
|
-
import { c as ie, g as xe, u as Ie, a as Te } from "./useThemeProps-
|
|
6
|
-
import { P as n } from "./createStyled-
|
|
7
|
-
import { u as Ee, a as he, e as De } from "./ButtonBase-
|
|
8
|
-
import { g as ve, s as W, a as $ } from "./styled-
|
|
9
|
-
import { C as ce
|
|
5
|
+
import { c as ie, g as xe, u as Ie, a as Te } from "./useThemeProps-uYx_RkOH.js";
|
|
6
|
+
import { P as n } from "./createStyled-BzvgQjjR.js";
|
|
7
|
+
import { u as Ee, a as he, e as De } from "./ButtonBase-D0qccOVb.js";
|
|
8
|
+
import { g as ve, s as W, a as $ } from "./styled-LNCprp4n.js";
|
|
9
|
+
import { C as ce } from "./Collapse-CL6LGGZw.js";
|
|
10
|
+
import { u as Ne } from "./unsupportedProp-BuVD30Gh.js";
|
|
10
11
|
import { o as Oe } from "./ownerDocument-CUrv0DIK.js";
|
|
11
12
|
const z = /* @__PURE__ */ l.createContext({});
|
|
12
13
|
process.env.NODE_ENV !== "production" && (z.displayName = "TreeViewContext");
|