@hybridcore/ui 1.6.0 → 1.6.2
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/CATALOG.md +179 -0
- package/README.md +1 -2
- package/dist/AccordionSummary-CJppWeqF.js +781 -0
- package/dist/Add-CqcD1PWb.js +403 -0
- package/dist/Box-DqUMmZjL.js +31 -0
- package/dist/{Button-CvE2gnly.js → Button-C5yquWAB.js} +120 -133
- package/dist/ButtonBase-BEF7oTOe.js +887 -0
- package/dist/{Delete-CW0UZv1m.js → Delete-BdyYpINH.js} +9 -8
- package/dist/{DialogContent-B3nbEbuv.js → DialogContent-BvVjD9z3.js} +127 -124
- package/dist/FormGroup-CpBsIyYR.js +89 -0
- package/dist/{IconButton-CHwRQF-g.js → IconButton-BoGwbvrP.js} +41 -43
- package/dist/InputLabel-Dd8RrneV.js +341 -0
- package/dist/{MenuItem-xZx_w7zA.js → MenuItem-DwqJqzuM.js} +51 -53
- package/dist/Modal-MUZygjmQ.js +1158 -0
- package/dist/Paper-BkQLdsCI.js +582 -0
- package/dist/Select-DHUl_uG3.js +3916 -0
- package/dist/SwitchBase-DTndTqI8.js +235 -0
- package/dist/TextField-e2oKaUN1.js +669 -0
- package/dist/TransitionGroupContext-BDAp2T0O.js +96 -0
- package/dist/{Typography-CxbneZy_.js → Typography-DgsSLCFC.js} +53 -53
- package/dist/assertThisInitialized-C1dAyb4j.js +7 -0
- package/dist/assets/index4.css +1 -0
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/components/access/helpers.js +1 -1
- package/dist/components/access/index.js +8 -15
- package/dist/components/access/logic.js +25 -0
- package/dist/components/button/index.js +10 -0
- package/dist/components/button/logic.js +26 -0
- package/dist/components/button/styled.js +9 -0
- package/dist/components/card/index.js +158 -498
- package/dist/components/card/logic.js +24 -0
- package/dist/components/card/styled.js +226 -51
- package/dist/components/card-alternate/index.js +111 -139
- package/dist/components/card-alternate/logic.js +17 -0
- package/dist/components/card-alternate/styled.js +113 -19
- package/dist/components/charts/_common/chart-error.js +19 -0
- package/dist/components/charts/candlestick/index.js +3 -3
- package/dist/components/charts/candlestick/logic.js +123 -113
- package/dist/components/charts/chart-wrapper/index.js +5 -5
- package/dist/components/charts/column-line-mix/index.js +9 -8
- package/dist/components/charts/column-line-mix/logic.js +68 -71
- package/dist/components/charts/drill-down-treemap/index.js +8 -7
- package/dist/components/charts/drill-down-treemap/logic.js +138 -144
- package/dist/components/charts/drill-down-voronoi-treemap/index.js +9 -8
- package/dist/components/charts/drill-down-voronoi-treemap/logic.js +222 -228
- package/dist/components/charts/heatmap/index.js +9 -8
- package/dist/components/charts/heatmap/logic.js +167 -173
- package/dist/components/charts/highlighting-line-data/index.js +3 -3
- package/dist/components/charts/line/index.js +9 -8
- package/dist/components/charts/line/logic.js +74 -79
- package/dist/components/charts/logaritmic-scale/index.js +9 -8
- package/dist/components/charts/logaritmic-scale/logic.js +63 -69
- package/dist/components/charts/multiple-value-axes/index.js +9 -8
- package/dist/components/charts/multiple-value-axes/logic.js +101 -107
- package/dist/components/charts/nested-pie/index.js +9 -8
- package/dist/components/charts/nested-pie/logic.js +62 -68
- package/dist/components/charts/packed-circles/index.js +7 -6
- package/dist/components/charts/packed-circles/logic.js +50 -56
- package/dist/components/charts/pie-chart/index.js +9 -8
- package/dist/components/charts/pie-chart/logic.js +49 -54
- package/dist/components/charts/stacked-area-radar/index.js +8 -7
- package/dist/components/charts/stacked-area-radar/logic.js +113 -118
- package/dist/components/charts/stacked-column-chart/index.js +9 -8
- package/dist/components/charts/stacked-column-chart/logic.js +78 -84
- package/dist/components/charts/xy-chart/index.js +9 -8
- package/dist/components/charts/xy-chart/logic.js +56 -60
- package/dist/components/collapsible-card/index.js +11 -10
- package/dist/components/collapsible-card/styled.js +1 -1
- package/dist/components/color-picker/index.js +7120 -0
- package/dist/components/color-picker/logic.js +18 -0
- package/dist/components/color-picker/styled.js +7 -0
- package/dist/components/confirm/dialog.js +3 -3
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/container/index.js +28 -269
- package/dist/components/container/logic.js +12 -0
- package/dist/components/container/styled.js +29 -0
- package/dist/components/context-menu/index.js +25 -457
- package/dist/components/context-menu/logic.js +14 -0
- package/dist/components/context-menu/styled.js +40 -0
- package/dist/components/data-grid/index.js +22 -0
- package/dist/components/data-grid/logic.js +15 -0
- package/dist/components/data-grid/styled.js +20 -0
- package/dist/components/data-map/components/controls/index.js +4 -6
- package/dist/components/data-map/index.js +11 -11
- package/dist/components/data-security-selectors/dissemination-list/index.js +192 -191
- package/dist/components/data-security-selectors/dissemination-list/styled.js +12 -12
- package/dist/components/data-security-selectors/security-level/index.js +39 -91
- package/dist/components/data-security-selectors/security-level/logic.js +28 -0
- package/dist/components/data-security-selectors/security-level/styled.js +53 -0
- package/dist/components/date-picker-with-custom-range/index.js +1 -1
- package/dist/components/date-range-picker/index.js +2748 -0
- package/dist/components/date-range-picker/styled.js +14 -0
- package/dist/components/date-time-picker/index.js +45 -46
- package/dist/components/divider/index.js +11 -11
- package/dist/components/document-viewer/components/action-buttons/index.js +15 -15
- package/dist/components/document-viewer/components/navigation/index.js +9 -9
- package/dist/components/document-viewer/components/viewer/index.js +31 -35
- package/dist/components/document-viewer/index.js +31 -39
- package/dist/components/document-viewer/logic.js +41 -34
- package/dist/components/document-viewer/styled.js +115 -27
- package/dist/components/duration-select/index.js +27 -0
- package/dist/components/duration-select/logic.js +21 -0
- package/dist/components/duration-select/styled.js +26 -0
- package/dist/components/editable-text/index.js +20 -0
- package/dist/components/editable-text/logic.js +18 -0
- package/dist/components/editable-text/styled.js +22 -0
- package/dist/components/geometry-picker/coordinate/index.js +29 -29
- package/dist/components/geometry-picker/edit/index.js +18 -18
- package/dist/components/geometry-picker/geometry/index.js +67 -67
- package/dist/components/geometry-picker/geometry/map-overlay.js +6 -6
- package/dist/components/geometry-picker/index.js +69 -85
- package/dist/components/geometry-picker/kml/index.js +16 -16
- package/dist/components/geometry-picker/logic.js +50 -57
- package/dist/components/geometry-picker/map/index.js +8 -8
- package/dist/components/geometry-picker/parser/coordinate-input/index.js +4 -4
- package/dist/components/geometry-picker/parser/index.js +46 -50
- package/dist/components/geometry-picker/parser/styled.js +22 -4
- package/dist/components/geometry-picker/styled.js +97 -37
- package/dist/components/geometry-picker/wkt/index.js +13 -13
- package/dist/components/heat-map/components/controls/index.js +4 -6
- package/dist/components/heat-map/components/legend/index.js +15 -17
- package/dist/components/heat-map/index.js +7 -7
- package/dist/components/instance-form/components/TopLabelWrapper.js +8 -48
- package/dist/components/instance-form/components/composite-list/index.js +5 -3
- package/dist/components/instance-form/components/composite-matrix/components/editable-table/index.js +83 -74
- package/dist/components/instance-form/components/composite-matrix/components/editor/index.js +45 -66
- package/dist/components/instance-form/components/composite-matrix/components/form/index.js +60 -75
- package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +2425 -2422
- package/dist/components/instance-form/components/composite-matrix/components/table/index.js +33 -52
- package/dist/components/instance-form/components/composite-matrix/index.js +30 -36
- package/dist/components/instance-form/components/policy-list/index.js +47 -81
- package/dist/components/instance-form/components/variable/index.js +6 -11
- package/dist/components/instance-form/components/variables/index.js +48 -55
- package/dist/components/instance-form/helpers.js +9 -0
- package/dist/components/instance-form/index.js +402 -518
- package/dist/components/instance-form/logic.js +115 -0
- package/dist/components/instance-form/styled.js +487 -0
- package/dist/components/instance-hierarchy-table/index.js +32 -37
- package/dist/components/instance-hierarchy-table/logic.js +16 -0
- package/dist/components/instance-hierarchy-table/styled.js +53 -12
- package/dist/components/instance-table/index.js +30 -135
- package/dist/components/instance-table/logic.js +122 -0
- package/dist/components/instance-table/styled.js +53 -11
- package/dist/components/instance-variable-list/index.js +11 -11
- package/dist/components/loading/index.js +15 -9
- package/dist/components/loading/logic.js +15 -0
- package/dist/components/loading/styled.js +26 -19
- package/dist/components/map/index.js +28 -6
- package/dist/components/map/styled.js +1 -1
- package/dist/components/notification/index.js +67 -0
- package/dist/components/notification/logic.js +30 -0
- package/dist/components/notification/store.js +23 -0
- package/dist/components/notification/styled.js +52 -0
- package/dist/components/object-profile-card/components/avatar/index.js +9 -10
- package/dist/components/object-profile-card/index.js +19 -20
- package/dist/components/paginated-list/index.js +2 -3
- package/dist/components/phone-input/index.js +18 -22
- package/dist/components/phone-input/logic.js +14 -0
- package/dist/components/phone-input/styled.js +12 -4
- package/dist/components/placeholder/index.js +10 -0
- package/dist/components/placeholder/logic.js +12 -0
- package/dist/components/placeholder/styled.js +32 -0
- package/dist/components/positional-tooltip/index.js +24 -0
- package/dist/components/positional-tooltip/styled.js +17 -0
- package/dist/components/property-mapping/index.js +204 -423
- package/dist/components/property-mapping/logic.js +156 -0
- package/dist/components/property-mapping/styled.js +199 -0
- package/dist/components/prr-map/components/controls/index.js +4 -6
- package/dist/components/prr-map/components/legend/index.js +26 -28
- package/dist/components/prr-map/index.js +5 -5
- package/dist/components/range-selector/components/composite-list-range/index.js +42 -50
- package/dist/components/range-selector/components/date-range/index.js +87 -4221
- package/dist/components/range-selector/components/geometry-range/index.js +11 -17
- package/dist/components/range-selector/components/number-range/index.js +48 -53
- package/dist/components/range-selector/components/string-range/index.js +15 -17
- package/dist/components/range-selector/index.js +63 -57
- package/dist/components/range-selector/logic.js +12 -0
- package/dist/components/range-selector/styled.js +4294 -0
- package/dist/components/raster-grid-map/components/controls/index.js +4 -6
- package/dist/components/raster-grid-map/components/legend/index.js +4 -6
- package/dist/components/raster-grid-map/index.js +5 -5
- package/dist/components/scroll-drag/index.js +22 -0
- package/dist/components/scroll-drag/logic.js +39 -0
- package/dist/components/scroll-drag/styled.js +17 -0
- package/dist/components/search-input/logic.js +35 -33
- package/dist/components/simple-pivot-table/index.js +12 -12
- package/dist/components/sortable-list/index.js +599 -0
- package/dist/components/sortable-list/logic.js +18 -0
- package/dist/components/sortable-list/styled.js +38 -0
- package/dist/components/static-text/index.js +6 -6
- package/dist/components/stats-box/index.js +12 -0
- package/dist/components/stats-box/styled.js +36 -0
- package/dist/components/template-filters/components/filter/index.js +13 -18
- package/dist/components/template-filters/components/tab-panel/index.js +8 -16
- package/dist/components/template-filters/index.js +21 -29
- package/dist/components/template-filters/logic.js +18 -0
- package/dist/components/template-filters/styled.js +44 -1
- package/dist/components/template-form/components/property-list/index.js +27 -26
- package/dist/components/template-form/components/property-list/property-list-columns.js +3 -3
- package/dist/components/template-form/components/property-list/property-list-form.js +758 -14
- package/dist/components/template-form/components/recognition-property-list/index.js +11 -11
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +2 -2
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +24 -23
- package/dist/components/template-form/components/select-icon/index.js +24 -24
- package/dist/components/template-form/helpers.js +17 -0
- package/dist/components/template-form/index.js +270 -309
- package/dist/components/template-form/logic.js +69 -0
- package/dist/components/template-form/styled.js +84 -0
- package/dist/components/template-property-filters/index.js +45 -95
- package/dist/components/template-property-filters/logic.js +27 -0
- package/dist/components/template-property-filters/property.js +105 -165
- package/dist/components/template-property-filters/styled.js +121 -20
- package/dist/components/text-overflow/index.js +6 -0
- package/dist/components/text-overflow/styled.js +13 -0
- package/dist/components/timeline/index.js +12 -12
- package/dist/components/toggle-view-button/index.js +35 -0
- package/dist/components/toggle-view-button/logic.js +22 -0
- package/dist/components/toggle-view-button/styled.js +11 -0
- package/dist/components/tree-select/index.js +52 -67
- package/dist/components/tree-select/logic.js +59 -0
- package/dist/components/tree-select/styled.js +45 -62
- package/dist/components/treeview-filter/index.js +43 -65
- package/dist/components/treeview-filter/item/index.js +43 -42
- package/dist/components/treeview-filter/item-label/index.js +17 -37
- package/dist/components/treeview-filter/logic.js +28 -0
- package/dist/components/treeview-filter/styled.js +86 -0
- package/dist/components/uploader/index.js +532 -567
- package/dist/components/uploader/logic.js +74 -0
- package/dist/components/uploader/styled.js +93 -46
- package/dist/components/visually-hidden-input/index.js +4 -0
- package/dist/components/visually-hidden-input/styled.js +18 -0
- package/dist/createChainedFunction-C0nujS3O.js +9 -0
- package/dist/{createSvgIcon-DrtgaibK.js → createSvgIcon-Ch_cT8az.js} +69 -68
- package/dist/createSvgIcon-DuDuASu1.js +62 -0
- package/dist/{dialog-DcwXug9J.js → dialog-BYRnCztH.js} +18 -18
- package/dist/formControlState-vgaj2ksH.js +10 -0
- package/dist/generateUtilityClasses-C3ivN9Ie.js +2973 -0
- package/dist/{helpers-B4UL9NMD.js → helpers-D4uXfBfO.js} +2 -2
- package/dist/index-BtlzPygz.js +470 -0
- package/dist/index-DH6qsPBn.js +153 -0
- package/dist/{index-syTc6m_V.js → index-e9xTIYWt.js} +87 -87
- package/dist/main.d.ts +1722 -562
- package/dist/main.js +161 -128
- package/dist/ownerWindow-wg6foiOE.js +10 -0
- package/dist/setPrototypeOf-NPgp4cYc.js +8 -0
- package/dist/styled-Db1RdcPA.js +323 -0
- package/dist/unsupportedProp-DuqR2hj9.js +36 -0
- package/dist/useId-BW-oWmul.js +19 -0
- package/dist/useMobilePicker-CY8ndYRL.js +8279 -0
- package/dist/useSlot-B_Q4vnX5.js +42 -0
- package/package.json +15 -7
- package/dist/AccordionSummary-DgAwVTk8.js +0 -742
- package/dist/Add-DJLrrVHm.js +0 -382
- package/dist/Box-p6OtTUEo.js +0 -30
- package/dist/ButtonBase-2bPw77UP.js +0 -961
- package/dist/CardContent-CSHh-ZlM.js +0 -74
- package/dist/Checkbox-CWRMFTBp.js +0 -421
- package/dist/FormControl-BLbrq4C7.js +0 -1636
- package/dist/FormControlLabel-C8SPv14J.js +0 -195
- package/dist/InputAdornment-DLxWUE6H.js +0 -157
- package/dist/List-tqElle9C.js +0 -121
- package/dist/ListItem-CfjsIg4B.js +0 -430
- package/dist/Modal-DhPpOoGB.js +0 -1299
- package/dist/Paper-2B03OBmZ.js +0 -169
- package/dist/Select-BgYwkZgI.js +0 -2613
- package/dist/TextField-1yCesIbH.js +0 -457
- package/dist/assertThisInitialized-BUtkG-md.js +0 -13
- package/dist/capitalize-ciszXJ7R.js +0 -9
- package/dist/components/instance-form/components/composite-list/styled.js +0 -73
- package/dist/components/instance-form/components/composite-matrix/components/editor/styled.js +0 -1
- package/dist/components/instance-form/components/composite-matrix/styled.js +0 -69
- package/dist/components/key-protection/index.js +0 -4
- package/dist/components/key-protection/menu.js +0 -85
- package/dist/components/key-protection/utils.js +0 -10
- package/dist/components/treeview-filter/item/styled.js +0 -39
- package/dist/createSvgIcon-BjpIhJ30.js +0 -71
- package/dist/createTheme-DYxDnE9u.js +0 -612
- package/dist/index-BMS1Otro.js +0 -183
- package/dist/index-CcdvNlgr.js +0 -503
- package/dist/index-kCJ_Zvl8.js +0 -34
- package/dist/isHostComponent-kiaBvYVo.js +0 -6
- package/dist/isMuiElement-CxT3_ACP.js +0 -13
- package/dist/listItemTextClasses-C3lndiXO.js +0 -16
- package/dist/property-list-form-zZQfpR0X.js +0 -386
- package/dist/styled-eZwjUruw.js +0 -12
- package/dist/unsupportedProp-BND8AB6O.js +0 -25
- package/dist/useId-B4-oF9Mq.js +0 -34
- package/dist/useMobilePicker-BLg3Blg8.js +0 -7589
- package/dist/useThemeProps-BzzHcQyd.js +0 -58
- package/dist/utils-BDNynJcd.js +0 -365
- package/dist/utils-Bq0ye5vf.js +0 -115
package/dist/index-kCJ_Zvl8.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import o from "react";
|
|
3
|
-
import f from "./components/map/logic.js";
|
|
4
|
-
import a from "./components/map/styled.js";
|
|
5
|
-
import './assets/index.css';const u = (e, i) => {
|
|
6
|
-
var t, r;
|
|
7
|
-
const { refs: s, action: m } = f(e);
|
|
8
|
-
return o.useImperativeHandle(i, () => m), /* @__PURE__ */ n(
|
|
9
|
-
a.Container,
|
|
10
|
-
{
|
|
11
|
-
sx: {
|
|
12
|
-
// position: 'relative',
|
|
13
|
-
cursor: ((t = e.options) == null ? void 0 : t.cursor) || "default"
|
|
14
|
-
},
|
|
15
|
-
children: /* @__PURE__ */ n(
|
|
16
|
-
a.Container,
|
|
17
|
-
{
|
|
18
|
-
id: e.id || "map",
|
|
19
|
-
ref: s.mapContainer,
|
|
20
|
-
cssPosition: (r = e.options) == null ? void 0 : r.cssPosition,
|
|
21
|
-
onContextMenu: (c) => c.preventDefault(),
|
|
22
|
-
className: "map"
|
|
23
|
-
}
|
|
24
|
-
)
|
|
25
|
-
}
|
|
26
|
-
);
|
|
27
|
-
}, l = o.memo(o.forwardRef(u)), x = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
28
|
-
__proto__: null,
|
|
29
|
-
default: l
|
|
30
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
31
|
-
export {
|
|
32
|
-
l as M,
|
|
33
|
-
x as i
|
|
34
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as u from "react";
|
|
2
|
-
function m(i, a) {
|
|
3
|
-
var l, e;
|
|
4
|
-
return /* @__PURE__ */ u.isValidElement(i) && a.indexOf(
|
|
5
|
-
// For server components `muiName` is avaialble in element.type._payload.value.muiName
|
|
6
|
-
// relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
|
|
7
|
-
// eslint-disable-next-line no-underscore-dangle
|
|
8
|
-
(l = i.type.muiName) != null ? l : (e = i.type) == null || (e = e._payload) == null || (e = e.value) == null ? void 0 : e.muiName
|
|
9
|
-
) !== -1;
|
|
10
|
-
}
|
|
11
|
-
export {
|
|
12
|
-
m as i
|
|
13
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { g as s } from "./useThemeProps-BzzHcQyd.js";
|
|
2
|
-
import { g as e } from "./createTheme-DYxDnE9u.js";
|
|
3
|
-
function n(t) {
|
|
4
|
-
return e("MuiListItemIcon", t);
|
|
5
|
-
}
|
|
6
|
-
const o = s("MuiListItemIcon", ["root", "alignItemsFlexStart"]);
|
|
7
|
-
function l(t) {
|
|
8
|
-
return e("MuiListItemText", t);
|
|
9
|
-
}
|
|
10
|
-
const r = s("MuiListItemText", ["root", "multiline", "dense", "inset", "primary", "secondary"]);
|
|
11
|
-
export {
|
|
12
|
-
o as a,
|
|
13
|
-
l as b,
|
|
14
|
-
n as g,
|
|
15
|
-
r as l
|
|
16
|
-
};
|
|
@@ -1,386 +0,0 @@
|
|
|
1
|
-
import H, { jsx as t, jsxs as d, Fragment as K } from "react/jsx-runtime";
|
|
2
|
-
import * as J from "react";
|
|
3
|
-
import I from "react";
|
|
4
|
-
import Q from "lodash";
|
|
5
|
-
import { r as X, i as Z } from "./createSvgIcon-BjpIhJ30.js";
|
|
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-1yCesIbH.js";
|
|
8
|
-
import { f as te, F as C, I as F } from "./FormControl-BLbrq4C7.js";
|
|
9
|
-
import { S as _ } from "./Select-BgYwkZgI.js";
|
|
10
|
-
import { M as g } from "./MenuItem-xZx_w7zA.js";
|
|
11
|
-
import { a as M, _ as re } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
|
|
12
|
-
import { P as n } from "./index-C__OZmYy.js";
|
|
13
|
-
import { g as ae, u as oe, c as le, a as ne } from "./useThemeProps-BzzHcQyd.js";
|
|
14
|
-
import { s as ie } from "./styled-eZwjUruw.js";
|
|
15
|
-
import { g as se } from "./createTheme-DYxDnE9u.js";
|
|
16
|
-
import { u as me } from "./useFormControl-CatNKXAi.js";
|
|
17
|
-
import { F as p } from "./FormControlLabel-C8SPv14J.js";
|
|
18
|
-
import { C as f } from "./Checkbox-CWRMFTBp.js";
|
|
19
|
-
import { B as ce } from "./Box-p6OtTUEo.js";
|
|
20
|
-
import { B as Y } from "./Button-CvE2gnly.js";
|
|
21
|
-
function de(a) {
|
|
22
|
-
return se("MuiFormGroup", a);
|
|
23
|
-
}
|
|
24
|
-
ae("MuiFormGroup", ["root", "row", "error"]);
|
|
25
|
-
const ue = ["className", "row"], pe = (a) => {
|
|
26
|
-
const {
|
|
27
|
-
classes: i,
|
|
28
|
-
row: c,
|
|
29
|
-
error: s
|
|
30
|
-
} = a;
|
|
31
|
-
return ne({
|
|
32
|
-
root: ["root", c && "row", s && "error"]
|
|
33
|
-
}, de, i);
|
|
34
|
-
}, fe = ie("div", {
|
|
35
|
-
name: "MuiFormGroup",
|
|
36
|
-
slot: "Root",
|
|
37
|
-
overridesResolver: (a, i) => {
|
|
38
|
-
const {
|
|
39
|
-
ownerState: c
|
|
40
|
-
} = a;
|
|
41
|
-
return [i.root, c.row && i.row];
|
|
42
|
-
}
|
|
43
|
-
})(({
|
|
44
|
-
ownerState: a
|
|
45
|
-
}) => M({
|
|
46
|
-
display: "flex",
|
|
47
|
-
flexDirection: "column",
|
|
48
|
-
flexWrap: "wrap"
|
|
49
|
-
}, a.row && {
|
|
50
|
-
flexDirection: "row"
|
|
51
|
-
})), $ = /* @__PURE__ */ J.forwardRef(function(i, c) {
|
|
52
|
-
const s = oe({
|
|
53
|
-
props: i,
|
|
54
|
-
name: "MuiFormGroup"
|
|
55
|
-
}), {
|
|
56
|
-
className: h,
|
|
57
|
-
row: e = !1
|
|
58
|
-
} = s, y = re(s, ue), u = me(), b = te({
|
|
59
|
-
props: s,
|
|
60
|
-
muiFormControl: u,
|
|
61
|
-
states: ["error"]
|
|
62
|
-
}), o = M({}, s, {
|
|
63
|
-
row: e,
|
|
64
|
-
error: b.error
|
|
65
|
-
}), P = pe(o);
|
|
66
|
-
return /* @__PURE__ */ t(fe, M({
|
|
67
|
-
className: le(P.root, h),
|
|
68
|
-
ownerState: o,
|
|
69
|
-
ref: c
|
|
70
|
-
}, y));
|
|
71
|
-
});
|
|
72
|
-
process.env.NODE_ENV !== "production" && ($.propTypes = {
|
|
73
|
-
// ----------------------------- Warning --------------------------------
|
|
74
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
75
|
-
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
76
|
-
// ----------------------------------------------------------------------
|
|
77
|
-
/**
|
|
78
|
-
* The content of the component.
|
|
79
|
-
*/
|
|
80
|
-
children: n.node,
|
|
81
|
-
/**
|
|
82
|
-
* Override or extend the styles applied to the component.
|
|
83
|
-
*/
|
|
84
|
-
classes: n.object,
|
|
85
|
-
/**
|
|
86
|
-
* @ignore
|
|
87
|
-
*/
|
|
88
|
-
className: n.string,
|
|
89
|
-
/**
|
|
90
|
-
* Display group of elements in a compact row.
|
|
91
|
-
* @default false
|
|
92
|
-
*/
|
|
93
|
-
row: n.bool,
|
|
94
|
-
/**
|
|
95
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
96
|
-
*/
|
|
97
|
-
sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object])
|
|
98
|
-
});
|
|
99
|
-
var q = {}, ye = Z;
|
|
100
|
-
Object.defineProperty(q, "__esModule", {
|
|
101
|
-
value: !0
|
|
102
|
-
});
|
|
103
|
-
var z = q.default = void 0, he = ye(X()), be = H;
|
|
104
|
-
z = q.default = (0, he.default)(/* @__PURE__ */ (0, be.jsx)("path", {
|
|
105
|
-
d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"
|
|
106
|
-
}), "Check");
|
|
107
|
-
function We({
|
|
108
|
-
inputVariant: a,
|
|
109
|
-
defaultValues: i = {
|
|
110
|
-
name: "",
|
|
111
|
-
propertyId: "",
|
|
112
|
-
type: R[0],
|
|
113
|
-
dataTypeInfo: {},
|
|
114
|
-
defaultValue: "",
|
|
115
|
-
privacyPreservationMethod: L[0],
|
|
116
|
-
required: !1,
|
|
117
|
-
visible: !1,
|
|
118
|
-
editable: !1,
|
|
119
|
-
distinctive: !1,
|
|
120
|
-
temporal: !1,
|
|
121
|
-
unique: !1
|
|
122
|
-
},
|
|
123
|
-
disablePropertyId: c,
|
|
124
|
-
onSubmit: s,
|
|
125
|
-
onCancel: h
|
|
126
|
-
}) {
|
|
127
|
-
var k, D, E, S, j, O, W, N, V, G, A, U, B;
|
|
128
|
-
const [e, y] = I.useState(i), [u, b] = I.useState({
|
|
129
|
-
name: !1
|
|
130
|
-
}), o = (r) => {
|
|
131
|
-
var v, T;
|
|
132
|
-
const l = r.target.name;
|
|
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
|
-
let x = { ...e };
|
|
136
|
-
Q.set(x, l, m), y(x);
|
|
137
|
-
return;
|
|
138
|
-
}
|
|
139
|
-
y((x) => ({
|
|
140
|
-
...x,
|
|
141
|
-
[l]: m
|
|
142
|
-
}));
|
|
143
|
-
}, P = () => {
|
|
144
|
-
if (!e.name) {
|
|
145
|
-
b({ ...u, name: !0 });
|
|
146
|
-
return;
|
|
147
|
-
}
|
|
148
|
-
s(e);
|
|
149
|
-
};
|
|
150
|
-
return I.useEffect(() => (u.name && e.name && b({ ...u, name: !1 }), () => {
|
|
151
|
-
}), [e.name]), I.useEffect(() => {
|
|
152
|
-
if (![
|
|
153
|
-
"date",
|
|
154
|
-
"coordinate",
|
|
155
|
-
"composite-list",
|
|
156
|
-
"enum",
|
|
157
|
-
"composite-matrix"
|
|
158
|
-
].includes(e.type)) {
|
|
159
|
-
if (e.dataTypeInfo) {
|
|
160
|
-
const { coordinateFormat: r, datePattern: l, innerType: m, enumValues: v } = e.dataTypeInfo;
|
|
161
|
-
(r || l || m || v) && y((T) => ({ ...T, dataTypeInfo: {} }));
|
|
162
|
-
}
|
|
163
|
-
return () => {
|
|
164
|
-
};
|
|
165
|
-
}
|
|
166
|
-
}, [e.type]), /* @__PURE__ */ d(K, { children: [
|
|
167
|
-
/* @__PURE__ */ t(
|
|
168
|
-
w,
|
|
169
|
-
{
|
|
170
|
-
label: "Name",
|
|
171
|
-
name: "name",
|
|
172
|
-
variant: a,
|
|
173
|
-
fullWidth: !0,
|
|
174
|
-
sx: { mb: 2, mt: 0.5 },
|
|
175
|
-
value: e.name,
|
|
176
|
-
onChange: o,
|
|
177
|
-
required: !0,
|
|
178
|
-
...u.name && {
|
|
179
|
-
error: !0,
|
|
180
|
-
helperText: "This field is required!"
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
),
|
|
184
|
-
/* @__PURE__ */ t(
|
|
185
|
-
w,
|
|
186
|
-
{
|
|
187
|
-
label: "Property ID",
|
|
188
|
-
name: "propertyId",
|
|
189
|
-
variant: a,
|
|
190
|
-
fullWidth: !0,
|
|
191
|
-
disabled: c,
|
|
192
|
-
sx: { mb: 2 },
|
|
193
|
-
value: e.propertyId,
|
|
194
|
-
onChange: o
|
|
195
|
-
}
|
|
196
|
-
),
|
|
197
|
-
/* @__PURE__ */ d(C, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
|
|
198
|
-
/* @__PURE__ */ t(F, { id: "type-select-label", children: "Type" }),
|
|
199
|
-
/* @__PURE__ */ t(
|
|
200
|
-
_,
|
|
201
|
-
{
|
|
202
|
-
label: "Type",
|
|
203
|
-
name: "type",
|
|
204
|
-
labelId: "type-select-label",
|
|
205
|
-
id: "type-select",
|
|
206
|
-
value: e.type,
|
|
207
|
-
onChange: o,
|
|
208
|
-
children: R.map((r, l) => /* @__PURE__ */ t(g, { value: r, children: r }, l))
|
|
209
|
-
}
|
|
210
|
-
)
|
|
211
|
-
] }),
|
|
212
|
-
e.type === "coordinate" && /* @__PURE__ */ d(C, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
|
|
213
|
-
/* @__PURE__ */ t(F, { id: "coordinate-format-select-label", children: "Cordinate Format" }),
|
|
214
|
-
/* @__PURE__ */ t(
|
|
215
|
-
_,
|
|
216
|
-
{
|
|
217
|
-
label: "Coordinate Format",
|
|
218
|
-
name: "dataTypeInfo.coordinateFormat",
|
|
219
|
-
labelId: "coordinate-format-select-label",
|
|
220
|
-
id: "coordinate-format-select",
|
|
221
|
-
value: (k = e.dataTypeInfo) == null ? void 0 : k.coordinateFormat,
|
|
222
|
-
onChange: o,
|
|
223
|
-
children: ee.map((r, l) => /* @__PURE__ */ t(g, { value: r, children: r }, l))
|
|
224
|
-
}
|
|
225
|
-
)
|
|
226
|
-
] }),
|
|
227
|
-
(e.type === "composite-list" || e.type === "composite-matrix") && /* @__PURE__ */ d(C, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
|
|
228
|
-
/* @__PURE__ */ t(F, { id: "composite-list-select-label", children: "Inner Type" }),
|
|
229
|
-
/* @__PURE__ */ t(
|
|
230
|
-
_,
|
|
231
|
-
{
|
|
232
|
-
label: "Inner Type",
|
|
233
|
-
name: "dataTypeInfo.innerType.type",
|
|
234
|
-
labelId: "composite-list-select-label",
|
|
235
|
-
id: "composite-list-select",
|
|
236
|
-
value: (E = (D = e.dataTypeInfo) == null ? void 0 : D.innerType) == null ? void 0 : E.type,
|
|
237
|
-
onChange: o,
|
|
238
|
-
children: R.filter(
|
|
239
|
-
(r) => r !== "composite-list" && r !== "list"
|
|
240
|
-
).map((r, l) => /* @__PURE__ */ t(g, { value: r, children: r }, l))
|
|
241
|
-
}
|
|
242
|
-
)
|
|
243
|
-
] }),
|
|
244
|
-
(e.type === "enum" || ((j = (S = e.dataTypeInfo) == null ? void 0 : S.innerType) == null ? void 0 : j.type) === "enum") && /* @__PURE__ */ t(
|
|
245
|
-
w,
|
|
246
|
-
{
|
|
247
|
-
label: "Enum Values",
|
|
248
|
-
name: ((W = (O = e.dataTypeInfo) == null ? void 0 : O.innerType) == null ? void 0 : W.type) === "enum" ? "dataTypeInfo.innerType.enumValues" : "dataTypeInfo.enumValues",
|
|
249
|
-
variant: a,
|
|
250
|
-
fullWidth: !0,
|
|
251
|
-
sx: { mb: 2 },
|
|
252
|
-
value: ((V = (N = e.dataTypeInfo) == null ? void 0 : N.innerType) == null ? void 0 : V.type) === "enum" ? (A = (G = e.dataTypeInfo.innerType) == null ? void 0 : G.enumValues) == null ? void 0 : A.join(",") : (B = (U = e.dataTypeInfo) == null ? void 0 : U.enumValues) == null ? void 0 : B.join(","),
|
|
253
|
-
onChange: o,
|
|
254
|
-
helperText: "Add list values with the comma (,) separated string"
|
|
255
|
-
}
|
|
256
|
-
),
|
|
257
|
-
/* @__PURE__ */ t(
|
|
258
|
-
w,
|
|
259
|
-
{
|
|
260
|
-
label: "Default Value",
|
|
261
|
-
name: "defaultValue",
|
|
262
|
-
variant: a,
|
|
263
|
-
fullWidth: !0,
|
|
264
|
-
sx: { mb: 2 },
|
|
265
|
-
value: e.defaultValue,
|
|
266
|
-
onChange: o
|
|
267
|
-
}
|
|
268
|
-
),
|
|
269
|
-
/* @__PURE__ */ d(C, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
|
|
270
|
-
/* @__PURE__ */ t(F, { id: "privacy-method-label", children: "Privacy Preservation Method" }),
|
|
271
|
-
/* @__PURE__ */ t(
|
|
272
|
-
_,
|
|
273
|
-
{
|
|
274
|
-
label: "Privacy Preservation Method",
|
|
275
|
-
name: "privacyPreservationMethod",
|
|
276
|
-
labelId: "privacy-method-label",
|
|
277
|
-
id: "privacy-method",
|
|
278
|
-
value: e.privacyPreservationMethod,
|
|
279
|
-
onChange: o,
|
|
280
|
-
children: L.map((r, l) => /* @__PURE__ */ t(g, { value: r, children: r }, l))
|
|
281
|
-
}
|
|
282
|
-
)
|
|
283
|
-
] }),
|
|
284
|
-
/* @__PURE__ */ d($, { row: !0, sx: { mb: 2 }, children: [
|
|
285
|
-
/* @__PURE__ */ t(
|
|
286
|
-
p,
|
|
287
|
-
{
|
|
288
|
-
label: "Required",
|
|
289
|
-
control: /* @__PURE__ */ t(
|
|
290
|
-
f,
|
|
291
|
-
{
|
|
292
|
-
name: "required",
|
|
293
|
-
checked: e.required,
|
|
294
|
-
onChange: o
|
|
295
|
-
}
|
|
296
|
-
),
|
|
297
|
-
sx: { width: "30%" }
|
|
298
|
-
}
|
|
299
|
-
),
|
|
300
|
-
/* @__PURE__ */ t(
|
|
301
|
-
p,
|
|
302
|
-
{
|
|
303
|
-
label: "Editable",
|
|
304
|
-
control: /* @__PURE__ */ t(
|
|
305
|
-
f,
|
|
306
|
-
{
|
|
307
|
-
name: "editable",
|
|
308
|
-
checked: e.editable,
|
|
309
|
-
onChange: o
|
|
310
|
-
}
|
|
311
|
-
),
|
|
312
|
-
sx: { width: "30%" }
|
|
313
|
-
}
|
|
314
|
-
),
|
|
315
|
-
/* @__PURE__ */ t(
|
|
316
|
-
p,
|
|
317
|
-
{
|
|
318
|
-
label: "Visible",
|
|
319
|
-
control: /* @__PURE__ */ t(
|
|
320
|
-
f,
|
|
321
|
-
{
|
|
322
|
-
name: "visible",
|
|
323
|
-
checked: e.visible,
|
|
324
|
-
onChange: o
|
|
325
|
-
}
|
|
326
|
-
),
|
|
327
|
-
sx: { width: "30%" }
|
|
328
|
-
}
|
|
329
|
-
),
|
|
330
|
-
/* @__PURE__ */ t(
|
|
331
|
-
p,
|
|
332
|
-
{
|
|
333
|
-
label: "Unique",
|
|
334
|
-
control: /* @__PURE__ */ t(f, { name: "unique", checked: e.unique, onChange: o }),
|
|
335
|
-
sx: { width: "30%" }
|
|
336
|
-
}
|
|
337
|
-
),
|
|
338
|
-
/* @__PURE__ */ t(
|
|
339
|
-
p,
|
|
340
|
-
{
|
|
341
|
-
label: "Distinctive",
|
|
342
|
-
control: /* @__PURE__ */ t(
|
|
343
|
-
f,
|
|
344
|
-
{
|
|
345
|
-
name: "distinctive",
|
|
346
|
-
checked: e.distinctive,
|
|
347
|
-
onChange: o
|
|
348
|
-
}
|
|
349
|
-
),
|
|
350
|
-
sx: { width: "30%" }
|
|
351
|
-
}
|
|
352
|
-
),
|
|
353
|
-
/* @__PURE__ */ t(
|
|
354
|
-
p,
|
|
355
|
-
{
|
|
356
|
-
label: "Temporal",
|
|
357
|
-
control: /* @__PURE__ */ t(
|
|
358
|
-
f,
|
|
359
|
-
{
|
|
360
|
-
name: "temporal",
|
|
361
|
-
checked: e.temporal,
|
|
362
|
-
onChange: o
|
|
363
|
-
}
|
|
364
|
-
),
|
|
365
|
-
sx: { width: "30%" }
|
|
366
|
-
}
|
|
367
|
-
)
|
|
368
|
-
] }),
|
|
369
|
-
/* @__PURE__ */ d(ce, { display: "flex", justifyContent: "flex-end", children: [
|
|
370
|
-
/* @__PURE__ */ t(Y, { variant: "contained", onClick: h, sx: { marginRight: 2 }, children: "Cancel" }),
|
|
371
|
-
/* @__PURE__ */ t(
|
|
372
|
-
Y,
|
|
373
|
-
{
|
|
374
|
-
variant: "contained",
|
|
375
|
-
startIcon: /* @__PURE__ */ t(z, {}),
|
|
376
|
-
onClick: P,
|
|
377
|
-
children: "OK"
|
|
378
|
-
}
|
|
379
|
-
)
|
|
380
|
-
] })
|
|
381
|
-
] });
|
|
382
|
-
}
|
|
383
|
-
export {
|
|
384
|
-
$ as F,
|
|
385
|
-
We as a
|
|
386
|
-
};
|
package/dist/styled-eZwjUruw.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { createStyled as s, shouldForwardProp as r } from "@mui/system";
|
|
2
|
-
import { c as t } from "./createTheme-DYxDnE9u.js";
|
|
3
|
-
const a = t(), e = (o) => r(o) && o !== "classes", l = r, m = s({
|
|
4
|
-
defaultTheme: a,
|
|
5
|
-
rootShouldForwardProp: e
|
|
6
|
-
});
|
|
7
|
-
export {
|
|
8
|
-
l as a,
|
|
9
|
-
a as d,
|
|
10
|
-
e as r,
|
|
11
|
-
m as s
|
|
12
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { a as y } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
|
|
2
|
-
function E(o, e) {
|
|
3
|
-
if (process.env.NODE_ENV === "production")
|
|
4
|
-
return () => null;
|
|
5
|
-
const t = e ? y({}, e.propTypes) : null;
|
|
6
|
-
return (n) => (r, u, f, d, p, ...a) => {
|
|
7
|
-
const i = p || u, s = t == null ? void 0 : t[i];
|
|
8
|
-
if (s) {
|
|
9
|
-
const l = s(r, u, f, d, p, ...a);
|
|
10
|
-
if (l)
|
|
11
|
-
return l;
|
|
12
|
-
}
|
|
13
|
-
return typeof r[u] < "u" && !r[n] ? new Error(`The prop \`${i}\` of \`${o}\` can only be used together with the \`${n}\` prop.`) : null;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
function v(o, e, t, c, n) {
|
|
17
|
-
if (process.env.NODE_ENV === "production")
|
|
18
|
-
return null;
|
|
19
|
-
const r = n || e;
|
|
20
|
-
return typeof o[e] < "u" ? new Error(`The prop \`${r}\` is not supported. Please remove it.`) : null;
|
|
21
|
-
}
|
|
22
|
-
export {
|
|
23
|
-
E as r,
|
|
24
|
-
v as u
|
|
25
|
-
};
|
package/dist/useId-B4-oF9Mq.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import * as u from "react";
|
|
2
|
-
function l(...n) {
|
|
3
|
-
return n.reduce((t, e) => e == null ? t : function(...c) {
|
|
4
|
-
t.apply(this, c), e.apply(this, c);
|
|
5
|
-
}, () => {
|
|
6
|
-
});
|
|
7
|
-
}
|
|
8
|
-
function s(n) {
|
|
9
|
-
return n && n.ownerDocument || document;
|
|
10
|
-
}
|
|
11
|
-
function f(n) {
|
|
12
|
-
return s(n).defaultView || window;
|
|
13
|
-
}
|
|
14
|
-
let a = 0;
|
|
15
|
-
function i(n) {
|
|
16
|
-
const [t, e] = u.useState(n), o = n || t;
|
|
17
|
-
return u.useEffect(() => {
|
|
18
|
-
t == null && (a += 1, e(`mui-${a}`));
|
|
19
|
-
}, [t]), o;
|
|
20
|
-
}
|
|
21
|
-
const r = u.useId;
|
|
22
|
-
function d(n) {
|
|
23
|
-
if (r !== void 0) {
|
|
24
|
-
const t = r();
|
|
25
|
-
return n ?? t;
|
|
26
|
-
}
|
|
27
|
-
return i(n);
|
|
28
|
-
}
|
|
29
|
-
export {
|
|
30
|
-
f as a,
|
|
31
|
-
l as c,
|
|
32
|
-
s as o,
|
|
33
|
-
d as u
|
|
34
|
-
};
|