@hybridcore/ui 1.6.1 → 1.6.2
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/CATALOG.md +179 -0
- package/README.md +1 -2
- package/dist/AccordionSummary-CJppWeqF.js +781 -0
- package/dist/Add-CqcD1PWb.js +403 -0
- package/dist/Box-DqUMmZjL.js +31 -0
- package/dist/Button-C5yquWAB.js +357 -0
- package/dist/ButtonBase-BEF7oTOe.js +887 -0
- package/dist/{Delete-fBLhTHbF.js → Delete-BdyYpINH.js} +9 -8
- package/dist/{DialogContent-CGJ7alb8.js → DialogContent-BvVjD9z3.js} +127 -122
- package/dist/FormGroup-CpBsIyYR.js +89 -0
- package/dist/{IconButton-_opV1iNK.js → IconButton-BoGwbvrP.js} +26 -26
- package/dist/{InputLabel-rEwwnD4_.js → InputLabel-Dd8RrneV.js} +140 -153
- package/dist/{MenuItem-DrE50M_p.js → MenuItem-DwqJqzuM.js} +65 -89
- package/dist/Modal-MUZygjmQ.js +1158 -0
- package/dist/Paper-BkQLdsCI.js +582 -0
- package/dist/Select-DHUl_uG3.js +3916 -0
- package/dist/SwitchBase-DTndTqI8.js +235 -0
- package/dist/TextField-e2oKaUN1.js +669 -0
- package/dist/TransitionGroupContext-BDAp2T0O.js +96 -0
- package/dist/{Typography-B-Z5Y0Xq.js → Typography-DgsSLCFC.js} +28 -26
- package/dist/assertThisInitialized-C1dAyb4j.js +7 -0
- package/dist/assets/index4.css +1 -0
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/components/access/helpers.js +1 -1
- package/dist/components/access/logic.js +1 -1
- package/dist/components/button/index.js +10 -0
- package/dist/components/button/logic.js +26 -0
- package/dist/components/button/styled.js +9 -0
- package/dist/components/charts/_common/chart-error.js +19 -0
- package/dist/components/charts/candlestick/index.js +3 -3
- package/dist/components/charts/candlestick/logic.js +123 -113
- package/dist/components/charts/chart-wrapper/index.js +5 -5
- package/dist/components/charts/column-line-mix/index.js +9 -8
- package/dist/components/charts/column-line-mix/logic.js +68 -71
- package/dist/components/charts/drill-down-treemap/index.js +8 -7
- package/dist/components/charts/drill-down-treemap/logic.js +138 -144
- package/dist/components/charts/drill-down-voronoi-treemap/index.js +9 -8
- package/dist/components/charts/drill-down-voronoi-treemap/logic.js +222 -228
- package/dist/components/charts/heatmap/index.js +9 -8
- package/dist/components/charts/heatmap/logic.js +167 -173
- package/dist/components/charts/highlighting-line-data/index.js +3 -3
- package/dist/components/charts/line/index.js +9 -8
- package/dist/components/charts/line/logic.js +74 -79
- package/dist/components/charts/logaritmic-scale/index.js +9 -8
- package/dist/components/charts/logaritmic-scale/logic.js +63 -69
- package/dist/components/charts/multiple-value-axes/index.js +9 -8
- package/dist/components/charts/multiple-value-axes/logic.js +101 -107
- package/dist/components/charts/nested-pie/index.js +9 -8
- package/dist/components/charts/nested-pie/logic.js +62 -68
- package/dist/components/charts/packed-circles/index.js +7 -6
- package/dist/components/charts/packed-circles/logic.js +50 -56
- package/dist/components/charts/pie-chart/index.js +9 -8
- package/dist/components/charts/pie-chart/logic.js +49 -54
- package/dist/components/charts/stacked-area-radar/index.js +8 -7
- package/dist/components/charts/stacked-area-radar/logic.js +113 -118
- package/dist/components/charts/stacked-column-chart/index.js +9 -8
- package/dist/components/charts/stacked-column-chart/logic.js +78 -84
- package/dist/components/charts/xy-chart/index.js +9 -8
- package/dist/components/charts/xy-chart/logic.js +56 -60
- package/dist/components/collapsible-card/index.js +11 -10
- package/dist/components/collapsible-card/styled.js +1 -1
- package/dist/components/color-picker/index.js +7120 -0
- package/dist/components/color-picker/logic.js +18 -0
- package/dist/components/color-picker/styled.js +7 -0
- package/dist/components/confirm/dialog.js +3 -3
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/data-grid/index.js +22 -0
- package/dist/components/data-grid/logic.js +15 -0
- package/dist/components/data-grid/styled.js +20 -0
- package/dist/components/data-map/components/controls/index.js +4 -6
- package/dist/components/data-map/index.js +11 -11
- package/dist/components/data-security-selectors/dissemination-list/index.js +192 -191
- package/dist/components/data-security-selectors/dissemination-list/styled.js +12 -12
- package/dist/components/data-security-selectors/security-level/index.js +18 -15
- package/dist/components/data-security-selectors/security-level/logic.js +18 -63
- package/dist/components/data-security-selectors/security-level/styled.js +23 -17
- package/dist/components/date-picker-with-custom-range/index.js +1 -1
- package/dist/components/date-range-picker/index.js +2748 -0
- package/dist/components/date-range-picker/styled.js +14 -0
- package/dist/components/date-time-picker/index.js +45 -46
- package/dist/components/divider/index.js +11 -11
- package/dist/components/document-viewer/components/action-buttons/index.js +15 -15
- package/dist/components/document-viewer/components/navigation/index.js +9 -9
- package/dist/components/document-viewer/components/viewer/index.js +31 -35
- package/dist/components/document-viewer/index.js +31 -39
- package/dist/components/document-viewer/logic.js +41 -34
- package/dist/components/document-viewer/styled.js +115 -27
- package/dist/components/duration-select/index.js +27 -0
- package/dist/components/duration-select/logic.js +21 -0
- package/dist/components/duration-select/styled.js +26 -0
- package/dist/components/editable-text/index.js +20 -0
- package/dist/components/editable-text/logic.js +18 -0
- package/dist/components/editable-text/styled.js +22 -0
- package/dist/components/geometry-picker/coordinate/index.js +29 -29
- package/dist/components/geometry-picker/edit/index.js +18 -18
- package/dist/components/geometry-picker/geometry/index.js +67 -67
- package/dist/components/geometry-picker/geometry/map-overlay.js +6 -6
- package/dist/components/geometry-picker/index.js +69 -86
- package/dist/components/geometry-picker/kml/index.js +16 -16
- package/dist/components/geometry-picker/logic.js +50 -57
- package/dist/components/geometry-picker/map/index.js +8 -8
- package/dist/components/geometry-picker/parser/coordinate-input/index.js +4 -4
- package/dist/components/geometry-picker/parser/index.js +46 -50
- package/dist/components/geometry-picker/parser/styled.js +22 -4
- package/dist/components/geometry-picker/styled.js +97 -37
- package/dist/components/geometry-picker/wkt/index.js +13 -13
- package/dist/components/heat-map/components/controls/index.js +4 -6
- package/dist/components/heat-map/components/legend/index.js +15 -17
- package/dist/components/heat-map/index.js +7 -7
- package/dist/components/instance-form/components/TopLabelWrapper.js +8 -48
- package/dist/components/instance-form/components/composite-list/index.js +5 -3
- package/dist/components/instance-form/components/composite-matrix/components/editable-table/index.js +83 -74
- package/dist/components/instance-form/components/composite-matrix/components/editor/index.js +45 -66
- package/dist/components/instance-form/components/composite-matrix/components/form/index.js +60 -75
- package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +2425 -2422
- package/dist/components/instance-form/components/composite-matrix/components/table/index.js +33 -52
- package/dist/components/instance-form/components/composite-matrix/index.js +30 -36
- package/dist/components/instance-form/components/policy-list/index.js +47 -81
- package/dist/components/instance-form/components/variable/index.js +6 -9
- package/dist/components/instance-form/components/variables/index.js +48 -55
- package/dist/components/instance-form/helpers.js +9 -0
- package/dist/components/instance-form/index.js +402 -518
- package/dist/components/instance-form/logic.js +115 -0
- package/dist/components/instance-form/styled.js +487 -0
- package/dist/components/instance-hierarchy-table/styled.js +1 -1
- package/dist/components/instance-variable-list/index.js +11 -11
- package/dist/components/map/index.js +28 -6
- package/dist/components/map/styled.js +1 -1
- package/dist/components/notification/index.js +67 -0
- package/dist/components/notification/logic.js +30 -0
- package/dist/components/notification/store.js +23 -0
- package/dist/components/notification/styled.js +52 -0
- package/dist/components/object-profile-card/components/avatar/index.js +9 -10
- package/dist/components/object-profile-card/index.js +19 -20
- package/dist/components/paginated-list/index.js +2 -3
- package/dist/components/placeholder/index.js +10 -0
- package/dist/components/placeholder/logic.js +12 -0
- package/dist/components/placeholder/styled.js +32 -0
- package/dist/components/positional-tooltip/index.js +24 -0
- package/dist/components/positional-tooltip/styled.js +17 -0
- package/dist/components/property-mapping/index.js +204 -423
- package/dist/components/property-mapping/logic.js +156 -0
- package/dist/components/property-mapping/styled.js +199 -0
- package/dist/components/prr-map/components/controls/index.js +4 -6
- package/dist/components/prr-map/components/legend/index.js +26 -28
- package/dist/components/prr-map/index.js +5 -5
- package/dist/components/range-selector/styled.js +1106 -1034
- package/dist/components/raster-grid-map/components/controls/index.js +4 -6
- package/dist/components/raster-grid-map/components/legend/index.js +4 -6
- package/dist/components/raster-grid-map/index.js +5 -5
- package/dist/components/scroll-drag/index.js +22 -0
- package/dist/components/scroll-drag/logic.js +39 -0
- package/dist/components/scroll-drag/styled.js +17 -0
- package/dist/components/search-input/logic.js +35 -33
- package/dist/components/simple-pivot-table/index.js +12 -12
- package/dist/components/sortable-list/index.js +599 -0
- package/dist/components/sortable-list/logic.js +18 -0
- package/dist/components/sortable-list/styled.js +38 -0
- package/dist/components/static-text/index.js +6 -6
- package/dist/components/stats-box/index.js +12 -0
- package/dist/components/stats-box/styled.js +36 -0
- package/dist/components/template-form/components/property-list/index.js +27 -26
- 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 +758 -12
- package/dist/components/template-form/components/recognition-property-list/index.js +11 -11
- 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 +24 -22
- package/dist/components/template-form/components/select-icon/index.js +24 -24
- package/dist/components/template-form/helpers.js +17 -0
- package/dist/components/template-form/index.js +270 -308
- package/dist/components/template-form/logic.js +69 -0
- package/dist/components/template-form/styled.js +84 -0
- package/dist/components/text-overflow/index.js +6 -0
- package/dist/components/text-overflow/styled.js +13 -0
- package/dist/components/timeline/index.js +12 -12
- package/dist/components/toggle-view-button/index.js +35 -0
- package/dist/components/toggle-view-button/logic.js +22 -0
- package/dist/components/toggle-view-button/styled.js +11 -0
- package/dist/components/tree-select/index.js +1 -1
- package/dist/components/visually-hidden-input/index.js +4 -0
- package/dist/components/visually-hidden-input/styled.js +18 -0
- package/dist/createChainedFunction-C0nujS3O.js +9 -0
- package/dist/{createSvgIcon-DX-SqL8M.js → createSvgIcon-Ch_cT8az.js} +68 -65
- package/dist/createSvgIcon-DuDuASu1.js +62 -0
- package/dist/debounce-46wSf_lW.js +15 -0
- package/dist/{dialog-cf4HUXXl.js → dialog-BYRnCztH.js} +30 -29
- package/dist/formControlState-vgaj2ksH.js +10 -0
- package/dist/generateUtilityClasses-C3ivN9Ie.js +2973 -0
- package/dist/{helpers-B4UL9NMD.js → helpers-D4uXfBfO.js} +2 -2
- package/dist/index-BtlzPygz.js +470 -0
- package/dist/index-DH6qsPBn.js +153 -0
- package/dist/{index-C8C3YXle.js → index-e9xTIYWt.js} +139 -137
- package/dist/main.d.ts +1054 -330
- package/dist/main.js +163 -130
- package/dist/ownerWindow-wg6foiOE.js +10 -0
- package/dist/setPrototypeOf-NPgp4cYc.js +8 -0
- package/dist/styled-Db1RdcPA.js +323 -0
- package/dist/unsupportedProp-DuqR2hj9.js +36 -0
- package/dist/useFormControl-CatNKXAi.js +10 -0
- package/dist/useId-BW-oWmul.js +19 -0
- package/dist/{useMobilePicker-B-M3dnTn.js → useMobilePicker-CY8ndYRL.js} +4777 -4491
- package/dist/useSlot-B_Q4vnX5.js +42 -0
- package/package.json +15 -7
- package/dist/AccordionSummary-CMg08YSA.js +0 -739
- package/dist/Add-DuVVJeQU.js +0 -380
- package/dist/ButtonBase-sObABYY2.js +0 -965
- package/dist/FormControl-BCurCxRj.js +0 -1294
- package/dist/FormControlLabel-BkRfrhNy.js +0 -601
- package/dist/InputAdornment-C7PEvvYr.js +0 -155
- package/dist/Modal-DlB6GH-f.js +0 -1659
- package/dist/Paper-q9kKjAKx.js +0 -527
- package/dist/TextField-DSDIEEKu.js +0 -3161
- package/dist/assertThisInitialized-BUtkG-md.js +0 -13
- package/dist/capitalize-quqpGCFu.js +0 -9
- package/dist/components/instance-form/components/composite-list/styled.js +0 -73
- package/dist/components/instance-form/components/composite-matrix/components/editor/styled.js +0 -1
- package/dist/components/instance-form/components/composite-matrix/styled.js +0 -69
- package/dist/components/key-protection/index.js +0 -47
- package/dist/components/key-protection/logic.js +0 -40
- package/dist/components/key-protection/styled.js +0 -45
- package/dist/components/key-protection/utils.js +0 -10
- package/dist/createSvgIcon-BM3-TsGy.js +0 -70
- package/dist/index-BMS1Otro.js +0 -183
- package/dist/index-DPKUmQnz.js +0 -501
- package/dist/index-kCJ_Zvl8.js +0 -34
- package/dist/isMuiElement-BkJ72LB3.js +0 -26
- package/dist/property-list-form-DL_dEoNn.js +0 -381
- package/dist/styled-Bsjp3kFh.js +0 -668
- package/dist/unsupportedProp-BND8AB6O.js +0 -25
- package/dist/useId-B4-oF9Mq.js +0 -34
- package/dist/utils-Cxu-fHjQ.js +0 -115
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
import { a as l, _ as j } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
|
|
2
|
+
import * as P from "react";
|
|
3
|
+
import { P as e } from "./index-C__OZmYy.js";
|
|
4
|
+
import { c as R } from "./clsx-OuTLNxxd.js";
|
|
5
|
+
import { g as w, a as z, s as d, b as m, k as M, l as I, u as N, c as _, i as Z } from "./generateUtilityClasses-C3ivN9Ie.js";
|
|
6
|
+
import { u as x } from "./useSlot-B_Q4vnX5.js";
|
|
7
|
+
import { c as u } from "./createSvgIcon-Ch_cT8az.js";
|
|
8
|
+
import G, { jsx as s, jsxs as J } from "react/jsx-runtime";
|
|
9
|
+
import { P as K } from "./Paper-BkQLdsCI.js";
|
|
10
|
+
import { I as Q } from "./IconButton-BoGwbvrP.js";
|
|
11
|
+
import { T as X } from "./Typography-DgsSLCFC.js";
|
|
12
|
+
import { r as Y } from "./createSvgIcon-DuDuASu1.js";
|
|
13
|
+
function ee(o) {
|
|
14
|
+
return z("MuiAlert", o);
|
|
15
|
+
}
|
|
16
|
+
const O = w("MuiAlert", ["root", "action", "icon", "message", "filled", "colorSuccess", "colorInfo", "colorWarning", "colorError", "filledSuccess", "filledInfo", "filledWarning", "filledError", "outlined", "outlinedSuccess", "outlinedInfo", "outlinedWarning", "outlinedError", "standard", "standardSuccess", "standardInfo", "standardWarning", "standardError"]), oe = u(/* @__PURE__ */ s("path", {
|
|
17
|
+
d: "M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"
|
|
18
|
+
}), "SuccessOutlined"), te = u(/* @__PURE__ */ s("path", {
|
|
19
|
+
d: "M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"
|
|
20
|
+
}), "ReportProblemOutlined"), re = u(/* @__PURE__ */ s("path", {
|
|
21
|
+
d: "M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
|
|
22
|
+
}), "ErrorOutline"), se = u(/* @__PURE__ */ s("path", {
|
|
23
|
+
d: "M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"
|
|
24
|
+
}), "InfoOutlined"), ne = u(/* @__PURE__ */ s("path", {
|
|
25
|
+
d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
26
|
+
}), "Close"), le = ["action", "children", "className", "closeText", "color", "components", "componentsProps", "icon", "iconMapping", "onClose", "role", "severity", "slotProps", "slots", "variant"], ae = (o) => {
|
|
27
|
+
const {
|
|
28
|
+
variant: r,
|
|
29
|
+
color: n,
|
|
30
|
+
severity: t,
|
|
31
|
+
classes: i
|
|
32
|
+
} = o, c = {
|
|
33
|
+
root: ["root", `color${m(n || t)}`, `${r}${m(n || t)}`, `${r}`],
|
|
34
|
+
icon: ["icon"],
|
|
35
|
+
message: ["message"],
|
|
36
|
+
action: ["action"]
|
|
37
|
+
};
|
|
38
|
+
return _(c, ee, i);
|
|
39
|
+
}, ie = d(K, {
|
|
40
|
+
name: "MuiAlert",
|
|
41
|
+
slot: "Root",
|
|
42
|
+
overridesResolver: (o, r) => {
|
|
43
|
+
const {
|
|
44
|
+
ownerState: n
|
|
45
|
+
} = o;
|
|
46
|
+
return [r.root, r[n.variant], r[`${n.variant}${m(n.color || n.severity)}`]];
|
|
47
|
+
}
|
|
48
|
+
})(({
|
|
49
|
+
theme: o
|
|
50
|
+
}) => {
|
|
51
|
+
const r = o.palette.mode === "light" ? M : I, n = o.palette.mode === "light" ? I : M;
|
|
52
|
+
return l({}, o.typography.body2, {
|
|
53
|
+
backgroundColor: "transparent",
|
|
54
|
+
display: "flex",
|
|
55
|
+
padding: "6px 16px",
|
|
56
|
+
variants: [...Object.entries(o.palette).filter(([, t]) => t.main && t.light).map(([t]) => ({
|
|
57
|
+
props: {
|
|
58
|
+
colorSeverity: t,
|
|
59
|
+
variant: "standard"
|
|
60
|
+
},
|
|
61
|
+
style: {
|
|
62
|
+
color: o.vars ? o.vars.palette.Alert[`${t}Color`] : r(o.palette[t].light, 0.6),
|
|
63
|
+
backgroundColor: o.vars ? o.vars.palette.Alert[`${t}StandardBg`] : n(o.palette[t].light, 0.9),
|
|
64
|
+
[`& .${O.icon}`]: o.vars ? {
|
|
65
|
+
color: o.vars.palette.Alert[`${t}IconColor`]
|
|
66
|
+
} : {
|
|
67
|
+
color: o.palette[t].main
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
})), ...Object.entries(o.palette).filter(([, t]) => t.main && t.light).map(([t]) => ({
|
|
71
|
+
props: {
|
|
72
|
+
colorSeverity: t,
|
|
73
|
+
variant: "outlined"
|
|
74
|
+
},
|
|
75
|
+
style: {
|
|
76
|
+
color: o.vars ? o.vars.palette.Alert[`${t}Color`] : r(o.palette[t].light, 0.6),
|
|
77
|
+
border: `1px solid ${(o.vars || o).palette[t].light}`,
|
|
78
|
+
[`& .${O.icon}`]: o.vars ? {
|
|
79
|
+
color: o.vars.palette.Alert[`${t}IconColor`]
|
|
80
|
+
} : {
|
|
81
|
+
color: o.palette[t].main
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
})), ...Object.entries(o.palette).filter(([, t]) => t.main && t.dark).map(([t]) => ({
|
|
85
|
+
props: {
|
|
86
|
+
colorSeverity: t,
|
|
87
|
+
variant: "filled"
|
|
88
|
+
},
|
|
89
|
+
style: l({
|
|
90
|
+
fontWeight: o.typography.fontWeightMedium
|
|
91
|
+
}, o.vars ? {
|
|
92
|
+
color: o.vars.palette.Alert[`${t}FilledColor`],
|
|
93
|
+
backgroundColor: o.vars.palette.Alert[`${t}FilledBg`]
|
|
94
|
+
} : {
|
|
95
|
+
backgroundColor: o.palette.mode === "dark" ? o.palette[t].dark : o.palette[t].main,
|
|
96
|
+
color: o.palette.getContrastText(o.palette[t].main)
|
|
97
|
+
})
|
|
98
|
+
}))]
|
|
99
|
+
});
|
|
100
|
+
}), ce = d("div", {
|
|
101
|
+
name: "MuiAlert",
|
|
102
|
+
slot: "Icon",
|
|
103
|
+
overridesResolver: (o, r) => r.icon
|
|
104
|
+
})({
|
|
105
|
+
marginRight: 12,
|
|
106
|
+
padding: "7px 0",
|
|
107
|
+
display: "flex",
|
|
108
|
+
fontSize: 22,
|
|
109
|
+
opacity: 0.9
|
|
110
|
+
}), pe = d("div", {
|
|
111
|
+
name: "MuiAlert",
|
|
112
|
+
slot: "Message",
|
|
113
|
+
overridesResolver: (o, r) => r.message
|
|
114
|
+
})({
|
|
115
|
+
padding: "8px 0",
|
|
116
|
+
minWidth: 0,
|
|
117
|
+
overflow: "auto"
|
|
118
|
+
}), b = d("div", {
|
|
119
|
+
name: "MuiAlert",
|
|
120
|
+
slot: "Action",
|
|
121
|
+
overridesResolver: (o, r) => r.action
|
|
122
|
+
})({
|
|
123
|
+
display: "flex",
|
|
124
|
+
alignItems: "flex-start",
|
|
125
|
+
padding: "4px 0 0 16px",
|
|
126
|
+
marginLeft: "auto",
|
|
127
|
+
marginRight: -8
|
|
128
|
+
}), $ = {
|
|
129
|
+
success: /* @__PURE__ */ s(oe, {
|
|
130
|
+
fontSize: "inherit"
|
|
131
|
+
}),
|
|
132
|
+
warning: /* @__PURE__ */ s(te, {
|
|
133
|
+
fontSize: "inherit"
|
|
134
|
+
}),
|
|
135
|
+
error: /* @__PURE__ */ s(re, {
|
|
136
|
+
fontSize: "inherit"
|
|
137
|
+
}),
|
|
138
|
+
info: /* @__PURE__ */ s(se, {
|
|
139
|
+
fontSize: "inherit"
|
|
140
|
+
})
|
|
141
|
+
}, de = /* @__PURE__ */ P.forwardRef(function(r, n) {
|
|
142
|
+
const t = N({
|
|
143
|
+
props: r,
|
|
144
|
+
name: "MuiAlert"
|
|
145
|
+
}), {
|
|
146
|
+
action: i,
|
|
147
|
+
children: c,
|
|
148
|
+
className: f,
|
|
149
|
+
closeText: g = "Close",
|
|
150
|
+
color: A,
|
|
151
|
+
components: C = {},
|
|
152
|
+
componentsProps: B = {},
|
|
153
|
+
icon: S,
|
|
154
|
+
iconMapping: L = $,
|
|
155
|
+
onClose: T,
|
|
156
|
+
role: k = "alert",
|
|
157
|
+
severity: v = "success",
|
|
158
|
+
slotProps: E = {},
|
|
159
|
+
slots: W = {},
|
|
160
|
+
variant: H = "standard"
|
|
161
|
+
} = t, U = j(t, le), a = l({}, t, {
|
|
162
|
+
color: A,
|
|
163
|
+
severity: v,
|
|
164
|
+
variant: H,
|
|
165
|
+
colorSeverity: A || v
|
|
166
|
+
}), p = ae(a), h = {
|
|
167
|
+
slots: l({
|
|
168
|
+
closeButton: C.CloseButton,
|
|
169
|
+
closeIcon: C.CloseIcon
|
|
170
|
+
}, W),
|
|
171
|
+
slotProps: l({}, B, E)
|
|
172
|
+
}, [V, D] = x("closeButton", {
|
|
173
|
+
elementType: Q,
|
|
174
|
+
externalForwardedProps: h,
|
|
175
|
+
ownerState: a
|
|
176
|
+
}), [q, F] = x("closeIcon", {
|
|
177
|
+
elementType: ne,
|
|
178
|
+
externalForwardedProps: h,
|
|
179
|
+
ownerState: a
|
|
180
|
+
});
|
|
181
|
+
return /* @__PURE__ */ J(ie, l({
|
|
182
|
+
role: k,
|
|
183
|
+
elevation: 0,
|
|
184
|
+
ownerState: a,
|
|
185
|
+
className: R(p.root, f),
|
|
186
|
+
ref: n
|
|
187
|
+
}, U, {
|
|
188
|
+
children: [S !== !1 ? /* @__PURE__ */ s(ce, {
|
|
189
|
+
ownerState: a,
|
|
190
|
+
className: p.icon,
|
|
191
|
+
children: S || L[v] || $[v]
|
|
192
|
+
}) : null, /* @__PURE__ */ s(pe, {
|
|
193
|
+
ownerState: a,
|
|
194
|
+
className: p.message,
|
|
195
|
+
children: c
|
|
196
|
+
}), i != null ? /* @__PURE__ */ s(b, {
|
|
197
|
+
ownerState: a,
|
|
198
|
+
className: p.action,
|
|
199
|
+
children: i
|
|
200
|
+
}) : null, i == null && T ? /* @__PURE__ */ s(b, {
|
|
201
|
+
ownerState: a,
|
|
202
|
+
className: p.action,
|
|
203
|
+
children: /* @__PURE__ */ s(V, l({
|
|
204
|
+
size: "small",
|
|
205
|
+
"aria-label": g,
|
|
206
|
+
title: g,
|
|
207
|
+
color: "inherit",
|
|
208
|
+
onClick: T
|
|
209
|
+
}, D, {
|
|
210
|
+
children: /* @__PURE__ */ s(q, l({
|
|
211
|
+
fontSize: "small"
|
|
212
|
+
}, F))
|
|
213
|
+
}))
|
|
214
|
+
}) : null]
|
|
215
|
+
}));
|
|
216
|
+
});
|
|
217
|
+
process.env.NODE_ENV !== "production" && (de.propTypes = {
|
|
218
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
219
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
220
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
221
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
222
|
+
/**
|
|
223
|
+
* The action to display. It renders after the message, at the end of the alert.
|
|
224
|
+
*/
|
|
225
|
+
action: e.node,
|
|
226
|
+
/**
|
|
227
|
+
* The content of the component.
|
|
228
|
+
*/
|
|
229
|
+
children: e.node,
|
|
230
|
+
/**
|
|
231
|
+
* Override or extend the styles applied to the component.
|
|
232
|
+
*/
|
|
233
|
+
classes: e.object,
|
|
234
|
+
/**
|
|
235
|
+
* @ignore
|
|
236
|
+
*/
|
|
237
|
+
className: e.string,
|
|
238
|
+
/**
|
|
239
|
+
* Override the default label for the *close popup* icon button.
|
|
240
|
+
*
|
|
241
|
+
* For localization purposes, you can use the provided [translations](/material-ui/guides/localization/).
|
|
242
|
+
* @default 'Close'
|
|
243
|
+
*/
|
|
244
|
+
closeText: e.string,
|
|
245
|
+
/**
|
|
246
|
+
* The color of the component. Unless provided, the value is taken from the `severity` prop.
|
|
247
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
248
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
249
|
+
*/
|
|
250
|
+
color: e.oneOfType([e.oneOf(["error", "info", "success", "warning"]), e.string]),
|
|
251
|
+
/**
|
|
252
|
+
* The components used for each slot inside.
|
|
253
|
+
*
|
|
254
|
+
* @deprecated use the `slots` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
255
|
+
*
|
|
256
|
+
* @default {}
|
|
257
|
+
*/
|
|
258
|
+
components: e.shape({
|
|
259
|
+
CloseButton: e.elementType,
|
|
260
|
+
CloseIcon: e.elementType
|
|
261
|
+
}),
|
|
262
|
+
/**
|
|
263
|
+
* The extra props for the slot components.
|
|
264
|
+
* You can override the existing props or add new ones.
|
|
265
|
+
*
|
|
266
|
+
* @deprecated use the `slotProps` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
267
|
+
*
|
|
268
|
+
* @default {}
|
|
269
|
+
*/
|
|
270
|
+
componentsProps: e.shape({
|
|
271
|
+
closeButton: e.object,
|
|
272
|
+
closeIcon: e.object
|
|
273
|
+
}),
|
|
274
|
+
/**
|
|
275
|
+
* Override the icon displayed before the children.
|
|
276
|
+
* Unless provided, the icon is mapped to the value of the `severity` prop.
|
|
277
|
+
* Set to `false` to remove the `icon`.
|
|
278
|
+
*/
|
|
279
|
+
icon: e.node,
|
|
280
|
+
/**
|
|
281
|
+
* The component maps the `severity` prop to a range of different icons,
|
|
282
|
+
* for instance success to `<SuccessOutlined>`.
|
|
283
|
+
* If you wish to change this mapping, you can provide your own.
|
|
284
|
+
* Alternatively, you can use the `icon` prop to override the icon displayed.
|
|
285
|
+
*/
|
|
286
|
+
iconMapping: e.shape({
|
|
287
|
+
error: e.node,
|
|
288
|
+
info: e.node,
|
|
289
|
+
success: e.node,
|
|
290
|
+
warning: e.node
|
|
291
|
+
}),
|
|
292
|
+
/**
|
|
293
|
+
* Callback fired when the component requests to be closed.
|
|
294
|
+
* When provided and no `action` prop is set, a close icon button is displayed that triggers the callback when clicked.
|
|
295
|
+
* @param {React.SyntheticEvent} event The event source of the callback.
|
|
296
|
+
*/
|
|
297
|
+
onClose: e.func,
|
|
298
|
+
/**
|
|
299
|
+
* The ARIA role attribute of the element.
|
|
300
|
+
* @default 'alert'
|
|
301
|
+
*/
|
|
302
|
+
role: e.string,
|
|
303
|
+
/**
|
|
304
|
+
* The severity of the alert. This defines the color and icon used.
|
|
305
|
+
* @default 'success'
|
|
306
|
+
*/
|
|
307
|
+
severity: e.oneOfType([e.oneOf(["error", "info", "success", "warning"]), e.string]),
|
|
308
|
+
/**
|
|
309
|
+
* The props used for each slot inside.
|
|
310
|
+
* @default {}
|
|
311
|
+
*/
|
|
312
|
+
slotProps: e.shape({
|
|
313
|
+
closeButton: e.oneOfType([e.func, e.object]),
|
|
314
|
+
closeIcon: e.oneOfType([e.func, e.object])
|
|
315
|
+
}),
|
|
316
|
+
/**
|
|
317
|
+
* The components used for each slot inside.
|
|
318
|
+
* @default {}
|
|
319
|
+
*/
|
|
320
|
+
slots: e.shape({
|
|
321
|
+
closeButton: e.elementType,
|
|
322
|
+
closeIcon: e.elementType
|
|
323
|
+
}),
|
|
324
|
+
/**
|
|
325
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
326
|
+
*/
|
|
327
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
|
328
|
+
/**
|
|
329
|
+
* The variant to use.
|
|
330
|
+
* @default 'standard'
|
|
331
|
+
*/
|
|
332
|
+
variant: e.oneOfType([e.oneOf(["filled", "outlined", "standard"]), e.string])
|
|
333
|
+
});
|
|
334
|
+
function ue(o) {
|
|
335
|
+
return z("MuiAlertTitle", o);
|
|
336
|
+
}
|
|
337
|
+
w("MuiAlertTitle", ["root"]);
|
|
338
|
+
const fe = ["className"], ge = (o) => {
|
|
339
|
+
const {
|
|
340
|
+
classes: r
|
|
341
|
+
} = o;
|
|
342
|
+
return _({
|
|
343
|
+
root: ["root"]
|
|
344
|
+
}, ue, r);
|
|
345
|
+
}, ve = d(X, {
|
|
346
|
+
name: "MuiAlertTitle",
|
|
347
|
+
slot: "Root",
|
|
348
|
+
overridesResolver: (o, r) => r.root
|
|
349
|
+
})(({
|
|
350
|
+
theme: o
|
|
351
|
+
}) => ({
|
|
352
|
+
fontWeight: o.typography.fontWeightMedium,
|
|
353
|
+
marginTop: -2
|
|
354
|
+
})), me = /* @__PURE__ */ P.forwardRef(function(r, n) {
|
|
355
|
+
const t = N({
|
|
356
|
+
props: r,
|
|
357
|
+
name: "MuiAlertTitle"
|
|
358
|
+
}), {
|
|
359
|
+
className: i
|
|
360
|
+
} = t, c = j(t, fe), f = t, g = ge(f);
|
|
361
|
+
return /* @__PURE__ */ s(ve, l({
|
|
362
|
+
gutterBottom: !0,
|
|
363
|
+
component: "div",
|
|
364
|
+
ownerState: f,
|
|
365
|
+
ref: n,
|
|
366
|
+
className: R(g.root, i)
|
|
367
|
+
}, c));
|
|
368
|
+
});
|
|
369
|
+
process.env.NODE_ENV !== "production" && (me.propTypes = {
|
|
370
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
371
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
372
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
373
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
374
|
+
/**
|
|
375
|
+
* The content of the component.
|
|
376
|
+
*/
|
|
377
|
+
children: e.node,
|
|
378
|
+
/**
|
|
379
|
+
* Override or extend the styles applied to the component.
|
|
380
|
+
*/
|
|
381
|
+
classes: e.object,
|
|
382
|
+
/**
|
|
383
|
+
* @ignore
|
|
384
|
+
*/
|
|
385
|
+
className: e.string,
|
|
386
|
+
/**
|
|
387
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
388
|
+
*/
|
|
389
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
390
|
+
});
|
|
391
|
+
var y = {}, ye = Z;
|
|
392
|
+
Object.defineProperty(y, "__esModule", {
|
|
393
|
+
value: !0
|
|
394
|
+
});
|
|
395
|
+
var Ae = y.default = void 0, Ce = ye(Y()), Se = G;
|
|
396
|
+
Ae = y.default = (0, Ce.default)(/* @__PURE__ */ (0, Se.jsx)("path", {
|
|
397
|
+
d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"
|
|
398
|
+
}), "Add");
|
|
399
|
+
export {
|
|
400
|
+
de as A,
|
|
401
|
+
me as a,
|
|
402
|
+
Ae as d
|
|
403
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { createBox as o } from "@mui/system";
|
|
2
|
+
import { P as e } from "./index-C__OZmYy.js";
|
|
3
|
+
import { g as s, d as t, T as a, C as r } from "./generateUtilityClasses-C3ivN9Ie.js";
|
|
4
|
+
const n = s("MuiBox", ["root"]), p = t(), m = o({
|
|
5
|
+
themeId: a,
|
|
6
|
+
defaultTheme: p,
|
|
7
|
+
defaultClassName: n.root,
|
|
8
|
+
generateClassName: r.generate
|
|
9
|
+
});
|
|
10
|
+
process.env.NODE_ENV !== "production" && (m.propTypes = {
|
|
11
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
12
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
13
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
14
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
15
|
+
/**
|
|
16
|
+
* @ignore
|
|
17
|
+
*/
|
|
18
|
+
children: e.node,
|
|
19
|
+
/**
|
|
20
|
+
* The component used for the root node.
|
|
21
|
+
* Either a string to use a HTML element or a component.
|
|
22
|
+
*/
|
|
23
|
+
component: e.elementType,
|
|
24
|
+
/**
|
|
25
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
26
|
+
*/
|
|
27
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
28
|
+
});
|
|
29
|
+
export {
|
|
30
|
+
m as B
|
|
31
|
+
};
|