@hybridcore/ui 1.5.90 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AccordionDetails-DhriPVPP.js → AccordionSummary-CMg08YSA.js} +91 -95
- package/dist/{Add-CMz4N2zT.js → Add-DuVVJeQU.js} +35 -36
- package/dist/AnimatedTheme-jnasw6rT.js +11305 -0
- package/dist/AxisRenderer-DTyLLA6c.js +3579 -0
- package/dist/AxisRendererY-C_ItLPNV.js +445 -0
- package/dist/Bullet-DVczI2TD.js +41 -0
- package/dist/Button-CcsPEIDh.js +35 -0
- package/dist/{ButtonBase-DsX-jMQJ.js → ButtonBase-sObABYY2.js} +62 -58
- package/dist/CategoryAxis-CwnfaGc8.js +458 -0
- package/dist/Circle-Cy5s-pVc.js +27 -0
- package/dist/ColorSet-C7vpNXhM.js +2957 -0
- package/dist/{ColumnSeries-BTcqshjB.js → ColumnSeries-CjgdJ2QL.js} +129 -126
- package/dist/DataProcessor-CHDO51q4.js +83 -0
- package/dist/DateAxis-YX3QNIB-.js +569 -0
- package/dist/{Delete-86TO0fMo.js → Delete-fBLhTHbF.js} +1 -1
- package/dist/{DialogContent-CqTojymQ.js → DialogContent-CGJ7alb8.js} +10 -13
- package/dist/FormControl-BCurCxRj.js +1294 -0
- package/dist/FormControlLabel-BkRfrhNy.js +601 -0
- package/dist/Hierarchy-Bihj0S61.js +925 -0
- package/dist/{IconButton-DJ-31-Fd.js → IconButton-_opV1iNK.js} +18 -19
- package/dist/IconPlus-yPkff_Vj.js +19 -0
- package/dist/{InputAdornment-B7qEA4kN.js → InputAdornment-C7PEvvYr.js} +17 -19
- package/dist/InputLabel-rEwwnD4_.js +354 -0
- package/dist/Legend-Dp_MKfS4.js +178 -0
- package/dist/LineSeries-Uiv5o56b.js +472 -0
- package/dist/{MenuItem-C6qlUyV3.js → MenuItem-DrE50M_p.js} +92 -69
- package/dist/Modal-DlB6GH-f.js +1659 -0
- package/dist/Paper-q9kKjAKx.js +527 -0
- package/dist/PieSeries-B2fW3z0s.js +693 -0
- package/dist/RoundedRectangle-CWLi2PXn.js +34 -0
- package/dist/Scrollbar-D86MJyr2.js +171 -0
- package/dist/Slice-B19rbYDZ.js +261 -0
- package/dist/{Source-BESIjd9X.js → Source-BSZST_GH.js} +2472 -2445
- package/dist/{Text-Cl1H4b0h.js → Text-ChJRuaD8.js} +398 -397
- package/dist/TextField-DSDIEEKu.js +3161 -0
- package/dist/Tick-2bcLyHpF.js +162 -0
- package/dist/{Typography-D1t7XuLN.js → Typography-B-Z5Y0Xq.js} +48 -50
- package/dist/Vector-BmuhQO4p.js +3606 -0
- package/dist/Vector-DfTqQEln.js +1735 -0
- package/dist/WKT-2wsDT-nq.js +2310 -0
- package/dist/XYCursor-C8WktvKM.js +362 -0
- package/dist/ZoomableContainer-DYyqwaMb.js +220 -0
- package/dist/_commonjsHelpers-BVfed4GL.js +28 -0
- package/dist/capitalize-quqpGCFu.js +9 -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/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/utils.js +20 -0
- package/dist/components/charts/candlestick/logic.js +170 -140
- package/dist/components/charts/chart-wrapper/helpers.js +27 -0
- package/dist/components/charts/chart-wrapper/index.js +44 -0
- package/dist/components/charts/chart-wrapper/logic.js +47 -0
- package/dist/components/charts/chart-wrapper/styled.js +44 -0
- package/dist/components/charts/column-line-mix/index.js +10 -0
- package/dist/components/charts/column-line-mix/logic.js +162 -0
- package/dist/components/charts/column-line-mix/styled.js +12 -0
- package/dist/components/charts/drill-down-treemap/index.js +10 -0
- package/dist/components/charts/drill-down-treemap/logic.js +391 -0
- package/dist/components/charts/drill-down-treemap/styled.js +12 -0
- package/dist/components/charts/drill-down-voronoi-treemap/index.js +10 -0
- package/dist/components/charts/drill-down-voronoi-treemap/logic.js +1527 -0
- package/dist/components/charts/drill-down-voronoi-treemap/styled.js +12 -0
- package/dist/components/charts/heatmap/index.js +10 -0
- package/dist/components/charts/heatmap/logic.js +361 -0
- package/dist/components/charts/heatmap/styled.js +12 -0
- package/dist/components/charts/highlighting-line-data/logic.js +89 -256
- package/dist/components/charts/line/index.js +10 -0
- package/dist/components/charts/line/logic.js +148 -0
- package/dist/components/charts/line/styled.js +12 -0
- package/dist/components/charts/logaritmic-scale/index.js +10 -0
- package/dist/components/charts/logaritmic-scale/logic.js +119 -0
- package/dist/components/charts/logaritmic-scale/styled.js +12 -0
- package/dist/components/charts/multiple-value-axes/index.js +10 -0
- package/dist/components/charts/multiple-value-axes/logic.js +191 -0
- package/dist/components/charts/multiple-value-axes/styled.js +12 -0
- package/dist/components/charts/nested-pie/index.js +10 -0
- package/dist/components/charts/nested-pie/logic.js +110 -0
- package/dist/components/charts/nested-pie/styled.js +12 -0
- package/dist/components/charts/packed-circles/index.js +10 -0
- package/dist/components/charts/packed-circles/logic.js +423 -0
- package/dist/components/charts/packed-circles/styled.js +12 -0
- package/dist/components/charts/pie-chart/index.js +10 -0
- package/dist/components/charts/pie-chart/logic.js +70 -0
- package/dist/components/charts/pie-chart/styled.js +12 -0
- package/dist/components/charts/stacked-area-radar/index.js +10 -0
- package/dist/components/charts/stacked-area-radar/logic.js +868 -0
- package/dist/components/charts/stacked-area-radar/styled.js +12 -0
- package/dist/components/charts/stacked-column-chart/index.js +10 -0
- package/dist/components/charts/stacked-column-chart/logic.js +148 -0
- package/dist/components/charts/stacked-column-chart/styled.js +12 -0
- package/dist/components/charts/xy-chart/index.js +10 -0
- package/dist/components/charts/xy-chart/logic.js +170 -0
- package/dist/components/charts/xy-chart/styled.js +12 -0
- package/dist/components/collapsible-card/index.js +58 -32
- package/dist/components/collapsible-card/logic.js +20 -0
- package/dist/components/collapsible-card/styled.js +52 -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 -557
- package/dist/components/context-menu/logic.js +14 -0
- package/dist/components/context-menu/styled.js +40 -0
- package/dist/components/data-map/components/controls/index.js +12 -0
- package/dist/components/data-map/components/controls/styled.js +34 -0
- package/dist/components/data-map/index.js +51 -0
- package/dist/components/data-map/logic.js +108 -0
- package/dist/components/data-map/styled.js +32 -0
- package/dist/components/data-security-selectors/security-level/index.js +36 -91
- package/dist/components/data-security-selectors/security-level/logic.js +73 -0
- package/dist/components/data-security-selectors/security-level/styled.js +47 -0
- package/dist/components/date-picker-with-custom-range/index.js +9 -0
- package/dist/components/date-picker-with-custom-range/logic.js +66 -0
- package/dist/components/date-picker-with-custom-range/styled.js +43 -0
- package/dist/components/divider/index.js +18 -0
- package/dist/components/divider/logic.js +13 -0
- package/dist/components/divider/styled.js +14 -0
- package/dist/components/geometry-picker/coordinate/index.js +1 -1
- 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/index.js +8 -8
- package/dist/components/geometry-picker/kml/index.js +1 -1
- package/dist/components/geometry-picker/map/index.js +1 -1
- package/dist/components/geometry-picker/map/logic.js +65 -62
- package/dist/components/geometry-picker/map/style.js +1 -1
- package/dist/components/heat-map/components/controls/index.js +12 -0
- package/dist/components/heat-map/components/controls/styled.js +34 -0
- package/dist/components/heat-map/components/legend/index.js +26 -0
- package/dist/components/heat-map/components/legend/styled.js +14 -0
- package/dist/components/heat-map/index.js +37 -0
- package/dist/components/heat-map/logic.js +1945 -0
- package/dist/components/heat-map/styled.js +32 -0
- package/dist/components/icon-button/index.js +22 -15
- package/dist/components/icon-button/logic.js +15 -0
- package/dist/components/icon-button/styled.js +22 -10
- package/dist/components/instance-form/components/composite-list/index.js +1 -1
- package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +8 -7
- package/dist/components/instance-form/components/variable/index.js +7 -9
- package/dist/components/instance-form/components/variables/index.js +1 -1
- package/dist/components/instance-form/index.js +1 -1
- 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 +34 -29
- package/dist/components/instance-variable-list/styled.js +21 -21
- package/dist/components/instance-variable-list/variable.js +44 -74
- package/dist/components/key-protection/index.js +45 -2
- package/dist/components/key-protection/logic.js +40 -0
- package/dist/components/key-protection/styled.js +45 -0
- package/dist/components/key-protection/utils.js +1 -1
- package/dist/components/linear-indicator/index.js +10 -67
- package/dist/components/linear-indicator/logic.js +47 -0
- package/dist/components/linear-indicator/styled.js +39 -40
- 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/helpers/kml.js +1 -1
- package/dist/components/map/helpers/mapbox.js +14 -14
- package/dist/components/map/helpers/ol.js +23 -19
- package/dist/components/map/helpers/wkt.js +26 -1314
- package/dist/components/map/index.js +1 -1
- package/dist/components/map/logic.js +113 -101
- package/dist/components/map/styled.js +39 -31
- package/dist/components/metric-card/MetricChart.js +50 -498
- package/dist/components/metric-card/index.js +94 -115
- package/dist/components/metric-card/logic.js +70 -131
- package/dist/components/object-profile-card/components/avatar/index.js +44 -0
- package/dist/components/object-profile-card/components/avatar/logic.js +19 -0
- package/dist/components/object-profile-card/components/avatar/styled.js +41 -0
- package/dist/components/object-profile-card/index.js +90 -0
- package/dist/components/object-profile-card/logic.js +33 -0
- package/dist/components/object-profile-card/styled.js +48 -0
- package/dist/components/paginated-list/index.js +93 -89
- package/dist/components/paginated-list/logic.js +51 -40
- package/dist/components/paginated-list/styled.js +25 -21
- 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/property-mapping/index.js +2 -2
- package/dist/components/prr-map/components/controls/index.js +12 -0
- package/dist/components/prr-map/components/controls/styled.js +34 -0
- package/dist/components/prr-map/components/legend/index.js +36 -0
- package/dist/components/prr-map/components/legend/styled.js +21 -0
- package/dist/components/prr-map/index.js +38 -0
- package/dist/components/prr-map/logic.js +104 -0
- package/dist/components/prr-map/styled.js +32 -0
- package/dist/components/range-selector/components/composite-list-range/index.js +42 -50
- package/dist/components/range-selector/components/date-range/index.js +148 -7
- 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 +4222 -0
- package/dist/components/raster-grid-map/components/controls/index.js +12 -0
- package/dist/components/raster-grid-map/components/controls/styled.js +34 -0
- package/dist/components/raster-grid-map/components/legend/index.js +14 -0
- package/dist/components/raster-grid-map/components/legend/styled.js +21 -0
- package/dist/components/raster-grid-map/helpers.js +190 -0
- package/dist/components/raster-grid-map/index.js +38 -0
- package/dist/components/raster-grid-map/logic.js +172 -0
- package/dist/components/raster-grid-map/styled.js +32 -0
- package/dist/components/search-input/index.js +62 -140
- package/dist/components/search-input/logic.js +43 -0
- package/dist/components/search-input/styled.js +33 -0
- package/dist/components/simple-pivot-table/index.js +66 -0
- package/dist/components/simple-pivot-table/logic.js +51 -0
- package/dist/components/simple-pivot-table/styled.js +45 -0
- package/dist/components/static-text/index.js +18 -0
- package/dist/components/static-text/logic.js +13 -0
- package/dist/components/static-text/styled.js +45 -0
- package/dist/components/tabs/index.js +56 -2160
- package/dist/components/tabs/logic.js +36 -0
- package/dist/components/tabs/styled.js +94 -16
- package/dist/components/tabs/tab-panel.js +11 -10
- 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 +8 -8
- 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 +8 -10
- package/dist/components/template-form/components/recognition-property-list/index.js +6 -6
- 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 +8 -9
- package/dist/components/template-form/index.js +32 -33
- 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/timeline/index.js +61 -0
- package/dist/components/timeline/logic.js +40 -0
- package/dist/components/timeline/styled.js +48 -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/constant-BiOGvlZc.js +21 -0
- package/dist/createReactComponent-C7L-DMHj.js +60 -0
- package/dist/{createSvgIcon-DLPYMuH1.js → createSvgIcon-BM3-TsGy.js} +33 -36
- package/dist/{createSvgIcon-OuwzpcaC.js → createSvgIcon-DX-SqL8M.js} +24 -26
- package/dist/{dialog-BE4D6swf.js → dialog-cf4HUXXl.js} +27 -28
- package/dist/{helpers-DaCoWmi2.js → helpers-B4UL9NMD.js} +3 -3
- package/dist/index-BMS1Otro.js +183 -0
- package/dist/index-C8C3YXle.js +1932 -0
- package/dist/index-C__OZmYy.js +663 -0
- package/dist/{index-CGNxsLVm.js → index-DPKUmQnz.js} +11 -13
- package/dist/{index-JrtqxUdI.js → index-kCJ_Zvl8.js} +5 -5
- package/dist/index.es-CHNMhaMi.js +2067 -0
- package/dist/index.esm-BLLrbTzY.js +318 -0
- package/dist/isMuiElement-BkJ72LB3.js +26 -0
- package/dist/main.d.ts +1869 -565
- package/dist/main.js +141 -443
- package/dist/{has-DNclCIDV.js → math-Bvt2Ubuz.js} +220 -222
- package/dist/ol-yOE-NV0X.js +7465 -0
- package/dist/path-CNVruS--.js +84 -0
- package/dist/{property-list-form-C5hcK2y2.js → property-list-form-DL_dEoNn.js} +57 -62
- package/dist/{createTheme-CNnKNxwL.js → styled-Bsjp3kFh.js} +275 -278
- package/dist/useId-B4-oF9Mq.js +34 -0
- package/dist/useMobilePicker-B-M3dnTn.js +7993 -0
- package/dist/{utils-Bq0ye5vf.js → utils-Cxu-fHjQ.js} +7 -7
- package/package.json +11 -2
- package/dist/AxisRendererY-kADUad00.js +0 -18370
- package/dist/Box-B1AVyJ_s.js +0 -71
- package/dist/Button-eqWvpDuh.js +0 -356
- package/dist/CardContent-DsYqqPeJ.js +0 -74
- package/dist/Checkbox-CrU2hpWB.js +0 -420
- package/dist/DateAxis-CMum47iz.js +0 -924
- package/dist/FormControlLabel-BrdX4R71.js +0 -195
- package/dist/Input-CoIrGZAh.js +0 -326
- package/dist/InputLabel-CBuAYyuT.js +0 -1367
- package/dist/LineSeries-CfcpoYla.js +0 -549
- package/dist/List-DOD5kSk3.js +0 -121
- package/dist/ListItem-r8PbsvCz.js +0 -429
- package/dist/Modal-CkcFEpHa.js +0 -1284
- package/dist/OutlinedInput-B-iZoc9l.js +0 -450
- package/dist/Paper-CjqLScHA.js +0 -163
- package/dist/Select-t3ewnSdf.js +0 -2180
- package/dist/Tabs-Cn42Z5QI.js +0 -789
- package/dist/TextField-BQ8a50fA.js +0 -459
- package/dist/components/collapsible-card/style.js +0 -49
- package/dist/components/key-protection/menu.js +0 -85
- package/dist/components/profile-card/index.js +0 -80
- package/dist/components/profile-card/logic.js +0 -33
- package/dist/components/profile-card/styled.js +0 -43
- package/dist/components/tabs/appleTabs.style.js +0 -55
- package/dist/components/treeview-filter/item/styled.js +0 -39
- package/dist/createStyled-BGx1I94c.js +0 -352
- package/dist/createTheme-CyC5HawC.js +0 -879
- package/dist/debounce-46wSf_lW.js +0 -15
- package/dist/exactProp-cjT0t_Pt.js +0 -36
- package/dist/extendSxProp-FEpqY5_S.js +0 -30
- package/dist/index-DMSHuq6l.js +0 -688
- package/dist/index-SpeaLUQD.js +0 -10963
- package/dist/isHostComponent-kiaBvYVo.js +0 -6
- package/dist/isMuiElement-CxT3_ACP.js +0 -13
- package/dist/listItemTextClasses-CNjn41Of.js +0 -16
- package/dist/ol-lGwSyEIV.js +0 -15050
- package/dist/ownerDocument-CUrv0DIK.js +0 -6
- package/dist/ownerWindow-niciwP7I.js +0 -7
- package/dist/styled-B8ugzvji.js +0 -12
- package/dist/useFormControl-CatNKXAi.js +0 -10
- package/dist/useId-BHG98T5I.js +0 -26
- package/dist/useTheme-C15Eq8KG.js +0 -18
- package/dist/useTheme-D-uii9iX.js +0 -10
- package/dist/useThemeProps-DRP1dikX.js +0 -95
- package/dist/utils-CsOZUsQj.js +0 -365
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
function P(e) {
|
|
2
|
+
return function() {
|
|
3
|
+
return e;
|
|
4
|
+
};
|
|
5
|
+
}
|
|
6
|
+
const c = Math.PI, x = 2 * c, u = 1e-6, m = x - u;
|
|
7
|
+
function E(e) {
|
|
8
|
+
this._ += e[0];
|
|
9
|
+
for (let t = 1, h = e.length; t < h; ++t)
|
|
10
|
+
this._ += arguments[t] + e[t];
|
|
11
|
+
}
|
|
12
|
+
function A(e) {
|
|
13
|
+
let t = Math.floor(e);
|
|
14
|
+
if (!(t >= 0)) throw new Error(`invalid digits: ${e}`);
|
|
15
|
+
if (t > 15) return E;
|
|
16
|
+
const h = 10 ** t;
|
|
17
|
+
return function(i) {
|
|
18
|
+
this._ += i[0];
|
|
19
|
+
for (let s = 1, n = i.length; s < n; ++s)
|
|
20
|
+
this._ += Math.round(arguments[s] * h) / h + i[s];
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
class L {
|
|
24
|
+
constructor(t) {
|
|
25
|
+
this._x0 = this._y0 = // start of current subpath
|
|
26
|
+
this._x1 = this._y1 = null, this._ = "", this._append = t == null ? E : A(t);
|
|
27
|
+
}
|
|
28
|
+
moveTo(t, h) {
|
|
29
|
+
this._append`M${this._x0 = this._x1 = +t},${this._y0 = this._y1 = +h}`;
|
|
30
|
+
}
|
|
31
|
+
closePath() {
|
|
32
|
+
this._x1 !== null && (this._x1 = this._x0, this._y1 = this._y0, this._append`Z`);
|
|
33
|
+
}
|
|
34
|
+
lineTo(t, h) {
|
|
35
|
+
this._append`L${this._x1 = +t},${this._y1 = +h}`;
|
|
36
|
+
}
|
|
37
|
+
quadraticCurveTo(t, h, i, s) {
|
|
38
|
+
this._append`Q${+t},${+h},${this._x1 = +i},${this._y1 = +s}`;
|
|
39
|
+
}
|
|
40
|
+
bezierCurveTo(t, h, i, s, n, $) {
|
|
41
|
+
this._append`C${+t},${+h},${+i},${+s},${this._x1 = +n},${this._y1 = +$}`;
|
|
42
|
+
}
|
|
43
|
+
arcTo(t, h, i, s, n) {
|
|
44
|
+
if (t = +t, h = +h, i = +i, s = +s, n = +n, n < 0) throw new Error(`negative radius: ${n}`);
|
|
45
|
+
let $ = this._x1, r = this._y1, p = i - t, l = s - h, _ = $ - t, o = r - h, a = _ * _ + o * o;
|
|
46
|
+
if (this._x1 === null)
|
|
47
|
+
this._append`M${this._x1 = t},${this._y1 = h}`;
|
|
48
|
+
else if (a > u) if (!(Math.abs(o * p - l * _) > u) || !n)
|
|
49
|
+
this._append`L${this._x1 = t},${this._y1 = h}`;
|
|
50
|
+
else {
|
|
51
|
+
let d = i - $, f = s - r, y = p * p + l * l, T = d * d + f * f, g = Math.sqrt(y), v = Math.sqrt(a), w = n * Math.tan((c - Math.acos((y + a - T) / (2 * g * v))) / 2), M = w / v, b = w / g;
|
|
52
|
+
Math.abs(M - 1) > u && this._append`L${t + M * _},${h + M * o}`, this._append`A${n},${n},0,0,${+(o * d > _ * f)},${this._x1 = t + b * p},${this._y1 = h + b * l}`;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
arc(t, h, i, s, n, $) {
|
|
56
|
+
if (t = +t, h = +h, i = +i, $ = !!$, i < 0) throw new Error(`negative radius: ${i}`);
|
|
57
|
+
let r = i * Math.cos(s), p = i * Math.sin(s), l = t + r, _ = h + p, o = 1 ^ $, a = $ ? s - n : n - s;
|
|
58
|
+
this._x1 === null ? this._append`M${l},${_}` : (Math.abs(this._x1 - l) > u || Math.abs(this._y1 - _) > u) && this._append`L${l},${_}`, i && (a < 0 && (a = a % x + x), a > m ? this._append`A${i},${i},0,1,${o},${t - r},${h - p}A${i},${i},0,1,${o},${this._x1 = l},${this._y1 = _}` : a > u && this._append`A${i},${i},0,${+(a >= c)},${o},${this._x1 = t + i * Math.cos(n)},${this._y1 = h + i * Math.sin(n)}`);
|
|
59
|
+
}
|
|
60
|
+
rect(t, h, i, s) {
|
|
61
|
+
this._append`M${this._x0 = this._x1 = +t},${this._y0 = this._y1 = +h}h${i = +i}v${+s}h${-i}Z`;
|
|
62
|
+
}
|
|
63
|
+
toString() {
|
|
64
|
+
return this._;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
function q(e) {
|
|
68
|
+
let t = 3;
|
|
69
|
+
return e.digits = function(h) {
|
|
70
|
+
if (!arguments.length) return t;
|
|
71
|
+
if (h == null)
|
|
72
|
+
t = null;
|
|
73
|
+
else {
|
|
74
|
+
const i = Math.floor(h);
|
|
75
|
+
if (!(i >= 0)) throw new RangeError(`invalid digits: ${h}`);
|
|
76
|
+
t = i;
|
|
77
|
+
}
|
|
78
|
+
return e;
|
|
79
|
+
}, () => new L(t);
|
|
80
|
+
}
|
|
81
|
+
export {
|
|
82
|
+
P as c,
|
|
83
|
+
q as w
|
|
84
|
+
};
|
|
@@ -1,44 +1,39 @@
|
|
|
1
|
-
import H, { jsx as t, jsxs as
|
|
1
|
+
import H, { jsx as t, jsxs as m, Fragment as K } from "react/jsx-runtime";
|
|
2
2
|
import * as J from "react";
|
|
3
3
|
import I from "react";
|
|
4
4
|
import Q from "lodash";
|
|
5
|
-
import { r as X, i as Z } from "./createSvgIcon-
|
|
5
|
+
import { r as X, i as Z } from "./createSvgIcon-BM3-TsGy.js";
|
|
6
6
|
import { DATA_TYPES as R, COORDINATE_FORMAT as ee, PRIVACY_PRESERVATION_METHOD as L } from "./constants/index.js";
|
|
7
|
-
import { T as w } from "./TextField-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { M as
|
|
11
|
-
import { a as M, _ as
|
|
12
|
-
import { P as n } from "./index-
|
|
13
|
-
import { g as
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
import { C as f } from "./Checkbox-CrU2hpWB.js";
|
|
19
|
-
import { B as ce } from "./Box-B1AVyJ_s.js";
|
|
20
|
-
import { B as Y } from "./Button-eqWvpDuh.js";
|
|
21
|
-
function de(a) {
|
|
22
|
-
return se("MuiFormGroup", a);
|
|
7
|
+
import { T as w, S as C } from "./TextField-DSDIEEKu.js";
|
|
8
|
+
import { F } from "./FormControl-BCurCxRj.js";
|
|
9
|
+
import { u as te, f as re, I as _ } from "./InputLabel-rEwwnD4_.js";
|
|
10
|
+
import { M as P, B as ae } from "./MenuItem-DrE50M_p.js";
|
|
11
|
+
import { a as M, _ as oe } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
|
|
12
|
+
import { P as n } from "./index-C__OZmYy.js";
|
|
13
|
+
import { g as le, b as ne, s as ie, u as se, c as ce, a as de } from "./styled-Bsjp3kFh.js";
|
|
14
|
+
import { F as p, C as f } from "./FormControlLabel-BkRfrhNy.js";
|
|
15
|
+
import { B as Y } from "./Modal-DlB6GH-f.js";
|
|
16
|
+
function me(a) {
|
|
17
|
+
return ne("MuiFormGroup", a);
|
|
23
18
|
}
|
|
24
|
-
|
|
19
|
+
le("MuiFormGroup", ["root", "row", "error"]);
|
|
25
20
|
const ue = ["className", "row"], pe = (a) => {
|
|
26
21
|
const {
|
|
27
22
|
classes: i,
|
|
28
|
-
row:
|
|
23
|
+
row: d,
|
|
29
24
|
error: s
|
|
30
25
|
} = a;
|
|
31
|
-
return
|
|
32
|
-
root: ["root",
|
|
33
|
-
},
|
|
26
|
+
return de({
|
|
27
|
+
root: ["root", d && "row", s && "error"]
|
|
28
|
+
}, me, i);
|
|
34
29
|
}, fe = ie("div", {
|
|
35
30
|
name: "MuiFormGroup",
|
|
36
31
|
slot: "Root",
|
|
37
32
|
overridesResolver: (a, i) => {
|
|
38
33
|
const {
|
|
39
|
-
ownerState:
|
|
34
|
+
ownerState: d
|
|
40
35
|
} = a;
|
|
41
|
-
return [i.root,
|
|
36
|
+
return [i.root, d.row && i.row];
|
|
42
37
|
}
|
|
43
38
|
})(({
|
|
44
39
|
ownerState: a
|
|
@@ -48,25 +43,25 @@ const ue = ["className", "row"], pe = (a) => {
|
|
|
48
43
|
flexWrap: "wrap"
|
|
49
44
|
}, a.row && {
|
|
50
45
|
flexDirection: "row"
|
|
51
|
-
})), $ = /* @__PURE__ */ J.forwardRef(function(i,
|
|
52
|
-
const s =
|
|
46
|
+
})), $ = /* @__PURE__ */ J.forwardRef(function(i, d) {
|
|
47
|
+
const s = se({
|
|
53
48
|
props: i,
|
|
54
49
|
name: "MuiFormGroup"
|
|
55
50
|
}), {
|
|
56
51
|
className: h,
|
|
57
52
|
row: e = !1
|
|
58
|
-
} = s, y =
|
|
53
|
+
} = s, y = oe(s, ue), u = te(), b = re({
|
|
59
54
|
props: s,
|
|
60
55
|
muiFormControl: u,
|
|
61
56
|
states: ["error"]
|
|
62
57
|
}), o = M({}, s, {
|
|
63
58
|
row: e,
|
|
64
59
|
error: b.error
|
|
65
|
-
}),
|
|
60
|
+
}), g = pe(o);
|
|
66
61
|
return /* @__PURE__ */ t(fe, M({
|
|
67
|
-
className:
|
|
62
|
+
className: ce(g.root, h),
|
|
68
63
|
ownerState: o,
|
|
69
|
-
ref:
|
|
64
|
+
ref: d
|
|
70
65
|
}, y));
|
|
71
66
|
});
|
|
72
67
|
process.env.NODE_ENV !== "production" && ($.propTypes = {
|
|
@@ -104,7 +99,7 @@ var z = q.default = void 0, he = ye(X()), be = H;
|
|
|
104
99
|
z = q.default = (0, he.default)(/* @__PURE__ */ (0, be.jsx)("path", {
|
|
105
100
|
d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"
|
|
106
101
|
}), "Check");
|
|
107
|
-
function
|
|
102
|
+
function De({
|
|
108
103
|
inputVariant: a,
|
|
109
104
|
defaultValues: i = {
|
|
110
105
|
name: "",
|
|
@@ -120,7 +115,7 @@ function We({
|
|
|
120
115
|
temporal: !1,
|
|
121
116
|
unique: !1
|
|
122
117
|
},
|
|
123
|
-
disablePropertyId:
|
|
118
|
+
disablePropertyId: d,
|
|
124
119
|
onSubmit: s,
|
|
125
120
|
onCancel: h
|
|
126
121
|
}) {
|
|
@@ -130,17 +125,17 @@ function We({
|
|
|
130
125
|
}), o = (r) => {
|
|
131
126
|
var v, T;
|
|
132
127
|
const l = r.target.name;
|
|
133
|
-
let
|
|
134
|
-
if (e.type === "enum" && l === "dataTypeInfo.enumValues" && (
|
|
128
|
+
let c = r.target.type === "checkbox" ? r.target.checked : r.target.value;
|
|
129
|
+
if (e.type === "enum" && l === "dataTypeInfo.enumValues" && (c = c.split(",")), ((T = (v = e.dataTypeInfo) == null ? void 0 : v.innerType) == null ? void 0 : T.type) === "enum" && l === "dataTypeInfo.innerType.enumValues" && (c = c.split(",")), l.includes(".")) {
|
|
135
130
|
let x = { ...e };
|
|
136
|
-
Q.set(x, l,
|
|
131
|
+
Q.set(x, l, c), y(x);
|
|
137
132
|
return;
|
|
138
133
|
}
|
|
139
134
|
y((x) => ({
|
|
140
135
|
...x,
|
|
141
|
-
[l]:
|
|
136
|
+
[l]: c
|
|
142
137
|
}));
|
|
143
|
-
},
|
|
138
|
+
}, g = () => {
|
|
144
139
|
if (!e.name) {
|
|
145
140
|
b({ ...u, name: !0 });
|
|
146
141
|
return;
|
|
@@ -157,13 +152,13 @@ function We({
|
|
|
157
152
|
"composite-matrix"
|
|
158
153
|
].includes(e.type)) {
|
|
159
154
|
if (e.dataTypeInfo) {
|
|
160
|
-
const { coordinateFormat: r, datePattern: l, innerType:
|
|
161
|
-
(r || l ||
|
|
155
|
+
const { coordinateFormat: r, datePattern: l, innerType: c, enumValues: v } = e.dataTypeInfo;
|
|
156
|
+
(r || l || c || v) && y((T) => ({ ...T, dataTypeInfo: {} }));
|
|
162
157
|
}
|
|
163
158
|
return () => {
|
|
164
159
|
};
|
|
165
160
|
}
|
|
166
|
-
}, [e.type]), /* @__PURE__ */
|
|
161
|
+
}, [e.type]), /* @__PURE__ */ m(K, { children: [
|
|
167
162
|
/* @__PURE__ */ t(
|
|
168
163
|
w,
|
|
169
164
|
{
|
|
@@ -188,16 +183,16 @@ function We({
|
|
|
188
183
|
name: "propertyId",
|
|
189
184
|
variant: a,
|
|
190
185
|
fullWidth: !0,
|
|
191
|
-
disabled:
|
|
186
|
+
disabled: d,
|
|
192
187
|
sx: { mb: 2 },
|
|
193
188
|
value: e.propertyId,
|
|
194
189
|
onChange: o
|
|
195
190
|
}
|
|
196
191
|
),
|
|
197
|
-
/* @__PURE__ */
|
|
198
|
-
/* @__PURE__ */ t(
|
|
192
|
+
/* @__PURE__ */ m(F, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
|
|
193
|
+
/* @__PURE__ */ t(_, { id: "type-select-label", children: "Type" }),
|
|
199
194
|
/* @__PURE__ */ t(
|
|
200
|
-
|
|
195
|
+
C,
|
|
201
196
|
{
|
|
202
197
|
label: "Type",
|
|
203
198
|
name: "type",
|
|
@@ -205,14 +200,14 @@ function We({
|
|
|
205
200
|
id: "type-select",
|
|
206
201
|
value: e.type,
|
|
207
202
|
onChange: o,
|
|
208
|
-
children: R.map((r, l) => /* @__PURE__ */ t(
|
|
203
|
+
children: R.map((r, l) => /* @__PURE__ */ t(P, { value: r, children: r }, l))
|
|
209
204
|
}
|
|
210
205
|
)
|
|
211
206
|
] }),
|
|
212
|
-
e.type === "coordinate" && /* @__PURE__ */
|
|
213
|
-
/* @__PURE__ */ t(
|
|
207
|
+
e.type === "coordinate" && /* @__PURE__ */ m(F, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
|
|
208
|
+
/* @__PURE__ */ t(_, { id: "coordinate-format-select-label", children: "Cordinate Format" }),
|
|
214
209
|
/* @__PURE__ */ t(
|
|
215
|
-
|
|
210
|
+
C,
|
|
216
211
|
{
|
|
217
212
|
label: "Coordinate Format",
|
|
218
213
|
name: "dataTypeInfo.coordinateFormat",
|
|
@@ -220,14 +215,14 @@ function We({
|
|
|
220
215
|
id: "coordinate-format-select",
|
|
221
216
|
value: (k = e.dataTypeInfo) == null ? void 0 : k.coordinateFormat,
|
|
222
217
|
onChange: o,
|
|
223
|
-
children: ee.map((r, l) => /* @__PURE__ */ t(
|
|
218
|
+
children: ee.map((r, l) => /* @__PURE__ */ t(P, { value: r, children: r }, l))
|
|
224
219
|
}
|
|
225
220
|
)
|
|
226
221
|
] }),
|
|
227
|
-
(e.type === "composite-list" || e.type === "composite-matrix") && /* @__PURE__ */
|
|
228
|
-
/* @__PURE__ */ t(
|
|
222
|
+
(e.type === "composite-list" || e.type === "composite-matrix") && /* @__PURE__ */ m(F, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
|
|
223
|
+
/* @__PURE__ */ t(_, { id: "composite-list-select-label", children: "Inner Type" }),
|
|
229
224
|
/* @__PURE__ */ t(
|
|
230
|
-
|
|
225
|
+
C,
|
|
231
226
|
{
|
|
232
227
|
label: "Inner Type",
|
|
233
228
|
name: "dataTypeInfo.innerType.type",
|
|
@@ -237,7 +232,7 @@ function We({
|
|
|
237
232
|
onChange: o,
|
|
238
233
|
children: R.filter(
|
|
239
234
|
(r) => r !== "composite-list" && r !== "list"
|
|
240
|
-
).map((r, l) => /* @__PURE__ */ t(
|
|
235
|
+
).map((r, l) => /* @__PURE__ */ t(P, { value: r, children: r }, l))
|
|
241
236
|
}
|
|
242
237
|
)
|
|
243
238
|
] }),
|
|
@@ -266,10 +261,10 @@ function We({
|
|
|
266
261
|
onChange: o
|
|
267
262
|
}
|
|
268
263
|
),
|
|
269
|
-
/* @__PURE__ */
|
|
270
|
-
/* @__PURE__ */ t(
|
|
264
|
+
/* @__PURE__ */ m(F, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
|
|
265
|
+
/* @__PURE__ */ t(_, { id: "privacy-method-label", children: "Privacy Preservation Method" }),
|
|
271
266
|
/* @__PURE__ */ t(
|
|
272
|
-
|
|
267
|
+
C,
|
|
273
268
|
{
|
|
274
269
|
label: "Privacy Preservation Method",
|
|
275
270
|
name: "privacyPreservationMethod",
|
|
@@ -277,11 +272,11 @@ function We({
|
|
|
277
272
|
id: "privacy-method",
|
|
278
273
|
value: e.privacyPreservationMethod,
|
|
279
274
|
onChange: o,
|
|
280
|
-
children: L.map((r, l) => /* @__PURE__ */ t(
|
|
275
|
+
children: L.map((r, l) => /* @__PURE__ */ t(P, { value: r, children: r }, l))
|
|
281
276
|
}
|
|
282
277
|
)
|
|
283
278
|
] }),
|
|
284
|
-
/* @__PURE__ */
|
|
279
|
+
/* @__PURE__ */ m($, { row: !0, sx: { mb: 2 }, children: [
|
|
285
280
|
/* @__PURE__ */ t(
|
|
286
281
|
p,
|
|
287
282
|
{
|
|
@@ -366,14 +361,14 @@ function We({
|
|
|
366
361
|
}
|
|
367
362
|
)
|
|
368
363
|
] }),
|
|
369
|
-
/* @__PURE__ */
|
|
364
|
+
/* @__PURE__ */ m(ae, { display: "flex", justifyContent: "flex-end", children: [
|
|
370
365
|
/* @__PURE__ */ t(Y, { variant: "contained", onClick: h, sx: { marginRight: 2 }, children: "Cancel" }),
|
|
371
366
|
/* @__PURE__ */ t(
|
|
372
367
|
Y,
|
|
373
368
|
{
|
|
374
369
|
variant: "contained",
|
|
375
370
|
startIcon: /* @__PURE__ */ t(z, {}),
|
|
376
|
-
onClick:
|
|
371
|
+
onClick: g,
|
|
377
372
|
children: "OK"
|
|
378
373
|
}
|
|
379
374
|
)
|
|
@@ -382,5 +377,5 @@ function We({
|
|
|
382
377
|
}
|
|
383
378
|
export {
|
|
384
379
|
$ as F,
|
|
385
|
-
|
|
380
|
+
De as a
|
|
386
381
|
};
|