@hybridcore/ui 1.5.90 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AccordionDetails-DhriPVPP.js → AccordionSummary-CMg08YSA.js} +91 -95
- package/dist/{Add-CMz4N2zT.js → Add-DuVVJeQU.js} +35 -36
- package/dist/AnimatedTheme-jnasw6rT.js +11305 -0
- package/dist/AxisRenderer-DTyLLA6c.js +3579 -0
- package/dist/AxisRendererY-C_ItLPNV.js +445 -0
- package/dist/Bullet-DVczI2TD.js +41 -0
- package/dist/Button-CcsPEIDh.js +35 -0
- package/dist/{ButtonBase-DsX-jMQJ.js → ButtonBase-sObABYY2.js} +62 -58
- package/dist/CategoryAxis-CwnfaGc8.js +458 -0
- package/dist/Circle-Cy5s-pVc.js +27 -0
- package/dist/ColorSet-C7vpNXhM.js +2957 -0
- package/dist/{ColumnSeries-BTcqshjB.js → ColumnSeries-CjgdJ2QL.js} +129 -126
- package/dist/DataProcessor-CHDO51q4.js +83 -0
- package/dist/DateAxis-YX3QNIB-.js +569 -0
- package/dist/{Delete-86TO0fMo.js → Delete-fBLhTHbF.js} +1 -1
- package/dist/{DialogContent-CqTojymQ.js → DialogContent-CGJ7alb8.js} +10 -13
- package/dist/FormControl-BCurCxRj.js +1294 -0
- package/dist/FormControlLabel-BkRfrhNy.js +601 -0
- package/dist/Hierarchy-Bihj0S61.js +925 -0
- package/dist/{IconButton-DJ-31-Fd.js → IconButton-_opV1iNK.js} +18 -19
- package/dist/IconPlus-yPkff_Vj.js +19 -0
- package/dist/{InputAdornment-B7qEA4kN.js → InputAdornment-C7PEvvYr.js} +17 -19
- package/dist/InputLabel-rEwwnD4_.js +354 -0
- package/dist/Legend-Dp_MKfS4.js +178 -0
- package/dist/LineSeries-Uiv5o56b.js +472 -0
- package/dist/{MenuItem-C6qlUyV3.js → MenuItem-DrE50M_p.js} +92 -69
- package/dist/Modal-DlB6GH-f.js +1659 -0
- package/dist/Paper-q9kKjAKx.js +527 -0
- package/dist/PieSeries-B2fW3z0s.js +693 -0
- package/dist/RoundedRectangle-CWLi2PXn.js +34 -0
- package/dist/Scrollbar-D86MJyr2.js +171 -0
- package/dist/Slice-B19rbYDZ.js +261 -0
- package/dist/{Source-BESIjd9X.js → Source-BSZST_GH.js} +2472 -2445
- package/dist/{Text-Cl1H4b0h.js → Text-ChJRuaD8.js} +398 -397
- package/dist/TextField-DSDIEEKu.js +3161 -0
- package/dist/Tick-2bcLyHpF.js +162 -0
- package/dist/{Typography-D1t7XuLN.js → Typography-B-Z5Y0Xq.js} +48 -50
- package/dist/Vector-BmuhQO4p.js +3606 -0
- package/dist/Vector-DfTqQEln.js +1735 -0
- package/dist/WKT-2wsDT-nq.js +2310 -0
- package/dist/XYCursor-C8WktvKM.js +362 -0
- package/dist/ZoomableContainer-DYyqwaMb.js +220 -0
- package/dist/_commonjsHelpers-BVfed4GL.js +28 -0
- package/dist/capitalize-quqpGCFu.js +9 -0
- package/dist/components/access/helpers.js +1 -1
- package/dist/components/access/index.js +8 -15
- package/dist/components/access/logic.js +25 -0
- package/dist/components/card/index.js +158 -498
- package/dist/components/card/logic.js +24 -0
- package/dist/components/card/styled.js +226 -51
- package/dist/components/card-alternate/index.js +111 -139
- package/dist/components/card-alternate/logic.js +17 -0
- package/dist/components/card-alternate/styled.js +113 -19
- package/dist/components/charts/_common/utils.js +20 -0
- package/dist/components/charts/candlestick/logic.js +170 -140
- package/dist/components/charts/chart-wrapper/helpers.js +27 -0
- package/dist/components/charts/chart-wrapper/index.js +44 -0
- package/dist/components/charts/chart-wrapper/logic.js +47 -0
- package/dist/components/charts/chart-wrapper/styled.js +44 -0
- package/dist/components/charts/column-line-mix/index.js +10 -0
- package/dist/components/charts/column-line-mix/logic.js +162 -0
- package/dist/components/charts/column-line-mix/styled.js +12 -0
- package/dist/components/charts/drill-down-treemap/index.js +10 -0
- package/dist/components/charts/drill-down-treemap/logic.js +391 -0
- package/dist/components/charts/drill-down-treemap/styled.js +12 -0
- package/dist/components/charts/drill-down-voronoi-treemap/index.js +10 -0
- package/dist/components/charts/drill-down-voronoi-treemap/logic.js +1527 -0
- package/dist/components/charts/drill-down-voronoi-treemap/styled.js +12 -0
- package/dist/components/charts/heatmap/index.js +10 -0
- package/dist/components/charts/heatmap/logic.js +361 -0
- package/dist/components/charts/heatmap/styled.js +12 -0
- package/dist/components/charts/highlighting-line-data/logic.js +89 -256
- package/dist/components/charts/line/index.js +10 -0
- package/dist/components/charts/line/logic.js +148 -0
- package/dist/components/charts/line/styled.js +12 -0
- package/dist/components/charts/logaritmic-scale/index.js +10 -0
- package/dist/components/charts/logaritmic-scale/logic.js +119 -0
- package/dist/components/charts/logaritmic-scale/styled.js +12 -0
- package/dist/components/charts/multiple-value-axes/index.js +10 -0
- package/dist/components/charts/multiple-value-axes/logic.js +191 -0
- package/dist/components/charts/multiple-value-axes/styled.js +12 -0
- package/dist/components/charts/nested-pie/index.js +10 -0
- package/dist/components/charts/nested-pie/logic.js +110 -0
- package/dist/components/charts/nested-pie/styled.js +12 -0
- package/dist/components/charts/packed-circles/index.js +10 -0
- package/dist/components/charts/packed-circles/logic.js +423 -0
- package/dist/components/charts/packed-circles/styled.js +12 -0
- package/dist/components/charts/pie-chart/index.js +10 -0
- package/dist/components/charts/pie-chart/logic.js +70 -0
- package/dist/components/charts/pie-chart/styled.js +12 -0
- package/dist/components/charts/stacked-area-radar/index.js +10 -0
- package/dist/components/charts/stacked-area-radar/logic.js +868 -0
- package/dist/components/charts/stacked-area-radar/styled.js +12 -0
- package/dist/components/charts/stacked-column-chart/index.js +10 -0
- package/dist/components/charts/stacked-column-chart/logic.js +148 -0
- package/dist/components/charts/stacked-column-chart/styled.js +12 -0
- package/dist/components/charts/xy-chart/index.js +10 -0
- package/dist/components/charts/xy-chart/logic.js +170 -0
- package/dist/components/charts/xy-chart/styled.js +12 -0
- package/dist/components/collapsible-card/index.js +58 -32
- package/dist/components/collapsible-card/logic.js +20 -0
- package/dist/components/collapsible-card/styled.js +52 -0
- package/dist/components/confirm/dialog.js +3 -3
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/container/index.js +28 -269
- package/dist/components/container/logic.js +12 -0
- package/dist/components/container/styled.js +29 -0
- package/dist/components/context-menu/index.js +25 -557
- package/dist/components/context-menu/logic.js +14 -0
- package/dist/components/context-menu/styled.js +40 -0
- package/dist/components/data-map/components/controls/index.js +12 -0
- package/dist/components/data-map/components/controls/styled.js +34 -0
- package/dist/components/data-map/index.js +51 -0
- package/dist/components/data-map/logic.js +108 -0
- package/dist/components/data-map/styled.js +32 -0
- package/dist/components/data-security-selectors/security-level/index.js +36 -91
- package/dist/components/data-security-selectors/security-level/logic.js +73 -0
- package/dist/components/data-security-selectors/security-level/styled.js +47 -0
- package/dist/components/date-picker-with-custom-range/index.js +9 -0
- package/dist/components/date-picker-with-custom-range/logic.js +66 -0
- package/dist/components/date-picker-with-custom-range/styled.js +43 -0
- package/dist/components/divider/index.js +18 -0
- package/dist/components/divider/logic.js +13 -0
- package/dist/components/divider/styled.js +14 -0
- package/dist/components/geometry-picker/coordinate/index.js +1 -1
- package/dist/components/geometry-picker/edit/index.js +1 -1
- package/dist/components/geometry-picker/geometry/index.js +1 -1
- package/dist/components/geometry-picker/index.js +8 -8
- package/dist/components/geometry-picker/kml/index.js +1 -1
- package/dist/components/geometry-picker/map/index.js +1 -1
- package/dist/components/geometry-picker/map/logic.js +65 -62
- package/dist/components/geometry-picker/map/style.js +1 -1
- package/dist/components/heat-map/components/controls/index.js +12 -0
- package/dist/components/heat-map/components/controls/styled.js +34 -0
- package/dist/components/heat-map/components/legend/index.js +26 -0
- package/dist/components/heat-map/components/legend/styled.js +14 -0
- package/dist/components/heat-map/index.js +37 -0
- package/dist/components/heat-map/logic.js +1945 -0
- package/dist/components/heat-map/styled.js +32 -0
- package/dist/components/icon-button/index.js +22 -15
- package/dist/components/icon-button/logic.js +15 -0
- package/dist/components/icon-button/styled.js +22 -10
- package/dist/components/instance-form/components/composite-list/index.js +1 -1
- package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +8 -7
- package/dist/components/instance-form/components/variable/index.js +7 -9
- package/dist/components/instance-form/components/variables/index.js +1 -1
- package/dist/components/instance-form/index.js +1 -1
- package/dist/components/instance-hierarchy-table/index.js +32 -37
- package/dist/components/instance-hierarchy-table/logic.js +16 -0
- package/dist/components/instance-hierarchy-table/styled.js +53 -12
- package/dist/components/instance-table/index.js +30 -135
- package/dist/components/instance-table/logic.js +122 -0
- package/dist/components/instance-table/styled.js +53 -11
- package/dist/components/instance-variable-list/index.js +34 -29
- package/dist/components/instance-variable-list/styled.js +21 -21
- package/dist/components/instance-variable-list/variable.js +44 -74
- package/dist/components/key-protection/index.js +45 -2
- package/dist/components/key-protection/logic.js +40 -0
- package/dist/components/key-protection/styled.js +45 -0
- package/dist/components/key-protection/utils.js +1 -1
- package/dist/components/linear-indicator/index.js +10 -67
- package/dist/components/linear-indicator/logic.js +47 -0
- package/dist/components/linear-indicator/styled.js +39 -40
- package/dist/components/loading/index.js +15 -9
- package/dist/components/loading/logic.js +15 -0
- package/dist/components/loading/styled.js +26 -19
- package/dist/components/map/helpers/kml.js +1 -1
- package/dist/components/map/helpers/mapbox.js +14 -14
- package/dist/components/map/helpers/ol.js +23 -19
- package/dist/components/map/helpers/wkt.js +26 -1314
- package/dist/components/map/index.js +1 -1
- package/dist/components/map/logic.js +113 -101
- package/dist/components/map/styled.js +39 -31
- package/dist/components/metric-card/MetricChart.js +50 -498
- package/dist/components/metric-card/index.js +94 -115
- package/dist/components/metric-card/logic.js +70 -131
- package/dist/components/object-profile-card/components/avatar/index.js +44 -0
- package/dist/components/object-profile-card/components/avatar/logic.js +19 -0
- package/dist/components/object-profile-card/components/avatar/styled.js +41 -0
- package/dist/components/object-profile-card/index.js +90 -0
- package/dist/components/object-profile-card/logic.js +33 -0
- package/dist/components/object-profile-card/styled.js +48 -0
- package/dist/components/paginated-list/index.js +93 -89
- package/dist/components/paginated-list/logic.js +51 -40
- package/dist/components/paginated-list/styled.js +25 -21
- package/dist/components/phone-input/index.js +18 -22
- package/dist/components/phone-input/logic.js +14 -0
- package/dist/components/phone-input/styled.js +12 -4
- package/dist/components/property-mapping/index.js +2 -2
- package/dist/components/prr-map/components/controls/index.js +12 -0
- package/dist/components/prr-map/components/controls/styled.js +34 -0
- package/dist/components/prr-map/components/legend/index.js +36 -0
- package/dist/components/prr-map/components/legend/styled.js +21 -0
- package/dist/components/prr-map/index.js +38 -0
- package/dist/components/prr-map/logic.js +104 -0
- package/dist/components/prr-map/styled.js +32 -0
- package/dist/components/range-selector/components/composite-list-range/index.js +42 -50
- package/dist/components/range-selector/components/date-range/index.js +148 -7
- package/dist/components/range-selector/components/geometry-range/index.js +11 -17
- package/dist/components/range-selector/components/number-range/index.js +48 -53
- package/dist/components/range-selector/components/string-range/index.js +15 -17
- package/dist/components/range-selector/index.js +63 -57
- package/dist/components/range-selector/logic.js +12 -0
- package/dist/components/range-selector/styled.js +4222 -0
- package/dist/components/raster-grid-map/components/controls/index.js +12 -0
- package/dist/components/raster-grid-map/components/controls/styled.js +34 -0
- package/dist/components/raster-grid-map/components/legend/index.js +14 -0
- package/dist/components/raster-grid-map/components/legend/styled.js +21 -0
- package/dist/components/raster-grid-map/helpers.js +190 -0
- package/dist/components/raster-grid-map/index.js +38 -0
- package/dist/components/raster-grid-map/logic.js +172 -0
- package/dist/components/raster-grid-map/styled.js +32 -0
- package/dist/components/search-input/index.js +62 -140
- package/dist/components/search-input/logic.js +43 -0
- package/dist/components/search-input/styled.js +33 -0
- package/dist/components/simple-pivot-table/index.js +66 -0
- package/dist/components/simple-pivot-table/logic.js +51 -0
- package/dist/components/simple-pivot-table/styled.js +45 -0
- package/dist/components/static-text/index.js +18 -0
- package/dist/components/static-text/logic.js +13 -0
- package/dist/components/static-text/styled.js +45 -0
- package/dist/components/tabs/index.js +56 -2160
- package/dist/components/tabs/logic.js +36 -0
- package/dist/components/tabs/styled.js +94 -16
- package/dist/components/tabs/tab-panel.js +11 -10
- package/dist/components/template-filters/components/filter/index.js +13 -18
- package/dist/components/template-filters/components/tab-panel/index.js +8 -16
- package/dist/components/template-filters/index.js +21 -29
- package/dist/components/template-filters/logic.js +18 -0
- package/dist/components/template-filters/styled.js +44 -1
- package/dist/components/template-form/components/property-list/index.js +8 -8
- package/dist/components/template-form/components/property-list/property-list-columns.js +3 -3
- package/dist/components/template-form/components/property-list/property-list-form.js +8 -10
- package/dist/components/template-form/components/recognition-property-list/index.js +6 -6
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +2 -2
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +8 -9
- package/dist/components/template-form/index.js +32 -33
- package/dist/components/template-property-filters/index.js +45 -95
- package/dist/components/template-property-filters/logic.js +27 -0
- package/dist/components/template-property-filters/property.js +105 -165
- package/dist/components/template-property-filters/styled.js +121 -20
- package/dist/components/timeline/index.js +61 -0
- package/dist/components/timeline/logic.js +40 -0
- package/dist/components/timeline/styled.js +48 -0
- package/dist/components/tree-select/index.js +52 -67
- package/dist/components/tree-select/logic.js +59 -0
- package/dist/components/tree-select/styled.js +45 -62
- package/dist/components/treeview-filter/index.js +43 -65
- package/dist/components/treeview-filter/item/index.js +43 -42
- package/dist/components/treeview-filter/item-label/index.js +17 -37
- package/dist/components/treeview-filter/logic.js +28 -0
- package/dist/components/treeview-filter/styled.js +86 -0
- package/dist/components/uploader/index.js +532 -567
- package/dist/components/uploader/logic.js +74 -0
- package/dist/components/uploader/styled.js +93 -46
- package/dist/constant-BiOGvlZc.js +21 -0
- package/dist/createReactComponent-C7L-DMHj.js +60 -0
- package/dist/{createSvgIcon-DLPYMuH1.js → createSvgIcon-BM3-TsGy.js} +33 -36
- package/dist/{createSvgIcon-OuwzpcaC.js → createSvgIcon-DX-SqL8M.js} +24 -26
- package/dist/{dialog-BE4D6swf.js → dialog-cf4HUXXl.js} +27 -28
- package/dist/{helpers-DaCoWmi2.js → helpers-B4UL9NMD.js} +3 -3
- package/dist/index-BMS1Otro.js +183 -0
- package/dist/index-C8C3YXle.js +1932 -0
- package/dist/index-C__OZmYy.js +663 -0
- package/dist/{index-CGNxsLVm.js → index-DPKUmQnz.js} +11 -13
- package/dist/{index-JrtqxUdI.js → index-kCJ_Zvl8.js} +5 -5
- package/dist/index.es-CHNMhaMi.js +2067 -0
- package/dist/index.esm-BLLrbTzY.js +318 -0
- package/dist/isMuiElement-BkJ72LB3.js +26 -0
- package/dist/main.d.ts +1869 -565
- package/dist/main.js +141 -443
- package/dist/{has-DNclCIDV.js → math-Bvt2Ubuz.js} +220 -222
- package/dist/ol-yOE-NV0X.js +7465 -0
- package/dist/path-CNVruS--.js +84 -0
- package/dist/{property-list-form-C5hcK2y2.js → property-list-form-DL_dEoNn.js} +57 -62
- package/dist/{createTheme-CNnKNxwL.js → styled-Bsjp3kFh.js} +275 -278
- package/dist/useId-B4-oF9Mq.js +34 -0
- package/dist/useMobilePicker-B-M3dnTn.js +7993 -0
- package/dist/{utils-Bq0ye5vf.js → utils-Cxu-fHjQ.js} +7 -7
- package/package.json +11 -2
- package/dist/AxisRendererY-kADUad00.js +0 -18370
- package/dist/Box-B1AVyJ_s.js +0 -71
- package/dist/Button-eqWvpDuh.js +0 -356
- package/dist/CardContent-DsYqqPeJ.js +0 -74
- package/dist/Checkbox-CrU2hpWB.js +0 -420
- package/dist/DateAxis-CMum47iz.js +0 -924
- package/dist/FormControlLabel-BrdX4R71.js +0 -195
- package/dist/Input-CoIrGZAh.js +0 -326
- package/dist/InputLabel-CBuAYyuT.js +0 -1367
- package/dist/LineSeries-CfcpoYla.js +0 -549
- package/dist/List-DOD5kSk3.js +0 -121
- package/dist/ListItem-r8PbsvCz.js +0 -429
- package/dist/Modal-CkcFEpHa.js +0 -1284
- package/dist/OutlinedInput-B-iZoc9l.js +0 -450
- package/dist/Paper-CjqLScHA.js +0 -163
- package/dist/Select-t3ewnSdf.js +0 -2180
- package/dist/Tabs-Cn42Z5QI.js +0 -789
- package/dist/TextField-BQ8a50fA.js +0 -459
- package/dist/components/collapsible-card/style.js +0 -49
- package/dist/components/key-protection/menu.js +0 -85
- package/dist/components/profile-card/index.js +0 -80
- package/dist/components/profile-card/logic.js +0 -33
- package/dist/components/profile-card/styled.js +0 -43
- package/dist/components/tabs/appleTabs.style.js +0 -55
- package/dist/components/treeview-filter/item/styled.js +0 -39
- package/dist/createStyled-BGx1I94c.js +0 -352
- package/dist/createTheme-CyC5HawC.js +0 -879
- package/dist/debounce-46wSf_lW.js +0 -15
- package/dist/exactProp-cjT0t_Pt.js +0 -36
- package/dist/extendSxProp-FEpqY5_S.js +0 -30
- package/dist/index-DMSHuq6l.js +0 -688
- package/dist/index-SpeaLUQD.js +0 -10963
- package/dist/isHostComponent-kiaBvYVo.js +0 -6
- package/dist/isMuiElement-CxT3_ACP.js +0 -13
- package/dist/listItemTextClasses-CNjn41Of.js +0 -16
- package/dist/ol-lGwSyEIV.js +0 -15050
- package/dist/ownerDocument-CUrv0DIK.js +0 -6
- package/dist/ownerWindow-niciwP7I.js +0 -7
- package/dist/styled-B8ugzvji.js +0 -12
- package/dist/useFormControl-CatNKXAi.js +0 -10
- package/dist/useId-BHG98T5I.js +0 -26
- package/dist/useTheme-C15Eq8KG.js +0 -18
- package/dist/useTheme-D-uii9iX.js +0 -10
- package/dist/useThemeProps-DRP1dikX.js +0 -95
- package/dist/utils-CsOZUsQj.js +0 -365
|
@@ -0,0 +1,527 @@
|
|
|
1
|
+
import { _ as S, a as T } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
|
|
2
|
+
import { _, T as P, c as $ } from "./ButtonBase-sObABYY2.js";
|
|
3
|
+
import { P as i } from "./index-C__OZmYy.js";
|
|
4
|
+
import * as k from "react";
|
|
5
|
+
import b from "react";
|
|
6
|
+
import g from "react-dom";
|
|
7
|
+
import { e as q, g as w, b as U, s as V, u as L, c as j, a as F } from "./styled-Bsjp3kFh.js";
|
|
8
|
+
import { useTheme as G, alpha as D } from "@mui/system";
|
|
9
|
+
import { jsx as A } from "react/jsx-runtime";
|
|
10
|
+
function X(t) {
|
|
11
|
+
const o = typeof t;
|
|
12
|
+
switch (o) {
|
|
13
|
+
case "number":
|
|
14
|
+
return Number.isNaN(t) ? "NaN" : Number.isFinite(t) ? t !== Math.floor(t) ? "float" : "number" : "Infinity";
|
|
15
|
+
case "object":
|
|
16
|
+
return t === null ? "null" : t.constructor.name;
|
|
17
|
+
default:
|
|
18
|
+
return o;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
function W(t) {
|
|
22
|
+
return typeof t == "number" && isFinite(t) && Math.floor(t) === t;
|
|
23
|
+
}
|
|
24
|
+
const B = Number.isInteger || W;
|
|
25
|
+
function I(t, o, a, s) {
|
|
26
|
+
const n = t[o];
|
|
27
|
+
if (n == null || !B(n)) {
|
|
28
|
+
const e = X(n);
|
|
29
|
+
return new RangeError(`Invalid ${s} \`${o}\` of type \`${e}\` supplied to \`${a}\`, expected \`integer\`.`);
|
|
30
|
+
}
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
function M(t, o, ...a) {
|
|
34
|
+
return t[o] === void 0 ? null : I(t, o, ...a);
|
|
35
|
+
}
|
|
36
|
+
function N() {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
M.isRequired = I;
|
|
40
|
+
N.isRequired = N;
|
|
41
|
+
const H = process.env.NODE_ENV === "production" ? N : M, R = {
|
|
42
|
+
disabled: !1
|
|
43
|
+
};
|
|
44
|
+
var z = process.env.NODE_ENV !== "production" ? i.oneOfType([i.number, i.shape({
|
|
45
|
+
enter: i.number,
|
|
46
|
+
exit: i.number,
|
|
47
|
+
appear: i.number
|
|
48
|
+
}).isRequired]) : null, pe = process.env.NODE_ENV !== "production" ? i.oneOfType([i.string, i.shape({
|
|
49
|
+
enter: i.string,
|
|
50
|
+
exit: i.string,
|
|
51
|
+
active: i.string
|
|
52
|
+
}), i.shape({
|
|
53
|
+
enter: i.string,
|
|
54
|
+
enterDone: i.string,
|
|
55
|
+
enterActive: i.string,
|
|
56
|
+
exit: i.string,
|
|
57
|
+
exitDone: i.string,
|
|
58
|
+
exitActive: i.string
|
|
59
|
+
})]) : null, J = function(o) {
|
|
60
|
+
return o.scrollTop;
|
|
61
|
+
}, E = "unmounted", d = "exited", v = "entering", h = "entered", y = "exiting", f = /* @__PURE__ */ function(t) {
|
|
62
|
+
_(o, t);
|
|
63
|
+
function o(s, n) {
|
|
64
|
+
var e;
|
|
65
|
+
e = t.call(this, s, n) || this;
|
|
66
|
+
var r = n, u = r && !r.isMounting ? s.enter : s.appear, l;
|
|
67
|
+
return e.appearStatus = null, s.in ? u ? (l = d, e.appearStatus = v) : l = h : s.unmountOnExit || s.mountOnEnter ? l = E : l = d, e.state = {
|
|
68
|
+
status: l
|
|
69
|
+
}, e.nextCallback = null, e;
|
|
70
|
+
}
|
|
71
|
+
o.getDerivedStateFromProps = function(n, e) {
|
|
72
|
+
var r = n.in;
|
|
73
|
+
return r && e.status === E ? {
|
|
74
|
+
status: d
|
|
75
|
+
} : null;
|
|
76
|
+
};
|
|
77
|
+
var a = o.prototype;
|
|
78
|
+
return a.componentDidMount = function() {
|
|
79
|
+
this.updateStatus(!0, this.appearStatus);
|
|
80
|
+
}, a.componentDidUpdate = function(n) {
|
|
81
|
+
var e = null;
|
|
82
|
+
if (n !== this.props) {
|
|
83
|
+
var r = this.state.status;
|
|
84
|
+
this.props.in ? r !== v && r !== h && (e = v) : (r === v || r === h) && (e = y);
|
|
85
|
+
}
|
|
86
|
+
this.updateStatus(!1, e);
|
|
87
|
+
}, a.componentWillUnmount = function() {
|
|
88
|
+
this.cancelNextCallback();
|
|
89
|
+
}, a.getTimeouts = function() {
|
|
90
|
+
var n = this.props.timeout, e, r, u;
|
|
91
|
+
return e = r = u = n, n != null && typeof n != "number" && (e = n.exit, r = n.enter, u = n.appear !== void 0 ? n.appear : r), {
|
|
92
|
+
exit: e,
|
|
93
|
+
enter: r,
|
|
94
|
+
appear: u
|
|
95
|
+
};
|
|
96
|
+
}, a.updateStatus = function(n, e) {
|
|
97
|
+
if (n === void 0 && (n = !1), e !== null)
|
|
98
|
+
if (this.cancelNextCallback(), e === v) {
|
|
99
|
+
if (this.props.unmountOnExit || this.props.mountOnEnter) {
|
|
100
|
+
var r = this.props.nodeRef ? this.props.nodeRef.current : g.findDOMNode(this);
|
|
101
|
+
r && J(r);
|
|
102
|
+
}
|
|
103
|
+
this.performEnter(n);
|
|
104
|
+
} else
|
|
105
|
+
this.performExit();
|
|
106
|
+
else this.props.unmountOnExit && this.state.status === d && this.setState({
|
|
107
|
+
status: E
|
|
108
|
+
});
|
|
109
|
+
}, a.performEnter = function(n) {
|
|
110
|
+
var e = this, r = this.props.enter, u = this.context ? this.context.isMounting : n, l = this.props.nodeRef ? [u] : [g.findDOMNode(this), u], p = l[0], c = l[1], x = this.getTimeouts(), O = u ? x.appear : x.enter;
|
|
111
|
+
if (!n && !r || R.disabled) {
|
|
112
|
+
this.safeSetState({
|
|
113
|
+
status: h
|
|
114
|
+
}, function() {
|
|
115
|
+
e.props.onEntered(p);
|
|
116
|
+
});
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
this.props.onEnter(p, c), this.safeSetState({
|
|
120
|
+
status: v
|
|
121
|
+
}, function() {
|
|
122
|
+
e.props.onEntering(p, c), e.onTransitionEnd(O, function() {
|
|
123
|
+
e.safeSetState({
|
|
124
|
+
status: h
|
|
125
|
+
}, function() {
|
|
126
|
+
e.props.onEntered(p, c);
|
|
127
|
+
});
|
|
128
|
+
});
|
|
129
|
+
});
|
|
130
|
+
}, a.performExit = function() {
|
|
131
|
+
var n = this, e = this.props.exit, r = this.getTimeouts(), u = this.props.nodeRef ? void 0 : g.findDOMNode(this);
|
|
132
|
+
if (!e || R.disabled) {
|
|
133
|
+
this.safeSetState({
|
|
134
|
+
status: d
|
|
135
|
+
}, function() {
|
|
136
|
+
n.props.onExited(u);
|
|
137
|
+
});
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
this.props.onExit(u), this.safeSetState({
|
|
141
|
+
status: y
|
|
142
|
+
}, function() {
|
|
143
|
+
n.props.onExiting(u), n.onTransitionEnd(r.exit, function() {
|
|
144
|
+
n.safeSetState({
|
|
145
|
+
status: d
|
|
146
|
+
}, function() {
|
|
147
|
+
n.props.onExited(u);
|
|
148
|
+
});
|
|
149
|
+
});
|
|
150
|
+
});
|
|
151
|
+
}, a.cancelNextCallback = function() {
|
|
152
|
+
this.nextCallback !== null && (this.nextCallback.cancel(), this.nextCallback = null);
|
|
153
|
+
}, a.safeSetState = function(n, e) {
|
|
154
|
+
e = this.setNextCallback(e), this.setState(n, e);
|
|
155
|
+
}, a.setNextCallback = function(n) {
|
|
156
|
+
var e = this, r = !0;
|
|
157
|
+
return this.nextCallback = function(u) {
|
|
158
|
+
r && (r = !1, e.nextCallback = null, n(u));
|
|
159
|
+
}, this.nextCallback.cancel = function() {
|
|
160
|
+
r = !1;
|
|
161
|
+
}, this.nextCallback;
|
|
162
|
+
}, a.onTransitionEnd = function(n, e) {
|
|
163
|
+
this.setNextCallback(e);
|
|
164
|
+
var r = this.props.nodeRef ? this.props.nodeRef.current : g.findDOMNode(this), u = n == null && !this.props.addEndListener;
|
|
165
|
+
if (!r || u) {
|
|
166
|
+
setTimeout(this.nextCallback, 0);
|
|
167
|
+
return;
|
|
168
|
+
}
|
|
169
|
+
if (this.props.addEndListener) {
|
|
170
|
+
var l = this.props.nodeRef ? [this.nextCallback] : [r, this.nextCallback], p = l[0], c = l[1];
|
|
171
|
+
this.props.addEndListener(p, c);
|
|
172
|
+
}
|
|
173
|
+
n != null && setTimeout(this.nextCallback, n);
|
|
174
|
+
}, a.render = function() {
|
|
175
|
+
var n = this.state.status;
|
|
176
|
+
if (n === E)
|
|
177
|
+
return null;
|
|
178
|
+
var e = this.props, r = e.children;
|
|
179
|
+
e.in, e.mountOnEnter, e.unmountOnExit, e.appear, e.enter, e.exit, e.timeout, e.addEndListener, e.onEnter, e.onEntering, e.onEntered, e.onExit, e.onExiting, e.onExited, e.nodeRef;
|
|
180
|
+
var u = S(e, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
181
|
+
return (
|
|
182
|
+
// allows for nested Transitions
|
|
183
|
+
/* @__PURE__ */ b.createElement(P.Provider, {
|
|
184
|
+
value: null
|
|
185
|
+
}, typeof r == "function" ? r(n, u) : b.cloneElement(b.Children.only(r), u))
|
|
186
|
+
);
|
|
187
|
+
}, o;
|
|
188
|
+
}(b.Component);
|
|
189
|
+
f.contextType = P;
|
|
190
|
+
f.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
191
|
+
/**
|
|
192
|
+
* A React reference to DOM element that need to transition:
|
|
193
|
+
* https://stackoverflow.com/a/51127130/4671932
|
|
194
|
+
*
|
|
195
|
+
* - When `nodeRef` prop is used, `node` is not passed to callback functions
|
|
196
|
+
* (e.g. `onEnter`) because user already has direct access to the node.
|
|
197
|
+
* - When changing `key` prop of `Transition` in a `TransitionGroup` a new
|
|
198
|
+
* `nodeRef` need to be provided to `Transition` with changed `key` prop
|
|
199
|
+
* (see
|
|
200
|
+
* [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
|
|
201
|
+
*/
|
|
202
|
+
nodeRef: i.shape({
|
|
203
|
+
current: typeof Element > "u" ? i.any : function(t, o, a, s, n, e) {
|
|
204
|
+
var r = t[o];
|
|
205
|
+
return i.instanceOf(r && "ownerDocument" in r ? r.ownerDocument.defaultView.Element : Element)(t, o, a, s, n, e);
|
|
206
|
+
}
|
|
207
|
+
}),
|
|
208
|
+
/**
|
|
209
|
+
* A `function` child can be used instead of a React element. This function is
|
|
210
|
+
* called with the current transition status (`'entering'`, `'entered'`,
|
|
211
|
+
* `'exiting'`, `'exited'`), which can be used to apply context
|
|
212
|
+
* specific props to a component.
|
|
213
|
+
*
|
|
214
|
+
* ```jsx
|
|
215
|
+
* <Transition in={this.state.in} timeout={150}>
|
|
216
|
+
* {state => (
|
|
217
|
+
* <MyComponent className={`fade fade-${state}`} />
|
|
218
|
+
* )}
|
|
219
|
+
* </Transition>
|
|
220
|
+
* ```
|
|
221
|
+
*/
|
|
222
|
+
children: i.oneOfType([i.func.isRequired, i.element.isRequired]).isRequired,
|
|
223
|
+
/**
|
|
224
|
+
* Show the component; triggers the enter or exit states
|
|
225
|
+
*/
|
|
226
|
+
in: i.bool,
|
|
227
|
+
/**
|
|
228
|
+
* By default the child component is mounted immediately along with
|
|
229
|
+
* the parent `Transition` component. If you want to "lazy mount" the component on the
|
|
230
|
+
* first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
|
|
231
|
+
* mounted, even on "exited", unless you also specify `unmountOnExit`.
|
|
232
|
+
*/
|
|
233
|
+
mountOnEnter: i.bool,
|
|
234
|
+
/**
|
|
235
|
+
* By default the child component stays mounted after it reaches the `'exited'` state.
|
|
236
|
+
* Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
|
|
237
|
+
*/
|
|
238
|
+
unmountOnExit: i.bool,
|
|
239
|
+
/**
|
|
240
|
+
* By default the child component does not perform the enter transition when
|
|
241
|
+
* it first mounts, regardless of the value of `in`. If you want this
|
|
242
|
+
* behavior, set both `appear` and `in` to `true`.
|
|
243
|
+
*
|
|
244
|
+
* > **Note**: there are no special appear states like `appearing`/`appeared`, this prop
|
|
245
|
+
* > only adds an additional enter transition. However, in the
|
|
246
|
+
* > `<CSSTransition>` component that first enter transition does result in
|
|
247
|
+
* > additional `.appear-*` classes, that way you can choose to style it
|
|
248
|
+
* > differently.
|
|
249
|
+
*/
|
|
250
|
+
appear: i.bool,
|
|
251
|
+
/**
|
|
252
|
+
* Enable or disable enter transitions.
|
|
253
|
+
*/
|
|
254
|
+
enter: i.bool,
|
|
255
|
+
/**
|
|
256
|
+
* Enable or disable exit transitions.
|
|
257
|
+
*/
|
|
258
|
+
exit: i.bool,
|
|
259
|
+
/**
|
|
260
|
+
* The duration of the transition, in milliseconds.
|
|
261
|
+
* Required unless `addEndListener` is provided.
|
|
262
|
+
*
|
|
263
|
+
* You may specify a single timeout for all transitions:
|
|
264
|
+
*
|
|
265
|
+
* ```jsx
|
|
266
|
+
* timeout={500}
|
|
267
|
+
* ```
|
|
268
|
+
*
|
|
269
|
+
* or individually:
|
|
270
|
+
*
|
|
271
|
+
* ```jsx
|
|
272
|
+
* timeout={{
|
|
273
|
+
* appear: 500,
|
|
274
|
+
* enter: 300,
|
|
275
|
+
* exit: 500,
|
|
276
|
+
* }}
|
|
277
|
+
* ```
|
|
278
|
+
*
|
|
279
|
+
* - `appear` defaults to the value of `enter`
|
|
280
|
+
* - `enter` defaults to `0`
|
|
281
|
+
* - `exit` defaults to `0`
|
|
282
|
+
*
|
|
283
|
+
* @type {number | { enter?: number, exit?: number, appear?: number }}
|
|
284
|
+
*/
|
|
285
|
+
timeout: function(o) {
|
|
286
|
+
var a = z;
|
|
287
|
+
o.addEndListener || (a = a.isRequired);
|
|
288
|
+
for (var s = arguments.length, n = new Array(s > 1 ? s - 1 : 0), e = 1; e < s; e++)
|
|
289
|
+
n[e - 1] = arguments[e];
|
|
290
|
+
return a.apply(void 0, [o].concat(n));
|
|
291
|
+
},
|
|
292
|
+
/**
|
|
293
|
+
* Add a custom transition end trigger. Called with the transitioning
|
|
294
|
+
* DOM node and a `done` callback. Allows for more fine grained transition end
|
|
295
|
+
* logic. Timeouts are still used as a fallback if provided.
|
|
296
|
+
*
|
|
297
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
298
|
+
*
|
|
299
|
+
* ```jsx
|
|
300
|
+
* addEndListener={(node, done) => {
|
|
301
|
+
* // use the css transitionend event to mark the finish of a transition
|
|
302
|
+
* node.addEventListener('transitionend', done, false);
|
|
303
|
+
* }}
|
|
304
|
+
* ```
|
|
305
|
+
*/
|
|
306
|
+
addEndListener: i.func,
|
|
307
|
+
/**
|
|
308
|
+
* Callback fired before the "entering" status is applied. An extra parameter
|
|
309
|
+
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
310
|
+
*
|
|
311
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
312
|
+
*
|
|
313
|
+
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
314
|
+
*/
|
|
315
|
+
onEnter: i.func,
|
|
316
|
+
/**
|
|
317
|
+
* Callback fired after the "entering" status is applied. An extra parameter
|
|
318
|
+
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
319
|
+
*
|
|
320
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
321
|
+
*
|
|
322
|
+
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
323
|
+
*/
|
|
324
|
+
onEntering: i.func,
|
|
325
|
+
/**
|
|
326
|
+
* Callback fired after the "entered" status is applied. An extra parameter
|
|
327
|
+
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
328
|
+
*
|
|
329
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
330
|
+
*
|
|
331
|
+
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
332
|
+
*/
|
|
333
|
+
onEntered: i.func,
|
|
334
|
+
/**
|
|
335
|
+
* Callback fired before the "exiting" status is applied.
|
|
336
|
+
*
|
|
337
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
338
|
+
*
|
|
339
|
+
* @type Function(node: HtmlElement) -> void
|
|
340
|
+
*/
|
|
341
|
+
onExit: i.func,
|
|
342
|
+
/**
|
|
343
|
+
* Callback fired after the "exiting" status is applied.
|
|
344
|
+
*
|
|
345
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
346
|
+
*
|
|
347
|
+
* @type Function(node: HtmlElement) -> void
|
|
348
|
+
*/
|
|
349
|
+
onExiting: i.func,
|
|
350
|
+
/**
|
|
351
|
+
* Callback fired after the "exited" status is applied.
|
|
352
|
+
*
|
|
353
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed
|
|
354
|
+
*
|
|
355
|
+
* @type Function(node: HtmlElement) -> void
|
|
356
|
+
*/
|
|
357
|
+
onExited: i.func
|
|
358
|
+
} : {};
|
|
359
|
+
function m() {
|
|
360
|
+
}
|
|
361
|
+
f.defaultProps = {
|
|
362
|
+
in: !1,
|
|
363
|
+
mountOnEnter: !1,
|
|
364
|
+
unmountOnExit: !1,
|
|
365
|
+
appear: !1,
|
|
366
|
+
enter: !0,
|
|
367
|
+
exit: !0,
|
|
368
|
+
onEnter: m,
|
|
369
|
+
onEntering: m,
|
|
370
|
+
onEntered: m,
|
|
371
|
+
onExit: m,
|
|
372
|
+
onExiting: m,
|
|
373
|
+
onExited: m
|
|
374
|
+
};
|
|
375
|
+
f.UNMOUNTED = E;
|
|
376
|
+
f.EXITED = d;
|
|
377
|
+
f.ENTERING = v;
|
|
378
|
+
f.ENTERED = h;
|
|
379
|
+
f.EXITING = y;
|
|
380
|
+
const ce = (t) => t.scrollTop;
|
|
381
|
+
function fe(t, o) {
|
|
382
|
+
var a, s;
|
|
383
|
+
const {
|
|
384
|
+
timeout: n,
|
|
385
|
+
easing: e,
|
|
386
|
+
style: r = {}
|
|
387
|
+
} = t;
|
|
388
|
+
return {
|
|
389
|
+
duration: (a = r.transitionDuration) != null ? a : typeof n == "number" ? n : n[o.mode] || 0,
|
|
390
|
+
easing: (s = r.transitionTimingFunction) != null ? s : typeof e == "object" ? e[o.mode] : e,
|
|
391
|
+
delay: r.transitionDelay
|
|
392
|
+
};
|
|
393
|
+
}
|
|
394
|
+
function K() {
|
|
395
|
+
const t = G(q);
|
|
396
|
+
return process.env.NODE_ENV !== "production" && k.useDebugValue(t), t;
|
|
397
|
+
}
|
|
398
|
+
const C = (t) => {
|
|
399
|
+
let o;
|
|
400
|
+
return t < 1 ? o = 5.11916 * t ** 2 : o = 4.5 * Math.log(t + 1) + 2, (o / 100).toFixed(2);
|
|
401
|
+
};
|
|
402
|
+
function Q(t) {
|
|
403
|
+
return U("MuiPaper", t);
|
|
404
|
+
}
|
|
405
|
+
w("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevation0", "elevation1", "elevation2", "elevation3", "elevation4", "elevation5", "elevation6", "elevation7", "elevation8", "elevation9", "elevation10", "elevation11", "elevation12", "elevation13", "elevation14", "elevation15", "elevation16", "elevation17", "elevation18", "elevation19", "elevation20", "elevation21", "elevation22", "elevation23", "elevation24"]);
|
|
406
|
+
const Y = ["className", "component", "elevation", "square", "variant"], Z = (t) => {
|
|
407
|
+
const {
|
|
408
|
+
square: o,
|
|
409
|
+
elevation: a,
|
|
410
|
+
variant: s,
|
|
411
|
+
classes: n
|
|
412
|
+
} = t, e = {
|
|
413
|
+
root: ["root", s, !o && "rounded", s === "elevation" && `elevation${a}`]
|
|
414
|
+
};
|
|
415
|
+
return F(e, Q, n);
|
|
416
|
+
}, ee = V("div", {
|
|
417
|
+
name: "MuiPaper",
|
|
418
|
+
slot: "Root",
|
|
419
|
+
overridesResolver: (t, o) => {
|
|
420
|
+
const {
|
|
421
|
+
ownerState: a
|
|
422
|
+
} = t;
|
|
423
|
+
return [o.root, o[a.variant], !a.square && o.rounded, a.variant === "elevation" && o[`elevation${a.elevation}`]];
|
|
424
|
+
}
|
|
425
|
+
})(({
|
|
426
|
+
theme: t,
|
|
427
|
+
ownerState: o
|
|
428
|
+
}) => {
|
|
429
|
+
var a;
|
|
430
|
+
return T({
|
|
431
|
+
backgroundColor: (t.vars || t).palette.background.paper,
|
|
432
|
+
color: (t.vars || t).palette.text.primary,
|
|
433
|
+
transition: t.transitions.create("box-shadow")
|
|
434
|
+
}, !o.square && {
|
|
435
|
+
borderRadius: t.shape.borderRadius
|
|
436
|
+
}, o.variant === "outlined" && {
|
|
437
|
+
border: `1px solid ${(t.vars || t).palette.divider}`
|
|
438
|
+
}, o.variant === "elevation" && T({
|
|
439
|
+
boxShadow: (t.vars || t).shadows[o.elevation]
|
|
440
|
+
}, !t.vars && t.palette.mode === "dark" && {
|
|
441
|
+
backgroundImage: `linear-gradient(${D("#fff", C(o.elevation))}, ${D("#fff", C(o.elevation))})`
|
|
442
|
+
}, t.vars && {
|
|
443
|
+
backgroundImage: (a = t.vars.overlays) == null ? void 0 : a[o.elevation]
|
|
444
|
+
}));
|
|
445
|
+
}), te = /* @__PURE__ */ k.forwardRef(function(o, a) {
|
|
446
|
+
const s = L({
|
|
447
|
+
props: o,
|
|
448
|
+
name: "MuiPaper"
|
|
449
|
+
}), {
|
|
450
|
+
className: n,
|
|
451
|
+
component: e = "div",
|
|
452
|
+
elevation: r = 1,
|
|
453
|
+
square: u = !1,
|
|
454
|
+
variant: l = "elevation"
|
|
455
|
+
} = s, p = S(s, Y), c = T({}, s, {
|
|
456
|
+
component: e,
|
|
457
|
+
elevation: r,
|
|
458
|
+
square: u,
|
|
459
|
+
variant: l
|
|
460
|
+
}), x = Z(c);
|
|
461
|
+
return process.env.NODE_ENV !== "production" && K().shadows[r] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${r}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${r}]\` is defined.`].join(`
|
|
462
|
+
`)), /* @__PURE__ */ A(ee, T({
|
|
463
|
+
as: e,
|
|
464
|
+
ownerState: c,
|
|
465
|
+
className: j(x.root, n),
|
|
466
|
+
ref: a
|
|
467
|
+
}, p));
|
|
468
|
+
});
|
|
469
|
+
process.env.NODE_ENV !== "production" && (te.propTypes = {
|
|
470
|
+
// ----------------------------- Warning --------------------------------
|
|
471
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
472
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
473
|
+
// ----------------------------------------------------------------------
|
|
474
|
+
/**
|
|
475
|
+
* The content of the component.
|
|
476
|
+
*/
|
|
477
|
+
children: i.node,
|
|
478
|
+
/**
|
|
479
|
+
* Override or extend the styles applied to the component.
|
|
480
|
+
*/
|
|
481
|
+
classes: i.object,
|
|
482
|
+
/**
|
|
483
|
+
* @ignore
|
|
484
|
+
*/
|
|
485
|
+
className: i.string,
|
|
486
|
+
/**
|
|
487
|
+
* The component used for the root node.
|
|
488
|
+
* Either a string to use a HTML element or a component.
|
|
489
|
+
*/
|
|
490
|
+
component: i.elementType,
|
|
491
|
+
/**
|
|
492
|
+
* Shadow depth, corresponds to `dp` in the spec.
|
|
493
|
+
* It accepts values between 0 and 24 inclusive.
|
|
494
|
+
* @default 1
|
|
495
|
+
*/
|
|
496
|
+
elevation: $(H, (t) => {
|
|
497
|
+
const {
|
|
498
|
+
elevation: o,
|
|
499
|
+
variant: a
|
|
500
|
+
} = t;
|
|
501
|
+
return o > 0 && a === "outlined" ? new Error(`MUI: Combining \`elevation={${o}}\` with \`variant="${a}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`) : null;
|
|
502
|
+
}),
|
|
503
|
+
/**
|
|
504
|
+
* If `true`, rounded corners are disabled.
|
|
505
|
+
* @default false
|
|
506
|
+
*/
|
|
507
|
+
square: i.bool,
|
|
508
|
+
/**
|
|
509
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
510
|
+
*/
|
|
511
|
+
sx: i.oneOfType([i.arrayOf(i.oneOfType([i.func, i.object, i.bool])), i.func, i.object]),
|
|
512
|
+
/**
|
|
513
|
+
* The variant to use.
|
|
514
|
+
* @default 'elevation'
|
|
515
|
+
*/
|
|
516
|
+
variant: i.oneOfType([i.oneOf(["elevation", "outlined"]), i.string])
|
|
517
|
+
});
|
|
518
|
+
export {
|
|
519
|
+
te as P,
|
|
520
|
+
f as T,
|
|
521
|
+
pe as c,
|
|
522
|
+
J as f,
|
|
523
|
+
fe as g,
|
|
524
|
+
H as i,
|
|
525
|
+
ce as r,
|
|
526
|
+
K as u
|
|
527
|
+
};
|