@hybridcore/ui 1.5.66 → 1.5.69
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-B8pD_s9h.js → DialogContent-WDuguvBY.js} +1 -1
- package/dist/{Modal-DpmJpbob.js → Modal-Csc9jNOg.js} +22 -22
- package/dist/{Select-DuyWoyoF.js → Select-BQ4C15bt.js} +1 -1
- package/dist/{TextField-CdKnj6de.js → TextField-Db_pNPbv.js} +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/components/confirm/dialog.js +2 -2
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/geometry-picker/map/index.js +1 -1
- 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/map/index.js +1 -1
- package/dist/components/paginated-list/index.js +90 -0
- package/dist/components/phone-input/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/{dialog-C7_6_FBz.js → dialog-D6oTCUrm.js} +1 -1
- package/dist/{index-B6DDeKlQ.js → index-BmlSd3mA.js} +2 -2
- package/dist/{index-DlnzUkwe.js → index-JrtqxUdI.js} +1 -1
- package/dist/{index-CNMnXD0q.js → index-R_b1ETBe.js} +4 -4
- package/dist/main.d.ts +66 -0
- package/dist/main.js +97 -95
- package/dist/{property-list-form-D77cAJ24.js → property-list-form-B7SCqmD0.js} +27 -21
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ import { s as m } from "./styled-DkqItiLo.js";
|
|
|
6
6
|
import { g as y } from "./createTheme-DVoJnXAT.js";
|
|
7
7
|
import { u as q } from "./useTheme-B6oa3v5u.js";
|
|
8
8
|
import { jsx as p } from "react/jsx-runtime";
|
|
9
|
-
import { B as G, M as J, F as Q } from "./Modal-
|
|
9
|
+
import { B as G, M as J, F as Q } from "./Modal-Csc9jNOg.js";
|
|
10
10
|
import { P as O } from "./Paper-DRRYGupP.js";
|
|
11
11
|
import { u as Z } from "./useId-BHG98T5I.js";
|
|
12
12
|
function oo(e) {
|
|
@@ -14,31 +14,21 @@ import { o as ie } from "./ownerWindow-niciwP7I.js";
|
|
|
14
14
|
import { c as me } from "./useId-BHG98T5I.js";
|
|
15
15
|
import { i as Ne } from "./isHostComponent-kiaBvYVo.js";
|
|
16
16
|
import * as $e from "react-dom";
|
|
17
|
-
function
|
|
18
|
-
if (process.env.NODE_ENV === "production")
|
|
19
|
-
return null;
|
|
20
|
-
const s = o[n], l = i || n;
|
|
21
|
-
return s == null ? null : s && s.nodeType !== 1 ? new Error(`Invalid ${t} \`${l}\` supplied to \`${r}\`. Expected an HTMLElement.`) : null;
|
|
22
|
-
}
|
|
23
|
-
function Ue(o) {
|
|
24
|
-
const n = o.documentElement.clientWidth;
|
|
25
|
-
return Math.abs(window.innerWidth - n);
|
|
26
|
-
}
|
|
27
|
-
function Ke(o, n, r) {
|
|
17
|
+
function Ue(o, n, r) {
|
|
28
18
|
return o === void 0 || Ne(o) ? n : b({}, n, {
|
|
29
19
|
ownerState: b({}, n.ownerState, r)
|
|
30
20
|
});
|
|
31
21
|
}
|
|
32
|
-
const
|
|
22
|
+
const Ke = {
|
|
33
23
|
disableDefaultClasses: !1
|
|
34
|
-
},
|
|
35
|
-
function
|
|
24
|
+
}, Ve = /* @__PURE__ */ a.createContext(Ke);
|
|
25
|
+
function We(o) {
|
|
36
26
|
const {
|
|
37
27
|
disableDefaultClasses: n
|
|
38
|
-
} = a.useContext(
|
|
28
|
+
} = a.useContext(Ve);
|
|
39
29
|
return (r) => n ? "" : o(r);
|
|
40
30
|
}
|
|
41
|
-
function
|
|
31
|
+
function qe(o, n = []) {
|
|
42
32
|
if (o === void 0)
|
|
43
33
|
return {};
|
|
44
34
|
const r = {};
|
|
@@ -49,6 +39,16 @@ function ze(o, n = []) {
|
|
|
49
39
|
function re(o, n) {
|
|
50
40
|
return typeof o == "function" ? o(n) : o;
|
|
51
41
|
}
|
|
42
|
+
function le(o, n, r, t, i) {
|
|
43
|
+
if (process.env.NODE_ENV === "production")
|
|
44
|
+
return null;
|
|
45
|
+
const s = o[n], l = i || n;
|
|
46
|
+
return s == null ? null : s && s.nodeType !== 1 ? new Error(`Invalid ${t} \`${l}\` supplied to \`${r}\`. Expected an HTMLElement.`) : null;
|
|
47
|
+
}
|
|
48
|
+
function ze(o) {
|
|
49
|
+
const n = o.documentElement.clientWidth;
|
|
50
|
+
return Math.abs(window.innerWidth - n);
|
|
51
|
+
}
|
|
52
52
|
function Se(o) {
|
|
53
53
|
var n, r, t = "";
|
|
54
54
|
if (typeof o == "string" || typeof o == "number") t += o;
|
|
@@ -83,7 +83,7 @@ function Ye(o) {
|
|
|
83
83
|
internalRef: void 0
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
|
-
const l =
|
|
86
|
+
const l = qe(b({}, i, t)), c = he(t), u = he(i), f = n(l), T = be(f == null ? void 0 : f.className, r == null ? void 0 : r.className, s, i == null ? void 0 : i.className, t == null ? void 0 : t.className), y = b({}, f == null ? void 0 : f.style, r == null ? void 0 : r.style, i == null ? void 0 : i.style, t == null ? void 0 : t.style), h = b({}, f, r, u, c);
|
|
87
87
|
return T.length > 0 && (h.className = T), Object.keys(y).length > 0 && (h.style = y), {
|
|
88
88
|
props: h,
|
|
89
89
|
internalRef: f.ref
|
|
@@ -102,7 +102,7 @@ function ye(o) {
|
|
|
102
102
|
} = Ye(b({}, s, {
|
|
103
103
|
externalSlotProps: l
|
|
104
104
|
})), f = z(u, l == null ? void 0 : l.ref, (n = o.additionalProps) == null ? void 0 : n.ref);
|
|
105
|
-
return
|
|
105
|
+
return Ue(r, b({}, c, {
|
|
106
106
|
ref: f
|
|
107
107
|
}), i);
|
|
108
108
|
}
|
|
@@ -357,7 +357,7 @@ function so(o, n) {
|
|
|
357
357
|
const r = [], t = o.container;
|
|
358
358
|
if (!n.disableScrollLock) {
|
|
359
359
|
if (to(t)) {
|
|
360
|
-
const l =
|
|
360
|
+
const l = ze(H(t));
|
|
361
361
|
r.push({
|
|
362
362
|
value: t.style.paddingRight,
|
|
363
363
|
property: "padding-right",
|
|
@@ -461,7 +461,7 @@ const co = ["children", "closeAfterTransition", "component", "container", "disab
|
|
|
461
461
|
return Te({
|
|
462
462
|
root: ["root", !n && r && "hidden"],
|
|
463
463
|
backdrop: ["backdrop"]
|
|
464
|
-
},
|
|
464
|
+
}, We(ao));
|
|
465
465
|
};
|
|
466
466
|
function fo(o) {
|
|
467
467
|
return typeof o == "function" ? o() : o;
|
|
@@ -1276,9 +1276,9 @@ export {
|
|
|
1276
1276
|
le as H,
|
|
1277
1277
|
Po as M,
|
|
1278
1278
|
X as P,
|
|
1279
|
-
|
|
1279
|
+
We as a,
|
|
1280
1280
|
Z as b,
|
|
1281
|
-
|
|
1281
|
+
ze as g,
|
|
1282
1282
|
re as r,
|
|
1283
1283
|
ye as u
|
|
1284
1284
|
};
|
|
@@ -7,7 +7,7 @@ import { s as V, r as Oe, a as yn } from "./styled-DkqItiLo.js";
|
|
|
7
7
|
import { u as Qe } from "./useTheme-B6oa3v5u.js";
|
|
8
8
|
import { g as ue } from "./createTheme-DVoJnXAT.js";
|
|
9
9
|
import { jsx as k, jsxs as Ze } from "react/jsx-runtime";
|
|
10
|
-
import { g as En, M as Pn, H as Me } from "./Modal-
|
|
10
|
+
import { g as En, M as Pn, H as Me } from "./Modal-Csc9jNOg.js";
|
|
11
11
|
import { P as en, i as On } from "./Paper-DRRYGupP.js";
|
|
12
12
|
import { u as Rn, a as pe, r as Re, e as Cn } from "./ButtonBase-CgQC8DUB.js";
|
|
13
13
|
import { o as ae } from "./ownerDocument-CUrv0DIK.js";
|
|
@@ -7,7 +7,7 @@ import { g as V } from "./createTheme-DVoJnXAT.js";
|
|
|
7
7
|
import { jsx as p, jsxs as le } from "react/jsx-runtime";
|
|
8
8
|
import { f as ie, F as ae, I as de } from "./InputLabel-ClDXuWBr.js";
|
|
9
9
|
import { u as ce } from "./useId-BHG98T5I.js";
|
|
10
|
-
import { S as ue, F as pe } from "./Select-
|
|
10
|
+
import { S as ue, F as pe } from "./Select-BQ4C15bt.js";
|
|
11
11
|
import { u as fe } from "./useFormControl-CatNKXAi.js";
|
|
12
12
|
import { r as me } from "./ButtonBase-CgQC8DUB.js";
|
|
13
13
|
import { I as be } from "./Input-BAbDr3Tk.js";
|
package/dist/assets/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--
|
|
1
|
+
:root,:host{--ol-background-color: white;--ol-accent-background-color: #F5F5F5;--ol-subtle-background-color: rgba(128, 128, 128, .25);--ol-partial-background-color: rgba(255, 255, 255, .75);--ol-foreground-color: #333333;--ol-subtle-foreground-color: #666666;--ol-brand-color: #00AAFF}.ol-box{box-sizing:border-box;border-radius:2px;border:1.5px solid var(--ol-background-color);background-color:var(--ol-partial-background-color)}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:var(--ol-partial-background-color);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid var(--ol-subtle-foreground-color);border-top:none;color:var(--ol-foreground-color);font-size:10px;text-align:center;margin:1px;will-change:contents,width;transition:all .25s}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-bar-inner{display:flex}.ol-scale-step-marker{width:1px;height:15px;background-color:var(--ol-foreground-color);float:right;z-index:10}.ol-scale-step-text{position:absolute;bottom:-5px;font-size:10px;z-index:11;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-text{position:absolute;font-size:12px;text-align:center;bottom:25px;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-singlebar{position:relative;height:10px;z-index:9;box-sizing:border-box;border:1px solid var(--ol-foreground-color)}.ol-scale-singlebar-even{background-color:var(--ol-subtle-foreground-color)}.ol-scale-singlebar-odd{background-color:var(--ol-background-color)}.ol-unsupported{display:none}.ol-viewport,.ol-unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.ol-viewport canvas{all:unset}.ol-viewport{touch-action:none}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.ol-control{position:absolute;background-color:var(--ol-subtle-background-color);border-radius:4px}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:1px;padding:0;color:var(--ol-subtle-foreground-color);font-weight:700;text-decoration:none;font-size:inherit;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:var(--ol-background-color);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:hover,.ol-control button:focus{text-decoration:none;outline:1px solid var(--ol-subtle-foreground-color);color:var(--ol-foreground-color)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em);display:flex;flex-flow:row-reverse;align-items:center}.ol-attribution a{color:var(--ol-subtle-foreground-color);text-decoration:none}.ol-attribution ul{margin:0;padding:1px .5em;color:var(--ol-foreground-color);text-shadow:0 0 2px var(--ol-background-color);font-size:12px}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button{flex-shrink:0}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:var(--ol-partial-background-color)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:block}.ol-overviewmap .ol-overviewmap-map{border:1px solid var(--ol-subtle-foreground-color);height:150px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:0;left:0;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:var(--ol-subtle-background-color)}.ol-overviewmap-box{border:1.5px dotted var(--ol-subtle-foreground-color)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}
|
package/dist/assets/index2.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root
|
|
1
|
+
:root{--PhoneInput-color--focus: #03b2cb;--PhoneInputInternationalIconPhone-opacity: .8;--PhoneInputInternationalIconGlobe-opacity: .65;--PhoneInputCountrySelect-marginRight: .35em;--PhoneInputCountrySelectArrow-width: .3em;--PhoneInputCountrySelectArrow-marginLeft: var(--PhoneInputCountrySelect-marginRight);--PhoneInputCountrySelectArrow-borderWidth: 1px;--PhoneInputCountrySelectArrow-opacity: .45;--PhoneInputCountrySelectArrow-color: currentColor;--PhoneInputCountrySelectArrow-color--focus: var(--PhoneInput-color--focus);--PhoneInputCountrySelectArrow-transform: rotate(45deg);--PhoneInputCountryFlag-aspectRatio: 1.5;--PhoneInputCountryFlag-height: 1em;--PhoneInputCountryFlag-borderWidth: 1px;--PhoneInputCountryFlag-borderColor: rgba(0,0,0,.5);--PhoneInputCountryFlag-borderColor--focus: var(--PhoneInput-color--focus);--PhoneInputCountryFlag-backgroundColor--loading: rgba(0,0,0,.1)}.PhoneInput{display:flex;align-items:center}.PhoneInputInput{flex:1;min-width:0}.PhoneInputCountryIcon{width:calc(var(--PhoneInputCountryFlag-height) * var(--PhoneInputCountryFlag-aspectRatio));height:var(--PhoneInputCountryFlag-height)}.PhoneInputCountryIcon--square{width:var(--PhoneInputCountryFlag-height)}.PhoneInputCountryIcon--border{background-color:var(--PhoneInputCountryFlag-backgroundColor--loading);box-shadow:0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor),inset 0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor)}.PhoneInputCountryIconImg{display:block;width:100%;height:100%}.PhoneInputInternationalIconPhone{opacity:var(--PhoneInputInternationalIconPhone-opacity)}.PhoneInputInternationalIconGlobe{opacity:var(--PhoneInputInternationalIconGlobe-opacity)}.PhoneInputCountry{position:relative;align-self:stretch;display:flex;align-items:center;margin-right:var(--PhoneInputCountrySelect-marginRight)}.PhoneInputCountrySelect{position:absolute;top:0;left:0;height:100%;width:100%;z-index:1;border:0;opacity:0;cursor:pointer}.PhoneInputCountrySelect[disabled],.PhoneInputCountrySelect[readonly]{cursor:default}.PhoneInputCountrySelectArrow{display:block;content:"";width:var(--PhoneInputCountrySelectArrow-width);height:var(--PhoneInputCountrySelectArrow-width);margin-left:var(--PhoneInputCountrySelectArrow-marginLeft);border-style:solid;border-color:var(--PhoneInputCountrySelectArrow-color);border-top-width:0;border-bottom-width:var(--PhoneInputCountrySelectArrow-borderWidth);border-left-width:0;border-right-width:var(--PhoneInputCountrySelectArrow-borderWidth);transform:var(--PhoneInputCountrySelectArrow-transform);opacity:var(--PhoneInputCountrySelectArrow-opacity)}.PhoneInputCountrySelect:focus+.PhoneInputCountryIcon+.PhoneInputCountrySelectArrow{opacity:1;color:var(--PhoneInputCountrySelectArrow-color--focus)}.PhoneInputCountrySelect:focus+.PhoneInputCountryIcon--border{box-shadow:0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor--focus),inset 0 0 0 var(--PhoneInputCountryFlag-borderWidth) var(--PhoneInputCountryFlag-borderColor--focus)}.PhoneInputCountrySelect:focus+.PhoneInputCountryIcon .PhoneInputInternationalIconGlobe{opacity:1;color:var(--PhoneInputCountrySelectArrow-color--focus)}
|
|
@@ -2,8 +2,8 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react-confirm";
|
|
3
3
|
import "@mui/material";
|
|
4
4
|
import "@mui/icons-material";
|
|
5
|
-
import "../../DialogContent-
|
|
6
|
-
import { a as f } from "../../dialog-
|
|
5
|
+
import "../../DialogContent-WDuguvBY.js";
|
|
6
|
+
import { a as f } from "../../dialog-D6oTCUrm.js";
|
|
7
7
|
import "../../Button-jy67CcTH.js";
|
|
8
8
|
export {
|
|
9
9
|
f as default
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as s, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import n from "react";
|
|
3
|
-
import { O as u } from "../../../index-
|
|
3
|
+
import { O as u } from "../../../index-JrtqxUdI.js";
|
|
4
4
|
import d from "./logic.js";
|
|
5
5
|
import { Box as m } from "@mui/material";
|
|
6
6
|
import { ContextMenu as p } from "../../context-menu/index.js";
|
|
@@ -6,7 +6,7 @@ import "lodash";
|
|
|
6
6
|
import "react";
|
|
7
7
|
import "../../../../hooks/useToggle.js";
|
|
8
8
|
import "../../../conditional-wrapper/index.js";
|
|
9
|
-
import { C as s } from "../../../../index-
|
|
9
|
+
import { C as s } from "../../../../index-BmlSd3mA.js";
|
|
10
10
|
import "./styled.js";
|
|
11
11
|
export {
|
|
12
12
|
s as default
|
|
@@ -3,18 +3,18 @@ import "@mui/icons-material";
|
|
|
3
3
|
import "@mui/material";
|
|
4
4
|
import "dayjs";
|
|
5
5
|
import "lodash";
|
|
6
|
-
import { V as j } from "../../../../index-
|
|
6
|
+
import { V as j } from "../../../../index-BmlSd3mA.js";
|
|
7
7
|
import "../../../date-time-picker/index.js";
|
|
8
8
|
import "../../../geometry-picker/index.js";
|
|
9
9
|
import "../../../phone-input/index.js";
|
|
10
10
|
import "../../../conditional-wrapper/index.js";
|
|
11
11
|
import "../TopLabelWrapper.js";
|
|
12
12
|
import "../../../../Box-SSMZuKnS.js";
|
|
13
|
-
import "../../../../TextField-
|
|
13
|
+
import "../../../../TextField-Db_pNPbv.js";
|
|
14
14
|
import "../../../../FormControlLabel-BNT5EI0b.js";
|
|
15
15
|
import "../../../../Checkbox-B0P8LhCl.js";
|
|
16
16
|
import "../../../../InputLabel-ClDXuWBr.js";
|
|
17
|
-
import "../../../../Select-
|
|
17
|
+
import "../../../../Select-BQ4C15bt.js";
|
|
18
18
|
import "../../../../MenuItem-Lcjh1XlV.js";
|
|
19
19
|
export {
|
|
20
20
|
j as default
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as u, Fragment as I, jsxs as _ } from "react/jsx-runtime";
|
|
2
2
|
import b from "react";
|
|
3
|
-
import { V as g } from "../../../../index-
|
|
3
|
+
import { V as g } from "../../../../index-BmlSd3mA.js";
|
|
4
4
|
import p from "lodash";
|
|
5
5
|
import { Box as i } from "@mui/material";
|
|
6
6
|
function C({
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { jsxs as s, jsx as t, Fragment as i } from "react/jsx-runtime";
|
|
2
|
+
import { List as S, Box as E, Divider as l, ListItem as I, ListItemText as O, Typography as C, Button as P, TablePagination as j } from "@mui/material";
|
|
3
|
+
import k from "lodash";
|
|
4
|
+
import { useState as c } from "react";
|
|
5
|
+
import { Container as z } from "../container/index.js";
|
|
6
|
+
const A = [5, 10, 25, 50];
|
|
7
|
+
function U({
|
|
8
|
+
title: h,
|
|
9
|
+
data: a = [],
|
|
10
|
+
payload: n,
|
|
11
|
+
totalCount: m,
|
|
12
|
+
onChange: o
|
|
13
|
+
}) {
|
|
14
|
+
const [x, p] = c(0), [u, w] = c(5), [v, d] = c([]), f = (n == null ? void 0 : n.pageNumber) !== void 0 ? n.pageNumber : x, g = (n == null ? void 0 : n.rows) !== void 0 ? n.rows : u, L = (e, r) => {
|
|
15
|
+
p(r), o && o({ ...n, pageNumber: r, rows: g });
|
|
16
|
+
}, b = (e) => {
|
|
17
|
+
const r = parseInt(e.target.value, 10);
|
|
18
|
+
w(r), p(0), o && o({ ...n, pageNumber: 0, rows: r });
|
|
19
|
+
}, R = (e) => () => {
|
|
20
|
+
d((r) => [...r, e]);
|
|
21
|
+
}, T = (e) => () => {
|
|
22
|
+
d((r) => r.filter((N) => N !== e));
|
|
23
|
+
}, _ = o ? m || 0 : a.length;
|
|
24
|
+
return /* @__PURE__ */ s(
|
|
25
|
+
z,
|
|
26
|
+
{
|
|
27
|
+
title: h,
|
|
28
|
+
headerSx: {
|
|
29
|
+
py: 2,
|
|
30
|
+
px: 3
|
|
31
|
+
},
|
|
32
|
+
contentSx: { p: "0px !important" },
|
|
33
|
+
children: [
|
|
34
|
+
/* @__PURE__ */ t(S, { disablePadding: !0, children: a.map((e, r) => /* @__PURE__ */ s(E, { children: [
|
|
35
|
+
r === 0 && /* @__PURE__ */ t(l, { component: "li" }),
|
|
36
|
+
/* @__PURE__ */ t(I, { children: /* @__PURE__ */ t(
|
|
37
|
+
O,
|
|
38
|
+
{
|
|
39
|
+
primary: e.title,
|
|
40
|
+
secondaryTypographyProps: {
|
|
41
|
+
component: "div"
|
|
42
|
+
},
|
|
43
|
+
secondary: /* @__PURE__ */ t(i, { children: /* @__PURE__ */ t(C, { variant: "body2", children: v.includes(e.id) ? /* @__PURE__ */ s(i, { children: [
|
|
44
|
+
e.description,
|
|
45
|
+
/* @__PURE__ */ t(
|
|
46
|
+
P,
|
|
47
|
+
{
|
|
48
|
+
variant: "text",
|
|
49
|
+
size: "small",
|
|
50
|
+
sx: { py: 0, px: 1 },
|
|
51
|
+
onClick: T(e.id),
|
|
52
|
+
children: "show less"
|
|
53
|
+
}
|
|
54
|
+
)
|
|
55
|
+
] }) : /* @__PURE__ */ s(i, { children: [
|
|
56
|
+
k.truncate(e.description, { length: 100 }),
|
|
57
|
+
e.description && e.description.length > 100 && /* @__PURE__ */ t(
|
|
58
|
+
P,
|
|
59
|
+
{
|
|
60
|
+
variant: "text",
|
|
61
|
+
size: "small",
|
|
62
|
+
sx: { py: 0, px: 1 },
|
|
63
|
+
onClick: R(e.id),
|
|
64
|
+
children: "read more"
|
|
65
|
+
}
|
|
66
|
+
)
|
|
67
|
+
] }) }) })
|
|
68
|
+
}
|
|
69
|
+
) }),
|
|
70
|
+
/* @__PURE__ */ t(l, { component: "li" })
|
|
71
|
+
] }, e.id || r)) }),
|
|
72
|
+
/* @__PURE__ */ t(
|
|
73
|
+
j,
|
|
74
|
+
{
|
|
75
|
+
component: "div",
|
|
76
|
+
count: _,
|
|
77
|
+
page: f,
|
|
78
|
+
rowsPerPage: g,
|
|
79
|
+
rowsPerPageOptions: A,
|
|
80
|
+
onPageChange: L,
|
|
81
|
+
onRowsPerPageChange: b
|
|
82
|
+
}
|
|
83
|
+
)
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
);
|
|
87
|
+
}
|
|
88
|
+
export {
|
|
89
|
+
U as PaginatedList
|
|
90
|
+
};
|
|
@@ -2,7 +2,7 @@ import { jsxs as m, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import p from "react-phone-number-input";
|
|
3
3
|
import { Typography as i } from "@mui/material";
|
|
4
4
|
import { Container as a } from "./styled.js";
|
|
5
|
-
import '../../assets/
|
|
5
|
+
import '../../assets/index2.css';const u = ({
|
|
6
6
|
label: n,
|
|
7
7
|
value: o,
|
|
8
8
|
placeholder: e,
|
|
@@ -5,7 +5,7 @@ import { DataGrid as fe } from "@mui/x-data-grid";
|
|
|
5
5
|
import { useState as G, useEffect as ue } from "react";
|
|
6
6
|
import h from "lodash";
|
|
7
7
|
import { d as ye } from "../../ol-lGwSyEIV.js";
|
|
8
|
-
import { V as he } from "../../index-
|
|
8
|
+
import { V as he } from "../../index-BmlSd3mA.js";
|
|
9
9
|
import { RangeSelector as me } from "../range-selector/index.js";
|
|
10
10
|
const $e = ({
|
|
11
11
|
open: F,
|
|
@@ -3,7 +3,7 @@ import { Box as f, TextField as u } from "@mui/material";
|
|
|
3
3
|
import x from "../number-range/index.js";
|
|
4
4
|
import I from "../string-range/index.js";
|
|
5
5
|
import C from "../geometry-range/index.js";
|
|
6
|
-
import { D as c } from "../../../../index-
|
|
6
|
+
import { D as c } from "../../../../index-R_b1ETBe.js";
|
|
7
7
|
function j({
|
|
8
8
|
value: n,
|
|
9
9
|
innerType: e,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t, Fragment as a } from "react/jsx-runtime";
|
|
2
2
|
import n from "lodash";
|
|
3
3
|
import f from "./components/composite-list-range/index.js";
|
|
4
|
-
import { D as g } from "../../index-
|
|
4
|
+
import { D as g } from "../../index-R_b1ETBe.js";
|
|
5
5
|
import u from "./components/geometry-range/index.js";
|
|
6
6
|
import l from "./components/number-range/index.js";
|
|
7
7
|
import s from "./components/string-range/index.js";
|
|
@@ -2,13 +2,13 @@ import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { DataGrid as d } from "@mui/x-data-grid";
|
|
3
3
|
import { A as n, a as m, d as s } from "../../../../Add-Cjs72ewI.js";
|
|
4
4
|
import p from "./property-list-columns.js";
|
|
5
|
-
import { a as c } from "../../../../property-list-form-
|
|
5
|
+
import { a as c } from "../../../../property-list-form-B7SCqmD0.js";
|
|
6
6
|
import u from "./property-list-logic.js";
|
|
7
7
|
import { B as f } from "../../../../Box-SSMZuKnS.js";
|
|
8
8
|
import { T as y } from "../../../../Typography-CLq43OVQ.js";
|
|
9
9
|
import { B as h } from "../../../../Button-jy67CcTH.js";
|
|
10
|
-
import { D as g, a as b } from "../../../../DialogContent-
|
|
11
|
-
import { D } from "../../../../dialog-
|
|
10
|
+
import { D as g, a as b } from "../../../../DialogContent-WDuguvBY.js";
|
|
11
|
+
import { D } from "../../../../dialog-D6oTCUrm.js";
|
|
12
12
|
function v(t) {
|
|
13
13
|
var a;
|
|
14
14
|
const { state: o, action: r } = u(t);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "lodash";
|
|
4
|
-
import { a as b } from "../../../../property-list-form-
|
|
4
|
+
import { a as b } from "../../../../property-list-form-B7SCqmD0.js";
|
|
5
5
|
import "../../../../constants/index.js";
|
|
6
|
-
import "../../../../TextField-
|
|
6
|
+
import "../../../../TextField-Db_pNPbv.js";
|
|
7
7
|
import "../../../../InputLabel-ClDXuWBr.js";
|
|
8
|
-
import "../../../../Select-
|
|
8
|
+
import "../../../../Select-BQ4C15bt.js";
|
|
9
9
|
import "../../../../MenuItem-Lcjh1XlV.js";
|
|
10
10
|
import "../../../../FormControlLabel-BNT5EI0b.js";
|
|
11
11
|
import "../../../../Checkbox-B0P8LhCl.js";
|
|
@@ -7,8 +7,8 @@ import p from "./recognition-property-list-logic.js";
|
|
|
7
7
|
import { B as g } from "../../../../Box-SSMZuKnS.js";
|
|
8
8
|
import { T as u } from "../../../../Typography-CLq43OVQ.js";
|
|
9
9
|
import { B as h } from "../../../../Button-jy67CcTH.js";
|
|
10
|
-
import { D as f, a as y } from "../../../../DialogContent-
|
|
11
|
-
import { D as b } from "../../../../dialog-
|
|
10
|
+
import { D as f, a as y } from "../../../../DialogContent-WDuguvBY.js";
|
|
11
|
+
import { D as b } from "../../../../dialog-D6oTCUrm.js";
|
|
12
12
|
function L(i) {
|
|
13
13
|
const { state: l, action: t } = p(i);
|
|
14
14
|
return /* @__PURE__ */ r(g, { children: [
|
|
@@ -3,9 +3,9 @@ import o from "react";
|
|
|
3
3
|
import { r as C, i as g } from "../../../../createSvgIcon-CsckVnG-.js";
|
|
4
4
|
import { RECOGNITION_PROPERTY_OWNER_TYPE as h, RECOGNITION_PROPERTY_TYPE as T, RECOGNITION_PROPERTY_TERM_MATCH as v } from "../../../../constants/index.js";
|
|
5
5
|
import { F as c, I as u } from "../../../../InputLabel-ClDXuWBr.js";
|
|
6
|
-
import { S as d } from "../../../../Select-
|
|
6
|
+
import { S as d } from "../../../../Select-BQ4C15bt.js";
|
|
7
7
|
import { M as m } from "../../../../MenuItem-Lcjh1XlV.js";
|
|
8
|
-
import { T as b } from "../../../../TextField-
|
|
8
|
+
import { T as b } from "../../../../TextField-Db_pNPbv.js";
|
|
9
9
|
import { B as M } from "../../../../Box-SSMZuKnS.js";
|
|
10
10
|
import { B as y } from "../../../../Button-jy67CcTH.js";
|
|
11
11
|
var p = {}, q = g;
|
|
@@ -9,8 +9,8 @@ import { FormLabel as L, Button as g } from "@mui/material";
|
|
|
9
9
|
import { getNestedChildrenFromMap as _ } from "../../utils/ontology.js";
|
|
10
10
|
import { TreeSelect as w } from "../tree-select/index.js";
|
|
11
11
|
import A from "./components/select-icon/index.js";
|
|
12
|
-
import { T as m } from "../../TextField-
|
|
13
|
-
import { F as h } from "../../property-list-form-
|
|
12
|
+
import { T as m } from "../../TextField-Db_pNPbv.js";
|
|
13
|
+
import { F as h } from "../../property-list-form-B7SCqmD0.js";
|
|
14
14
|
import { F as d } from "../../FormControlLabel-BNT5EI0b.js";
|
|
15
15
|
import { C as c } from "../../Checkbox-B0P8LhCl.js";
|
|
16
16
|
import { B as p } from "../../Box-SSMZuKnS.js";
|
|
@@ -5,7 +5,7 @@ import { KeyboardArrowUp as z, KeyboardArrowDown as L } from "@mui/icons-materia
|
|
|
5
5
|
import { Typography as f, FormLabel as P, FormGroup as D, Button as W } from "@mui/material";
|
|
6
6
|
import { DatePicker as C } from "@mui/x-date-pickers";
|
|
7
7
|
import { B as d } from "../../Box-SSMZuKnS.js";
|
|
8
|
-
import { T as b } from "../../TextField-
|
|
8
|
+
import { T as b } from "../../TextField-Db_pNPbv.js";
|
|
9
9
|
import { F as O } from "../../FormControlLabel-BNT5EI0b.js";
|
|
10
10
|
import { C as k } from "../../Checkbox-B0P8LhCl.js";
|
|
11
11
|
import { F as B } from "../../InputLabel-ClDXuWBr.js";
|
|
@@ -4,9 +4,9 @@ import { TreeViewFilter as _ } from "../treeview-filter/index.js";
|
|
|
4
4
|
import s from "lodash";
|
|
5
5
|
import { flattenNestedTemplates as b } from "../../utils/ontology.js";
|
|
6
6
|
import { F as A, I as M } from "../../InputLabel-ClDXuWBr.js";
|
|
7
|
-
import { S as j } from "../../Select-
|
|
7
|
+
import { S as j } from "../../Select-BQ4C15bt.js";
|
|
8
8
|
import { M as B } from "../../MenuItem-Lcjh1XlV.js";
|
|
9
|
-
import { D as k, a as w, b as L } from "../../DialogContent-
|
|
9
|
+
import { D as k, a as w, b as L } from "../../DialogContent-WDuguvBY.js";
|
|
10
10
|
import { B as N } from "../../Button-jy67CcTH.js";
|
|
11
11
|
const U = ({
|
|
12
12
|
data: m,
|
|
@@ -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-WDuguvBY.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";
|
|
@@ -11,11 +11,11 @@ import { GeometryPicker as me } from "./components/geometry-picker/index.js";
|
|
|
11
11
|
import { PhoneInput as he } from "./components/phone-input/index.js";
|
|
12
12
|
import S from "./components/instance-form/components/TopLabelWrapper.js";
|
|
13
13
|
import { B as h } from "./Box-SSMZuKnS.js";
|
|
14
|
-
import { T as H } from "./TextField-
|
|
14
|
+
import { T as H } from "./TextField-Db_pNPbv.js";
|
|
15
15
|
import { F as ue } from "./FormControlLabel-BNT5EI0b.js";
|
|
16
16
|
import { C as re } from "./Checkbox-B0P8LhCl.js";
|
|
17
17
|
import { F as oe, I as se } from "./InputLabel-ClDXuWBr.js";
|
|
18
|
-
import { S as Ie } from "./Select-
|
|
18
|
+
import { S as Ie } from "./Select-BQ4C15bt.js";
|
|
19
19
|
import { M as fe } from "./MenuItem-Lcjh1XlV.js";
|
|
20
20
|
import { Container as ge, Values as we, MiniButton as xe } from "./components/instance-form/components/composite-list/styled.js";
|
|
21
21
|
function Ce({
|
|
@@ -2,7 +2,7 @@ import { jsx as n } from "react/jsx-runtime";
|
|
|
2
2
|
import o from "react";
|
|
3
3
|
import f from "./components/map/logic.js";
|
|
4
4
|
import a from "./components/map/styled.js";
|
|
5
|
-
import './assets/
|
|
5
|
+
import './assets/index.css';const l = (e, i) => {
|
|
6
6
|
var t, r;
|
|
7
7
|
const { refs: s, action: m } = f(e);
|
|
8
8
|
return o.useImperativeHandle(i, () => m), /* @__PURE__ */ n(
|
|
@@ -19,17 +19,17 @@ import { T as Ke } from "./Typography-CLq43OVQ.js";
|
|
|
19
19
|
import { u as ft } from "./useTheme-B6oa3v5u.js";
|
|
20
20
|
import { e as Kr } from "./extendSxProp-BmK2hLmq.js";
|
|
21
21
|
import { B as vt } from "./Button-jy67CcTH.js";
|
|
22
|
-
import { P as Gr, H as _t, u as Ce, a as Qr, F as mo, b as Zr, r as gn } from "./Modal-
|
|
22
|
+
import { P as Gr, H as _t, u as Ce, a as Qr, F as mo, b as Zr, r as gn } from "./Modal-Csc9jNOg.js";
|
|
23
23
|
import { f as Xr, T as yn, c as Jr } from "./utils-BRsEqTye.js";
|
|
24
24
|
import { u as Fe } from "./useControlled-BYdyS7Pn.js";
|
|
25
25
|
import { I as Rt } from "./IconButton-DekcZv4i.js";
|
|
26
26
|
import { u as zt } from "./useId-BHG98T5I.js";
|
|
27
|
-
import { T as ea } from "./TextField-
|
|
27
|
+
import { T as ea } from "./TextField-Db_pNPbv.js";
|
|
28
28
|
import { o as wt } from "./ownerDocument-CUrv0DIK.js";
|
|
29
29
|
import { P as ta } from "./Paper-DRRYGupP.js";
|
|
30
|
-
import { G as oa } from "./Select-
|
|
30
|
+
import { G as oa } from "./Select-BQ4C15bt.js";
|
|
31
31
|
import { I as na } from "./InputAdornment-BAVRrRts.js";
|
|
32
|
-
import { D as ra, d as jo, a as aa, b as sa } from "./DialogContent-
|
|
32
|
+
import { D as ra, d as jo, a as aa, b as sa } from "./DialogContent-WDuguvBY.js";
|
|
33
33
|
import { a as ia } from "./List-CNeRnfGL.js";
|
|
34
34
|
import { L as la } from "./ListItem-N_dSd02S.js";
|
|
35
35
|
const ca = (e, t = "warning") => {
|
package/dist/main.d.ts
CHANGED
|
@@ -627,6 +627,16 @@ declare interface OptionsType {
|
|
|
627
627
|
|
|
628
628
|
declare type OrientationType_2 = "portrait" | "landscape";
|
|
629
629
|
|
|
630
|
+
export declare function PaginatedList({ title, data, payload, totalCount, onChange, }: PaginatedListProps): JSX_2.Element;
|
|
631
|
+
|
|
632
|
+
export declare interface PaginatedListProps {
|
|
633
|
+
title?: string;
|
|
634
|
+
data: API.Object[];
|
|
635
|
+
totalCount?: number;
|
|
636
|
+
payload?: Partial<FV.SearchDTO>;
|
|
637
|
+
onChange?: (params: Partial<FV.SearchDTO>) => void;
|
|
638
|
+
}
|
|
639
|
+
|
|
630
640
|
export declare const PhoneInput: React.FC<Props_9>;
|
|
631
641
|
|
|
632
642
|
export declare const PropertyFilterInput: FC<PropertyProps>;
|
|
@@ -1631,6 +1641,62 @@ declare namespace INSTANCE {
|
|
|
1631
1641
|
| INSTANCE.System;
|
|
1632
1642
|
}
|
|
1633
1643
|
|
|
1644
|
+
declare namespace API {
|
|
1645
|
+
interface ObjectOntology {
|
|
1646
|
+
id: number;
|
|
1647
|
+
templateKey: string;
|
|
1648
|
+
name: string;
|
|
1649
|
+
description: string;
|
|
1650
|
+
type: string;
|
|
1651
|
+
ontologyId: number;
|
|
1652
|
+
parent: string;
|
|
1653
|
+
icon: string;
|
|
1654
|
+
properties: Property[];
|
|
1655
|
+
version: any;
|
|
1656
|
+
creatable: boolean;
|
|
1657
|
+
editable: boolean;
|
|
1658
|
+
stationary: boolean;
|
|
1659
|
+
agentReferenceIds: number[];
|
|
1660
|
+
|
|
1661
|
+
// UI Spesific fields
|
|
1662
|
+
childrenKeys?: string[];
|
|
1663
|
+
children?: ObjectOntology[];
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1666
|
+
interface Object {
|
|
1667
|
+
id: number;
|
|
1668
|
+
title: string;
|
|
1669
|
+
description: string;
|
|
1670
|
+
template: Template;
|
|
1671
|
+
templateHierarchy?: Template[];
|
|
1672
|
+
variables: GroupedVariables;
|
|
1673
|
+
profileImageUrl?: string;
|
|
1674
|
+
createDate?: string;
|
|
1675
|
+
createUser?: string;
|
|
1676
|
+
updateDate?: string;
|
|
1677
|
+
updateUser?: string;
|
|
1678
|
+
securityLevelId: number;
|
|
1679
|
+
disseminationList: string[];
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
interface Property {
|
|
1683
|
+
id?: number;
|
|
1684
|
+
propertyId: string;
|
|
1685
|
+
name: string;
|
|
1686
|
+
type: string;
|
|
1687
|
+
defaultValue: string;
|
|
1688
|
+
dataTypeInfo?: DataTypeInfo;
|
|
1689
|
+
privacyPreservationMethod?: string;
|
|
1690
|
+
required: boolean;
|
|
1691
|
+
visible: boolean;
|
|
1692
|
+
editable: boolean;
|
|
1693
|
+
temporal: boolean;
|
|
1694
|
+
unique: boolean;
|
|
1695
|
+
distinctive: boolean;
|
|
1696
|
+
calculationTypes?: CalculationType[];
|
|
1697
|
+
}
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1634
1700
|
declare namespace ONTOLOGY {
|
|
1635
1701
|
type CalculationType =
|
|
1636
1702
|
| "SUM"
|
package/dist/main.js
CHANGED
|
@@ -1,43 +1,44 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
1
|
+
import { ThemeProvider as Ht, createTheme as Ft } from "@mui/material";
|
|
2
|
+
import { LocalizationProvider as It } from "@mui/x-date-pickers";
|
|
3
|
+
import { Access as Pt } from "./components/access/index.js";
|
|
4
|
+
import { b as $t } from "./helpers-DaCoWmi2.js";
|
|
5
|
+
import { Card as Et } from "./components/card/index.js";
|
|
6
|
+
import { CardAlternate as zt } from "./components/card-alternate/index.js";
|
|
7
|
+
import { CollapsibleCard as Nt } from "./components/collapsible-card/index.js";
|
|
8
|
+
import { ConditionalWrapper as Vt } from "./components/conditional-wrapper/index.js";
|
|
9
|
+
import { alert as qt, confirm as Gt } from "./components/confirm/index.js";
|
|
10
|
+
import { Container as Qt } from "./components/container/index.js";
|
|
11
|
+
import { ContextMenu as Xt } from "./components/context-menu/index.js";
|
|
12
|
+
import { DisseminationList as ee } from "./components/data-security-selectors/dissemination-list/index.js";
|
|
13
|
+
import { SecurityLevel as se } from "./components/data-security-selectors/security-level/index.js";
|
|
14
|
+
import { DateTimePicker as oe } from "./components/date-time-picker/index.js";
|
|
15
|
+
import { DocumentViewer as ie } from "./components/document-viewer/index.js";
|
|
16
|
+
import { GeometryPicker as de } from "./components/geometry-picker/index.js";
|
|
17
|
+
import { IconButton as ce } from "./components/icon-button/index.js";
|
|
18
|
+
import { InstanceForm as me } from "./components/instance-form/index.js";
|
|
19
|
+
import { InstanceHierarchyTable as pe } from "./components/instance-hierarchy-table/index.js";
|
|
20
|
+
import { InstanceTable as Me } from "./components/instance-table/index.js";
|
|
21
|
+
import { InstanceVariableList as De } from "./components/instance-variable-list/index.js";
|
|
22
|
+
import { KeyProtectionMenu as Ye } from "./components/key-protection/menu.js";
|
|
23
|
+
import { S as Te } from "./utils-Bq0ye5vf.js";
|
|
24
|
+
import { LinearIndicator as ke } from "./components/linear-indicator/index.js";
|
|
25
|
+
import { Loading as Oe } from "./components/loading/index.js";
|
|
26
|
+
import { i as Se } from "./index-JrtqxUdI.js";
|
|
27
|
+
import { PaginatedList as He } from "./components/paginated-list/index.js";
|
|
28
|
+
import { PhoneInput as Be } from "./components/phone-input/index.js";
|
|
29
|
+
import { SearchInput as Ce } from "./components/search-input/index.js";
|
|
30
|
+
import { Tabs as je } from "./components/tabs/index.js";
|
|
31
|
+
import { TemplateFilters as We } from "./components/template-filters/index.js";
|
|
32
|
+
import { TemplateForm as Ue } from "./components/template-form/index.js";
|
|
33
|
+
import { TemplatePropertyFilters as Ze } from "./components/template-property-filters/index.js";
|
|
34
|
+
import { Property as Je } from "./components/template-property-filters/property.js";
|
|
35
|
+
import { TreeSelect as _e } from "./components/tree-select/index.js";
|
|
36
|
+
import { TreeViewFilter as Ge } from "./components/treeview-filter/index.js";
|
|
37
|
+
import { Uploader as Qe } from "./components/uploader/index.js";
|
|
37
38
|
import { a as dt } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
|
|
38
39
|
import I from "dayjs";
|
|
39
40
|
import { h as U, j as z } from "./createTheme-DrgvKMA_.js";
|
|
40
|
-
import { b as ut } from "./index-
|
|
41
|
+
import { b as ut } from "./index-R_b1ETBe.js";
|
|
41
42
|
var tt = { exports: {} };
|
|
42
43
|
(function(l, x) {
|
|
43
44
|
(function(f, c) {
|
|
@@ -129,23 +130,23 @@ var et = { exports: {} };
|
|
|
129
130
|
return v || S.slice(1);
|
|
130
131
|
});
|
|
131
132
|
})).match(c), g = u.length, Y = 0; Y < g; Y += 1) {
|
|
132
|
-
var C = u[Y], O = Z[C],
|
|
133
|
-
u[Y] =
|
|
133
|
+
var C = u[Y], O = Z[C], L = O && O[0], T = O && O[1];
|
|
134
|
+
u[Y] = T ? { regex: L, parser: T } : C.replace(/^\[|\]$/g, "");
|
|
134
135
|
}
|
|
135
136
|
return function(b) {
|
|
136
137
|
for (var w = {}, M = 0, y = 0; M < g; M += 1) {
|
|
137
138
|
var k = u[M];
|
|
138
139
|
if (typeof k == "string") y += k.length;
|
|
139
140
|
else {
|
|
140
|
-
var v = k.regex, S = k.parser,
|
|
141
|
+
var v = k.regex, S = k.parser, P = b.slice(y), B = v.exec(P)[0];
|
|
141
142
|
S.call(w, B), b = b.replace(B, "");
|
|
142
143
|
}
|
|
143
144
|
}
|
|
144
145
|
return function(A) {
|
|
145
|
-
var
|
|
146
|
-
if (
|
|
146
|
+
var j = A.afternoon;
|
|
147
|
+
if (j !== void 0) {
|
|
147
148
|
var m = A.hours;
|
|
148
|
-
|
|
149
|
+
j ? m < 12 && (A.hours += 12) : m === 12 && (A.hours = 0), delete A.afternoon;
|
|
149
150
|
}
|
|
150
151
|
}(w), w;
|
|
151
152
|
};
|
|
@@ -154,25 +155,25 @@ var et = { exports: {} };
|
|
|
154
155
|
d.p.customParseFormat = !0, r && r.parseTwoDigitYear && (i = r.parseTwoDigitYear);
|
|
155
156
|
var u = h.prototype, g = u.parse;
|
|
156
157
|
u.parse = function(Y) {
|
|
157
|
-
var C = Y.date, O = Y.utc,
|
|
158
|
+
var C = Y.date, O = Y.utc, L = Y.args;
|
|
158
159
|
this.$u = O;
|
|
159
|
-
var
|
|
160
|
-
if (typeof
|
|
161
|
-
var b =
|
|
162
|
-
w && (y =
|
|
160
|
+
var T = L[1];
|
|
161
|
+
if (typeof T == "string") {
|
|
162
|
+
var b = L[2] === !0, w = L[3] === !0, M = b || w, y = L[2];
|
|
163
|
+
w && (y = L[2]), n = this.$locale(), !b && y && (n = d.Ls[y]), this.$d = function(P, B, A, j) {
|
|
163
164
|
try {
|
|
164
|
-
if (["x", "X"].indexOf(B) > -1) return new Date((B === "X" ? 1e3 : 1) *
|
|
165
|
-
var m = F(B)(
|
|
165
|
+
if (["x", "X"].indexOf(B) > -1) return new Date((B === "X" ? 1e3 : 1) * P);
|
|
166
|
+
var m = F(B)(P), N = m.year, $ = m.month, nt = m.day, ot = m.hours, at = m.minutes, it = m.seconds, ht = m.milliseconds, R = m.zone, X = m.week, J = /* @__PURE__ */ new Date(), V = nt || (N || $ ? 1 : J.getDate()), _ = N || J.getFullYear(), W = 0;
|
|
166
167
|
N && !$ || (W = $ > 0 ? $ - 1 : J.getMonth());
|
|
167
168
|
var E, q = ot || 0, G = at || 0, K = it || 0, Q = ht || 0;
|
|
168
|
-
return R ? new Date(Date.UTC(_, W, V, q, G, K, Q + 60 * R.offset * 1e3)) : A ? new Date(Date.UTC(_, W, V, q, G, K, Q)) : (E = new Date(_, W, V, q, G, K, Q), X && (E =
|
|
169
|
+
return R ? new Date(Date.UTC(_, W, V, q, G, K, Q + 60 * R.offset * 1e3)) : A ? new Date(Date.UTC(_, W, V, q, G, K, Q)) : (E = new Date(_, W, V, q, G, K, Q), X && (E = j(E).week(X).toDate()), E);
|
|
169
170
|
} catch {
|
|
170
171
|
return /* @__PURE__ */ new Date("");
|
|
171
172
|
}
|
|
172
|
-
}(C,
|
|
173
|
-
} else if (
|
|
174
|
-
|
|
175
|
-
var S = d.apply(this,
|
|
173
|
+
}(C, T, O, d), this.init(), y && y !== !0 && (this.$L = this.locale(y).$L), M && C != this.format(T) && (this.$d = /* @__PURE__ */ new Date("")), n = {};
|
|
174
|
+
} else if (T instanceof Array) for (var k = T.length, v = 1; v <= k; v += 1) {
|
|
175
|
+
L[1] = T[v - 1];
|
|
176
|
+
var S = d.apply(this, L);
|
|
176
177
|
if (S.isValid()) {
|
|
177
178
|
this.$d = S.$d, this.$L = S.$L, this.init();
|
|
178
179
|
break;
|
|
@@ -339,7 +340,7 @@ const Dt = ut(["Your locale has not been found.", "Either the locale key is not
|
|
|
339
340
|
keyboardDateTime: "L LT",
|
|
340
341
|
keyboardDateTime12h: "L hh:mm A",
|
|
341
342
|
keyboardDateTime24h: "L HH:mm"
|
|
342
|
-
},
|
|
343
|
+
}, Lt = (l, x) => x ? (...f) => l(...f).locale(x) : l;
|
|
343
344
|
class bt {
|
|
344
345
|
constructor({
|
|
345
346
|
locale: x,
|
|
@@ -385,47 +386,48 @@ class bt {
|
|
|
385
386
|
for (; i.isBefore(o); )
|
|
386
387
|
n.push(i), i = i.add(1, "year");
|
|
387
388
|
return n;
|
|
388
|
-
}, this.getMeridiemText = (t) => t === "am" ? "AM" : "PM", this.rawDayJsInstance = c || I, this.dayjs =
|
|
389
|
+
}, this.getMeridiemText = (t) => t === "am" ? "AM" : "PM", this.rawDayJsInstance = c || I, this.dayjs = Lt(this.rawDayJsInstance, x), this.locale = x, this.formats = dt({}, Yt, f), I.extend(ft);
|
|
389
390
|
}
|
|
390
391
|
}
|
|
391
392
|
export {
|
|
392
|
-
|
|
393
|
-
|
|
393
|
+
Pt as Access,
|
|
394
|
+
$t as AccessUtils,
|
|
394
395
|
bt as AdapterDayjs,
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
396
|
+
Et as Card,
|
|
397
|
+
zt as CardAlternate,
|
|
398
|
+
Nt as CollapsibleCard,
|
|
399
|
+
Vt as ConditionalWrapper,
|
|
400
|
+
Qt as Container,
|
|
401
|
+
Xt as ContextMenu,
|
|
402
|
+
oe as DateTimePicker,
|
|
403
|
+
ee as DisseminationList,
|
|
404
|
+
ie as DocumentViewer,
|
|
405
|
+
de as GeometryPicker,
|
|
406
|
+
ce as IconButton,
|
|
407
|
+
me as InstanceForm,
|
|
408
|
+
pe as InstanceHierarchyTable,
|
|
409
|
+
Me as InstanceTable,
|
|
410
|
+
De as InstanceVariableList,
|
|
411
|
+
Te as KeyProductionUtils,
|
|
412
|
+
Ye as KeyProtectionMenu,
|
|
413
|
+
ke as LinearIndicator,
|
|
414
|
+
Oe as Loading,
|
|
415
|
+
It as LocalizationProvider,
|
|
416
|
+
Se as Map,
|
|
417
|
+
He as PaginatedList,
|
|
418
|
+
Be as PhoneInput,
|
|
419
|
+
Je as PropertyFilterInput,
|
|
420
|
+
Ce as SearchInput,
|
|
421
|
+
se as SecurityLevel,
|
|
422
|
+
je as Tabs,
|
|
423
|
+
We as TemplateFilters,
|
|
424
|
+
Ue as TemplateForm,
|
|
425
|
+
Ze as TemplatePropertyFilters,
|
|
426
|
+
Ht as ThemeProvider,
|
|
427
|
+
_e as TreeSelect,
|
|
428
|
+
Ge as TreeViewFilter,
|
|
429
|
+
Qe as Uploader,
|
|
430
|
+
qt as alert,
|
|
431
|
+
Gt as confirm,
|
|
432
|
+
Ft as createTheme
|
|
431
433
|
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import H, { jsx as t, jsxs as
|
|
1
|
+
import H, { jsx as t, jsxs as d, Fragment as K } from "react/jsx-runtime";
|
|
2
2
|
import * as J from "react";
|
|
3
3
|
import I from "react";
|
|
4
4
|
import Q from "lodash";
|
|
5
5
|
import { r as X, i as Z } from "./createSvgIcon-CsckVnG-.js";
|
|
6
6
|
import { DATA_TYPES as R, COORDINATE_FORMAT as ee, PRIVACY_PRESERVATION_METHOD as L } from "./constants/index.js";
|
|
7
|
-
import { T as w } from "./TextField-
|
|
7
|
+
import { T as w } from "./TextField-Db_pNPbv.js";
|
|
8
8
|
import { f as te, F as C, I as F } from "./InputLabel-ClDXuWBr.js";
|
|
9
|
-
import { S as _ } from "./Select-
|
|
9
|
+
import { S as _ } from "./Select-BQ4C15bt.js";
|
|
10
10
|
import { M as g } from "./MenuItem-Lcjh1XlV.js";
|
|
11
11
|
import { a as M, _ as re } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
|
|
12
12
|
import { P as n } from "./createTheme-DrgvKMA_.js";
|
|
13
13
|
import { g as ae, u as oe, c as le, a as ne } from "./useThemeProps-BlXpIqSE.js";
|
|
14
14
|
import { s as ie } from "./styled-DkqItiLo.js";
|
|
15
15
|
import { g as se } from "./createTheme-DVoJnXAT.js";
|
|
16
|
-
import { u as
|
|
16
|
+
import { u as me } from "./useFormControl-CatNKXAi.js";
|
|
17
17
|
import { F as p } from "./FormControlLabel-BNT5EI0b.js";
|
|
18
18
|
import { C as f } from "./Checkbox-B0P8LhCl.js";
|
|
19
19
|
import { B as ce } from "./Box-SSMZuKnS.js";
|
|
20
20
|
import { B as Y } from "./Button-jy67CcTH.js";
|
|
21
|
-
function
|
|
21
|
+
function de(a) {
|
|
22
22
|
return se("MuiFormGroup", a);
|
|
23
23
|
}
|
|
24
24
|
ae("MuiFormGroup", ["root", "row", "error"]);
|
|
@@ -30,7 +30,7 @@ const ue = ["className", "row"], pe = (a) => {
|
|
|
30
30
|
} = a;
|
|
31
31
|
return ne({
|
|
32
32
|
root: ["root", c && "row", s && "error"]
|
|
33
|
-
},
|
|
33
|
+
}, de, i);
|
|
34
34
|
}, fe = ie("div", {
|
|
35
35
|
name: "MuiFormGroup",
|
|
36
36
|
slot: "Root",
|
|
@@ -55,7 +55,7 @@ const ue = ["className", "row"], pe = (a) => {
|
|
|
55
55
|
}), {
|
|
56
56
|
className: h,
|
|
57
57
|
row: e = !1
|
|
58
|
-
} = s, y = re(s, ue), u =
|
|
58
|
+
} = s, y = re(s, ue), u = me(), b = te({
|
|
59
59
|
props: s,
|
|
60
60
|
muiFormControl: u,
|
|
61
61
|
states: ["error"]
|
|
@@ -130,15 +130,15 @@ function We({
|
|
|
130
130
|
}), o = (r) => {
|
|
131
131
|
var v, T;
|
|
132
132
|
const l = r.target.name;
|
|
133
|
-
let
|
|
134
|
-
if (e.type === "enum" && l === "dataTypeInfo.enumValues" && (
|
|
133
|
+
let m = r.target.type === "checkbox" ? r.target.checked : r.target.value;
|
|
134
|
+
if (e.type === "enum" && l === "dataTypeInfo.enumValues" && (m = m.split(",")), ((T = (v = e.dataTypeInfo) == null ? void 0 : v.innerType) == null ? void 0 : T.type) === "enum" && l === "dataTypeInfo.innerType.enumValues" && (m = m.split(",")), l.includes(".")) {
|
|
135
135
|
let x = { ...e };
|
|
136
|
-
Q.set(x, l,
|
|
136
|
+
Q.set(x, l, m), y(x);
|
|
137
137
|
return;
|
|
138
138
|
}
|
|
139
139
|
y((x) => ({
|
|
140
140
|
...x,
|
|
141
|
-
[l]:
|
|
141
|
+
[l]: m
|
|
142
142
|
}));
|
|
143
143
|
}, P = () => {
|
|
144
144
|
if (!e.name) {
|
|
@@ -149,15 +149,21 @@ function We({
|
|
|
149
149
|
};
|
|
150
150
|
return I.useEffect(() => (u.name && e.name && b({ ...u, name: !1 }), () => {
|
|
151
151
|
}), [e.name]), I.useEffect(() => {
|
|
152
|
-
if (![
|
|
152
|
+
if (![
|
|
153
|
+
"date",
|
|
154
|
+
"coordinate",
|
|
155
|
+
"composite-list",
|
|
156
|
+
"enum",
|
|
157
|
+
"composite-matrix"
|
|
158
|
+
].includes(e.type)) {
|
|
153
159
|
if (e.dataTypeInfo) {
|
|
154
|
-
const { coordinateFormat: r, datePattern: l, innerType:
|
|
155
|
-
(r || l ||
|
|
160
|
+
const { coordinateFormat: r, datePattern: l, innerType: m, enumValues: v } = e.dataTypeInfo;
|
|
161
|
+
(r || l || m || v) && y((T) => ({ ...T, dataTypeInfo: {} }));
|
|
156
162
|
}
|
|
157
163
|
return () => {
|
|
158
164
|
};
|
|
159
165
|
}
|
|
160
|
-
}, [e.type]), /* @__PURE__ */
|
|
166
|
+
}, [e.type]), /* @__PURE__ */ d(K, { children: [
|
|
161
167
|
/* @__PURE__ */ t(
|
|
162
168
|
w,
|
|
163
169
|
{
|
|
@@ -188,7 +194,7 @@ function We({
|
|
|
188
194
|
onChange: o
|
|
189
195
|
}
|
|
190
196
|
),
|
|
191
|
-
/* @__PURE__ */
|
|
197
|
+
/* @__PURE__ */ d(C, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
|
|
192
198
|
/* @__PURE__ */ t(F, { id: "type-select-label", children: "Type" }),
|
|
193
199
|
/* @__PURE__ */ t(
|
|
194
200
|
_,
|
|
@@ -203,7 +209,7 @@ function We({
|
|
|
203
209
|
}
|
|
204
210
|
)
|
|
205
211
|
] }),
|
|
206
|
-
e.type === "coordinate" && /* @__PURE__ */
|
|
212
|
+
e.type === "coordinate" && /* @__PURE__ */ d(C, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
|
|
207
213
|
/* @__PURE__ */ t(F, { id: "coordinate-format-select-label", children: "Cordinate Format" }),
|
|
208
214
|
/* @__PURE__ */ t(
|
|
209
215
|
_,
|
|
@@ -218,7 +224,7 @@ function We({
|
|
|
218
224
|
}
|
|
219
225
|
)
|
|
220
226
|
] }),
|
|
221
|
-
e.type === "composite-list" && /* @__PURE__ */
|
|
227
|
+
(e.type === "composite-list" || e.type === "composite-matrix") && /* @__PURE__ */ d(C, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
|
|
222
228
|
/* @__PURE__ */ t(F, { id: "composite-list-select-label", children: "Inner Type" }),
|
|
223
229
|
/* @__PURE__ */ t(
|
|
224
230
|
_,
|
|
@@ -260,7 +266,7 @@ function We({
|
|
|
260
266
|
onChange: o
|
|
261
267
|
}
|
|
262
268
|
),
|
|
263
|
-
/* @__PURE__ */
|
|
269
|
+
/* @__PURE__ */ d(C, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
|
|
264
270
|
/* @__PURE__ */ t(F, { id: "privacy-method-label", children: "Privacy Preservation Method" }),
|
|
265
271
|
/* @__PURE__ */ t(
|
|
266
272
|
_,
|
|
@@ -275,7 +281,7 @@ function We({
|
|
|
275
281
|
}
|
|
276
282
|
)
|
|
277
283
|
] }),
|
|
278
|
-
/* @__PURE__ */
|
|
284
|
+
/* @__PURE__ */ d($, { row: !0, sx: { mb: 2 }, children: [
|
|
279
285
|
/* @__PURE__ */ t(
|
|
280
286
|
p,
|
|
281
287
|
{
|
|
@@ -360,7 +366,7 @@ function We({
|
|
|
360
366
|
}
|
|
361
367
|
)
|
|
362
368
|
] }),
|
|
363
|
-
/* @__PURE__ */
|
|
369
|
+
/* @__PURE__ */ d(ce, { display: "flex", justifyContent: "flex-end", children: [
|
|
364
370
|
/* @__PURE__ */ t(Y, { variant: "contained", onClick: h, sx: { marginRight: 2 }, children: "Cancel" }),
|
|
365
371
|
/* @__PURE__ */ t(
|
|
366
372
|
Y,
|