@hybridcore/ui 1.6.13 → 1.6.14
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/AccordionSummary-DUtr16g6.js +781 -0
- package/dist/Add-Bk8R160M.js +403 -0
- package/dist/Button-Cem3nbwc.js +357 -0
- package/dist/ButtonBase-DObmf4Q_.js +886 -0
- package/dist/Delete-CVJ6FeDn.js +203 -0
- package/dist/FormGroup-BRj1o7-E.js +89 -0
- package/dist/InputLabel-CjD30ZHz.js +341 -0
- package/dist/MenuItem-BKvRGLvM.js +233 -0
- package/dist/Modal-BVYydOr5.js +1156 -0
- package/dist/Paper-B1HV8GyO.js +582 -0
- package/dist/Select-Bfhvigsx.js +3914 -0
- package/dist/Source-BSZST_GH.js +4410 -0
- package/dist/SwitchBase-BEK49kdS.js +235 -0
- package/dist/Text-ChJRuaD8.js +2197 -0
- package/dist/TextField-Ca9ykixI.js +696 -0
- package/dist/TransitionGroupContext-Ja2CgIob.js +96 -0
- package/dist/Typography-D3X-Y5fh.js +178 -0
- package/dist/Vector-BmuhQO4p.js +3606 -0
- package/dist/Vector-DfTqQEln.js +1735 -0
- package/dist/WKT-2wsDT-nq.js +2310 -0
- package/dist/{_commonjsHelpers-BVfed4GL.js → _commonjsHelpers-BkfeUUK-.js} +2 -2
- package/dist/assertThisInitialized-C1dAyb4j.js +7 -0
- package/dist/assets/index.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index3.css +1 -0
- package/dist/assets/index4.css +1 -0
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/components/button/styled.js +1 -1
- package/dist/components/charts/_common/format.js +126 -82
- package/dist/components/charts/drill-down-voronoi-treemap/logic.js +1 -1
- package/dist/components/collapsible-card/index.js +30 -21
- package/dist/components/collapsible-card/styled.js +14 -16
- package/dist/components/color-picker/index.js +3358 -2228
- package/dist/components/color-picker/styled.js +7 -87
- package/dist/components/confirm/dialog.js +7 -89
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/data-map/index.js +1 -1
- package/dist/components/data-map/logic.js +20 -20
- package/dist/components/data-security-selectors/dissemination-list/index.js +3117 -32
- package/dist/components/date-range-picker/index.js +454 -466
- package/dist/components/document-viewer/components/viewer/index.js +1 -1
- package/dist/components/duration-select/index.js +10 -10
- package/dist/components/duration-select/styled.js +1 -1
- package/dist/components/geometry-picker/coordinate/index.js +14 -14
- package/dist/components/geometry-picker/edit/index.js +1 -1
- package/dist/components/geometry-picker/geometry/index.js +1 -1
- package/dist/components/geometry-picker/kml/index.js +11 -11
- package/dist/components/geometry-picker/map/logic.js +3656 -145
- package/dist/components/geometry-picker/map/style.js +17 -18
- package/dist/components/geometry-picker/parser/coordinate-input/logic.js +1255 -43
- package/dist/components/heat-map/index.js +1 -1
- package/dist/components/heat-map/logic.js +1924 -77
- package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +2 -2
- package/dist/components/instance-hierarchy-table/styled.js +16 -18
- package/dist/components/map/helpers/mapbox.js +15 -17
- package/dist/components/map/helpers/ol.js +27 -386
- package/dist/components/map/index.js +10 -11
- package/dist/components/map/logic.js +22 -22
- package/dist/components/map/styled.js +27 -31
- package/dist/components/phone-input/index.js +9 -10
- package/dist/components/property-mapping/index.js +1 -1
- package/dist/components/prr-map/index.js +1 -1
- package/dist/components/prr-map/logic.js +26 -27
- package/dist/components/raster-grid-map/index.js +1 -1
- package/dist/components/raster-grid-map/logic.js +57 -60
- package/dist/components/sortable-list/index.js +1264 -1091
- package/dist/components/template-form/components/property-list/index.js +32 -36
- package/dist/components/template-form/components/property-list/property-list-columns.js +17 -19
- package/dist/components/template-form/components/property-list/property-list-form.js +600 -137
- package/dist/components/template-form/components/recognition-property-list/index.js +36 -40
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +9 -11
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +64 -57
- package/dist/components/tree-select/index.js +16 -16
- package/dist/createChainedFunction-C0nujS3O.js +9 -0
- package/dist/createSvgIcon-BghzB2Y9.js +93 -0
- package/dist/createSvgIcon-D7U1nd99.js +185 -0
- package/dist/debounce-46wSf_lW.js +15 -0
- package/dist/dialog-BtJhjyF5.js +664 -0
- package/dist/extends-C3382pL0.js +22 -0
- package/dist/formControlState-vgaj2ksH.js +10 -0
- package/dist/generateUtilityClasses-Cc-owZ4J.js +2971 -0
- package/dist/{index-C__OZmYy.js → index-CblbdqjE.js} +1 -1
- package/dist/index-DH6qsPBn.js +153 -0
- package/dist/index.esm-DAf19hyR.js +318 -0
- package/dist/math-Bvt2Ubuz.js +704 -0
- package/dist/ol-yOE-NV0X.js +7465 -0
- package/dist/ownerWindow-wg6foiOE.js +10 -0
- package/dist/setPrototypeOf-NPgp4cYc.js +8 -0
- package/dist/styled-DD4BkuVf.js +350 -0
- package/dist/useControlled-BYdyS7Pn.js +31 -0
- package/dist/useFormControl-CatNKXAi.js +10 -0
- package/dist/useId-BW-oWmul.js +19 -0
- package/dist/useSlot-u4t0X96G.js +42 -0
- package/package.json +1 -1
- package/dist/index.esm-UfGMjYOL.js +0 -197
|
@@ -1,50 +1,46 @@
|
|
|
1
|
-
import { jsxs as i, jsx as
|
|
2
|
-
import d from "@mui/
|
|
3
|
-
import n from "
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
import g from "./property-list-columns.js";
|
|
13
|
-
import b from "./property-list-form.js";
|
|
14
|
-
import P from "./property-list-logic.js";
|
|
15
|
-
const E = (e) => {
|
|
1
|
+
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { DataGrid as d } from "@mui/x-data-grid";
|
|
3
|
+
import { A as n, a as s, d as m } from "../../../../Add-Bk8R160M.js";
|
|
4
|
+
import p from "./property-list-columns.js";
|
|
5
|
+
import c from "./property-list-form.js";
|
|
6
|
+
import u from "./property-list-logic.js";
|
|
7
|
+
import { B as y } from "../../../../TextField-Ca9ykixI.js";
|
|
8
|
+
import { T as h } from "../../../../Typography-D3X-Y5fh.js";
|
|
9
|
+
import { B as f } from "../../../../Button-Cem3nbwc.js";
|
|
10
|
+
import { a as g, b, c as P } from "../../../../dialog-BtJhjyF5.js";
|
|
11
|
+
const T = (t) => {
|
|
16
12
|
var l;
|
|
17
|
-
const { state: r, action: o } =
|
|
18
|
-
return /* @__PURE__ */ i(
|
|
19
|
-
/* @__PURE__ */
|
|
20
|
-
|
|
21
|
-
|
|
13
|
+
const { state: r, action: o } = u(t);
|
|
14
|
+
return /* @__PURE__ */ i(y, { children: [
|
|
15
|
+
/* @__PURE__ */ e(h, { variant: "h6", marginY: 2, children: "Properties" }),
|
|
16
|
+
t.list.length > 0 ? /* @__PURE__ */ e(
|
|
17
|
+
d,
|
|
22
18
|
{
|
|
23
|
-
rows:
|
|
24
|
-
columns:
|
|
25
|
-
templateId:
|
|
19
|
+
rows: t.list,
|
|
20
|
+
columns: p({
|
|
21
|
+
templateId: t.templateId,
|
|
26
22
|
onEdit: o.handleOnEditClick,
|
|
27
23
|
onDelete: o.handleOnDeleteClick
|
|
28
24
|
}),
|
|
29
25
|
getRowId: (a) => a.id || a.propertyId,
|
|
30
26
|
autoHeight: !0
|
|
31
27
|
}
|
|
32
|
-
) : /* @__PURE__ */ i(
|
|
33
|
-
/* @__PURE__ */
|
|
28
|
+
) : /* @__PURE__ */ i(n, { severity: "info", children: [
|
|
29
|
+
/* @__PURE__ */ e(s, { children: "No Property Added!" }),
|
|
34
30
|
"Add least one property before save the template!"
|
|
35
31
|
] }),
|
|
36
|
-
/* @__PURE__ */
|
|
37
|
-
|
|
32
|
+
/* @__PURE__ */ e(
|
|
33
|
+
f,
|
|
38
34
|
{
|
|
39
35
|
color: "primary",
|
|
40
36
|
onClick: o.handleOnAddClick,
|
|
41
37
|
sx: { mt: 2 },
|
|
42
|
-
startIcon: /* @__PURE__ */
|
|
38
|
+
startIcon: /* @__PURE__ */ e(m, {}),
|
|
43
39
|
children: "Add Property"
|
|
44
40
|
}
|
|
45
41
|
),
|
|
46
42
|
/* @__PURE__ */ i(
|
|
47
|
-
|
|
43
|
+
g,
|
|
48
44
|
{
|
|
49
45
|
open: r.dialog.isOpen,
|
|
50
46
|
onClose: o.dialog.close,
|
|
@@ -54,14 +50,14 @@ const E = (e) => {
|
|
|
54
50
|
maxWidth: "sm",
|
|
55
51
|
scroll: "body",
|
|
56
52
|
children: [
|
|
57
|
-
/* @__PURE__ */
|
|
58
|
-
/* @__PURE__ */
|
|
59
|
-
|
|
53
|
+
/* @__PURE__ */ e(b, { id: "alert-dialog-title", children: r.propertyForm.title }),
|
|
54
|
+
/* @__PURE__ */ e(P, { className: "pb-30", children: /* @__PURE__ */ e(
|
|
55
|
+
c,
|
|
60
56
|
{
|
|
61
|
-
inputVariant:
|
|
62
|
-
labelPosition:
|
|
57
|
+
inputVariant: t.inputVariant,
|
|
58
|
+
labelPosition: t.labelPosition,
|
|
63
59
|
defaultValues: r.propertyForm.defaultValues,
|
|
64
|
-
disablePropertyId:
|
|
60
|
+
disablePropertyId: t.disablePropertyId && r.propertyForm.type === "edit" && !!((l = r.propertyForm.defaultValues) != null && l.id),
|
|
65
61
|
onSubmit: o.handleSubmit,
|
|
66
62
|
onCancel: o.dialog.close
|
|
67
63
|
}
|
|
@@ -72,5 +68,5 @@ const E = (e) => {
|
|
|
72
68
|
] });
|
|
73
69
|
};
|
|
74
70
|
export {
|
|
75
|
-
|
|
71
|
+
T as PropertyList
|
|
76
72
|
};
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
import l from "@mui/material/Typography";
|
|
6
|
-
const F = (d) => [
|
|
1
|
+
import { jsxs as d, jsx as r, Fragment as s } from "react/jsx-runtime";
|
|
2
|
+
import { I as p, d as u, a as b } from "../../../../Delete-CVJ6FeDn.js";
|
|
3
|
+
import { T as l } from "../../../../Typography-D3X-Y5fh.js";
|
|
4
|
+
const v = (o) => [
|
|
7
5
|
{ field: "name", headerName: "Name", flex: 1 },
|
|
8
6
|
{ field: "propertyId", headerName: "Property ID", flex: 1 },
|
|
9
7
|
{
|
|
@@ -14,19 +12,19 @@ const F = (d) => [
|
|
|
14
12
|
var n, m, f, h;
|
|
15
13
|
const { dataTypeInfo: e, defaultValue: a } = t.row;
|
|
16
14
|
let i = t.value;
|
|
17
|
-
return e != null && e.datePattern && (i += ` ${e.datePattern}`), e != null && e.coordinateFormat && (i += ` ${e.coordinateFormat}`), e != null && e.enumValues && (i += ` ${e.enumValues.join(",")}`), a && (i += ` ${a}`), /* @__PURE__ */
|
|
15
|
+
return e != null && e.datePattern && (i += ` ${e.datePattern}`), e != null && e.coordinateFormat && (i += ` ${e.coordinateFormat}`), e != null && e.enumValues && (i += ` ${e.enumValues.join(",")}`), a && (i += ` ${a}`), /* @__PURE__ */ d("div", { className: "MuiDataGrid-cellContent", title: i, children: [
|
|
18
16
|
t.value,
|
|
19
|
-
((n = t.row.dataTypeInfo) == null ? void 0 : n.datePattern) && /* @__PURE__ */
|
|
17
|
+
((n = t.row.dataTypeInfo) == null ? void 0 : n.datePattern) && /* @__PURE__ */ d(l, { variant: "caption", ml: 1, children: [
|
|
20
18
|
"(",
|
|
21
19
|
(m = t.row.dataTypeInfo) == null ? void 0 : m.datePattern,
|
|
22
20
|
")"
|
|
23
21
|
] }),
|
|
24
|
-
((f = t.row.dataTypeInfo) == null ? void 0 : f.coordinateFormat) && /* @__PURE__ */
|
|
22
|
+
((f = t.row.dataTypeInfo) == null ? void 0 : f.coordinateFormat) && /* @__PURE__ */ d(l, { variant: "caption", ml: 1, children: [
|
|
25
23
|
"(",
|
|
26
24
|
(h = t.row.dataTypeInfo) == null ? void 0 : h.coordinateFormat,
|
|
27
25
|
")"
|
|
28
26
|
] }),
|
|
29
|
-
t.row.defaultValue !== null && t.row.defaultValue !== "" && /* @__PURE__ */
|
|
27
|
+
t.row.defaultValue !== null && t.row.defaultValue !== "" && /* @__PURE__ */ d(l, { variant: "caption", ml: 1, children: [
|
|
30
28
|
"(",
|
|
31
29
|
t.row.defaultValue,
|
|
32
30
|
")"
|
|
@@ -100,27 +98,27 @@ const F = (d) => [
|
|
|
100
98
|
filterable: !1,
|
|
101
99
|
renderCell: (t) => {
|
|
102
100
|
const { inheritedFrom: e } = t.row;
|
|
103
|
-
return !e || !e.templateId || e.templateId ===
|
|
101
|
+
return !e || !e.templateId || e.templateId === o.templateId ? /* @__PURE__ */ d(s, { children: [
|
|
104
102
|
/* @__PURE__ */ r(
|
|
105
|
-
|
|
103
|
+
p,
|
|
106
104
|
{
|
|
107
105
|
size: "medium",
|
|
108
|
-
onClick: () =>
|
|
109
|
-
children: /* @__PURE__ */ r(
|
|
106
|
+
onClick: () => o.onEdit(t.row),
|
|
107
|
+
children: /* @__PURE__ */ r(u, { color: "primary" })
|
|
110
108
|
}
|
|
111
109
|
),
|
|
112
110
|
/* @__PURE__ */ r(
|
|
113
|
-
|
|
111
|
+
p,
|
|
114
112
|
{
|
|
115
113
|
size: "medium",
|
|
116
|
-
onClick: () =>
|
|
117
|
-
children: /* @__PURE__ */ r(
|
|
114
|
+
onClick: () => o.onDelete(t.row),
|
|
115
|
+
children: /* @__PURE__ */ r(b, {})
|
|
118
116
|
}
|
|
119
117
|
)
|
|
120
|
-
] }) : /* @__PURE__ */ r(
|
|
118
|
+
] }) : /* @__PURE__ */ r(s, {});
|
|
121
119
|
}
|
|
122
120
|
}
|
|
123
121
|
];
|
|
124
122
|
export {
|
|
125
|
-
|
|
123
|
+
v as default
|
|
126
124
|
};
|