@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
|
@@ -1,7 +1,52 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { getContrastRatio as _, lighten as J, darken as K, createTheme as Y, unstable_defaultSxConfig as Q, unstable_styleFunctionSx as X, useThemeProps as Z, shouldForwardProp as W, createStyled as ee } from "@mui/system";
|
|
2
|
+
import { a as m, _ as M } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
|
|
3
|
+
function S(e) {
|
|
4
|
+
if (typeof e != "object" || e === null)
|
|
5
|
+
return !1;
|
|
6
|
+
const t = Object.getPrototypeOf(e);
|
|
7
|
+
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
8
|
+
}
|
|
9
|
+
function R(e) {
|
|
10
|
+
if (!S(e))
|
|
11
|
+
return e;
|
|
12
|
+
const t = {};
|
|
13
|
+
return Object.keys(e).forEach((n) => {
|
|
14
|
+
t[n] = R(e[n]);
|
|
15
|
+
}), t;
|
|
16
|
+
}
|
|
17
|
+
function E(e, t, n = {
|
|
18
|
+
clone: !0
|
|
19
|
+
}) {
|
|
20
|
+
const r = n.clone ? m({}, e) : e;
|
|
21
|
+
return S(e) && S(t) && Object.keys(t).forEach((a) => {
|
|
22
|
+
S(t[a]) && // Avoid prototype pollution
|
|
23
|
+
Object.prototype.hasOwnProperty.call(e, a) && S(e[a]) ? r[a] = E(e[a], t[a], n) : n.clone ? r[a] = S(t[a]) ? R(t[a]) : t[a] : r[a] = t[a];
|
|
24
|
+
}), r;
|
|
25
|
+
}
|
|
26
|
+
function j(e) {
|
|
27
|
+
let t = "https://mui.com/production-error/?code=" + e;
|
|
28
|
+
for (let n = 1; n < arguments.length; n += 1)
|
|
29
|
+
t += "&args[]=" + encodeURIComponent(arguments[n]);
|
|
30
|
+
return "Minified MUI error #" + e + "; visit " + t + " for the full message.";
|
|
31
|
+
}
|
|
32
|
+
function Ie(e, t, n = void 0) {
|
|
33
|
+
const r = {};
|
|
34
|
+
return Object.keys(e).forEach(
|
|
35
|
+
// `Object.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.
|
|
36
|
+
// @ts-expect-error https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208
|
|
37
|
+
(a) => {
|
|
38
|
+
r[a] = e[a].reduce((d, i) => {
|
|
39
|
+
if (i) {
|
|
40
|
+
const l = t(i);
|
|
41
|
+
l !== "" && d.push(l), n && n[i] && d.push(n[i]);
|
|
42
|
+
}
|
|
43
|
+
return d;
|
|
44
|
+
}, []).join(" ");
|
|
45
|
+
}
|
|
46
|
+
), r;
|
|
47
|
+
}
|
|
48
|
+
const D = (e) => e, te = () => {
|
|
49
|
+
let e = D;
|
|
5
50
|
return {
|
|
6
51
|
configure(t) {
|
|
7
52
|
e = t;
|
|
@@ -10,10 +55,10 @@ const V = (e) => e, K = () => {
|
|
|
10
55
|
return e(t);
|
|
11
56
|
},
|
|
12
57
|
reset() {
|
|
13
|
-
e =
|
|
58
|
+
e = D;
|
|
14
59
|
}
|
|
15
60
|
};
|
|
16
|
-
},
|
|
61
|
+
}, re = te(), ne = {
|
|
17
62
|
active: "active",
|
|
18
63
|
checked: "checked",
|
|
19
64
|
completed: "completed",
|
|
@@ -27,98 +72,28 @@ const V = (e) => e, K = () => {
|
|
|
27
72
|
required: "required",
|
|
28
73
|
selected: "selected"
|
|
29
74
|
};
|
|
30
|
-
function
|
|
31
|
-
const
|
|
32
|
-
return
|
|
33
|
-
}
|
|
34
|
-
function Z(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
|
|
35
|
-
return Math.max(t, Math.min(e, r));
|
|
36
|
-
}
|
|
37
|
-
function U(e, t = 0, r = 1) {
|
|
38
|
-
return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), Z(e, t, r);
|
|
39
|
-
}
|
|
40
|
-
function ee(e) {
|
|
41
|
-
e = e.slice(1);
|
|
42
|
-
const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
|
|
43
|
-
let r = e.match(t);
|
|
44
|
-
return r && r[0].length === 1 && (r = r.map((n) => n + n)), r ? `rgb${r.length === 4 ? "a" : ""}(${r.map((n, i) => i < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
|
|
45
|
-
}
|
|
46
|
-
function O(e) {
|
|
47
|
-
if (e.type)
|
|
48
|
-
return e;
|
|
49
|
-
if (e.charAt(0) === "#")
|
|
50
|
-
return O(ee(e));
|
|
51
|
-
const t = e.indexOf("("), r = e.substring(0, t);
|
|
52
|
-
if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(r) === -1)
|
|
53
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
54
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : N(9, e));
|
|
55
|
-
let n = e.substring(t + 1, e.length - 1), i;
|
|
56
|
-
if (r === "color") {
|
|
57
|
-
if (n = n.split(" "), i = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), ["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].indexOf(i) === -1)
|
|
58
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${i}\` color space.
|
|
59
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : N(10, i));
|
|
60
|
-
} else
|
|
61
|
-
n = n.split(",");
|
|
62
|
-
return n = n.map((u) => parseFloat(u)), {
|
|
63
|
-
type: r,
|
|
64
|
-
values: n,
|
|
65
|
-
colorSpace: i
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
function _(e) {
|
|
69
|
-
const {
|
|
70
|
-
type: t,
|
|
71
|
-
colorSpace: r
|
|
72
|
-
} = e;
|
|
73
|
-
let {
|
|
74
|
-
values: n
|
|
75
|
-
} = e;
|
|
76
|
-
return t.indexOf("rgb") !== -1 ? n = n.map((i, u) => u < 3 ? parseInt(i, 10) : i) : t.indexOf("hsl") !== -1 && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), t.indexOf("color") !== -1 ? n = `${r} ${n.join(" ")}` : n = `${n.join(", ")}`, `${t}(${n})`;
|
|
77
|
-
}
|
|
78
|
-
function te(e) {
|
|
79
|
-
e = O(e);
|
|
80
|
-
const {
|
|
81
|
-
values: t
|
|
82
|
-
} = e, r = t[0], n = t[1] / 100, i = t[2] / 100, u = n * Math.min(i, 1 - i), s = (f, d = (f + r / 30) % 12) => i - u * Math.max(Math.min(d - 3, 9 - d, 1), -1);
|
|
83
|
-
let p = "rgb";
|
|
84
|
-
const g = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)];
|
|
85
|
-
return e.type === "hsla" && (p += "a", g.push(t[3])), _({
|
|
86
|
-
type: p,
|
|
87
|
-
values: g
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
|
-
function R(e) {
|
|
91
|
-
e = O(e);
|
|
92
|
-
let t = e.type === "hsl" || e.type === "hsla" ? O(te(e)).values : e.values;
|
|
93
|
-
return t = t.map((r) => (e.type !== "color" && (r /= 255), r <= 0.03928 ? r / 12.92 : ((r + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3));
|
|
94
|
-
}
|
|
95
|
-
function j(e, t) {
|
|
96
|
-
const r = R(e), n = R(t);
|
|
97
|
-
return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
|
|
75
|
+
function B(e, t, n = "Mui") {
|
|
76
|
+
const r = ne[t];
|
|
77
|
+
return r ? `${n}-${r}` : `${re.generate(e)}-${t}`;
|
|
98
78
|
}
|
|
99
|
-
function
|
|
100
|
-
|
|
79
|
+
function je(e, t, n = "Mui") {
|
|
80
|
+
const r = {};
|
|
81
|
+
return t.forEach((a) => {
|
|
82
|
+
r[a] = B(e, a, n);
|
|
83
|
+
}), r;
|
|
101
84
|
}
|
|
102
|
-
function
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
else if (e
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
return _(e);
|
|
85
|
+
function H(e) {
|
|
86
|
+
var t, n, r = "";
|
|
87
|
+
if (typeof e == "string" || typeof e == "number") r += e;
|
|
88
|
+
else if (typeof e == "object") if (Array.isArray(e)) for (t = 0; t < e.length; t++) e[t] && (n = H(e[t])) && (r && (r += " "), r += n);
|
|
89
|
+
else for (t in e) e[t] && (r && (r += " "), r += t);
|
|
90
|
+
return r;
|
|
109
91
|
}
|
|
110
|
-
function
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
else if (e.type.indexOf("rgb") !== -1)
|
|
114
|
-
for (let r = 0; r < 3; r += 1)
|
|
115
|
-
e.values[r] += (255 - e.values[r]) * t;
|
|
116
|
-
else if (e.type.indexOf("color") !== -1)
|
|
117
|
-
for (let r = 0; r < 3; r += 1)
|
|
118
|
-
e.values[r] += (1 - e.values[r]) * t;
|
|
119
|
-
return _(e);
|
|
92
|
+
function _e() {
|
|
93
|
+
for (var e, t, n = 0, r = ""; n < arguments.length; ) (e = arguments[n++]) && (t = H(e)) && (r && (r += " "), r += t);
|
|
94
|
+
return r;
|
|
120
95
|
}
|
|
121
|
-
function
|
|
96
|
+
function oe(e, t) {
|
|
122
97
|
return m({
|
|
123
98
|
toolbar: {
|
|
124
99
|
minHeight: 56,
|
|
@@ -133,10 +108,10 @@ function ae(e, t) {
|
|
|
133
108
|
}
|
|
134
109
|
}, t);
|
|
135
110
|
}
|
|
136
|
-
const
|
|
111
|
+
const k = {
|
|
137
112
|
black: "#000",
|
|
138
113
|
white: "#fff"
|
|
139
|
-
},
|
|
114
|
+
}, ae = {
|
|
140
115
|
50: "#fafafa",
|
|
141
116
|
100: "#f5f5f5",
|
|
142
117
|
200: "#eeeeee",
|
|
@@ -151,7 +126,7 @@ const S = {
|
|
|
151
126
|
A200: "#eeeeee",
|
|
152
127
|
A400: "#bdbdbd",
|
|
153
128
|
A700: "#616161"
|
|
154
|
-
},
|
|
129
|
+
}, $ = {
|
|
155
130
|
50: "#f3e5f5",
|
|
156
131
|
100: "#e1bee7",
|
|
157
132
|
200: "#ce93d8",
|
|
@@ -166,7 +141,7 @@ const S = {
|
|
|
166
141
|
A200: "#e040fb",
|
|
167
142
|
A400: "#d500f9",
|
|
168
143
|
A700: "#aa00ff"
|
|
169
|
-
},
|
|
144
|
+
}, A = {
|
|
170
145
|
50: "#ffebee",
|
|
171
146
|
100: "#ffcdd2",
|
|
172
147
|
200: "#ef9a9a",
|
|
@@ -181,7 +156,7 @@ const S = {
|
|
|
181
156
|
A200: "#ff5252",
|
|
182
157
|
A400: "#ff1744",
|
|
183
158
|
A700: "#d50000"
|
|
184
|
-
},
|
|
159
|
+
}, T = {
|
|
185
160
|
50: "#fff3e0",
|
|
186
161
|
100: "#ffe0b2",
|
|
187
162
|
200: "#ffcc80",
|
|
@@ -196,7 +171,7 @@ const S = {
|
|
|
196
171
|
A200: "#ffab40",
|
|
197
172
|
A400: "#ff9100",
|
|
198
173
|
A700: "#ff6d00"
|
|
199
|
-
},
|
|
174
|
+
}, v = {
|
|
200
175
|
50: "#e3f2fd",
|
|
201
176
|
100: "#bbdefb",
|
|
202
177
|
200: "#90caf9",
|
|
@@ -211,7 +186,7 @@ const S = {
|
|
|
211
186
|
A200: "#448aff",
|
|
212
187
|
A400: "#2979ff",
|
|
213
188
|
A700: "#2962ff"
|
|
214
|
-
},
|
|
189
|
+
}, x = {
|
|
215
190
|
50: "#e1f5fe",
|
|
216
191
|
100: "#b3e5fc",
|
|
217
192
|
200: "#81d4fa",
|
|
@@ -226,7 +201,7 @@ const S = {
|
|
|
226
201
|
A200: "#40c4ff",
|
|
227
202
|
A400: "#00b0ff",
|
|
228
203
|
A700: "#0091ea"
|
|
229
|
-
},
|
|
204
|
+
}, w = {
|
|
230
205
|
50: "#e8f5e9",
|
|
231
206
|
100: "#c8e6c9",
|
|
232
207
|
200: "#a5d6a7",
|
|
@@ -241,7 +216,7 @@ const S = {
|
|
|
241
216
|
A200: "#69f0ae",
|
|
242
217
|
A400: "#00e676",
|
|
243
218
|
A700: "#00c853"
|
|
244
|
-
},
|
|
219
|
+
}, ie = ["mode", "contrastThreshold", "tonalOffset"], U = {
|
|
245
220
|
// The colors used to style the text.
|
|
246
221
|
text: {
|
|
247
222
|
// The most important text.
|
|
@@ -256,8 +231,8 @@ const S = {
|
|
|
256
231
|
// The background colors used to style the surfaces.
|
|
257
232
|
// Consistency between these values is important.
|
|
258
233
|
background: {
|
|
259
|
-
paper:
|
|
260
|
-
default:
|
|
234
|
+
paper: k.white,
|
|
235
|
+
default: k.white
|
|
261
236
|
},
|
|
262
237
|
// The colors used to style the action elements.
|
|
263
238
|
action: {
|
|
@@ -278,9 +253,9 @@ const S = {
|
|
|
278
253
|
focusOpacity: 0.12,
|
|
279
254
|
activatedOpacity: 0.12
|
|
280
255
|
}
|
|
281
|
-
},
|
|
256
|
+
}, I = {
|
|
282
257
|
text: {
|
|
283
|
-
primary:
|
|
258
|
+
primary: k.white,
|
|
284
259
|
secondary: "rgba(255, 255, 255, 0.7)",
|
|
285
260
|
disabled: "rgba(255, 255, 255, 0.5)",
|
|
286
261
|
icon: "rgba(255, 255, 255, 0.5)"
|
|
@@ -291,7 +266,7 @@ const S = {
|
|
|
291
266
|
default: "#121212"
|
|
292
267
|
},
|
|
293
268
|
action: {
|
|
294
|
-
active:
|
|
269
|
+
active: k.white,
|
|
295
270
|
hover: "rgba(255, 255, 255, 0.08)",
|
|
296
271
|
hoverOpacity: 0.08,
|
|
297
272
|
selected: "rgba(255, 255, 255, 0.16)",
|
|
@@ -304,105 +279,105 @@ const S = {
|
|
|
304
279
|
activatedOpacity: 0.24
|
|
305
280
|
}
|
|
306
281
|
};
|
|
307
|
-
function
|
|
308
|
-
const
|
|
309
|
-
e[t] || (e.hasOwnProperty(
|
|
282
|
+
function P(e, t, n, r) {
|
|
283
|
+
const a = r.light || r, d = r.dark || r * 1.5;
|
|
284
|
+
e[t] || (e.hasOwnProperty(n) ? e[t] = e[n] : t === "light" ? e.light = J(e.main, a) : t === "dark" && (e.dark = K(e.main, d)));
|
|
310
285
|
}
|
|
311
|
-
function
|
|
286
|
+
function se(e = "light") {
|
|
312
287
|
return e === "dark" ? {
|
|
313
|
-
main:
|
|
314
|
-
light:
|
|
315
|
-
dark:
|
|
288
|
+
main: v[200],
|
|
289
|
+
light: v[50],
|
|
290
|
+
dark: v[400]
|
|
316
291
|
} : {
|
|
317
|
-
main:
|
|
318
|
-
light:
|
|
319
|
-
dark:
|
|
292
|
+
main: v[700],
|
|
293
|
+
light: v[400],
|
|
294
|
+
dark: v[800]
|
|
320
295
|
};
|
|
321
296
|
}
|
|
322
297
|
function ce(e = "light") {
|
|
323
298
|
return e === "dark" ? {
|
|
324
|
-
main:
|
|
325
|
-
light:
|
|
326
|
-
dark:
|
|
299
|
+
main: $[200],
|
|
300
|
+
light: $[50],
|
|
301
|
+
dark: $[400]
|
|
327
302
|
} : {
|
|
328
|
-
main:
|
|
329
|
-
light:
|
|
330
|
-
dark:
|
|
303
|
+
main: $[500],
|
|
304
|
+
light: $[300],
|
|
305
|
+
dark: $[700]
|
|
331
306
|
};
|
|
332
307
|
}
|
|
333
308
|
function fe(e = "light") {
|
|
334
309
|
return e === "dark" ? {
|
|
335
|
-
main:
|
|
336
|
-
light:
|
|
337
|
-
dark:
|
|
310
|
+
main: A[500],
|
|
311
|
+
light: A[300],
|
|
312
|
+
dark: A[700]
|
|
338
313
|
} : {
|
|
339
|
-
main:
|
|
340
|
-
light:
|
|
341
|
-
dark:
|
|
314
|
+
main: A[700],
|
|
315
|
+
light: A[400],
|
|
316
|
+
dark: A[800]
|
|
342
317
|
};
|
|
343
318
|
}
|
|
344
319
|
function ue(e = "light") {
|
|
345
320
|
return e === "dark" ? {
|
|
346
|
-
main:
|
|
347
|
-
light:
|
|
348
|
-
dark:
|
|
321
|
+
main: x[400],
|
|
322
|
+
light: x[300],
|
|
323
|
+
dark: x[700]
|
|
349
324
|
} : {
|
|
350
|
-
main:
|
|
351
|
-
light:
|
|
352
|
-
dark:
|
|
325
|
+
main: x[700],
|
|
326
|
+
light: x[500],
|
|
327
|
+
dark: x[900]
|
|
353
328
|
};
|
|
354
329
|
}
|
|
355
330
|
function de(e = "light") {
|
|
356
331
|
return e === "dark" ? {
|
|
357
|
-
main:
|
|
358
|
-
light:
|
|
359
|
-
dark:
|
|
332
|
+
main: w[400],
|
|
333
|
+
light: w[300],
|
|
334
|
+
dark: w[700]
|
|
360
335
|
} : {
|
|
361
|
-
main:
|
|
362
|
-
light:
|
|
363
|
-
dark:
|
|
336
|
+
main: w[800],
|
|
337
|
+
light: w[500],
|
|
338
|
+
dark: w[900]
|
|
364
339
|
};
|
|
365
340
|
}
|
|
366
341
|
function le(e = "light") {
|
|
367
342
|
return e === "dark" ? {
|
|
368
|
-
main:
|
|
369
|
-
light:
|
|
370
|
-
dark:
|
|
343
|
+
main: T[400],
|
|
344
|
+
light: T[300],
|
|
345
|
+
dark: T[700]
|
|
371
346
|
} : {
|
|
372
347
|
main: "#ed6c02",
|
|
373
348
|
// closest to orange[800] that pass 3:1.
|
|
374
|
-
light:
|
|
375
|
-
dark:
|
|
349
|
+
light: T[500],
|
|
350
|
+
dark: T[900]
|
|
376
351
|
};
|
|
377
352
|
}
|
|
378
|
-
function
|
|
353
|
+
function ge(e) {
|
|
379
354
|
const {
|
|
380
355
|
mode: t = "light",
|
|
381
|
-
contrastThreshold:
|
|
382
|
-
tonalOffset:
|
|
383
|
-
} = e,
|
|
384
|
-
function h(
|
|
385
|
-
const
|
|
356
|
+
contrastThreshold: n = 3,
|
|
357
|
+
tonalOffset: r = 0.2
|
|
358
|
+
} = e, a = M(e, ie), d = e.primary || se(t), i = e.secondary || ce(t), l = e.error || fe(t), p = e.info || ue(t), f = e.success || de(t), g = e.warning || le(t);
|
|
359
|
+
function h(o) {
|
|
360
|
+
const u = _(o, I.text.primary) >= n ? I.text.primary : U.text.primary;
|
|
386
361
|
if (process.env.NODE_ENV !== "production") {
|
|
387
|
-
const b =
|
|
388
|
-
b < 3 && console.error([`MUI: The contrast ratio of ${b}:1 for ${
|
|
362
|
+
const b = _(o, u);
|
|
363
|
+
b < 3 && console.error([`MUI: The contrast ratio of ${b}:1 for ${u} on ${o}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
389
364
|
`));
|
|
390
365
|
}
|
|
391
|
-
return
|
|
366
|
+
return u;
|
|
392
367
|
}
|
|
393
368
|
const c = ({
|
|
394
|
-
color:
|
|
395
|
-
name:
|
|
369
|
+
color: o,
|
|
370
|
+
name: u,
|
|
396
371
|
mainShade: b = 500,
|
|
397
|
-
lightShade:
|
|
398
|
-
darkShade:
|
|
372
|
+
lightShade: C = 300,
|
|
373
|
+
darkShade: N = 700
|
|
399
374
|
}) => {
|
|
400
|
-
if (
|
|
401
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
402
|
-
The color object needs to have a \`main\` property or a \`${b}\` property.` :
|
|
403
|
-
if (typeof
|
|
404
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
405
|
-
\`color.main\` should be a string, but \`${JSON.stringify(
|
|
375
|
+
if (o = m({}, o), !o.main && o[b] && (o.main = o[b]), !o.hasOwnProperty("main"))
|
|
376
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${u ? ` (${u})` : ""} provided to augmentColor(color) is invalid.
|
|
377
|
+
The color object needs to have a \`main\` property or a \`${b}\` property.` : j(11, u ? ` (${u})` : "", b));
|
|
378
|
+
if (typeof o.main != "string")
|
|
379
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${u ? ` (${u})` : ""} provided to augmentColor(color) is invalid.
|
|
380
|
+
\`color.main\` should be a string, but \`${JSON.stringify(o.main)}\` was provided instead.
|
|
406
381
|
|
|
407
382
|
Did you intend to use one of the following approaches?
|
|
408
383
|
|
|
@@ -414,26 +389,26 @@ const theme1 = createTheme({ palette: {
|
|
|
414
389
|
|
|
415
390
|
const theme2 = createTheme({ palette: {
|
|
416
391
|
primary: { main: green[500] },
|
|
417
|
-
} });` :
|
|
418
|
-
return
|
|
419
|
-
},
|
|
420
|
-
dark:
|
|
421
|
-
light:
|
|
392
|
+
} });` : j(12, u ? ` (${u})` : "", JSON.stringify(o.main)));
|
|
393
|
+
return P(o, "light", C, r), P(o, "dark", N, r), o.contrastText || (o.contrastText = h(o.main)), o;
|
|
394
|
+
}, O = {
|
|
395
|
+
dark: I,
|
|
396
|
+
light: U
|
|
422
397
|
};
|
|
423
|
-
return process.env.NODE_ENV !== "production" && (
|
|
398
|
+
return process.env.NODE_ENV !== "production" && (O[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), E(m({
|
|
424
399
|
// A collection of common colors.
|
|
425
|
-
common: m({},
|
|
400
|
+
common: m({}, k),
|
|
426
401
|
// prevent mutable object.
|
|
427
402
|
// The palette mode, can be light or dark.
|
|
428
403
|
mode: t,
|
|
429
404
|
// The colors used to represent primary interface elements for a user.
|
|
430
405
|
primary: c({
|
|
431
|
-
color:
|
|
406
|
+
color: d,
|
|
432
407
|
name: "primary"
|
|
433
408
|
}),
|
|
434
409
|
// The colors used to represent secondary interface elements for a user.
|
|
435
410
|
secondary: c({
|
|
436
|
-
color:
|
|
411
|
+
color: i,
|
|
437
412
|
name: "secondary",
|
|
438
413
|
mainShade: "A400",
|
|
439
414
|
lightShade: "A200",
|
|
@@ -441,17 +416,17 @@ const theme2 = createTheme({ palette: {
|
|
|
441
416
|
}),
|
|
442
417
|
// The colors used to represent interface elements that the user should be made aware of.
|
|
443
418
|
error: c({
|
|
444
|
-
color:
|
|
419
|
+
color: l,
|
|
445
420
|
name: "error"
|
|
446
421
|
}),
|
|
447
422
|
// The colors used to represent potentially dangerous actions or important messages.
|
|
448
423
|
warning: c({
|
|
449
|
-
color:
|
|
424
|
+
color: g,
|
|
450
425
|
name: "warning"
|
|
451
426
|
}),
|
|
452
427
|
// The colors used to present information to the user that is neutral and not necessarily important.
|
|
453
428
|
info: c({
|
|
454
|
-
color:
|
|
429
|
+
color: p,
|
|
455
430
|
name: "info"
|
|
456
431
|
}),
|
|
457
432
|
// The colors used to indicate the successful completion of an action that user triggered.
|
|
@@ -460,10 +435,10 @@ const theme2 = createTheme({ palette: {
|
|
|
460
435
|
name: "success"
|
|
461
436
|
}),
|
|
462
437
|
// The grey colors.
|
|
463
|
-
grey:
|
|
438
|
+
grey: ae,
|
|
464
439
|
// Used by `getContrastText()` to maximize the contrast between
|
|
465
440
|
// the background and the text.
|
|
466
|
-
contrastThreshold:
|
|
441
|
+
contrastThreshold: n,
|
|
467
442
|
// Takes a background color and returns the text color that maximizes the contrast.
|
|
468
443
|
getContrastText: h,
|
|
469
444
|
// Generate a rich color object.
|
|
@@ -471,56 +446,56 @@ const theme2 = createTheme({ palette: {
|
|
|
471
446
|
// Used by the functions below to shift a color's luminance by approximately
|
|
472
447
|
// two indexes within its tonal palette.
|
|
473
448
|
// E.g., shift from Red 500 to Red 300 or Red 700.
|
|
474
|
-
tonalOffset:
|
|
475
|
-
},
|
|
449
|
+
tonalOffset: r
|
|
450
|
+
}, O[t]), a);
|
|
476
451
|
}
|
|
477
|
-
const
|
|
478
|
-
function
|
|
452
|
+
const he = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
|
|
453
|
+
function pe(e) {
|
|
479
454
|
return Math.round(e * 1e5) / 1e5;
|
|
480
455
|
}
|
|
481
|
-
const
|
|
456
|
+
const V = {
|
|
482
457
|
textTransform: "uppercase"
|
|
483
|
-
},
|
|
484
|
-
function
|
|
485
|
-
const
|
|
486
|
-
fontFamily:
|
|
458
|
+
}, z = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
459
|
+
function me(e, t) {
|
|
460
|
+
const n = typeof t == "function" ? t(e) : t, {
|
|
461
|
+
fontFamily: r = z,
|
|
487
462
|
// The default font size of the Material Specification.
|
|
488
|
-
fontSize:
|
|
463
|
+
fontSize: a = 14,
|
|
489
464
|
// px
|
|
490
|
-
fontWeightLight:
|
|
491
|
-
fontWeightRegular:
|
|
492
|
-
fontWeightMedium:
|
|
493
|
-
fontWeightBold:
|
|
465
|
+
fontWeightLight: d = 300,
|
|
466
|
+
fontWeightRegular: i = 400,
|
|
467
|
+
fontWeightMedium: l = 500,
|
|
468
|
+
fontWeightBold: p = 700,
|
|
494
469
|
// Tell MUI what's the font-size on the html element.
|
|
495
470
|
// 16px is the default font-size used by browsers.
|
|
496
471
|
htmlFontSize: f = 16,
|
|
497
472
|
// Apply the CSS properties to all the variants.
|
|
498
|
-
allVariants:
|
|
473
|
+
allVariants: g,
|
|
499
474
|
pxToRem: h
|
|
500
|
-
} =
|
|
501
|
-
process.env.NODE_ENV !== "production" && (typeof
|
|
502
|
-
const
|
|
503
|
-
fontFamily:
|
|
475
|
+
} = n, c = M(n, he);
|
|
476
|
+
process.env.NODE_ENV !== "production" && (typeof a != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
477
|
+
const O = a / 14, y = h || ((b) => `${b / f * O}rem`), o = (b, C, N, G, L) => m({
|
|
478
|
+
fontFamily: r,
|
|
504
479
|
fontWeight: b,
|
|
505
|
-
fontSize: y(
|
|
480
|
+
fontSize: y(C),
|
|
506
481
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
507
|
-
lineHeight:
|
|
508
|
-
},
|
|
509
|
-
letterSpacing: `${
|
|
510
|
-
} : {},
|
|
511
|
-
h1:
|
|
512
|
-
h2:
|
|
513
|
-
h3:
|
|
514
|
-
h4:
|
|
515
|
-
h5:
|
|
516
|
-
h6:
|
|
517
|
-
subtitle1:
|
|
518
|
-
subtitle2:
|
|
519
|
-
body1:
|
|
520
|
-
body2:
|
|
521
|
-
button:
|
|
522
|
-
caption:
|
|
523
|
-
overline:
|
|
482
|
+
lineHeight: N
|
|
483
|
+
}, r === z ? {
|
|
484
|
+
letterSpacing: `${pe(G / C)}em`
|
|
485
|
+
} : {}, L, g), u = {
|
|
486
|
+
h1: o(d, 96, 1.167, -1.5),
|
|
487
|
+
h2: o(d, 60, 1.2, -0.5),
|
|
488
|
+
h3: o(i, 48, 1.167, 0),
|
|
489
|
+
h4: o(i, 34, 1.235, 0.25),
|
|
490
|
+
h5: o(i, 24, 1.334, 0),
|
|
491
|
+
h6: o(l, 20, 1.6, 0.15),
|
|
492
|
+
subtitle1: o(i, 16, 1.75, 0.15),
|
|
493
|
+
subtitle2: o(l, 14, 1.57, 0.1),
|
|
494
|
+
body1: o(i, 16, 1.5, 0.15),
|
|
495
|
+
body2: o(i, 14, 1.43, 0.15),
|
|
496
|
+
button: o(l, 14, 1.75, 0.4, V),
|
|
497
|
+
caption: o(i, 12, 1.66, 0.4),
|
|
498
|
+
overline: o(i, 12, 2.66, 1, V),
|
|
524
499
|
inherit: {
|
|
525
500
|
fontFamily: "inherit",
|
|
526
501
|
fontWeight: "inherit",
|
|
@@ -529,25 +504,25 @@ function be(e, t) {
|
|
|
529
504
|
letterSpacing: "inherit"
|
|
530
505
|
}
|
|
531
506
|
};
|
|
532
|
-
return
|
|
507
|
+
return E(m({
|
|
533
508
|
htmlFontSize: f,
|
|
534
509
|
pxToRem: y,
|
|
535
|
-
fontFamily:
|
|
536
|
-
fontSize:
|
|
537
|
-
fontWeightLight:
|
|
538
|
-
fontWeightRegular:
|
|
539
|
-
fontWeightMedium:
|
|
540
|
-
fontWeightBold:
|
|
541
|
-
},
|
|
510
|
+
fontFamily: r,
|
|
511
|
+
fontSize: a,
|
|
512
|
+
fontWeightLight: d,
|
|
513
|
+
fontWeightRegular: i,
|
|
514
|
+
fontWeightMedium: l,
|
|
515
|
+
fontWeightBold: p
|
|
516
|
+
}, u), c, {
|
|
542
517
|
clone: !1
|
|
543
518
|
// No need to clone deep
|
|
544
519
|
});
|
|
545
520
|
}
|
|
546
|
-
const
|
|
547
|
-
function
|
|
548
|
-
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${
|
|
521
|
+
const be = 0.2, ye = 0.14, Oe = 0.12;
|
|
522
|
+
function s(...e) {
|
|
523
|
+
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${be})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${ye})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Oe})`].join(",");
|
|
549
524
|
}
|
|
550
|
-
const
|
|
525
|
+
const $e = ["none", s(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), s(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), s(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), s(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), s(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), s(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), s(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), s(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), s(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), s(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), s(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), s(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), s(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), s(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), s(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), s(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), s(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), s(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), s(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), s(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), s(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), s(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), s(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), s(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Ae = ["duration", "easing", "delay"], ve = {
|
|
551
526
|
// This is the most common easing curve.
|
|
552
527
|
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
553
528
|
// Objects enter the screen at full velocity from off-screen and
|
|
@@ -557,7 +532,7 @@ const Oe = ["none", o(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), o(0, 3, 1, -2, 0, 2,
|
|
|
557
532
|
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
558
533
|
// The sharp curve is used by objects that may return to the screen at any time.
|
|
559
534
|
sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
|
|
560
|
-
},
|
|
535
|
+
}, xe = {
|
|
561
536
|
shortest: 150,
|
|
562
537
|
shorter: 200,
|
|
563
538
|
short: 250,
|
|
@@ -570,37 +545,37 @@ const Oe = ["none", o(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), o(0, 3, 1, -2, 0, 2,
|
|
|
570
545
|
// recommended when something is leaving screen
|
|
571
546
|
leavingScreen: 195
|
|
572
547
|
};
|
|
573
|
-
function
|
|
548
|
+
function F(e) {
|
|
574
549
|
return `${Math.round(e)}ms`;
|
|
575
550
|
}
|
|
576
|
-
function
|
|
551
|
+
function we(e) {
|
|
577
552
|
if (!e)
|
|
578
553
|
return 0;
|
|
579
554
|
const t = e / 36;
|
|
580
555
|
return Math.round((4 + 15 * t ** 0.25 + t / 5) * 10);
|
|
581
556
|
}
|
|
582
|
-
function
|
|
583
|
-
const t = m({}, ve, e.easing),
|
|
557
|
+
function Se(e) {
|
|
558
|
+
const t = m({}, ve, e.easing), n = m({}, xe, e.duration);
|
|
584
559
|
return m({
|
|
585
|
-
getAutoHeightDuration:
|
|
586
|
-
create: (
|
|
560
|
+
getAutoHeightDuration: we,
|
|
561
|
+
create: (a = ["all"], d = {}) => {
|
|
587
562
|
const {
|
|
588
|
-
duration:
|
|
589
|
-
easing:
|
|
590
|
-
delay:
|
|
591
|
-
} =
|
|
563
|
+
duration: i = n.standard,
|
|
564
|
+
easing: l = t.easeInOut,
|
|
565
|
+
delay: p = 0
|
|
566
|
+
} = d, f = M(d, Ae);
|
|
592
567
|
if (process.env.NODE_ENV !== "production") {
|
|
593
|
-
const
|
|
594
|
-
!
|
|
568
|
+
const g = (c) => typeof c == "string", h = (c) => !isNaN(parseFloat(c));
|
|
569
|
+
!g(a) && !Array.isArray(a) && console.error('MUI: Argument "props" must be a string or Array.'), !h(i) && !g(i) && console.error(`MUI: Argument "duration" must be a number or a string but found ${i}.`), g(l) || console.error('MUI: Argument "easing" must be a string.'), !h(p) && !g(p) && console.error('MUI: Argument "delay" must be a number or a string.'), Object.keys(f).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`);
|
|
595
570
|
}
|
|
596
|
-
return (Array.isArray(
|
|
571
|
+
return (Array.isArray(a) ? a : [a]).map((g) => `${g} ${typeof i == "string" ? i : F(i)} ${l} ${typeof p == "string" ? p : F(p)}`).join(",");
|
|
597
572
|
}
|
|
598
573
|
}, e, {
|
|
599
574
|
easing: t,
|
|
600
|
-
duration:
|
|
575
|
+
duration: n
|
|
601
576
|
});
|
|
602
577
|
}
|
|
603
|
-
const
|
|
578
|
+
const Ee = {
|
|
604
579
|
mobileStepper: 1e3,
|
|
605
580
|
fab: 1050,
|
|
606
581
|
speedDial: 1050,
|
|
@@ -609,37 +584,37 @@ const Me = {
|
|
|
609
584
|
modal: 1300,
|
|
610
585
|
snackbar: 1400,
|
|
611
586
|
tooltip: 1500
|
|
612
|
-
},
|
|
613
|
-
function
|
|
587
|
+
}, Te = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
|
|
588
|
+
function ke(e = {}, ...t) {
|
|
614
589
|
const {
|
|
615
|
-
mixins:
|
|
616
|
-
palette:
|
|
617
|
-
transitions:
|
|
618
|
-
typography:
|
|
619
|
-
} = e,
|
|
590
|
+
mixins: n = {},
|
|
591
|
+
palette: r = {},
|
|
592
|
+
transitions: a = {},
|
|
593
|
+
typography: d = {}
|
|
594
|
+
} = e, i = M(e, Te);
|
|
620
595
|
if (e.vars)
|
|
621
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." :
|
|
622
|
-
const
|
|
623
|
-
let f =
|
|
624
|
-
mixins:
|
|
625
|
-
palette:
|
|
596
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : j(18));
|
|
597
|
+
const l = ge(r), p = Y(e);
|
|
598
|
+
let f = E(p, {
|
|
599
|
+
mixins: oe(p.breakpoints, n),
|
|
600
|
+
palette: l,
|
|
626
601
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
627
|
-
shadows:
|
|
628
|
-
typography:
|
|
629
|
-
transitions:
|
|
630
|
-
zIndex: m({},
|
|
602
|
+
shadows: $e.slice(),
|
|
603
|
+
typography: me(l, d),
|
|
604
|
+
transitions: Se(a),
|
|
605
|
+
zIndex: m({}, Ee)
|
|
631
606
|
});
|
|
632
|
-
if (f =
|
|
633
|
-
const
|
|
607
|
+
if (f = E(f, i), f = t.reduce((g, h) => E(g, h), f), process.env.NODE_ENV !== "production") {
|
|
608
|
+
const g = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], h = (c, O) => {
|
|
634
609
|
let y;
|
|
635
610
|
for (y in c) {
|
|
636
|
-
const
|
|
637
|
-
if (
|
|
611
|
+
const o = c[y];
|
|
612
|
+
if (g.indexOf(y) !== -1 && Object.keys(o).length > 0) {
|
|
638
613
|
if (process.env.NODE_ENV !== "production") {
|
|
639
|
-
const
|
|
640
|
-
console.error([`MUI: The \`${
|
|
614
|
+
const u = B("", y);
|
|
615
|
+
console.error([`MUI: The \`${O}\` component increases the CSS specificity of the \`${y}\` internal state.`, "You can not override it like this: ", JSON.stringify(c, null, 2), "", `Instead, you need to use the '&.${u}' syntax:`, JSON.stringify({
|
|
641
616
|
root: {
|
|
642
|
-
[`&.${
|
|
617
|
+
[`&.${u}`]: o
|
|
643
618
|
}
|
|
644
619
|
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
645
620
|
`));
|
|
@@ -649,23 +624,45 @@ function Te(e = {}, ...t) {
|
|
|
649
624
|
}
|
|
650
625
|
};
|
|
651
626
|
Object.keys(f.components).forEach((c) => {
|
|
652
|
-
const
|
|
653
|
-
|
|
627
|
+
const O = f.components[c].styleOverrides;
|
|
628
|
+
O && c.indexOf("Mui") === 0 && h(O, c);
|
|
654
629
|
});
|
|
655
630
|
}
|
|
656
|
-
return f.unstable_sxConfig = m({},
|
|
657
|
-
return
|
|
631
|
+
return f.unstable_sxConfig = m({}, Q, i == null ? void 0 : i.unstable_sxConfig), f.unstable_sx = function(h) {
|
|
632
|
+
return X({
|
|
658
633
|
sx: h,
|
|
659
634
|
theme: this
|
|
660
635
|
});
|
|
661
636
|
}, f;
|
|
662
637
|
}
|
|
638
|
+
const q = ke();
|
|
639
|
+
function De({
|
|
640
|
+
props: e,
|
|
641
|
+
name: t
|
|
642
|
+
}) {
|
|
643
|
+
return Z({
|
|
644
|
+
props: e,
|
|
645
|
+
name: t,
|
|
646
|
+
defaultTheme: q
|
|
647
|
+
});
|
|
648
|
+
}
|
|
649
|
+
const Ce = (e) => W(e) && e !== "classes", Ue = W, Pe = ee({
|
|
650
|
+
defaultTheme: q,
|
|
651
|
+
rootShouldForwardProp: Ce
|
|
652
|
+
});
|
|
663
653
|
export {
|
|
664
|
-
|
|
654
|
+
re as C,
|
|
665
655
|
Ie as a,
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
656
|
+
B as b,
|
|
657
|
+
_e as c,
|
|
658
|
+
ke as d,
|
|
659
|
+
q as e,
|
|
660
|
+
j as f,
|
|
661
|
+
je as g,
|
|
662
|
+
E as h,
|
|
663
|
+
xe as i,
|
|
664
|
+
Ue as j,
|
|
665
|
+
Ce as r,
|
|
666
|
+
Pe as s,
|
|
667
|
+
De as u
|
|
671
668
|
};
|