@undefine-ui/design-system 2.0.0 → 2.2.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 +75 -11
- package/dist/Satoshi-Regular.ttf +0 -0
- package/dist/Satoshi-Regular.woff +0 -0
- package/dist/Satoshi-Regular.woff2 +0 -0
- package/dist/index.cjs +145 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +180 -39
- package/dist/index.js.map +1 -1
- package/dist/satoshi-4X3TX4PE.css +21 -0
- package/package.json +3 -1
package/dist/index.d.cts
CHANGED
|
@@ -1395,6 +1395,7 @@ interface LogoProps extends BoxProps {
|
|
|
1395
1395
|
alt?: string;
|
|
1396
1396
|
}
|
|
1397
1397
|
declare const Logo: ({ sx, isFull, isWhite, isBlack, disableLink, LinkComponent, href, src, alt, ...rest }: LogoProps) => react_jsx_runtime.JSX.Element;
|
|
1398
|
+
declare const AnimatedLogo: () => react_jsx_runtime.JSX.Element;
|
|
1398
1399
|
|
|
1399
1400
|
interface UploadProps extends DropzoneOptions {
|
|
1400
1401
|
error?: boolean;
|
|
@@ -1549,5 +1550,6 @@ interface LoadingScreenProps extends BoxProps {
|
|
|
1549
1550
|
portal?: boolean;
|
|
1550
1551
|
}
|
|
1551
1552
|
declare const LoadingScreen: ({ portal, sx, ...rest }: LoadingScreenProps) => react_jsx_runtime.JSX.Element;
|
|
1553
|
+
declare const SplashScreen: ({ portal, sx, ...rest }: LoadingScreenProps) => react_jsx_runtime.JSX.Element;
|
|
1552
1554
|
|
|
1553
|
-
export { CheckboxDefault, CheckboxIndeterminate, CheckboxSelect, ClipboardCheck, CloudUpload, type ColorSchema, Copy, CopyButton, type CustomShadowOptions, type CustomSpacingOptions, Eye, EyeClosed, Field, Form, Icon, type IconProps, type IconType, InfoCircleFill, InfoCircleOutline, Loader, LoadingScreen, LocalStorageAvailable, LocalStorageGetItem, Logo, LongArrowUpLeftSolid, NavArrowDown, NavArrowLeft, NavArrowRight, RHFAutocomplete, type RHFAutocompleteProps, RHFCheckbox, type RHFCheckboxProps, RHFMultiCheckbox, type RHFMultiCheckboxOption, type RHFMultiCheckboxProps, RHFMultiSwitch, RHFRadioGroup, type RHFRadioGroupProps, RHFSwitch, RHFTextField, RHFUpload, type RHFUploadProps, RadioDefault, RadioSelect, type RadiusOptions, STORAGE_KEY, Search, SettingsConsumer, SettingsContext, type SettingsContextProps, SettingsProvider, type SettingsValueProps, Table, type TableNoRowsProps, TablePagination, ThemeProvider, Trash, Upload, type UploadProps, type UseBooleanReturnType, UserFill, UserOutline, XMark, XMarkSolid, action, background, baseAction, basePalette, bgBlur, bgGradient, border, borderGradient, breakpoints, colorSchemes, common, components, createPaletteChannel, createShadowColor, createTheme, customShadows, customSpacing, darkPalette, defaultSettings, error, fCurrency, fData, fNumber, fPercent, fShortenNumber, getCurrencySymbol, getInitColorSchemeScript, getStorage, grey, hexToRgbChannel, hideScrollX, hideScrollY, icon, iconClasses, info, isEqual, lightPalette, maxLine, mediaQueries, menuItem, neutral, orderBy, paper, paramCase, primary, primaryFont, pxToRem, radius, remToPx, removeStorage, responsiveFontSizes, schemeConfig, secondary, secondaryFont, sentenceCase, setFont, setStorage, shadows, snakeCase, stylesMode, success, surface, tertiaryFont, text, textGradient, typography, updateComponentsWithSettings, updateCoreWithSettings, useBoolean, useCopyToClipboard, useEventListener, useLocalStorage, useResponsive, useSettings, useWidth, varAlpha, warning };
|
|
1555
|
+
export { AnimatedLogo, CheckboxDefault, CheckboxIndeterminate, CheckboxSelect, ClipboardCheck, CloudUpload, type ColorSchema, Copy, CopyButton, type CustomShadowOptions, type CustomSpacingOptions, Eye, EyeClosed, Field, Form, Icon, type IconProps, type IconType, InfoCircleFill, InfoCircleOutline, Loader, LoadingScreen, LocalStorageAvailable, LocalStorageGetItem, Logo, LongArrowUpLeftSolid, NavArrowDown, NavArrowLeft, NavArrowRight, RHFAutocomplete, type RHFAutocompleteProps, RHFCheckbox, type RHFCheckboxProps, RHFMultiCheckbox, type RHFMultiCheckboxOption, type RHFMultiCheckboxProps, RHFMultiSwitch, RHFRadioGroup, type RHFRadioGroupProps, RHFSwitch, RHFTextField, RHFUpload, type RHFUploadProps, RadioDefault, RadioSelect, type RadiusOptions, STORAGE_KEY, Search, SettingsConsumer, SettingsContext, type SettingsContextProps, SettingsProvider, type SettingsValueProps, SplashScreen, Table, type TableNoRowsProps, TablePagination, ThemeProvider, Trash, Upload, type UploadProps, type UseBooleanReturnType, UserFill, UserOutline, XMark, XMarkSolid, action, background, baseAction, basePalette, bgBlur, bgGradient, border, borderGradient, breakpoints, colorSchemes, common, components, createPaletteChannel, createShadowColor, createTheme, customShadows, customSpacing, darkPalette, defaultSettings, error, fCurrency, fData, fNumber, fPercent, fShortenNumber, getCurrencySymbol, getInitColorSchemeScript, getStorage, grey, hexToRgbChannel, hideScrollX, hideScrollY, icon, iconClasses, info, isEqual, lightPalette, maxLine, mediaQueries, menuItem, neutral, orderBy, paper, paramCase, primary, primaryFont, pxToRem, radius, remToPx, removeStorage, responsiveFontSizes, schemeConfig, secondary, secondaryFont, sentenceCase, setFont, setStorage, shadows, snakeCase, stylesMode, success, surface, tertiaryFont, text, textGradient, typography, updateComponentsWithSettings, updateCoreWithSettings, useBoolean, useCopyToClipboard, useEventListener, useLocalStorage, useResponsive, useSettings, useWidth, varAlpha, warning };
|
package/dist/index.d.ts
CHANGED
|
@@ -1395,6 +1395,7 @@ interface LogoProps extends BoxProps {
|
|
|
1395
1395
|
alt?: string;
|
|
1396
1396
|
}
|
|
1397
1397
|
declare const Logo: ({ sx, isFull, isWhite, isBlack, disableLink, LinkComponent, href, src, alt, ...rest }: LogoProps) => react_jsx_runtime.JSX.Element;
|
|
1398
|
+
declare const AnimatedLogo: () => react_jsx_runtime.JSX.Element;
|
|
1398
1399
|
|
|
1399
1400
|
interface UploadProps extends DropzoneOptions {
|
|
1400
1401
|
error?: boolean;
|
|
@@ -1549,5 +1550,6 @@ interface LoadingScreenProps extends BoxProps {
|
|
|
1549
1550
|
portal?: boolean;
|
|
1550
1551
|
}
|
|
1551
1552
|
declare const LoadingScreen: ({ portal, sx, ...rest }: LoadingScreenProps) => react_jsx_runtime.JSX.Element;
|
|
1553
|
+
declare const SplashScreen: ({ portal, sx, ...rest }: LoadingScreenProps) => react_jsx_runtime.JSX.Element;
|
|
1552
1554
|
|
|
1553
|
-
export { CheckboxDefault, CheckboxIndeterminate, CheckboxSelect, ClipboardCheck, CloudUpload, type ColorSchema, Copy, CopyButton, type CustomShadowOptions, type CustomSpacingOptions, Eye, EyeClosed, Field, Form, Icon, type IconProps, type IconType, InfoCircleFill, InfoCircleOutline, Loader, LoadingScreen, LocalStorageAvailable, LocalStorageGetItem, Logo, LongArrowUpLeftSolid, NavArrowDown, NavArrowLeft, NavArrowRight, RHFAutocomplete, type RHFAutocompleteProps, RHFCheckbox, type RHFCheckboxProps, RHFMultiCheckbox, type RHFMultiCheckboxOption, type RHFMultiCheckboxProps, RHFMultiSwitch, RHFRadioGroup, type RHFRadioGroupProps, RHFSwitch, RHFTextField, RHFUpload, type RHFUploadProps, RadioDefault, RadioSelect, type RadiusOptions, STORAGE_KEY, Search, SettingsConsumer, SettingsContext, type SettingsContextProps, SettingsProvider, type SettingsValueProps, Table, type TableNoRowsProps, TablePagination, ThemeProvider, Trash, Upload, type UploadProps, type UseBooleanReturnType, UserFill, UserOutline, XMark, XMarkSolid, action, background, baseAction, basePalette, bgBlur, bgGradient, border, borderGradient, breakpoints, colorSchemes, common, components, createPaletteChannel, createShadowColor, createTheme, customShadows, customSpacing, darkPalette, defaultSettings, error, fCurrency, fData, fNumber, fPercent, fShortenNumber, getCurrencySymbol, getInitColorSchemeScript, getStorage, grey, hexToRgbChannel, hideScrollX, hideScrollY, icon, iconClasses, info, isEqual, lightPalette, maxLine, mediaQueries, menuItem, neutral, orderBy, paper, paramCase, primary, primaryFont, pxToRem, radius, remToPx, removeStorage, responsiveFontSizes, schemeConfig, secondary, secondaryFont, sentenceCase, setFont, setStorage, shadows, snakeCase, stylesMode, success, surface, tertiaryFont, text, textGradient, typography, updateComponentsWithSettings, updateCoreWithSettings, useBoolean, useCopyToClipboard, useEventListener, useLocalStorage, useResponsive, useSettings, useWidth, varAlpha, warning };
|
|
1555
|
+
export { AnimatedLogo, CheckboxDefault, CheckboxIndeterminate, CheckboxSelect, ClipboardCheck, CloudUpload, type ColorSchema, Copy, CopyButton, type CustomShadowOptions, type CustomSpacingOptions, Eye, EyeClosed, Field, Form, Icon, type IconProps, type IconType, InfoCircleFill, InfoCircleOutline, Loader, LoadingScreen, LocalStorageAvailable, LocalStorageGetItem, Logo, LongArrowUpLeftSolid, NavArrowDown, NavArrowLeft, NavArrowRight, RHFAutocomplete, type RHFAutocompleteProps, RHFCheckbox, type RHFCheckboxProps, RHFMultiCheckbox, type RHFMultiCheckboxOption, type RHFMultiCheckboxProps, RHFMultiSwitch, RHFRadioGroup, type RHFRadioGroupProps, RHFSwitch, RHFTextField, RHFUpload, type RHFUploadProps, RadioDefault, RadioSelect, type RadiusOptions, STORAGE_KEY, Search, SettingsConsumer, SettingsContext, type SettingsContextProps, SettingsProvider, type SettingsValueProps, SplashScreen, Table, type TableNoRowsProps, TablePagination, ThemeProvider, Trash, Upload, type UploadProps, type UseBooleanReturnType, UserFill, UserOutline, XMark, XMarkSolid, action, background, baseAction, basePalette, bgBlur, bgGradient, border, borderGradient, breakpoints, colorSchemes, common, components, createPaletteChannel, createShadowColor, createTheme, customShadows, customSpacing, darkPalette, defaultSettings, error, fCurrency, fData, fNumber, fPercent, fShortenNumber, getCurrencySymbol, getInitColorSchemeScript, getStorage, grey, hexToRgbChannel, hideScrollX, hideScrollY, icon, iconClasses, info, isEqual, lightPalette, maxLine, mediaQueries, menuItem, neutral, orderBy, paper, paramCase, primary, primaryFont, pxToRem, radius, remToPx, removeStorage, responsiveFontSizes, schemeConfig, secondary, secondaryFont, sentenceCase, setFont, setStorage, shadows, snakeCase, stylesMode, success, surface, tertiaryFont, text, textGradient, typography, updateComponentsWithSettings, updateCoreWithSettings, useBoolean, useCopyToClipboard, useEventListener, useLocalStorage, useResponsive, useSettings, useWidth, varAlpha, warning };
|
package/dist/index.js
CHANGED
|
@@ -1894,7 +1894,7 @@ var Search = (props) => {
|
|
|
1894
1894
|
fillRule: "evenodd",
|
|
1895
1895
|
clipRule: "evenodd",
|
|
1896
1896
|
d: "M10.9804 10.9798C11.1757 10.7845 11.4923 10.7845 11.6875 10.9798L14.3542 13.6464C14.5495 13.8417 14.5495 14.1583 14.3542 14.3535C14.1589 14.5488 13.8424 14.5488 13.6471 14.3535L10.9804 11.6869C10.7852 11.4916 10.7852 11.175 10.9804 10.9798Z",
|
|
1897
|
-
fill: "
|
|
1897
|
+
fill: "currentColor"
|
|
1898
1898
|
}
|
|
1899
1899
|
),
|
|
1900
1900
|
/* @__PURE__ */ jsx7(
|
|
@@ -1903,7 +1903,7 @@ var Search = (props) => {
|
|
|
1903
1903
|
fillRule: "evenodd",
|
|
1904
1904
|
clipRule: "evenodd",
|
|
1905
1905
|
d: "M7.33333 2.5C4.66396 2.5 2.5 4.66396 2.5 7.33333C2.5 10.0027 4.66396 12.1667 7.33333 12.1667C8.67047 12.1667 9.87999 11.6244 10.7556 10.7465C11.6281 9.87162 12.1667 8.66585 12.1667 7.33333C12.1667 4.66396 10.0027 2.5 7.33333 2.5ZM1.5 7.33333C1.5 4.11167 4.11167 1.5 7.33333 1.5C10.555 1.5 13.1667 4.11167 13.1667 7.33333C13.1667 8.94123 12.5155 10.398 11.4636 11.4526C10.4081 12.5109 8.94682 13.1667 7.33333 13.1667C4.11167 13.1667 1.5 10.555 1.5 7.33333Z",
|
|
1906
|
-
fill: "
|
|
1906
|
+
fill: "currentColor"
|
|
1907
1907
|
}
|
|
1908
1908
|
)
|
|
1909
1909
|
]
|
|
@@ -5409,6 +5409,17 @@ var getInitColorSchemeScript = /* @__PURE__ */ jsx35(
|
|
|
5409
5409
|
// src/theme/ThemeProvider.tsx
|
|
5410
5410
|
import CssBaseline from "@mui/material/CssBaseline";
|
|
5411
5411
|
import { ThemeProvider as MuiThemeProvider } from "@mui/material/styles";
|
|
5412
|
+
import "@fontsource/work-sans/300.css";
|
|
5413
|
+
import "@fontsource/work-sans/400.css";
|
|
5414
|
+
import "@fontsource/work-sans/500.css";
|
|
5415
|
+
import "@fontsource/work-sans/600.css";
|
|
5416
|
+
import "@fontsource/work-sans/700.css";
|
|
5417
|
+
import "@fontsource/geist/300.css";
|
|
5418
|
+
import "@fontsource/geist/400.css";
|
|
5419
|
+
import "@fontsource/geist/500.css";
|
|
5420
|
+
import "@fontsource/geist/600.css";
|
|
5421
|
+
import "@fontsource/geist/700.css";
|
|
5422
|
+
import "./satoshi-4X3TX4PE.css";
|
|
5412
5423
|
import { jsx as jsx36, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
5413
5424
|
var ThemeProvider = ({ children }) => {
|
|
5414
5425
|
const settings = useSettings();
|
|
@@ -5430,7 +5441,7 @@ var ThemeProvider = ({ children }) => {
|
|
|
5430
5441
|
// src/components/Logo/index.tsx
|
|
5431
5442
|
import Link from "@mui/material/Link";
|
|
5432
5443
|
import Box2 from "@mui/material/Box";
|
|
5433
|
-
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
5444
|
+
import { jsx as jsx37, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
5434
5445
|
var LOGO_MAP = {
|
|
5435
5446
|
full: {
|
|
5436
5447
|
black: "https://res.cloudinary.com/dvbtbsinu/image/upload/v1763077834/define-agency/logos/logo-black-full_mjngwu.png",
|
|
@@ -5473,6 +5484,108 @@ var Logo = ({
|
|
|
5473
5484
|
}
|
|
5474
5485
|
return /* @__PURE__ */ jsx37(Link, { component: LinkComponent, href, sx: { display: "contents" }, children: logo });
|
|
5475
5486
|
};
|
|
5487
|
+
var AnimatedLogo = () => {
|
|
5488
|
+
return /* @__PURE__ */ jsxs19(
|
|
5489
|
+
"svg",
|
|
5490
|
+
{
|
|
5491
|
+
width: "120",
|
|
5492
|
+
height: "120",
|
|
5493
|
+
viewBox: "0 0 120 120",
|
|
5494
|
+
fill: "none",
|
|
5495
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5496
|
+
children: [
|
|
5497
|
+
/* @__PURE__ */ jsx37("style", { children: `
|
|
5498
|
+
@keyframes fadeIn {
|
|
5499
|
+
from {
|
|
5500
|
+
opacity: 0;
|
|
5501
|
+
}
|
|
5502
|
+
to {
|
|
5503
|
+
opacity: 1;
|
|
5504
|
+
}
|
|
5505
|
+
}
|
|
5506
|
+
|
|
5507
|
+
@keyframes slideInLeft {
|
|
5508
|
+
from {
|
|
5509
|
+
opacity: 0;
|
|
5510
|
+
transform: translateX(-30px);
|
|
5511
|
+
}
|
|
5512
|
+
to {
|
|
5513
|
+
opacity: 1;
|
|
5514
|
+
transform: translateX(0);
|
|
5515
|
+
}
|
|
5516
|
+
}
|
|
5517
|
+
|
|
5518
|
+
@keyframes slideInRight {
|
|
5519
|
+
from {
|
|
5520
|
+
opacity: 0;
|
|
5521
|
+
transform: translateX(30px);
|
|
5522
|
+
}
|
|
5523
|
+
to {
|
|
5524
|
+
opacity: 1;
|
|
5525
|
+
transform: translateX(0);
|
|
5526
|
+
}
|
|
5527
|
+
}
|
|
5528
|
+
|
|
5529
|
+
@keyframes scaleIn {
|
|
5530
|
+
from {
|
|
5531
|
+
opacity: 0;
|
|
5532
|
+
transform: scale(0.5);
|
|
5533
|
+
}
|
|
5534
|
+
to {
|
|
5535
|
+
opacity: 1;
|
|
5536
|
+
transform: scale(1);
|
|
5537
|
+
}
|
|
5538
|
+
}
|
|
5539
|
+
|
|
5540
|
+
.background-rect {
|
|
5541
|
+
animation: fadeIn 1.2s ease-out infinite;
|
|
5542
|
+
opacity: 0;
|
|
5543
|
+
}
|
|
5544
|
+
|
|
5545
|
+
.bars {
|
|
5546
|
+
animation: slideInLeft 2s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
|
|
5547
|
+
animation-delay: 0.4s;
|
|
5548
|
+
opacity: 0;
|
|
5549
|
+
}
|
|
5550
|
+
|
|
5551
|
+
.d-letter {
|
|
5552
|
+
animation: scaleIn 2s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
|
|
5553
|
+
animation-delay: 1s;
|
|
5554
|
+
opacity: 0;
|
|
5555
|
+
transform-origin: center;
|
|
5556
|
+
}
|
|
5557
|
+
` }),
|
|
5558
|
+
/* @__PURE__ */ jsx37(
|
|
5559
|
+
"rect",
|
|
5560
|
+
{
|
|
5561
|
+
className: "background-rect",
|
|
5562
|
+
x: "30.2988",
|
|
5563
|
+
y: "11.9149",
|
|
5564
|
+
width: "75.7447",
|
|
5565
|
+
height: "78.8085",
|
|
5566
|
+
fill: "white"
|
|
5567
|
+
}
|
|
5568
|
+
),
|
|
5569
|
+
/* @__PURE__ */ jsx37(
|
|
5570
|
+
"path",
|
|
5571
|
+
{
|
|
5572
|
+
className: "bars",
|
|
5573
|
+
d: "M8.85059 113.191H7.48926C7.11333 113.191 6.8086 112.887 6.80859 112.511V28.3671C6.8086 28.1866 6.88019 28.0134 7.00781 27.8857L8.85059 26.0429V113.191ZM12.5957 113.191H10.5527V24.3408L12.5957 22.2978V113.191ZM16 113.191H13.957V20.9365L16 18.8935V113.191ZM19.0635 113.191H17.0215V17.872L19.0635 15.83V113.191ZM21.7871 113.191H19.7451V15.1484L21.7871 13.1064V113.191ZM24.1699 113.191H22.2979V12.5956L24.1699 10.7236V113.191Z",
|
|
5574
|
+
fill: "#5E30EB"
|
|
5575
|
+
}
|
|
5576
|
+
),
|
|
5577
|
+
/* @__PURE__ */ jsx37(
|
|
5578
|
+
"path",
|
|
5579
|
+
{
|
|
5580
|
+
className: "d-letter",
|
|
5581
|
+
d: "M112.511 6.80853C112.887 6.80854 113.191 7.11326 113.191 7.4892V91.6328C113.191 91.8133 113.12 91.9865 112.992 92.1142L92.1143 112.992C91.9866 113.120 91.8133 113.191 91.6328 113.191H24.5107V10.3828L27.8857 7.00775C28.0134 6.88012 28.1867 6.80854 28.3672 6.80853H112.511ZM48.3408 82.7236H65.6172C71.9715 82.7235 77.4182 81.5604 81.957 79.2343C86.5528 76.9081 90.071 73.4463 92.5107 68.8505C95.007 64.2549 96.2548 58.5532 96.2549 51.7451C96.2549 45.2202 95.0919 39.773 92.7656 35.4042C90.4394 30.9788 87.0924 27.6308 82.7236 25.3613C78.4117 23.0918 73.2201 21.957 67.1494 21.957H48.3408V82.7236ZM67.5742 32.5107C70.7515 32.5107 73.39 33.2202 75.4893 34.6386C77.6452 36.0003 79.2628 38.1278 80.3408 41.0214C81.4187 43.915 81.957 47.6029 81.957 52.0849C81.957 58.723 80.6809 63.7159 78.1279 67.0634C75.6315 70.4109 71.7161 72.0849 66.3828 72.0849H62.1279V32.5107H67.5742Z",
|
|
5582
|
+
fill: "#5E30EB"
|
|
5583
|
+
}
|
|
5584
|
+
)
|
|
5585
|
+
]
|
|
5586
|
+
}
|
|
5587
|
+
);
|
|
5588
|
+
};
|
|
5476
5589
|
|
|
5477
5590
|
// src/components/Table/Table.tsx
|
|
5478
5591
|
import Box4 from "@mui/material/Box";
|
|
@@ -5508,7 +5621,7 @@ import {
|
|
|
5508
5621
|
gridRowCountSelector,
|
|
5509
5622
|
gridPageCountSelector
|
|
5510
5623
|
} from "@mui/x-data-grid";
|
|
5511
|
-
import { jsx as jsx39, jsxs as
|
|
5624
|
+
import { jsx as jsx39, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
5512
5625
|
var TablePagination = () => {
|
|
5513
5626
|
const apiRef = useGridApiContext();
|
|
5514
5627
|
const page = useGridSelector(apiRef, gridPageSelector);
|
|
@@ -5517,7 +5630,7 @@ var TablePagination = () => {
|
|
|
5517
5630
|
const rowCount = useGridSelector(apiRef, gridRowCountSelector);
|
|
5518
5631
|
const from = page * pageSize + 1;
|
|
5519
5632
|
const to = Math.min((page + 1) * pageSize, rowCount);
|
|
5520
|
-
return /* @__PURE__ */
|
|
5633
|
+
return /* @__PURE__ */ jsxs20(
|
|
5521
5634
|
Stack,
|
|
5522
5635
|
{
|
|
5523
5636
|
direction: "row",
|
|
@@ -5526,7 +5639,7 @@ var TablePagination = () => {
|
|
|
5526
5639
|
width: 1,
|
|
5527
5640
|
p: 1.5,
|
|
5528
5641
|
children: [
|
|
5529
|
-
/* @__PURE__ */
|
|
5642
|
+
/* @__PURE__ */ jsxs20(
|
|
5530
5643
|
Stack,
|
|
5531
5644
|
{
|
|
5532
5645
|
direction: { xs: "column", md: "row" },
|
|
@@ -5548,14 +5661,14 @@ var TablePagination = () => {
|
|
|
5548
5661
|
renderItem: (item) => /* @__PURE__ */ jsx39(PaginationItem, { ...item })
|
|
5549
5662
|
}
|
|
5550
5663
|
),
|
|
5551
|
-
/* @__PURE__ */ jsx39(Stack, { direction: "row", alignItems: "center", spacing: 1, children: /* @__PURE__ */
|
|
5664
|
+
/* @__PURE__ */ jsx39(Stack, { direction: "row", alignItems: "center", spacing: 1, children: /* @__PURE__ */ jsxs20(Typography, { variant: "body2", color: "text.secondary", children: [
|
|
5552
5665
|
pageSize,
|
|
5553
5666
|
" Items per page"
|
|
5554
5667
|
] }) })
|
|
5555
5668
|
]
|
|
5556
5669
|
}
|
|
5557
5670
|
),
|
|
5558
|
-
/* @__PURE__ */
|
|
5671
|
+
/* @__PURE__ */ jsxs20(Typography, { variant: "body2", color: "text.secondary", children: [
|
|
5559
5672
|
`${from} \u2013 ${to} of ${rowCount !== -1 ? rowCount : `more than ${to}`} items`,
|
|
5560
5673
|
" "
|
|
5561
5674
|
] })
|
|
@@ -5617,9 +5730,9 @@ import FormHelperText from "@mui/material/FormHelperText";
|
|
|
5617
5730
|
// src/components/Upload/components/Placeholder.tsx
|
|
5618
5731
|
import Stack2 from "@mui/material/Stack";
|
|
5619
5732
|
import Box5 from "@mui/material/Box";
|
|
5620
|
-
import { jsx as jsx41, jsxs as
|
|
5733
|
+
import { jsx as jsx41, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
5621
5734
|
var UploadPlaceholder = ({ hasError, ...rest }) => {
|
|
5622
|
-
return /* @__PURE__ */
|
|
5735
|
+
return /* @__PURE__ */ jsxs21(
|
|
5623
5736
|
Box5,
|
|
5624
5737
|
{
|
|
5625
5738
|
sx: {
|
|
@@ -5641,8 +5754,8 @@ var UploadPlaceholder = ({ hasError, ...rest }) => {
|
|
|
5641
5754
|
}
|
|
5642
5755
|
}
|
|
5643
5756
|
),
|
|
5644
|
-
/* @__PURE__ */
|
|
5645
|
-
/* @__PURE__ */
|
|
5757
|
+
/* @__PURE__ */ jsxs21(Stack2, { spacing: 1, sx: { textAlign: "center", mt: 2 }, children: [
|
|
5758
|
+
/* @__PURE__ */ jsxs21(Box5, { sx: { typography: "h8" }, children: [
|
|
5646
5759
|
"Drag files here or",
|
|
5647
5760
|
/* @__PURE__ */ jsx41(
|
|
5648
5761
|
Box5,
|
|
@@ -5657,7 +5770,7 @@ var UploadPlaceholder = ({ hasError, ...rest }) => {
|
|
|
5657
5770
|
}
|
|
5658
5771
|
)
|
|
5659
5772
|
] }),
|
|
5660
|
-
/* @__PURE__ */
|
|
5773
|
+
/* @__PURE__ */ jsxs21(
|
|
5661
5774
|
Box5,
|
|
5662
5775
|
{
|
|
5663
5776
|
sx: {
|
|
@@ -5712,7 +5825,7 @@ var fileData = (file) => {
|
|
|
5712
5825
|
};
|
|
5713
5826
|
|
|
5714
5827
|
// src/components/Upload/components/RejectionFiles.tsx
|
|
5715
|
-
import { jsx as jsx42, jsxs as
|
|
5828
|
+
import { jsx as jsx42, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
5716
5829
|
var RejectionFiles = ({ files }) => {
|
|
5717
5830
|
if (!files.length) {
|
|
5718
5831
|
return null;
|
|
@@ -5732,13 +5845,13 @@ var RejectionFiles = ({ files }) => {
|
|
|
5732
5845
|
},
|
|
5733
5846
|
children: files.map(({ file, errors }) => {
|
|
5734
5847
|
const { path, size } = fileData(file);
|
|
5735
|
-
return /* @__PURE__ */
|
|
5736
|
-
/* @__PURE__ */
|
|
5848
|
+
return /* @__PURE__ */ jsxs22(Box6, { sx: { my: 1 }, children: [
|
|
5849
|
+
/* @__PURE__ */ jsxs22(Typography2, { variant: "subtitle2", noWrap: true, children: [
|
|
5737
5850
|
path,
|
|
5738
5851
|
" - ",
|
|
5739
5852
|
size ? fData(size) : ""
|
|
5740
5853
|
] }),
|
|
5741
|
-
errors.map((error2) => /* @__PURE__ */
|
|
5854
|
+
errors.map((error2) => /* @__PURE__ */ jsxs22(Box6, { component: "span", sx: { typography: "caption" }, children: [
|
|
5742
5855
|
"- ",
|
|
5743
5856
|
error2.message
|
|
5744
5857
|
] }, error2.code))
|
|
@@ -5751,9 +5864,9 @@ var RejectionFiles = ({ files }) => {
|
|
|
5751
5864
|
// src/components/Upload/components/UploadProgress.tsx
|
|
5752
5865
|
import Box7 from "@mui/material/Box";
|
|
5753
5866
|
import CircularProgress from "@mui/material/CircularProgress";
|
|
5754
|
-
import { jsx as jsx43, jsxs as
|
|
5867
|
+
import { jsx as jsx43, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
5755
5868
|
var UploadProgress = ({ progress: progress2 = 20 }) => {
|
|
5756
|
-
return /* @__PURE__ */
|
|
5869
|
+
return /* @__PURE__ */ jsxs23(
|
|
5757
5870
|
Box7,
|
|
5758
5871
|
{
|
|
5759
5872
|
sx: {
|
|
@@ -5764,7 +5877,7 @@ var UploadProgress = ({ progress: progress2 = 20 }) => {
|
|
|
5764
5877
|
height: "100%"
|
|
5765
5878
|
},
|
|
5766
5879
|
children: [
|
|
5767
|
-
/* @__PURE__ */
|
|
5880
|
+
/* @__PURE__ */ jsxs23(Box7, { sx: { position: "relative", display: "inline-flex" }, children: [
|
|
5768
5881
|
/* @__PURE__ */ jsx43(
|
|
5769
5882
|
CircularProgress,
|
|
5770
5883
|
{
|
|
@@ -5880,7 +5993,7 @@ var DeleteButton = ({ sx, ...rest }) => {
|
|
|
5880
5993
|
};
|
|
5881
5994
|
|
|
5882
5995
|
// src/components/Upload/components/MultiFilePreview.tsx
|
|
5883
|
-
import { jsx as jsx45, jsxs as
|
|
5996
|
+
import { jsx as jsx45, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
5884
5997
|
var MultiFilePreview = ({ files, onRemove }) => {
|
|
5885
5998
|
const scrollRef = useRef2(null);
|
|
5886
5999
|
const handleScroll = (direction) => {
|
|
@@ -5894,7 +6007,7 @@ var MultiFilePreview = ({ files, onRemove }) => {
|
|
|
5894
6007
|
}
|
|
5895
6008
|
};
|
|
5896
6009
|
const showNavigation = files.length > 2;
|
|
5897
|
-
return /* @__PURE__ */
|
|
6010
|
+
return /* @__PURE__ */ jsxs24(Box9, { sx: { position: "relative", width: 1 }, children: [
|
|
5898
6011
|
showNavigation && /* @__PURE__ */ jsx45(
|
|
5899
6012
|
IconButton2,
|
|
5900
6013
|
{
|
|
@@ -5934,7 +6047,7 @@ var MultiFilePreview = ({ files, onRemove }) => {
|
|
|
5934
6047
|
children: files.map((file, index) => {
|
|
5935
6048
|
const fileName = typeof file === "string" ? file : file.name;
|
|
5936
6049
|
const previewUrl = typeof file === "string" ? file : URL.createObjectURL(file);
|
|
5937
|
-
return /* @__PURE__ */
|
|
6050
|
+
return /* @__PURE__ */ jsxs24(
|
|
5938
6051
|
Box9,
|
|
5939
6052
|
{
|
|
5940
6053
|
sx: {
|
|
@@ -6000,7 +6113,7 @@ var MultiFilePreview = ({ files, onRemove }) => {
|
|
|
6000
6113
|
};
|
|
6001
6114
|
|
|
6002
6115
|
// src/components/Upload/Upload.tsx
|
|
6003
|
-
import { jsx as jsx46, jsxs as
|
|
6116
|
+
import { jsx as jsx46, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
6004
6117
|
var Upload = ({
|
|
6005
6118
|
sx,
|
|
6006
6119
|
value,
|
|
@@ -6038,8 +6151,8 @@ var Upload = ({
|
|
|
6038
6151
|
return /* @__PURE__ */ jsx46(UploadPlaceholder, { hasError });
|
|
6039
6152
|
};
|
|
6040
6153
|
const shouldShowDropzone = !hasFile && !hasFiles && !isUploading;
|
|
6041
|
-
return /* @__PURE__ */
|
|
6042
|
-
/* @__PURE__ */
|
|
6154
|
+
return /* @__PURE__ */ jsxs25(Box10, { sx: { width: 1, position: "relative", ...sx }, children: [
|
|
6155
|
+
/* @__PURE__ */ jsxs25(
|
|
6043
6156
|
Box10,
|
|
6044
6157
|
{
|
|
6045
6158
|
...shouldShowDropzone ? getRootProps() : {},
|
|
@@ -6084,7 +6197,7 @@ var Upload = ({
|
|
|
6084
6197
|
}
|
|
6085
6198
|
),
|
|
6086
6199
|
hasFile && !isUploading && /* @__PURE__ */ jsx46(DeleteButton, { onClick: onDelete }),
|
|
6087
|
-
hasFiles && /* @__PURE__ */
|
|
6200
|
+
hasFiles && /* @__PURE__ */ jsxs25(Stack3, { direction: "row", spacing: 2, sx: { mt: 2 }, children: [
|
|
6088
6201
|
onRemoveAll && /* @__PURE__ */ jsx46(
|
|
6089
6202
|
Button,
|
|
6090
6203
|
{
|
|
@@ -6153,7 +6266,7 @@ import FormLabel from "@mui/material/FormLabel";
|
|
|
6153
6266
|
import FormControl from "@mui/material/FormControl";
|
|
6154
6267
|
import FormHelperText2 from "@mui/material/FormHelperText";
|
|
6155
6268
|
import FormControlLabel from "@mui/material/FormControlLabel";
|
|
6156
|
-
import { jsx as jsx48, jsxs as
|
|
6269
|
+
import { jsx as jsx48, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
6157
6270
|
var RHFSwitch = ({
|
|
6158
6271
|
name,
|
|
6159
6272
|
description,
|
|
@@ -6170,7 +6283,7 @@ var RHFSwitch = ({
|
|
|
6170
6283
|
{
|
|
6171
6284
|
name,
|
|
6172
6285
|
control,
|
|
6173
|
-
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */
|
|
6286
|
+
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ jsxs26(Box12, { sx: slotProps?.wrap, children: [
|
|
6174
6287
|
/* @__PURE__ */ jsx48(
|
|
6175
6288
|
FormControlLabel,
|
|
6176
6289
|
{
|
|
@@ -6189,7 +6302,7 @@ var RHFSwitch = ({
|
|
|
6189
6302
|
}
|
|
6190
6303
|
}
|
|
6191
6304
|
),
|
|
6192
|
-
label: /* @__PURE__ */
|
|
6305
|
+
label: /* @__PURE__ */ jsxs26(Stack4, { children: [
|
|
6193
6306
|
/* @__PURE__ */ jsx48(Typography3, { variant: "bodyMd", color: "textHeader", fontWeight: 500, children: label }),
|
|
6194
6307
|
description && /* @__PURE__ */ jsx48(Typography3, { variant: "body2", color: "textBody", children: description })
|
|
6195
6308
|
] }),
|
|
@@ -6228,7 +6341,7 @@ var RHFMultiSwitch = ({
|
|
|
6228
6341
|
{
|
|
6229
6342
|
name,
|
|
6230
6343
|
control,
|
|
6231
|
-
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */
|
|
6344
|
+
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ jsxs26(
|
|
6232
6345
|
FormControl,
|
|
6233
6346
|
{
|
|
6234
6347
|
component: "fieldset",
|
|
@@ -6395,7 +6508,7 @@ import FormLabel2 from "@mui/material/FormLabel";
|
|
|
6395
6508
|
import RadioGroup from "@mui/material/RadioGroup";
|
|
6396
6509
|
import FormControl2 from "@mui/material/FormControl";
|
|
6397
6510
|
import FormHelperText3 from "@mui/material/FormHelperText";
|
|
6398
|
-
import { jsx as jsx51, jsxs as
|
|
6511
|
+
import { jsx as jsx51, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
6399
6512
|
var RHFRadioGroup = ({
|
|
6400
6513
|
name,
|
|
6401
6514
|
label,
|
|
@@ -6412,7 +6525,7 @@ var RHFRadioGroup = ({
|
|
|
6412
6525
|
{
|
|
6413
6526
|
name,
|
|
6414
6527
|
control,
|
|
6415
|
-
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */
|
|
6528
|
+
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ jsxs27(FormControl2, { component: "fieldset", sx: slotProps?.wrap, children: [
|
|
6416
6529
|
label && /* @__PURE__ */ jsx51(
|
|
6417
6530
|
FormLabel2,
|
|
6418
6531
|
{
|
|
@@ -6439,7 +6552,7 @@ var RHFRadioGroup = ({
|
|
|
6439
6552
|
}
|
|
6440
6553
|
}
|
|
6441
6554
|
),
|
|
6442
|
-
label: /* @__PURE__ */
|
|
6555
|
+
label: /* @__PURE__ */ jsxs27(Stack5, { children: [
|
|
6443
6556
|
/* @__PURE__ */ jsx51(Typography4, { variant: "bodyMd", color: "textHeader", fontWeight: 500, children: option.label }),
|
|
6444
6557
|
option?.description && /* @__PURE__ */ jsx51(Typography4, { variant: "body2", color: "textBody", children: option?.description })
|
|
6445
6558
|
] }),
|
|
@@ -6513,7 +6626,7 @@ import FormLabel3 from "@mui/material/FormLabel";
|
|
|
6513
6626
|
import FormControl3 from "@mui/material/FormControl";
|
|
6514
6627
|
import FormHelperText4 from "@mui/material/FormHelperText";
|
|
6515
6628
|
import FormControlLabel3 from "@mui/material/FormControlLabel";
|
|
6516
|
-
import { jsx as jsx53, jsxs as
|
|
6629
|
+
import { jsx as jsx53, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
6517
6630
|
var RHFCheckbox = ({
|
|
6518
6631
|
name,
|
|
6519
6632
|
description,
|
|
@@ -6530,7 +6643,7 @@ var RHFCheckbox = ({
|
|
|
6530
6643
|
{
|
|
6531
6644
|
name,
|
|
6532
6645
|
control,
|
|
6533
|
-
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */
|
|
6646
|
+
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ jsxs28(Box13, { sx: slotProps?.wrap, children: [
|
|
6534
6647
|
/* @__PURE__ */ jsx53(
|
|
6535
6648
|
FormControlLabel3,
|
|
6536
6649
|
{
|
|
@@ -6549,7 +6662,7 @@ var RHFCheckbox = ({
|
|
|
6549
6662
|
}
|
|
6550
6663
|
}
|
|
6551
6664
|
),
|
|
6552
|
-
label: /* @__PURE__ */
|
|
6665
|
+
label: /* @__PURE__ */ jsxs28(Stack6, { children: [
|
|
6553
6666
|
/* @__PURE__ */ jsx53(Typography5, { variant: "bodyMd", color: "textHeader", fontWeight: 500, children: label }),
|
|
6554
6667
|
description && /* @__PURE__ */ jsx53(Typography5, { variant: "body2", color: "textBody", children: description })
|
|
6555
6668
|
] }),
|
|
@@ -6582,7 +6695,7 @@ var RHFMultiCheckbox = ({
|
|
|
6582
6695
|
name,
|
|
6583
6696
|
control,
|
|
6584
6697
|
defaultValue: [],
|
|
6585
|
-
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */
|
|
6698
|
+
render: ({ field, fieldState: { error: error2 } }) => /* @__PURE__ */ jsxs28(
|
|
6586
6699
|
FormControl3,
|
|
6587
6700
|
{
|
|
6588
6701
|
component: "fieldset",
|
|
@@ -6622,7 +6735,7 @@ var RHFMultiCheckbox = ({
|
|
|
6622
6735
|
}
|
|
6623
6736
|
}
|
|
6624
6737
|
),
|
|
6625
|
-
label: /* @__PURE__ */
|
|
6738
|
+
label: /* @__PURE__ */ jsxs28(Stack6, { children: [
|
|
6626
6739
|
/* @__PURE__ */ jsx53(Typography5, { variant: "bodyMd", color: "textHeader", fontWeight: 500, children: option.label }),
|
|
6627
6740
|
option?.description && /* @__PURE__ */ jsx53(Typography5, { variant: "body2", color: "textBody", children: option?.description })
|
|
6628
6741
|
] }),
|
|
@@ -6705,7 +6818,34 @@ var LoadingScreen = ({ portal, sx, ...rest }) => {
|
|
|
6705
6818
|
}
|
|
6706
6819
|
return content;
|
|
6707
6820
|
};
|
|
6821
|
+
var SplashScreen = ({ portal, sx, ...rest }) => {
|
|
6822
|
+
const content = /* @__PURE__ */ jsx55(
|
|
6823
|
+
Box14,
|
|
6824
|
+
{
|
|
6825
|
+
sx: {
|
|
6826
|
+
right: 0,
|
|
6827
|
+
width: 1,
|
|
6828
|
+
bottom: 0,
|
|
6829
|
+
height: 1,
|
|
6830
|
+
zIndex: 9998,
|
|
6831
|
+
display: "flex",
|
|
6832
|
+
position: "fixed",
|
|
6833
|
+
alignItems: "center",
|
|
6834
|
+
justifyContent: "center",
|
|
6835
|
+
bgcolor: "background.default",
|
|
6836
|
+
...sx
|
|
6837
|
+
},
|
|
6838
|
+
...rest,
|
|
6839
|
+
children: /* @__PURE__ */ jsx55(AnimatedLogo, {})
|
|
6840
|
+
}
|
|
6841
|
+
);
|
|
6842
|
+
if (portal) {
|
|
6843
|
+
return /* @__PURE__ */ jsx55(Portal, { children: content });
|
|
6844
|
+
}
|
|
6845
|
+
return content;
|
|
6846
|
+
};
|
|
6708
6847
|
export {
|
|
6848
|
+
AnimatedLogo,
|
|
6709
6849
|
CheckboxDefault,
|
|
6710
6850
|
CheckboxIndeterminate,
|
|
6711
6851
|
CheckboxSelect,
|
|
@@ -6744,6 +6884,7 @@ export {
|
|
|
6744
6884
|
SettingsConsumer,
|
|
6745
6885
|
SettingsContext,
|
|
6746
6886
|
SettingsProvider,
|
|
6887
|
+
SplashScreen,
|
|
6747
6888
|
Table,
|
|
6748
6889
|
TablePagination,
|
|
6749
6890
|
ThemeProvider,
|