@hybridcore/ui 1.5.89 → 1.6.0
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-DgAwVTk8.js} +81 -82
- package/dist/{Add-CMz4N2zT.js → Add-DJLrrVHm.js} +52 -51
- package/dist/AnimatedTheme-jnasw6rT.js +11305 -0
- package/dist/AxisRenderer-DTyLLA6c.js +3579 -0
- package/dist/AxisRendererY-C_ItLPNV.js +445 -0
- package/dist/Box-p6OtTUEo.js +30 -0
- package/dist/Bullet-DVczI2TD.js +41 -0
- package/dist/Button-CcsPEIDh.js +35 -0
- package/dist/{Button-eqWvpDuh.js → Button-CvE2gnly.js} +138 -124
- package/dist/{ButtonBase-DsX-jMQJ.js → ButtonBase-2bPw77UP.js} +5 -5
- package/dist/{CardContent-DsYqqPeJ.js → CardContent-CSHh-ZlM.js} +4 -4
- package/dist/CategoryAxis-CwnfaGc8.js +458 -0
- package/dist/{Checkbox-CrU2hpWB.js → Checkbox-CWRMFTBp.js} +12 -11
- 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-CW0UZv1m.js} +1 -1
- package/dist/{DialogContent-CqTojymQ.js → DialogContent-B3nbEbuv.js} +10 -11
- package/dist/FormControl-BLbrq4C7.js +1636 -0
- package/dist/{FormControlLabel-BrdX4R71.js → FormControlLabel-C8SPv14J.js} +8 -8
- package/dist/Hierarchy-Bihj0S61.js +925 -0
- package/dist/{IconButton-DJ-31-Fd.js → IconButton-CHwRQF-g.js} +20 -19
- package/dist/IconPlus-yPkff_Vj.js +19 -0
- package/dist/{InputAdornment-B7qEA4kN.js → InputAdornment-DLxWUE6H.js} +6 -6
- package/dist/Legend-Dp_MKfS4.js +178 -0
- package/dist/LineSeries-Uiv5o56b.js +472 -0
- package/dist/{List-DOD5kSk3.js → List-tqElle9C.js} +4 -4
- package/dist/{ListItem-r8PbsvCz.js → ListItem-CfjsIg4B.js} +9 -8
- package/dist/{MenuItem-C6qlUyV3.js → MenuItem-xZx_w7zA.js} +14 -13
- package/dist/{Modal-CkcFEpHa.js → Modal-DhPpOoGB.js} +292 -277
- package/dist/{Paper-CjqLScHA.js → Paper-2B03OBmZ.js} +47 -41
- package/dist/PieSeries-B2fW3z0s.js +693 -0
- package/dist/RoundedRectangle-CWLi2PXn.js +34 -0
- package/dist/Scrollbar-D86MJyr2.js +171 -0
- package/dist/{Select-t3ewnSdf.js → Select-BgYwkZgI.js} +2066 -1633
- 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-BQ8a50fA.js → TextField-1yCesIbH.js} +23 -25
- package/dist/Tick-2bcLyHpF.js +162 -0
- package/dist/{Typography-D1t7XuLN.js → Typography-CxbneZy_.js} +11 -11
- 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-ciszXJ7R.js +9 -0
- package/dist/components/access/helpers.js +1 -1
- package/dist/components/access/index.js +1 -1
- package/dist/components/card/index.js +6 -6
- package/dist/components/card/styled.js +1 -1
- 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 +7 -7
- package/dist/components/context-menu/index.js +153 -253
- 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 +5 -5
- 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 +7 -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 +8 -8
- package/dist/components/instance-form/components/variables/index.js +1 -1
- package/dist/components/instance-hierarchy-table/styled.js +1 -1
- 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/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/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/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 +1 -1
- package/dist/components/range-selector/components/date-range/index.js +4282 -7
- package/dist/components/range-selector/index.js +1 -1
- 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/tab-panel/index.js +1 -1
- package/dist/components/template-form/components/property-list/index.js +7 -7
- 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 +9 -9
- 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 +7 -7
- package/dist/components/template-form/index.js +5 -5
- package/dist/components/template-property-filters/property.js +5 -5
- 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 +5 -5
- package/dist/components/treeview-filter/item-label/index.js +3 -3
- package/dist/constant-BiOGvlZc.js +21 -0
- package/dist/createReactComponent-C7L-DMHj.js +60 -0
- package/dist/{createSvgIcon-DLPYMuH1.js → createSvgIcon-BjpIhJ30.js} +30 -32
- package/dist/{createSvgIcon-OuwzpcaC.js → createSvgIcon-DrtgaibK.js} +5 -5
- package/dist/{createTheme-CNnKNxwL.js → createTheme-DYxDnE9u.js} +226 -285
- package/dist/{dialog-BE4D6swf.js → dialog-DcwXug9J.js} +6 -6
- package/dist/{helpers-DaCoWmi2.js → helpers-B4UL9NMD.js} +3 -3
- package/dist/index-BMS1Otro.js +183 -0
- package/dist/index-C__OZmYy.js +663 -0
- package/dist/{index-CGNxsLVm.js → index-CcdvNlgr.js} +7 -7
- package/dist/{index-JrtqxUdI.js → index-kCJ_Zvl8.js} +5 -5
- package/dist/index-syTc6m_V.js +1934 -0
- package/dist/index.es-CHNMhaMi.js +2067 -0
- package/dist/index.esm-BLLrbTzY.js +318 -0
- package/dist/{listItemTextClasses-CNjn41Of.js → listItemTextClasses-C3lndiXO.js} +2 -2
- package/dist/main.d.ts +1226 -358
- 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-zZQfpR0X.js} +13 -13
- package/dist/styled-eZwjUruw.js +12 -0
- package/dist/useId-B4-oF9Mq.js +34 -0
- package/dist/useMobilePicker-BLg3Blg8.js +7589 -0
- package/dist/useThemeProps-BzzHcQyd.js +58 -0
- package/dist/{utils-CsOZUsQj.js → utils-BDNynJcd.js} +2 -2
- package/package.json +42 -9
- package/dist/AxisRendererY-kADUad00.js +0 -18370
- package/dist/Box-B1AVyJ_s.js +0 -71
- package/dist/DateAxis-CMum47iz.js +0 -924
- package/dist/Input-CoIrGZAh.js +0 -326
- package/dist/InputLabel-CBuAYyuT.js +0 -1367
- package/dist/LineSeries-CfcpoYla.js +0 -549
- package/dist/OutlinedInput-B-iZoc9l.js +0 -450
- package/dist/Tabs-Cn42Z5QI.js +0 -789
- package/dist/components/collapsible-card/style.js +0 -49
- 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/createStyled-BGx1I94c.js +0 -352
- package/dist/createTheme-CyC5HawC.js +0 -879
- 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/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/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
|
@@ -1,7 +1,36 @@
|
|
|
1
|
-
import { a as m, _ as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { a as m, _ as M } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
|
|
2
|
+
import { getContrastRatio as D, lighten as H, darken as q, createTheme as G, unstable_defaultSxConfig as L, unstable_styleFunctionSx as J } from "@mui/system";
|
|
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((a) => {
|
|
14
|
+
t[a] = R(e[a]);
|
|
15
|
+
}), t;
|
|
16
|
+
}
|
|
17
|
+
function k(e, t, a = {
|
|
18
|
+
clone: !0
|
|
19
|
+
}) {
|
|
20
|
+
const i = a.clone ? m({}, e) : e;
|
|
21
|
+
return S(e) && S(t) && Object.keys(t).forEach((n) => {
|
|
22
|
+
S(t[n]) && // Avoid prototype pollution
|
|
23
|
+
Object.prototype.hasOwnProperty.call(e, n) && S(e[n]) ? i[n] = k(e[n], t[n], a) : a.clone ? i[n] = S(t[n]) ? R(t[n]) : t[n] : i[n] = t[n];
|
|
24
|
+
}), i;
|
|
25
|
+
}
|
|
26
|
+
function _(e) {
|
|
27
|
+
let t = "https://mui.com/production-error/?code=" + e;
|
|
28
|
+
for (let a = 1; a < arguments.length; a += 1)
|
|
29
|
+
t += "&args[]=" + encodeURIComponent(arguments[a]);
|
|
30
|
+
return "Minified MUI error #" + e + "; visit " + t + " for the full message.";
|
|
31
|
+
}
|
|
32
|
+
const j = (e) => e, K = () => {
|
|
33
|
+
let e = j;
|
|
5
34
|
return {
|
|
6
35
|
configure(t) {
|
|
7
36
|
e = t;
|
|
@@ -10,10 +39,10 @@ const V = (e) => e, K = () => {
|
|
|
10
39
|
return e(t);
|
|
11
40
|
},
|
|
12
41
|
reset() {
|
|
13
|
-
e =
|
|
42
|
+
e = j;
|
|
14
43
|
}
|
|
15
44
|
};
|
|
16
|
-
},
|
|
45
|
+
}, Y = K(), Q = {
|
|
17
46
|
active: "active",
|
|
18
47
|
checked: "checked",
|
|
19
48
|
completed: "completed",
|
|
@@ -27,98 +56,11 @@ const V = (e) => e, K = () => {
|
|
|
27
56
|
required: "required",
|
|
28
57
|
selected: "selected"
|
|
29
58
|
};
|
|
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})`;
|
|
59
|
+
function X(e, t, a = "Mui") {
|
|
60
|
+
const i = Q[t];
|
|
61
|
+
return i ? `${a}-${i}` : `${Y.generate(e)}-${t}`;
|
|
77
62
|
}
|
|
78
|
-
function
|
|
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);
|
|
98
|
-
}
|
|
99
|
-
function Ie(e, t) {
|
|
100
|
-
return e = O(e), t = U(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, _(e);
|
|
101
|
-
}
|
|
102
|
-
function re(e, t) {
|
|
103
|
-
if (e = O(e), t = U(t), e.type.indexOf("hsl") !== -1)
|
|
104
|
-
e.values[2] *= 1 - t;
|
|
105
|
-
else if (e.type.indexOf("rgb") !== -1 || e.type.indexOf("color") !== -1)
|
|
106
|
-
for (let r = 0; r < 3; r += 1)
|
|
107
|
-
e.values[r] *= 1 - t;
|
|
108
|
-
return _(e);
|
|
109
|
-
}
|
|
110
|
-
function ne(e, t) {
|
|
111
|
-
if (e = O(e), t = U(t), e.type.indexOf("hsl") !== -1)
|
|
112
|
-
e.values[2] += (100 - e.values[2]) * t;
|
|
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);
|
|
120
|
-
}
|
|
121
|
-
function ae(e, t) {
|
|
63
|
+
function Z(e, t) {
|
|
122
64
|
return m({
|
|
123
65
|
toolbar: {
|
|
124
66
|
minHeight: 56,
|
|
@@ -133,10 +75,10 @@ function ae(e, t) {
|
|
|
133
75
|
}
|
|
134
76
|
}, t);
|
|
135
77
|
}
|
|
136
|
-
const
|
|
78
|
+
const N = {
|
|
137
79
|
black: "#000",
|
|
138
80
|
white: "#fff"
|
|
139
|
-
},
|
|
81
|
+
}, ee = {
|
|
140
82
|
50: "#fafafa",
|
|
141
83
|
100: "#f5f5f5",
|
|
142
84
|
200: "#eeeeee",
|
|
@@ -151,7 +93,7 @@ const S = {
|
|
|
151
93
|
A200: "#eeeeee",
|
|
152
94
|
A400: "#bdbdbd",
|
|
153
95
|
A700: "#616161"
|
|
154
|
-
},
|
|
96
|
+
}, $ = {
|
|
155
97
|
50: "#f3e5f5",
|
|
156
98
|
100: "#e1bee7",
|
|
157
99
|
200: "#ce93d8",
|
|
@@ -166,7 +108,7 @@ const S = {
|
|
|
166
108
|
A200: "#e040fb",
|
|
167
109
|
A400: "#d500f9",
|
|
168
110
|
A700: "#aa00ff"
|
|
169
|
-
},
|
|
111
|
+
}, A = {
|
|
170
112
|
50: "#ffebee",
|
|
171
113
|
100: "#ffcdd2",
|
|
172
114
|
200: "#ef9a9a",
|
|
@@ -181,7 +123,7 @@ const S = {
|
|
|
181
123
|
A200: "#ff5252",
|
|
182
124
|
A400: "#ff1744",
|
|
183
125
|
A700: "#d50000"
|
|
184
|
-
},
|
|
126
|
+
}, E = {
|
|
185
127
|
50: "#fff3e0",
|
|
186
128
|
100: "#ffe0b2",
|
|
187
129
|
200: "#ffcc80",
|
|
@@ -196,7 +138,7 @@ const S = {
|
|
|
196
138
|
A200: "#ffab40",
|
|
197
139
|
A400: "#ff9100",
|
|
198
140
|
A700: "#ff6d00"
|
|
199
|
-
},
|
|
141
|
+
}, v = {
|
|
200
142
|
50: "#e3f2fd",
|
|
201
143
|
100: "#bbdefb",
|
|
202
144
|
200: "#90caf9",
|
|
@@ -211,7 +153,7 @@ const S = {
|
|
|
211
153
|
A200: "#448aff",
|
|
212
154
|
A400: "#2979ff",
|
|
213
155
|
A700: "#2962ff"
|
|
214
|
-
},
|
|
156
|
+
}, x = {
|
|
215
157
|
50: "#e1f5fe",
|
|
216
158
|
100: "#b3e5fc",
|
|
217
159
|
200: "#81d4fa",
|
|
@@ -226,7 +168,7 @@ const S = {
|
|
|
226
168
|
A200: "#40c4ff",
|
|
227
169
|
A400: "#00b0ff",
|
|
228
170
|
A700: "#0091ea"
|
|
229
|
-
},
|
|
171
|
+
}, w = {
|
|
230
172
|
50: "#e8f5e9",
|
|
231
173
|
100: "#c8e6c9",
|
|
232
174
|
200: "#a5d6a7",
|
|
@@ -241,7 +183,7 @@ const S = {
|
|
|
241
183
|
A200: "#69f0ae",
|
|
242
184
|
A400: "#00e676",
|
|
243
185
|
A700: "#00c853"
|
|
244
|
-
},
|
|
186
|
+
}, te = ["mode", "contrastThreshold", "tonalOffset"], U = {
|
|
245
187
|
// The colors used to style the text.
|
|
246
188
|
text: {
|
|
247
189
|
// The most important text.
|
|
@@ -256,8 +198,8 @@ const S = {
|
|
|
256
198
|
// The background colors used to style the surfaces.
|
|
257
199
|
// Consistency between these values is important.
|
|
258
200
|
background: {
|
|
259
|
-
paper:
|
|
260
|
-
default:
|
|
201
|
+
paper: N.white,
|
|
202
|
+
default: N.white
|
|
261
203
|
},
|
|
262
204
|
// The colors used to style the action elements.
|
|
263
205
|
action: {
|
|
@@ -278,9 +220,9 @@ const S = {
|
|
|
278
220
|
focusOpacity: 0.12,
|
|
279
221
|
activatedOpacity: 0.12
|
|
280
222
|
}
|
|
281
|
-
},
|
|
223
|
+
}, C = {
|
|
282
224
|
text: {
|
|
283
|
-
primary:
|
|
225
|
+
primary: N.white,
|
|
284
226
|
secondary: "rgba(255, 255, 255, 0.7)",
|
|
285
227
|
disabled: "rgba(255, 255, 255, 0.5)",
|
|
286
228
|
icon: "rgba(255, 255, 255, 0.5)"
|
|
@@ -291,7 +233,7 @@ const S = {
|
|
|
291
233
|
default: "#121212"
|
|
292
234
|
},
|
|
293
235
|
action: {
|
|
294
|
-
active:
|
|
236
|
+
active: N.white,
|
|
295
237
|
hover: "rgba(255, 255, 255, 0.08)",
|
|
296
238
|
hoverOpacity: 0.08,
|
|
297
239
|
selected: "rgba(255, 255, 255, 0.16)",
|
|
@@ -304,105 +246,105 @@ const S = {
|
|
|
304
246
|
activatedOpacity: 0.24
|
|
305
247
|
}
|
|
306
248
|
};
|
|
307
|
-
function
|
|
308
|
-
const
|
|
309
|
-
e[t] || (e.hasOwnProperty(
|
|
249
|
+
function V(e, t, a, i) {
|
|
250
|
+
const n = i.light || i, g = i.dark || i * 1.5;
|
|
251
|
+
e[t] || (e.hasOwnProperty(a) ? e[t] = e[a] : t === "light" ? e.light = H(e.main, n) : t === "dark" && (e.dark = q(e.main, g)));
|
|
310
252
|
}
|
|
311
|
-
function
|
|
253
|
+
function re(e = "light") {
|
|
312
254
|
return e === "dark" ? {
|
|
313
|
-
main:
|
|
314
|
-
light:
|
|
315
|
-
dark:
|
|
255
|
+
main: v[200],
|
|
256
|
+
light: v[50],
|
|
257
|
+
dark: v[400]
|
|
316
258
|
} : {
|
|
317
|
-
main:
|
|
318
|
-
light:
|
|
319
|
-
dark:
|
|
259
|
+
main: v[700],
|
|
260
|
+
light: v[400],
|
|
261
|
+
dark: v[800]
|
|
320
262
|
};
|
|
321
263
|
}
|
|
322
|
-
function
|
|
264
|
+
function ne(e = "light") {
|
|
323
265
|
return e === "dark" ? {
|
|
324
|
-
main:
|
|
325
|
-
light:
|
|
326
|
-
dark:
|
|
266
|
+
main: $[200],
|
|
267
|
+
light: $[50],
|
|
268
|
+
dark: $[400]
|
|
327
269
|
} : {
|
|
328
|
-
main:
|
|
329
|
-
light:
|
|
330
|
-
dark:
|
|
270
|
+
main: $[500],
|
|
271
|
+
light: $[300],
|
|
272
|
+
dark: $[700]
|
|
331
273
|
};
|
|
332
274
|
}
|
|
333
|
-
function
|
|
275
|
+
function ae(e = "light") {
|
|
334
276
|
return e === "dark" ? {
|
|
335
|
-
main:
|
|
336
|
-
light:
|
|
337
|
-
dark:
|
|
277
|
+
main: A[500],
|
|
278
|
+
light: A[300],
|
|
279
|
+
dark: A[700]
|
|
338
280
|
} : {
|
|
339
|
-
main:
|
|
340
|
-
light:
|
|
341
|
-
dark:
|
|
281
|
+
main: A[700],
|
|
282
|
+
light: A[400],
|
|
283
|
+
dark: A[800]
|
|
342
284
|
};
|
|
343
285
|
}
|
|
344
|
-
function
|
|
286
|
+
function oe(e = "light") {
|
|
345
287
|
return e === "dark" ? {
|
|
346
|
-
main:
|
|
347
|
-
light:
|
|
348
|
-
dark:
|
|
288
|
+
main: x[400],
|
|
289
|
+
light: x[300],
|
|
290
|
+
dark: x[700]
|
|
349
291
|
} : {
|
|
350
|
-
main:
|
|
351
|
-
light:
|
|
352
|
-
dark:
|
|
292
|
+
main: x[700],
|
|
293
|
+
light: x[500],
|
|
294
|
+
dark: x[900]
|
|
353
295
|
};
|
|
354
296
|
}
|
|
355
|
-
function
|
|
297
|
+
function ie(e = "light") {
|
|
356
298
|
return e === "dark" ? {
|
|
357
|
-
main:
|
|
358
|
-
light:
|
|
359
|
-
dark:
|
|
299
|
+
main: w[400],
|
|
300
|
+
light: w[300],
|
|
301
|
+
dark: w[700]
|
|
360
302
|
} : {
|
|
361
|
-
main:
|
|
362
|
-
light:
|
|
363
|
-
dark:
|
|
303
|
+
main: w[800],
|
|
304
|
+
light: w[500],
|
|
305
|
+
dark: w[900]
|
|
364
306
|
};
|
|
365
307
|
}
|
|
366
|
-
function
|
|
308
|
+
function se(e = "light") {
|
|
367
309
|
return e === "dark" ? {
|
|
368
|
-
main:
|
|
369
|
-
light:
|
|
370
|
-
dark:
|
|
310
|
+
main: E[400],
|
|
311
|
+
light: E[300],
|
|
312
|
+
dark: E[700]
|
|
371
313
|
} : {
|
|
372
314
|
main: "#ed6c02",
|
|
373
315
|
// closest to orange[800] that pass 3:1.
|
|
374
|
-
light:
|
|
375
|
-
dark:
|
|
316
|
+
light: E[500],
|
|
317
|
+
dark: E[900]
|
|
376
318
|
};
|
|
377
319
|
}
|
|
378
|
-
function
|
|
320
|
+
function ce(e) {
|
|
379
321
|
const {
|
|
380
322
|
mode: t = "light",
|
|
381
|
-
contrastThreshold:
|
|
382
|
-
tonalOffset:
|
|
383
|
-
} = e,
|
|
384
|
-
function
|
|
385
|
-
const
|
|
323
|
+
contrastThreshold: a = 3,
|
|
324
|
+
tonalOffset: i = 0.2
|
|
325
|
+
} = e, n = M(e, te), g = e.primary || re(t), s = e.secondary || ne(t), h = e.error || ae(t), b = e.info || oe(t), f = e.success || ie(t), l = e.warning || se(t);
|
|
326
|
+
function u(r) {
|
|
327
|
+
const d = D(r, C.text.primary) >= a ? C.text.primary : U.text.primary;
|
|
386
328
|
if (process.env.NODE_ENV !== "production") {
|
|
387
|
-
const
|
|
388
|
-
|
|
329
|
+
const p = D(r, d);
|
|
330
|
+
p < 3 && console.error([`MUI: The contrast ratio of ${p}:1 for ${d} on ${r}`, "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
331
|
`));
|
|
390
332
|
}
|
|
391
|
-
return
|
|
333
|
+
return d;
|
|
392
334
|
}
|
|
393
335
|
const c = ({
|
|
394
|
-
color:
|
|
395
|
-
name:
|
|
396
|
-
mainShade:
|
|
336
|
+
color: r,
|
|
337
|
+
name: d,
|
|
338
|
+
mainShade: p = 500,
|
|
397
339
|
lightShade: I = 300,
|
|
398
|
-
darkShade:
|
|
340
|
+
darkShade: T = 700
|
|
399
341
|
}) => {
|
|
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 \`${
|
|
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(
|
|
342
|
+
if (r = m({}, r), !r.main && r[p] && (r.main = r[p]), !r.hasOwnProperty("main"))
|
|
343
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${d ? ` (${d})` : ""} provided to augmentColor(color) is invalid.
|
|
344
|
+
The color object needs to have a \`main\` property or a \`${p}\` property.` : _(11, d ? ` (${d})` : "", p));
|
|
345
|
+
if (typeof r.main != "string")
|
|
346
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${d ? ` (${d})` : ""} provided to augmentColor(color) is invalid.
|
|
347
|
+
\`color.main\` should be a string, but \`${JSON.stringify(r.main)}\` was provided instead.
|
|
406
348
|
|
|
407
349
|
Did you intend to use one of the following approaches?
|
|
408
350
|
|
|
@@ -414,21 +356,21 @@ const theme1 = createTheme({ palette: {
|
|
|
414
356
|
|
|
415
357
|
const theme2 = createTheme({ palette: {
|
|
416
358
|
primary: { main: green[500] },
|
|
417
|
-
} });` :
|
|
418
|
-
return
|
|
419
|
-
},
|
|
420
|
-
dark:
|
|
421
|
-
light:
|
|
359
|
+
} });` : _(12, d ? ` (${d})` : "", JSON.stringify(r.main)));
|
|
360
|
+
return V(r, "light", I, i), V(r, "dark", T, i), r.contrastText || (r.contrastText = u(r.main)), r;
|
|
361
|
+
}, O = {
|
|
362
|
+
dark: C,
|
|
363
|
+
light: U
|
|
422
364
|
};
|
|
423
|
-
return process.env.NODE_ENV !== "production" && (
|
|
365
|
+
return process.env.NODE_ENV !== "production" && (O[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), k(m({
|
|
424
366
|
// A collection of common colors.
|
|
425
|
-
common: m({},
|
|
367
|
+
common: m({}, N),
|
|
426
368
|
// prevent mutable object.
|
|
427
369
|
// The palette mode, can be light or dark.
|
|
428
370
|
mode: t,
|
|
429
371
|
// The colors used to represent primary interface elements for a user.
|
|
430
372
|
primary: c({
|
|
431
|
-
color:
|
|
373
|
+
color: g,
|
|
432
374
|
name: "primary"
|
|
433
375
|
}),
|
|
434
376
|
// The colors used to represent secondary interface elements for a user.
|
|
@@ -441,17 +383,17 @@ const theme2 = createTheme({ palette: {
|
|
|
441
383
|
}),
|
|
442
384
|
// The colors used to represent interface elements that the user should be made aware of.
|
|
443
385
|
error: c({
|
|
444
|
-
color:
|
|
386
|
+
color: h,
|
|
445
387
|
name: "error"
|
|
446
388
|
}),
|
|
447
389
|
// The colors used to represent potentially dangerous actions or important messages.
|
|
448
390
|
warning: c({
|
|
449
|
-
color:
|
|
391
|
+
color: l,
|
|
450
392
|
name: "warning"
|
|
451
393
|
}),
|
|
452
394
|
// The colors used to present information to the user that is neutral and not necessarily important.
|
|
453
395
|
info: c({
|
|
454
|
-
color:
|
|
396
|
+
color: b,
|
|
455
397
|
name: "info"
|
|
456
398
|
}),
|
|
457
399
|
// The colors used to indicate the successful completion of an action that user triggered.
|
|
@@ -460,67 +402,67 @@ const theme2 = createTheme({ palette: {
|
|
|
460
402
|
name: "success"
|
|
461
403
|
}),
|
|
462
404
|
// The grey colors.
|
|
463
|
-
grey:
|
|
405
|
+
grey: ee,
|
|
464
406
|
// Used by `getContrastText()` to maximize the contrast between
|
|
465
407
|
// the background and the text.
|
|
466
|
-
contrastThreshold:
|
|
408
|
+
contrastThreshold: a,
|
|
467
409
|
// Takes a background color and returns the text color that maximizes the contrast.
|
|
468
|
-
getContrastText:
|
|
410
|
+
getContrastText: u,
|
|
469
411
|
// Generate a rich color object.
|
|
470
412
|
augmentColor: c,
|
|
471
413
|
// Used by the functions below to shift a color's luminance by approximately
|
|
472
414
|
// two indexes within its tonal palette.
|
|
473
415
|
// E.g., shift from Red 500 to Red 300 or Red 700.
|
|
474
|
-
tonalOffset:
|
|
475
|
-
},
|
|
416
|
+
tonalOffset: i
|
|
417
|
+
}, O[t]), n);
|
|
476
418
|
}
|
|
477
|
-
const
|
|
478
|
-
function
|
|
419
|
+
const fe = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
|
|
420
|
+
function de(e) {
|
|
479
421
|
return Math.round(e * 1e5) / 1e5;
|
|
480
422
|
}
|
|
481
|
-
const
|
|
423
|
+
const z = {
|
|
482
424
|
textTransform: "uppercase"
|
|
483
|
-
},
|
|
484
|
-
function
|
|
485
|
-
const
|
|
486
|
-
fontFamily:
|
|
425
|
+
}, W = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
426
|
+
function le(e, t) {
|
|
427
|
+
const a = typeof t == "function" ? t(e) : t, {
|
|
428
|
+
fontFamily: i = W,
|
|
487
429
|
// The default font size of the Material Specification.
|
|
488
|
-
fontSize:
|
|
430
|
+
fontSize: n = 14,
|
|
489
431
|
// px
|
|
490
|
-
fontWeightLight:
|
|
432
|
+
fontWeightLight: g = 300,
|
|
491
433
|
fontWeightRegular: s = 400,
|
|
492
|
-
fontWeightMedium:
|
|
493
|
-
fontWeightBold:
|
|
434
|
+
fontWeightMedium: h = 500,
|
|
435
|
+
fontWeightBold: b = 700,
|
|
494
436
|
// Tell MUI what's the font-size on the html element.
|
|
495
437
|
// 16px is the default font-size used by browsers.
|
|
496
438
|
htmlFontSize: f = 16,
|
|
497
439
|
// Apply the CSS properties to all the variants.
|
|
498
|
-
allVariants:
|
|
499
|
-
pxToRem:
|
|
500
|
-
} =
|
|
501
|
-
process.env.NODE_ENV !== "production" && (typeof
|
|
502
|
-
const
|
|
503
|
-
fontFamily:
|
|
504
|
-
fontWeight:
|
|
440
|
+
allVariants: l,
|
|
441
|
+
pxToRem: u
|
|
442
|
+
} = a, c = M(a, fe);
|
|
443
|
+
process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
444
|
+
const O = n / 14, y = u || ((p) => `${p / f * O}rem`), r = (p, I, T, F, B) => m({
|
|
445
|
+
fontFamily: i,
|
|
446
|
+
fontWeight: p,
|
|
505
447
|
fontSize: y(I),
|
|
506
448
|
// 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:
|
|
449
|
+
lineHeight: T
|
|
450
|
+
}, i === W ? {
|
|
451
|
+
letterSpacing: `${de(F / I)}em`
|
|
452
|
+
} : {}, B, l), d = {
|
|
453
|
+
h1: r(g, 96, 1.167, -1.5),
|
|
454
|
+
h2: r(g, 60, 1.2, -0.5),
|
|
455
|
+
h3: r(s, 48, 1.167, 0),
|
|
456
|
+
h4: r(s, 34, 1.235, 0.25),
|
|
457
|
+
h5: r(s, 24, 1.334, 0),
|
|
458
|
+
h6: r(h, 20, 1.6, 0.15),
|
|
459
|
+
subtitle1: r(s, 16, 1.75, 0.15),
|
|
460
|
+
subtitle2: r(h, 14, 1.57, 0.1),
|
|
461
|
+
body1: r(s, 16, 1.5, 0.15),
|
|
462
|
+
body2: r(s, 14, 1.43, 0.15),
|
|
463
|
+
button: r(h, 14, 1.75, 0.4, z),
|
|
464
|
+
caption: r(s, 12, 1.66, 0.4),
|
|
465
|
+
overline: r(s, 12, 2.66, 1, z),
|
|
524
466
|
inherit: {
|
|
525
467
|
fontFamily: "inherit",
|
|
526
468
|
fontWeight: "inherit",
|
|
@@ -529,25 +471,25 @@ function be(e, t) {
|
|
|
529
471
|
letterSpacing: "inherit"
|
|
530
472
|
}
|
|
531
473
|
};
|
|
532
|
-
return
|
|
474
|
+
return k(m({
|
|
533
475
|
htmlFontSize: f,
|
|
534
476
|
pxToRem: y,
|
|
535
|
-
fontFamily:
|
|
536
|
-
fontSize:
|
|
537
|
-
fontWeightLight:
|
|
477
|
+
fontFamily: i,
|
|
478
|
+
fontSize: n,
|
|
479
|
+
fontWeightLight: g,
|
|
538
480
|
fontWeightRegular: s,
|
|
539
|
-
fontWeightMedium:
|
|
540
|
-
fontWeightBold:
|
|
541
|
-
},
|
|
481
|
+
fontWeightMedium: h,
|
|
482
|
+
fontWeightBold: b
|
|
483
|
+
}, d), c, {
|
|
542
484
|
clone: !1
|
|
543
485
|
// No need to clone deep
|
|
544
486
|
});
|
|
545
487
|
}
|
|
546
|
-
const
|
|
488
|
+
const ue = 0.2, ge = 0.14, he = 0.12;
|
|
547
489
|
function o(...e) {
|
|
548
|
-
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${
|
|
490
|
+
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${ue})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${ge})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${he})`].join(",");
|
|
549
491
|
}
|
|
550
|
-
const
|
|
492
|
+
const be = ["none", o(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), o(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), o(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), o(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), o(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), o(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), o(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), o(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), o(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), o(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), o(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), o(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), o(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), o(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), o(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), o(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), o(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), o(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), o(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), o(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), o(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), o(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), o(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), o(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], me = ["duration", "easing", "delay"], pe = {
|
|
551
493
|
// This is the most common easing curve.
|
|
552
494
|
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
553
495
|
// Objects enter the screen at full velocity from off-screen and
|
|
@@ -557,7 +499,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
499
|
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
558
500
|
// The sharp curve is used by objects that may return to the screen at any time.
|
|
559
501
|
sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
|
|
560
|
-
},
|
|
502
|
+
}, ye = {
|
|
561
503
|
shortest: 150,
|
|
562
504
|
shorter: 200,
|
|
563
505
|
short: 250,
|
|
@@ -570,37 +512,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
512
|
// recommended when something is leaving screen
|
|
571
513
|
leavingScreen: 195
|
|
572
514
|
};
|
|
573
|
-
function
|
|
515
|
+
function P(e) {
|
|
574
516
|
return `${Math.round(e)}ms`;
|
|
575
517
|
}
|
|
576
|
-
function
|
|
518
|
+
function Oe(e) {
|
|
577
519
|
if (!e)
|
|
578
520
|
return 0;
|
|
579
521
|
const t = e / 36;
|
|
580
522
|
return Math.round((4 + 15 * t ** 0.25 + t / 5) * 10);
|
|
581
523
|
}
|
|
582
|
-
function
|
|
583
|
-
const t = m({},
|
|
524
|
+
function $e(e) {
|
|
525
|
+
const t = m({}, pe, e.easing), a = m({}, ye, e.duration);
|
|
584
526
|
return m({
|
|
585
|
-
getAutoHeightDuration:
|
|
586
|
-
create: (
|
|
527
|
+
getAutoHeightDuration: Oe,
|
|
528
|
+
create: (n = ["all"], g = {}) => {
|
|
587
529
|
const {
|
|
588
|
-
duration: s =
|
|
589
|
-
easing:
|
|
590
|
-
delay:
|
|
591
|
-
} =
|
|
530
|
+
duration: s = a.standard,
|
|
531
|
+
easing: h = t.easeInOut,
|
|
532
|
+
delay: b = 0
|
|
533
|
+
} = g, f = M(g, me);
|
|
592
534
|
if (process.env.NODE_ENV !== "production") {
|
|
593
|
-
const
|
|
594
|
-
!
|
|
535
|
+
const l = (c) => typeof c == "string", u = (c) => !isNaN(parseFloat(c));
|
|
536
|
+
!l(n) && !Array.isArray(n) && console.error('MUI: Argument "props" must be a string or Array.'), !u(s) && !l(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), l(h) || console.error('MUI: Argument "easing" must be a string.'), !u(b) && !l(b) && 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
537
|
}
|
|
596
|
-
return (Array.isArray(
|
|
538
|
+
return (Array.isArray(n) ? n : [n]).map((l) => `${l} ${typeof s == "string" ? s : P(s)} ${h} ${typeof b == "string" ? b : P(b)}`).join(",");
|
|
597
539
|
}
|
|
598
540
|
}, e, {
|
|
599
541
|
easing: t,
|
|
600
|
-
duration:
|
|
542
|
+
duration: a
|
|
601
543
|
});
|
|
602
544
|
}
|
|
603
|
-
const
|
|
545
|
+
const Ae = {
|
|
604
546
|
mobileStepper: 1e3,
|
|
605
547
|
fab: 1050,
|
|
606
548
|
speedDial: 1050,
|
|
@@ -609,37 +551,37 @@ const Me = {
|
|
|
609
551
|
modal: 1300,
|
|
610
552
|
snackbar: 1400,
|
|
611
553
|
tooltip: 1500
|
|
612
|
-
},
|
|
613
|
-
function
|
|
554
|
+
}, ve = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
|
|
555
|
+
function Se(e = {}, ...t) {
|
|
614
556
|
const {
|
|
615
|
-
mixins:
|
|
616
|
-
palette:
|
|
617
|
-
transitions:
|
|
618
|
-
typography:
|
|
619
|
-
} = e, s =
|
|
557
|
+
mixins: a = {},
|
|
558
|
+
palette: i = {},
|
|
559
|
+
transitions: n = {},
|
|
560
|
+
typography: g = {}
|
|
561
|
+
} = e, s = M(e, ve);
|
|
620
562
|
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:
|
|
563
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : _(18));
|
|
564
|
+
const h = ce(i), b = G(e);
|
|
565
|
+
let f = k(b, {
|
|
566
|
+
mixins: Z(b.breakpoints, a),
|
|
567
|
+
palette: h,
|
|
626
568
|
// 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({},
|
|
569
|
+
shadows: be.slice(),
|
|
570
|
+
typography: le(h, g),
|
|
571
|
+
transitions: $e(n),
|
|
572
|
+
zIndex: m({}, Ae)
|
|
631
573
|
});
|
|
632
|
-
if (f =
|
|
633
|
-
const
|
|
574
|
+
if (f = k(f, s), f = t.reduce((l, u) => k(l, u), f), process.env.NODE_ENV !== "production") {
|
|
575
|
+
const l = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], u = (c, O) => {
|
|
634
576
|
let y;
|
|
635
577
|
for (y in c) {
|
|
636
|
-
const
|
|
637
|
-
if (
|
|
578
|
+
const r = c[y];
|
|
579
|
+
if (l.indexOf(y) !== -1 && Object.keys(r).length > 0) {
|
|
638
580
|
if (process.env.NODE_ENV !== "production") {
|
|
639
|
-
const
|
|
640
|
-
console.error([`MUI: The \`${
|
|
581
|
+
const d = X("", y);
|
|
582
|
+
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 '&.${d}' syntax:`, JSON.stringify({
|
|
641
583
|
root: {
|
|
642
|
-
[`&.${
|
|
584
|
+
[`&.${d}`]: r
|
|
643
585
|
}
|
|
644
586
|
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
645
587
|
`));
|
|
@@ -649,23 +591,22 @@ function Te(e = {}, ...t) {
|
|
|
649
591
|
}
|
|
650
592
|
};
|
|
651
593
|
Object.keys(f.components).forEach((c) => {
|
|
652
|
-
const
|
|
653
|
-
|
|
594
|
+
const O = f.components[c].styleOverrides;
|
|
595
|
+
O && c.indexOf("Mui") === 0 && u(O, c);
|
|
654
596
|
});
|
|
655
597
|
}
|
|
656
|
-
return f.unstable_sxConfig = m({},
|
|
598
|
+
return f.unstable_sxConfig = m({}, L, s == null ? void 0 : s.unstable_sxConfig), f.unstable_sx = function(u) {
|
|
657
599
|
return J({
|
|
658
|
-
sx:
|
|
600
|
+
sx: u,
|
|
659
601
|
theme: this
|
|
660
602
|
});
|
|
661
603
|
}, f;
|
|
662
604
|
}
|
|
663
605
|
export {
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
ne as l
|
|
606
|
+
Y as C,
|
|
607
|
+
k as a,
|
|
608
|
+
Se as c,
|
|
609
|
+
ye as d,
|
|
610
|
+
_ as f,
|
|
611
|
+
X as g
|
|
671
612
|
};
|