@bpfdev/oly-ui 1.0.1 → 1.0.3
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/README.md +4 -0
- package/dist/index.d.mts +69 -17
- package/dist/index.d.ts +69 -17
- package/dist/index.js +285 -2527
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +292 -2530
- package/dist/index.mjs.map +1 -1
- package/package.json +66 -59
package/dist/index.mjs
CHANGED
|
@@ -52,7 +52,7 @@ var AddCommentInput = ({
|
|
|
52
52
|
import { Close as CloseIcon } from "@mui/icons-material";
|
|
53
53
|
import {
|
|
54
54
|
Box as Box2,
|
|
55
|
-
Button as
|
|
55
|
+
Button as Button2,
|
|
56
56
|
Dialog,
|
|
57
57
|
DialogActions,
|
|
58
58
|
DialogContent,
|
|
@@ -63,11 +63,12 @@ import {
|
|
|
63
63
|
|
|
64
64
|
// src/components/FalconMultiSelect/FalconMultiSelect.tsx
|
|
65
65
|
import { Icon } from "@iconify/react";
|
|
66
|
-
import {
|
|
66
|
+
import { Stack, Typography } from "@mui/material";
|
|
67
67
|
import Autocomplete, {
|
|
68
68
|
autocompleteClasses
|
|
69
69
|
} from "@mui/material/Autocomplete";
|
|
70
70
|
import Box from "@mui/material/Box";
|
|
71
|
+
import ButtonBase from "@mui/material/ButtonBase";
|
|
71
72
|
import Checkbox from "@mui/material/Checkbox";
|
|
72
73
|
import ClickAwayListener from "@mui/material/ClickAwayListener";
|
|
73
74
|
import Popper from "@mui/material/Popper";
|
|
@@ -75,86 +76,108 @@ import TextField2 from "@mui/material/TextField";
|
|
|
75
76
|
import { styled } from "@mui/material/styles";
|
|
76
77
|
import * as React from "react";
|
|
77
78
|
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
79
|
+
import { createElement } from "react";
|
|
80
|
+
var FalconMultiSelect = ({
|
|
81
|
+
// core
|
|
82
|
+
label,
|
|
83
|
+
data,
|
|
84
|
+
setData,
|
|
85
|
+
list,
|
|
86
|
+
// trigger
|
|
87
|
+
triggerBg = "#EFEFEF",
|
|
88
|
+
triggerColor,
|
|
89
|
+
triggerMinWidth = 250,
|
|
90
|
+
triggerBorderRadius = "6px",
|
|
91
|
+
triggerSx,
|
|
92
|
+
// popper panel
|
|
93
|
+
popperWidth = 300,
|
|
94
|
+
popperBorderColor = "#e1e4e8",
|
|
95
|
+
popperBorderColorDark = "#30363d",
|
|
96
|
+
popperBg = "#fff",
|
|
97
|
+
popperBgDark = "#1c2128",
|
|
98
|
+
popperColor = "#24292e",
|
|
99
|
+
popperColorDark = "#c9d1d9",
|
|
100
|
+
// options
|
|
101
|
+
optionBorderColor = "#D6D6D6",
|
|
102
|
+
optionHeight = 60,
|
|
103
|
+
checkboxColor = "green",
|
|
104
|
+
checkboxCheckedColor = "#6750A4",
|
|
105
|
+
// search
|
|
106
|
+
searchLabel = "Search State",
|
|
107
|
+
searchIconColor = "#49454F",
|
|
108
|
+
// buttons
|
|
109
|
+
applyBg = "#333",
|
|
110
|
+
applyColor = "white",
|
|
111
|
+
applyLabel = "Apply",
|
|
112
|
+
clearColor = "black",
|
|
113
|
+
clearLabel = "Clear"
|
|
114
|
+
}) => {
|
|
115
|
+
const [checked, setChecked] = React.useState(
|
|
116
|
+
data ?? []
|
|
83
117
|
);
|
|
118
|
+
const [anchorEl, setAnchorEl] = React.useState(null);
|
|
84
119
|
const [pendingValue, setPendingValue] = React.useState([]);
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
}, [data]);
|
|
120
|
+
const open = Boolean(anchorEl);
|
|
121
|
+
const id = open ? "falcon-multiselect" : void 0;
|
|
88
122
|
const handleClick = (event) => {
|
|
89
|
-
setPendingValue(
|
|
123
|
+
setPendingValue(checked);
|
|
90
124
|
setAnchorEl(event.currentTarget);
|
|
91
125
|
};
|
|
92
|
-
const OnSubmit = () => {
|
|
93
|
-
if (checked.length > 0) {
|
|
94
|
-
setData(checked);
|
|
95
|
-
handleClose();
|
|
96
|
-
} else {
|
|
97
|
-
setData([]);
|
|
98
|
-
handleClose();
|
|
99
|
-
}
|
|
100
|
-
};
|
|
101
126
|
const handleClose = () => {
|
|
102
|
-
|
|
103
|
-
if (anchorEl) {
|
|
104
|
-
anchorEl.focus();
|
|
105
|
-
}
|
|
127
|
+
if (anchorEl) anchorEl.focus();
|
|
106
128
|
setAnchorEl(null);
|
|
107
129
|
};
|
|
108
|
-
const
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
setChecked((pre) => [...pre, obj]);
|
|
117
|
-
} else {
|
|
118
|
-
const value2 = checked.filter((x) => x.id !== obj.id);
|
|
119
|
-
setChecked(value2);
|
|
120
|
-
}
|
|
121
|
-
} else {
|
|
122
|
-
setChecked((pre) => [...pre, obj]);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
130
|
+
const handleApply = () => {
|
|
131
|
+
setData(checked);
|
|
132
|
+
handleClose();
|
|
133
|
+
};
|
|
134
|
+
const handleClear = () => {
|
|
135
|
+
setChecked([]);
|
|
136
|
+
setData([]);
|
|
137
|
+
handleClose();
|
|
125
138
|
};
|
|
139
|
+
const handleToggle = (option) => {
|
|
140
|
+
setChecked((prev) => {
|
|
141
|
+
const exists = prev.some((x) => x.id === option.id);
|
|
142
|
+
return exists ? prev.filter((x) => x.id !== option.id) : [...prev, option];
|
|
143
|
+
});
|
|
144
|
+
};
|
|
145
|
+
const triggerLabel = checked.length === 0 ? `Filter by ${label}` : checked.length === 1 ? checked[0].name : `${checked[0].name}, ${checked[1].name}${checked.length > 2 ? "\u2026" : ""}`;
|
|
126
146
|
return /* @__PURE__ */ jsxs(React.Fragment, { children: [
|
|
127
|
-
/* @__PURE__ */
|
|
128
|
-
|
|
147
|
+
/* @__PURE__ */ jsxs(
|
|
148
|
+
Stack,
|
|
129
149
|
{
|
|
130
|
-
|
|
150
|
+
direction: "row",
|
|
151
|
+
alignItems: "center",
|
|
152
|
+
justifyContent: "space-between",
|
|
153
|
+
gap: 2,
|
|
154
|
+
onClick: handleClick,
|
|
131
155
|
sx: {
|
|
132
|
-
|
|
156
|
+
minWidth: triggerMinWidth,
|
|
157
|
+
background: triggerBg,
|
|
158
|
+
borderRadius: triggerBorderRadius,
|
|
159
|
+
cursor: "pointer",
|
|
160
|
+
padding: "12px",
|
|
161
|
+
...triggerColor ? { color: triggerColor } : {},
|
|
162
|
+
...triggerSx
|
|
133
163
|
},
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
onClick: handleClick,
|
|
152
|
-
children: [
|
|
153
|
-
/* @__PURE__ */ jsx2(Typography, { variant: "body2", children: checked.length > 0 ? checked.length > 1 ? `${checked[0].name}, ${checked[1].name}${checked.length > 2 ? ` +${checked.length - 2} more` : ""}` : `${checked[0].name}` : `Filter by ${label}` }),
|
|
154
|
-
/* @__PURE__ */ jsx2(Icon, { icon: anchorEl ? "tabler:chevron-up" : "tabler:chevron-down" })
|
|
155
|
-
]
|
|
156
|
-
}
|
|
157
|
-
)
|
|
164
|
+
children: [
|
|
165
|
+
/* @__PURE__ */ jsx2(
|
|
166
|
+
Typography,
|
|
167
|
+
{
|
|
168
|
+
variant: "body2",
|
|
169
|
+
sx: triggerColor ? { color: triggerColor } : void 0,
|
|
170
|
+
children: triggerLabel
|
|
171
|
+
}
|
|
172
|
+
),
|
|
173
|
+
/* @__PURE__ */ jsx2(
|
|
174
|
+
Icon,
|
|
175
|
+
{
|
|
176
|
+
icon: open ? "tabler:chevron-up" : "tabler:chevron-down",
|
|
177
|
+
color: triggerColor
|
|
178
|
+
}
|
|
179
|
+
)
|
|
180
|
+
]
|
|
158
181
|
}
|
|
159
182
|
),
|
|
160
183
|
/* @__PURE__ */ jsx2(
|
|
@@ -163,132 +186,120 @@ var FalconMultiSelect = ({ label, data, setData, list }) => {
|
|
|
163
186
|
id,
|
|
164
187
|
open,
|
|
165
188
|
anchorEl,
|
|
166
|
-
placement: "bottom",
|
|
167
|
-
|
|
189
|
+
placement: "bottom-start",
|
|
190
|
+
ownerState: {
|
|
191
|
+
popperWidth,
|
|
192
|
+
popperBorderColor,
|
|
193
|
+
popperBorderColorDark,
|
|
194
|
+
popperBg,
|
|
195
|
+
popperBgDark,
|
|
196
|
+
popperColor,
|
|
197
|
+
popperColorDark
|
|
198
|
+
},
|
|
168
199
|
children: /* @__PURE__ */ jsx2(ClickAwayListener, { onClickAway: handleClose, children: /* @__PURE__ */ jsxs("div", { children: [
|
|
169
200
|
/* @__PURE__ */ jsx2(
|
|
170
201
|
Autocomplete,
|
|
171
202
|
{
|
|
172
203
|
open: true,
|
|
173
204
|
multiple: true,
|
|
174
|
-
onClose: (
|
|
175
|
-
if (reason === "escape")
|
|
176
|
-
handleClose();
|
|
177
|
-
}
|
|
205
|
+
onClose: (_, reason) => {
|
|
206
|
+
if (reason === "escape") handleClose();
|
|
178
207
|
},
|
|
179
208
|
value: pendingValue,
|
|
180
|
-
|
|
209
|
+
onChange: (_, newValue) => setPendingValue(newValue),
|
|
181
210
|
disableCloseOnSelect: true,
|
|
182
|
-
PopperComponent,
|
|
211
|
+
slots: { popper: PopperComponent },
|
|
183
212
|
noOptionsText: "No labels",
|
|
184
|
-
|
|
213
|
+
options: list,
|
|
214
|
+
getOptionLabel: (option) => option.name,
|
|
215
|
+
isOptionEqualToValue: (option, val) => option.id === val.id,
|
|
216
|
+
renderOption: (props, option) => /* @__PURE__ */ createElement(
|
|
185
217
|
"li",
|
|
186
218
|
{
|
|
187
219
|
...props,
|
|
220
|
+
key: option.id,
|
|
188
221
|
style: {
|
|
222
|
+
height: optionHeight,
|
|
223
|
+
border: `1px solid ${optionBorderColor}`,
|
|
224
|
+
margin: "16px 12px",
|
|
225
|
+
flexShrink: 0,
|
|
226
|
+
borderRadius: 6,
|
|
189
227
|
justifyContent: "space-between",
|
|
190
228
|
alignItems: "center"
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
/* @__PURE__ */ jsx2(
|
|
232
|
+
Box,
|
|
233
|
+
{
|
|
234
|
+
sx: {
|
|
235
|
+
flexGrow: 3,
|
|
236
|
+
borderRadius: "3px",
|
|
237
|
+
ml: 1,
|
|
238
|
+
mt: "1px",
|
|
239
|
+
justifyContent: "start",
|
|
240
|
+
alignItems: "center",
|
|
241
|
+
width: "80%",
|
|
242
|
+
fontSize: "13px"
|
|
243
|
+
},
|
|
244
|
+
children: option.name
|
|
245
|
+
}
|
|
246
|
+
),
|
|
247
|
+
/* @__PURE__ */ jsx2(
|
|
248
|
+
Box,
|
|
249
|
+
{
|
|
250
|
+
component: "span",
|
|
251
|
+
sx: {
|
|
252
|
+
flexShrink: 0,
|
|
253
|
+
borderRadius: "3px",
|
|
254
|
+
mr: 1,
|
|
255
|
+
mt: "2px",
|
|
256
|
+
flexGrow: 1,
|
|
257
|
+
justifyContent: "end",
|
|
258
|
+
width: "20%",
|
|
259
|
+
alignItems: "center"
|
|
260
|
+
},
|
|
261
|
+
children: /* @__PURE__ */ jsx2(
|
|
262
|
+
Checkbox,
|
|
211
263
|
{
|
|
212
|
-
|
|
264
|
+
slotProps: { input: { "aria-label": option.name } },
|
|
265
|
+
checked: checked.some((x) => x.id === option.id),
|
|
266
|
+
onChange: () => handleToggle(option),
|
|
213
267
|
sx: {
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
mt: "2px",
|
|
218
|
-
justifyContent: "end",
|
|
219
|
-
width: "20%",
|
|
220
|
-
alignItems: "center"
|
|
221
|
-
},
|
|
222
|
-
children: /* @__PURE__ */ jsx2(
|
|
223
|
-
Checkbox,
|
|
224
|
-
{
|
|
225
|
-
sx: {
|
|
226
|
-
color: "green",
|
|
227
|
-
"&.Mui-checked": {
|
|
228
|
-
color: "#6750A4"
|
|
229
|
-
}
|
|
230
|
-
},
|
|
231
|
-
...label1,
|
|
232
|
-
checked: checked.some((x) => Number(x.id) === option.id),
|
|
233
|
-
onChange: () => {
|
|
234
|
-
handleMultiSelectChange(option);
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
)
|
|
268
|
+
color: checkboxColor,
|
|
269
|
+
"&.Mui-checked": { color: checkboxCheckedColor }
|
|
270
|
+
}
|
|
238
271
|
}
|
|
239
272
|
)
|
|
240
|
-
|
|
241
|
-
|
|
273
|
+
}
|
|
274
|
+
)
|
|
242
275
|
),
|
|
243
|
-
options: [...list]?.sort((a, b) => {
|
|
244
|
-
let ai = value.indexOf(a);
|
|
245
|
-
ai = ai === -1 ? value.length + list?.indexOf(a) : ai;
|
|
246
|
-
let bi = value.indexOf(b);
|
|
247
|
-
bi = bi === -1 ? value.length + list?.indexOf(b) : bi;
|
|
248
|
-
return ai - bi;
|
|
249
|
-
}),
|
|
250
|
-
getOptionLabel: (option) => {
|
|
251
|
-
return option?.name;
|
|
252
|
-
},
|
|
253
276
|
renderInput: (params) => /* @__PURE__ */ jsxs(
|
|
254
277
|
Box,
|
|
255
278
|
{
|
|
256
|
-
component: "form",
|
|
257
279
|
sx: {
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
width: "100%"
|
|
261
|
-
}
|
|
280
|
+
position: "relative",
|
|
281
|
+
"& > :not(style)": { width: "100%" }
|
|
262
282
|
},
|
|
263
|
-
noValidate: true,
|
|
264
|
-
autoComplete: "off",
|
|
265
283
|
children: [
|
|
266
284
|
/* @__PURE__ */ jsx2(
|
|
267
285
|
TextField2,
|
|
268
286
|
{
|
|
269
|
-
|
|
270
|
-
label: "Search State",
|
|
287
|
+
label: searchLabel,
|
|
271
288
|
variant: "filled",
|
|
272
289
|
sx: {
|
|
273
290
|
width: "100%",
|
|
274
291
|
margin: "10px",
|
|
275
|
-
"&
|
|
276
|
-
width: "94%"
|
|
277
|
-
},
|
|
278
|
-
"& > :not(style)": {
|
|
279
|
-
justifyContent: "center",
|
|
280
|
-
width: "94%"
|
|
281
|
-
}
|
|
292
|
+
"& > :not(style)": { width: "94%" }
|
|
282
293
|
},
|
|
283
294
|
ref: params.InputProps.ref,
|
|
284
|
-
|
|
295
|
+
slotProps: { htmlInput: params.inputProps }
|
|
285
296
|
}
|
|
286
297
|
),
|
|
287
298
|
/* @__PURE__ */ jsx2(
|
|
288
299
|
"svg",
|
|
289
300
|
{
|
|
290
301
|
xmlns: "http://www.w3.org/2000/svg",
|
|
291
|
-
style: { position: "absolute", left:
|
|
302
|
+
style: { position: "absolute", left: 110, top: 30 },
|
|
292
303
|
width: "24",
|
|
293
304
|
height: "24",
|
|
294
305
|
viewBox: "0 0 24 24",
|
|
@@ -299,7 +310,7 @@ var FalconMultiSelect = ({ label, data, setData, list }) => {
|
|
|
299
310
|
fillRule: "evenodd",
|
|
300
311
|
clipRule: "evenodd",
|
|
301
312
|
d: "M14.76 13.27L20.49 19L19 20.49L13.27 14.76C12.2 15.53 10.91 16 9.5 16C5.91 16 3 13.09 3 9.5C3 5.91 5.91 3 9.5 3C13.09 3 16 5.91 16 9.5C16 10.91 15.53 12.2 14.76 13.27ZM9.5 5C7.01 5 5 7.01 5 9.5C5 11.99 7.01 14 9.5 14C11.99 14 14 11.99 14 9.5C14 7.01 11.99 5 9.5 5Z",
|
|
302
|
-
fill:
|
|
313
|
+
fill: searchIconColor
|
|
303
314
|
}
|
|
304
315
|
)
|
|
305
316
|
}
|
|
@@ -314,45 +325,36 @@ var FalconMultiSelect = ({ label, data, setData, list }) => {
|
|
|
314
325
|
{
|
|
315
326
|
sx: {
|
|
316
327
|
display: "flex",
|
|
317
|
-
flexDirection: "
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
padding: 2,
|
|
321
|
-
gap: 2,
|
|
322
|
-
width: "100%"
|
|
328
|
+
flexDirection: "column",
|
|
329
|
+
m: "8px",
|
|
330
|
+
height: 110
|
|
323
331
|
},
|
|
324
332
|
children: [
|
|
325
333
|
/* @__PURE__ */ jsx2(
|
|
326
|
-
|
|
334
|
+
ActionButton,
|
|
327
335
|
{
|
|
328
|
-
onClick:
|
|
329
|
-
variant: "contained",
|
|
330
|
-
fullWidth: true,
|
|
336
|
+
onClick: handleApply,
|
|
331
337
|
sx: {
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
"
|
|
336
|
-
|
|
337
|
-
},
|
|
338
|
-
height: "40px"
|
|
338
|
+
height: "42px",
|
|
339
|
+
borderRadius: "3px",
|
|
340
|
+
background: applyBg,
|
|
341
|
+
margin: "5px 0 10px 0",
|
|
342
|
+
color: applyColor
|
|
339
343
|
},
|
|
340
|
-
children:
|
|
344
|
+
children: applyLabel
|
|
341
345
|
}
|
|
342
346
|
),
|
|
343
347
|
/* @__PURE__ */ jsx2(
|
|
344
|
-
|
|
348
|
+
ActionButton,
|
|
345
349
|
{
|
|
346
|
-
onClick:
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
+
onClick: handleClear,
|
|
351
|
+
sx: {
|
|
352
|
+
height: "42px",
|
|
353
|
+
borderRadius: "3px",
|
|
354
|
+
mb: "8px",
|
|
355
|
+
color: clearColor
|
|
350
356
|
},
|
|
351
|
-
|
|
352
|
-
fullWidth: true,
|
|
353
|
-
color: "inherit",
|
|
354
|
-
sx: { textTransform: "none", minWidth: 100, height: "40px" },
|
|
355
|
-
children: "Clear"
|
|
357
|
+
children: clearLabel
|
|
356
358
|
}
|
|
357
359
|
)
|
|
358
360
|
]
|
|
@@ -364,8 +366,6 @@ var FalconMultiSelect = ({ label, data, setData, list }) => {
|
|
|
364
366
|
] });
|
|
365
367
|
};
|
|
366
368
|
var StyledAutocompletePopper = styled("div")(({ theme }) => ({
|
|
367
|
-
width: 250,
|
|
368
|
-
minWidth: 250,
|
|
369
369
|
[`& .${autocompleteClasses.paper}`]: {
|
|
370
370
|
boxShadow: "none",
|
|
371
371
|
color: "inherit",
|
|
@@ -374,38 +374,47 @@ var StyledAutocompletePopper = styled("div")(({ theme }) => ({
|
|
|
374
374
|
[`& .${autocompleteClasses.listbox}`]: {
|
|
375
375
|
backgroundColor: theme.palette.mode === "light" ? "#fff" : "#1c2128",
|
|
376
376
|
padding: 0,
|
|
377
|
-
maxHeight: 280,
|
|
378
377
|
[`& .${autocompleteClasses.option}`]: {
|
|
379
378
|
minHeight: "auto",
|
|
380
379
|
alignItems: "flex-start",
|
|
381
380
|
padding: 8,
|
|
382
381
|
borderBottom: `1px solid ${theme.palette.mode === "light" ? "#eaecef" : "#30363d"}`,
|
|
383
|
-
'&[aria-selected="true"]': {
|
|
384
|
-
backgroundColor: "transparent"
|
|
385
|
-
},
|
|
382
|
+
'&[aria-selected="true"]': { backgroundColor: "transparent" },
|
|
386
383
|
[`&.${autocompleteClasses.focused}, &.${autocompleteClasses.focused}[aria-selected="true"]`]: {
|
|
387
384
|
backgroundColor: theme.palette.action.hover
|
|
388
385
|
}
|
|
389
386
|
}
|
|
390
387
|
},
|
|
391
|
-
[`&.${autocompleteClasses.popperDisablePortal}`]: {
|
|
392
|
-
position: "relative"
|
|
393
|
-
}
|
|
388
|
+
[`&.${autocompleteClasses.popperDisablePortal}`]: { position: "relative" }
|
|
394
389
|
}));
|
|
395
|
-
function PopperComponent(
|
|
396
|
-
|
|
390
|
+
function PopperComponent({
|
|
391
|
+
disablePortal: _d,
|
|
392
|
+
anchorEl: _a,
|
|
393
|
+
open: _o,
|
|
394
|
+
...other
|
|
395
|
+
}) {
|
|
397
396
|
return /* @__PURE__ */ jsx2(StyledAutocompletePopper, { ...other });
|
|
398
397
|
}
|
|
399
|
-
var StyledPopper = styled(Popper
|
|
400
|
-
|
|
398
|
+
var StyledPopper = styled(Popper, {
|
|
399
|
+
shouldForwardProp: (prop) => prop !== "ownerState"
|
|
400
|
+
})(({ theme, ownerState }) => ({
|
|
401
|
+
border: `1px solid ${theme.palette.mode === "light" ? ownerState.popperBorderColor : ownerState.popperBorderColorDark}`,
|
|
401
402
|
boxShadow: `0 8px 24px ${theme.palette.mode === "light" ? "rgba(149, 157, 165, 0.2)" : "rgb(1, 4, 9)"}`,
|
|
402
403
|
borderRadius: 6,
|
|
403
|
-
width:
|
|
404
|
-
minWidth: 250,
|
|
404
|
+
width: ownerState.popperWidth,
|
|
405
405
|
zIndex: theme.zIndex.modal,
|
|
406
406
|
fontSize: 13,
|
|
407
|
-
color: theme.palette.mode === "light" ?
|
|
408
|
-
backgroundColor: theme.palette.mode === "light" ?
|
|
407
|
+
color: theme.palette.mode === "light" ? ownerState.popperColor : ownerState.popperColorDark,
|
|
408
|
+
backgroundColor: theme.palette.mode === "light" ? ownerState.popperBg : ownerState.popperBgDark
|
|
409
|
+
}));
|
|
410
|
+
var ActionButton = styled(ButtonBase)(() => ({
|
|
411
|
+
fontSize: 13,
|
|
412
|
+
width: "100%",
|
|
413
|
+
textAlign: "left",
|
|
414
|
+
paddingBottom: 8,
|
|
415
|
+
fontWeight: 600,
|
|
416
|
+
"& span": { width: "100%" },
|
|
417
|
+
"& svg": { width: 16, height: 16 }
|
|
409
418
|
}));
|
|
410
419
|
|
|
411
420
|
// src/components/AdvancedFiltersDialog/AdvancedFiltersDialog.tsx
|
|
@@ -472,14 +481,14 @@ var AdvancedFiltersDialog = ({
|
|
|
472
481
|
)
|
|
473
482
|
] }) }),
|
|
474
483
|
/* @__PURE__ */ jsxs2(DialogActions, { children: [
|
|
475
|
-
/* @__PURE__ */ jsx3(
|
|
476
|
-
/* @__PURE__ */ jsx3(
|
|
484
|
+
/* @__PURE__ */ jsx3(Button2, { onClick: handleCancel, children: "Cancel" }),
|
|
485
|
+
/* @__PURE__ */ jsx3(Button2, { variant: "contained", onClick: handleApply, children: "Apply" })
|
|
477
486
|
] })
|
|
478
487
|
] });
|
|
479
488
|
};
|
|
480
489
|
|
|
481
490
|
// src/components/ButtonWithIcon/ButtonWithIcon.tsx
|
|
482
|
-
import { Box as Box3, Button as
|
|
491
|
+
import { Box as Box3, Button as Button3, Typography as Typography3 } from "@mui/material";
|
|
483
492
|
import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
484
493
|
var ButtonWithIcon = ({
|
|
485
494
|
size = "large",
|
|
@@ -488,7 +497,7 @@ var ButtonWithIcon = ({
|
|
|
488
497
|
icon,
|
|
489
498
|
...props
|
|
490
499
|
}) => /* @__PURE__ */ jsx4(
|
|
491
|
-
|
|
500
|
+
Button3,
|
|
492
501
|
{
|
|
493
502
|
fullWidth: true,
|
|
494
503
|
size,
|
|
@@ -555,7 +564,7 @@ import { Box as Box4, Stack as Stack2, Typography as Typography4, useTheme } fro
|
|
|
555
564
|
import { jsx as jsx7, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
556
565
|
var FalconGrayButton = ({
|
|
557
566
|
text,
|
|
558
|
-
Icon:
|
|
567
|
+
Icon: Icon2,
|
|
559
568
|
onClick
|
|
560
569
|
}) => {
|
|
561
570
|
const theme = useTheme();
|
|
@@ -571,7 +580,7 @@ var FalconGrayButton = ({
|
|
|
571
580
|
onClick,
|
|
572
581
|
role: onClick ? "button" : void 0,
|
|
573
582
|
children: /* @__PURE__ */ jsxs4(Stack2, { direction: "row", justifyContent: "center", gap: 4, alignItems: "center", children: [
|
|
574
|
-
|
|
583
|
+
Icon2,
|
|
575
584
|
/* @__PURE__ */ jsx7(Typography4, { fontSize: 12, align: "center", fontWeight: "bold", children: text })
|
|
576
585
|
] })
|
|
577
586
|
}
|
|
@@ -881,7 +890,7 @@ var FalconTicketColumsFilter = ({
|
|
|
881
890
|
] });
|
|
882
891
|
|
|
883
892
|
// src/components/FalconTicketFilter/FalconTicketFilter.tsx
|
|
884
|
-
import { Button as
|
|
893
|
+
import { Button as Button4, Popover } from "@mui/material";
|
|
885
894
|
import { useState as useState3 } from "react";
|
|
886
895
|
import { Fragment as Fragment2, jsx as jsx13, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
887
896
|
var FalconTicketFilter = ({
|
|
@@ -903,7 +912,7 @@ var FalconTicketFilter = ({
|
|
|
903
912
|
setOpen(false);
|
|
904
913
|
};
|
|
905
914
|
return /* @__PURE__ */ jsxs8(Fragment2, { children: [
|
|
906
|
-
/* @__PURE__ */ jsx13(
|
|
915
|
+
/* @__PURE__ */ jsx13(Button4, { onClick: handleClick, variant: "outlined", size: "medium", children: label }),
|
|
907
916
|
/* @__PURE__ */ jsx13(
|
|
908
917
|
Popover,
|
|
909
918
|
{
|
|
@@ -1137,2345 +1146,98 @@ var ProgressBarNumber = ({
|
|
|
1137
1146
|
return /* @__PURE__ */ jsx15("div", { children: "Invalid Progress" });
|
|
1138
1147
|
};
|
|
1139
1148
|
|
|
1140
|
-
// src
|
|
1149
|
+
// src/components/FalconThemeProvider/FalconThemeProvider.tsx
|
|
1141
1150
|
import CssBaseline from "@mui/material/CssBaseline";
|
|
1142
|
-
import
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
// ** Navigation (Menu) Configs
|
|
1154
|
-
navHidden: false,
|
|
1155
|
-
menuTextTruncate: true,
|
|
1156
|
-
navSubItemIcon: "tabler:chevron-right",
|
|
1157
|
-
navCollapsed: false,
|
|
1158
|
-
navigationSize: 260,
|
|
1159
|
-
collapsedNavigationSize: 82,
|
|
1160
|
-
afterVerticalNavMenuContentPosition: "fixed",
|
|
1161
|
-
beforeVerticalNavMenuContentPosition: "fixed",
|
|
1162
|
-
horizontalMenuAnimation: true,
|
|
1163
|
-
// ** AppBar Configs
|
|
1164
|
-
appBarBlur: true,
|
|
1165
|
-
// ** Other Configs
|
|
1166
|
-
responsiveFontSizes: true,
|
|
1167
|
-
disableRipple: false,
|
|
1168
|
-
disableCustomizer: true,
|
|
1169
|
-
toastPosition: "top-center"
|
|
1170
|
-
};
|
|
1171
|
-
var themeConfig_default = themeConfig;
|
|
1172
|
-
|
|
1173
|
-
// src/@core/theme/ThemeOptions.ts
|
|
1174
|
-
import { deepmerge } from "@mui/utils";
|
|
1175
|
-
|
|
1176
|
-
// src/@core/theme/UserThemeOptions.ts
|
|
1177
|
-
var UserThemeOptions = () => {
|
|
1151
|
+
import {
|
|
1152
|
+
ThemeProvider,
|
|
1153
|
+
createTheme,
|
|
1154
|
+
responsiveFontSizes
|
|
1155
|
+
} from "@mui/material/styles";
|
|
1156
|
+
import { jsx as jsx16, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
1157
|
+
var lightColor = "51, 48, 60";
|
|
1158
|
+
var darkColor = "228, 230, 244";
|
|
1159
|
+
var darkPaperBg = "#2F3349";
|
|
1160
|
+
function buildPalette(mode) {
|
|
1161
|
+
const mainColor = mode === "light" ? lightColor : darkColor;
|
|
1178
1162
|
return {
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
contrastText: '#FFF'
|
|
1186
|
-
}
|
|
1187
|
-
},
|
|
1188
|
-
breakpoints: {
|
|
1189
|
-
values: {
|
|
1190
|
-
xs: 0,
|
|
1191
|
-
sm: 768,
|
|
1192
|
-
md: 992,
|
|
1193
|
-
lg: 1200,
|
|
1194
|
-
xl: 1920
|
|
1195
|
-
}
|
|
1196
|
-
},
|
|
1197
|
-
components: {
|
|
1198
|
-
MuiButton: {
|
|
1199
|
-
defaultProps: {
|
|
1200
|
-
disableElevation: true
|
|
1201
|
-
},
|
|
1202
|
-
styleOverrides: {
|
|
1203
|
-
root: {
|
|
1204
|
-
textTransform: 'none'
|
|
1205
|
-
},
|
|
1206
|
-
sizeSmall: {
|
|
1207
|
-
padding: '6px 16px'
|
|
1208
|
-
},
|
|
1209
|
-
sizeMedium: {
|
|
1210
|
-
padding: '8px 20px'
|
|
1211
|
-
},
|
|
1212
|
-
sizeLarge: {
|
|
1213
|
-
padding: '11px 24px'
|
|
1214
|
-
},
|
|
1215
|
-
textSizeSmall: {
|
|
1216
|
-
padding: '7px 12px'
|
|
1217
|
-
},
|
|
1218
|
-
textSizeMedium: {
|
|
1219
|
-
padding: '9px 16px'
|
|
1220
|
-
},
|
|
1221
|
-
textSizeLarge: {
|
|
1222
|
-
padding: '12px 16px'
|
|
1223
|
-
}
|
|
1224
|
-
}
|
|
1225
|
-
},
|
|
1226
|
-
MuiCardActions: {
|
|
1227
|
-
styleOverrides: {
|
|
1228
|
-
root: {
|
|
1229
|
-
padding: '16px 24px'
|
|
1230
|
-
}
|
|
1231
|
-
}
|
|
1232
|
-
},
|
|
1233
|
-
MuiCardContent: {
|
|
1234
|
-
styleOverrides: {
|
|
1235
|
-
root: {
|
|
1236
|
-
padding: '32px 24px',
|
|
1237
|
-
'&:last-child': {
|
|
1238
|
-
paddingBottom: '32px'
|
|
1239
|
-
}
|
|
1240
|
-
}
|
|
1241
|
-
}
|
|
1242
|
-
},
|
|
1243
|
-
MuiCssBaseline: {
|
|
1244
|
-
styleOverrides: {
|
|
1245
|
-
'*': {
|
|
1246
|
-
boxSizing: 'border-box'
|
|
1247
|
-
},
|
|
1248
|
-
html: {
|
|
1249
|
-
MozOsxFontSmoothing: 'grayscale',
|
|
1250
|
-
WebkitFontSmoothing: 'antialiased',
|
|
1251
|
-
display: 'flex',
|
|
1252
|
-
flexDirection: 'column',
|
|
1253
|
-
minHeight: '100%',
|
|
1254
|
-
width: '100%'
|
|
1255
|
-
},
|
|
1256
|
-
body: {
|
|
1257
|
-
display: 'flex',
|
|
1258
|
-
flex: '1 1 auto',
|
|
1259
|
-
flexDirection: 'column',
|
|
1260
|
-
minHeight: '100%',
|
|
1261
|
-
width: '100%'
|
|
1262
|
-
},
|
|
1263
|
-
'#__next': {
|
|
1264
|
-
display: 'flex',
|
|
1265
|
-
flex: '1 1 auto',
|
|
1266
|
-
flexDirection: 'column',
|
|
1267
|
-
height: '100%',
|
|
1268
|
-
width: '100%'
|
|
1269
|
-
}
|
|
1270
|
-
}
|
|
1271
|
-
}
|
|
1272
|
-
},
|
|
1273
|
-
shape: {
|
|
1274
|
-
borderRadius: 8
|
|
1163
|
+
mode,
|
|
1164
|
+
primary: {
|
|
1165
|
+
light: "rgba(103, 80, 164, 0.02)",
|
|
1166
|
+
main: "#d8c5f9",
|
|
1167
|
+
dark: "#8710D8",
|
|
1168
|
+
contrastText: "#FFF"
|
|
1275
1169
|
},
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1170
|
+
secondary: {
|
|
1171
|
+
light: "#EFEFEF",
|
|
1172
|
+
main: "#1D192B",
|
|
1173
|
+
dark: "#949699",
|
|
1174
|
+
contrastText: "#FFF"
|
|
1279
1175
|
},
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
'0px 2px 7px 1px rgba(51, 48, 60, 0.03), 0px 4px 7px 0px rgba(51, 48, 60, 0.02), 0px 1px 4px 2px rgba(51, 48, 60, 0.01)',
|
|
1286
|
-
'0px 3px 8px 1px rgba(51, 48, 60, 0.03), 0px 6px 8px 0px rgba(51, 48, 60, 0.02), 0px 1px 5px 4px rgba(51, 48, 60, 0.01)',
|
|
1287
|
-
'0px 3px 9px 1px rgba(51, 48, 60, 0.03), 0px 8px 9px 0px rgba(51, 48, 60, 0.02), 0px 1px 6px 4px rgba(51, 48, 60, 0.01)',
|
|
1288
|
-
'0px 4px 10px 2px rgba(51, 48, 60, 0.03), 0px 9px 10px 1px rgba(51, 48, 60, 0.02), 0px 2px 7px 4px rgba(51, 48, 60, 0.01)',
|
|
1289
|
-
'0px 5px 11px 3px rgba(51, 48, 60, 0.03), 0px 8px 11px 1px rgba(51, 48, 60, 0.02), 0px 3px 8px 4px rgba(51, 48, 60, 0.01)',
|
|
1290
|
-
'0px 5px 12px 3px rgba(51, 48, 60, 0.03), 0px 9px 12px 1px rgba(51, 48, 60, 0.02), 0px 3px 9px 5px rgba(51, 48, 60, 0.01)',
|
|
1291
|
-
'0px 6px 13px 3px rgba(51, 48, 60, 0.03), 0px 10px 13px 1px rgba(51, 48, 60, 0.02), 0px 4px 10px 5px rgba(51, 48, 60, 0.01)',
|
|
1292
|
-
'0px 6px 14px 4px rgba(51, 48, 60, 0.03), 0px 11px 14px 1px rgba(51, 48, 60, 0.02), 0px 4px 11px 5px rgba(51, 48, 60, 0.01)',
|
|
1293
|
-
'0px 7px 15px 4px rgba(51, 48, 60, 0.03), 0px 12px 15px 2px rgba(51, 48, 60, 0.02), 0px 5px 12px 5px rgba(51, 48, 60, 0.01)',
|
|
1294
|
-
'0px 7px 16px 4px rgba(51, 48, 60, 0.03), 0px 13px 16px 2px rgba(51, 48, 60, 0.02), 0px 5px 13px 6px rgba(51, 48, 60, 0.01)',
|
|
1295
|
-
'0px 7px 17px 4px rgba(51, 48, 60, 0.03), 0px 14px 17px 2px rgba(51, 48, 60, 0.02), 0px 5px 14px 6px rgba(51, 48, 60, 0.01)',
|
|
1296
|
-
'0px 8px 18px 5px rgba(51, 48, 60, 0.03), 0px 15px 18px 2px rgba(51, 48, 60, 0.02), 0px 6px 15px 6px rgba(51, 48, 60, 0.01)',
|
|
1297
|
-
'0px 8px 19px 5px rgba(51, 48, 60, 0.03), 0px 16px 19px 2px rgba(51, 48, 60, 0.02), 0px 6px 16px 6px rgba(51, 48, 60, 0.01)',
|
|
1298
|
-
'0px 8px 20px 5px rgba(51, 48, 60, 0.03), 0px 17px 20px 2px rgba(51, 48, 60, 0.02), 0px 6px 17px 7px rgba(51, 48, 60, 0.01)',
|
|
1299
|
-
'0px 9px 21px 5px rgba(51, 48, 60, 0.03), 0px 18px 21px 2px rgba(51, 48, 60, 0.02), 0px 7px 18px 7px rgba(51, 48, 60, 0.01)',
|
|
1300
|
-
'0px 9px 22px 6px rgba(51, 48, 60, 0.03), 0px 19px 22px 2px rgba(51, 48, 60, 0.02), 0px 7px 19px 7px rgba(51, 48, 60, 0.01)',
|
|
1301
|
-
'0px 10px 23px 6px rgba(51, 48, 60, 0.03), 0px 20px 23px 3px rgba(51, 48, 60, 0.02), 0px 8px 20px 7px rgba(51, 48, 60, 0.01)',
|
|
1302
|
-
'0px 10px 24px 6px rgba(51, 48, 60, 0.03), 0px 21px 24px 3px rgba(51, 48, 60, 0.02), 0px 8px 21px 7px rgba(51, 48, 60, 0.01)',
|
|
1303
|
-
'0px 10px 25px 6px rgba(51, 48, 60, 0.03), 0px 22px 25px 3px rgba(51, 48, 60, 0.02), 0px 8px 22px 7px rgba(51, 48, 60, 0.01)',
|
|
1304
|
-
'0px 11px 26px 7px rgba(51, 48, 60, 0.03), 0px 23px 26px 3px rgba(51, 48, 60, 0.02), 0px 9px 23px 7px rgba(51, 48, 60, 0.01)',
|
|
1305
|
-
'0px 11px 27px 7px rgba(51, 48, 60, 0.03), 0px 24px 27px 3px rgba(51, 48, 60, 0.02), 0px 9px 24px 7px rgba(51, 48, 60, 0.01)'
|
|
1306
|
-
] : [
|
|
1307
|
-
'none',
|
|
1308
|
-
'0px 2px 4px 1px rgba(12, 16, 27, 0.15), 0px 3px 4px 0px rgba(12, 16, 27, 0.1), 0px 1px 3px 2px rgba(12, 16, 27, 0.08)',
|
|
1309
|
-
'0px 3px 5px 2px rgba(12, 16, 27, 0.15), 0px 3px 5px 0px rgba(12, 16, 27, 0.1), 0px 1px 4px 2px rgba(12, 16, 27, 0.08)',
|
|
1310
|
-
'0px 3px 6px 2px rgba(12, 16, 27, 0.15), 0px 4px 6px 0px rgba(12, 16, 27, 0.1), 0px 1px 4px 2px rgba(12, 16, 27, 0.08)',
|
|
1311
|
-
'0px 2px 7px 1px rgba(12, 16, 27, 0.15), 0px 4px 7px 0px rgba(12, 16, 27, 0.1), 0px 1px 4px 2px rgba(12, 16, 27, 0.08)',
|
|
1312
|
-
'0px 3px 8px 1px rgba(12, 16, 27, 0.15), 0px 6px 8px 0px rgba(12, 16, 27, 0.1), 0px 1px 5px 4px rgba(12, 16, 27, 0.08)',
|
|
1313
|
-
'0px 3px 9px 1px rgba(12, 16, 27, 0.15), 0px 8px 9px 0px rgba(12, 16, 27, 0.1), 0px 1px 6px 4px rgba(12, 16, 27, 0.08)',
|
|
1314
|
-
'0px 4px 10px 2px rgba(12, 16, 27, 0.15), 0px 9px 10px 1px rgba(12, 16, 27, 0.1), 0px 2px 7px 4px rgba(12, 16, 27, 0.08)',
|
|
1315
|
-
'0px 5px 11px 3px rgba(12, 16, 27, 0.15), 0px 8px 11px 1px rgba(12, 16, 27, 0.1), 0px 3px 8px 4px rgba(12, 16, 27, 0.08)',
|
|
1316
|
-
'0px 5px 12px 3px rgba(12, 16, 27, 0.15), 0px 9px 12px 1px rgba(12, 16, 27, 0.1), 0px 3px 9px 5px rgba(12, 16, 27, 0.08)',
|
|
1317
|
-
'0px 6px 13px 3px rgba(12, 16, 27, 0.15), 0px 10px 13px 1px rgba(12, 16, 27, 0.1), 0px 4px 10px 5px rgba(12, 16, 27, 0.08)',
|
|
1318
|
-
'0px 6px 14px 4px rgba(12, 16, 27, 0.15), 0px 11px 14px 1px rgba(12, 16, 27, 0.1), 0px 4px 11px 5px rgba(12, 16, 27, 0.08)',
|
|
1319
|
-
'0px 7px 15px 4px rgba(12, 16, 27, 0.15), 0px 12px 15px 2px rgba(12, 16, 27, 0.1), 0px 5px 12px 5px rgba(12, 16, 27, 0.08)',
|
|
1320
|
-
'0px 7px 16px 4px rgba(12, 16, 27, 0.15), 0px 13px 16px 2px rgba(12, 16, 27, 0.1), 0px 5px 13px 6px rgba(12, 16, 27, 0.08)',
|
|
1321
|
-
'0px 7px 17px 4px rgba(12, 16, 27, 0.15), 0px 14px 17px 2px rgba(12, 16, 27, 0.1), 0px 5px 14px 6px rgba(12, 16, 27, 0.08)',
|
|
1322
|
-
'0px 8px 18px 5px rgba(12, 16, 27, 0.15), 0px 15px 18px 2px rgba(12, 16, 27, 0.1), 0px 6px 15px 6px rgba(12, 16, 27, 0.08)',
|
|
1323
|
-
'0px 8px 19px 5px rgba(12, 16, 27, 0.15), 0px 16px 19px 2px rgba(12, 16, 27, 0.1), 0px 6px 16px 6px rgba(12, 16, 27, 0.08)',
|
|
1324
|
-
'0px 8px 20px 5px rgba(12, 16, 27, 0.15), 0px 17px 20px 2px rgba(12, 16, 27, 0.1), 0px 6px 17px 7px rgba(12, 16, 27, 0.08)',
|
|
1325
|
-
'0px 9px 21px 5px rgba(12, 16, 27, 0.15), 0px 18px 21px 2px rgba(12, 16, 27, 0.1), 0px 7px 18px 7px rgba(12, 16, 27, 0.08)',
|
|
1326
|
-
'0px 9px 22px 6px rgba(12, 16, 27, 0.15), 0px 19px 22px 2px rgba(12, 16, 27, 0.1), 0px 7px 19px 7px rgba(12, 16, 27, 0.08)',
|
|
1327
|
-
'0px 10px 23px 6px rgba(12, 16, 27, 0.15), 0px 20px 23px 3px rgba(12, 16, 27, 0.1), 0px 8px 20px 7px rgba(12, 16, 27, 0.08)',
|
|
1328
|
-
'0px 10px 24px 6px rgba(12, 16, 27, 0.15), 0px 21px 24px 3px rgba(12, 16, 27, 0.1), 0px 8px 21px 7px rgba(12, 16, 27, 0.08)',
|
|
1329
|
-
'0px 10px 25px 6px rgba(12, 16, 27, 0.15), 0px 22px 25px 3px rgba(12, 16, 27, 0.1), 0px 8px 22px 7px rgba(12, 16, 27, 0.08)',
|
|
1330
|
-
'0px 11px 26px 7px rgba(12, 16, 27, 0.15), 0px 23px 26px 3px rgba(12, 16, 27, 0.1), 0px 9px 23px 7px rgba(12, 16, 27, 0.08)',
|
|
1331
|
-
'0px 11px 27px 7px rgba(12, 16, 27, 0.15), 0px 24px 27px 3px rgba(12, 16, 27, 0.1), 0px 9px 24px 7px rgba(12, 16, 27, 0.08)'
|
|
1332
|
-
],
|
|
1333
|
-
zIndex: {
|
|
1334
|
-
appBar: 1200,
|
|
1335
|
-
drawer: 1100
|
|
1336
|
-
} */
|
|
1337
|
-
};
|
|
1338
|
-
};
|
|
1339
|
-
var UserThemeOptions_default = UserThemeOptions;
|
|
1340
|
-
|
|
1341
|
-
// src/@core/theme/breakpoints/index.ts
|
|
1342
|
-
var breakpoints = () => ({
|
|
1343
|
-
values: {
|
|
1344
|
-
xs: 0,
|
|
1345
|
-
sm: 600,
|
|
1346
|
-
md: 900,
|
|
1347
|
-
lg: 1200,
|
|
1348
|
-
xl: 1536
|
|
1349
|
-
}
|
|
1350
|
-
});
|
|
1351
|
-
var breakpoints_default = breakpoints;
|
|
1352
|
-
|
|
1353
|
-
// src/@core/utils/hex-to-rgba.ts
|
|
1354
|
-
var hexToRGBA = (hexCode, opacity) => {
|
|
1355
|
-
let hex = hexCode.replace("#", "");
|
|
1356
|
-
if (hex.length === 3) {
|
|
1357
|
-
hex = `${hex[0]}${hex[0]}${hex[1]}${hex[1]}${hex[2]}${hex[2]}`;
|
|
1358
|
-
}
|
|
1359
|
-
const r = parseInt(hex.substring(0, 2), 16);
|
|
1360
|
-
const g = parseInt(hex.substring(2, 4), 16);
|
|
1361
|
-
const b = parseInt(hex.substring(4, 6), 16);
|
|
1362
|
-
return `rgba(${r}, ${g}, ${b}, ${opacity})`;
|
|
1363
|
-
};
|
|
1364
|
-
|
|
1365
|
-
// src/@core/theme/overrides/alerts.ts
|
|
1366
|
-
var Alert = () => {
|
|
1367
|
-
return {
|
|
1368
|
-
MuiAlert: {
|
|
1369
|
-
styleOverrides: {
|
|
1370
|
-
root: ({ theme }) => ({
|
|
1371
|
-
fontWeight: 500,
|
|
1372
|
-
fontSize: "1rem",
|
|
1373
|
-
lineHeight: 1.375,
|
|
1374
|
-
alignItems: "flex-start",
|
|
1375
|
-
padding: theme.spacing(1.25, 3.5),
|
|
1376
|
-
"& .MuiAlertTitle-root": {
|
|
1377
|
-
marginBottom: theme.spacing(2.5)
|
|
1378
|
-
},
|
|
1379
|
-
"& a": {
|
|
1380
|
-
fontWeight: 700,
|
|
1381
|
-
color: "inherit"
|
|
1382
|
-
}
|
|
1383
|
-
}),
|
|
1384
|
-
icon: ({ theme }) => ({
|
|
1385
|
-
opacity: 1,
|
|
1386
|
-
fontSize: "1.125rem",
|
|
1387
|
-
padding: theme.spacing(1),
|
|
1388
|
-
borderRadius: theme.shape.borderRadius,
|
|
1389
|
-
margin: theme.spacing(1.75, 2.5, 1.75, 0),
|
|
1390
|
-
backgroundColor: theme.palette.common.white,
|
|
1391
|
-
"& + .MuiAlert-message": {
|
|
1392
|
-
padding: theme.spacing(2.25, 0)
|
|
1393
|
-
},
|
|
1394
|
-
"& ~ .MuiAlert-action": {
|
|
1395
|
-
paddingTop: theme.spacing(1.25)
|
|
1396
|
-
}
|
|
1397
|
-
}),
|
|
1398
|
-
message: ({ theme }) => ({
|
|
1399
|
-
padding: theme.spacing(1.75, 0)
|
|
1400
|
-
}),
|
|
1401
|
-
action: ({ theme }) => ({
|
|
1402
|
-
paddingTop: theme.spacing(0.75)
|
|
1403
|
-
}),
|
|
1404
|
-
standardSuccess: ({ theme }) => ({
|
|
1405
|
-
color: theme.palette.success.main,
|
|
1406
|
-
backgroundColor: hexToRGBA(theme.palette.success.main, 0.16),
|
|
1407
|
-
"& .MuiAlertTitle-root": {
|
|
1408
|
-
color: theme.palette.success.main
|
|
1409
|
-
},
|
|
1410
|
-
"& .MuiAlert-icon": {
|
|
1411
|
-
color: theme.palette.success.main
|
|
1412
|
-
}
|
|
1413
|
-
}),
|
|
1414
|
-
standardInfo: ({ theme }) => ({
|
|
1415
|
-
color: theme.palette.info.main,
|
|
1416
|
-
backgroundColor: hexToRGBA(theme.palette.info.main, 0.16),
|
|
1417
|
-
"& .MuiAlertTitle-root": {
|
|
1418
|
-
color: theme.palette.info.main
|
|
1419
|
-
},
|
|
1420
|
-
"& .MuiAlert-icon": {
|
|
1421
|
-
color: theme.palette.info.main
|
|
1422
|
-
}
|
|
1423
|
-
}),
|
|
1424
|
-
standardWarning: ({ theme }) => ({
|
|
1425
|
-
color: theme.palette.warning.main,
|
|
1426
|
-
backgroundColor: hexToRGBA(theme.palette.warning.main, 0.16),
|
|
1427
|
-
"& .MuiAlertTitle-root": {
|
|
1428
|
-
color: theme.palette.warning.main
|
|
1429
|
-
},
|
|
1430
|
-
"& .MuiAlert-icon": {
|
|
1431
|
-
color: theme.palette.warning.main
|
|
1432
|
-
}
|
|
1433
|
-
}),
|
|
1434
|
-
standardError: ({ theme }) => ({
|
|
1435
|
-
color: theme.palette.error.main,
|
|
1436
|
-
backgroundColor: hexToRGBA(theme.palette.error.main, 0.16),
|
|
1437
|
-
"& .MuiAlertTitle-root": {
|
|
1438
|
-
color: theme.palette.error.main
|
|
1439
|
-
},
|
|
1440
|
-
"& .MuiAlert-icon": {
|
|
1441
|
-
color: theme.palette.error.main
|
|
1442
|
-
}
|
|
1443
|
-
}),
|
|
1444
|
-
outlined: ({ theme }) => ({
|
|
1445
|
-
padding: theme.spacing(1, 3.25)
|
|
1446
|
-
}),
|
|
1447
|
-
outlinedSuccess: ({ theme }) => ({
|
|
1448
|
-
borderColor: theme.palette.success.main,
|
|
1449
|
-
color: theme.palette.success.main,
|
|
1450
|
-
"& .MuiAlertTitle-root": {
|
|
1451
|
-
color: theme.palette.success.main
|
|
1452
|
-
},
|
|
1453
|
-
"& .MuiAlert-icon": {
|
|
1454
|
-
color: theme.palette.common.white,
|
|
1455
|
-
backgroundColor: theme.palette.success.main
|
|
1456
|
-
}
|
|
1457
|
-
}),
|
|
1458
|
-
outlinedInfo: ({ theme }) => ({
|
|
1459
|
-
borderColor: theme.palette.info.main,
|
|
1460
|
-
color: theme.palette.info.main,
|
|
1461
|
-
"& .MuiAlertTitle-root": {
|
|
1462
|
-
color: theme.palette.info.main
|
|
1463
|
-
},
|
|
1464
|
-
"& .MuiAlert-icon": {
|
|
1465
|
-
color: theme.palette.common.white,
|
|
1466
|
-
backgroundColor: theme.palette.info.main
|
|
1467
|
-
}
|
|
1468
|
-
}),
|
|
1469
|
-
outlinedWarning: ({ theme }) => ({
|
|
1470
|
-
borderColor: theme.palette.warning.main,
|
|
1471
|
-
color: theme.palette.warning.main,
|
|
1472
|
-
"& .MuiAlertTitle-root": {
|
|
1473
|
-
color: theme.palette.warning.main
|
|
1474
|
-
},
|
|
1475
|
-
"& .MuiAlert-icon": {
|
|
1476
|
-
color: theme.palette.common.white,
|
|
1477
|
-
backgroundColor: theme.palette.warning.main
|
|
1478
|
-
}
|
|
1479
|
-
}),
|
|
1480
|
-
outlinedError: ({ theme }) => ({
|
|
1481
|
-
borderColor: theme.palette.error.main,
|
|
1482
|
-
color: theme.palette.error.main,
|
|
1483
|
-
"& .MuiAlertTitle-root": {
|
|
1484
|
-
color: theme.palette.error.main
|
|
1485
|
-
},
|
|
1486
|
-
"& .MuiAlert-icon": {
|
|
1487
|
-
color: theme.palette.common.white,
|
|
1488
|
-
backgroundColor: theme.palette.error.main
|
|
1489
|
-
}
|
|
1490
|
-
}),
|
|
1491
|
-
filled: ({ theme }) => ({
|
|
1492
|
-
color: theme.palette.common.white
|
|
1493
|
-
}),
|
|
1494
|
-
filledSuccess: ({ theme }) => ({
|
|
1495
|
-
"& .MuiAlert-icon": {
|
|
1496
|
-
color: theme.palette.success.main
|
|
1497
|
-
}
|
|
1498
|
-
}),
|
|
1499
|
-
filledInfo: ({ theme }) => ({
|
|
1500
|
-
"& .MuiAlert-icon": {
|
|
1501
|
-
color: theme.palette.info.main
|
|
1502
|
-
}
|
|
1503
|
-
}),
|
|
1504
|
-
filledWarning: ({ theme }) => ({
|
|
1505
|
-
"& .MuiAlert-icon": {
|
|
1506
|
-
color: theme.palette.warning.main
|
|
1507
|
-
}
|
|
1508
|
-
}),
|
|
1509
|
-
filledError: ({ theme }) => ({
|
|
1510
|
-
"& .MuiAlert-icon": {
|
|
1511
|
-
color: theme.palette.error.main
|
|
1512
|
-
}
|
|
1513
|
-
})
|
|
1514
|
-
}
|
|
1176
|
+
error: {
|
|
1177
|
+
light: "#ED6F70",
|
|
1178
|
+
main: "#EA5455",
|
|
1179
|
+
dark: "#CE4A4B",
|
|
1180
|
+
contrastText: "#FFF"
|
|
1515
1181
|
},
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
lineHeight: 1.33333,
|
|
1522
|
-
fontSize: "1.125rem"
|
|
1523
|
-
}
|
|
1524
|
-
}
|
|
1525
|
-
}
|
|
1526
|
-
};
|
|
1527
|
-
};
|
|
1528
|
-
var alerts_default = Alert;
|
|
1529
|
-
|
|
1530
|
-
// src/@core/theme/overrides/avatars.ts
|
|
1531
|
-
var Avatar = () => {
|
|
1532
|
-
return {
|
|
1533
|
-
MuiAvatar: {
|
|
1534
|
-
styleOverrides: {
|
|
1535
|
-
colorDefault: ({ theme }) => ({
|
|
1536
|
-
color: theme.palette.text.secondary,
|
|
1537
|
-
backgroundColor: theme.palette.customColors.avatarBg
|
|
1538
|
-
})
|
|
1539
|
-
}
|
|
1182
|
+
warning: {
|
|
1183
|
+
light: "#FFAB5A",
|
|
1184
|
+
main: "#FF9F43",
|
|
1185
|
+
dark: "#E08C3B",
|
|
1186
|
+
contrastText: "#FFF"
|
|
1540
1187
|
},
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
cursor: "pointer",
|
|
1547
|
-
transition: "box-shadow 0.2s ease, transform 0.2s ease",
|
|
1548
|
-
"&:hover": {
|
|
1549
|
-
zIndex: 2,
|
|
1550
|
-
boxShadow: theme.shadows[3],
|
|
1551
|
-
transform: "translateY(-4px)"
|
|
1552
|
-
}
|
|
1553
|
-
}
|
|
1554
|
-
},
|
|
1555
|
-
justifyContent: "flex-end",
|
|
1556
|
-
".MuiCard-root & .MuiAvatar-root": {
|
|
1557
|
-
borderColor: theme.palette.background.paper
|
|
1558
|
-
}
|
|
1559
|
-
})
|
|
1560
|
-
}
|
|
1561
|
-
}
|
|
1562
|
-
};
|
|
1563
|
-
};
|
|
1564
|
-
var avatars_default = Avatar;
|
|
1565
|
-
|
|
1566
|
-
// src/@core/theme/overrides/backdrop.ts
|
|
1567
|
-
var Backdrop = () => {
|
|
1568
|
-
return {
|
|
1569
|
-
MuiBackdrop: {
|
|
1570
|
-
styleOverrides: {
|
|
1571
|
-
root: ({ theme }) => ({
|
|
1572
|
-
backgroundColor: theme.palette.mode === "light" ? `rgba(${theme.palette.customColors.main}, 0.7)` : hexToRGBA(theme.palette.background.default, 0.7)
|
|
1573
|
-
}),
|
|
1574
|
-
invisible: {
|
|
1575
|
-
backgroundColor: "transparent"
|
|
1576
|
-
}
|
|
1577
|
-
}
|
|
1578
|
-
}
|
|
1579
|
-
};
|
|
1580
|
-
};
|
|
1581
|
-
var backdrop_default = Backdrop;
|
|
1582
|
-
|
|
1583
|
-
// src/@core/theme/overrides/button.ts
|
|
1584
|
-
var Button6 = () => {
|
|
1585
|
-
return {
|
|
1586
|
-
MuiButton: {
|
|
1587
|
-
styleOverrides: {
|
|
1588
|
-
root: ({ ownerState, theme }) => ({
|
|
1589
|
-
fontWeight: 500,
|
|
1590
|
-
lineHeight: 1.7143,
|
|
1591
|
-
letterSpacing: "0.43px",
|
|
1592
|
-
textTransform: "capitalize",
|
|
1593
|
-
color: theme.palette.common.black,
|
|
1594
|
-
...ownerState.size === "medium" && ownerState.variant === "text" && {
|
|
1595
|
-
padding: theme.spacing(1.75, 5)
|
|
1596
|
-
},
|
|
1597
|
-
...ownerState.variant === "contained" && {
|
|
1598
|
-
"&:hover": {
|
|
1599
|
-
backgroundColor: theme.palette.common.black,
|
|
1600
|
-
opacity: 0.8
|
|
1601
|
-
}
|
|
1602
|
-
}
|
|
1603
|
-
}),
|
|
1604
|
-
contained: ({ theme }) => ({
|
|
1605
|
-
boxShadow: theme.shadows[2],
|
|
1606
|
-
padding: theme.spacing(1.75, 5),
|
|
1607
|
-
backgroundColor: theme.palette.common.black,
|
|
1608
|
-
color: theme.palette.common.white,
|
|
1609
|
-
"&:hover": {
|
|
1610
|
-
backgroundColor: theme.palette.common.black,
|
|
1611
|
-
opacity: 0.8
|
|
1612
|
-
}
|
|
1613
|
-
}),
|
|
1614
|
-
outlined: ({ theme }) => ({
|
|
1615
|
-
padding: theme.spacing(1.5, 4.75),
|
|
1616
|
-
whiteSpace: "nowrap",
|
|
1617
|
-
border: "1px solid black"
|
|
1618
|
-
}),
|
|
1619
|
-
sizeSmall: ({ ownerState, theme }) => ({
|
|
1620
|
-
...ownerState.variant === "text" && {
|
|
1621
|
-
lineHeight: 1.53846,
|
|
1622
|
-
borderRadius: "4px",
|
|
1623
|
-
padding: theme.spacing(1, 3.5)
|
|
1624
|
-
},
|
|
1625
|
-
...ownerState.variant === "contained" && {
|
|
1626
|
-
padding: theme.spacing(1, 3.5)
|
|
1627
|
-
},
|
|
1628
|
-
...ownerState.variant === "outlined" && {
|
|
1629
|
-
padding: theme.spacing(0.75, 3.25)
|
|
1630
|
-
}
|
|
1631
|
-
}),
|
|
1632
|
-
sizeLarge: ({ ownerState, theme }) => ({
|
|
1633
|
-
...ownerState.variant === "text" && {
|
|
1634
|
-
lineHeight: 2,
|
|
1635
|
-
borderRadius: "8px",
|
|
1636
|
-
padding: theme.spacing(2.25, 6.5)
|
|
1637
|
-
},
|
|
1638
|
-
...ownerState.variant === "contained" && {
|
|
1639
|
-
padding: theme.spacing(2.25, 6.5)
|
|
1640
|
-
},
|
|
1641
|
-
...ownerState.variant === "outlined" && {
|
|
1642
|
-
padding: theme.spacing(2, 6.25)
|
|
1643
|
-
}
|
|
1644
|
-
})
|
|
1645
|
-
}
|
|
1188
|
+
info: {
|
|
1189
|
+
light: "#1FD5EB",
|
|
1190
|
+
main: "#00CFE8",
|
|
1191
|
+
dark: "#00B6CC",
|
|
1192
|
+
contrastText: "#FFF"
|
|
1646
1193
|
},
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
};
|
|
1653
|
-
};
|
|
1654
|
-
var button_default = Button6;
|
|
1655
|
-
|
|
1656
|
-
// src/@core/theme/overrides/card.ts
|
|
1657
|
-
var Card = (skin) => {
|
|
1658
|
-
return {
|
|
1659
|
-
MuiCard: {
|
|
1660
|
-
styleOverrides: {
|
|
1661
|
-
root: ({ theme }) => ({
|
|
1662
|
-
...skin === "bordered" && {
|
|
1663
|
-
border: `1px solid ${theme.palette.divider}`
|
|
1664
|
-
},
|
|
1665
|
-
backgroundColor: theme.palette.background.default,
|
|
1666
|
-
"& .card-more-options": {
|
|
1667
|
-
marginTop: theme.spacing(-1),
|
|
1668
|
-
marginRight: theme.spacing(-3)
|
|
1669
|
-
},
|
|
1670
|
-
"& .MuiTableContainer-root, & .MuiDataGrid-root, & .MuiDataGrid-columnHeaders": {
|
|
1671
|
-
borderRadius: 0
|
|
1672
|
-
}
|
|
1673
|
-
})
|
|
1674
|
-
},
|
|
1675
|
-
defaultProps: {
|
|
1676
|
-
elevation: skin === "bordered" ? 0 : 6
|
|
1677
|
-
}
|
|
1194
|
+
success: {
|
|
1195
|
+
light: "#42CE80",
|
|
1196
|
+
main: "#28C76F",
|
|
1197
|
+
dark: "#23AF62",
|
|
1198
|
+
contrastText: "#FFF"
|
|
1678
1199
|
},
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
"& + .MuiCardContent-root, & + .MuiCardActions-root, & + .MuiCollapse-root .MuiCardContent-root": {
|
|
1684
|
-
paddingTop: 0
|
|
1685
|
-
},
|
|
1686
|
-
"& .MuiCardHeader-subheader": {
|
|
1687
|
-
fontSize: "0.875rem",
|
|
1688
|
-
marginTop: theme.spacing(1),
|
|
1689
|
-
color: theme.palette.text.disabled
|
|
1690
|
-
}
|
|
1691
|
-
}),
|
|
1692
|
-
title: {
|
|
1693
|
-
lineHeight: 1.6,
|
|
1694
|
-
fontWeight: 500,
|
|
1695
|
-
fontSize: "1.125rem",
|
|
1696
|
-
letterSpacing: "0.15px",
|
|
1697
|
-
"@media (min-width: 600px)": {
|
|
1698
|
-
fontSize: "1.25rem"
|
|
1699
|
-
}
|
|
1700
|
-
},
|
|
1701
|
-
action: {
|
|
1702
|
-
marginTop: 0,
|
|
1703
|
-
marginRight: 0
|
|
1704
|
-
}
|
|
1705
|
-
}
|
|
1200
|
+
text: {
|
|
1201
|
+
primary: `rgba(${mainColor}, 0.87)`,
|
|
1202
|
+
secondary: `rgba(${mainColor}, 0.6)`,
|
|
1203
|
+
disabled: `rgba(${mainColor}, 0.38)`
|
|
1706
1204
|
},
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
"& + .MuiCardHeader-root, & + .MuiCardContent-root, & + .MuiCardActions-root": {
|
|
1712
|
-
paddingTop: 0
|
|
1713
|
-
},
|
|
1714
|
-
"&:last-of-type": {
|
|
1715
|
-
paddingBottom: theme.spacing(6)
|
|
1716
|
-
}
|
|
1717
|
-
})
|
|
1718
|
-
}
|
|
1205
|
+
divider: `rgba(${mainColor}, 0.12)`,
|
|
1206
|
+
background: {
|
|
1207
|
+
paper: mode === "light" ? "#F2EBFF" : darkPaperBg,
|
|
1208
|
+
default: mode === "light" ? "#F8F7FA" : "#25293C"
|
|
1719
1209
|
},
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
},
|
|
1728
|
-
"&.card-action-dense": {
|
|
1729
|
-
padding: theme.spacing(0, 3, 3),
|
|
1730
|
-
".MuiCard-root .MuiCardMedia-root + &": {
|
|
1731
|
-
paddingTop: theme.spacing(3)
|
|
1732
|
-
}
|
|
1733
|
-
},
|
|
1734
|
-
".MuiCard-root &:first-of-type": {
|
|
1735
|
-
paddingTop: theme.spacing(3),
|
|
1736
|
-
"& + .MuiCardHeader-root, & + .MuiCardContent-root, & + .MuiCardActions-root": {
|
|
1737
|
-
paddingTop: 0
|
|
1738
|
-
}
|
|
1739
|
-
}
|
|
1740
|
-
})
|
|
1741
|
-
}
|
|
1210
|
+
action: {
|
|
1211
|
+
active: `rgba(${mainColor}, 0.54)`,
|
|
1212
|
+
hover: `rgba(${mainColor}, 0.04)`,
|
|
1213
|
+
selected: `rgba(${mainColor}, 0.08)`,
|
|
1214
|
+
disabled: `rgba(${mainColor}, 0.26)`,
|
|
1215
|
+
disabledBackground: `rgba(${mainColor}, 0.12)`,
|
|
1216
|
+
focus: `rgba(${mainColor}, 0.12)`
|
|
1742
1217
|
}
|
|
1743
1218
|
};
|
|
1744
|
-
}
|
|
1745
|
-
var
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
const
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
"path",
|
|
1755
|
-
{
|
|
1756
|
-
fill: "#6750A4",
|
|
1757
|
-
d: "M17.5514 3H6.75137C4.76314 3 3.15137 4.61177 3.15137 6.6V17.4C3.15137 19.3882 4.76314 21 6.75137 21H17.5514C19.5396 21 21.1514 19.3882 21.1514 17.4V6.6C21.1514 4.61177 19.5396 3 17.5514 3Z"
|
|
1758
|
-
}
|
|
1759
|
-
),
|
|
1760
|
-
/* @__PURE__ */ jsx16(
|
|
1761
|
-
"path",
|
|
1762
|
-
{
|
|
1763
|
-
strokeWidth: "0.3",
|
|
1764
|
-
fill: theme.palette.common.white,
|
|
1765
|
-
stroke: theme.palette.common.white,
|
|
1766
|
-
d: "M8.63616 11.5663L8.53426 11.472L8.43235 11.5663L7.54946 12.3837L7.43057 12.4938L7.54946 12.6039L10.4885 15.3248L10.5904 15.4191L10.6923 15.3248L16.7533 9.71358L16.8722 9.60351L16.7533 9.49344L15.8704 8.67606L15.7685 8.58172L15.6666 8.67606L10.5904 13.3756L8.63616 11.5663Z"
|
|
1767
|
-
}
|
|
1768
|
-
)
|
|
1769
|
-
] });
|
|
1770
|
-
};
|
|
1771
|
-
var Icon2 = () => {
|
|
1772
|
-
const theme = useTheme2();
|
|
1773
|
-
return /* @__PURE__ */ jsx16(
|
|
1774
|
-
"svg",
|
|
1775
|
-
{
|
|
1776
|
-
width: "24",
|
|
1777
|
-
height: "24",
|
|
1778
|
-
fill: "none",
|
|
1779
|
-
viewBox: "0 0 24 24",
|
|
1780
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1781
|
-
stroke: theme.palette.text.disabled,
|
|
1782
|
-
children: /* @__PURE__ */ jsx16("path", { d: "M17.2105 3.5H6.78947C4.69661 3.5 3 5.19661 3 7.28947V17.7105C3 19.8034 4.69661 21.5 6.78947 21.5H17.2105C19.3034 21.5 21 19.8034 21 17.7105V7.28947C21 5.19661 19.3034 3.5 17.2105 3.5Z" })
|
|
1783
|
-
}
|
|
1784
|
-
);
|
|
1785
|
-
};
|
|
1786
|
-
var IndeterminateIcon = () => {
|
|
1787
|
-
const theme = useTheme2();
|
|
1788
|
-
return /* @__PURE__ */ jsx16(
|
|
1789
|
-
"svg",
|
|
1790
|
-
{
|
|
1791
|
-
width: "24",
|
|
1792
|
-
height: "24",
|
|
1793
|
-
viewBox: "0 0 24 24",
|
|
1794
|
-
fill: theme.palette.primary.main,
|
|
1795
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1796
|
-
children: /* @__PURE__ */ jsx16(
|
|
1797
|
-
"path",
|
|
1798
|
-
{
|
|
1799
|
-
fillRule: "evenodd",
|
|
1800
|
-
clipRule: "evenodd",
|
|
1801
|
-
d: "M6.6 3.5H17.4C19.3882 3.5 21 5.11177 21 7.1V17.9C21 19.8882 19.3882 21.5 17.4 21.5H6.6C4.61177 21.5 3 19.8882 3 17.9V7.1C3 5.11177 4.61177 3.5 6.6 3.5ZM16.5 11.8569H7.5V13.1426H16.5V11.8569Z"
|
|
1802
|
-
}
|
|
1803
|
-
)
|
|
1804
|
-
}
|
|
1805
|
-
);
|
|
1806
|
-
};
|
|
1807
|
-
var Checkbox2 = () => {
|
|
1808
|
-
return {
|
|
1809
|
-
MuiCheckbox: {
|
|
1810
|
-
defaultProps: {
|
|
1811
|
-
icon: /* @__PURE__ */ jsx16(Icon2, {}),
|
|
1812
|
-
checkedIcon: /* @__PURE__ */ jsx16(CheckedIcon, {}),
|
|
1813
|
-
indeterminateIcon: /* @__PURE__ */ jsx16(IndeterminateIcon, {})
|
|
1814
|
-
},
|
|
1815
|
-
styleOverrides: {
|
|
1816
|
-
root: ({ theme }) => ({
|
|
1817
|
-
"&.Mui-checked": {
|
|
1818
|
-
"& svg": {
|
|
1819
|
-
filter: `drop-shadow(0 2px 3px ${alpha(theme.palette.mode === "light" ? theme.palette.customColors.main : "#0c101b", 0.16)})`
|
|
1820
|
-
},
|
|
1821
|
-
"&.Mui-disabled svg": {
|
|
1822
|
-
filter: "none",
|
|
1823
|
-
"& path:first-of-type": {
|
|
1824
|
-
fill: theme.palette.action.disabled
|
|
1825
|
-
},
|
|
1826
|
-
"& path:last-of-type": {
|
|
1827
|
-
fill: theme.palette.background.paper,
|
|
1828
|
-
stroke: theme.palette.background.paper
|
|
1829
|
-
}
|
|
1830
|
-
}
|
|
1831
|
-
},
|
|
1832
|
-
"&.Mui-disabled:not(.Mui-checked) svg": {
|
|
1833
|
-
stroke: theme.palette.action.disabled
|
|
1834
|
-
},
|
|
1835
|
-
"&.Mui-checked.MuiCheckbox-colorSecondary svg path:first-of-type": {
|
|
1836
|
-
fill: theme.palette.secondary.main
|
|
1837
|
-
},
|
|
1838
|
-
"&.Mui-checked.MuiCheckbox-colorSuccess svg path:first-of-type": {
|
|
1839
|
-
fill: theme.palette.success.main
|
|
1840
|
-
},
|
|
1841
|
-
"&.Mui-checked.MuiCheckbox-colorError svg path:first-of-type": {
|
|
1842
|
-
fill: theme.palette.error.main
|
|
1843
|
-
},
|
|
1844
|
-
"&.Mui-checked.MuiCheckbox-colorWarning svg path:first-of-type": {
|
|
1845
|
-
fill: theme.palette.warning.main
|
|
1846
|
-
},
|
|
1847
|
-
"&.Mui-checked.MuiCheckbox-colorInfo svg path:first-of-type": {
|
|
1848
|
-
fill: theme.palette.info.main
|
|
1849
|
-
}
|
|
1850
|
-
})
|
|
1851
|
-
}
|
|
1852
|
-
}
|
|
1853
|
-
};
|
|
1854
|
-
};
|
|
1855
|
-
var checkbox_default = Checkbox2;
|
|
1856
|
-
|
|
1857
|
-
// src/@core/theme/overrides/chip.ts
|
|
1858
|
-
var Chip = () => {
|
|
1859
|
-
return {
|
|
1860
|
-
MuiChip: {
|
|
1861
|
-
styleOverrides: {
|
|
1862
|
-
root: {
|
|
1863
|
-
height: 30,
|
|
1864
|
-
fontWeight: 500,
|
|
1865
|
-
backgroundColor: "#6e6f6f",
|
|
1866
|
-
color: "#f6f6f6",
|
|
1867
|
-
"&.MuiChip-rounded": {
|
|
1868
|
-
borderRadius: 4
|
|
1869
|
-
}
|
|
1870
|
-
},
|
|
1871
|
-
outlined: ({ theme }) => ({
|
|
1872
|
-
"&.MuiChip-colorDefault": {
|
|
1873
|
-
borderColor: `rgba(${theme.palette.customColors.main}, 0.22)`
|
|
1874
|
-
}
|
|
1875
|
-
}),
|
|
1876
|
-
sizeSmall: {
|
|
1877
|
-
height: 24
|
|
1878
|
-
},
|
|
1879
|
-
labelSmall: ({ theme }) => ({
|
|
1880
|
-
paddingLeft: theme.spacing(2.5),
|
|
1881
|
-
paddingRight: theme.spacing(2.5)
|
|
1882
|
-
}),
|
|
1883
|
-
deleteIcon: {
|
|
1884
|
-
width: 18,
|
|
1885
|
-
height: 18
|
|
1886
|
-
},
|
|
1887
|
-
avatar: ({ theme }) => ({
|
|
1888
|
-
color: theme.palette.text.primary
|
|
1889
|
-
}),
|
|
1890
|
-
deletableColorPrimary: ({ theme }) => ({
|
|
1891
|
-
"&.MuiChip-light .MuiChip-deleteIcon": {
|
|
1892
|
-
color: "#fff",
|
|
1893
|
-
"&:hover": {
|
|
1894
|
-
color: theme.palette.primary.main
|
|
1895
|
-
}
|
|
1896
|
-
}
|
|
1897
|
-
}),
|
|
1898
|
-
deletableColorSecondary: ({ theme }) => ({
|
|
1899
|
-
"&.MuiChip-light .MuiChip-deleteIcon": {
|
|
1900
|
-
color: hexToRGBA(theme.palette.secondary.main, 0.7),
|
|
1901
|
-
"&:hover": {
|
|
1902
|
-
color: theme.palette.secondary.main
|
|
1903
|
-
}
|
|
1904
|
-
}
|
|
1905
|
-
}),
|
|
1906
|
-
deletableColorSuccess: ({ theme }) => ({
|
|
1907
|
-
"&.MuiChip-light .MuiChip-deleteIcon": {
|
|
1908
|
-
color: hexToRGBA(theme.palette.success.main, 0.7),
|
|
1909
|
-
"&:hover": {
|
|
1910
|
-
color: theme.palette.success.main
|
|
1911
|
-
}
|
|
1912
|
-
}
|
|
1913
|
-
}),
|
|
1914
|
-
deletableColorError: ({ theme }) => ({
|
|
1915
|
-
"&.MuiChip-light .MuiChip-deleteIcon": {
|
|
1916
|
-
color: hexToRGBA(theme.palette.error.main, 0.7),
|
|
1917
|
-
"&:hover": {
|
|
1918
|
-
color: theme.palette.error.main
|
|
1919
|
-
}
|
|
1920
|
-
}
|
|
1921
|
-
}),
|
|
1922
|
-
deletableColorWarning: ({ theme }) => ({
|
|
1923
|
-
"&.MuiChip-light .MuiChip-deleteIcon": {
|
|
1924
|
-
color: hexToRGBA(theme.palette.warning.main, 0.7),
|
|
1925
|
-
"&:hover": {
|
|
1926
|
-
color: theme.palette.warning.main
|
|
1927
|
-
}
|
|
1928
|
-
}
|
|
1929
|
-
}),
|
|
1930
|
-
deletableColorInfo: ({ theme }) => ({
|
|
1931
|
-
"&.MuiChip-light .MuiChip-deleteIcon": {
|
|
1932
|
-
color: hexToRGBA(theme.palette.info.main, 0.7),
|
|
1933
|
-
"&:hover": {
|
|
1934
|
-
color: theme.palette.info.main
|
|
1935
|
-
}
|
|
1936
|
-
}
|
|
1937
|
-
})
|
|
1938
|
-
}
|
|
1939
|
-
}
|
|
1940
|
-
};
|
|
1941
|
-
};
|
|
1942
|
-
var chip_default = Chip;
|
|
1943
|
-
|
|
1944
|
-
// src/@core/theme/overrides/dataGrid.ts
|
|
1945
|
-
var DataGrid2 = () => {
|
|
1946
|
-
return {
|
|
1947
|
-
MuiDataGrid: {
|
|
1948
|
-
styleOverrides: {
|
|
1949
|
-
root: ({ theme }) => ({
|
|
1950
|
-
border: 0,
|
|
1951
|
-
color: theme.palette.text.primary,
|
|
1952
|
-
"& .MuiDataGrid-columnHeader:focus, & .MuiDataGrid-columnHeader:focus-within": {
|
|
1953
|
-
outline: "none"
|
|
1954
|
-
}
|
|
1955
|
-
}),
|
|
1956
|
-
toolbarContainer: ({ theme }) => ({
|
|
1957
|
-
paddingRight: `${theme.spacing(6)} !important`,
|
|
1958
|
-
paddingLeft: `${theme.spacing(3.25)} !important`
|
|
1959
|
-
}),
|
|
1960
|
-
columnHeaders: ({ theme }) => ({
|
|
1961
|
-
backgroundColor: theme.palette.customColors.tableHeaderBg
|
|
1962
|
-
}),
|
|
1963
|
-
columnHeader: ({ theme }) => ({
|
|
1964
|
-
"&:not(.MuiDataGrid-columnHeaderCheckbox)": {
|
|
1965
|
-
paddingLeft: theme.spacing(4),
|
|
1966
|
-
paddingRight: theme.spacing(4),
|
|
1967
|
-
"&:first-of-type": {
|
|
1968
|
-
paddingLeft: theme.spacing(6)
|
|
1969
|
-
}
|
|
1970
|
-
},
|
|
1971
|
-
"&:last-of-type": {
|
|
1972
|
-
paddingRight: theme.spacing(6)
|
|
1973
|
-
}
|
|
1974
|
-
}),
|
|
1975
|
-
columnHeaderCheckbox: {
|
|
1976
|
-
maxWidth: "58px !important",
|
|
1977
|
-
minWidth: "58px !important"
|
|
1978
|
-
},
|
|
1979
|
-
columnHeaderTitleContainer: {
|
|
1980
|
-
padding: 0
|
|
1981
|
-
},
|
|
1982
|
-
columnHeaderTitle: {
|
|
1983
|
-
fontWeight: 600,
|
|
1984
|
-
fontSize: "0.75rem",
|
|
1985
|
-
letterSpacing: "1px",
|
|
1986
|
-
textTransform: "uppercase"
|
|
1987
|
-
},
|
|
1988
|
-
columnSeparator: ({ theme }) => ({
|
|
1989
|
-
color: theme.palette.divider
|
|
1990
|
-
}),
|
|
1991
|
-
row: {
|
|
1992
|
-
"&:last-child": {
|
|
1993
|
-
"& .MuiDataGrid-cell": {
|
|
1994
|
-
borderBottom: 0
|
|
1995
|
-
}
|
|
1996
|
-
}
|
|
1997
|
-
},
|
|
1998
|
-
cell: ({ theme }) => ({
|
|
1999
|
-
borderColor: theme.palette.divider,
|
|
2000
|
-
"&:not(.MuiDataGrid-cellCheckbox)": {
|
|
2001
|
-
paddingLeft: theme.spacing(4),
|
|
2002
|
-
paddingRight: theme.spacing(4),
|
|
2003
|
-
"&:first-of-type": {
|
|
2004
|
-
paddingLeft: theme.spacing(6)
|
|
2005
|
-
}
|
|
2006
|
-
},
|
|
2007
|
-
"&:last-of-type": {
|
|
2008
|
-
paddingRight: theme.spacing(6)
|
|
2009
|
-
},
|
|
2010
|
-
"&:focus, &:focus-within": {
|
|
2011
|
-
outline: "none"
|
|
2012
|
-
}
|
|
2013
|
-
}),
|
|
2014
|
-
cellCheckbox: {
|
|
2015
|
-
maxWidth: "58px !important",
|
|
2016
|
-
minWidth: "58px !important"
|
|
2017
|
-
},
|
|
2018
|
-
editInputCell: ({ theme }) => ({
|
|
2019
|
-
padding: 0,
|
|
2020
|
-
color: theme.palette.text.primary,
|
|
2021
|
-
"& .MuiInputBase-input": {
|
|
2022
|
-
padding: 0
|
|
2023
|
-
}
|
|
2024
|
-
}),
|
|
2025
|
-
footerContainer: ({ theme }) => ({
|
|
2026
|
-
borderTop: `1px solid ${theme.palette.divider}`,
|
|
2027
|
-
"& .MuiTablePagination-toolbar": {
|
|
2028
|
-
paddingLeft: `${theme.spacing(4)} !important`,
|
|
2029
|
-
paddingRight: `${theme.spacing(4)} !important`
|
|
2030
|
-
},
|
|
2031
|
-
"& .MuiTablePagination-displayedRows, & .MuiTablePagination-selectLabel": {
|
|
2032
|
-
color: theme.palette.text.primary
|
|
2033
|
-
}
|
|
2034
|
-
}),
|
|
2035
|
-
selectedRowCount: ({ theme }) => ({
|
|
2036
|
-
margin: 0,
|
|
2037
|
-
paddingLeft: theme.spacing(4),
|
|
2038
|
-
paddingRight: theme.spacing(4)
|
|
2039
|
-
})
|
|
2040
|
-
}
|
|
2041
|
-
}
|
|
2042
|
-
};
|
|
2043
|
-
};
|
|
2044
|
-
var dataGrid_default = DataGrid2;
|
|
2045
|
-
|
|
2046
|
-
// src/@core/theme/overrides/dialog.ts
|
|
2047
|
-
var Dialog2 = (skin) => {
|
|
2048
|
-
return {
|
|
2049
|
-
MuiDialog: {
|
|
2050
|
-
styleOverrides: {
|
|
2051
|
-
paper: ({ theme }) => ({
|
|
2052
|
-
boxShadow: theme.shadows[skin === "bordered" ? 0 : 9],
|
|
2053
|
-
background: theme.palette.background.default,
|
|
2054
|
-
...skin === "bordered" && {
|
|
2055
|
-
border: `1px solid ${theme.palette.divider}`
|
|
2056
|
-
},
|
|
2057
|
-
"&:not(.MuiDialog-paperFullScreen)": {
|
|
2058
|
-
[theme.breakpoints.down("sm")]: {
|
|
2059
|
-
margin: theme.spacing(4),
|
|
2060
|
-
width: `calc(100% - ${theme.spacing(8)})`,
|
|
2061
|
-
maxWidth: `calc(100% - ${theme.spacing(8)}) !important`
|
|
2062
|
-
}
|
|
2063
|
-
},
|
|
2064
|
-
"& > .MuiList-root": {
|
|
2065
|
-
paddingLeft: theme.spacing(5),
|
|
2066
|
-
paddingRight: theme.spacing(5)
|
|
2067
|
-
}
|
|
2068
|
-
})
|
|
2069
|
-
}
|
|
2070
|
-
},
|
|
2071
|
-
MuiDialogTitle: {
|
|
2072
|
-
styleOverrides: {
|
|
2073
|
-
root: ({ theme }) => ({
|
|
2074
|
-
padding: theme.spacing(5, 6, 1)
|
|
2075
|
-
})
|
|
2076
|
-
}
|
|
2077
|
-
},
|
|
2078
|
-
MuiDialogContent: {
|
|
2079
|
-
styleOverrides: {
|
|
2080
|
-
root: ({ theme }) => ({
|
|
2081
|
-
padding: `${theme.spacing(5, 10)} !important`
|
|
2082
|
-
})
|
|
2083
|
-
}
|
|
2084
|
-
},
|
|
2085
|
-
MuiDialogActions: {
|
|
2086
|
-
styleOverrides: {
|
|
2087
|
-
root: ({ theme }) => ({
|
|
2088
|
-
padding: theme.spacing(1, 6, 5),
|
|
2089
|
-
"&.dialog-actions-dense": {
|
|
2090
|
-
padding: theme.spacing(1, 2.5, 2.5)
|
|
2091
|
-
}
|
|
2092
|
-
})
|
|
2093
|
-
}
|
|
2094
|
-
}
|
|
2095
|
-
};
|
|
2096
|
-
};
|
|
2097
|
-
var dialog_default = Dialog2;
|
|
2098
|
-
|
|
2099
|
-
// src/@core/theme/overrides/divider.ts
|
|
2100
|
-
var Divider2 = () => {
|
|
2101
|
-
return {
|
|
2102
|
-
MuiDivider: {
|
|
2103
|
-
styleOverrides: {
|
|
2104
|
-
root: ({ theme }) => ({
|
|
2105
|
-
".MuiStack-root &:not(.MuiDivider-vertical)": {
|
|
2106
|
-
marginTop: theme.spacing(2),
|
|
2107
|
-
marginBottom: theme.spacing(2)
|
|
2108
|
-
}
|
|
2109
|
-
}),
|
|
2110
|
-
middle: ({ theme }) => ({
|
|
2111
|
-
"&:not(.MuiDivider-vertical)": {
|
|
2112
|
-
marginLeft: theme.spacing(5),
|
|
2113
|
-
marginRight: theme.spacing(5)
|
|
2114
|
-
},
|
|
2115
|
-
"&.MuiDivider-vertical": {
|
|
2116
|
-
marginTop: theme.spacing(2),
|
|
2117
|
-
marginBottom: theme.spacing(2)
|
|
2118
|
-
}
|
|
2119
|
-
})
|
|
2120
|
-
}
|
|
2121
|
-
}
|
|
2122
|
-
};
|
|
2123
|
-
};
|
|
2124
|
-
var divider_default = Divider2;
|
|
2125
|
-
|
|
2126
|
-
// src/@core/theme/overrides/input.ts
|
|
2127
|
-
var input = () => {
|
|
2128
|
-
return {
|
|
2129
|
-
MuiInputLabel: {
|
|
2130
|
-
styleOverrides: {
|
|
2131
|
-
root: ({ theme }) => ({
|
|
2132
|
-
color: theme.palette.text.secondary
|
|
2133
|
-
})
|
|
2134
|
-
}
|
|
2135
|
-
},
|
|
2136
|
-
MuiInput: {
|
|
2137
|
-
styleOverrides: {
|
|
2138
|
-
root: ({ theme }) => ({
|
|
2139
|
-
"&:before": {
|
|
2140
|
-
borderBottom: `1px solid rgba(${theme.palette.customColors.main}, 0.22)`
|
|
2141
|
-
},
|
|
2142
|
-
"&:hover:not(.Mui-disabled):before": {
|
|
2143
|
-
borderBottom: `1px solid rgba(${theme.palette.customColors.main}, 0.32)`
|
|
2144
|
-
},
|
|
2145
|
-
"&.Mui-disabled:before": {
|
|
2146
|
-
borderBottomStyle: "solid"
|
|
2147
|
-
}
|
|
2148
|
-
})
|
|
2149
|
-
}
|
|
2150
|
-
},
|
|
2151
|
-
MuiFilledInput: {
|
|
2152
|
-
styleOverrides: {
|
|
2153
|
-
root: ({ theme }) => ({
|
|
2154
|
-
backgroundColor: `rgba(${theme.palette.customColors.main}, 0.04)`,
|
|
2155
|
-
"&:hover:not(.Mui-disabled)": {
|
|
2156
|
-
backgroundColor: `rgba(${theme.palette.customColors.main}, 0.08)`
|
|
2157
|
-
},
|
|
2158
|
-
"&:before": {
|
|
2159
|
-
borderBottom: `1px solid rgba(${theme.palette.customColors.main}, 0.22)`
|
|
2160
|
-
},
|
|
2161
|
-
"&:hover:not(.Mui-disabled):before": {
|
|
2162
|
-
borderBottom: `1px solid rgba(${theme.palette.customColors.main}, 0.32)`
|
|
2163
|
-
}
|
|
2164
|
-
})
|
|
2165
|
-
}
|
|
2166
|
-
},
|
|
2167
|
-
MuiOutlinedInput: {
|
|
2168
|
-
styleOverrides: {
|
|
2169
|
-
root: ({ theme }) => ({
|
|
2170
|
-
"&:hover:not(.Mui-focused):not(.Mui-disabled):not(.Mui-error) .MuiOutlinedInput-notchedOutline": {
|
|
2171
|
-
borderColor: `rgba(${theme.palette.customColors.main}, 0.32)`
|
|
2172
|
-
},
|
|
2173
|
-
"&:hover.Mui-error .MuiOutlinedInput-notchedOutline": {
|
|
2174
|
-
borderColor: theme.palette.error.main
|
|
2175
|
-
},
|
|
2176
|
-
"& .MuiOutlinedInput-notchedOutline": {
|
|
2177
|
-
borderColor: `rgba(${theme.palette.customColors.main}, 0.22)`
|
|
2178
|
-
},
|
|
2179
|
-
"&.Mui-disabled .MuiOutlinedInput-notchedOutline": {
|
|
2180
|
-
borderColor: theme.palette.text.disabled
|
|
2181
|
-
},
|
|
2182
|
-
"&.Mui-focused": {
|
|
2183
|
-
boxShadow: `0 2px 3px 0 rgba(${theme.palette.customColors.main}, 0.1)`,
|
|
2184
|
-
color: theme.palette.text.secondary + " !important"
|
|
2185
|
-
}
|
|
2186
|
-
})
|
|
2187
|
-
}
|
|
2188
|
-
}
|
|
2189
|
-
};
|
|
2190
|
-
};
|
|
2191
|
-
var input_default = input;
|
|
2192
|
-
|
|
2193
|
-
// src/@core/theme/overrides/link.ts
|
|
2194
|
-
var link_default = {
|
|
2195
|
-
MuiLink: {
|
|
2196
|
-
styleOverrides: {
|
|
2197
|
-
root: {
|
|
2198
|
-
textDecoration: "none"
|
|
2199
|
-
}
|
|
2200
|
-
}
|
|
2201
|
-
}
|
|
2202
|
-
};
|
|
2203
|
-
|
|
2204
|
-
// src/@core/theme/overrides/list.ts
|
|
2205
|
-
var List = () => {
|
|
2206
|
-
return {
|
|
2207
|
-
MuiListItemIcon: {
|
|
2208
|
-
styleOverrides: {
|
|
2209
|
-
root: ({ theme }) => ({
|
|
2210
|
-
minWidth: "0 !important",
|
|
2211
|
-
marginRight: theme.spacing(2.25),
|
|
2212
|
-
color: theme.palette.text.secondary
|
|
2213
|
-
})
|
|
2214
|
-
}
|
|
2215
|
-
},
|
|
2216
|
-
MuiListItemAvatar: {
|
|
2217
|
-
styleOverrides: {
|
|
2218
|
-
root: ({ theme }) => ({
|
|
2219
|
-
minWidth: 0,
|
|
2220
|
-
marginRight: theme.spacing(4)
|
|
2221
|
-
})
|
|
2222
|
-
}
|
|
2223
|
-
},
|
|
2224
|
-
MuiListItemText: {
|
|
2225
|
-
styleOverrides: {
|
|
2226
|
-
dense: ({ theme }) => ({
|
|
2227
|
-
"& .MuiListItemText-primary": {
|
|
2228
|
-
color: theme.palette.text.primary
|
|
2229
|
-
}
|
|
2230
|
-
})
|
|
2231
|
-
}
|
|
2232
|
-
},
|
|
2233
|
-
MuiListSubheader: {
|
|
2234
|
-
styleOverrides: {
|
|
2235
|
-
root: ({ theme }) => ({
|
|
2236
|
-
fontWeight: 600,
|
|
2237
|
-
textTransform: "uppercase",
|
|
2238
|
-
color: theme.palette.text.primary
|
|
2239
|
-
})
|
|
2240
|
-
}
|
|
2241
|
-
}
|
|
2242
|
-
};
|
|
2243
|
-
};
|
|
2244
|
-
var list_default = List;
|
|
2245
|
-
|
|
2246
|
-
// src/@core/theme/overrides/menu.ts
|
|
2247
|
-
var Menu = (skin) => {
|
|
2248
|
-
const boxShadow = (theme) => {
|
|
2249
|
-
if (skin === "bordered") {
|
|
2250
|
-
return theme.shadows[0];
|
|
2251
|
-
} else if (theme.palette.mode === "light") {
|
|
2252
|
-
return theme.shadows[8];
|
|
2253
|
-
} else return theme.shadows[9];
|
|
2254
|
-
};
|
|
2255
|
-
return {
|
|
2256
|
-
MuiMenu: {
|
|
2257
|
-
styleOverrides: {
|
|
2258
|
-
root: ({ theme }) => ({
|
|
2259
|
-
"& .MuiMenu-paper": {
|
|
2260
|
-
boxShadow: boxShadow(theme),
|
|
2261
|
-
backgroundColor: theme.palette.background.default,
|
|
2262
|
-
...skin === "bordered" && {
|
|
2263
|
-
border: `1px solid ${theme.palette.divider}`
|
|
2264
|
-
}
|
|
2265
|
-
}
|
|
2266
|
-
})
|
|
2267
|
-
}
|
|
2268
|
-
},
|
|
2269
|
-
MuiMenuItem: {
|
|
2270
|
-
styleOverrides: {
|
|
2271
|
-
root: ({ theme }) => ({
|
|
2272
|
-
margin: theme.spacing(0, 2, 1),
|
|
2273
|
-
backgroundColor: theme.palette.background.default,
|
|
2274
|
-
padding: theme.spacing(1.75, 4),
|
|
2275
|
-
borderRadius: theme.shape.borderRadius,
|
|
2276
|
-
"&:hover": {
|
|
2277
|
-
color: `${theme.palette.common.black} !important`
|
|
2278
|
-
},
|
|
2279
|
-
"&:last-child": {
|
|
2280
|
-
marginBottom: 0
|
|
2281
|
-
},
|
|
2282
|
-
"&:not(.Mui-focusVisible):hover": {
|
|
2283
|
-
color: theme.palette.common.black,
|
|
2284
|
-
backgroundColor: hexToRGBA(theme.palette.primary.main, 0.08)
|
|
2285
|
-
},
|
|
2286
|
-
"&.Mui-selected": {
|
|
2287
|
-
color: `${theme.palette.common.black} !important`,
|
|
2288
|
-
backgroundColor: `${theme.palette.primary.main} !important`,
|
|
2289
|
-
"&.Mui-focusVisible": {
|
|
2290
|
-
backgroundColor: `${theme.palette.primary.dark} !important`
|
|
2291
|
-
}
|
|
2292
|
-
}
|
|
2293
|
-
})
|
|
2294
|
-
}
|
|
2295
|
-
}
|
|
2296
|
-
};
|
|
2297
|
-
};
|
|
2298
|
-
var menu_default = Menu;
|
|
2299
|
-
|
|
2300
|
-
// src/@core/theme/overrides/paper.ts
|
|
2301
|
-
var paper_default = {
|
|
2302
|
-
MuiPaper: {
|
|
2303
|
-
styleOverrides: {
|
|
2304
|
-
root: {
|
|
2305
|
-
backgroundImage: "none",
|
|
2306
|
-
backgroundColor: "white"
|
|
2307
|
-
}
|
|
2308
|
-
}
|
|
2309
|
-
}
|
|
2310
|
-
};
|
|
2311
|
-
|
|
2312
|
-
// src/@core/theme/overrides/popover.ts
|
|
2313
|
-
var Popover2 = (skin) => {
|
|
2314
|
-
return {
|
|
2315
|
-
MuiPopover: {
|
|
2316
|
-
styleOverrides: {
|
|
2317
|
-
root: ({ theme }) => ({
|
|
2318
|
-
"& .MuiPopover-paper": {
|
|
2319
|
-
boxShadow: theme.shadows[skin === "bordered" ? 0 : 6],
|
|
2320
|
-
...skin === "bordered" && { border: `1px solid ${theme.palette.divider}` }
|
|
2321
|
-
}
|
|
2322
|
-
})
|
|
2323
|
-
}
|
|
2324
|
-
}
|
|
2325
|
-
};
|
|
2326
|
-
};
|
|
2327
|
-
var popover_default = Popover2;
|
|
2328
|
-
|
|
2329
|
-
// src/@core/theme/overrides/progress.ts
|
|
2330
|
-
var Progress = () => {
|
|
2331
|
-
return {
|
|
2332
|
-
MuiLinearProgress: {
|
|
2333
|
-
styleOverrides: {
|
|
2334
|
-
root: ({ theme }) => ({
|
|
2335
|
-
height: 12,
|
|
2336
|
-
borderRadius: "10px",
|
|
2337
|
-
backgroundColor: theme.palette.customColors.trackBg
|
|
2338
|
-
}),
|
|
2339
|
-
bar: {
|
|
2340
|
-
borderRadius: "10px"
|
|
2341
|
-
}
|
|
2342
|
-
}
|
|
2343
|
-
}
|
|
2344
|
-
};
|
|
2345
|
-
};
|
|
2346
|
-
var progress_default = Progress;
|
|
2347
|
-
|
|
2348
|
-
// src/@core/theme/overrides/radio.tsx
|
|
2349
|
-
import { alpha as alpha2, useTheme as useTheme3 } from "@mui/material/styles";
|
|
2350
|
-
import { jsx as jsx17, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
2351
|
-
var CheckedIcon2 = () => {
|
|
2352
|
-
const theme = useTheme3();
|
|
2353
|
-
return /* @__PURE__ */ jsxs12("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
2354
|
-
/* @__PURE__ */ jsx17(
|
|
2355
|
-
"path",
|
|
2356
|
-
{
|
|
2357
|
-
fillRule: "evenodd",
|
|
2358
|
-
clipRule: "evenodd",
|
|
2359
|
-
fill: theme.palette.primary.main,
|
|
2360
|
-
d: "M12 3C16.9705 3 21 7.02944 21 12C21 16.9705 16.9705 21 12 21C7.02944 21 3 16.9705 3 12C3 7.02944 7.02944 3 12 3Z"
|
|
2361
|
-
}
|
|
2362
|
-
),
|
|
2363
|
-
/* @__PURE__ */ jsx17(
|
|
2364
|
-
"path",
|
|
2365
|
-
{
|
|
2366
|
-
fill: theme.palette.common.white,
|
|
2367
|
-
d: "M16 12C16 14.2091 14.2091 16 12 16C9.79086 16 8 14.2091 8 12C8 9.79086 9.79086 8 12 8C14.2091 8 16 9.79086 16 12Z"
|
|
2368
|
-
}
|
|
2369
|
-
)
|
|
2370
|
-
] });
|
|
2371
|
-
};
|
|
2372
|
-
var Icon3 = () => {
|
|
2373
|
-
const theme = useTheme3();
|
|
2374
|
-
return /* @__PURE__ */ jsx17(
|
|
2375
|
-
"svg",
|
|
2376
|
-
{
|
|
2377
|
-
width: "24",
|
|
2378
|
-
height: "24",
|
|
2379
|
-
fill: "none",
|
|
2380
|
-
viewBox: "0 0 24 24",
|
|
2381
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2382
|
-
stroke: theme.palette.text.disabled,
|
|
2383
|
-
children: /* @__PURE__ */ jsx17("path", { d: "M12 3.5C16.6944 3.5 20.5 7.30558 20.5 12C20.5 16.6944 16.6944 20.5 12 20.5C7.30558 20.5 3.5 16.6944 3.5 12C3.5 7.30558 7.30558 3.5 12 3.5Z" })
|
|
2384
|
-
}
|
|
2385
|
-
);
|
|
2386
|
-
};
|
|
2387
|
-
var Radio = () => {
|
|
2388
|
-
return {
|
|
2389
|
-
MuiRadio: {
|
|
2390
|
-
defaultProps: {
|
|
2391
|
-
icon: /* @__PURE__ */ jsx17(Icon3, {}),
|
|
2392
|
-
checkedIcon: /* @__PURE__ */ jsx17(CheckedIcon2, {})
|
|
2393
|
-
},
|
|
2394
|
-
styleOverrides: {
|
|
2395
|
-
root: ({ theme }) => ({
|
|
2396
|
-
"&.Mui-checked": {
|
|
2397
|
-
"& svg": {
|
|
2398
|
-
fill: theme.palette.primary.main,
|
|
2399
|
-
filter: `drop-shadow(0 2px 3px ${alpha2(theme.palette.mode === "light" ? theme.palette.customColors.main : "#0c101b", 0.16)})`
|
|
2400
|
-
},
|
|
2401
|
-
"&.Mui-disabled svg": {
|
|
2402
|
-
opacity: 0.4,
|
|
2403
|
-
filter: "none",
|
|
2404
|
-
"& path:first-of-type": {
|
|
2405
|
-
fill: theme.palette.text.disabled
|
|
2406
|
-
},
|
|
2407
|
-
"& path:last-of-type": {
|
|
2408
|
-
fill: theme.palette.common.white,
|
|
2409
|
-
stroke: theme.palette.common.white,
|
|
2410
|
-
opacity: theme.palette.mode === "dark" ? 0.5 : 0.9
|
|
2411
|
-
}
|
|
2412
|
-
}
|
|
2413
|
-
},
|
|
2414
|
-
"&.Mui-disabled:not(.Mui-checked) svg": {
|
|
2415
|
-
opacity: 0.5
|
|
2416
|
-
},
|
|
2417
|
-
"&.Mui-checked.MuiRadio-colorSecondary svg path:first-of-type": {
|
|
2418
|
-
fill: theme.palette.secondary.main
|
|
2419
|
-
},
|
|
2420
|
-
"&.Mui-checked.MuiRadio-colorSuccess svg path:first-of-type": {
|
|
2421
|
-
fill: theme.palette.success.main
|
|
2422
|
-
},
|
|
2423
|
-
"&.Mui-checked.MuiRadio-colorError svg path:first-of-type": {
|
|
2424
|
-
fill: theme.palette.error.main
|
|
2425
|
-
},
|
|
2426
|
-
"&.Mui-checked.MuiRadio-colorWarning svg path:first-of-type": {
|
|
2427
|
-
fill: theme.palette.warning.main
|
|
2428
|
-
},
|
|
2429
|
-
"&.Mui-checked.MuiRadio-colorInfo svg path:first-of-type": {
|
|
2430
|
-
fill: theme.palette.info.main
|
|
2431
|
-
}
|
|
2432
|
-
})
|
|
2433
|
-
}
|
|
2434
|
-
}
|
|
2435
|
-
};
|
|
2436
|
-
};
|
|
2437
|
-
var radio_default = Radio;
|
|
2438
|
-
|
|
2439
|
-
// src/@core/theme/overrides/rating.ts
|
|
2440
|
-
var Rating = () => {
|
|
2441
|
-
return {
|
|
2442
|
-
MuiRating: {
|
|
2443
|
-
styleOverrides: {
|
|
2444
|
-
root: ({ theme }) => ({
|
|
2445
|
-
color: theme.palette.warning.main,
|
|
2446
|
-
"& svg": {
|
|
2447
|
-
flexShrink: 0
|
|
2448
|
-
}
|
|
2449
|
-
})
|
|
2450
|
-
}
|
|
2451
|
-
}
|
|
2452
|
-
};
|
|
2453
|
-
};
|
|
2454
|
-
var rating_default = Rating;
|
|
2455
|
-
|
|
2456
|
-
// src/@core/theme/overrides/select.ts
|
|
2457
|
-
var select_default = {
|
|
2458
|
-
MuiSelect: {
|
|
2459
|
-
styleOverrides: {
|
|
2460
|
-
select: {
|
|
2461
|
-
minWidth: "6rem !important",
|
|
2462
|
-
"&.MuiTablePagination-select": {
|
|
2463
|
-
minWidth: "1.5rem !important"
|
|
2464
|
-
}
|
|
2465
|
-
}
|
|
2466
|
-
}
|
|
2467
|
-
}
|
|
2468
|
-
};
|
|
2469
|
-
|
|
2470
|
-
// src/@core/theme/overrides/slider.ts
|
|
2471
|
-
var Slider = () => {
|
|
2472
|
-
return {
|
|
2473
|
-
MuiSlider: {
|
|
2474
|
-
styleOverrides: {
|
|
2475
|
-
root: ({ theme }) => ({
|
|
2476
|
-
"&:not(.MuiSlider-vertical)": {
|
|
2477
|
-
height: 6
|
|
2478
|
-
},
|
|
2479
|
-
"&.MuiSlider-vertical": {
|
|
2480
|
-
width: 6
|
|
2481
|
-
},
|
|
2482
|
-
"&.MuiSlider-colorPrimary": {
|
|
2483
|
-
"& .MuiSlider-thumb.Mui-active": {
|
|
2484
|
-
boxShadow: `0 0 0 10px ${hexToRGBA(theme.palette.primary.main, 0.16)}`
|
|
2485
|
-
},
|
|
2486
|
-
"& .MuiSlider-thumbSizeSmall:hover, &.MuiSlider-sizeSmall .MuiSlider-thumb.Mui-focusVisible": {
|
|
2487
|
-
boxShadow: `0 0 0 6px ${hexToRGBA(theme.palette.primary.main, 0.16)}`
|
|
2488
|
-
},
|
|
2489
|
-
"& .MuiSlider-thumbSizeSmall.Mui-active": {
|
|
2490
|
-
boxShadow: `0 0 0 8px ${hexToRGBA(theme.palette.primary.main, 0.16)} !important`
|
|
2491
|
-
}
|
|
2492
|
-
},
|
|
2493
|
-
"&.MuiSlider-colorSecondary": {
|
|
2494
|
-
"& .MuiSlider-thumb.Mui-active": {
|
|
2495
|
-
boxShadow: `0 0 0 10px ${hexToRGBA(theme.palette.secondary.main, 0.16)}`
|
|
2496
|
-
},
|
|
2497
|
-
"& .MuiSlider-thumbSizeSmall:hover, &.MuiSlider-sizeSmall .MuiSlider-thumb.Mui-focusVisible": {
|
|
2498
|
-
boxShadow: `0 0 0 6px ${hexToRGBA(theme.palette.secondary.main, 0.16)}`
|
|
2499
|
-
},
|
|
2500
|
-
"& .MuiSlider-thumbSizeSmall.Mui-active": {
|
|
2501
|
-
boxShadow: `0 0 0 8px ${hexToRGBA(theme.palette.secondary.main, 0.16)} !important`
|
|
2502
|
-
}
|
|
2503
|
-
}
|
|
2504
|
-
}),
|
|
2505
|
-
rail: ({ theme }) => ({
|
|
2506
|
-
opacity: 1,
|
|
2507
|
-
backgroundColor: theme.palette.action.selected
|
|
2508
|
-
}),
|
|
2509
|
-
track: {
|
|
2510
|
-
border: 0
|
|
2511
|
-
},
|
|
2512
|
-
thumb: ({ theme }) => ({
|
|
2513
|
-
width: 14,
|
|
2514
|
-
height: 14,
|
|
2515
|
-
"&:before": {
|
|
2516
|
-
boxShadow: theme.shadows[3],
|
|
2517
|
-
border: `2px solid ${theme.palette.background.paper}`
|
|
2518
|
-
},
|
|
2519
|
-
"&:not(.Mui-active):after": {
|
|
2520
|
-
width: 30,
|
|
2521
|
-
height: 30
|
|
2522
|
-
},
|
|
2523
|
-
"&.Mui-active": {
|
|
2524
|
-
width: 18,
|
|
2525
|
-
height: 18,
|
|
2526
|
-
"&:before": {
|
|
2527
|
-
borderWidth: 3
|
|
2528
|
-
},
|
|
2529
|
-
"&:after": {
|
|
2530
|
-
width: 38,
|
|
2531
|
-
height: 38
|
|
2532
|
-
}
|
|
2533
|
-
}
|
|
2534
|
-
}),
|
|
2535
|
-
sizeSmall: {
|
|
2536
|
-
"&:not(.MuiSlider-vertical)": {
|
|
2537
|
-
height: 4
|
|
2538
|
-
},
|
|
2539
|
-
"&.MuiSlider-vertical": {
|
|
2540
|
-
width: 4
|
|
2541
|
-
}
|
|
2542
|
-
},
|
|
2543
|
-
thumbSizeSmall: ({ theme }) => ({
|
|
2544
|
-
width: 12,
|
|
2545
|
-
height: 12,
|
|
2546
|
-
"&:before": {
|
|
2547
|
-
boxShadow: theme.shadows[2]
|
|
2548
|
-
},
|
|
2549
|
-
"&:not(.Mui-active):after": {
|
|
2550
|
-
width: 24,
|
|
2551
|
-
height: 24
|
|
2552
|
-
},
|
|
2553
|
-
"&.Mui-active": {
|
|
2554
|
-
width: 14,
|
|
2555
|
-
height: 14,
|
|
2556
|
-
"&:before": {
|
|
2557
|
-
borderWidth: 2
|
|
2558
|
-
},
|
|
2559
|
-
"&:after": {
|
|
2560
|
-
width: 30,
|
|
2561
|
-
height: 30
|
|
2562
|
-
}
|
|
2563
|
-
}
|
|
2564
|
-
})
|
|
2565
|
-
}
|
|
2566
|
-
}
|
|
2567
|
-
};
|
|
2568
|
-
};
|
|
2569
|
-
var slider_default = Slider;
|
|
2570
|
-
|
|
2571
|
-
// src/@core/theme/overrides/snackbar.ts
|
|
2572
|
-
var Snackbar = (skin) => {
|
|
2573
|
-
return {
|
|
2574
|
-
MuiSnackbarContent: {
|
|
2575
|
-
styleOverrides: {
|
|
2576
|
-
root: ({ theme }) => ({
|
|
2577
|
-
...skin === "bordered" && { boxShadow: "none" },
|
|
2578
|
-
backgroundColor: `rgb(${theme.palette.customColors.main})`,
|
|
2579
|
-
color: theme.palette.common[theme.palette.mode === "light" ? "white" : "black"]
|
|
2580
|
-
})
|
|
2581
|
-
}
|
|
2582
|
-
}
|
|
2583
|
-
};
|
|
2584
|
-
};
|
|
2585
|
-
var snackbar_default = Snackbar;
|
|
2586
|
-
|
|
2587
|
-
// src/@core/theme/overrides/table.ts
|
|
2588
|
-
var Table = () => {
|
|
2589
|
-
return {
|
|
2590
|
-
MuiTableContainer: {
|
|
2591
|
-
styleOverrides: {
|
|
2592
|
-
root: ({ theme }) => ({
|
|
2593
|
-
boxShadow: theme.shadows[0],
|
|
2594
|
-
borderTopColor: theme.palette.divider
|
|
2595
|
-
})
|
|
2596
|
-
}
|
|
2597
|
-
},
|
|
2598
|
-
MuiTableHead: {
|
|
2599
|
-
styleOverrides: {
|
|
2600
|
-
root: {
|
|
2601
|
-
textTransform: "uppercase",
|
|
2602
|
-
"& .MuiTableCell-head": {
|
|
2603
|
-
fontSize: "0.75rem",
|
|
2604
|
-
fontWeight: 600,
|
|
2605
|
-
letterSpacing: "1px"
|
|
2606
|
-
}
|
|
2607
|
-
}
|
|
2608
|
-
}
|
|
2609
|
-
},
|
|
2610
|
-
MuiTableBody: {
|
|
2611
|
-
styleOverrides: {
|
|
2612
|
-
root: ({ theme }) => ({
|
|
2613
|
-
"& .MuiTableCell-body": {
|
|
2614
|
-
letterSpacing: "0.25px",
|
|
2615
|
-
color: theme.palette.text.secondary,
|
|
2616
|
-
"&:not(.MuiTableCell-sizeSmall):not(.MuiTableCell-paddingCheckbox):not(.MuiTableCell-paddingNone)": {
|
|
2617
|
-
paddingTop: theme.spacing(3.5),
|
|
2618
|
-
paddingBottom: theme.spacing(3.5)
|
|
2619
|
-
}
|
|
2620
|
-
}
|
|
2621
|
-
})
|
|
2622
|
-
}
|
|
2623
|
-
},
|
|
2624
|
-
MuiTableRow: {
|
|
2625
|
-
styleOverrides: {
|
|
2626
|
-
root: ({ theme }) => ({
|
|
2627
|
-
"& .MuiTableCell-head:not(.MuiTableCell-paddingCheckbox):first-child, & .MuiTableCell-root:not(.MuiTableCell-paddingCheckbox):first-child ": {
|
|
2628
|
-
paddingLeft: theme.spacing(6)
|
|
2629
|
-
},
|
|
2630
|
-
"& .MuiTableCell-head:last-child, & .MuiTableCell-root:last-child": {
|
|
2631
|
-
paddingRight: theme.spacing(6)
|
|
2632
|
-
}
|
|
2633
|
-
})
|
|
2634
|
-
}
|
|
2635
|
-
},
|
|
2636
|
-
MuiTableCell: {
|
|
2637
|
-
styleOverrides: {
|
|
2638
|
-
root: ({ theme }) => ({
|
|
2639
|
-
borderBottom: `1px solid ${theme.palette.divider}`
|
|
2640
|
-
}),
|
|
2641
|
-
paddingCheckbox: ({ theme }) => ({
|
|
2642
|
-
paddingLeft: theme.spacing(3.25)
|
|
2643
|
-
}),
|
|
2644
|
-
stickyHeader: ({ theme }) => ({
|
|
2645
|
-
backgroundColor: theme.palette.customColors.tableHeaderBg
|
|
2646
|
-
})
|
|
2647
|
-
}
|
|
2648
|
-
}
|
|
2649
|
-
};
|
|
2650
|
-
};
|
|
2651
|
-
var table_default = Table;
|
|
2652
|
-
|
|
2653
|
-
// src/@core/theme/overrides/tabs.ts
|
|
2654
|
-
var Tabs = () => {
|
|
2655
|
-
return {
|
|
2656
|
-
MuiTabs: {
|
|
2657
|
-
styleOverrides: {
|
|
2658
|
-
root: ({ theme }) => ({
|
|
2659
|
-
minHeight: 38,
|
|
2660
|
-
"&:not(.MuiTabs-vertical)": {
|
|
2661
|
-
borderBottom: `1px solid ${theme.palette.divider}`
|
|
2662
|
-
}
|
|
2663
|
-
}),
|
|
2664
|
-
vertical: ({ theme }) => ({
|
|
2665
|
-
minWidth: 130,
|
|
2666
|
-
marginRight: theme.spacing(4),
|
|
2667
|
-
borderRight: `1px solid ${theme.palette.divider}`,
|
|
2668
|
-
"& .MuiTab-root": {
|
|
2669
|
-
minWidth: 130
|
|
2670
|
-
}
|
|
2671
|
-
})
|
|
2672
|
-
}
|
|
2673
|
-
},
|
|
2674
|
-
MuiTab: {
|
|
2675
|
-
styleOverrides: {
|
|
2676
|
-
root: ({ theme }) => ({
|
|
2677
|
-
minHeight: 38,
|
|
2678
|
-
padding: theme.spacing(1.75, 5)
|
|
2679
|
-
}),
|
|
2680
|
-
textColorSecondary: ({ theme }) => ({
|
|
2681
|
-
"&.Mui-selected": {
|
|
2682
|
-
color: theme.palette.text.secondary
|
|
2683
|
-
}
|
|
2684
|
-
})
|
|
2685
|
-
}
|
|
2686
|
-
},
|
|
2687
|
-
MuiTabPanel: {
|
|
2688
|
-
styleOverrides: {
|
|
2689
|
-
root: ({ theme }) => ({
|
|
2690
|
-
padding: theme.spacing(6)
|
|
2691
|
-
})
|
|
2692
|
-
}
|
|
2693
|
-
}
|
|
2694
|
-
};
|
|
2695
|
-
};
|
|
2696
|
-
var tabs_default = Tabs;
|
|
2697
|
-
|
|
2698
|
-
// src/@core/theme/overrides/tooltip.ts
|
|
2699
|
-
var Tooltip = () => {
|
|
2700
|
-
return {
|
|
2701
|
-
MuiTooltip: {
|
|
2702
|
-
styleOverrides: {
|
|
2703
|
-
tooltip: ({ theme }) => ({
|
|
2704
|
-
backgroundColor: theme.palette.mode === "light" ? `rgba(${theme.palette.customColors.main}, 0.9)` : hexToRGBA(theme.palette.customColors.trackBg, 0.9)
|
|
2705
|
-
}),
|
|
2706
|
-
arrow: ({ theme }) => ({
|
|
2707
|
-
color: theme.palette.mode === "light" ? `rgba(${theme.palette.customColors.main}, 0.9)` : hexToRGBA(theme.palette.customColors.trackBg, 0.9)
|
|
2708
|
-
})
|
|
2709
|
-
}
|
|
2710
|
-
}
|
|
2711
|
-
};
|
|
2712
|
-
};
|
|
2713
|
-
var tooltip_default = Tooltip;
|
|
2714
|
-
|
|
2715
|
-
// src/@core/hooks/useSettings.ts
|
|
2716
|
-
import { useContext } from "react";
|
|
2717
|
-
|
|
2718
|
-
// src/@core/context/settingsContext.tsx
|
|
2719
|
-
import { createContext, useEffect as useEffect2, useState as useState4 } from "react";
|
|
2720
|
-
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
2721
|
-
var initialSettings = {
|
|
2722
|
-
mode: "light",
|
|
2723
|
-
layout: themeConfig_default.layout,
|
|
2724
|
-
lastLayout: themeConfig_default.layout,
|
|
2725
|
-
direction: themeConfig_default.direction,
|
|
2726
|
-
navHidden: themeConfig_default.navHidden,
|
|
2727
|
-
appBarBlur: themeConfig_default.appBarBlur,
|
|
2728
|
-
navCollapsed: themeConfig_default.navCollapsed
|
|
2729
|
-
};
|
|
2730
|
-
var staticSettings = {
|
|
2731
|
-
layout: initialSettings.layout,
|
|
2732
|
-
navHidden: initialSettings.navHidden,
|
|
2733
|
-
lastLayout: initialSettings.lastLayout
|
|
2734
|
-
};
|
|
2735
|
-
var SettingsContext = createContext({
|
|
2736
|
-
saveSettings: () => null,
|
|
2737
|
-
settings: initialSettings
|
|
2738
|
-
});
|
|
2739
|
-
var SettingsConsumer = SettingsContext.Consumer;
|
|
2740
|
-
|
|
2741
|
-
// src/@core/hooks/useSettings.ts
|
|
2742
|
-
var useSettings = () => useContext(SettingsContext);
|
|
2743
|
-
|
|
2744
|
-
// src/@core/theme/overrides/accordion.ts
|
|
2745
|
-
var Accordion = () => {
|
|
2746
|
-
const { settings } = useSettings();
|
|
2747
|
-
const { skin } = settings;
|
|
2748
|
-
return {
|
|
2749
|
-
MuiAccordion: {
|
|
2750
|
-
styleOverrides: {
|
|
2751
|
-
root: ({ theme }) => ({
|
|
2752
|
-
margin: theme.spacing(2, 0),
|
|
2753
|
-
"&:before": { display: "none" },
|
|
2754
|
-
borderRadius: theme.shape.borderRadius,
|
|
2755
|
-
transition: "box-shadow .35s ease, margin .35s ease",
|
|
2756
|
-
boxShadow: theme.shadows[skin === "bordered" ? 0 : 1],
|
|
2757
|
-
...skin === "bordered" && { border: `1px solid ${theme.palette.divider}` },
|
|
2758
|
-
"&.Mui-disabled": {
|
|
2759
|
-
backgroundColor: `rgba(${theme.palette.customColors.main}, 0.12)`
|
|
2760
|
-
},
|
|
2761
|
-
"&.Mui-expanded": {
|
|
2762
|
-
margin: theme.spacing(2, 0),
|
|
2763
|
-
boxShadow: theme.shadows[skin === "bordered" ? 0 : 6]
|
|
2764
|
-
},
|
|
2765
|
-
"& .MuiCollapse-root": {
|
|
2766
|
-
minHeight: "unset !important",
|
|
2767
|
-
transition: "height .35s ease !important",
|
|
2768
|
-
"&.MuiCollapse-entered": {
|
|
2769
|
-
height: "auto !important"
|
|
2770
|
-
}
|
|
2771
|
-
}
|
|
2772
|
-
})
|
|
2773
|
-
}
|
|
2774
|
-
},
|
|
2775
|
-
MuiAccordionSummary: {
|
|
2776
|
-
styleOverrides: {
|
|
2777
|
-
root: ({ theme }) => ({
|
|
2778
|
-
fontWeight: 500,
|
|
2779
|
-
borderRadius: "inherit",
|
|
2780
|
-
padding: `0 ${theme.spacing(4.5)}`,
|
|
2781
|
-
"& + .MuiCollapse-root": {
|
|
2782
|
-
"& .MuiAccordionDetails-root:first-child": {
|
|
2783
|
-
paddingTop: 0
|
|
2784
|
-
}
|
|
2785
|
-
},
|
|
2786
|
-
"&.Mui-expanded": {
|
|
2787
|
-
minHeight: "unset",
|
|
2788
|
-
borderBottomLeftRadius: 0,
|
|
2789
|
-
borderBottomRightRadius: 0,
|
|
2790
|
-
"& .MuiAccordionSummary-content": {
|
|
2791
|
-
margin: theme.spacing(3, 0)
|
|
2792
|
-
}
|
|
2793
|
-
},
|
|
2794
|
-
"& .MuiTypography-root": {
|
|
2795
|
-
fontWeight: 500
|
|
2796
|
-
}
|
|
2797
|
-
}),
|
|
2798
|
-
content: ({ theme }) => ({
|
|
2799
|
-
margin: theme.spacing(3, 0)
|
|
2800
|
-
}),
|
|
2801
|
-
expandIconWrapper: ({ theme }) => ({
|
|
2802
|
-
color: theme.palette.text.primary
|
|
2803
|
-
})
|
|
2804
|
-
}
|
|
2805
|
-
},
|
|
2806
|
-
MuiAccordionDetails: {
|
|
2807
|
-
styleOverrides: {
|
|
2808
|
-
root: ({ theme }) => ({
|
|
2809
|
-
padding: theme.spacing(4.5),
|
|
2810
|
-
"& + .MuiAccordionDetails-root": {
|
|
2811
|
-
paddingTop: 0
|
|
2812
|
-
}
|
|
2813
|
-
})
|
|
2814
|
-
}
|
|
2815
|
-
}
|
|
2816
|
-
};
|
|
2817
|
-
};
|
|
2818
|
-
var accordion_default = Accordion;
|
|
2819
|
-
|
|
2820
|
-
// src/@core/theme/overrides/autocomplete.ts
|
|
2821
|
-
var Autocomplete3 = (skin) => {
|
|
2822
|
-
return {
|
|
2823
|
-
MuiAutocomplete: {
|
|
2824
|
-
styleOverrides: {
|
|
2825
|
-
paper: ({ theme }) => ({
|
|
2826
|
-
...skin === "bordered" && { boxShadow: "none", border: `1px solid ${theme.palette.divider}` }
|
|
2827
|
-
})
|
|
2828
|
-
}
|
|
2829
|
-
}
|
|
2830
|
-
};
|
|
2831
|
-
};
|
|
2832
|
-
var autocomplete_default = Autocomplete3;
|
|
2833
|
-
|
|
2834
|
-
// src/@core/theme/overrides/breadcrumbs.ts
|
|
2835
|
-
var Breadcrumbs = () => {
|
|
2836
|
-
return {
|
|
2837
|
-
MuiBreadcrumbs: {
|
|
2838
|
-
styleOverrides: {
|
|
2839
|
-
root: ({ theme }) => ({
|
|
2840
|
-
"& a": {
|
|
2841
|
-
textDecoration: "none",
|
|
2842
|
-
color: theme.palette.primary.main
|
|
2843
|
-
}
|
|
2844
|
-
}),
|
|
2845
|
-
li: ({ theme }) => ({
|
|
2846
|
-
color: theme.palette.text.secondary,
|
|
2847
|
-
"& .MuiTypography-root": {
|
|
2848
|
-
color: "inherit"
|
|
2849
|
-
}
|
|
2850
|
-
})
|
|
2851
|
-
}
|
|
2852
|
-
}
|
|
2853
|
-
};
|
|
2854
|
-
};
|
|
2855
|
-
var breadcrumbs_default = Breadcrumbs;
|
|
2856
|
-
|
|
2857
|
-
// src/@core/theme/overrides/pagination.ts
|
|
2858
|
-
var Pagination = () => {
|
|
2859
|
-
return {
|
|
2860
|
-
MuiPaginationItem: {
|
|
2861
|
-
styleOverrides: {
|
|
2862
|
-
root: ({ theme }) => ({
|
|
2863
|
-
"&:not(.MuiPaginationItem-outlined):not(.Mui-disabled)": {
|
|
2864
|
-
transition: theme.transitions.create(["color", "background-color", "box-shadow"], {
|
|
2865
|
-
duration: 250,
|
|
2866
|
-
easing: "cubic-bezier(0.4, 0, 0.2, 1)"
|
|
2867
|
-
}),
|
|
2868
|
-
"&.Mui-selected": {
|
|
2869
|
-
boxShadow: theme.shadows[2]
|
|
2870
|
-
}
|
|
2871
|
-
}
|
|
2872
|
-
}),
|
|
2873
|
-
outlined: ({ theme }) => ({
|
|
2874
|
-
borderColor: `rgba(${theme.palette.customColors.main}, 0.22)`
|
|
2875
|
-
}),
|
|
2876
|
-
outlinedPrimary: ({ theme }) => ({
|
|
2877
|
-
"&.Mui-selected": {
|
|
2878
|
-
backgroundColor: hexToRGBA(theme.palette.primary.main, 0.16)
|
|
2879
|
-
}
|
|
2880
|
-
}),
|
|
2881
|
-
outlinedSecondary: ({ theme }) => ({
|
|
2882
|
-
"&.Mui-selected": {
|
|
2883
|
-
backgroundColor: hexToRGBA(theme.palette.secondary.main, 0.16)
|
|
2884
|
-
}
|
|
2885
|
-
})
|
|
2886
|
-
}
|
|
2887
|
-
}
|
|
2888
|
-
};
|
|
2889
|
-
};
|
|
2890
|
-
var pagination_default = Pagination;
|
|
2891
|
-
|
|
2892
|
-
// src/@core/theme/overrides/timeline.ts
|
|
2893
|
-
var Timeline = () => {
|
|
2894
|
-
return {
|
|
2895
|
-
MuiTimelineItem: {
|
|
2896
|
-
styleOverrides: {
|
|
2897
|
-
root: ({ theme }) => ({
|
|
2898
|
-
"&:not(:last-of-type)": {
|
|
2899
|
-
"& .MuiTimelineContent-root": {
|
|
2900
|
-
marginBottom: theme.spacing(4)
|
|
2901
|
-
}
|
|
2902
|
-
}
|
|
2903
|
-
})
|
|
2904
|
-
}
|
|
2905
|
-
},
|
|
2906
|
-
MuiTimelineConnector: {
|
|
2907
|
-
styleOverrides: {
|
|
2908
|
-
root: ({ theme }) => ({
|
|
2909
|
-
backgroundColor: theme.palette.divider
|
|
2910
|
-
})
|
|
2911
|
-
}
|
|
2912
|
-
},
|
|
2913
|
-
MuiTimelineContent: {
|
|
2914
|
-
styleOverrides: {
|
|
2915
|
-
root: ({ theme }) => ({
|
|
2916
|
-
marginTop: theme.spacing(0.5)
|
|
2917
|
-
})
|
|
2918
|
-
}
|
|
2919
|
-
},
|
|
2920
|
-
MuiTimelineDot: {
|
|
2921
|
-
styleOverrides: {
|
|
2922
|
-
filledPrimary: ({ theme }) => ({
|
|
2923
|
-
boxShadow: `0 0 0 3px ${hexToRGBA(theme.palette.primary.main, 0.16)}`
|
|
2924
|
-
}),
|
|
2925
|
-
filledSecondary: ({ theme }) => ({
|
|
2926
|
-
boxShadow: `0 0 0 3px ${hexToRGBA(theme.palette.secondary.main, 0.16)}`
|
|
2927
|
-
}),
|
|
2928
|
-
filledSuccess: ({ theme }) => ({
|
|
2929
|
-
boxShadow: `0 0 0 3px ${hexToRGBA(theme.palette.success.main, 0.16)}`
|
|
2930
|
-
}),
|
|
2931
|
-
filledError: ({ theme }) => ({
|
|
2932
|
-
boxShadow: `0 0 0 3px ${hexToRGBA(theme.palette.error.main, 0.16)}`
|
|
2933
|
-
}),
|
|
2934
|
-
filledWarning: ({ theme }) => ({
|
|
2935
|
-
boxShadow: `0 0 0 3px ${hexToRGBA(theme.palette.warning.main, 0.16)}`
|
|
2936
|
-
}),
|
|
2937
|
-
filledInfo: ({ theme }) => ({
|
|
2938
|
-
boxShadow: `0 0 0 3px ${hexToRGBA(theme.palette.info.main, 0.16)}`
|
|
2939
|
-
}),
|
|
2940
|
-
filledGrey: ({ theme }) => ({
|
|
2941
|
-
boxShadow: `0 0 0 3px ${hexToRGBA(theme.palette.grey[400], 0.16)}`
|
|
2942
|
-
}),
|
|
2943
|
-
outlinedPrimary: ({ theme }) => ({
|
|
2944
|
-
"& svg": { color: theme.palette.primary.main }
|
|
2945
|
-
}),
|
|
2946
|
-
outlinedSecondary: ({ theme }) => ({
|
|
2947
|
-
"& svg": { color: theme.palette.secondary.main }
|
|
2948
|
-
}),
|
|
2949
|
-
outlinedSuccess: ({ theme }) => ({
|
|
2950
|
-
"& svg": { color: theme.palette.success.main }
|
|
2951
|
-
}),
|
|
2952
|
-
outlinedError: ({ theme }) => ({
|
|
2953
|
-
"& svg": { color: theme.palette.error.main }
|
|
2954
|
-
}),
|
|
2955
|
-
outlinedWarning: ({ theme }) => ({
|
|
2956
|
-
"& svg": { color: theme.palette.warning.main }
|
|
2957
|
-
}),
|
|
2958
|
-
outlinedInfo: ({ theme }) => ({
|
|
2959
|
-
"& svg": { color: theme.palette.info.main }
|
|
2960
|
-
}),
|
|
2961
|
-
outlinedGrey: ({ theme }) => ({
|
|
2962
|
-
"& svg": { color: theme.palette.grey[400] }
|
|
2963
|
-
})
|
|
2964
|
-
}
|
|
2965
|
-
}
|
|
2966
|
-
};
|
|
2967
|
-
};
|
|
2968
|
-
var timeline_default = Timeline;
|
|
2969
|
-
|
|
2970
|
-
// src/@core/theme/overrides/toggleButton.ts
|
|
2971
|
-
var toggleButton_default = {
|
|
2972
|
-
MuiToggleButtonGroup: {
|
|
2973
|
-
styleOverrides: {
|
|
2974
|
-
root: {
|
|
2975
|
-
borderRadius: 4
|
|
2976
|
-
}
|
|
2977
|
-
}
|
|
2978
|
-
},
|
|
2979
|
-
MuiToggleButton: {
|
|
2980
|
-
styleOverrides: {
|
|
2981
|
-
root: {
|
|
2982
|
-
borderRadius: 4
|
|
2983
|
-
}
|
|
2984
|
-
}
|
|
2985
|
-
}
|
|
2986
|
-
};
|
|
2987
|
-
|
|
2988
|
-
// src/@core/theme/overrides/typography.ts
|
|
2989
|
-
var typography = {
|
|
2990
|
-
MuiTypography: {
|
|
2991
|
-
styleOverrides: {
|
|
2992
|
-
gutterBottom: ({ theme }) => ({
|
|
2993
|
-
marginBottom: theme.spacing(2)
|
|
2994
|
-
})
|
|
2995
|
-
},
|
|
2996
|
-
variants: [
|
|
2997
|
-
{
|
|
2998
|
-
props: { variant: "h1" },
|
|
2999
|
-
style: ({ theme }) => ({
|
|
3000
|
-
color: theme.palette.common.black
|
|
3001
|
-
})
|
|
3002
|
-
},
|
|
3003
|
-
{
|
|
3004
|
-
props: { variant: "h2" },
|
|
3005
|
-
style: ({ theme }) => ({
|
|
3006
|
-
color: theme.palette.common.black
|
|
3007
|
-
})
|
|
3008
|
-
},
|
|
3009
|
-
{
|
|
3010
|
-
props: { variant: "h3" },
|
|
3011
|
-
style: ({ theme }) => ({
|
|
3012
|
-
color: theme.palette.common.black,
|
|
3013
|
-
fontSize: "2.25rem !important"
|
|
3014
|
-
})
|
|
3015
|
-
},
|
|
3016
|
-
{
|
|
3017
|
-
props: { variant: "h4" },
|
|
3018
|
-
style: ({ theme }) => ({
|
|
3019
|
-
color: theme.palette.common.black,
|
|
3020
|
-
fontSize: "1.875rem !important"
|
|
3021
|
-
})
|
|
3022
|
-
},
|
|
3023
|
-
{
|
|
3024
|
-
props: { variant: "h5" },
|
|
3025
|
-
style: ({ theme }) => ({
|
|
3026
|
-
color: theme.palette.common.black,
|
|
3027
|
-
fontSize: "1.375rem !important"
|
|
3028
|
-
})
|
|
3029
|
-
},
|
|
3030
|
-
{
|
|
3031
|
-
props: { variant: "h6" },
|
|
3032
|
-
style: ({ theme }) => ({
|
|
3033
|
-
color: theme.palette.common.black
|
|
3034
|
-
})
|
|
3035
|
-
},
|
|
3036
|
-
{
|
|
3037
|
-
props: { variant: "subtitle1" },
|
|
3038
|
-
style: ({ theme }) => ({
|
|
3039
|
-
color: theme.palette.common.black,
|
|
3040
|
-
fontSize: "1.2rem"
|
|
3041
|
-
})
|
|
3042
|
-
},
|
|
3043
|
-
{
|
|
3044
|
-
props: { variant: "subtitle2" },
|
|
3045
|
-
style: ({}) => ({
|
|
3046
|
-
color: "#28293D"
|
|
3047
|
-
})
|
|
3048
|
-
},
|
|
3049
|
-
{
|
|
3050
|
-
props: { variant: "body1" },
|
|
3051
|
-
style: ({ theme }) => ({
|
|
3052
|
-
color: theme.palette.common.black,
|
|
3053
|
-
fontSize: "1.2rem !important"
|
|
3054
|
-
})
|
|
3055
|
-
},
|
|
3056
|
-
{
|
|
3057
|
-
props: { variant: "body2" },
|
|
3058
|
-
style: ({}) => ({
|
|
3059
|
-
color: "#222",
|
|
3060
|
-
fontSize: "12px !important"
|
|
3061
|
-
})
|
|
3062
|
-
},
|
|
3063
|
-
{
|
|
3064
|
-
props: { variant: "body" },
|
|
3065
|
-
style: ({}) => ({
|
|
3066
|
-
color: "#222",
|
|
3067
|
-
fontSize: "12px !important"
|
|
3068
|
-
})
|
|
3069
|
-
},
|
|
3070
|
-
{
|
|
3071
|
-
props: { variant: "button" },
|
|
3072
|
-
style: ({ theme }) => ({
|
|
3073
|
-
color: theme.palette.common.black,
|
|
3074
|
-
fontSize: "16px !important"
|
|
3075
|
-
})
|
|
3076
|
-
},
|
|
3077
|
-
{
|
|
3078
|
-
props: { variant: "caption" },
|
|
3079
|
-
style: ({ theme }) => ({
|
|
3080
|
-
color: theme.palette.text.secondary
|
|
3081
|
-
})
|
|
3082
|
-
},
|
|
3083
|
-
{
|
|
3084
|
-
props: { variant: "overline" },
|
|
3085
|
-
style: ({ theme }) => ({
|
|
3086
|
-
color: theme.palette.text.secondary
|
|
3087
|
-
})
|
|
3088
|
-
}
|
|
3089
|
-
]
|
|
3090
|
-
}
|
|
3091
|
-
};
|
|
3092
|
-
var typography_default = typography;
|
|
3093
|
-
|
|
3094
|
-
// src/@core/theme/overrides/index.ts
|
|
3095
|
-
var Overrides = (settings) => {
|
|
3096
|
-
const { skin } = settings;
|
|
3097
|
-
const button = button_default();
|
|
3098
|
-
const chip = chip_default();
|
|
3099
|
-
const list = list_default();
|
|
3100
|
-
const tabs = tabs_default();
|
|
3101
|
-
const radio = radio_default();
|
|
3102
|
-
const input2 = input_default();
|
|
3103
|
-
const tables = table_default();
|
|
3104
|
-
const alerts = alerts_default();
|
|
3105
|
-
const rating = rating_default();
|
|
3106
|
-
const slider = slider_default();
|
|
3107
|
-
const avatars = avatars_default();
|
|
3108
|
-
const divider = divider_default();
|
|
3109
|
-
const menu = menu_default(skin);
|
|
3110
|
-
const tooltip = tooltip_default();
|
|
3111
|
-
const cards = card_default(skin);
|
|
3112
|
-
const checkbox = checkbox_default();
|
|
3113
|
-
const backdrop = backdrop_default();
|
|
3114
|
-
const dataGrid = dataGrid_default();
|
|
3115
|
-
const progress = progress_default();
|
|
3116
|
-
const timeline = timeline_default();
|
|
3117
|
-
const accordion = accordion_default();
|
|
3118
|
-
const dialog = dialog_default(skin);
|
|
3119
|
-
const pagination = pagination_default();
|
|
3120
|
-
const popover = popover_default(skin);
|
|
3121
|
-
const breadcrumb = breadcrumbs_default();
|
|
3122
|
-
const snackbar = snackbar_default(skin);
|
|
3123
|
-
const autocomplete = autocomplete_default(skin);
|
|
3124
|
-
return Object.assign(
|
|
3125
|
-
chip,
|
|
3126
|
-
list,
|
|
3127
|
-
menu,
|
|
3128
|
-
tabs,
|
|
3129
|
-
cards,
|
|
3130
|
-
radio,
|
|
3131
|
-
input2,
|
|
3132
|
-
alerts,
|
|
3133
|
-
button,
|
|
3134
|
-
dialog,
|
|
3135
|
-
rating,
|
|
3136
|
-
slider,
|
|
3137
|
-
tables,
|
|
3138
|
-
avatars,
|
|
3139
|
-
divider,
|
|
3140
|
-
link_default,
|
|
3141
|
-
popover,
|
|
3142
|
-
tooltip,
|
|
3143
|
-
checkbox,
|
|
3144
|
-
backdrop,
|
|
3145
|
-
dataGrid,
|
|
3146
|
-
paper_default,
|
|
3147
|
-
progress,
|
|
3148
|
-
snackbar,
|
|
3149
|
-
// switches,
|
|
3150
|
-
timeline,
|
|
3151
|
-
accordion,
|
|
3152
|
-
select_default,
|
|
3153
|
-
breadcrumb,
|
|
3154
|
-
pagination,
|
|
3155
|
-
autocomplete,
|
|
3156
|
-
typography_default,
|
|
3157
|
-
toggleButton_default
|
|
3158
|
-
);
|
|
3159
|
-
};
|
|
3160
|
-
var overrides_default = Overrides;
|
|
3161
|
-
|
|
3162
|
-
// src/@core/theme/palette/index.ts
|
|
3163
|
-
var DefaultPalette = (mode, skin) => {
|
|
3164
|
-
const whiteColor = "#FFF";
|
|
3165
|
-
const lightColor = "51, 48, 60";
|
|
3166
|
-
const darkColor = "228, 230, 244";
|
|
3167
|
-
const lightColorHex = "#33303c";
|
|
3168
|
-
const darkColorHex = "#e4e6f4";
|
|
3169
|
-
const darkPaperBgColor = "#2F3349";
|
|
3170
|
-
const mainColor = mode === "light" ? lightColor : darkColor;
|
|
3171
|
-
const defaultBgColor = () => {
|
|
3172
|
-
if (skin === "bordered" && mode === "light") {
|
|
3173
|
-
return whiteColor;
|
|
3174
|
-
} else if (skin === "bordered" && mode === "dark") {
|
|
3175
|
-
return darkPaperBgColor;
|
|
3176
|
-
} else if (mode === "light") {
|
|
3177
|
-
return "#F8F7FA";
|
|
3178
|
-
} else return "#25293C";
|
|
3179
|
-
};
|
|
3180
|
-
return {
|
|
3181
|
-
customColors: {
|
|
3182
|
-
dark: darkColorHex,
|
|
3183
|
-
main: lightColorHex,
|
|
3184
|
-
light: lightColorHex,
|
|
3185
|
-
lightPaperBg: whiteColor,
|
|
3186
|
-
darkPaperBg: darkPaperBgColor,
|
|
3187
|
-
bodyBg: mode === "light" ? "#F8F7FA" : "#25293C",
|
|
3188
|
-
trackBg: mode === "light" ? "#F1F0F2" : "#3B405B",
|
|
3189
|
-
avatarBg: mode === "light" ? "#F6F6F7" : "#4A5072",
|
|
3190
|
-
tableHeaderBg: mode === "light" ? "#F6F6F7" : "#4A5072"
|
|
3191
|
-
},
|
|
3192
|
-
mode,
|
|
3193
|
-
common: {
|
|
3194
|
-
black: "#000",
|
|
3195
|
-
white: whiteColor
|
|
3196
|
-
},
|
|
3197
|
-
primary: {
|
|
3198
|
-
light: "rgba(103, 80, 164, 0.02)",
|
|
3199
|
-
main: "#d8c5f9",
|
|
3200
|
-
dark: "#8710D8",
|
|
3201
|
-
contrastText: whiteColor
|
|
3202
|
-
},
|
|
3203
|
-
secondary: {
|
|
3204
|
-
light: "#EFEFEF",
|
|
3205
|
-
main: "#1D192B",
|
|
3206
|
-
dark: "#949699",
|
|
3207
|
-
contrastText: whiteColor
|
|
3208
|
-
},
|
|
3209
|
-
error: {
|
|
3210
|
-
light: "#ED6F70",
|
|
3211
|
-
main: "#EA5455",
|
|
3212
|
-
dark: "#CE4A4B",
|
|
3213
|
-
contrastText: whiteColor
|
|
3214
|
-
},
|
|
3215
|
-
warning: {
|
|
3216
|
-
light: "#FFAB5A",
|
|
3217
|
-
main: "#FF9F43",
|
|
3218
|
-
dark: "#E08C3B",
|
|
3219
|
-
contrastText: whiteColor
|
|
3220
|
-
},
|
|
3221
|
-
info: {
|
|
3222
|
-
light: "#1FD5EB",
|
|
3223
|
-
main: "#00CFE8",
|
|
3224
|
-
dark: "#00B6CC",
|
|
3225
|
-
contrastText: whiteColor
|
|
3226
|
-
},
|
|
3227
|
-
success: {
|
|
3228
|
-
light: "#42CE80",
|
|
3229
|
-
main: "#28C76F",
|
|
3230
|
-
dark: "#23AF62",
|
|
3231
|
-
contrastText: whiteColor
|
|
3232
|
-
},
|
|
3233
|
-
grey: {
|
|
3234
|
-
50: "#FAFAFA",
|
|
3235
|
-
100: "#F5F5F5",
|
|
3236
|
-
200: "#EEEEEE",
|
|
3237
|
-
300: "#E0E0E0",
|
|
3238
|
-
400: "#BDBDBD",
|
|
3239
|
-
500: "#9E9E9E",
|
|
3240
|
-
600: "#757575",
|
|
3241
|
-
700: "#616161",
|
|
3242
|
-
800: "#424242",
|
|
3243
|
-
900: "#212121",
|
|
3244
|
-
A100: "#F5F5F5",
|
|
3245
|
-
A200: "#EEEEEE",
|
|
3246
|
-
A400: "#BDBDBD",
|
|
3247
|
-
A700: "#616161"
|
|
3248
|
-
},
|
|
3249
|
-
text: {
|
|
3250
|
-
primary: `rgba(${mainColor}, 0.87)`,
|
|
3251
|
-
secondary: `rgba(${mainColor}, 0.6)`,
|
|
3252
|
-
disabled: `rgba(${mainColor}, 0.38)`
|
|
3253
|
-
},
|
|
3254
|
-
divider: `rgba(${mainColor}, 0.12)`,
|
|
3255
|
-
background: {
|
|
3256
|
-
// paper: mode === "light" ? whiteColor : darkPaperBgColor,
|
|
3257
|
-
paper: mode === "light" ? "#F2EBFF" : darkPaperBgColor,
|
|
3258
|
-
default: defaultBgColor()
|
|
3259
|
-
},
|
|
3260
|
-
action: {
|
|
3261
|
-
active: `rgba(${mainColor}, 0.54)`,
|
|
3262
|
-
hover: `rgba(${mainColor}, 0.04)`,
|
|
3263
|
-
selected: `rgba(${mainColor}, 0.08)`,
|
|
3264
|
-
disabled: `rgba(${mainColor}, 0.26)`,
|
|
3265
|
-
disabledBackground: `rgba(${mainColor}, 0.12)`,
|
|
3266
|
-
focus: `rgba(${mainColor}, 0.12)`
|
|
3267
|
-
}
|
|
3268
|
-
};
|
|
3269
|
-
};
|
|
3270
|
-
var palette_default = DefaultPalette;
|
|
3271
|
-
|
|
3272
|
-
// src/@core/theme/shadows/index.ts
|
|
3273
|
-
var Shadows = (mode) => {
|
|
3274
|
-
if (mode === "light") {
|
|
3275
|
-
return [
|
|
3276
|
-
"none",
|
|
3277
|
-
"0px 2px 4px 1px rgba(51, 48, 60, 0.03), 0px 3px 4px 0px rgba(51, 48, 60, 0.02), 0px 1px 3px 2px rgba(51, 48, 60, 0.01)",
|
|
3278
|
-
"0px 3px 5px 2px rgba(51, 48, 60, 0.03), 0px 3px 5px 0px rgba(51, 48, 60, 0.02), 0px 1px 4px 2px rgba(51, 48, 60, 0.01)",
|
|
3279
|
-
"0px 3px 6px 2px rgba(51, 48, 60, 0.03), 0px 4px 6px 0px rgba(51, 48, 60, 0.02), 0px 1px 4px 2px rgba(51, 48, 60, 0.01)",
|
|
3280
|
-
"0px 2px 7px 1px rgba(51, 48, 60, 0.03), 0px 4px 7px 0px rgba(51, 48, 60, 0.02), 0px 1px 4px 2px rgba(51, 48, 60, 0.01)",
|
|
3281
|
-
"0px 3px 8px 1px rgba(51, 48, 60, 0.03), 0px 6px 8px 0px rgba(51, 48, 60, 0.02), 0px 1px 5px 4px rgba(51, 48, 60, 0.01)",
|
|
3282
|
-
"0px 3px 9px 1px rgba(51, 48, 60, 0.03), 0px 8px 9px 0px rgba(51, 48, 60, 0.02), 0px 1px 6px 4px rgba(51, 48, 60, 0.01)",
|
|
3283
|
-
"0px 4px 10px 2px rgba(51, 48, 60, 0.03), 0px 9px 10px 1px rgba(51, 48, 60, 0.02), 0px 2px 7px 4px rgba(51, 48, 60, 0.01)",
|
|
3284
|
-
"0px 5px 11px 3px rgba(51, 48, 60, 0.03), 0px 8px 11px 1px rgba(51, 48, 60, 0.02), 0px 3px 8px 4px rgba(51, 48, 60, 0.01)",
|
|
3285
|
-
"0px 5px 12px 3px rgba(51, 48, 60, 0.03), 0px 9px 12px 1px rgba(51, 48, 60, 0.02), 0px 3px 9px 5px rgba(51, 48, 60, 0.01)",
|
|
3286
|
-
"0px 6px 13px 3px rgba(51, 48, 60, 0.03), 0px 10px 13px 1px rgba(51, 48, 60, 0.02), 0px 4px 10px 5px rgba(51, 48, 60, 0.01)",
|
|
3287
|
-
"0px 6px 14px 4px rgba(51, 48, 60, 0.03), 0px 11px 14px 1px rgba(51, 48, 60, 0.02), 0px 4px 11px 5px rgba(51, 48, 60, 0.01)",
|
|
3288
|
-
"0px 7px 15px 4px rgba(51, 48, 60, 0.03), 0px 12px 15px 2px rgba(51, 48, 60, 0.02), 0px 5px 12px 5px rgba(51, 48, 60, 0.01)",
|
|
3289
|
-
"0px 7px 16px 4px rgba(51, 48, 60, 0.03), 0px 13px 16px 2px rgba(51, 48, 60, 0.02), 0px 5px 13px 6px rgba(51, 48, 60, 0.01)",
|
|
3290
|
-
"0px 7px 17px 4px rgba(51, 48, 60, 0.03), 0px 14px 17px 2px rgba(51, 48, 60, 0.02), 0px 5px 14px 6px rgba(51, 48, 60, 0.01)",
|
|
3291
|
-
"0px 8px 18px 5px rgba(51, 48, 60, 0.03), 0px 15px 18px 2px rgba(51, 48, 60, 0.02), 0px 6px 15px 6px rgba(51, 48, 60, 0.01)",
|
|
3292
|
-
"0px 8px 19px 5px rgba(51, 48, 60, 0.03), 0px 16px 19px 2px rgba(51, 48, 60, 0.02), 0px 6px 16px 6px rgba(51, 48, 60, 0.01)",
|
|
3293
|
-
"0px 8px 20px 5px rgba(51, 48, 60, 0.03), 0px 17px 20px 2px rgba(51, 48, 60, 0.02), 0px 6px 17px 7px rgba(51, 48, 60, 0.01)",
|
|
3294
|
-
"0px 9px 21px 5px rgba(51, 48, 60, 0.03), 0px 18px 21px 2px rgba(51, 48, 60, 0.02), 0px 7px 18px 7px rgba(51, 48, 60, 0.01)",
|
|
3295
|
-
"0px 9px 22px 6px rgba(51, 48, 60, 0.03), 0px 19px 22px 2px rgba(51, 48, 60, 0.02), 0px 7px 19px 7px rgba(51, 48, 60, 0.01)",
|
|
3296
|
-
"0px 10px 23px 6px rgba(51, 48, 60, 0.03), 0px 20px 23px 3px rgba(51, 48, 60, 0.02), 0px 8px 20px 7px rgba(51, 48, 60, 0.01)",
|
|
3297
|
-
"0px 10px 24px 6px rgba(51, 48, 60, 0.03), 0px 21px 24px 3px rgba(51, 48, 60, 0.02), 0px 8px 21px 7px rgba(51, 48, 60, 0.01)",
|
|
3298
|
-
"0px 10px 25px 6px rgba(51, 48, 60, 0.03), 0px 22px 25px 3px rgba(51, 48, 60, 0.02), 0px 8px 22px 7px rgba(51, 48, 60, 0.01)",
|
|
3299
|
-
"0px 11px 26px 7px rgba(51, 48, 60, 0.03), 0px 23px 26px 3px rgba(51, 48, 60, 0.02), 0px 9px 23px 7px rgba(51, 48, 60, 0.01)",
|
|
3300
|
-
"0px 11px 27px 7px rgba(51, 48, 60, 0.03), 0px 24px 27px 3px rgba(51, 48, 60, 0.02), 0px 9px 24px 7px rgba(51, 48, 60, 0.01)"
|
|
3301
|
-
];
|
|
3302
|
-
} else {
|
|
3303
|
-
return [
|
|
3304
|
-
"none",
|
|
3305
|
-
"0px 2px 4px 1px rgba(12, 16, 27, 0.15), 0px 3px 4px 0px rgba(12, 16, 27, 0.1), 0px 1px 3px 2px rgba(12, 16, 27, 0.08)",
|
|
3306
|
-
"0px 3px 5px 2px rgba(12, 16, 27, 0.15), 0px 3px 5px 0px rgba(12, 16, 27, 0.1), 0px 1px 4px 2px rgba(12, 16, 27, 0.08)",
|
|
3307
|
-
"0px 3px 6px 2px rgba(12, 16, 27, 0.15), 0px 4px 6px 0px rgba(12, 16, 27, 0.1), 0px 1px 4px 2px rgba(12, 16, 27, 0.08)",
|
|
3308
|
-
"0px 2px 7px 1px rgba(12, 16, 27, 0.15), 0px 4px 7px 0px rgba(12, 16, 27, 0.1), 0px 1px 4px 2px rgba(12, 16, 27, 0.08)",
|
|
3309
|
-
"0px 3px 8px 1px rgba(12, 16, 27, 0.15), 0px 6px 8px 0px rgba(12, 16, 27, 0.1), 0px 1px 5px 4px rgba(12, 16, 27, 0.08)",
|
|
3310
|
-
"0px 3px 9px 1px rgba(12, 16, 27, 0.15), 0px 8px 9px 0px rgba(12, 16, 27, 0.1), 0px 1px 6px 4px rgba(12, 16, 27, 0.08)",
|
|
3311
|
-
"0px 4px 10px 2px rgba(12, 16, 27, 0.15), 0px 9px 10px 1px rgba(12, 16, 27, 0.1), 0px 2px 7px 4px rgba(12, 16, 27, 0.08)",
|
|
3312
|
-
"0px 5px 11px 3px rgba(12, 16, 27, 0.15), 0px 8px 11px 1px rgba(12, 16, 27, 0.1), 0px 3px 8px 4px rgba(12, 16, 27, 0.08)",
|
|
3313
|
-
"0px 5px 12px 3px rgba(12, 16, 27, 0.15), 0px 9px 12px 1px rgba(12, 16, 27, 0.1), 0px 3px 9px 5px rgba(12, 16, 27, 0.08)",
|
|
3314
|
-
"0px 6px 13px 3px rgba(12, 16, 27, 0.15), 0px 10px 13px 1px rgba(12, 16, 27, 0.1), 0px 4px 10px 5px rgba(12, 16, 27, 0.08)",
|
|
3315
|
-
"0px 6px 14px 4px rgba(12, 16, 27, 0.15), 0px 11px 14px 1px rgba(12, 16, 27, 0.1), 0px 4px 11px 5px rgba(12, 16, 27, 0.08)",
|
|
3316
|
-
"0px 7px 15px 4px rgba(12, 16, 27, 0.15), 0px 12px 15px 2px rgba(12, 16, 27, 0.1), 0px 5px 12px 5px rgba(12, 16, 27, 0.08)",
|
|
3317
|
-
"0px 7px 16px 4px rgba(12, 16, 27, 0.15), 0px 13px 16px 2px rgba(12, 16, 27, 0.1), 0px 5px 13px 6px rgba(12, 16, 27, 0.08)",
|
|
3318
|
-
"0px 7px 17px 4px rgba(12, 16, 27, 0.15), 0px 14px 17px 2px rgba(12, 16, 27, 0.1), 0px 5px 14px 6px rgba(12, 16, 27, 0.08)",
|
|
3319
|
-
"0px 8px 18px 5px rgba(12, 16, 27, 0.15), 0px 15px 18px 2px rgba(12, 16, 27, 0.1), 0px 6px 15px 6px rgba(12, 16, 27, 0.08)",
|
|
3320
|
-
"0px 8px 19px 5px rgba(12, 16, 27, 0.15), 0px 16px 19px 2px rgba(12, 16, 27, 0.1), 0px 6px 16px 6px rgba(12, 16, 27, 0.08)",
|
|
3321
|
-
"0px 8px 20px 5px rgba(12, 16, 27, 0.15), 0px 17px 20px 2px rgba(12, 16, 27, 0.1), 0px 6px 17px 7px rgba(12, 16, 27, 0.08)",
|
|
3322
|
-
"0px 9px 21px 5px rgba(12, 16, 27, 0.15), 0px 18px 21px 2px rgba(12, 16, 27, 0.1), 0px 7px 18px 7px rgba(12, 16, 27, 0.08)",
|
|
3323
|
-
"0px 9px 22px 6px rgba(12, 16, 27, 0.15), 0px 19px 22px 2px rgba(12, 16, 27, 0.1), 0px 7px 19px 7px rgba(12, 16, 27, 0.08)",
|
|
3324
|
-
"0px 10px 23px 6px rgba(12, 16, 27, 0.15), 0px 20px 23px 3px rgba(12, 16, 27, 0.1), 0px 8px 20px 7px rgba(12, 16, 27, 0.08)",
|
|
3325
|
-
"0px 10px 24px 6px rgba(12, 16, 27, 0.15), 0px 21px 24px 3px rgba(12, 16, 27, 0.1), 0px 8px 21px 7px rgba(12, 16, 27, 0.08)",
|
|
3326
|
-
"0px 10px 25px 6px rgba(12, 16, 27, 0.15), 0px 22px 25px 3px rgba(12, 16, 27, 0.1), 0px 8px 22px 7px rgba(12, 16, 27, 0.08)",
|
|
3327
|
-
"0px 11px 26px 7px rgba(12, 16, 27, 0.15), 0px 23px 26px 3px rgba(12, 16, 27, 0.1), 0px 9px 23px 7px rgba(12, 16, 27, 0.08)",
|
|
3328
|
-
"0px 11px 27px 7px rgba(12, 16, 27, 0.15), 0px 24px 27px 3px rgba(12, 16, 27, 0.1), 0px 9px 24px 7px rgba(12, 16, 27, 0.08)"
|
|
3329
|
-
];
|
|
3330
|
-
}
|
|
3331
|
-
};
|
|
3332
|
-
var shadows_default = Shadows;
|
|
3333
|
-
|
|
3334
|
-
// src/@core/theme/spacing/index.ts
|
|
3335
|
-
var spacing_default = {
|
|
3336
|
-
spacing: (factor) => `${0.25 * factor}rem`
|
|
3337
|
-
};
|
|
3338
|
-
|
|
3339
|
-
// src/@core/theme/typography/index.ts
|
|
3340
|
-
var typography2 = {
|
|
3341
|
-
fontFamily: [
|
|
3342
|
-
"Roboto",
|
|
3343
|
-
"Public Sans",
|
|
3344
|
-
"sans-serif",
|
|
3345
|
-
"-apple-system",
|
|
3346
|
-
"BlinkMacSystemFont",
|
|
3347
|
-
'"Segoe UI"',
|
|
3348
|
-
'"Helvetica Neue"',
|
|
3349
|
-
"Arial",
|
|
3350
|
-
"sans-serif",
|
|
3351
|
-
'"Apple Color Emoji"',
|
|
3352
|
-
'"Segoe UI Emoji"',
|
|
3353
|
-
'"Segoe UI Symbol"'
|
|
3354
|
-
].join(","),
|
|
3355
|
-
h1: {
|
|
3356
|
-
fontWeight: 500
|
|
3357
|
-
},
|
|
3358
|
-
h2: {
|
|
3359
|
-
fontWeight: 500
|
|
3360
|
-
},
|
|
3361
|
-
h3: {
|
|
3362
|
-
fontWeight: 500
|
|
3363
|
-
},
|
|
3364
|
-
h4: {
|
|
3365
|
-
fontWeight: 500
|
|
3366
|
-
},
|
|
3367
|
-
h5: {
|
|
3368
|
-
fontWeight: 500
|
|
3369
|
-
}
|
|
3370
|
-
};
|
|
3371
|
-
var typography_default2 = typography2;
|
|
3372
|
-
|
|
3373
|
-
// src/@core/theme/ThemeOptions.ts
|
|
3374
|
-
var themeOptions = (settings, overrideMode) => {
|
|
3375
|
-
const { mode, direction } = settings;
|
|
3376
|
-
const userThemeConfig = Object.assign({}, UserThemeOptions_default());
|
|
3377
|
-
const mergedThemeConfig = deepmerge(
|
|
3378
|
-
{
|
|
3379
|
-
breakpoints: breakpoints_default(),
|
|
1219
|
+
}
|
|
1220
|
+
var FalconThemeProvider = ({
|
|
1221
|
+
children,
|
|
1222
|
+
mode: modeProp,
|
|
1223
|
+
settings
|
|
1224
|
+
}) => {
|
|
1225
|
+
const mode = settings?.mode ?? modeProp ?? "light";
|
|
1226
|
+
const direction = settings?.direction ?? "ltr";
|
|
1227
|
+
const theme = responsiveFontSizes(
|
|
1228
|
+
createTheme({
|
|
3380
1229
|
direction,
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
},
|
|
3387
|
-
mixins: {
|
|
3388
|
-
toolbar: {
|
|
3389
|
-
minHeight: 64
|
|
3390
|
-
}
|
|
3391
|
-
},
|
|
3392
|
-
shadows: shadows_default(mode),
|
|
3393
|
-
typography: typography_default2
|
|
3394
|
-
},
|
|
3395
|
-
userThemeConfig
|
|
1230
|
+
palette: buildPalette(mode),
|
|
1231
|
+
shape: { borderRadius: 6 },
|
|
1232
|
+
typography: { fontFamily: '"Inter", "Public Sans", sans-serif' },
|
|
1233
|
+
mixins: { toolbar: { minHeight: 64 } }
|
|
1234
|
+
})
|
|
3396
1235
|
);
|
|
3397
|
-
return
|
|
3398
|
-
|
|
3399
|
-
primary: {
|
|
3400
|
-
...mergedThemeConfig.palette ? mergedThemeConfig.palette.primary : palette_default(mode, "default").primary
|
|
3401
|
-
}
|
|
3402
|
-
}
|
|
3403
|
-
});
|
|
3404
|
-
};
|
|
3405
|
-
var ThemeOptions_default = themeOptions;
|
|
3406
|
-
|
|
3407
|
-
// src/@core/theme/globalStyles.ts
|
|
3408
|
-
var GlobalStyles = (theme) => {
|
|
3409
|
-
return {
|
|
3410
|
-
".demo-space-x > *": {
|
|
3411
|
-
marginTop: "1rem !important",
|
|
3412
|
-
marginRight: "1rem !important",
|
|
3413
|
-
'body[dir="rtl"] &': {
|
|
3414
|
-
marginRight: "0 !important",
|
|
3415
|
-
marginLeft: "1rem !important"
|
|
3416
|
-
}
|
|
3417
|
-
},
|
|
3418
|
-
".demo-space-y > *:not(:last-of-type)": {
|
|
3419
|
-
marginBottom: "1rem"
|
|
3420
|
-
},
|
|
3421
|
-
".MuiGrid-container.match-height .MuiCard-root": {
|
|
3422
|
-
height: "100%"
|
|
3423
|
-
},
|
|
3424
|
-
".ps__rail-y": {
|
|
3425
|
-
zIndex: 1,
|
|
3426
|
-
right: "0 !important",
|
|
3427
|
-
left: "auto !important",
|
|
3428
|
-
"&:hover, &:focus, &.ps--clicking": {
|
|
3429
|
-
backgroundColor: theme.palette.mode === "light" ? "#F1F0F5 !important" : "#393D55 !important"
|
|
3430
|
-
},
|
|
3431
|
-
"& .ps__thumb-y": {
|
|
3432
|
-
right: "3px !important",
|
|
3433
|
-
left: "auto !important",
|
|
3434
|
-
backgroundColor: theme.palette.mode === "light" ? "rgba(93, 89, 108, 0.2) !important" : "rgba(207, 211, 236, 0.3) !important"
|
|
3435
|
-
},
|
|
3436
|
-
".layout-vertical-nav &": {
|
|
3437
|
-
"& .ps__thumb-y": {
|
|
3438
|
-
width: 4
|
|
3439
|
-
},
|
|
3440
|
-
"&:hover, &:focus, &.ps--clicking": {
|
|
3441
|
-
backgroundColor: "transparent !important",
|
|
3442
|
-
"& .ps__thumb-y": {
|
|
3443
|
-
width: 6
|
|
3444
|
-
}
|
|
3445
|
-
}
|
|
3446
|
-
}
|
|
3447
|
-
},
|
|
3448
|
-
"#nprogress": {
|
|
3449
|
-
pointerEvents: "none",
|
|
3450
|
-
"& .bar": {
|
|
3451
|
-
left: 0,
|
|
3452
|
-
top: 0,
|
|
3453
|
-
height: 3,
|
|
3454
|
-
width: "100%",
|
|
3455
|
-
zIndex: 2e3,
|
|
3456
|
-
position: "fixed",
|
|
3457
|
-
backgroundColor: theme.palette.primary.main
|
|
3458
|
-
}
|
|
3459
|
-
}
|
|
3460
|
-
};
|
|
3461
|
-
};
|
|
3462
|
-
var globalStyles_default = GlobalStyles;
|
|
3463
|
-
|
|
3464
|
-
// src/@core/theme/ThemeComponent.tsx
|
|
3465
|
-
import { jsx as jsx19, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
3466
|
-
var ThemeComponent = (props) => {
|
|
3467
|
-
const { settings, children } = props;
|
|
3468
|
-
let theme = createTheme(ThemeOptions_default(settings, "light"));
|
|
3469
|
-
if (themeConfig_default.responsiveFontSizes) {
|
|
3470
|
-
theme = responsiveFontSizes(theme);
|
|
3471
|
-
}
|
|
3472
|
-
return /* @__PURE__ */ jsxs13(ThemeProvider, { theme, children: [
|
|
3473
|
-
/* @__PURE__ */ jsx19(CssBaseline, {}),
|
|
3474
|
-
/* @__PURE__ */ jsx19(GlobalStyles2, { styles: () => globalStyles_default(theme) }),
|
|
1236
|
+
return /* @__PURE__ */ jsxs11(ThemeProvider, { theme, children: [
|
|
1237
|
+
/* @__PURE__ */ jsx16(CssBaseline, {}),
|
|
3475
1238
|
children
|
|
3476
1239
|
] });
|
|
3477
1240
|
};
|
|
3478
|
-
var ThemeComponent_default = ThemeComponent;
|
|
3479
1241
|
export {
|
|
3480
1242
|
AddCommentInput,
|
|
3481
1243
|
AdvancedFiltersDialog,
|
|
@@ -3488,7 +1250,7 @@ export {
|
|
|
3488
1250
|
FalconSelect,
|
|
3489
1251
|
FalconSingleSwitch,
|
|
3490
1252
|
FalconTable,
|
|
3491
|
-
|
|
1253
|
+
FalconThemeProvider,
|
|
3492
1254
|
FalconTicketColumsFilter,
|
|
3493
1255
|
FalconTicketFilter,
|
|
3494
1256
|
HeatMapChartLegend,
|