@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-BMS1Otro.js
DELETED
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
var P = { exports: {} }, t = {};
|
|
2
|
-
/**
|
|
3
|
-
* @license React
|
|
4
|
-
* react-is.production.min.js
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
7
|
-
*
|
|
8
|
-
* This source code is licensed under the MIT license found in the
|
|
9
|
-
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/
|
|
11
|
-
var F;
|
|
12
|
-
function se() {
|
|
13
|
-
if (F) return t;
|
|
14
|
-
F = 1;
|
|
15
|
-
var S = Symbol.for("react.element"), p = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), u = Symbol.for("react.context"), R = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), _;
|
|
16
|
-
_ = Symbol.for("react.module.reference");
|
|
17
|
-
function n(e) {
|
|
18
|
-
if (typeof e == "object" && e !== null) {
|
|
19
|
-
var y = e.$$typeof;
|
|
20
|
-
switch (y) {
|
|
21
|
-
case S:
|
|
22
|
-
switch (e = e.type, e) {
|
|
23
|
-
case i:
|
|
24
|
-
case c:
|
|
25
|
-
case a:
|
|
26
|
-
case m:
|
|
27
|
-
case d:
|
|
28
|
-
return e;
|
|
29
|
-
default:
|
|
30
|
-
switch (e = e && e.$$typeof, e) {
|
|
31
|
-
case R:
|
|
32
|
-
case u:
|
|
33
|
-
case l:
|
|
34
|
-
case v:
|
|
35
|
-
case E:
|
|
36
|
-
case f:
|
|
37
|
-
return e;
|
|
38
|
-
default:
|
|
39
|
-
return y;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
case p:
|
|
43
|
-
return y;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
return t.ContextConsumer = u, t.ContextProvider = f, t.Element = S, t.ForwardRef = l, t.Fragment = i, t.Lazy = v, t.Memo = E, t.Portal = p, t.Profiler = c, t.StrictMode = a, t.Suspense = m, t.SuspenseList = d, t.isAsyncMode = function() {
|
|
48
|
-
return !1;
|
|
49
|
-
}, t.isConcurrentMode = function() {
|
|
50
|
-
return !1;
|
|
51
|
-
}, t.isContextConsumer = function(e) {
|
|
52
|
-
return n(e) === u;
|
|
53
|
-
}, t.isContextProvider = function(e) {
|
|
54
|
-
return n(e) === f;
|
|
55
|
-
}, t.isElement = function(e) {
|
|
56
|
-
return typeof e == "object" && e !== null && e.$$typeof === S;
|
|
57
|
-
}, t.isForwardRef = function(e) {
|
|
58
|
-
return n(e) === l;
|
|
59
|
-
}, t.isFragment = function(e) {
|
|
60
|
-
return n(e) === i;
|
|
61
|
-
}, t.isLazy = function(e) {
|
|
62
|
-
return n(e) === v;
|
|
63
|
-
}, t.isMemo = function(e) {
|
|
64
|
-
return n(e) === E;
|
|
65
|
-
}, t.isPortal = function(e) {
|
|
66
|
-
return n(e) === p;
|
|
67
|
-
}, t.isProfiler = function(e) {
|
|
68
|
-
return n(e) === c;
|
|
69
|
-
}, t.isStrictMode = function(e) {
|
|
70
|
-
return n(e) === a;
|
|
71
|
-
}, t.isSuspense = function(e) {
|
|
72
|
-
return n(e) === m;
|
|
73
|
-
}, t.isSuspenseList = function(e) {
|
|
74
|
-
return n(e) === d;
|
|
75
|
-
}, t.isValidElementType = function(e) {
|
|
76
|
-
return typeof e == "string" || typeof e == "function" || e === i || e === c || e === a || e === m || e === d || e === T || typeof e == "object" && e !== null && (e.$$typeof === v || e.$$typeof === E || e.$$typeof === f || e.$$typeof === u || e.$$typeof === l || e.$$typeof === _ || e.getModuleId !== void 0);
|
|
77
|
-
}, t.typeOf = n, t;
|
|
78
|
-
}
|
|
79
|
-
var o = {};
|
|
80
|
-
/**
|
|
81
|
-
* @license React
|
|
82
|
-
* react-is.development.js
|
|
83
|
-
*
|
|
84
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
85
|
-
*
|
|
86
|
-
* This source code is licensed under the MIT license found in the
|
|
87
|
-
* LICENSE file in the root directory of this source tree.
|
|
88
|
-
*/
|
|
89
|
-
var I;
|
|
90
|
-
function ie() {
|
|
91
|
-
return I || (I = 1, process.env.NODE_ENV !== "production" && function() {
|
|
92
|
-
var S = Symbol.for("react.element"), p = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), u = Symbol.for("react.context"), R = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), _ = !1, n = !1, e = !1, y = !1, L = !1, M;
|
|
93
|
-
M = Symbol.for("react.module.reference");
|
|
94
|
-
function w(r) {
|
|
95
|
-
return !!(typeof r == "string" || typeof r == "function" || r === i || r === c || L || r === a || r === m || r === d || y || r === T || _ || n || e || typeof r == "object" && r !== null && (r.$$typeof === v || r.$$typeof === E || r.$$typeof === f || r.$$typeof === u || r.$$typeof === l || // This needs to include all possible module reference object
|
|
96
|
-
// types supported by any Flight configuration anywhere since
|
|
97
|
-
// we don't know which Flight build this will end up being used
|
|
98
|
-
// with.
|
|
99
|
-
r.$$typeof === M || r.getModuleId !== void 0));
|
|
100
|
-
}
|
|
101
|
-
function s(r) {
|
|
102
|
-
if (typeof r == "object" && r !== null) {
|
|
103
|
-
var C = r.$$typeof;
|
|
104
|
-
switch (C) {
|
|
105
|
-
case S:
|
|
106
|
-
var b = r.type;
|
|
107
|
-
switch (b) {
|
|
108
|
-
case i:
|
|
109
|
-
case c:
|
|
110
|
-
case a:
|
|
111
|
-
case m:
|
|
112
|
-
case d:
|
|
113
|
-
return b;
|
|
114
|
-
default:
|
|
115
|
-
var x = b && b.$$typeof;
|
|
116
|
-
switch (x) {
|
|
117
|
-
case R:
|
|
118
|
-
case u:
|
|
119
|
-
case l:
|
|
120
|
-
case v:
|
|
121
|
-
case E:
|
|
122
|
-
case f:
|
|
123
|
-
return x;
|
|
124
|
-
default:
|
|
125
|
-
return C;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
case p:
|
|
129
|
-
return C;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
var g = u, h = f, O = S, Y = l, N = i, D = v, z = E, V = p, q = c, j = a, U = m, W = d, $ = !1, A = !1;
|
|
134
|
-
function X(r) {
|
|
135
|
-
return $ || ($ = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
136
|
-
}
|
|
137
|
-
function k(r) {
|
|
138
|
-
return A || (A = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
139
|
-
}
|
|
140
|
-
function G(r) {
|
|
141
|
-
return s(r) === u;
|
|
142
|
-
}
|
|
143
|
-
function H(r) {
|
|
144
|
-
return s(r) === f;
|
|
145
|
-
}
|
|
146
|
-
function Z(r) {
|
|
147
|
-
return typeof r == "object" && r !== null && r.$$typeof === S;
|
|
148
|
-
}
|
|
149
|
-
function B(r) {
|
|
150
|
-
return s(r) === l;
|
|
151
|
-
}
|
|
152
|
-
function J(r) {
|
|
153
|
-
return s(r) === i;
|
|
154
|
-
}
|
|
155
|
-
function K(r) {
|
|
156
|
-
return s(r) === v;
|
|
157
|
-
}
|
|
158
|
-
function Q(r) {
|
|
159
|
-
return s(r) === E;
|
|
160
|
-
}
|
|
161
|
-
function ee(r) {
|
|
162
|
-
return s(r) === p;
|
|
163
|
-
}
|
|
164
|
-
function re(r) {
|
|
165
|
-
return s(r) === c;
|
|
166
|
-
}
|
|
167
|
-
function te(r) {
|
|
168
|
-
return s(r) === a;
|
|
169
|
-
}
|
|
170
|
-
function oe(r) {
|
|
171
|
-
return s(r) === m;
|
|
172
|
-
}
|
|
173
|
-
function ne(r) {
|
|
174
|
-
return s(r) === d;
|
|
175
|
-
}
|
|
176
|
-
o.ContextConsumer = g, o.ContextProvider = h, o.Element = O, o.ForwardRef = Y, o.Fragment = N, o.Lazy = D, o.Memo = z, o.Portal = V, o.Profiler = q, o.StrictMode = j, o.Suspense = U, o.SuspenseList = W, o.isAsyncMode = X, o.isConcurrentMode = k, o.isContextConsumer = G, o.isContextProvider = H, o.isElement = Z, o.isForwardRef = B, o.isFragment = J, o.isLazy = K, o.isMemo = Q, o.isPortal = ee, o.isProfiler = re, o.isStrictMode = te, o.isSuspense = oe, o.isSuspenseList = ne, o.isValidElementType = w, o.typeOf = s;
|
|
177
|
-
}()), o;
|
|
178
|
-
}
|
|
179
|
-
process.env.NODE_ENV === "production" ? P.exports = se() : P.exports = ie();
|
|
180
|
-
var ae = P.exports;
|
|
181
|
-
export {
|
|
182
|
-
ae as r
|
|
183
|
-
};
|
package/dist/index-CcdvNlgr.js
DELETED
|
@@ -1,503 +0,0 @@
|
|
|
1
|
-
import { jsx as n, jsxs as u, Fragment as E } from "react/jsx-runtime";
|
|
2
|
-
import { KeyboardArrowUp as U, KeyboardArrowDown as J, Add as Q, LockOutlined as X } from "@mui/icons-material";
|
|
3
|
-
import { Box as S, Typography as I, FormControl as Z, FormLabel as z, FormGroup as P, FormControlLabel as y, Checkbox as O, Button as _, Chip as p, Dialog as ee, DialogTitle as ne, DialogContent as ae, DialogActions as de, InputAdornment as le, Tooltip as ce } from "@mui/material";
|
|
4
|
-
import K from "dayjs";
|
|
5
|
-
import C from "lodash";
|
|
6
|
-
import { useState as G } from "react";
|
|
7
|
-
import te from "./hooks/useToggle.js";
|
|
8
|
-
import { ConditionalWrapper as o } from "./components/conditional-wrapper/index.js";
|
|
9
|
-
import { DateTimePicker as ie } from "./components/date-time-picker/index.js";
|
|
10
|
-
import { GeometryPicker as me } from "./components/geometry-picker/index.js";
|
|
11
|
-
import { PhoneInput as he } from "./components/phone-input/index.js";
|
|
12
|
-
import B from "./components/instance-form/components/TopLabelWrapper.js";
|
|
13
|
-
import ue from "./components/instance-form/components/composite-matrix/index.js";
|
|
14
|
-
import { B as m } from "./Box-p6OtTUEo.js";
|
|
15
|
-
import { T as H } from "./TextField-1yCesIbH.js";
|
|
16
|
-
import { F as re } from "./FormControlLabel-C8SPv14J.js";
|
|
17
|
-
import { C as oe } from "./Checkbox-CWRMFTBp.js";
|
|
18
|
-
import { F as se, I as Ie } from "./FormControl-BLbrq4C7.js";
|
|
19
|
-
import { S as fe } from "./Select-BgYwkZgI.js";
|
|
20
|
-
import { M as ge } from "./MenuItem-xZx_w7zA.js";
|
|
21
|
-
import { Container as we, Values as xe, MiniButton as Ce } from "./components/instance-form/components/composite-list/styled.js";
|
|
22
|
-
function Ve({
|
|
23
|
-
property: r,
|
|
24
|
-
mapboxAccessToken: e,
|
|
25
|
-
value: l,
|
|
26
|
-
variant: f = "outlined",
|
|
27
|
-
labelPosition: c = "default",
|
|
28
|
-
size: s = "medium",
|
|
29
|
-
onChange: T
|
|
30
|
-
}) {
|
|
31
|
-
var b, k, A;
|
|
32
|
-
const a = te(!1), [g, F] = G(), [V, N] = G(!1), M = 10, $ = (t) => {
|
|
33
|
-
F(C.get(t, r.propertyId));
|
|
34
|
-
}, j = () => {
|
|
35
|
-
T([...l || [], g]), F(""), a.action.close();
|
|
36
|
-
}, q = (t) => () => {
|
|
37
|
-
if (l) {
|
|
38
|
-
const i = [...l];
|
|
39
|
-
i.splice(t, 1), T(i);
|
|
40
|
-
}
|
|
41
|
-
}, v = (t) => {
|
|
42
|
-
const { value: i, checked: x } = t.target;
|
|
43
|
-
let w = C.isArray(l) ? l : [];
|
|
44
|
-
x ? w.push(i) : w = w.filter((W) => W !== i), T(w);
|
|
45
|
-
};
|
|
46
|
-
if (((k = (b = r.dataTypeInfo) == null ? void 0 : b.innerType) == null ? void 0 : k.type) === "enum") {
|
|
47
|
-
const { enumValues: t } = r.dataTypeInfo.innerType;
|
|
48
|
-
return /* @__PURE__ */ n(
|
|
49
|
-
o,
|
|
50
|
-
{
|
|
51
|
-
condition: c === "left",
|
|
52
|
-
wrapper: (i) => /* @__PURE__ */ u(S, { display: "flex", alignItems: "center", children: [
|
|
53
|
-
/* @__PURE__ */ n(I, { width: "32%", children: r.name }),
|
|
54
|
-
/* @__PURE__ */ n(S, { width: "68%", children: i })
|
|
55
|
-
] }),
|
|
56
|
-
children: /* @__PURE__ */ u(E, { children: [
|
|
57
|
-
/* @__PURE__ */ u(Z, { fullWidth: !0, component: "fieldset", variant: f, children: [
|
|
58
|
-
c === "default" && /* @__PURE__ */ n(z, { component: "legend", sx: { mb: 1 }, children: r.name }),
|
|
59
|
-
/* @__PURE__ */ n(P, { children: t && t.length > 0 ? t.slice(0, V ? 9999 : M).map((i, x) => /* @__PURE__ */ n(
|
|
60
|
-
y,
|
|
61
|
-
{
|
|
62
|
-
label: i,
|
|
63
|
-
control: /* @__PURE__ */ n(
|
|
64
|
-
O,
|
|
65
|
-
{
|
|
66
|
-
name: r.propertyId,
|
|
67
|
-
value: i,
|
|
68
|
-
size: "small",
|
|
69
|
-
checked: C.isArray(l) ? l.includes(i) : !1,
|
|
70
|
-
onChange: v
|
|
71
|
-
}
|
|
72
|
-
),
|
|
73
|
-
componentsProps: {
|
|
74
|
-
typography: {
|
|
75
|
-
variant: "body2"
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
x
|
|
80
|
-
)) : /* @__PURE__ */ n(I, { variant: "caption", mb: 1, children: "No enum values!" }) })
|
|
81
|
-
] }),
|
|
82
|
-
C.isArray(t) && t.length > M && /* @__PURE__ */ u(
|
|
83
|
-
_,
|
|
84
|
-
{
|
|
85
|
-
size: "small",
|
|
86
|
-
sx: { p: 0, textTransform: "none" },
|
|
87
|
-
endIcon: V ? /* @__PURE__ */ n(U, {}) : /* @__PURE__ */ n(J, {}),
|
|
88
|
-
onClick: () => N((i) => !i),
|
|
89
|
-
children: [
|
|
90
|
-
"Show ",
|
|
91
|
-
V ? "Less" : "More"
|
|
92
|
-
]
|
|
93
|
-
}
|
|
94
|
-
)
|
|
95
|
-
] })
|
|
96
|
-
}
|
|
97
|
-
);
|
|
98
|
-
}
|
|
99
|
-
return /* @__PURE__ */ u(E, { children: [
|
|
100
|
-
/* @__PURE__ */ n(
|
|
101
|
-
o,
|
|
102
|
-
{
|
|
103
|
-
condition: c === "left",
|
|
104
|
-
wrapper: (t) => /* @__PURE__ */ u(S, { display: "flex", alignItems: "center", children: [
|
|
105
|
-
/* @__PURE__ */ n(I, { width: "32%", children: r.name }),
|
|
106
|
-
/* @__PURE__ */ n(S, { width: "68%", children: t })
|
|
107
|
-
] }),
|
|
108
|
-
children: /* @__PURE__ */ u(we, { variant: f, children: [
|
|
109
|
-
c === "default" && /* @__PURE__ */ n(I, { children: r.name }),
|
|
110
|
-
/* @__PURE__ */ n(xe, { children: C.isArray(l) && l.map((t, i) => {
|
|
111
|
-
var x, w;
|
|
112
|
-
return /* @__PURE__ */ n(
|
|
113
|
-
p,
|
|
114
|
-
{
|
|
115
|
-
label: ((w = (x = r.dataTypeInfo) == null ? void 0 : x.innerType) == null ? void 0 : w.type) === "date" ? K(t).format("DD/MM/YYYY HH:mm:ss") : t,
|
|
116
|
-
size: s,
|
|
117
|
-
onDelete: q(i)
|
|
118
|
-
},
|
|
119
|
-
i
|
|
120
|
-
);
|
|
121
|
-
}) }),
|
|
122
|
-
/* @__PURE__ */ n(
|
|
123
|
-
Ce,
|
|
124
|
-
{
|
|
125
|
-
startIcon: /* @__PURE__ */ n(Q, {}),
|
|
126
|
-
variant: "text",
|
|
127
|
-
onClick: a.action.open,
|
|
128
|
-
children: "Add"
|
|
129
|
-
}
|
|
130
|
-
)
|
|
131
|
-
] })
|
|
132
|
-
}
|
|
133
|
-
),
|
|
134
|
-
/* @__PURE__ */ u(
|
|
135
|
-
ee,
|
|
136
|
-
{
|
|
137
|
-
open: a.state.isOpen,
|
|
138
|
-
onClose: a.action.close,
|
|
139
|
-
maxWidth: "sm",
|
|
140
|
-
fullWidth: !0,
|
|
141
|
-
children: [
|
|
142
|
-
/* @__PURE__ */ n(ne, { children: "Add List Value" }),
|
|
143
|
-
/* @__PURE__ */ n(ae, { children: (A = r.dataTypeInfo) != null && A.innerType ? /* @__PURE__ */ n(
|
|
144
|
-
Te,
|
|
145
|
-
{
|
|
146
|
-
mapboxAccessToken: e,
|
|
147
|
-
property: {
|
|
148
|
-
...r,
|
|
149
|
-
name: "Value",
|
|
150
|
-
type: r.dataTypeInfo.innerType.type
|
|
151
|
-
},
|
|
152
|
-
value: g,
|
|
153
|
-
onChange: $
|
|
154
|
-
}
|
|
155
|
-
) : null }),
|
|
156
|
-
/* @__PURE__ */ u(de, { children: [
|
|
157
|
-
/* @__PURE__ */ n(
|
|
158
|
-
_,
|
|
159
|
-
{
|
|
160
|
-
variant: "contained",
|
|
161
|
-
color: "inherit",
|
|
162
|
-
onClick: a.action.close,
|
|
163
|
-
children: "Cancel"
|
|
164
|
-
}
|
|
165
|
-
),
|
|
166
|
-
/* @__PURE__ */ n(_, { variant: "contained", color: "primary", onClick: j, children: "Ok" })
|
|
167
|
-
] })
|
|
168
|
-
]
|
|
169
|
-
}
|
|
170
|
-
)
|
|
171
|
-
] });
|
|
172
|
-
}
|
|
173
|
-
function Te({
|
|
174
|
-
mapboxAccessToken: r,
|
|
175
|
-
property: e,
|
|
176
|
-
value: l,
|
|
177
|
-
variant: f = "outlined",
|
|
178
|
-
labelPosition: c = "top",
|
|
179
|
-
size: s = "medium",
|
|
180
|
-
defaultExtent: T,
|
|
181
|
-
fieldOptions: a,
|
|
182
|
-
onChange: g
|
|
183
|
-
}) {
|
|
184
|
-
var v, b, k, A, t, i, x, w, W;
|
|
185
|
-
const F = (d) => {
|
|
186
|
-
const L = d.target.value.split(",").map((Y) => Y.trimStart());
|
|
187
|
-
g({
|
|
188
|
-
[e.propertyId]: L
|
|
189
|
-
});
|
|
190
|
-
}, V = (d) => {
|
|
191
|
-
const { name: h, type: L, checked: Y, value: R } = d.target;
|
|
192
|
-
let D = R;
|
|
193
|
-
e.type === "double" && (D = D.replace(",", "."), D = D.replace(/[^\d.-]+/g, "")), g({
|
|
194
|
-
[h]: L === "checkbox" ? Y : D
|
|
195
|
-
});
|
|
196
|
-
}, N = (d) => {
|
|
197
|
-
g({
|
|
198
|
-
[e.propertyId]: d
|
|
199
|
-
});
|
|
200
|
-
}, M = (d) => {
|
|
201
|
-
g({
|
|
202
|
-
[e.propertyId]: d.target.value
|
|
203
|
-
});
|
|
204
|
-
}, $ = (d) => (h) => {
|
|
205
|
-
g({
|
|
206
|
-
[d]: h
|
|
207
|
-
});
|
|
208
|
-
}, j = (d) => (h) => {
|
|
209
|
-
g({
|
|
210
|
-
[d]: h
|
|
211
|
-
});
|
|
212
|
-
}, q = (d) => (h) => {
|
|
213
|
-
g({
|
|
214
|
-
[d]: h
|
|
215
|
-
});
|
|
216
|
-
};
|
|
217
|
-
if (a && a[e.propertyId] && a[e.propertyId].component)
|
|
218
|
-
return a[e.propertyId].component;
|
|
219
|
-
if ([
|
|
220
|
-
"string",
|
|
221
|
-
"integer",
|
|
222
|
-
"double",
|
|
223
|
-
"text",
|
|
224
|
-
"long",
|
|
225
|
-
"byte",
|
|
226
|
-
"bank-account"
|
|
227
|
-
].includes(e.type))
|
|
228
|
-
return /* @__PURE__ */ n(
|
|
229
|
-
o,
|
|
230
|
-
{
|
|
231
|
-
condition: c === "left",
|
|
232
|
-
wrapper: (d) => /* @__PURE__ */ u(m, { display: "flex", alignItems: "center", children: [
|
|
233
|
-
/* @__PURE__ */ n(I, { width: "32%", children: e.name }),
|
|
234
|
-
/* @__PURE__ */ n(m, { width: "68%", children: d })
|
|
235
|
-
] }),
|
|
236
|
-
children: /* @__PURE__ */ n(
|
|
237
|
-
o,
|
|
238
|
-
{
|
|
239
|
-
condition: c === "top",
|
|
240
|
-
wrapper: B(
|
|
241
|
-
e == null ? void 0 : e.name,
|
|
242
|
-
e == null ? void 0 : e.required,
|
|
243
|
-
(v = a == null ? void 0 : a[e == null ? void 0 : e.propertyId]) == null ? void 0 : v.description
|
|
244
|
-
),
|
|
245
|
-
children: /* @__PURE__ */ n(
|
|
246
|
-
H,
|
|
247
|
-
{
|
|
248
|
-
label: c === "default" ? e.name : void 0,
|
|
249
|
-
placeholder: ((b = a == null ? void 0 : a[e.propertyId]) == null ? void 0 : b.placeholder) ?? "",
|
|
250
|
-
name: e.propertyId,
|
|
251
|
-
required: e.required,
|
|
252
|
-
value: l ?? e.defaultValue ?? "",
|
|
253
|
-
defaultValue: l,
|
|
254
|
-
onChange: V,
|
|
255
|
-
variant: f,
|
|
256
|
-
type: "text",
|
|
257
|
-
multiline: e.type === "text",
|
|
258
|
-
disabled: !e.editable,
|
|
259
|
-
fullWidth: !0,
|
|
260
|
-
inputProps: {
|
|
261
|
-
maxLength: ((k = a == null ? void 0 : a[e.propertyId]) == null ? void 0 : k.maxChar) ?? 1e5
|
|
262
|
-
},
|
|
263
|
-
InputProps: {
|
|
264
|
-
size: s,
|
|
265
|
-
...a && a[e.propertyId] && {
|
|
266
|
-
tabIndex: a[e.propertyId].order
|
|
267
|
-
},
|
|
268
|
-
...e.privacyPreservationMethod === "ENCRYPTION" ? {
|
|
269
|
-
endAdornment: /* @__PURE__ */ n(le, { position: "end", children: /* @__PURE__ */ n(ce, { title: "Encrypted Field", children: /* @__PURE__ */ n(X, {}) }) })
|
|
270
|
-
} : {}
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
)
|
|
274
|
-
}
|
|
275
|
-
)
|
|
276
|
-
}
|
|
277
|
-
);
|
|
278
|
-
if (e.type === "date") {
|
|
279
|
-
const d = l !== void 0 ? K(l).format() : l;
|
|
280
|
-
return /* @__PURE__ */ n(
|
|
281
|
-
o,
|
|
282
|
-
{
|
|
283
|
-
condition: c === "left",
|
|
284
|
-
wrapper: (h) => /* @__PURE__ */ u(m, { display: "flex", alignItems: "center", children: [
|
|
285
|
-
/* @__PURE__ */ n(I, { width: "32%", children: e.name }),
|
|
286
|
-
/* @__PURE__ */ n(m, { width: "68%", children: h })
|
|
287
|
-
] }),
|
|
288
|
-
children: /* @__PURE__ */ n(
|
|
289
|
-
o,
|
|
290
|
-
{
|
|
291
|
-
condition: c === "top",
|
|
292
|
-
wrapper: B(
|
|
293
|
-
e.name,
|
|
294
|
-
e == null ? void 0 : e.required,
|
|
295
|
-
(A = a == null ? void 0 : a[e == null ? void 0 : e.propertyId]) == null ? void 0 : A.description
|
|
296
|
-
),
|
|
297
|
-
children: /* @__PURE__ */ n(
|
|
298
|
-
ie,
|
|
299
|
-
{
|
|
300
|
-
label: c === "default" ? e.name : void 0,
|
|
301
|
-
value: d,
|
|
302
|
-
variant: f,
|
|
303
|
-
size: s,
|
|
304
|
-
name: e.propertyId,
|
|
305
|
-
onChange: N,
|
|
306
|
-
...a && a[e.propertyId] && {
|
|
307
|
-
minDate: a[e.propertyId].minDate
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
)
|
|
311
|
-
}
|
|
312
|
-
)
|
|
313
|
-
}
|
|
314
|
-
);
|
|
315
|
-
}
|
|
316
|
-
if (e.type === "list") {
|
|
317
|
-
let d = "";
|
|
318
|
-
return e.defaultValue && (d = C.isArray(e.defaultValue) ? l.join(", ") : e.defaultValue), l && (d = C.isArray(l) ? l.join(",") : l), /* @__PURE__ */ n(
|
|
319
|
-
o,
|
|
320
|
-
{
|
|
321
|
-
condition: c === "left",
|
|
322
|
-
wrapper: (h) => /* @__PURE__ */ u(m, { display: "flex", alignItems: "center", children: [
|
|
323
|
-
/* @__PURE__ */ n(I, { width: "32%", children: e.name }),
|
|
324
|
-
/* @__PURE__ */ n(m, { width: "68%", children: h })
|
|
325
|
-
] }),
|
|
326
|
-
children: /* @__PURE__ */ n(
|
|
327
|
-
o,
|
|
328
|
-
{
|
|
329
|
-
condition: c === "top",
|
|
330
|
-
wrapper: B(
|
|
331
|
-
e.name,
|
|
332
|
-
e == null ? void 0 : e.required,
|
|
333
|
-
(t = a == null ? void 0 : a[e == null ? void 0 : e.propertyId]) == null ? void 0 : t.description
|
|
334
|
-
),
|
|
335
|
-
children: /* @__PURE__ */ n(
|
|
336
|
-
H,
|
|
337
|
-
{
|
|
338
|
-
label: c === "default" ? e.name : void 0,
|
|
339
|
-
name: e.propertyId,
|
|
340
|
-
value: d,
|
|
341
|
-
onChange: F,
|
|
342
|
-
variant: f,
|
|
343
|
-
disabled: !e.editable,
|
|
344
|
-
required: e.required,
|
|
345
|
-
fullWidth: !0,
|
|
346
|
-
helperText: s === "small" ? null : "Add list values with the comma (,) separated string",
|
|
347
|
-
InputProps: {
|
|
348
|
-
size: s,
|
|
349
|
-
placeholder: s === "small" ? "Add list values with the comma (,) separated string" : "",
|
|
350
|
-
...a && a[e.propertyId] && {
|
|
351
|
-
tabIndex: a[e.propertyId].order
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
)
|
|
356
|
-
}
|
|
357
|
-
)
|
|
358
|
-
}
|
|
359
|
-
);
|
|
360
|
-
}
|
|
361
|
-
if (e.type === "boolean")
|
|
362
|
-
return /* @__PURE__ */ n(
|
|
363
|
-
o,
|
|
364
|
-
{
|
|
365
|
-
condition: c === "left",
|
|
366
|
-
wrapper: (d) => /* @__PURE__ */ u(m, { display: "flex", alignItems: "center", children: [
|
|
367
|
-
/* @__PURE__ */ n(I, { width: "32%", children: e.name }),
|
|
368
|
-
/* @__PURE__ */ n(m, { width: "68%", children: d })
|
|
369
|
-
] }),
|
|
370
|
-
children: /* @__PURE__ */ n(
|
|
371
|
-
re,
|
|
372
|
-
{
|
|
373
|
-
control: /* @__PURE__ */ n(
|
|
374
|
-
oe,
|
|
375
|
-
{
|
|
376
|
-
name: e.propertyId,
|
|
377
|
-
checked: !!(l ?? e.defaultValue ?? !1),
|
|
378
|
-
onChange: V,
|
|
379
|
-
size: s
|
|
380
|
-
}
|
|
381
|
-
),
|
|
382
|
-
label: c === "default" ? e.name : void 0
|
|
383
|
-
}
|
|
384
|
-
)
|
|
385
|
-
}
|
|
386
|
-
);
|
|
387
|
-
if (e.type === "enum") {
|
|
388
|
-
let d = [];
|
|
389
|
-
return (i = e.dataTypeInfo) != null && i.enumValues && (d = e.dataTypeInfo.enumValues), (w = (x = e.dataTypeInfo) == null ? void 0 : x.innerType) != null && w.enumValues && (d = e.dataTypeInfo.innerType.enumValues), /* @__PURE__ */ n(
|
|
390
|
-
o,
|
|
391
|
-
{
|
|
392
|
-
condition: c === "left",
|
|
393
|
-
wrapper: (h) => /* @__PURE__ */ u(m, { display: "flex", alignItems: "center", children: [
|
|
394
|
-
/* @__PURE__ */ n(I, { width: "32%", children: e.name }),
|
|
395
|
-
/* @__PURE__ */ n(m, { width: "68%", children: h })
|
|
396
|
-
] }),
|
|
397
|
-
children: /* @__PURE__ */ n(
|
|
398
|
-
o,
|
|
399
|
-
{
|
|
400
|
-
condition: c === "top",
|
|
401
|
-
wrapper: B(
|
|
402
|
-
e.name,
|
|
403
|
-
e == null ? void 0 : e.required,
|
|
404
|
-
(W = a == null ? void 0 : a[e == null ? void 0 : e.propertyId]) == null ? void 0 : W.description
|
|
405
|
-
),
|
|
406
|
-
children: /* @__PURE__ */ u(
|
|
407
|
-
se,
|
|
408
|
-
{
|
|
409
|
-
fullWidth: !0,
|
|
410
|
-
variant: f,
|
|
411
|
-
size: s,
|
|
412
|
-
required: e.required,
|
|
413
|
-
children: [
|
|
414
|
-
c === "default" && /* @__PURE__ */ n(Ie, { id: `${e.propertyId}-label`, children: e.name }),
|
|
415
|
-
/* @__PURE__ */ n(
|
|
416
|
-
fe,
|
|
417
|
-
{
|
|
418
|
-
label: c === "default" ? e.name : void 0,
|
|
419
|
-
name: e.name,
|
|
420
|
-
labelId: `${e.propertyId}-label`,
|
|
421
|
-
id: e.propertyId,
|
|
422
|
-
value: l ?? "",
|
|
423
|
-
onChange: M,
|
|
424
|
-
inputProps: {
|
|
425
|
-
...a && a[e.propertyId] && {
|
|
426
|
-
tabIndex: a[e.propertyId].order
|
|
427
|
-
}
|
|
428
|
-
},
|
|
429
|
-
children: d.map((h, L) => /* @__PURE__ */ n(ge, { value: h, children: h }, L))
|
|
430
|
-
}
|
|
431
|
-
)
|
|
432
|
-
]
|
|
433
|
-
}
|
|
434
|
-
)
|
|
435
|
-
}
|
|
436
|
-
)
|
|
437
|
-
}
|
|
438
|
-
);
|
|
439
|
-
}
|
|
440
|
-
return e.type === "geometry" ? /* @__PURE__ */ n(
|
|
441
|
-
o,
|
|
442
|
-
{
|
|
443
|
-
condition: c === "left",
|
|
444
|
-
wrapper: (d) => /* @__PURE__ */ u(m, { display: "flex", alignItems: "center", children: [
|
|
445
|
-
/* @__PURE__ */ n(I, { width: "32%", children: e.name }),
|
|
446
|
-
/* @__PURE__ */ n(m, { width: "68%", children: d })
|
|
447
|
-
] }),
|
|
448
|
-
children: /* @__PURE__ */ n(m, { sx: { width: "100%" }, children: /* @__PURE__ */ n(
|
|
449
|
-
me,
|
|
450
|
-
{
|
|
451
|
-
mapboxAccessToken: r,
|
|
452
|
-
label: c === "default" ? e.name : void 0,
|
|
453
|
-
value: l ?? e.defaultValue ?? "",
|
|
454
|
-
defaultExtent: T,
|
|
455
|
-
variant: f,
|
|
456
|
-
onChange: $(e.propertyId)
|
|
457
|
-
}
|
|
458
|
-
) })
|
|
459
|
-
}
|
|
460
|
-
) : e.type === "phone-number" ? /* @__PURE__ */ n(
|
|
461
|
-
o,
|
|
462
|
-
{
|
|
463
|
-
condition: c === "left",
|
|
464
|
-
wrapper: (d) => /* @__PURE__ */ u(m, { display: "flex", alignItems: "center", children: [
|
|
465
|
-
/* @__PURE__ */ n(I, { width: "32%", children: e.name }),
|
|
466
|
-
/* @__PURE__ */ n(m, { width: "68%", children: d })
|
|
467
|
-
] }),
|
|
468
|
-
children: /* @__PURE__ */ n(m, { sx: { width: "100%" }, children: /* @__PURE__ */ n(
|
|
469
|
-
he,
|
|
470
|
-
{
|
|
471
|
-
label: c === "default" ? e.name : void 0,
|
|
472
|
-
placeholder: "Enter phone number",
|
|
473
|
-
value: l ?? e.defaultValue ?? "",
|
|
474
|
-
onChange: j(e.propertyId)
|
|
475
|
-
}
|
|
476
|
-
) })
|
|
477
|
-
}
|
|
478
|
-
) : e.type === "composite-list" ? /* @__PURE__ */ n(m, { sx: { width: "100%" }, children: /* @__PURE__ */ n(
|
|
479
|
-
Ve,
|
|
480
|
-
{
|
|
481
|
-
property: e,
|
|
482
|
-
value: l ?? e.defaultValue ?? "",
|
|
483
|
-
variant: f,
|
|
484
|
-
labelPosition: c,
|
|
485
|
-
size: s,
|
|
486
|
-
mapboxAccessToken: r,
|
|
487
|
-
onChange: q(e.propertyId)
|
|
488
|
-
}
|
|
489
|
-
) }) : e.type === "composite-matrix" ? /* @__PURE__ */ n(m, { sx: { width: "100%" }, children: /* @__PURE__ */ n(
|
|
490
|
-
ue,
|
|
491
|
-
{
|
|
492
|
-
property: e,
|
|
493
|
-
value: l ?? e.defaultValue ?? "",
|
|
494
|
-
variant: f,
|
|
495
|
-
size: s,
|
|
496
|
-
onChange: q(e.propertyId)
|
|
497
|
-
}
|
|
498
|
-
) }) : /* @__PURE__ */ n(E, {});
|
|
499
|
-
}
|
|
500
|
-
export {
|
|
501
|
-
Ve as C,
|
|
502
|
-
Te as V
|
|
503
|
-
};
|