ados-rcm 1.0.12 → 1.0.13
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.
|
@@ -29,6 +29,18 @@ export interface IAFileBoxProps extends IABaseProps {
|
|
|
29
29
|
* Description : resources of AFileBox
|
|
30
30
|
*/
|
|
31
31
|
resources?: typeof Resources.AFileBox;
|
|
32
|
+
/**
|
|
33
|
+
* accept? : string
|
|
34
|
+
*
|
|
35
|
+
* Description : acceptable formats of file
|
|
36
|
+
*/
|
|
37
|
+
accept?: string;
|
|
38
|
+
/**
|
|
39
|
+
* onInvalidFileFormat? : () => void
|
|
40
|
+
*
|
|
41
|
+
* Description : callback function when file format is invalid (not in accept list)
|
|
42
|
+
*/
|
|
43
|
+
onInvalidFileFormat?: () => void;
|
|
32
44
|
}
|
|
33
45
|
/**
|
|
34
46
|
* AComponent : AFileBox
|
|
@@ -42,4 +54,4 @@ export interface IAFileBoxProps extends IABaseProps {
|
|
|
42
54
|
* if (case 1)
|
|
43
55
|
* <AFileBox useFile={[file, setFile]}/>
|
|
44
56
|
*/
|
|
45
|
-
export declare const AFileBox: ({ useFile, FileRenderer, resources: extResources, ...props }: IAFileBoxProps) => import("react/jsx-runtime").JSX.Element;
|
|
57
|
+
export declare const AFileBox: ({ useFile, FileRenderer, resources: extResources, accept, onInvalidFileFormat, ...props }: IAFileBoxProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
export interface IASVGProps extends React.SVGProps<SVGSVGElement> {
|
|
3
3
|
svgRef?: React.Ref<SVGSVGElement>;
|
|
4
4
|
}
|
|
5
|
-
export type TIcons = keyof typeof
|
|
5
|
+
export type TIcons = keyof typeof Icons;
|
|
6
6
|
export interface IAIconProps extends IASVGProps {
|
|
7
7
|
/**
|
|
8
8
|
* icon : TIcons
|
|
@@ -22,7 +22,7 @@ export interface IAIconProps extends IASVGProps {
|
|
|
22
22
|
* <AIcon icon="Alert"/>
|
|
23
23
|
*/
|
|
24
24
|
export declare const AIcon: ({ icon, svgRef, ...rest }: IAIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
|
|
25
|
+
declare const Icons: Readonly<{
|
|
26
26
|
ArrowDown: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
27
|
ArrowUp: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
28
|
Chat: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -31,6 +31,7 @@ export declare const AIcons: Readonly<{
|
|
|
31
31
|
'Check.UnChecked': (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
|
32
32
|
CircledCheck: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
|
33
33
|
ClipBoard: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
Close: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
|
34
35
|
Document: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
|
35
36
|
Menu: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
|
36
37
|
Person: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -88,3 +89,5 @@ export declare const AIcons: Readonly<{
|
|
|
88
89
|
TriangleUp: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
|
89
90
|
TriangleDown: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
|
90
91
|
}>;
|
|
92
|
+
export declare const AIcons: ("ArrowDown" | "ArrowUp" | "Chat" | "Check.Checked" | "Check.Indeterminate" | "Check.UnChecked" | "CircledCheck" | "ClipBoard" | "Close" | "Document" | "Menu" | "Person" | "Reset" | "Search" | "Send" | "Spinner" | "Stop" | "TriangleAlert" | "Sun" | "Moon" | "CCTV" | "Convert" | "KeyboardArrowUp" | "KeyboardArrowDown" | "Alert" | "SortUp" | "SortDown" | "SortBoth" | "Favorite" | "FavoriteDisabled" | "Main" | "Frame" | "FileDownload" | "File" | "UnPlug" | "Sync" | "CalendarDay" | "DateRange" | "PlayArrow" | "Mail" | "Download" | "Folder" | "FolderPost" | "FolderOpen" | "FolderCopy" | "FolderAdd" | "FirstPage" | "LastPage" | "NavigateBefore" | "NavigateNext" | "ListAdd" | "ListRemove" | "Cancel" | "Clear" | "Article" | "Info" | "PersonAdd" | "CheckNormal" | "Create" | "PersonRemove" | "Refresh" | "Undo" | "Gear" | "TriangleUp" | "TriangleDown")[];
|
|
93
|
+
export {};
|