@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,420 +0,0 @@
|
|
|
1
|
-
import { a as r, _ } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
|
|
2
|
-
import * as x from "react";
|
|
3
|
-
import { P as e } from "./index-DMSHuq6l.js";
|
|
4
|
-
import { g as q, c as E, a as M, u as Y } from "./useThemeProps-DRP1dikX.js";
|
|
5
|
-
import { s as z, r as Z } from "./styled-B8ugzvji.js";
|
|
6
|
-
import { u as ee } from "./useFormControl-CatNKXAi.js";
|
|
7
|
-
import { g as U, a as oe } from "./createTheme-CNnKNxwL.js";
|
|
8
|
-
import { jsxs as ne, jsx as l } from "react/jsx-runtime";
|
|
9
|
-
import { B as te, r as V } from "./ButtonBase-DsX-jMQJ.js";
|
|
10
|
-
import { u as ce } from "./useControlled-BYdyS7Pn.js";
|
|
11
|
-
import { c as S } from "./createTheme-CyC5HawC.js";
|
|
12
|
-
import { c as w } from "./createSvgIcon-OuwzpcaC.js";
|
|
13
|
-
function se(o) {
|
|
14
|
-
return U("PrivateSwitchBase", o);
|
|
15
|
-
}
|
|
16
|
-
q("PrivateSwitchBase", ["root", "checked", "disabled", "input", "edgeStart", "edgeEnd"]);
|
|
17
|
-
const ae = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked", "disabled", "disableFocusRipple", "edge", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"], re = (o) => {
|
|
18
|
-
const {
|
|
19
|
-
classes: n,
|
|
20
|
-
checked: t,
|
|
21
|
-
disabled: i,
|
|
22
|
-
edge: c
|
|
23
|
-
} = o, s = {
|
|
24
|
-
root: ["root", t && "checked", i && "disabled", c && `edge${S(c)}`],
|
|
25
|
-
input: ["input"]
|
|
26
|
-
};
|
|
27
|
-
return M(s, se, n);
|
|
28
|
-
}, ie = z(te)(({
|
|
29
|
-
ownerState: o
|
|
30
|
-
}) => r({
|
|
31
|
-
padding: 9,
|
|
32
|
-
borderRadius: "50%"
|
|
33
|
-
}, o.edge === "start" && {
|
|
34
|
-
marginLeft: o.size === "small" ? -3 : -12
|
|
35
|
-
}, o.edge === "end" && {
|
|
36
|
-
marginRight: o.size === "small" ? -3 : -12
|
|
37
|
-
})), de = z("input")({
|
|
38
|
-
cursor: "inherit",
|
|
39
|
-
position: "absolute",
|
|
40
|
-
opacity: 0,
|
|
41
|
-
width: "100%",
|
|
42
|
-
height: "100%",
|
|
43
|
-
top: 0,
|
|
44
|
-
left: 0,
|
|
45
|
-
margin: 0,
|
|
46
|
-
padding: 0,
|
|
47
|
-
zIndex: 1
|
|
48
|
-
}), H = /* @__PURE__ */ x.forwardRef(function(n, t) {
|
|
49
|
-
const {
|
|
50
|
-
autoFocus: i,
|
|
51
|
-
checked: c,
|
|
52
|
-
checkedIcon: s,
|
|
53
|
-
className: v,
|
|
54
|
-
defaultChecked: k,
|
|
55
|
-
disabled: I,
|
|
56
|
-
disableFocusRipple: u = !1,
|
|
57
|
-
edge: C = !1,
|
|
58
|
-
icon: B,
|
|
59
|
-
id: p,
|
|
60
|
-
inputProps: R,
|
|
61
|
-
inputRef: P,
|
|
62
|
-
name: g,
|
|
63
|
-
onBlur: f,
|
|
64
|
-
onChange: h,
|
|
65
|
-
onFocus: m,
|
|
66
|
-
readOnly: L,
|
|
67
|
-
required: D = !1,
|
|
68
|
-
tabIndex: W,
|
|
69
|
-
type: y,
|
|
70
|
-
value: N
|
|
71
|
-
} = n, A = _(n, ae), [$, G] = ce({
|
|
72
|
-
controlled: c,
|
|
73
|
-
default: !!k,
|
|
74
|
-
name: "SwitchBase",
|
|
75
|
-
state: "checked"
|
|
76
|
-
}), d = ee(), J = (a) => {
|
|
77
|
-
m && m(a), d && d.onFocus && d.onFocus(a);
|
|
78
|
-
}, K = (a) => {
|
|
79
|
-
f && f(a), d && d.onBlur && d.onBlur(a);
|
|
80
|
-
}, Q = (a) => {
|
|
81
|
-
if (a.nativeEvent.defaultPrevented)
|
|
82
|
-
return;
|
|
83
|
-
const T = a.target.checked;
|
|
84
|
-
G(T), h && h(a, T);
|
|
85
|
-
};
|
|
86
|
-
let b = I;
|
|
87
|
-
d && typeof b > "u" && (b = d.disabled);
|
|
88
|
-
const X = y === "checkbox" || y === "radio", F = r({}, n, {
|
|
89
|
-
checked: $,
|
|
90
|
-
disabled: b,
|
|
91
|
-
disableFocusRipple: u,
|
|
92
|
-
edge: C
|
|
93
|
-
}), j = re(F);
|
|
94
|
-
return /* @__PURE__ */ ne(ie, r({
|
|
95
|
-
component: "span",
|
|
96
|
-
className: E(j.root, v),
|
|
97
|
-
centerRipple: !0,
|
|
98
|
-
focusRipple: !u,
|
|
99
|
-
disabled: b,
|
|
100
|
-
tabIndex: null,
|
|
101
|
-
role: void 0,
|
|
102
|
-
onFocus: J,
|
|
103
|
-
onBlur: K,
|
|
104
|
-
ownerState: F,
|
|
105
|
-
ref: t
|
|
106
|
-
}, A, {
|
|
107
|
-
children: [/* @__PURE__ */ l(de, r({
|
|
108
|
-
autoFocus: i,
|
|
109
|
-
checked: c,
|
|
110
|
-
defaultChecked: k,
|
|
111
|
-
className: j.input,
|
|
112
|
-
disabled: b,
|
|
113
|
-
id: X ? p : void 0,
|
|
114
|
-
name: g,
|
|
115
|
-
onChange: Q,
|
|
116
|
-
readOnly: L,
|
|
117
|
-
ref: P,
|
|
118
|
-
required: D,
|
|
119
|
-
ownerState: F,
|
|
120
|
-
tabIndex: W,
|
|
121
|
-
type: y
|
|
122
|
-
}, y === "checkbox" && N === void 0 ? {} : {
|
|
123
|
-
value: N
|
|
124
|
-
}, R)), $ ? s : B]
|
|
125
|
-
}));
|
|
126
|
-
});
|
|
127
|
-
process.env.NODE_ENV !== "production" && (H.propTypes = {
|
|
128
|
-
/**
|
|
129
|
-
* If `true`, the `input` element is focused during the first mount.
|
|
130
|
-
*/
|
|
131
|
-
autoFocus: e.bool,
|
|
132
|
-
/**
|
|
133
|
-
* If `true`, the component is checked.
|
|
134
|
-
*/
|
|
135
|
-
checked: e.bool,
|
|
136
|
-
/**
|
|
137
|
-
* The icon to display when the component is checked.
|
|
138
|
-
*/
|
|
139
|
-
checkedIcon: e.node.isRequired,
|
|
140
|
-
/**
|
|
141
|
-
* Override or extend the styles applied to the component.
|
|
142
|
-
* See [CSS API](#css) below for more details.
|
|
143
|
-
*/
|
|
144
|
-
classes: e.object,
|
|
145
|
-
/**
|
|
146
|
-
* @ignore
|
|
147
|
-
*/
|
|
148
|
-
className: e.string,
|
|
149
|
-
/**
|
|
150
|
-
* @ignore
|
|
151
|
-
*/
|
|
152
|
-
defaultChecked: e.bool,
|
|
153
|
-
/**
|
|
154
|
-
* If `true`, the component is disabled.
|
|
155
|
-
*/
|
|
156
|
-
disabled: e.bool,
|
|
157
|
-
/**
|
|
158
|
-
* If `true`, the keyboard focus ripple is disabled.
|
|
159
|
-
* @default false
|
|
160
|
-
*/
|
|
161
|
-
disableFocusRipple: e.bool,
|
|
162
|
-
/**
|
|
163
|
-
* If given, uses a negative margin to counteract the padding on one
|
|
164
|
-
* side (this is often helpful for aligning the left or right
|
|
165
|
-
* side of the icon with content above or below, without ruining the border
|
|
166
|
-
* size and shape).
|
|
167
|
-
* @default false
|
|
168
|
-
*/
|
|
169
|
-
edge: e.oneOf(["end", "start", !1]),
|
|
170
|
-
/**
|
|
171
|
-
* The icon to display when the component is unchecked.
|
|
172
|
-
*/
|
|
173
|
-
icon: e.node.isRequired,
|
|
174
|
-
/**
|
|
175
|
-
* The id of the `input` element.
|
|
176
|
-
*/
|
|
177
|
-
id: e.string,
|
|
178
|
-
/**
|
|
179
|
-
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
|
|
180
|
-
*/
|
|
181
|
-
inputProps: e.object,
|
|
182
|
-
/**
|
|
183
|
-
* Pass a ref to the `input` element.
|
|
184
|
-
*/
|
|
185
|
-
inputRef: V,
|
|
186
|
-
/*
|
|
187
|
-
* @ignore
|
|
188
|
-
*/
|
|
189
|
-
name: e.string,
|
|
190
|
-
/**
|
|
191
|
-
* @ignore
|
|
192
|
-
*/
|
|
193
|
-
onBlur: e.func,
|
|
194
|
-
/**
|
|
195
|
-
* Callback fired when the state is changed.
|
|
196
|
-
*
|
|
197
|
-
* @param {object} event The event source of the callback.
|
|
198
|
-
* You can pull out the new checked state by accessing `event.target.checked` (boolean).
|
|
199
|
-
*/
|
|
200
|
-
onChange: e.func,
|
|
201
|
-
/**
|
|
202
|
-
* @ignore
|
|
203
|
-
*/
|
|
204
|
-
onFocus: e.func,
|
|
205
|
-
/**
|
|
206
|
-
* It prevents the user from changing the value of the field
|
|
207
|
-
* (not from interacting with the field).
|
|
208
|
-
*/
|
|
209
|
-
readOnly: e.bool,
|
|
210
|
-
/**
|
|
211
|
-
* If `true`, the `input` element is required.
|
|
212
|
-
*/
|
|
213
|
-
required: e.bool,
|
|
214
|
-
/**
|
|
215
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
216
|
-
*/
|
|
217
|
-
sx: e.object,
|
|
218
|
-
/**
|
|
219
|
-
* @ignore
|
|
220
|
-
*/
|
|
221
|
-
tabIndex: e.oneOfType([e.number, e.string]),
|
|
222
|
-
/**
|
|
223
|
-
* The input component prop `type`.
|
|
224
|
-
*/
|
|
225
|
-
type: e.string.isRequired,
|
|
226
|
-
/**
|
|
227
|
-
* The value of the component.
|
|
228
|
-
*/
|
|
229
|
-
value: e.any
|
|
230
|
-
});
|
|
231
|
-
const le = w(/* @__PURE__ */ l("path", {
|
|
232
|
-
d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
|
|
233
|
-
}), "CheckBoxOutlineBlank"), ue = w(/* @__PURE__ */ l("path", {
|
|
234
|
-
d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
|
|
235
|
-
}), "CheckBox"), pe = w(/* @__PURE__ */ l("path", {
|
|
236
|
-
d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"
|
|
237
|
-
}), "IndeterminateCheckBox");
|
|
238
|
-
function fe(o) {
|
|
239
|
-
return U("MuiCheckbox", o);
|
|
240
|
-
}
|
|
241
|
-
const O = q("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary"]), he = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size", "className"], me = (o) => {
|
|
242
|
-
const {
|
|
243
|
-
classes: n,
|
|
244
|
-
indeterminate: t,
|
|
245
|
-
color: i
|
|
246
|
-
} = o, c = {
|
|
247
|
-
root: ["root", t && "indeterminate", `color${S(i)}`]
|
|
248
|
-
}, s = M(c, fe, n);
|
|
249
|
-
return r({}, n, s);
|
|
250
|
-
}, be = z(H, {
|
|
251
|
-
shouldForwardProp: (o) => Z(o) || o === "classes",
|
|
252
|
-
name: "MuiCheckbox",
|
|
253
|
-
slot: "Root",
|
|
254
|
-
overridesResolver: (o, n) => {
|
|
255
|
-
const {
|
|
256
|
-
ownerState: t
|
|
257
|
-
} = o;
|
|
258
|
-
return [n.root, t.indeterminate && n.indeterminate, t.color !== "default" && n[`color${S(t.color)}`]];
|
|
259
|
-
}
|
|
260
|
-
})(({
|
|
261
|
-
theme: o,
|
|
262
|
-
ownerState: n
|
|
263
|
-
}) => r({
|
|
264
|
-
color: (o.vars || o).palette.text.secondary
|
|
265
|
-
}, !n.disableRipple && {
|
|
266
|
-
"&:hover": {
|
|
267
|
-
backgroundColor: o.vars ? `rgba(${n.color === "default" ? o.vars.palette.action.activeChannel : o.vars.palette.primary.mainChannel} / ${o.vars.palette.action.hoverOpacity})` : oe(n.color === "default" ? o.palette.action.active : o.palette[n.color].main, o.palette.action.hoverOpacity),
|
|
268
|
-
// Reset on touch devices, it doesn't add specificity
|
|
269
|
-
"@media (hover: none)": {
|
|
270
|
-
backgroundColor: "transparent"
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
}, n.color !== "default" && {
|
|
274
|
-
[`&.${O.checked}, &.${O.indeterminate}`]: {
|
|
275
|
-
color: (o.vars || o).palette[n.color].main
|
|
276
|
-
},
|
|
277
|
-
[`&.${O.disabled}`]: {
|
|
278
|
-
color: (o.vars || o).palette.action.disabled
|
|
279
|
-
}
|
|
280
|
-
})), ke = /* @__PURE__ */ l(ue, {}), Ce = /* @__PURE__ */ l(le, {}), ge = /* @__PURE__ */ l(pe, {}), ye = /* @__PURE__ */ x.forwardRef(function(n, t) {
|
|
281
|
-
var i, c;
|
|
282
|
-
const s = Y({
|
|
283
|
-
props: n,
|
|
284
|
-
name: "MuiCheckbox"
|
|
285
|
-
}), {
|
|
286
|
-
checkedIcon: v = ke,
|
|
287
|
-
color: k = "primary",
|
|
288
|
-
icon: I = Ce,
|
|
289
|
-
indeterminate: u = !1,
|
|
290
|
-
indeterminateIcon: C = ge,
|
|
291
|
-
inputProps: B,
|
|
292
|
-
size: p = "medium",
|
|
293
|
-
className: R
|
|
294
|
-
} = s, P = _(s, he), g = u ? C : I, f = u ? C : v, h = r({}, s, {
|
|
295
|
-
color: k,
|
|
296
|
-
indeterminate: u,
|
|
297
|
-
size: p
|
|
298
|
-
}), m = me(h);
|
|
299
|
-
return /* @__PURE__ */ l(be, r({
|
|
300
|
-
type: "checkbox",
|
|
301
|
-
inputProps: r({
|
|
302
|
-
"data-indeterminate": u
|
|
303
|
-
}, B),
|
|
304
|
-
icon: /* @__PURE__ */ x.cloneElement(g, {
|
|
305
|
-
fontSize: (i = g.props.fontSize) != null ? i : p
|
|
306
|
-
}),
|
|
307
|
-
checkedIcon: /* @__PURE__ */ x.cloneElement(f, {
|
|
308
|
-
fontSize: (c = f.props.fontSize) != null ? c : p
|
|
309
|
-
}),
|
|
310
|
-
ownerState: h,
|
|
311
|
-
ref: t,
|
|
312
|
-
className: E(m.root, R)
|
|
313
|
-
}, P, {
|
|
314
|
-
classes: m
|
|
315
|
-
}));
|
|
316
|
-
});
|
|
317
|
-
process.env.NODE_ENV !== "production" && (ye.propTypes = {
|
|
318
|
-
// ----------------------------- Warning --------------------------------
|
|
319
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
320
|
-
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
321
|
-
// ----------------------------------------------------------------------
|
|
322
|
-
/**
|
|
323
|
-
* If `true`, the component is checked.
|
|
324
|
-
*/
|
|
325
|
-
checked: e.bool,
|
|
326
|
-
/**
|
|
327
|
-
* The icon to display when the component is checked.
|
|
328
|
-
* @default <CheckBoxIcon />
|
|
329
|
-
*/
|
|
330
|
-
checkedIcon: e.node,
|
|
331
|
-
/**
|
|
332
|
-
* Override or extend the styles applied to the component.
|
|
333
|
-
*/
|
|
334
|
-
classes: e.object,
|
|
335
|
-
/**
|
|
336
|
-
* @ignore
|
|
337
|
-
*/
|
|
338
|
-
className: e.string,
|
|
339
|
-
/**
|
|
340
|
-
* The color of the component.
|
|
341
|
-
* It supports both default and custom theme colors, which can be added as shown in the
|
|
342
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
|
|
343
|
-
* @default 'primary'
|
|
344
|
-
*/
|
|
345
|
-
color: e.oneOfType([e.oneOf(["default", "primary", "secondary", "error", "info", "success", "warning"]), e.string]),
|
|
346
|
-
/**
|
|
347
|
-
* The default checked state. Use when the component is not controlled.
|
|
348
|
-
*/
|
|
349
|
-
defaultChecked: e.bool,
|
|
350
|
-
/**
|
|
351
|
-
* If `true`, the component is disabled.
|
|
352
|
-
* @default false
|
|
353
|
-
*/
|
|
354
|
-
disabled: e.bool,
|
|
355
|
-
/**
|
|
356
|
-
* If `true`, the ripple effect is disabled.
|
|
357
|
-
* @default false
|
|
358
|
-
*/
|
|
359
|
-
disableRipple: e.bool,
|
|
360
|
-
/**
|
|
361
|
-
* The icon to display when the component is unchecked.
|
|
362
|
-
* @default <CheckBoxOutlineBlankIcon />
|
|
363
|
-
*/
|
|
364
|
-
icon: e.node,
|
|
365
|
-
/**
|
|
366
|
-
* The id of the `input` element.
|
|
367
|
-
*/
|
|
368
|
-
id: e.string,
|
|
369
|
-
/**
|
|
370
|
-
* If `true`, the component appears indeterminate.
|
|
371
|
-
* This does not set the native input element to indeterminate due
|
|
372
|
-
* to inconsistent behavior across browsers.
|
|
373
|
-
* However, we set a `data-indeterminate` attribute on the `input`.
|
|
374
|
-
* @default false
|
|
375
|
-
*/
|
|
376
|
-
indeterminate: e.bool,
|
|
377
|
-
/**
|
|
378
|
-
* The icon to display when the component is indeterminate.
|
|
379
|
-
* @default <IndeterminateCheckBoxIcon />
|
|
380
|
-
*/
|
|
381
|
-
indeterminateIcon: e.node,
|
|
382
|
-
/**
|
|
383
|
-
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
|
|
384
|
-
*/
|
|
385
|
-
inputProps: e.object,
|
|
386
|
-
/**
|
|
387
|
-
* Pass a ref to the `input` element.
|
|
388
|
-
*/
|
|
389
|
-
inputRef: V,
|
|
390
|
-
/**
|
|
391
|
-
* Callback fired when the state is changed.
|
|
392
|
-
*
|
|
393
|
-
* @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
|
|
394
|
-
* You can pull out the new checked state by accessing `event.target.checked` (boolean).
|
|
395
|
-
*/
|
|
396
|
-
onChange: e.func,
|
|
397
|
-
/**
|
|
398
|
-
* If `true`, the `input` element is required.
|
|
399
|
-
* @default false
|
|
400
|
-
*/
|
|
401
|
-
required: e.bool,
|
|
402
|
-
/**
|
|
403
|
-
* The size of the component.
|
|
404
|
-
* `small` is equivalent to the dense checkbox styling.
|
|
405
|
-
* @default 'medium'
|
|
406
|
-
*/
|
|
407
|
-
size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
|
|
408
|
-
/**
|
|
409
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
410
|
-
*/
|
|
411
|
-
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
|
412
|
-
/**
|
|
413
|
-
* The value of the component. The DOM API casts this to a string.
|
|
414
|
-
* The browser uses "on" as the default value.
|
|
415
|
-
*/
|
|
416
|
-
value: e.any
|
|
417
|
-
});
|
|
418
|
-
export {
|
|
419
|
-
ye as C
|
|
420
|
-
};
|