@cyber-harbour/ui 1.1.37 → 1.1.38-dev.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/dist/PdfDriver-52N26FOV.js +75 -0
- package/dist/PdfDriver-52N26FOV.js.map +1 -0
- package/dist/PdfDriver-7QRDLLPE.mjs +75 -0
- package/dist/PdfDriver-7QRDLLPE.mjs.map +1 -0
- package/dist/chunk-BEQPLYBJ.mjs +1295 -0
- package/dist/chunk-BEQPLYBJ.mjs.map +1 -0
- package/dist/chunk-K5FDTQQ4.js +1295 -0
- package/dist/chunk-K5FDTQQ4.js.map +1 -0
- package/dist/index.d.mts +96 -25
- package/dist/index.d.ts +96 -25
- package/dist/index.js +175 -1212
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +175 -1212
- package/dist/index.mjs.map +1 -1
- package/package.json +23 -1
package/dist/index.d.mts
CHANGED
|
@@ -37,6 +37,7 @@ type LabelSizeStyle = {
|
|
|
37
37
|
marginTop: number | string;
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
|
+
type AlertColor = 'default' | 'primary' | 'info' | 'success' | 'warning' | 'error';
|
|
40
41
|
type SwitchState = 'default' | 'checked' | 'disabled';
|
|
41
42
|
type Breakpoint = 'xs' | 's' | 'm' | 'l' | 'xl';
|
|
42
43
|
type ButtonElementStyle = {
|
|
@@ -281,16 +282,10 @@ type Theme = {
|
|
|
281
282
|
borderRadius: number | string;
|
|
282
283
|
fontSize: number | string;
|
|
283
284
|
gap: number | string;
|
|
284
|
-
|
|
285
|
-
width: number | string;
|
|
286
|
-
height: number | string;
|
|
287
|
-
paddingTop: number | string;
|
|
288
|
-
};
|
|
289
|
-
color: {
|
|
290
|
-
icon: string;
|
|
285
|
+
colors: Record<AlertColor, {
|
|
291
286
|
text: string;
|
|
292
287
|
background: string;
|
|
293
|
-
}
|
|
288
|
+
}>;
|
|
294
289
|
};
|
|
295
290
|
label: {
|
|
296
291
|
sizes: Record<LabelSize, LabelSizeStyle>;
|
|
@@ -493,6 +488,16 @@ interface AlertIconProps extends SVGProps<SVGSVGElement> {
|
|
|
493
488
|
}
|
|
494
489
|
declare const AlertIcon: ({ fill, ...props }: AlertIconProps) => react_jsx_runtime.JSX.Element;
|
|
495
490
|
|
|
491
|
+
interface ImageIconProps extends SVGProps<SVGSVGElement> {
|
|
492
|
+
fill?: string;
|
|
493
|
+
}
|
|
494
|
+
declare const ImageIcon: ({ fill, ...props }: ImageIconProps) => react_jsx_runtime.JSX.Element;
|
|
495
|
+
|
|
496
|
+
interface MinusIconProps extends SVGProps<SVGSVGElement> {
|
|
497
|
+
fill?: string;
|
|
498
|
+
}
|
|
499
|
+
declare const MinusIcon: ({ fill, ...props }: MinusIconProps) => react_jsx_runtime.JSX.Element;
|
|
500
|
+
|
|
496
501
|
interface ApiIconProps extends SVGProps<SVGSVGElement> {
|
|
497
502
|
fill?: string;
|
|
498
503
|
}
|
|
@@ -1382,12 +1387,12 @@ declare const Tag: react__default.ForwardRefExoticComponent<{
|
|
|
1382
1387
|
} & react__default.RefAttributes<unknown>>;
|
|
1383
1388
|
|
|
1384
1389
|
type AlertProps = FabricComponent<{
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
}> & Omit<react__default.HTMLAttributes<HTMLDivElement>, 'children'>;
|
|
1390
|
+
children?: any;
|
|
1391
|
+
color?: AlertColor;
|
|
1392
|
+
}> & Omit<react__default.HTMLAttributes<HTMLDivElement>, 'children' | 'color'>;
|
|
1388
1393
|
declare const Alert: react__default.ForwardRefExoticComponent<{
|
|
1389
|
-
|
|
1390
|
-
|
|
1394
|
+
children?: any;
|
|
1395
|
+
color?: AlertColor;
|
|
1391
1396
|
} & {
|
|
1392
1397
|
m?: string | number;
|
|
1393
1398
|
mt?: string | number;
|
|
@@ -1406,27 +1411,27 @@ declare const Alert: react__default.ForwardRefExoticComponent<{
|
|
|
1406
1411
|
} & {
|
|
1407
1412
|
media?: {
|
|
1408
1413
|
xs?: Partial<{
|
|
1409
|
-
|
|
1410
|
-
|
|
1414
|
+
children?: any;
|
|
1415
|
+
color?: AlertColor;
|
|
1411
1416
|
}> | undefined;
|
|
1412
1417
|
s?: Partial<{
|
|
1413
|
-
|
|
1414
|
-
|
|
1418
|
+
children?: any;
|
|
1419
|
+
color?: AlertColor;
|
|
1415
1420
|
}> | undefined;
|
|
1416
1421
|
m?: Partial<{
|
|
1417
|
-
|
|
1418
|
-
|
|
1422
|
+
children?: any;
|
|
1423
|
+
color?: AlertColor;
|
|
1419
1424
|
}> | undefined;
|
|
1420
1425
|
l?: Partial<{
|
|
1421
|
-
|
|
1422
|
-
|
|
1426
|
+
children?: any;
|
|
1427
|
+
color?: AlertColor;
|
|
1423
1428
|
}> | undefined;
|
|
1424
1429
|
xl?: Partial<{
|
|
1425
|
-
|
|
1426
|
-
|
|
1430
|
+
children?: any;
|
|
1431
|
+
color?: AlertColor;
|
|
1427
1432
|
}> | undefined;
|
|
1428
1433
|
} | undefined;
|
|
1429
|
-
} & Omit<react__default.HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
1434
|
+
} & Omit<react__default.HTMLAttributes<HTMLDivElement>, "color" | "children"> & {
|
|
1430
1435
|
media?: {
|
|
1431
1436
|
xs?: Partial<AlertProps> | undefined;
|
|
1432
1437
|
s?: Partial<AlertProps> | undefined;
|
|
@@ -1657,6 +1662,41 @@ type CounterProps = {
|
|
|
1657
1662
|
};
|
|
1658
1663
|
declare const Counter: FC<CounterProps>;
|
|
1659
1664
|
|
|
1665
|
+
type FileFieldProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'value' | 'onChange' | 'size'> & {
|
|
1666
|
+
error?: string;
|
|
1667
|
+
variant?: InputVariant;
|
|
1668
|
+
multiple?: boolean;
|
|
1669
|
+
accept?: string;
|
|
1670
|
+
uploadButtonText?: string;
|
|
1671
|
+
dragDropPlaceholder?: string;
|
|
1672
|
+
infoPlaceholder?: string;
|
|
1673
|
+
dragDropText?: string;
|
|
1674
|
+
enableFilePreview?: boolean;
|
|
1675
|
+
value?: File[];
|
|
1676
|
+
onChange?: (files: File[]) => void;
|
|
1677
|
+
onError?: (error: string) => void;
|
|
1678
|
+
dragDropClassName?: string;
|
|
1679
|
+
hasIcon?: boolean;
|
|
1680
|
+
hasButton?: boolean;
|
|
1681
|
+
};
|
|
1682
|
+
declare const FileField: react.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "value" | "size" | "type" | "onChange"> & {
|
|
1683
|
+
error?: string;
|
|
1684
|
+
variant?: InputVariant;
|
|
1685
|
+
multiple?: boolean;
|
|
1686
|
+
accept?: string;
|
|
1687
|
+
uploadButtonText?: string;
|
|
1688
|
+
dragDropPlaceholder?: string;
|
|
1689
|
+
infoPlaceholder?: string;
|
|
1690
|
+
dragDropText?: string;
|
|
1691
|
+
enableFilePreview?: boolean;
|
|
1692
|
+
value?: File[];
|
|
1693
|
+
onChange?: (files: File[]) => void;
|
|
1694
|
+
onError?: (error: string) => void;
|
|
1695
|
+
dragDropClassName?: string;
|
|
1696
|
+
hasIcon?: boolean;
|
|
1697
|
+
hasButton?: boolean;
|
|
1698
|
+
} & react.RefAttributes<HTMLInputElement>>;
|
|
1699
|
+
|
|
1660
1700
|
interface PageLayoutProps {
|
|
1661
1701
|
children?: any;
|
|
1662
1702
|
className?: string;
|
|
@@ -1711,6 +1751,21 @@ declare const Container: react.ForwardRefExoticComponent<ContainerProps & {
|
|
|
1711
1751
|
} | undefined;
|
|
1712
1752
|
} & react.RefAttributes<unknown>>;
|
|
1713
1753
|
|
|
1754
|
+
type SplitterLayoutProps = {
|
|
1755
|
+
columns: {
|
|
1756
|
+
content: React.ReactNode;
|
|
1757
|
+
className?: string;
|
|
1758
|
+
style?: React.CSSProperties;
|
|
1759
|
+
}[];
|
|
1760
|
+
style?: React.CSSProperties;
|
|
1761
|
+
className?: string;
|
|
1762
|
+
splitterClassName?: string;
|
|
1763
|
+
initialWidths: number[];
|
|
1764
|
+
minWidth?: number;
|
|
1765
|
+
storageKey?: string;
|
|
1766
|
+
};
|
|
1767
|
+
declare const SplitterLayout: ({ columns, initialWidths, style, className, splitterClassName, minWidth, storageKey, }: SplitterLayoutProps) => react_jsx_runtime.JSX.Element;
|
|
1768
|
+
|
|
1714
1769
|
declare const Graph2D: any;
|
|
1715
1770
|
|
|
1716
1771
|
interface Graph2DRef {
|
|
@@ -1950,4 +2005,20 @@ declare const FullscreenCard: react.ForwardRefExoticComponent<FullscreenCardProp
|
|
|
1950
2005
|
} | undefined;
|
|
1951
2006
|
} & react.RefAttributes<unknown>>;
|
|
1952
2007
|
|
|
1953
|
-
|
|
2008
|
+
type ImageExtension = 'jpeg' | 'jpg' | 'png' | 'gif' | 'bmp' | 'webp';
|
|
2009
|
+
type AudioExtension = 'mp3' | 'wav' | 'ogg' | 'flac';
|
|
2010
|
+
type DocumentExtension = 'pdf' | 'docx' | 'txt' | 'xlsx' | 'pptx';
|
|
2011
|
+
type VideoExtension = 'mp4' | 'webm';
|
|
2012
|
+
type CodeExtension = 'js' | 'jsx' | 'ts' | 'tsx' | 'json' | 'html' | 'css' | 'scss' | 'py' | 'java' | 'cpp' | 'c' | 'cs' | 'php' | 'rb' | 'go' | 'rs' | 'swift' | 'kt' | 'xml' | 'yaml' | 'yml' | 'md' | 'sql' | 'sh' | 'bash';
|
|
2013
|
+
type SupportedFileExtension = ImageExtension | AudioExtension | DocumentExtension | CodeExtension | VideoExtension;
|
|
2014
|
+
|
|
2015
|
+
type FileViewerProps = {
|
|
2016
|
+
path?: string;
|
|
2017
|
+
blob?: Blob;
|
|
2018
|
+
buffer?: ArrayBuffer;
|
|
2019
|
+
extension: SupportedFileExtension;
|
|
2020
|
+
not_supported_message?: string;
|
|
2021
|
+
};
|
|
2022
|
+
declare const FileViewer: (props: FileViewerProps) => react_jsx_runtime.JSX.Element;
|
|
2023
|
+
|
|
2024
|
+
export { type Action, Alert, type AlertColor, AlertIcon, AndroidIcon, ApiIcon, ArrowCircleTopRightIcon, ArrowRightIcon, BallsMenu, Box, type Breakpoint, BreakpointProvider, BugReportIcon, BurgerMenuIcon, BusIcon, Button, type ButtonColor, type ButtonElementStyle, type ButtonProps, type ButtonSize, type ButtonSizeStyle, type ButtonState, type ButtonVariant, CalendarIcon, CarIcon, CheckIcon, Checkbox, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ClockIcon, CloseCircleIcon, ClosedLockIcon, type ColorVariant, type ColumnTable, Container, ContentLoader, type ContentLoaderProps, ContextMenu, ContextMenuDelimiter, Counter, type CounterProps, CrossIcon, DataSetsIcon, DeepSearchIcon, DisabledVisibleIcon, DocsIcon, DownloadIcon, Drawer, DrawerBody, DrawerHeader, EditUserIcon, EmptyData, type EmptyDataProps, EnableVisibleIcon, EnterArrowLeftIcon, type FabricComponent, FileField, type FileFieldProps, FileIcon, FileViewer, FiltersIcon, FlashIcon, FlexContainer, FlexItem, FolderAlertIcon, FolderInfoIcon, FullscreenCard, GlobalStyle, Graph2D, type Graph2DProps, type Graph2DRef, type GraphData, type GraphState, Header, HeaderDelimeter, HeaderSection, HomepageIcon, ImageIcon, InfoCircleFilledIcon, InfoCircleIcon, Input, type InputElementProps, type InputElementStyle, type InputProps, type InputSize, type InputSizeStyle, type InputState, type InputVariant, IosIcon, Label, type LabelSize, type LabelSizeStyle, Line, LinerProgress, type LinkObject, ListMenu, ListMenuItem, type ListMenuItemAnchorProps, type ListMenuItemBase, type ListMenuItemButtonProps, type ListMenuItemProps, type ListMenuProps, ListMenuSection, type ListMenuSectionProps, MapRadarIcon, MaximizeIcon, MicrosoftIcon, MinusIcon, Modal, ModalBody, ModalFooter, ModalHeader, MoonIcon, type NestedColorPaths, type NodeButton, type NodeObject, OpenLockIcon, OrganizationIcon, Overlay, type OverlayProps, PageContent, PageLayout, Pagination, type PaginationProps, PassportIcon, PasswordFinderIcon, PencilIcon, PhonebookIcon, PlaneIcon, PlusIcon, PointIcon, PrintIcon, Profiler2Icon, ProfilerIcon, RelationIcon, RelationPointsIcon, type RenderCellProps, type RenderHeaderCellProps, RotateLeftIcon, RotateRightIcon, RowActionsMenu, SandBoxIcon, SearchIcon, Select, ShipIcon, Sidebar, SidebarContext, SidebarDelimeter, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, SplitterLayout, StatisticIcon, Styled, StyledContainer, type StyledFabricComponent, StyledMain, SubNav, SunIcon, type SupportedFileExtension, Switch, type SwitchState, Table, Tag, type TagColor, type TagElementStyle, type TagVariant, type TextAreaElementProps, type Theme, type ThemeMode, ThemeProvider, Tooltip, Typography, type TypographyVariant, UnfoldIcon, UpRightArrowCircleIcon, UserInCircleIcon, UsersIcon, VectorIcon, WayIcon, convertPaletteToRem, createComponent, createStyledComponent, darkTheme, darkThemePx, destructSpaceProps, generatePropertySpaceStyle, getBreakpoint, getButtonSizeStyles, getButtonStyles, getInputStyles, getResponsiveProps, getTypographyStyles, hexToRgba, lightTheme, lightThemePx, propToRem, pxToRem, remToPx, resolveThemeColor, useBreakpoint, useContextMenuControl, useTheme };
|
package/dist/index.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ type LabelSizeStyle = {
|
|
|
37
37
|
marginTop: number | string;
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
|
+
type AlertColor = 'default' | 'primary' | 'info' | 'success' | 'warning' | 'error';
|
|
40
41
|
type SwitchState = 'default' | 'checked' | 'disabled';
|
|
41
42
|
type Breakpoint = 'xs' | 's' | 'm' | 'l' | 'xl';
|
|
42
43
|
type ButtonElementStyle = {
|
|
@@ -281,16 +282,10 @@ type Theme = {
|
|
|
281
282
|
borderRadius: number | string;
|
|
282
283
|
fontSize: number | string;
|
|
283
284
|
gap: number | string;
|
|
284
|
-
|
|
285
|
-
width: number | string;
|
|
286
|
-
height: number | string;
|
|
287
|
-
paddingTop: number | string;
|
|
288
|
-
};
|
|
289
|
-
color: {
|
|
290
|
-
icon: string;
|
|
285
|
+
colors: Record<AlertColor, {
|
|
291
286
|
text: string;
|
|
292
287
|
background: string;
|
|
293
|
-
}
|
|
288
|
+
}>;
|
|
294
289
|
};
|
|
295
290
|
label: {
|
|
296
291
|
sizes: Record<LabelSize, LabelSizeStyle>;
|
|
@@ -493,6 +488,16 @@ interface AlertIconProps extends SVGProps<SVGSVGElement> {
|
|
|
493
488
|
}
|
|
494
489
|
declare const AlertIcon: ({ fill, ...props }: AlertIconProps) => react_jsx_runtime.JSX.Element;
|
|
495
490
|
|
|
491
|
+
interface ImageIconProps extends SVGProps<SVGSVGElement> {
|
|
492
|
+
fill?: string;
|
|
493
|
+
}
|
|
494
|
+
declare const ImageIcon: ({ fill, ...props }: ImageIconProps) => react_jsx_runtime.JSX.Element;
|
|
495
|
+
|
|
496
|
+
interface MinusIconProps extends SVGProps<SVGSVGElement> {
|
|
497
|
+
fill?: string;
|
|
498
|
+
}
|
|
499
|
+
declare const MinusIcon: ({ fill, ...props }: MinusIconProps) => react_jsx_runtime.JSX.Element;
|
|
500
|
+
|
|
496
501
|
interface ApiIconProps extends SVGProps<SVGSVGElement> {
|
|
497
502
|
fill?: string;
|
|
498
503
|
}
|
|
@@ -1382,12 +1387,12 @@ declare const Tag: react__default.ForwardRefExoticComponent<{
|
|
|
1382
1387
|
} & react__default.RefAttributes<unknown>>;
|
|
1383
1388
|
|
|
1384
1389
|
type AlertProps = FabricComponent<{
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
}> & Omit<react__default.HTMLAttributes<HTMLDivElement>, 'children'>;
|
|
1390
|
+
children?: any;
|
|
1391
|
+
color?: AlertColor;
|
|
1392
|
+
}> & Omit<react__default.HTMLAttributes<HTMLDivElement>, 'children' | 'color'>;
|
|
1388
1393
|
declare const Alert: react__default.ForwardRefExoticComponent<{
|
|
1389
|
-
|
|
1390
|
-
|
|
1394
|
+
children?: any;
|
|
1395
|
+
color?: AlertColor;
|
|
1391
1396
|
} & {
|
|
1392
1397
|
m?: string | number;
|
|
1393
1398
|
mt?: string | number;
|
|
@@ -1406,27 +1411,27 @@ declare const Alert: react__default.ForwardRefExoticComponent<{
|
|
|
1406
1411
|
} & {
|
|
1407
1412
|
media?: {
|
|
1408
1413
|
xs?: Partial<{
|
|
1409
|
-
|
|
1410
|
-
|
|
1414
|
+
children?: any;
|
|
1415
|
+
color?: AlertColor;
|
|
1411
1416
|
}> | undefined;
|
|
1412
1417
|
s?: Partial<{
|
|
1413
|
-
|
|
1414
|
-
|
|
1418
|
+
children?: any;
|
|
1419
|
+
color?: AlertColor;
|
|
1415
1420
|
}> | undefined;
|
|
1416
1421
|
m?: Partial<{
|
|
1417
|
-
|
|
1418
|
-
|
|
1422
|
+
children?: any;
|
|
1423
|
+
color?: AlertColor;
|
|
1419
1424
|
}> | undefined;
|
|
1420
1425
|
l?: Partial<{
|
|
1421
|
-
|
|
1422
|
-
|
|
1426
|
+
children?: any;
|
|
1427
|
+
color?: AlertColor;
|
|
1423
1428
|
}> | undefined;
|
|
1424
1429
|
xl?: Partial<{
|
|
1425
|
-
|
|
1426
|
-
|
|
1430
|
+
children?: any;
|
|
1431
|
+
color?: AlertColor;
|
|
1427
1432
|
}> | undefined;
|
|
1428
1433
|
} | undefined;
|
|
1429
|
-
} & Omit<react__default.HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
1434
|
+
} & Omit<react__default.HTMLAttributes<HTMLDivElement>, "color" | "children"> & {
|
|
1430
1435
|
media?: {
|
|
1431
1436
|
xs?: Partial<AlertProps> | undefined;
|
|
1432
1437
|
s?: Partial<AlertProps> | undefined;
|
|
@@ -1657,6 +1662,41 @@ type CounterProps = {
|
|
|
1657
1662
|
};
|
|
1658
1663
|
declare const Counter: FC<CounterProps>;
|
|
1659
1664
|
|
|
1665
|
+
type FileFieldProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'value' | 'onChange' | 'size'> & {
|
|
1666
|
+
error?: string;
|
|
1667
|
+
variant?: InputVariant;
|
|
1668
|
+
multiple?: boolean;
|
|
1669
|
+
accept?: string;
|
|
1670
|
+
uploadButtonText?: string;
|
|
1671
|
+
dragDropPlaceholder?: string;
|
|
1672
|
+
infoPlaceholder?: string;
|
|
1673
|
+
dragDropText?: string;
|
|
1674
|
+
enableFilePreview?: boolean;
|
|
1675
|
+
value?: File[];
|
|
1676
|
+
onChange?: (files: File[]) => void;
|
|
1677
|
+
onError?: (error: string) => void;
|
|
1678
|
+
dragDropClassName?: string;
|
|
1679
|
+
hasIcon?: boolean;
|
|
1680
|
+
hasButton?: boolean;
|
|
1681
|
+
};
|
|
1682
|
+
declare const FileField: react.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "value" | "size" | "type" | "onChange"> & {
|
|
1683
|
+
error?: string;
|
|
1684
|
+
variant?: InputVariant;
|
|
1685
|
+
multiple?: boolean;
|
|
1686
|
+
accept?: string;
|
|
1687
|
+
uploadButtonText?: string;
|
|
1688
|
+
dragDropPlaceholder?: string;
|
|
1689
|
+
infoPlaceholder?: string;
|
|
1690
|
+
dragDropText?: string;
|
|
1691
|
+
enableFilePreview?: boolean;
|
|
1692
|
+
value?: File[];
|
|
1693
|
+
onChange?: (files: File[]) => void;
|
|
1694
|
+
onError?: (error: string) => void;
|
|
1695
|
+
dragDropClassName?: string;
|
|
1696
|
+
hasIcon?: boolean;
|
|
1697
|
+
hasButton?: boolean;
|
|
1698
|
+
} & react.RefAttributes<HTMLInputElement>>;
|
|
1699
|
+
|
|
1660
1700
|
interface PageLayoutProps {
|
|
1661
1701
|
children?: any;
|
|
1662
1702
|
className?: string;
|
|
@@ -1711,6 +1751,21 @@ declare const Container: react.ForwardRefExoticComponent<ContainerProps & {
|
|
|
1711
1751
|
} | undefined;
|
|
1712
1752
|
} & react.RefAttributes<unknown>>;
|
|
1713
1753
|
|
|
1754
|
+
type SplitterLayoutProps = {
|
|
1755
|
+
columns: {
|
|
1756
|
+
content: React.ReactNode;
|
|
1757
|
+
className?: string;
|
|
1758
|
+
style?: React.CSSProperties;
|
|
1759
|
+
}[];
|
|
1760
|
+
style?: React.CSSProperties;
|
|
1761
|
+
className?: string;
|
|
1762
|
+
splitterClassName?: string;
|
|
1763
|
+
initialWidths: number[];
|
|
1764
|
+
minWidth?: number;
|
|
1765
|
+
storageKey?: string;
|
|
1766
|
+
};
|
|
1767
|
+
declare const SplitterLayout: ({ columns, initialWidths, style, className, splitterClassName, minWidth, storageKey, }: SplitterLayoutProps) => react_jsx_runtime.JSX.Element;
|
|
1768
|
+
|
|
1714
1769
|
declare const Graph2D: any;
|
|
1715
1770
|
|
|
1716
1771
|
interface Graph2DRef {
|
|
@@ -1950,4 +2005,20 @@ declare const FullscreenCard: react.ForwardRefExoticComponent<FullscreenCardProp
|
|
|
1950
2005
|
} | undefined;
|
|
1951
2006
|
} & react.RefAttributes<unknown>>;
|
|
1952
2007
|
|
|
1953
|
-
|
|
2008
|
+
type ImageExtension = 'jpeg' | 'jpg' | 'png' | 'gif' | 'bmp' | 'webp';
|
|
2009
|
+
type AudioExtension = 'mp3' | 'wav' | 'ogg' | 'flac';
|
|
2010
|
+
type DocumentExtension = 'pdf' | 'docx' | 'txt' | 'xlsx' | 'pptx';
|
|
2011
|
+
type VideoExtension = 'mp4' | 'webm';
|
|
2012
|
+
type CodeExtension = 'js' | 'jsx' | 'ts' | 'tsx' | 'json' | 'html' | 'css' | 'scss' | 'py' | 'java' | 'cpp' | 'c' | 'cs' | 'php' | 'rb' | 'go' | 'rs' | 'swift' | 'kt' | 'xml' | 'yaml' | 'yml' | 'md' | 'sql' | 'sh' | 'bash';
|
|
2013
|
+
type SupportedFileExtension = ImageExtension | AudioExtension | DocumentExtension | CodeExtension | VideoExtension;
|
|
2014
|
+
|
|
2015
|
+
type FileViewerProps = {
|
|
2016
|
+
path?: string;
|
|
2017
|
+
blob?: Blob;
|
|
2018
|
+
buffer?: ArrayBuffer;
|
|
2019
|
+
extension: SupportedFileExtension;
|
|
2020
|
+
not_supported_message?: string;
|
|
2021
|
+
};
|
|
2022
|
+
declare const FileViewer: (props: FileViewerProps) => react_jsx_runtime.JSX.Element;
|
|
2023
|
+
|
|
2024
|
+
export { type Action, Alert, type AlertColor, AlertIcon, AndroidIcon, ApiIcon, ArrowCircleTopRightIcon, ArrowRightIcon, BallsMenu, Box, type Breakpoint, BreakpointProvider, BugReportIcon, BurgerMenuIcon, BusIcon, Button, type ButtonColor, type ButtonElementStyle, type ButtonProps, type ButtonSize, type ButtonSizeStyle, type ButtonState, type ButtonVariant, CalendarIcon, CarIcon, CheckIcon, Checkbox, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ClockIcon, CloseCircleIcon, ClosedLockIcon, type ColorVariant, type ColumnTable, Container, ContentLoader, type ContentLoaderProps, ContextMenu, ContextMenuDelimiter, Counter, type CounterProps, CrossIcon, DataSetsIcon, DeepSearchIcon, DisabledVisibleIcon, DocsIcon, DownloadIcon, Drawer, DrawerBody, DrawerHeader, EditUserIcon, EmptyData, type EmptyDataProps, EnableVisibleIcon, EnterArrowLeftIcon, type FabricComponent, FileField, type FileFieldProps, FileIcon, FileViewer, FiltersIcon, FlashIcon, FlexContainer, FlexItem, FolderAlertIcon, FolderInfoIcon, FullscreenCard, GlobalStyle, Graph2D, type Graph2DProps, type Graph2DRef, type GraphData, type GraphState, Header, HeaderDelimeter, HeaderSection, HomepageIcon, ImageIcon, InfoCircleFilledIcon, InfoCircleIcon, Input, type InputElementProps, type InputElementStyle, type InputProps, type InputSize, type InputSizeStyle, type InputState, type InputVariant, IosIcon, Label, type LabelSize, type LabelSizeStyle, Line, LinerProgress, type LinkObject, ListMenu, ListMenuItem, type ListMenuItemAnchorProps, type ListMenuItemBase, type ListMenuItemButtonProps, type ListMenuItemProps, type ListMenuProps, ListMenuSection, type ListMenuSectionProps, MapRadarIcon, MaximizeIcon, MicrosoftIcon, MinusIcon, Modal, ModalBody, ModalFooter, ModalHeader, MoonIcon, type NestedColorPaths, type NodeButton, type NodeObject, OpenLockIcon, OrganizationIcon, Overlay, type OverlayProps, PageContent, PageLayout, Pagination, type PaginationProps, PassportIcon, PasswordFinderIcon, PencilIcon, PhonebookIcon, PlaneIcon, PlusIcon, PointIcon, PrintIcon, Profiler2Icon, ProfilerIcon, RelationIcon, RelationPointsIcon, type RenderCellProps, type RenderHeaderCellProps, RotateLeftIcon, RotateRightIcon, RowActionsMenu, SandBoxIcon, SearchIcon, Select, ShipIcon, Sidebar, SidebarContext, SidebarDelimeter, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, type SidebarSectionProps, SplitterLayout, StatisticIcon, Styled, StyledContainer, type StyledFabricComponent, StyledMain, SubNav, SunIcon, type SupportedFileExtension, Switch, type SwitchState, Table, Tag, type TagColor, type TagElementStyle, type TagVariant, type TextAreaElementProps, type Theme, type ThemeMode, ThemeProvider, Tooltip, Typography, type TypographyVariant, UnfoldIcon, UpRightArrowCircleIcon, UserInCircleIcon, UsersIcon, VectorIcon, WayIcon, convertPaletteToRem, createComponent, createStyledComponent, darkTheme, darkThemePx, destructSpaceProps, generatePropertySpaceStyle, getBreakpoint, getButtonSizeStyles, getButtonStyles, getInputStyles, getResponsiveProps, getTypographyStyles, hexToRgba, lightTheme, lightThemePx, propToRem, pxToRem, remToPx, resolveThemeColor, useBreakpoint, useContextMenuControl, useTheme };
|