@hybridcore/ui 1.3.7 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/dist/AccordionDetails-CGs6GZQK.js +454 -0
  2. package/dist/Add-eepk2WTM.js +379 -0
  3. package/dist/Box-BPyg-Ybm.js +70 -0
  4. package/dist/Button-DLwB_sKd.js +354 -0
  5. package/dist/{ButtonBase-D6qhsxB0.js → ButtonBase-D0qccOVb.js} +6 -5
  6. package/dist/{CardContent-B8hqgH-I.js → CardContent-DFsCCOWk.js} +4 -4
  7. package/dist/{Checkbox-BFWhj3s-.js → Checkbox-qy3cjvnb.js} +134 -195
  8. package/dist/{Collapse-D_TjnyE5.js → Collapse-CL6LGGZw.js} +68 -75
  9. package/dist/Delete-OHEw9lDi.js +22 -0
  10. package/dist/DialogContent-CxOSq6h9.js +519 -0
  11. package/dist/FormControlLabel-D9KFjcIx.js +193 -0
  12. package/dist/{IconButton-D8bwME9t.js → IconButton-BaiyAtmS.js} +5 -5
  13. package/dist/{Input-Dxzguyp5.js → Input-CmCkXczh.js} +6 -6
  14. package/dist/{InputAdornment-B8ERE7Zv.js → InputAdornment-CZUPEeia.js} +5 -5
  15. package/dist/{FormControl-BMRUQKHh.js → InputLabel-CWkW8NtU.js} +316 -316
  16. package/dist/{List-DEWyK9IO.js → List-PpNAWJ_I.js} +4 -4
  17. package/dist/ListItem-CZbZ91vp.js +428 -0
  18. package/dist/{MenuItem-DstAFfik.js → MenuItem-D-INSvZa.js} +7 -7
  19. package/dist/{Modal-DNGEQJ1M.js → Modal-KrI5qFIq.js} +61 -57
  20. package/dist/{OutlinedInput-w2Cj9STF.js → OutlinedInput-DkIUD30e.js} +6 -6
  21. package/dist/{Paper-BseeergJ.js → Paper-btu3j72o.js} +5 -5
  22. package/dist/{Select-NDq3WyLt.js → Select-ClaBvSqf.js} +20 -18
  23. package/dist/Tabs-BzelDJKy.js +787 -0
  24. package/dist/TextField-D87qTh1k.js +457 -0
  25. package/dist/Typography-Bm7PFqUT.js +176 -0
  26. package/dist/assets/index.css +1 -1
  27. package/dist/assets/index2.css +1 -1
  28. package/dist/components/card/index.js +6 -6
  29. package/dist/components/card/styled.js +1 -1
  30. package/dist/components/collapsible-card/style.js +20 -466
  31. package/dist/components/confirm/dialog.js +8 -149
  32. package/dist/components/confirm/index.js +1 -1
  33. package/dist/components/container/index.js +7 -7
  34. package/dist/components/context-menu/index.js +191 -604
  35. package/dist/components/data-security-selectors/dissemination-list/index.js +1 -1
  36. package/dist/components/data-security-selectors/security-level/index.js +42 -40
  37. package/dist/components/date-time-picker/index.js +18 -19
  38. package/dist/components/geometry-picker/coordinate/index.js +1 -1
  39. package/dist/components/geometry-picker/edit/index.js +16 -16
  40. package/dist/components/geometry-picker/geometry/index.js +35 -35
  41. package/dist/components/geometry-picker/index.js +3 -3
  42. package/dist/components/geometry-picker/kml/index.js +14 -14
  43. package/dist/components/geometry-picker/map/index.js +1 -1
  44. package/dist/components/geometry-picker/map/logic.js +38 -37
  45. package/dist/components/geometry-picker/parser/coordinate-input/logic.js +63 -59
  46. package/dist/components/geometry-picker/parser/logic.js +33 -32
  47. package/dist/components/icon-button/index.js +1 -1
  48. package/dist/components/icon-button/styled.js +0 -2
  49. package/dist/components/{data-management/instance-form → instance-form}/components/composite-list/index.js +2 -2
  50. package/dist/components/instance-form/components/variable/index.js +19 -0
  51. package/dist/components/instance-form/components/variables/index.js +40 -0
  52. package/dist/components/{data-management/instance-form → instance-form}/index.js +106 -100
  53. package/dist/components/instance-hierarchy-table/index.js +58 -0
  54. package/dist/components/instance-hierarchy-table/styled.js +29 -0
  55. package/dist/components/instance-table/index.js +125 -0
  56. package/dist/components/instance-table/styled.js +13 -0
  57. package/dist/components/map/helpers/ol.js +1 -1
  58. package/dist/components/map/index.js +1 -1
  59. package/dist/components/map/logic.js +1 -1
  60. package/dist/components/map/styled.js +1 -1
  61. package/dist/components/phone-input/index.js +1 -1
  62. package/dist/components/property-mapping/index.js +558 -0
  63. package/dist/components/range-selector/components/composite-list-range/index.js +81 -0
  64. package/dist/components/range-selector/components/date-range/index.js +9 -0
  65. package/dist/components/range-selector/components/geometry-range/index.js +26 -0
  66. package/dist/components/range-selector/components/number-range/index.js +86 -0
  67. package/dist/components/range-selector/components/string-range/index.js +31 -0
  68. package/dist/components/range-selector/index.js +59 -0
  69. package/dist/components/search-input/index.js +4 -4
  70. package/dist/components/tabs/appleTabs.style.js +55 -0
  71. package/dist/components/tabs/index.js +93 -0
  72. package/dist/components/tabs/tab-panel.js +18 -0
  73. package/dist/components/template-form/components/catalogue-instance-selector/index.js +158 -0
  74. package/dist/components/template-form/components/property-list/index.js +72 -0
  75. package/dist/components/template-form/components/property-list/property-list-columns.js +125 -0
  76. package/dist/components/template-form/components/property-list/property-list-form.js +16 -0
  77. package/dist/components/template-form/components/property-list/property-list-logic.js +66 -0
  78. package/dist/components/template-form/components/property-list/types.js +8 -0
  79. package/dist/components/template-form/components/recognition-property-list/index.js +69 -0
  80. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +50 -0
  81. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +174 -0
  82. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-logic.js +64 -0
  83. package/dist/components/template-form/components/recognition-property-list/types.js +8 -0
  84. package/dist/components/template-form/components/select-icon/index.js +186 -0
  85. package/dist/components/template-form/components/select-icon/styled.js +76 -0
  86. package/dist/components/template-form/index.js +338 -0
  87. package/dist/components/template-property-filters/property.js +48 -46
  88. package/dist/components/tree-select/index.js +16 -15
  89. package/dist/components/tree-select/styled.js +2 -2
  90. package/dist/components/treeview-filter/index.js +8 -8
  91. package/dist/components/treeview-filter/item/index.js +1 -1
  92. package/dist/components/treeview-filter/item-label/index.js +18 -17
  93. package/dist/constants/index.js +41 -0
  94. package/dist/{createStyled-B96gjom1.js → createStyled-BzvgQjjR.js} +487 -464
  95. package/dist/createSvgIcon-Cfm1LkEe.js +73 -0
  96. package/dist/{createSvgIcon-BNrb7rDY.js → createSvgIcon-DEXLbMwp.js} +62 -90
  97. package/dist/dialog-v5-nL5yy.js +153 -0
  98. package/dist/{exactProp-CI_rjX83.js → exactProp-DkmnwNVS.js} +3 -3
  99. package/dist/extendSxProp-qqdkfHzS.js +30 -0
  100. package/dist/{index-CSfSVkKj.js → index-B0JPwFI9.js} +6 -5
  101. package/dist/index-C1fczHEW.js +11042 -0
  102. package/dist/{index-CJVcedWy.js → index-DPf5olog.js} +29 -27
  103. package/dist/{index-JrtqxUdI.js → index-DlnzUkwe.js} +1 -1
  104. package/dist/{listItemTextClasses-CFiI_U7B.js → listItemTextClasses-DsHGzpPM.js} +2 -2
  105. package/dist/main.d.ts +561 -78
  106. package/dist/main.js +157 -157
  107. package/dist/{ol-BUKJ1urU.js → ol-CHaVTXvL.js} +24 -24
  108. package/dist/property-list-form-BfP9gzSo.js +391 -0
  109. package/dist/requirePropFactory-BjhhI-AW.js +18 -0
  110. package/dist/{styled-cPJbqF0E.js → styled-LNCprp4n.js} +24 -22
  111. package/dist/unsupportedProp-BuVD30Gh.js +9 -0
  112. package/dist/useControlled-BYdyS7Pn.js +31 -0
  113. package/dist/{useTheme-C-T6Qisa.js → useTheme-DBiahn6p.js} +2 -2
  114. package/dist/{useThemeProps-DeftUmqJ.js → useThemeProps-uYx_RkOH.js} +16 -14
  115. package/dist/utils/ontology.js +52 -30
  116. package/dist/{utils-CCkxV0lZ.js → utils-DNe_YYjm.js} +16 -16
  117. package/package.json +2 -1
  118. package/dist/DialogContent-BCYm_d1s.js +0 -864
  119. package/dist/FormControlLabel-DENNVXWL.js +0 -639
  120. package/dist/Typography-Dg-ROiTA.js +0 -201
  121. package/dist/components/data-management/instance-form/components/variable/index.js +0 -17
  122. package/dist/components/data-management/instance-form/components/variables/index.js +0 -41
  123. package/dist/createSvgIcon-B2WT0K4k.js +0 -87
  124. package/dist/components/{data-management/instance-form → instance-form}/components/composite-list/styled.js +0 -0
  125. package/dist/components/{data-management/instance-form → instance-form}/components/policy-list/index.js +0 -0
  126. package/dist/{extends-Cyw62AD_.js → objectWithoutPropertiesLoose-BK36oJDi.js} +9 -9
@@ -0,0 +1,379 @@
1
+ import { _ as a, a as z } from "./objectWithoutPropertiesLoose-BK36oJDi.js";
2
+ import * as B from "react";
3
+ import { a as j, P as o } from "./createStyled-BzvgQjjR.js";
4
+ import { g as N, u as L, c as w, a as E } from "./useThemeProps-uYx_RkOH.js";
5
+ import { g as k, s as u, d as O, l as S } from "./styled-LNCprp4n.js";
6
+ import { c as f } from "./createSvgIcon-DEXLbMwp.js";
7
+ import Q, { jsx as r, jsxs as X } from "react/jsx-runtime";
8
+ import { P as Y } from "./Paper-btu3j72o.js";
9
+ import { I as oo } from "./IconButton-BaiyAtmS.js";
10
+ import { T as eo } from "./Typography-Bm7PFqUT.js";
11
+ import { r as to, i as so } from "./createSvgIcon-Cfm1LkEe.js";
12
+ function ro(e) {
13
+ return k("MuiAlert", e);
14
+ }
15
+ const P = N("MuiAlert", ["root", "action", "icon", "message", "filled", "filledSuccess", "filledInfo", "filledWarning", "filledError", "outlined", "outlinedSuccess", "outlinedInfo", "outlinedWarning", "outlinedError", "standard", "standardSuccess", "standardInfo", "standardWarning", "standardError"]), no = f(/* @__PURE__ */ r("path", {
16
+ 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"
17
+ }), "SuccessOutlined"), lo = f(/* @__PURE__ */ r("path", {
18
+ d: "M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"
19
+ }), "ReportProblemOutlined"), ao = f(/* @__PURE__ */ r("path", {
20
+ 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"
21
+ }), "ErrorOutline"), co = f(/* @__PURE__ */ r("path", {
22
+ 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"
23
+ }), "InfoOutlined"), io = f(/* @__PURE__ */ r("path", {
24
+ 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"
25
+ }), "Close"), po = ["action", "children", "className", "closeText", "color", "components", "componentsProps", "icon", "iconMapping", "onClose", "role", "severity", "slotProps", "slots", "variant"], uo = (e) => {
26
+ const {
27
+ variant: t,
28
+ color: n,
29
+ severity: l,
30
+ classes: s
31
+ } = e, c = {
32
+ root: ["root", `${t}${j(n || l)}`, `${t}`],
33
+ icon: ["icon"],
34
+ message: ["message"],
35
+ action: ["action"]
36
+ };
37
+ return E(c, ro, s);
38
+ }, fo = u(Y, {
39
+ name: "MuiAlert",
40
+ slot: "Root",
41
+ overridesResolver: (e, t) => {
42
+ const {
43
+ ownerState: n
44
+ } = e;
45
+ return [t.root, t[n.variant], t[`${n.variant}${j(n.color || n.severity)}`]];
46
+ }
47
+ })(({
48
+ theme: e,
49
+ ownerState: t
50
+ }) => {
51
+ const n = e.palette.mode === "light" ? O : S, l = e.palette.mode === "light" ? S : O, s = t.color || t.severity;
52
+ return a({}, e.typography.body2, {
53
+ backgroundColor: "transparent",
54
+ display: "flex",
55
+ padding: "6px 16px"
56
+ }, s && t.variant === "standard" && {
57
+ color: e.vars ? e.vars.palette.Alert[`${s}Color`] : n(e.palette[s].light, 0.6),
58
+ backgroundColor: e.vars ? e.vars.palette.Alert[`${s}StandardBg`] : l(e.palette[s].light, 0.9),
59
+ [`& .${P.icon}`]: e.vars ? {
60
+ color: e.vars.palette.Alert[`${s}IconColor`]
61
+ } : {
62
+ color: e.palette[s].main
63
+ }
64
+ }, s && t.variant === "outlined" && {
65
+ color: e.vars ? e.vars.palette.Alert[`${s}Color`] : n(e.palette[s].light, 0.6),
66
+ border: `1px solid ${(e.vars || e).palette[s].light}`,
67
+ [`& .${P.icon}`]: e.vars ? {
68
+ color: e.vars.palette.Alert[`${s}IconColor`]
69
+ } : {
70
+ color: e.palette[s].main
71
+ }
72
+ }, s && t.variant === "filled" && a({
73
+ fontWeight: e.typography.fontWeightMedium
74
+ }, e.vars ? {
75
+ color: e.vars.palette.Alert[`${s}FilledColor`],
76
+ backgroundColor: e.vars.palette.Alert[`${s}FilledBg`]
77
+ } : {
78
+ backgroundColor: e.palette.mode === "dark" ? e.palette[s].dark : e.palette[s].main,
79
+ color: e.palette.getContrastText(e.palette[s].main)
80
+ }));
81
+ }), go = u("div", {
82
+ name: "MuiAlert",
83
+ slot: "Icon",
84
+ overridesResolver: (e, t) => t.icon
85
+ })({
86
+ marginRight: 12,
87
+ padding: "7px 0",
88
+ display: "flex",
89
+ fontSize: 22,
90
+ opacity: 0.9
91
+ }), vo = u("div", {
92
+ name: "MuiAlert",
93
+ slot: "Message",
94
+ overridesResolver: (e, t) => t.message
95
+ })({
96
+ padding: "8px 0",
97
+ minWidth: 0,
98
+ overflow: "auto"
99
+ }), R = u("div", {
100
+ name: "MuiAlert",
101
+ slot: "Action",
102
+ overridesResolver: (e, t) => t.action
103
+ })({
104
+ display: "flex",
105
+ alignItems: "flex-start",
106
+ padding: "4px 0 0 16px",
107
+ marginLeft: "auto",
108
+ marginRight: -8
109
+ }), _ = {
110
+ success: /* @__PURE__ */ r(no, {
111
+ fontSize: "inherit"
112
+ }),
113
+ warning: /* @__PURE__ */ r(lo, {
114
+ fontSize: "inherit"
115
+ }),
116
+ error: /* @__PURE__ */ r(ao, {
117
+ fontSize: "inherit"
118
+ }),
119
+ info: /* @__PURE__ */ r(co, {
120
+ fontSize: "inherit"
121
+ })
122
+ }, mo = /* @__PURE__ */ B.forwardRef(function(t, n) {
123
+ var l, s, c, p, g, y;
124
+ const v = L({
125
+ props: t,
126
+ name: "MuiAlert"
127
+ }), {
128
+ action: m,
129
+ children: W,
130
+ className: H,
131
+ closeText: h = "Close",
132
+ color: U,
133
+ components: I = {},
134
+ componentsProps: M = {},
135
+ icon: T,
136
+ iconMapping: V = _,
137
+ onClose: x,
138
+ role: q = "alert",
139
+ severity: A = "success",
140
+ slotProps: b = {},
141
+ slots: $ = {},
142
+ variant: D = "standard"
143
+ } = v, F = z(v, po), i = a({}, v, {
144
+ color: U,
145
+ severity: A,
146
+ variant: D
147
+ }), d = uo(i), Z = (l = (s = $.closeButton) != null ? s : I.CloseButton) != null ? l : oo, G = (c = (p = $.closeIcon) != null ? p : I.CloseIcon) != null ? c : io, J = (g = b.closeButton) != null ? g : M.closeButton, K = (y = b.closeIcon) != null ? y : M.closeIcon;
148
+ return /* @__PURE__ */ X(fo, a({
149
+ role: q,
150
+ elevation: 0,
151
+ ownerState: i,
152
+ className: w(d.root, H),
153
+ ref: n
154
+ }, F, {
155
+ children: [T !== !1 ? /* @__PURE__ */ r(go, {
156
+ ownerState: i,
157
+ className: d.icon,
158
+ children: T || V[A] || _[A]
159
+ }) : null, /* @__PURE__ */ r(vo, {
160
+ ownerState: i,
161
+ className: d.message,
162
+ children: W
163
+ }), m != null ? /* @__PURE__ */ r(R, {
164
+ ownerState: i,
165
+ className: d.action,
166
+ children: m
167
+ }) : null, m == null && x ? /* @__PURE__ */ r(R, {
168
+ ownerState: i,
169
+ className: d.action,
170
+ children: /* @__PURE__ */ r(Z, a({
171
+ size: "small",
172
+ "aria-label": h,
173
+ title: h,
174
+ color: "inherit",
175
+ onClick: x
176
+ }, J, {
177
+ children: /* @__PURE__ */ r(G, a({
178
+ fontSize: "small"
179
+ }, K))
180
+ }))
181
+ }) : null]
182
+ }));
183
+ });
184
+ process.env.NODE_ENV !== "production" && (mo.propTypes = {
185
+ // ----------------------------- Warning --------------------------------
186
+ // | These PropTypes are generated from the TypeScript type definitions |
187
+ // | To update them edit the d.ts file and run "yarn proptypes" |
188
+ // ----------------------------------------------------------------------
189
+ /**
190
+ * The action to display. It renders after the message, at the end of the alert.
191
+ */
192
+ action: o.node,
193
+ /**
194
+ * The content of the component.
195
+ */
196
+ children: o.node,
197
+ /**
198
+ * Override or extend the styles applied to the component.
199
+ */
200
+ classes: o.object,
201
+ /**
202
+ * @ignore
203
+ */
204
+ className: o.string,
205
+ /**
206
+ * Override the default label for the *close popup* icon button.
207
+ *
208
+ * For localization purposes, you can use the provided [translations](/material-ui/guides/localization/).
209
+ * @default 'Close'
210
+ */
211
+ closeText: o.string,
212
+ /**
213
+ * The color of the component. Unless provided, the value is taken from the `severity` prop.
214
+ * It supports both default and custom theme colors, which can be added as shown in the
215
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
216
+ */
217
+ color: o.oneOfType([o.oneOf(["error", "info", "success", "warning"]), o.string]),
218
+ /**
219
+ * The components used for each slot inside.
220
+ *
221
+ * This prop is an alias for the `slots` prop.
222
+ * It's recommended to use the `slots` prop instead.
223
+ *
224
+ * @default {}
225
+ */
226
+ components: o.shape({
227
+ CloseButton: o.elementType,
228
+ CloseIcon: o.elementType
229
+ }),
230
+ /**
231
+ * The extra props for the slot components.
232
+ * You can override the existing props or add new ones.
233
+ *
234
+ * This prop is an alias for the `slotProps` prop.
235
+ * It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
236
+ *
237
+ * @default {}
238
+ */
239
+ componentsProps: o.shape({
240
+ closeButton: o.object,
241
+ closeIcon: o.object
242
+ }),
243
+ /**
244
+ * Override the icon displayed before the children.
245
+ * Unless provided, the icon is mapped to the value of the `severity` prop.
246
+ * Set to `false` to remove the `icon`.
247
+ */
248
+ icon: o.node,
249
+ /**
250
+ * The component maps the `severity` prop to a range of different icons,
251
+ * for instance success to `<SuccessOutlined>`.
252
+ * If you wish to change this mapping, you can provide your own.
253
+ * Alternatively, you can use the `icon` prop to override the icon displayed.
254
+ */
255
+ iconMapping: o.shape({
256
+ error: o.node,
257
+ info: o.node,
258
+ success: o.node,
259
+ warning: o.node
260
+ }),
261
+ /**
262
+ * Callback fired when the component requests to be closed.
263
+ * When provided and no `action` prop is set, a close icon button is displayed that triggers the callback when clicked.
264
+ * @param {React.SyntheticEvent} event The event source of the callback.
265
+ */
266
+ onClose: o.func,
267
+ /**
268
+ * The ARIA role attribute of the element.
269
+ * @default 'alert'
270
+ */
271
+ role: o.string,
272
+ /**
273
+ * The severity of the alert. This defines the color and icon used.
274
+ * @default 'success'
275
+ */
276
+ severity: o.oneOf(["error", "info", "success", "warning"]),
277
+ /**
278
+ * The extra props for the slot components.
279
+ * You can override the existing props or add new ones.
280
+ *
281
+ * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
282
+ *
283
+ * @default {}
284
+ */
285
+ slotProps: o.shape({
286
+ closeButton: o.object,
287
+ closeIcon: o.object
288
+ }),
289
+ /**
290
+ * The components used for each slot inside.
291
+ *
292
+ * This prop is an alias for the `components` prop, which will be deprecated in the future.
293
+ *
294
+ * @default {}
295
+ */
296
+ slots: o.shape({
297
+ closeButton: o.elementType,
298
+ closeIcon: o.elementType
299
+ }),
300
+ /**
301
+ * The system prop that allows defining system overrides as well as additional CSS styles.
302
+ */
303
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
304
+ /**
305
+ * The variant to use.
306
+ * @default 'standard'
307
+ */
308
+ variant: o.oneOfType([o.oneOf(["filled", "outlined", "standard"]), o.string])
309
+ });
310
+ function Ao(e) {
311
+ return k("MuiAlertTitle", e);
312
+ }
313
+ N("MuiAlertTitle", ["root"]);
314
+ const Co = ["className"], yo = (e) => {
315
+ const {
316
+ classes: t
317
+ } = e;
318
+ return E({
319
+ root: ["root"]
320
+ }, Ao, t);
321
+ }, ho = u(eo, {
322
+ name: "MuiAlertTitle",
323
+ slot: "Root",
324
+ overridesResolver: (e, t) => t.root
325
+ })(({
326
+ theme: e
327
+ }) => ({
328
+ fontWeight: e.typography.fontWeightMedium,
329
+ marginTop: -2
330
+ })), Io = /* @__PURE__ */ B.forwardRef(function(t, n) {
331
+ const l = L({
332
+ props: t,
333
+ name: "MuiAlertTitle"
334
+ }), {
335
+ className: s
336
+ } = l, c = z(l, Co), p = l, g = yo(p);
337
+ return /* @__PURE__ */ r(ho, a({
338
+ gutterBottom: !0,
339
+ component: "div",
340
+ ownerState: p,
341
+ ref: n,
342
+ className: w(g.root, s)
343
+ }, c));
344
+ });
345
+ process.env.NODE_ENV !== "production" && (Io.propTypes = {
346
+ // ----------------------------- Warning --------------------------------
347
+ // | These PropTypes are generated from the TypeScript type definitions |
348
+ // | To update them edit the d.ts file and run "yarn proptypes" |
349
+ // ----------------------------------------------------------------------
350
+ /**
351
+ * The content of the component.
352
+ */
353
+ children: o.node,
354
+ /**
355
+ * Override or extend the styles applied to the component.
356
+ */
357
+ classes: o.object,
358
+ /**
359
+ * @ignore
360
+ */
361
+ className: o.string,
362
+ /**
363
+ * The system prop that allows defining system overrides as well as additional CSS styles.
364
+ */
365
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
366
+ });
367
+ var C = {}, Mo = so;
368
+ Object.defineProperty(C, "__esModule", {
369
+ value: !0
370
+ });
371
+ var To = C.default = void 0, xo = Mo(to()), bo = Q;
372
+ To = C.default = (0, xo.default)(/* @__PURE__ */ (0, bo.jsx)("path", {
373
+ d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"
374
+ }), "Add");
375
+ export {
376
+ mo as A,
377
+ Io as a,
378
+ To as d
379
+ };
@@ -0,0 +1,70 @@
1
+ import { s as h, b as y, P as s } from "./createStyled-BzvgQjjR.js";
2
+ import { c as N, C as B } from "./styled-LNCprp4n.js";
3
+ import { a as T, _ as g } from "./objectWithoutPropertiesLoose-BK36oJDi.js";
4
+ import * as b from "react";
5
+ import { d as v } from "./useThemeProps-uYx_RkOH.js";
6
+ import { jsx as C } from "react/jsx-runtime";
7
+ import { e as P } from "./extendSxProp-qqdkfHzS.js";
8
+ function f(o) {
9
+ var t, r, e = "";
10
+ if (typeof o == "string" || typeof o == "number") e += o;
11
+ else if (typeof o == "object") if (Array.isArray(o)) {
12
+ var a = o.length;
13
+ for (t = 0; t < a; t++) o[t] && (r = f(o[t])) && (e && (e += " "), e += r);
14
+ } else for (r in o) o[r] && (e && (e += " "), e += r);
15
+ return e;
16
+ }
17
+ function _() {
18
+ for (var o, t, r = 0, e = "", a = arguments.length; r < a; r++) (o = arguments[r]) && (t = f(o)) && (e && (e += " "), e += t);
19
+ return e;
20
+ }
21
+ const j = ["className", "component"];
22
+ function O(o = {}) {
23
+ const {
24
+ themeId: t,
25
+ defaultTheme: r,
26
+ defaultClassName: e = "MuiBox-root",
27
+ generateClassName: a
28
+ } = o, i = h("div", {
29
+ shouldForwardProp: (n) => n !== "theme" && n !== "sx" && n !== "as"
30
+ })(y);
31
+ return /* @__PURE__ */ b.forwardRef(function(u, l) {
32
+ const m = v(r), c = P(u), {
33
+ className: p,
34
+ component: d = "div"
35
+ } = c, x = T(c, j);
36
+ return /* @__PURE__ */ C(i, g({
37
+ as: d,
38
+ ref: l,
39
+ className: _(p, a ? a(e) : e),
40
+ theme: t && m[t] || m
41
+ }, x));
42
+ });
43
+ }
44
+ const R = N(), S = O({
45
+ defaultTheme: R,
46
+ defaultClassName: "MuiBox-root",
47
+ generateClassName: B.generate
48
+ });
49
+ process.env.NODE_ENV !== "production" && (S.propTypes = {
50
+ // ----------------------------- Warning --------------------------------
51
+ // | These PropTypes are generated from the TypeScript type definitions |
52
+ // | To update them edit the d.ts file and run "yarn proptypes" |
53
+ // ----------------------------------------------------------------------
54
+ /**
55
+ * @ignore
56
+ */
57
+ children: s.node,
58
+ /**
59
+ * The component used for the root node.
60
+ * Either a string to use a HTML element or a component.
61
+ */
62
+ component: s.elementType,
63
+ /**
64
+ * The system prop that allows defining system overrides as well as additional CSS styles.
65
+ */
66
+ sx: s.oneOfType([s.arrayOf(s.oneOfType([s.func, s.object, s.bool])), s.func, s.object])
67
+ });
68
+ export {
69
+ S as B
70
+ };