@hybridcore/ui 1.6.13 → 1.6.14
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/AccordionSummary-DUtr16g6.js +781 -0
- package/dist/Add-Bk8R160M.js +403 -0
- package/dist/Button-Cem3nbwc.js +357 -0
- package/dist/ButtonBase-DObmf4Q_.js +886 -0
- package/dist/Delete-CVJ6FeDn.js +203 -0
- package/dist/FormGroup-BRj1o7-E.js +89 -0
- package/dist/InputLabel-CjD30ZHz.js +341 -0
- package/dist/MenuItem-BKvRGLvM.js +233 -0
- package/dist/Modal-BVYydOr5.js +1156 -0
- package/dist/Paper-B1HV8GyO.js +582 -0
- package/dist/Select-Bfhvigsx.js +3914 -0
- package/dist/Source-BSZST_GH.js +4410 -0
- package/dist/SwitchBase-BEK49kdS.js +235 -0
- package/dist/Text-ChJRuaD8.js +2197 -0
- package/dist/TextField-Ca9ykixI.js +696 -0
- package/dist/TransitionGroupContext-Ja2CgIob.js +96 -0
- package/dist/Typography-D3X-Y5fh.js +178 -0
- package/dist/Vector-BmuhQO4p.js +3606 -0
- package/dist/Vector-DfTqQEln.js +1735 -0
- package/dist/WKT-2wsDT-nq.js +2310 -0
- package/dist/{_commonjsHelpers-BVfed4GL.js → _commonjsHelpers-BkfeUUK-.js} +2 -2
- package/dist/assertThisInitialized-C1dAyb4j.js +7 -0
- package/dist/assets/index.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index3.css +1 -0
- package/dist/assets/index4.css +1 -0
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/components/button/styled.js +1 -1
- package/dist/components/charts/_common/format.js +126 -82
- package/dist/components/charts/drill-down-voronoi-treemap/logic.js +1 -1
- package/dist/components/collapsible-card/index.js +30 -21
- package/dist/components/collapsible-card/styled.js +14 -16
- package/dist/components/color-picker/index.js +3358 -2228
- package/dist/components/color-picker/styled.js +7 -87
- package/dist/components/confirm/dialog.js +7 -89
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/data-map/index.js +1 -1
- package/dist/components/data-map/logic.js +20 -20
- package/dist/components/data-security-selectors/dissemination-list/index.js +3117 -32
- package/dist/components/date-range-picker/index.js +454 -466
- package/dist/components/document-viewer/components/viewer/index.js +1 -1
- package/dist/components/duration-select/index.js +10 -10
- package/dist/components/duration-select/styled.js +1 -1
- package/dist/components/geometry-picker/coordinate/index.js +14 -14
- 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/kml/index.js +11 -11
- package/dist/components/geometry-picker/map/logic.js +3656 -145
- package/dist/components/geometry-picker/map/style.js +17 -18
- package/dist/components/geometry-picker/parser/coordinate-input/logic.js +1255 -43
- package/dist/components/heat-map/index.js +1 -1
- package/dist/components/heat-map/logic.js +1924 -77
- package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +2 -2
- package/dist/components/instance-hierarchy-table/styled.js +16 -18
- package/dist/components/map/helpers/mapbox.js +15 -17
- package/dist/components/map/helpers/ol.js +27 -386
- package/dist/components/map/index.js +10 -11
- package/dist/components/map/logic.js +22 -22
- package/dist/components/map/styled.js +27 -31
- package/dist/components/phone-input/index.js +9 -10
- package/dist/components/property-mapping/index.js +1 -1
- package/dist/components/prr-map/index.js +1 -1
- package/dist/components/prr-map/logic.js +26 -27
- package/dist/components/raster-grid-map/index.js +1 -1
- package/dist/components/raster-grid-map/logic.js +57 -60
- package/dist/components/sortable-list/index.js +1264 -1091
- package/dist/components/template-form/components/property-list/index.js +32 -36
- package/dist/components/template-form/components/property-list/property-list-columns.js +17 -19
- package/dist/components/template-form/components/property-list/property-list-form.js +600 -137
- package/dist/components/template-form/components/recognition-property-list/index.js +36 -40
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +9 -11
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +64 -57
- package/dist/components/tree-select/index.js +16 -16
- package/dist/createChainedFunction-C0nujS3O.js +9 -0
- package/dist/createSvgIcon-BghzB2Y9.js +93 -0
- package/dist/createSvgIcon-D7U1nd99.js +185 -0
- package/dist/debounce-46wSf_lW.js +15 -0
- package/dist/dialog-BtJhjyF5.js +664 -0
- package/dist/extends-C3382pL0.js +22 -0
- package/dist/formControlState-vgaj2ksH.js +10 -0
- package/dist/generateUtilityClasses-Cc-owZ4J.js +2971 -0
- package/dist/{index-C__OZmYy.js → index-CblbdqjE.js} +1 -1
- package/dist/index-DH6qsPBn.js +153 -0
- package/dist/index.esm-DAf19hyR.js +318 -0
- package/dist/math-Bvt2Ubuz.js +704 -0
- package/dist/ol-yOE-NV0X.js +7465 -0
- package/dist/ownerWindow-wg6foiOE.js +10 -0
- package/dist/setPrototypeOf-NPgp4cYc.js +8 -0
- package/dist/styled-DD4BkuVf.js +350 -0
- package/dist/useControlled-BYdyS7Pn.js +31 -0
- package/dist/useFormControl-CatNKXAi.js +10 -0
- package/dist/useId-BW-oWmul.js +19 -0
- package/dist/useSlot-u4t0X96G.js +42 -0
- package/package.json +1 -1
- package/dist/index.esm-UfGMjYOL.js +0 -197
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
import { a as l, _ as j } from "./extends-C3382pL0.js";
|
|
2
|
+
import * as P from "react";
|
|
3
|
+
import { P as e } from "./index-CblbdqjE.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-Cc-owZ4J.js";
|
|
6
|
+
import { u as x } from "./useSlot-u4t0X96G.js";
|
|
7
|
+
import { c as u } from "./createSvgIcon-D7U1nd99.js";
|
|
8
|
+
import G, { jsx as s, jsxs as J } from "react/jsx-runtime";
|
|
9
|
+
import { P as K } from "./Paper-B1HV8GyO.js";
|
|
10
|
+
import { I as Q } from "./Delete-CVJ6FeDn.js";
|
|
11
|
+
import { T as X } from "./Typography-D3X-Y5fh.js";
|
|
12
|
+
import { r as Y } from "./createSvgIcon-BghzB2Y9.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
|
+
};
|