@m4l/layouts 0.1.8 → 0.1.10

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.
@@ -0,0 +1,6 @@
1
+ import { useContext as t } from "react";
2
+ import { M as e } from "../../layouts/MasterDetailLayout/index.56544ac9.js";
3
+ const s = () => t(e);
4
+ export {
5
+ s as u
6
+ };
@@ -0,0 +1,11 @@
1
+ import { useContext as o } from "react";
2
+ import { M as t } from "../../layouts/ModuleLayout/index.4cfb7261.js";
3
+ const n = () => {
4
+ const e = o(t);
5
+ if (!e)
6
+ throw new Error("useModule context must be use inside ModuleContext");
7
+ return e;
8
+ };
9
+ export {
10
+ n as u
11
+ };
package/index.js CHANGED
@@ -1,12 +1,25 @@
1
- export { a as ModuleLayout, d as defaultModuleLayoutDictionary, g as getModuleLayoutComponentsDictionary } from "./layouts/ModuleLayout/index.js";
1
+ import { a as p, d as l, g as y } from "./layouts/ModuleLayout/index.4cfb7261.js";
2
2
  import "@m4l/components";
3
3
  import "react";
4
4
  import "@m4l/core";
5
- export { a as MasterDetailLayout, d as defaultMasterDetailDictionary, g as getMasterDetailLayoutComponentsDictionary } from "./layouts/MasterDetailLayout/index.js";
5
+ import { a as n, d as M, g as D } from "./layouts/MasterDetailLayout/index.56544ac9.js";
6
6
  import "@m4l/graphics";
7
7
  import "@mui/material";
8
8
  import "react/jsx-runtime";
9
- export { N as NoAuthModuleLayout, d as defaultNoAuthModuleLayoutDictionary, g as getNoAuthModuleLayoutComponentsDictionary } from "./layouts/NoAuthModuleLayout/index.js";
10
- export { u as useMasterDetail } from "./hooks/useMasterDetail/index.js";
11
- export { u as useModule } from "./hooks/useModule/index.js";
9
+ import { N as L, d as c, g } from "./layouts/NoAuthModuleLayout/index.5050b988.js";
10
+ import { u as N } from "./hooks/useMasterDetail/index.ca232c69.js";
11
+ import { u as A } from "./hooks/useModule/index.066da119.js";
12
12
  import "@mui/material/styles";
13
+ export {
14
+ n as MasterDetailLayout,
15
+ p as ModuleLayout,
16
+ L as NoAuthModuleLayout,
17
+ M as defaultMasterDetailDictionary,
18
+ l as defaultModuleLayoutDictionary,
19
+ c as defaultNoAuthModuleLayoutDictionary,
20
+ D as getMasterDetailLayoutComponentsDictionary,
21
+ y as getModuleLayoutComponentsDictionary,
22
+ g as getNoAuthModuleLayoutComponentsDictionary,
23
+ N as useMasterDetail,
24
+ A as useModule
25
+ };
@@ -0,0 +1,139 @@
1
+ import { createContext as L, useState as v, useRef as P, useCallback as z, useMemo as p } from "react";
2
+ import { voidFunction as N, useEnvironment as x } from "@m4l/core";
3
+ import { SplitLayout as R } from "@m4l/components";
4
+ import { g as B, a as V } from "../ModuleLayout/index.4cfb7261.js";
5
+ import { jsx as r } from "react/jsx-runtime";
6
+ import { useResponsiveDesktop as j } from "@m4l/graphics";
7
+ import { Button as E } from "@mui/material";
8
+ import { u as H } from "../../hooks/useMasterDetail/index.ca232c69.js";
9
+ function T() {
10
+ return ["master_detail_layout"].concat(B());
11
+ }
12
+ const ot = {
13
+ master_detail_layout: {
14
+ split_vertical: "Split vertically",
15
+ split_horizontal: "Split horizontally",
16
+ no_split: "No split",
17
+ view_detail: "View detail"
18
+ }
19
+ }, W = {
20
+ masterSelection: void 0,
21
+ onChangeMasterSelection: N
22
+ }, q = L(W);
23
+ function G(i) {
24
+ const {
25
+ children: o
26
+ } = i, [e, t] = v(void 0);
27
+ return /* @__PURE__ */ r(q.Provider, {
28
+ value: {
29
+ masterSelection: e,
30
+ onChangeMasterSelection: t
31
+ },
32
+ children: o
33
+ });
34
+ }
35
+ function J(i) {
36
+ const {
37
+ masterSelection: o
38
+ } = H(), {
39
+ onClick: e,
40
+ description: t
41
+ } = i;
42
+ return /* @__PURE__ */ r(E, {
43
+ onClick: e,
44
+ variant: "outlined",
45
+ disabled: o === void 0,
46
+ children: t
47
+ }, "miDetail");
48
+ }
49
+ function K(i, o, e, t) {
50
+ let n = t !== void 0 && t ? [...i] : [e];
51
+ return n = o.concat(n), n;
52
+ }
53
+ function et(i) {
54
+ const {
55
+ moduleId: o,
56
+ moduleNameField: e,
57
+ detailComponent: t,
58
+ moduleActions: n,
59
+ urlIcon: D,
60
+ masterComponent: M,
61
+ componentsDictionary: y,
62
+ breadcrumbLinks: S,
63
+ privileges: b,
64
+ skeletonFlags: k
65
+ } = i, {
66
+ host_static_assets: c,
67
+ environment_assets: a
68
+ } = x(), [A, w] = v("vertical"), d = j(), f = P(null), u = (m) => {
69
+ const s = [..._];
70
+ for (let l = 0; l < s.length; l++)
71
+ s[l].disabled = !1, s[l].tag === m && (s[l].disabled = !0);
72
+ $(s), w(m);
73
+ }, _ = [{
74
+ urlIcon: `${c}/${a}/frontend/components/masterdetaillayout/assets/icons/split_vertical.svg`,
75
+ onClick: () => u("vertical"),
76
+ disabled: !0,
77
+ visibility: "main",
78
+ dictionaryField: "master_detail_layout.split_vertical",
79
+ tag: "vertical",
80
+ className: "splitactions"
81
+ }, {
82
+ urlIcon: `${c}/${a}/frontend/components/masterdetaillayout/assets/icons/split_horizontal.svg`,
83
+ onClick: () => u("horizontal"),
84
+ disabled: !1,
85
+ visibility: "main",
86
+ dictionaryField: "master_detail_layout.split_horizontal",
87
+ tag: "horizontal",
88
+ className: "splitactions"
89
+ }, {
90
+ urlIcon: `${c}/${a}/frontend/components/masterdetaillayout/assets/icons/no_split.svg`,
91
+ onClick: () => u("none"),
92
+ disabled: !1,
93
+ visibility: "main",
94
+ dictionaryField: "master_detail_layout.no_split",
95
+ tag: "none",
96
+ className: "splitactions"
97
+ }], g = z(() => {
98
+ f.current?.openModal({
99
+ title: "master_detail_layout.view_detail",
100
+ initialWidth: 500,
101
+ initialHeigth: 680,
102
+ contentComponent: t,
103
+ actions: void 0
104
+ });
105
+ }, [t]), C = p(() => ({
106
+ urlIcon: `${c}/${a}/frontend/components/masterdetaillayout/assets/icons/view_detail.svg`,
107
+ onClick: g,
108
+ disabled: !1,
109
+ visibility: "allways",
110
+ dictionaryField: "master_detail_layout.view_detail",
111
+ tag: "none",
112
+ className: "",
113
+ component: J
114
+ }), [a, g]), [h, $] = v(_), F = p(() => K(h, n, C, d), [h, n, d, C]), I = p(() => y.concat(T()), [y]);
115
+ return /* @__PURE__ */ r(G, {
116
+ children: /* @__PURE__ */ r(V, {
117
+ ref: f,
118
+ moduleId: o,
119
+ moduleNameField: e,
120
+ urlIcon: D,
121
+ moduleActions: F,
122
+ privileges: b,
123
+ skeletonFlags: k,
124
+ componentsDictionary: I,
125
+ breadcrumbLinks: S,
126
+ children: /* @__PURE__ */ r(R, {
127
+ splitPosition: d ? A : "none",
128
+ firstPart: M,
129
+ secondPart: t
130
+ })
131
+ })
132
+ });
133
+ }
134
+ export {
135
+ q as M,
136
+ et as a,
137
+ ot as d,
138
+ T as g
139
+ };
@@ -0,0 +1,353 @@
1
+ import { BoxIcon as y, Breadcrumbs as T, MenuActions as A, useModal as D, ModalProvider as F, getModalDialogComponentsDictionary as L } from "@m4l/components";
2
+ import { createContext as N, useState as x, useMemo as f, forwardRef as M, useRef as b, useImperativeHandle as w } from "react";
3
+ import { styled as d, useTheme as R } from "@mui/material/styles";
4
+ import { voidFunction as S, useModuleDictionary as $, useModuleSkeleton as P, FlagsProvider as _, ModuleDictionaryProvider as B, ModuleSkeletonProvider as H, ModulePrivilegesProvider as G } from "@m4l/core";
5
+ import { Skeleton as l, Typography as j, IconButton as O } from "@mui/material";
6
+ import { useResponsiveDesktop as k } from "@m4l/graphics";
7
+ import { jsxs as p, jsx as i, Fragment as W } from "react/jsx-runtime";
8
+ import { u as z } from "../../hooks/useModule/index.066da119.js";
9
+ const q = d("div")(() => ({
10
+ display: "flex",
11
+ flexDirection: "column",
12
+ position: "absolute",
13
+ margin: "0px 12px 12px 12px",
14
+ left: "0px",
15
+ right: "0px",
16
+ top: "0px",
17
+ bottom: "0px",
18
+ overflow: "hidden"
19
+ })), K = d("div")(({
20
+ theme: e
21
+ }) => ({
22
+ display: "flex",
23
+ position: "relative",
24
+ marginTop: e.spacing(1),
25
+ justifyContent: "center",
26
+ flexGrow: "1",
27
+ overflow: "hidden"
28
+ })), E = d("div")(({
29
+ theme: e
30
+ }) => ({
31
+ display: "flex",
32
+ position: "relative",
33
+ borderBottom: `1px solid ${e.palette.divider}`,
34
+ height: "60px",
35
+ minHeight: "60px",
36
+ alignItems: "center",
37
+ " > span": {
38
+ marginRight: "12px"
39
+ },
40
+ "& > h5": {
41
+ paddingRight: e.spacing(3),
42
+ borderRight: `1px solid ${e.palette.divider}`
43
+ },
44
+ " > nav": {
45
+ marginRight: "12px",
46
+ flexGrow: 1
47
+ },
48
+ "& .splitactions.Mui-disabled": {
49
+ color: e.palette.primary.main
50
+ },
51
+ "& svg ": {
52
+ width: "20px",
53
+ height: "20px"
54
+ }
55
+ })), J = d("div")(({
56
+ theme: e
57
+ }) => ({
58
+ display: "flex",
59
+ justifyContent: "space-between",
60
+ padding: "0 0",
61
+ borderBottom: `1px solid ${e.palette.divider}`,
62
+ minHeight: "60px"
63
+ })), Q = d("div")(({
64
+ theme: e
65
+ }) => ({
66
+ display: "grid",
67
+ gridTemplateColumns: "auto",
68
+ gridGap: e.spacing(1.75),
69
+ alignItems: "center",
70
+ width: "auto",
71
+ height: "auto",
72
+ [e.breakpoints.up("sm")]: {
73
+ gridTemplateColumns: "repeat(3, auto)"
74
+ }
75
+ })), U = d("div")(({
76
+ theme: e
77
+ }) => ({
78
+ display: "grid",
79
+ gridTemplateColumns: `${e.spacing(3)} auto`,
80
+ gridGap: e.spacing(2),
81
+ alignItems: "center",
82
+ width: "auto",
83
+ height: "auto"
84
+ })), V = d("div")(({
85
+ theme: e
86
+ }) => ({
87
+ display: "none",
88
+ alignItems: "center",
89
+ width: "1px",
90
+ background: e.palette.divider,
91
+ height: "100%",
92
+ margin: `0 ${e.spacing(2)}`,
93
+ [e.breakpoints.up("sm")]: {
94
+ display: "flex"
95
+ }
96
+ })), X = d("div")(({
97
+ theme: e
98
+ }) => ({
99
+ display: "grid",
100
+ alignItems: "center",
101
+ gridTemplateColumns: "repeat(3, auto)",
102
+ gridGap: e.spacing(2)
103
+ })), Y = d("div")(({
104
+ theme: e
105
+ }) => ({
106
+ display: "grid",
107
+ gridTemplateColumns: "auto",
108
+ alignItems: "center",
109
+ width: "auto",
110
+ height: "auto",
111
+ [e.breakpoints.up("sm")]: {
112
+ gridTemplateColumns: `repeat(3, ${e.spacing(3)})`,
113
+ gridGap: e.spacing(2)
114
+ }
115
+ }));
116
+ function Z() {
117
+ const e = k();
118
+ return /* @__PURE__ */ p(J, {
119
+ id: "HeaderSkeleton",
120
+ children: [/* @__PURE__ */ p(Q, {
121
+ children: [/* @__PURE__ */ p(U, {
122
+ children: [/* @__PURE__ */ i(l, {
123
+ variant: "circular",
124
+ width: 24,
125
+ height: 24
126
+ }), /* @__PURE__ */ i(l, {
127
+ variant: "text",
128
+ width: 120,
129
+ height: 14
130
+ })]
131
+ }), /* @__PURE__ */ i(V, {}), /* @__PURE__ */ p(X, {
132
+ children: [/* @__PURE__ */ i(l, {
133
+ variant: "text",
134
+ width: 68,
135
+ height: 14
136
+ }), /* @__PURE__ */ i(l, {
137
+ variant: "circular",
138
+ width: 4,
139
+ height: 4
140
+ }), /* @__PURE__ */ i(l, {
141
+ variant: "text",
142
+ width: 68,
143
+ height: 14
144
+ })]
145
+ })]
146
+ }), /* @__PURE__ */ i(Y, {
147
+ children: e ? /* @__PURE__ */ p(W, {
148
+ children: [/* @__PURE__ */ i(l, {
149
+ variant: "circular",
150
+ width: 24,
151
+ height: 24
152
+ }), /* @__PURE__ */ i(l, {
153
+ variant: "circular",
154
+ width: 24,
155
+ height: 24
156
+ }), /* @__PURE__ */ i(l, {
157
+ variant: "circular",
158
+ width: 24,
159
+ height: 24
160
+ })]
161
+ }) : /* @__PURE__ */ i(l, {
162
+ variant: "circular",
163
+ width: 24,
164
+ height: 24
165
+ })
166
+ })]
167
+ });
168
+ }
169
+ const ee = {
170
+ moduleId: "",
171
+ moduleNameField: "module_name",
172
+ urlIcon: "",
173
+ moduleActions: [],
174
+ dynamicActions: [],
175
+ setDynamicActions: S,
176
+ breadcrumbLinks: []
177
+ }, ie = N(ee);
178
+ function te(e) {
179
+ const {
180
+ children: n,
181
+ initialModuleActions: t,
182
+ moduleId: o,
183
+ moduleNameField: a,
184
+ urlIcon: g,
185
+ breadcrumbLinks: s
186
+ } = e, [c] = x(() => ({
187
+ moduleId: o,
188
+ urlIcon: g,
189
+ moduleNameField: a,
190
+ dictionary: void 0,
191
+ breadcrumbLinks: s
192
+ })), [u, h] = x([]), r = f(() => t.concat(u), [t, u]);
193
+ return /* @__PURE__ */ i(ie.Provider, {
194
+ value: {
195
+ moduleActions: r,
196
+ dynamicActions: u,
197
+ setDynamicActions: h,
198
+ moduleId: c.moduleId,
199
+ moduleNameField: c.moduleNameField,
200
+ urlIcon: c.urlIcon,
201
+ breadcrumbLinks: c.breadcrumbLinks
202
+ },
203
+ children: n
204
+ });
205
+ }
206
+ function oe(e, n) {
207
+ let t = [...n.filter((o) => o.visibility !== "allways")];
208
+ return e !== void 0 && e && (t = t.filter((o) => o.visibility === "normal")), t;
209
+ }
210
+ function ne(e, n) {
211
+ let t = [];
212
+ return e !== void 0 && e && (t = t.concat(n.filter((o) => o.visibility === "main"))), t = t.concat(n.filter((o) => o.visibility === "allways")), t;
213
+ }
214
+ function re() {
215
+ const {
216
+ moduleActions: e,
217
+ moduleNameField: n,
218
+ breadcrumbLinks: t,
219
+ urlIcon: o
220
+ } = z(), {
221
+ getLabel: a
222
+ } = $(), g = R(), s = k(), c = P(), u = f(
223
+ () => oe(s, e),
224
+ [e, s]
225
+ ), h = f(() => ne(s, e), [e, s]);
226
+ return c ? /* @__PURE__ */ i(Z, {}) : /* @__PURE__ */ p(E, {
227
+ id: "Header",
228
+ children: [/* @__PURE__ */ i(y, {
229
+ src: o,
230
+ sx: {
231
+ color: g.palette.primary.main
232
+ }
233
+ }), /* @__PURE__ */ i(j, {
234
+ variant: "h5",
235
+ sx: {
236
+ maxWidth: 260,
237
+ overflow: "hidden",
238
+ whiteSpace: "nowrap",
239
+ color: "text.primary",
240
+ marginRight: "24px",
241
+ textOverflow: "ellipsis"
242
+ },
243
+ children: a(n)
244
+ }), /* @__PURE__ */ i(T, {
245
+ links: t
246
+ }), h.map((r, m) => {
247
+ const v = a(r.dictionaryField);
248
+ return r.component ? /* @__PURE__ */ i(r.component, {
249
+ description: v,
250
+ onClick: r.onClick
251
+ }, `main_action_${m}`) : /* @__PURE__ */ i(O, {
252
+ className: r.className,
253
+ onClick: r.onClick,
254
+ "aria-label": `${v}`,
255
+ disabled: r.disabled,
256
+ children: /* @__PURE__ */ i(y, {
257
+ src: r.urlIcon,
258
+ sx: {
259
+ width: 18,
260
+ height: 18
261
+ }
262
+ })
263
+ }, `main_action_${m}`);
264
+ }), u.length > 0 && /* @__PURE__ */ i(A, {
265
+ arrow: "right-top",
266
+ marginTop: "-11px",
267
+ anchorOrigin: {
268
+ vertical: "top",
269
+ horizontal: "left"
270
+ },
271
+ transformOrigin: {
272
+ vertical: "top",
273
+ horizontal: "right"
274
+ },
275
+ menuActions: u
276
+ })]
277
+ });
278
+ }
279
+ const I = M((e, n) => {
280
+ const {
281
+ children: t
282
+ } = e, {
283
+ openModal: o
284
+ } = D(), a = b(null);
285
+ return w(n, () => ({
286
+ openModal: o,
287
+ current: a.current
288
+ })), /* @__PURE__ */ p(q, {
289
+ id: "WrapperModule",
290
+ ref: a,
291
+ children: [/* @__PURE__ */ i(re, {}), /* @__PURE__ */ i(K, {
292
+ id: "ModuleContent",
293
+ children: t
294
+ })]
295
+ });
296
+ });
297
+ I.displayName = "Module";
298
+ const ae = M((e, n) => {
299
+ const {
300
+ moduleId: t,
301
+ moduleNameField: o = "module_name",
302
+ moduleActions: a,
303
+ urlIcon: g,
304
+ children: s,
305
+ componentsDictionary: c,
306
+ breadcrumbLinks: u,
307
+ privileges: h,
308
+ skeletonFlags: r
309
+ } = e, m = b(null), v = (C) => {
310
+ m.current?.openModal(C);
311
+ };
312
+ return w(n, () => ({
313
+ openModal: v,
314
+ current: m.current
315
+ })), /* @__PURE__ */ i(_, {
316
+ children: /* @__PURE__ */ i(B, {
317
+ moduleId: t,
318
+ componentsDictionary: c,
319
+ children: /* @__PURE__ */ i(H, {
320
+ flags: r,
321
+ children: /* @__PURE__ */ i(G, {
322
+ queryPrivileges: h,
323
+ children: /* @__PURE__ */ i(te, {
324
+ moduleId: t,
325
+ urlIcon: g,
326
+ moduleNameField: o,
327
+ initialModuleActions: a,
328
+ breadcrumbLinks: u,
329
+ children: /* @__PURE__ */ i(F, {
330
+ children: /* @__PURE__ */ i(I, {
331
+ ref: m,
332
+ children: s
333
+ })
334
+ })
335
+ })
336
+ })
337
+ })
338
+ })
339
+ });
340
+ });
341
+ ae.displayName = "ModuleLayout";
342
+ function he() {
343
+ return ["module_layout"].concat(L());
344
+ }
345
+ const ve = {
346
+ module_layout: {}
347
+ };
348
+ export {
349
+ ie as M,
350
+ ae as a,
351
+ ve as d,
352
+ he as g
353
+ };
@@ -7,7 +7,7 @@ export declare const SectionStyle: import("@emotion/styled").StyledComponent<Omi
7
7
  sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
8
8
  } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
9
9
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
10
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "translate" | "slot" | "title" | "children" | "ref" | "sx" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "elevation" | "square" | "variant" | "raised"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
10
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "translate" | "slot" | "title" | "children" | "ref" | "sx" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "elevation" | "square" | "variant" | "raised"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
11
11
  export declare const ContentStyle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
12
12
  export declare const TitleContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
13
13
  export declare const ModuleTitleContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;