@undefine-ui/design-system 2.12.0 → 2.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +118 -1
- package/dist/index.cjs +275 -76
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +76 -4
- package/dist/index.d.ts +76 -4
- package/dist/index.js +294 -95
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -44,6 +44,7 @@ __export(index_exports, {
|
|
|
44
44
|
Field: () => Field,
|
|
45
45
|
Form: () => Form,
|
|
46
46
|
Icon: () => Icon,
|
|
47
|
+
Image: () => Image,
|
|
47
48
|
InfoCircleFill: () => InfoCircleFill,
|
|
48
49
|
InfoCircleOutline: () => InfoCircleOutline,
|
|
49
50
|
KeyCommand: () => KeyCommand,
|
|
@@ -111,7 +112,6 @@ __export(index_exports, {
|
|
|
111
112
|
fShortenNumber: () => fShortenNumber,
|
|
112
113
|
formatFullname: () => formatFullname,
|
|
113
114
|
getCurrencySymbol: () => getCurrencySymbol,
|
|
114
|
-
getInitColorSchemeScript: () => getInitColorSchemeScript,
|
|
115
115
|
getInitials: () => getInitials,
|
|
116
116
|
getStorage: () => getStorage,
|
|
117
117
|
grey: () => grey,
|
|
@@ -5850,8 +5850,10 @@ var getBackgroundDefault = (contrast) => {
|
|
|
5850
5850
|
// src/theme/create-theme.ts
|
|
5851
5851
|
var createTheme = (settings) => {
|
|
5852
5852
|
const initialTheme = {
|
|
5853
|
+
cssVariables: true,
|
|
5853
5854
|
colorSchemes,
|
|
5854
5855
|
breakpoints,
|
|
5856
|
+
defaultColorScheme: settings.colorScheme,
|
|
5855
5857
|
colorSchemeSelector: "data-mui-color-scheme",
|
|
5856
5858
|
shadows: shadows(settings.colorScheme),
|
|
5857
5859
|
customShadows: customShadows(settings.colorScheme),
|
|
@@ -5895,20 +5897,10 @@ var shouldSkipGeneratingVar = (keys) => {
|
|
|
5895
5897
|
};
|
|
5896
5898
|
|
|
5897
5899
|
// src/theme/color-scheme-script.tsx
|
|
5898
|
-
var import_InitColorSchemeScript = __toESM(require("@mui/material/InitColorSchemeScript"), 1);
|
|
5899
|
-
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
5900
5900
|
var schemeConfig = {
|
|
5901
5901
|
modeStorageKey: "theme-mode",
|
|
5902
5902
|
defaultMode: defaultSettings.colorScheme
|
|
5903
5903
|
};
|
|
5904
|
-
var getInitColorSchemeScript = /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
5905
|
-
import_InitColorSchemeScript.default,
|
|
5906
|
-
{
|
|
5907
|
-
modeStorageKey: schemeConfig.modeStorageKey,
|
|
5908
|
-
colorSchemeNode: schemeConfig.defaultMode
|
|
5909
|
-
},
|
|
5910
|
-
schemeConfig.modeStorageKey
|
|
5911
|
-
);
|
|
5912
5904
|
|
|
5913
5905
|
// src/theme/ThemeProvider.tsx
|
|
5914
5906
|
var import_CssBaseline = __toESM(require("@mui/material/CssBaseline"), 1);
|
|
@@ -5924,18 +5916,18 @@ var import__8 = require("@fontsource/geist/500.css");
|
|
|
5924
5916
|
var import__9 = require("@fontsource/geist/600.css");
|
|
5925
5917
|
var import__10 = require("@fontsource/geist/700.css");
|
|
5926
5918
|
var import_satoshi = require("./satoshi-4X3TX4PE.css");
|
|
5927
|
-
var
|
|
5919
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
5928
5920
|
var ThemeProvider = ({ children }) => {
|
|
5929
5921
|
const settings = useSettings();
|
|
5930
5922
|
const theme = createTheme(settings);
|
|
5931
|
-
return /* @__PURE__ */ (0,
|
|
5923
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
|
|
5932
5924
|
import_styles31.ThemeProvider,
|
|
5933
5925
|
{
|
|
5934
5926
|
theme,
|
|
5935
5927
|
defaultMode: schemeConfig.defaultMode,
|
|
5936
5928
|
modeStorageKey: schemeConfig.modeStorageKey,
|
|
5937
5929
|
children: [
|
|
5938
|
-
/* @__PURE__ */ (0,
|
|
5930
|
+
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_CssBaseline.default, {}),
|
|
5939
5931
|
children
|
|
5940
5932
|
]
|
|
5941
5933
|
}
|
|
@@ -5945,7 +5937,7 @@ var ThemeProvider = ({ children }) => {
|
|
|
5945
5937
|
// src/components/Logo/index.tsx
|
|
5946
5938
|
var import_Link = __toESM(require("@mui/material/Link"), 1);
|
|
5947
5939
|
var import_Box2 = __toESM(require("@mui/material/Box"), 1);
|
|
5948
|
-
var
|
|
5940
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
5949
5941
|
var LOGO_MAP = {
|
|
5950
5942
|
full: {
|
|
5951
5943
|
black: "https://res.cloudinary.com/dvbtbsinu/image/upload/v1763077834/define-agency/logos/logo-black-full_mjngwu.png",
|
|
@@ -5973,7 +5965,7 @@ var Logo = ({
|
|
|
5973
5965
|
const type = isFull ? "full" : "single";
|
|
5974
5966
|
const color = isWhite ? "white" : isBlack ? "black" : "default";
|
|
5975
5967
|
const logoImg = src ?? LOGO_MAP[type][color];
|
|
5976
|
-
const logo = /* @__PURE__ */ (0,
|
|
5968
|
+
const logo = /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
5977
5969
|
import_Box2.default,
|
|
5978
5970
|
{
|
|
5979
5971
|
component: "img",
|
|
@@ -5986,10 +5978,10 @@ var Logo = ({
|
|
|
5986
5978
|
if (disableLink) {
|
|
5987
5979
|
return logo;
|
|
5988
5980
|
}
|
|
5989
|
-
return /* @__PURE__ */ (0,
|
|
5981
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_Link.default, { component: LinkComponent, href, sx: { display: "contents" }, children: logo });
|
|
5990
5982
|
};
|
|
5991
5983
|
var AnimatedLogo = () => {
|
|
5992
|
-
return /* @__PURE__ */ (0,
|
|
5984
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
5993
5985
|
"svg",
|
|
5994
5986
|
{
|
|
5995
5987
|
width: "120",
|
|
@@ -5998,7 +5990,7 @@ var AnimatedLogo = () => {
|
|
|
5998
5990
|
fill: "none",
|
|
5999
5991
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6000
5992
|
children: [
|
|
6001
|
-
/* @__PURE__ */ (0,
|
|
5993
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)("style", { children: `
|
|
6002
5994
|
@keyframes fadeIn {
|
|
6003
5995
|
from {
|
|
6004
5996
|
opacity: 0;
|
|
@@ -6059,7 +6051,7 @@ var AnimatedLogo = () => {
|
|
|
6059
6051
|
transform-origin: center;
|
|
6060
6052
|
}
|
|
6061
6053
|
` }),
|
|
6062
|
-
/* @__PURE__ */ (0,
|
|
6054
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
6063
6055
|
"rect",
|
|
6064
6056
|
{
|
|
6065
6057
|
className: "background-rect",
|
|
@@ -6070,7 +6062,7 @@ var AnimatedLogo = () => {
|
|
|
6070
6062
|
fill: "white"
|
|
6071
6063
|
}
|
|
6072
6064
|
),
|
|
6073
|
-
/* @__PURE__ */ (0,
|
|
6065
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
6074
6066
|
"path",
|
|
6075
6067
|
{
|
|
6076
6068
|
className: "bars",
|
|
@@ -6078,7 +6070,7 @@ var AnimatedLogo = () => {
|
|
|
6078
6070
|
fill: "#5E30EB"
|
|
6079
6071
|
}
|
|
6080
6072
|
),
|
|
6081
|
-
/* @__PURE__ */ (0,
|
|
6073
|
+
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
6082
6074
|
"path",
|
|
6083
6075
|
{
|
|
6084
6076
|
className: "d-letter",
|
|
@@ -6098,7 +6090,7 @@ var import_x_data_grid2 = require("@mui/x-data-grid");
|
|
|
6098
6090
|
// src/components/Table/components/TableNoRows.tsx
|
|
6099
6091
|
var import_Box3 = __toESM(require("@mui/material/Box"), 1);
|
|
6100
6092
|
var import_styles32 = require("@mui/material/styles");
|
|
6101
|
-
var
|
|
6093
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
6102
6094
|
var StyledGridOverlay = (0, import_styles32.styled)("div")(({ theme }) => ({
|
|
6103
6095
|
display: "flex",
|
|
6104
6096
|
flexDirection: "column",
|
|
@@ -6108,7 +6100,7 @@ var StyledGridOverlay = (0, import_styles32.styled)("div")(({ theme }) => ({
|
|
|
6108
6100
|
height: "100%"
|
|
6109
6101
|
}));
|
|
6110
6102
|
var TableNoRows = ({ noRowsTitle = "No Rows" }) => {
|
|
6111
|
-
return /* @__PURE__ */ (0,
|
|
6103
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(StyledGridOverlay, { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_Box3.default, { sx: { mt: 1 }, children: noRowsTitle }) });
|
|
6112
6104
|
};
|
|
6113
6105
|
var TableNoRows_default = TableNoRows;
|
|
6114
6106
|
|
|
@@ -6118,7 +6110,7 @@ var import_Typography2 = __toESM(require("@mui/material/Typography"), 1);
|
|
|
6118
6110
|
var import_Pagination = __toESM(require("@mui/material/Pagination"), 1);
|
|
6119
6111
|
var import_PaginationItem2 = __toESM(require("@mui/material/PaginationItem"), 1);
|
|
6120
6112
|
var import_x_data_grid = require("@mui/x-data-grid");
|
|
6121
|
-
var
|
|
6113
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
6122
6114
|
var TablePagination = () => {
|
|
6123
6115
|
const apiRef = (0, import_x_data_grid.useGridApiContext)();
|
|
6124
6116
|
const page = (0, import_x_data_grid.useGridSelector)(apiRef, import_x_data_grid.gridPageSelector);
|
|
@@ -6127,7 +6119,7 @@ var TablePagination = () => {
|
|
|
6127
6119
|
const rowCount = (0, import_x_data_grid.useGridSelector)(apiRef, import_x_data_grid.gridRowCountSelector);
|
|
6128
6120
|
const from = page * pageSize + 1;
|
|
6129
6121
|
const to = Math.min((page + 1) * pageSize, rowCount);
|
|
6130
|
-
return /* @__PURE__ */ (0,
|
|
6122
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
6131
6123
|
import_Stack.default,
|
|
6132
6124
|
{
|
|
6133
6125
|
direction: "row",
|
|
@@ -6136,14 +6128,14 @@ var TablePagination = () => {
|
|
|
6136
6128
|
width: 1,
|
|
6137
6129
|
p: 1.5,
|
|
6138
6130
|
children: [
|
|
6139
|
-
/* @__PURE__ */ (0,
|
|
6131
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
6140
6132
|
import_Stack.default,
|
|
6141
6133
|
{
|
|
6142
6134
|
direction: { xs: "column", md: "row" },
|
|
6143
6135
|
alignItems: { xs: "flex-start", md: "center" },
|
|
6144
6136
|
spacing: 2,
|
|
6145
6137
|
children: [
|
|
6146
|
-
/* @__PURE__ */ (0,
|
|
6138
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
6147
6139
|
import_Pagination.default,
|
|
6148
6140
|
{
|
|
6149
6141
|
size: "medium",
|
|
@@ -6155,17 +6147,17 @@ var TablePagination = () => {
|
|
|
6155
6147
|
showFirstButton: true,
|
|
6156
6148
|
showLastButton: true,
|
|
6157
6149
|
onChange: (_, value) => apiRef.current.setPage(value - 1),
|
|
6158
|
-
renderItem: (item) => /* @__PURE__ */ (0,
|
|
6150
|
+
renderItem: (item) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_PaginationItem2.default, { ...item })
|
|
6159
6151
|
}
|
|
6160
6152
|
),
|
|
6161
|
-
/* @__PURE__ */ (0,
|
|
6153
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_Stack.default, { direction: "row", alignItems: "center", spacing: 1, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_Typography2.default, { variant: "body2", color: "text.secondary", children: [
|
|
6162
6154
|
pageSize,
|
|
6163
6155
|
" Items per page"
|
|
6164
6156
|
] }) })
|
|
6165
6157
|
]
|
|
6166
6158
|
}
|
|
6167
6159
|
),
|
|
6168
|
-
/* @__PURE__ */ (0,
|
|
6160
|
+
/* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_Typography2.default, { variant: "body2", color: "text.secondary", children: [
|
|
6169
6161
|
`${from} \u2013 ${to} of ${rowCount !== -1 ? rowCount : `more than ${to}`} items`,
|
|
6170
6162
|
" "
|
|
6171
6163
|
] })
|
|
@@ -6175,10 +6167,10 @@ var TablePagination = () => {
|
|
|
6175
6167
|
};
|
|
6176
6168
|
|
|
6177
6169
|
// src/components/Table/Table.tsx
|
|
6178
|
-
var
|
|
6170
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
6179
6171
|
var Table = (props) => {
|
|
6180
6172
|
const { data, showToolbar = false, ...rest } = props;
|
|
6181
|
-
return /* @__PURE__ */ (0,
|
|
6173
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_Box4.default, { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
6182
6174
|
import_x_data_grid2.DataGrid,
|
|
6183
6175
|
{
|
|
6184
6176
|
rowHeight: 64,
|
|
@@ -6217,20 +6209,226 @@ var Table = (props) => {
|
|
|
6217
6209
|
) });
|
|
6218
6210
|
};
|
|
6219
6211
|
|
|
6212
|
+
// src/components/Image/index.tsx
|
|
6213
|
+
var import_react12 = require("react");
|
|
6214
|
+
var import_Box5 = __toESM(require("@mui/material/Box"), 1);
|
|
6215
|
+
var import_Skeleton = __toESM(require("@mui/material/Skeleton"), 1);
|
|
6216
|
+
|
|
6217
|
+
// src/components/Image/classes.ts
|
|
6218
|
+
var imageClasses = {
|
|
6219
|
+
root: "undefine__image__root",
|
|
6220
|
+
wrapper: "undefine__image__wrapper",
|
|
6221
|
+
overlay: "undefine__image__overlay"
|
|
6222
|
+
};
|
|
6223
|
+
|
|
6224
|
+
// src/components/Image/index.tsx
|
|
6225
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
6226
|
+
var Image = (0, import_react12.forwardRef)(function Image2(props, ref) {
|
|
6227
|
+
const {
|
|
6228
|
+
src,
|
|
6229
|
+
alt,
|
|
6230
|
+
lazy = true,
|
|
6231
|
+
fallbackSrc,
|
|
6232
|
+
srcSet,
|
|
6233
|
+
sizes: sizes2,
|
|
6234
|
+
aspectRatio,
|
|
6235
|
+
fit = "cover",
|
|
6236
|
+
position = "center",
|
|
6237
|
+
overlay,
|
|
6238
|
+
withOverlay = !!overlay,
|
|
6239
|
+
loadingIndicator,
|
|
6240
|
+
renderError,
|
|
6241
|
+
observerMargin = "200px",
|
|
6242
|
+
className,
|
|
6243
|
+
sx,
|
|
6244
|
+
onLoad,
|
|
6245
|
+
onError,
|
|
6246
|
+
imgSx,
|
|
6247
|
+
imgProps,
|
|
6248
|
+
...rest
|
|
6249
|
+
} = props;
|
|
6250
|
+
const imageRef = (0, import_react12.useRef)(null);
|
|
6251
|
+
const [status, setStatus] = (0, import_react12.useState)(lazy ? "idle" : "loading");
|
|
6252
|
+
const [currentSrc, setCurrentSrc] = (0, import_react12.useState)(lazy ? void 0 : src);
|
|
6253
|
+
const [currentSrcSet, setCurrentSrcSet] = (0, import_react12.useState)(lazy ? void 0 : srcSet);
|
|
6254
|
+
const [hasTriedFallback, setHasTriedFallback] = (0, import_react12.useState)(false);
|
|
6255
|
+
const setRefs = (node) => {
|
|
6256
|
+
imageRef.current = node;
|
|
6257
|
+
if (typeof ref === "function") {
|
|
6258
|
+
ref(node);
|
|
6259
|
+
} else if (ref) {
|
|
6260
|
+
ref.current = node;
|
|
6261
|
+
}
|
|
6262
|
+
};
|
|
6263
|
+
(0, import_react12.useEffect)(() => {
|
|
6264
|
+
setStatus(lazy ? "idle" : "loading");
|
|
6265
|
+
setCurrentSrc(lazy ? void 0 : src);
|
|
6266
|
+
setCurrentSrcSet(lazy ? void 0 : srcSet);
|
|
6267
|
+
setHasTriedFallback(false);
|
|
6268
|
+
}, [lazy, src, srcSet]);
|
|
6269
|
+
(0, import_react12.useEffect)(() => {
|
|
6270
|
+
if (!lazy) {
|
|
6271
|
+
return;
|
|
6272
|
+
}
|
|
6273
|
+
if (typeof IntersectionObserver === "undefined") {
|
|
6274
|
+
setCurrentSrc(src);
|
|
6275
|
+
setCurrentSrcSet(srcSet);
|
|
6276
|
+
setStatus("loading");
|
|
6277
|
+
return;
|
|
6278
|
+
}
|
|
6279
|
+
const target = imageRef.current;
|
|
6280
|
+
if (!target) {
|
|
6281
|
+
return;
|
|
6282
|
+
}
|
|
6283
|
+
const observer = new IntersectionObserver(
|
|
6284
|
+
(entries) => {
|
|
6285
|
+
entries.forEach((entry) => {
|
|
6286
|
+
if (entry.isIntersecting) {
|
|
6287
|
+
setCurrentSrc(src);
|
|
6288
|
+
setCurrentSrcSet(srcSet);
|
|
6289
|
+
setStatus("loading");
|
|
6290
|
+
observer.disconnect();
|
|
6291
|
+
}
|
|
6292
|
+
});
|
|
6293
|
+
},
|
|
6294
|
+
{ rootMargin: observerMargin, threshold: 0.2 }
|
|
6295
|
+
);
|
|
6296
|
+
observer.observe(target);
|
|
6297
|
+
return () => observer.disconnect();
|
|
6298
|
+
}, [lazy, observerMargin, src, srcSet]);
|
|
6299
|
+
const {
|
|
6300
|
+
onLoad: imgOnLoad,
|
|
6301
|
+
onError: imgOnError,
|
|
6302
|
+
loading: imgLoading,
|
|
6303
|
+
...restImgProps
|
|
6304
|
+
} = imgProps ?? {};
|
|
6305
|
+
const handleLoad = (event) => {
|
|
6306
|
+
setStatus("loaded");
|
|
6307
|
+
imgOnLoad?.(event);
|
|
6308
|
+
onLoad?.(event);
|
|
6309
|
+
};
|
|
6310
|
+
const handleError = (event) => {
|
|
6311
|
+
if (fallbackSrc && !hasTriedFallback) {
|
|
6312
|
+
setHasTriedFallback(true);
|
|
6313
|
+
setCurrentSrc(fallbackSrc);
|
|
6314
|
+
setStatus("loading");
|
|
6315
|
+
return;
|
|
6316
|
+
}
|
|
6317
|
+
setStatus("error");
|
|
6318
|
+
imgOnError?.(event);
|
|
6319
|
+
onError?.(event);
|
|
6320
|
+
};
|
|
6321
|
+
const showLoader = status === "idle" || status === "loading";
|
|
6322
|
+
const showError = status === "error";
|
|
6323
|
+
const loadingAttr = lazy ? "lazy" : imgLoading ?? "eager";
|
|
6324
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
6325
|
+
import_Box5.default,
|
|
6326
|
+
{
|
|
6327
|
+
className: imageClasses.root.concat(className ? ` ${className}` : ""),
|
|
6328
|
+
sx: {
|
|
6329
|
+
position: "relative",
|
|
6330
|
+
display: "block",
|
|
6331
|
+
width: 1,
|
|
6332
|
+
lineHeight: 0,
|
|
6333
|
+
overflow: aspectRatio ? "hidden" : void 0,
|
|
6334
|
+
...aspectRatio && { aspectRatio },
|
|
6335
|
+
...sx
|
|
6336
|
+
},
|
|
6337
|
+
...rest,
|
|
6338
|
+
children: [
|
|
6339
|
+
showLoader && (loadingIndicator ?? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
6340
|
+
import_Skeleton.default,
|
|
6341
|
+
{
|
|
6342
|
+
animation: "wave",
|
|
6343
|
+
variant: "rectangular",
|
|
6344
|
+
className: imageClasses.overlay,
|
|
6345
|
+
sx: {
|
|
6346
|
+
position: "absolute",
|
|
6347
|
+
inset: 0,
|
|
6348
|
+
width: 1,
|
|
6349
|
+
height: 1,
|
|
6350
|
+
borderRadius: 1
|
|
6351
|
+
}
|
|
6352
|
+
}
|
|
6353
|
+
)),
|
|
6354
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
6355
|
+
import_Box5.default,
|
|
6356
|
+
{
|
|
6357
|
+
ref: setRefs,
|
|
6358
|
+
component: "img",
|
|
6359
|
+
className: imageClasses.wrapper,
|
|
6360
|
+
src: currentSrc,
|
|
6361
|
+
srcSet: currentSrcSet,
|
|
6362
|
+
sizes: sizes2,
|
|
6363
|
+
alt,
|
|
6364
|
+
loading: loadingAttr,
|
|
6365
|
+
onLoad: handleLoad,
|
|
6366
|
+
onError: handleError,
|
|
6367
|
+
...restImgProps,
|
|
6368
|
+
sx: {
|
|
6369
|
+
width: 1,
|
|
6370
|
+
height: aspectRatio ? "100%" : "auto",
|
|
6371
|
+
display: "block",
|
|
6372
|
+
objectFit: fit,
|
|
6373
|
+
objectPosition: position,
|
|
6374
|
+
opacity: status === "loaded" ? 1 : 0,
|
|
6375
|
+
transition: (theme) => theme.transitions.create("opacity", {
|
|
6376
|
+
duration: theme.transitions.duration.shorter
|
|
6377
|
+
}),
|
|
6378
|
+
...aspectRatio && { position: "absolute", inset: 0 },
|
|
6379
|
+
...imgSx
|
|
6380
|
+
}
|
|
6381
|
+
}
|
|
6382
|
+
),
|
|
6383
|
+
withOverlay && !showError && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
6384
|
+
import_Box5.default,
|
|
6385
|
+
{
|
|
6386
|
+
className: imageClasses.overlay,
|
|
6387
|
+
sx: {
|
|
6388
|
+
position: "absolute",
|
|
6389
|
+
inset: 0,
|
|
6390
|
+
pointerEvents: "none"
|
|
6391
|
+
},
|
|
6392
|
+
children: overlay
|
|
6393
|
+
}
|
|
6394
|
+
),
|
|
6395
|
+
showError && (renderError ?? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
6396
|
+
import_Box5.default,
|
|
6397
|
+
{
|
|
6398
|
+
className: imageClasses.overlay,
|
|
6399
|
+
sx: {
|
|
6400
|
+
position: "absolute",
|
|
6401
|
+
inset: 0,
|
|
6402
|
+
display: "flex",
|
|
6403
|
+
alignItems: "center",
|
|
6404
|
+
justifyContent: "center",
|
|
6405
|
+
bgcolor: (theme) => theme.vars.palette.grey[200],
|
|
6406
|
+
color: (theme) => theme.vars.palette.text.secondary,
|
|
6407
|
+
fontSize: 12,
|
|
6408
|
+
letterSpacing: 0.2
|
|
6409
|
+
},
|
|
6410
|
+
children: "Image unavailable"
|
|
6411
|
+
}
|
|
6412
|
+
))
|
|
6413
|
+
]
|
|
6414
|
+
}
|
|
6415
|
+
);
|
|
6416
|
+
});
|
|
6417
|
+
|
|
6220
6418
|
// src/components/Upload/Upload.tsx
|
|
6221
6419
|
var import_react_dropzone = require("react-dropzone");
|
|
6222
|
-
var
|
|
6420
|
+
var import_Box11 = __toESM(require("@mui/material/Box"), 1);
|
|
6223
6421
|
var import_Stack3 = __toESM(require("@mui/material/Stack"), 1);
|
|
6224
6422
|
var import_Button3 = __toESM(require("@mui/material/Button"), 1);
|
|
6225
6423
|
var import_FormHelperText = __toESM(require("@mui/material/FormHelperText"), 1);
|
|
6226
6424
|
|
|
6227
6425
|
// src/components/Upload/components/Placeholder.tsx
|
|
6228
6426
|
var import_Stack2 = __toESM(require("@mui/material/Stack"), 1);
|
|
6229
|
-
var
|
|
6427
|
+
var import_Box6 = __toESM(require("@mui/material/Box"), 1);
|
|
6230
6428
|
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
6231
6429
|
var UploadPlaceholder = ({ hasError, ...rest }) => {
|
|
6232
6430
|
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
|
|
6233
|
-
|
|
6431
|
+
import_Box6.default,
|
|
6234
6432
|
{
|
|
6235
6433
|
sx: {
|
|
6236
6434
|
display: "flex",
|
|
@@ -6252,10 +6450,10 @@ var UploadPlaceholder = ({ hasError, ...rest }) => {
|
|
|
6252
6450
|
}
|
|
6253
6451
|
),
|
|
6254
6452
|
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_Stack2.default, { spacing: 1, sx: { textAlign: "center", mt: 2 }, children: [
|
|
6255
|
-
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
|
|
6453
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_Box6.default, { sx: { typography: "h8" }, children: [
|
|
6256
6454
|
"Drag files here or",
|
|
6257
6455
|
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
6258
|
-
|
|
6456
|
+
import_Box6.default,
|
|
6259
6457
|
{
|
|
6260
6458
|
component: "span",
|
|
6261
6459
|
sx: {
|
|
@@ -6268,7 +6466,7 @@ var UploadPlaceholder = ({ hasError, ...rest }) => {
|
|
|
6268
6466
|
)
|
|
6269
6467
|
] }),
|
|
6270
6468
|
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
|
|
6271
|
-
|
|
6469
|
+
import_Box6.default,
|
|
6272
6470
|
{
|
|
6273
6471
|
sx: {
|
|
6274
6472
|
typography: "bodyMd",
|
|
@@ -6289,7 +6487,7 @@ var UploadPlaceholder = ({ hasError, ...rest }) => {
|
|
|
6289
6487
|
};
|
|
6290
6488
|
|
|
6291
6489
|
// src/components/Upload/components/RejectionFiles.tsx
|
|
6292
|
-
var
|
|
6490
|
+
var import_Box7 = __toESM(require("@mui/material/Box"), 1);
|
|
6293
6491
|
var import_Paper2 = __toESM(require("@mui/material/Paper"), 1);
|
|
6294
6492
|
var import_Typography3 = __toESM(require("@mui/material/Typography"), 1);
|
|
6295
6493
|
|
|
@@ -6342,13 +6540,13 @@ var RejectionFiles = ({ files }) => {
|
|
|
6342
6540
|
},
|
|
6343
6541
|
children: files.map(({ file, errors }) => {
|
|
6344
6542
|
const { path, size } = fileData(file);
|
|
6345
|
-
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
6543
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_Box7.default, { sx: { my: 1 }, children: [
|
|
6346
6544
|
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_Typography3.default, { variant: "subtitle2", noWrap: true, children: [
|
|
6347
6545
|
path,
|
|
6348
6546
|
" - ",
|
|
6349
6547
|
size ? fData(size) : ""
|
|
6350
6548
|
] }),
|
|
6351
|
-
errors.map((error2) => /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
6549
|
+
errors.map((error2) => /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_Box7.default, { component: "span", sx: { typography: "caption" }, children: [
|
|
6352
6550
|
"- ",
|
|
6353
6551
|
error2.message
|
|
6354
6552
|
] }, error2.code))
|
|
@@ -6359,12 +6557,12 @@ var RejectionFiles = ({ files }) => {
|
|
|
6359
6557
|
};
|
|
6360
6558
|
|
|
6361
6559
|
// src/components/Upload/components/UploadProgress.tsx
|
|
6362
|
-
var
|
|
6560
|
+
var import_Box8 = __toESM(require("@mui/material/Box"), 1);
|
|
6363
6561
|
var import_CircularProgress2 = __toESM(require("@mui/material/CircularProgress"), 1);
|
|
6364
6562
|
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
6365
6563
|
var UploadProgress = ({ progress: progress2 = 20 }) => {
|
|
6366
6564
|
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
6367
|
-
|
|
6565
|
+
import_Box8.default,
|
|
6368
6566
|
{
|
|
6369
6567
|
sx: {
|
|
6370
6568
|
display: "flex",
|
|
@@ -6374,7 +6572,7 @@ var UploadProgress = ({ progress: progress2 = 20 }) => {
|
|
|
6374
6572
|
height: "100%"
|
|
6375
6573
|
},
|
|
6376
6574
|
children: [
|
|
6377
|
-
/* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
6575
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_Box8.default, { sx: { position: "relative", display: "inline-flex" }, children: [
|
|
6378
6576
|
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
6379
6577
|
import_CircularProgress2.default,
|
|
6380
6578
|
{
|
|
@@ -6401,7 +6599,7 @@ var UploadProgress = ({ progress: progress2 = 20 }) => {
|
|
|
6401
6599
|
}
|
|
6402
6600
|
),
|
|
6403
6601
|
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
6404
|
-
|
|
6602
|
+
import_Box8.default,
|
|
6405
6603
|
{
|
|
6406
6604
|
sx: {
|
|
6407
6605
|
top: 0,
|
|
@@ -6413,30 +6611,30 @@ var UploadProgress = ({ progress: progress2 = 20 }) => {
|
|
|
6413
6611
|
alignItems: "center",
|
|
6414
6612
|
justifyContent: "center"
|
|
6415
6613
|
},
|
|
6416
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
6614
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_Box8.default, { sx: { typography: "h6", color: "common.black" }, children: `${Math.round(progress2)}` })
|
|
6417
6615
|
}
|
|
6418
6616
|
)
|
|
6419
6617
|
] }),
|
|
6420
|
-
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
6618
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_Box8.default, { sx: { mt: 2, typography: "h6" }, children: "Uploading" })
|
|
6421
6619
|
]
|
|
6422
6620
|
}
|
|
6423
6621
|
);
|
|
6424
6622
|
};
|
|
6425
6623
|
|
|
6426
6624
|
// src/components/Upload/components/MultiFilePreview.tsx
|
|
6427
|
-
var
|
|
6428
|
-
var
|
|
6625
|
+
var import_react13 = require("react");
|
|
6626
|
+
var import_Box10 = __toESM(require("@mui/material/Box"), 1);
|
|
6429
6627
|
var import_IconButton3 = __toESM(require("@mui/material/IconButton"), 1);
|
|
6430
6628
|
|
|
6431
6629
|
// src/components/Upload/components/SingleFilePreview.tsx
|
|
6432
|
-
var
|
|
6630
|
+
var import_Box9 = __toESM(require("@mui/material/Box"), 1);
|
|
6433
6631
|
var import_IconButton2 = __toESM(require("@mui/material/IconButton"), 1);
|
|
6434
6632
|
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
6435
6633
|
var SingleFilePreview = ({ file }) => {
|
|
6436
6634
|
const fileName = typeof file === "string" ? file : file.name;
|
|
6437
6635
|
const previewUrl = typeof file === "string" ? file : URL.createObjectURL(file);
|
|
6438
6636
|
const renderImg = /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
6439
|
-
|
|
6637
|
+
import_Box9.default,
|
|
6440
6638
|
{
|
|
6441
6639
|
component: "img",
|
|
6442
6640
|
alt: fileName,
|
|
@@ -6450,7 +6648,7 @@ var SingleFilePreview = ({ file }) => {
|
|
|
6450
6648
|
}
|
|
6451
6649
|
);
|
|
6452
6650
|
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
6453
|
-
|
|
6651
|
+
import_Box9.default,
|
|
6454
6652
|
{
|
|
6455
6653
|
sx: {
|
|
6456
6654
|
p: 1,
|
|
@@ -6492,7 +6690,7 @@ var DeleteButton = ({ sx, ...rest }) => {
|
|
|
6492
6690
|
// src/components/Upload/components/MultiFilePreview.tsx
|
|
6493
6691
|
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
6494
6692
|
var MultiFilePreview = ({ files, onRemove }) => {
|
|
6495
|
-
const scrollRef = (0,
|
|
6693
|
+
const scrollRef = (0, import_react13.useRef)(null);
|
|
6496
6694
|
const handleScroll = (direction) => {
|
|
6497
6695
|
if (scrollRef.current) {
|
|
6498
6696
|
const scrollAmount = 300;
|
|
@@ -6504,7 +6702,7 @@ var MultiFilePreview = ({ files, onRemove }) => {
|
|
|
6504
6702
|
}
|
|
6505
6703
|
};
|
|
6506
6704
|
const showNavigation = files.length > 2;
|
|
6507
|
-
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
6705
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_Box10.default, { sx: { position: "relative", width: 1 }, children: [
|
|
6508
6706
|
showNavigation && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
6509
6707
|
import_IconButton3.default,
|
|
6510
6708
|
{
|
|
@@ -6526,7 +6724,7 @@ var MultiFilePreview = ({ files, onRemove }) => {
|
|
|
6526
6724
|
}
|
|
6527
6725
|
),
|
|
6528
6726
|
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
6529
|
-
|
|
6727
|
+
import_Box10.default,
|
|
6530
6728
|
{
|
|
6531
6729
|
ref: scrollRef,
|
|
6532
6730
|
sx: {
|
|
@@ -6545,7 +6743,7 @@ var MultiFilePreview = ({ files, onRemove }) => {
|
|
|
6545
6743
|
const fileName = typeof file === "string" ? file : file.name;
|
|
6546
6744
|
const previewUrl = typeof file === "string" ? file : URL.createObjectURL(file);
|
|
6547
6745
|
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
6548
|
-
|
|
6746
|
+
import_Box10.default,
|
|
6549
6747
|
{
|
|
6550
6748
|
sx: {
|
|
6551
6749
|
position: "relative",
|
|
@@ -6557,7 +6755,7 @@ var MultiFilePreview = ({ files, onRemove }) => {
|
|
|
6557
6755
|
},
|
|
6558
6756
|
children: [
|
|
6559
6757
|
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
6560
|
-
|
|
6758
|
+
import_Box10.default,
|
|
6561
6759
|
{
|
|
6562
6760
|
component: "img",
|
|
6563
6761
|
alt: fileName,
|
|
@@ -6648,9 +6846,9 @@ var Upload = ({
|
|
|
6648
6846
|
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(UploadPlaceholder, { hasError });
|
|
6649
6847
|
};
|
|
6650
6848
|
const shouldShowDropzone = !hasFile && !hasFiles && !isUploading;
|
|
6651
|
-
return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
6849
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_Box11.default, { sx: { width: 1, position: "relative", ...sx }, children: [
|
|
6652
6850
|
/* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
|
|
6653
|
-
|
|
6851
|
+
import_Box11.default,
|
|
6654
6852
|
{
|
|
6655
6853
|
...shouldShowDropzone ? getRootProps() : {},
|
|
6656
6854
|
sx: {
|
|
@@ -6724,7 +6922,7 @@ var Upload = ({
|
|
|
6724
6922
|
|
|
6725
6923
|
// src/components/HookForm/Form.tsx
|
|
6726
6924
|
var import_react_hook_form = require("react-hook-form");
|
|
6727
|
-
var
|
|
6925
|
+
var import_Box12 = __toESM(require("@mui/material/Box"), 1);
|
|
6728
6926
|
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
6729
6927
|
var Form = ({
|
|
6730
6928
|
children,
|
|
@@ -6733,7 +6931,7 @@ var Form = ({
|
|
|
6733
6931
|
...rest
|
|
6734
6932
|
}) => {
|
|
6735
6933
|
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_react_hook_form.FormProvider, { ...methods, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
6736
|
-
|
|
6934
|
+
import_Box12.default,
|
|
6737
6935
|
{
|
|
6738
6936
|
component: "form",
|
|
6739
6937
|
onSubmit: (e) => {
|
|
@@ -6753,7 +6951,7 @@ var Form = ({
|
|
|
6753
6951
|
// src/components/HookForm/RHFSwitch.tsx
|
|
6754
6952
|
var import_react_hook_form2 = require("react-hook-form");
|
|
6755
6953
|
var import_Stack4 = __toESM(require("@mui/material/Stack"), 1);
|
|
6756
|
-
var
|
|
6954
|
+
var import_Box13 = __toESM(require("@mui/material/Box"), 1);
|
|
6757
6955
|
var import_Typography4 = __toESM(require("@mui/material/Typography"), 1);
|
|
6758
6956
|
var import_Switch2 = __toESM(require("@mui/material/Switch"), 1);
|
|
6759
6957
|
var import_FormGroup = __toESM(require("@mui/material/FormGroup"), 1);
|
|
@@ -6778,7 +6976,7 @@ var RHFSwitch = ({
|
|
|
6778
6976
|
{
|
|
6779
6977
|
name,
|
|
6780
6978
|
control,
|
|
6781
|
-
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
6979
|
+
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_Box13.default, { sx: slotProps?.wrap, children: [
|
|
6782
6980
|
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
6783
6981
|
import_FormControlLabel2.default,
|
|
6784
6982
|
{
|
|
@@ -6945,9 +7143,9 @@ var RHFUpload = ({ name, multiple, helperText, ...rest }) => {
|
|
|
6945
7143
|
var import_react_hook_form4 = require("react-hook-form");
|
|
6946
7144
|
|
|
6947
7145
|
// src/components/OTPInput/index.tsx
|
|
6948
|
-
var
|
|
7146
|
+
var import_react14 = require("react");
|
|
6949
7147
|
var import_styles37 = require("@mui/material/styles");
|
|
6950
|
-
var
|
|
7148
|
+
var import_Box14 = __toESM(require("@mui/material/Box"), 1);
|
|
6951
7149
|
var import_FormHelperText3 = __toESM(require("@mui/material/FormHelperText"), 1);
|
|
6952
7150
|
var import_InputBase3 = require("@mui/material/InputBase");
|
|
6953
7151
|
var import_TextField2 = __toESM(require("@mui/material/TextField"), 1);
|
|
@@ -6955,8 +7153,8 @@ var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
|
6955
7153
|
var OTPInput = (props) => {
|
|
6956
7154
|
const { length = 6, onChange, onComplete, error: error2, helperText, containerProps, ...rest } = props;
|
|
6957
7155
|
const theme = (0, import_styles37.useTheme)();
|
|
6958
|
-
const [otp, setOtp] = (0,
|
|
6959
|
-
const inputsRef = (0,
|
|
7156
|
+
const [otp, setOtp] = (0, import_react14.useState)(Array(length).fill(""));
|
|
7157
|
+
const inputsRef = (0, import_react14.useRef)([]);
|
|
6960
7158
|
const handleChange = (value, index) => {
|
|
6961
7159
|
if (!/^[0-9]$/.test(value) && value !== "") return;
|
|
6962
7160
|
const newOtp = [...otp];
|
|
@@ -7020,12 +7218,13 @@ var OTPInput = (props) => {
|
|
|
7020
7218
|
}
|
|
7021
7219
|
};
|
|
7022
7220
|
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
|
|
7023
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
7024
|
-
|
|
7221
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_Box14.default, { display: "flex", justifyContent: "center", ...containerProps, children: otp.map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
7222
|
+
import_Box14.default,
|
|
7025
7223
|
{
|
|
7026
7224
|
display: "flex",
|
|
7027
7225
|
alignItems: "center",
|
|
7028
7226
|
sx: {
|
|
7227
|
+
width: "100%",
|
|
7029
7228
|
"&:not(:last-of-type)": {
|
|
7030
7229
|
mr: 1.5
|
|
7031
7230
|
}
|
|
@@ -7314,7 +7513,7 @@ var RHFAutocomplete = ({
|
|
|
7314
7513
|
// src/components/HookForm/RHFCheckbox.tsx
|
|
7315
7514
|
var import_react_hook_form8 = require("react-hook-form");
|
|
7316
7515
|
var import_Stack6 = __toESM(require("@mui/material/Stack"), 1);
|
|
7317
|
-
var
|
|
7516
|
+
var import_Box15 = __toESM(require("@mui/material/Box"), 1);
|
|
7318
7517
|
var import_Typography6 = __toESM(require("@mui/material/Typography"), 1);
|
|
7319
7518
|
var import_Checkbox3 = __toESM(require("@mui/material/Checkbox"), 1);
|
|
7320
7519
|
var import_FormGroup2 = __toESM(require("@mui/material/FormGroup"), 1);
|
|
@@ -7339,7 +7538,7 @@ var RHFCheckbox = ({
|
|
|
7339
7538
|
{
|
|
7340
7539
|
name,
|
|
7341
7540
|
control,
|
|
7342
|
-
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
7541
|
+
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_Box15.default, { sx: slotProps?.wrap, children: [
|
|
7343
7542
|
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
7344
7543
|
import_FormControlLabel4.default,
|
|
7345
7544
|
{
|
|
@@ -7489,12 +7688,12 @@ var CopyButton = ({ text: text2, size = "small" }) => {
|
|
|
7489
7688
|
|
|
7490
7689
|
// src/components/LoadingScreen/index.tsx
|
|
7491
7690
|
var import_Portal = __toESM(require("@mui/material/Portal"), 1);
|
|
7492
|
-
var
|
|
7691
|
+
var import_Box16 = __toESM(require("@mui/material/Box"), 1);
|
|
7493
7692
|
var import_LinearProgress = __toESM(require("@mui/material/LinearProgress"), 1);
|
|
7494
7693
|
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
7495
7694
|
var LoadingScreen = ({ portal, sx, ...rest }) => {
|
|
7496
7695
|
const content = /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
7497
|
-
|
|
7696
|
+
import_Box16.default,
|
|
7498
7697
|
{
|
|
7499
7698
|
sx: {
|
|
7500
7699
|
px: 5,
|
|
@@ -7517,7 +7716,7 @@ var LoadingScreen = ({ portal, sx, ...rest }) => {
|
|
|
7517
7716
|
};
|
|
7518
7717
|
var SplashScreen = ({ portal, sx, ...rest }) => {
|
|
7519
7718
|
const content = /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
7520
|
-
|
|
7719
|
+
import_Box16.default,
|
|
7521
7720
|
{
|
|
7522
7721
|
sx: {
|
|
7523
7722
|
right: 0,
|
|
@@ -7557,6 +7756,7 @@ var SplashScreen = ({ portal, sx, ...rest }) => {
|
|
|
7557
7756
|
Field,
|
|
7558
7757
|
Form,
|
|
7559
7758
|
Icon,
|
|
7759
|
+
Image,
|
|
7560
7760
|
InfoCircleFill,
|
|
7561
7761
|
InfoCircleOutline,
|
|
7562
7762
|
KeyCommand,
|
|
@@ -7624,7 +7824,6 @@ var SplashScreen = ({ portal, sx, ...rest }) => {
|
|
|
7624
7824
|
fShortenNumber,
|
|
7625
7825
|
formatFullname,
|
|
7626
7826
|
getCurrencySymbol,
|
|
7627
|
-
getInitColorSchemeScript,
|
|
7628
7827
|
getInitials,
|
|
7629
7828
|
getStorage,
|
|
7630
7829
|
grey,
|