ados-rcm 1.1.225 → 1.1.227

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,82 @@
1
+ import React from 'react';
2
+ import { TUseValues } from '../../AHooks/useValues';
3
+ import { TCanCallback } from '../../AUtils/cbF';
4
+ import { IABaseProps } from '../ABase/ABase';
5
+ import { TIcons } from '../AIcon/AIcon';
6
+ export interface IAChipsProps<T> extends IAChipInheritProps<T>, IABaseProps {
7
+ /**
8
+ * useValue? : TUseValues<T[]>
9
+ *
10
+ * Description : useValue of AChips
11
+ */
12
+ useLabel?: TUseValues<T[]>;
13
+ /**
14
+ * alignItems? : React.CSSProperties['alignItems'] = 'flex-start'
15
+ *
16
+ * Description : alignItems of AChips
17
+ */
18
+ alignItems?: React.CSSProperties['alignItems'];
19
+ }
20
+ export interface IAChipInheritProps<T> {
21
+ /**
22
+ * ChipStyle? : React.CSSProperties
23
+ *
24
+ * Description : style of AChip
25
+ */
26
+ ChipStyle?: TCanCallback<IAChipProps<T>, React.CSSProperties>;
27
+ /**
28
+ * ChipClassName? : string
29
+ *
30
+ * Description : className of AChip
31
+ */
32
+ ChipClassName?: TCanCallback<IAChipProps<T>, string>;
33
+ /**
34
+ * ChipOnDelete?: (props: IAChipProps<T>) => void
35
+ *
36
+ * Description : onDelete of AChip
37
+ */
38
+ ChipOnDelete?: (props: IAChipProps<T>) => void;
39
+ /**
40
+ * ChipOnClick? : (props: IAChipProps<T>) => void
41
+ *
42
+ * Description : onClick of AChip
43
+ */
44
+ ChipOnClick?: (props: IAChipProps<T>) => void;
45
+ /**
46
+ * ChipIcon? : TIcons | Exclude<React.ReactNode, string>
47
+ *
48
+ * Description : icon of AChip
49
+ */
50
+ ChipIcon?: TCanCallback<IAChipProps<T>, TIcons | Exclude<React.ReactNode, string>>;
51
+ }
52
+ export declare const AChips: <T>(props: IAChipsProps<T>) => React.ReactNode;
53
+ interface IAChipBaseProps<T> {
54
+ /**
55
+ * label : T
56
+ *
57
+ * Description : label of AChip
58
+ */
59
+ label: T;
60
+ }
61
+ export interface IAChipProps<T> extends IAChipBaseProps<T>, IABaseProps {
62
+ /**
63
+ * onDelete?: (label: T) => void
64
+ *
65
+ * Description : onDelete of the AChip
66
+ */
67
+ onDelete?: (label: T) => void;
68
+ /**
69
+ * icon? : TIcons | Exclude<React.ReactNode, string> = 'Close'
70
+ *
71
+ * Description : icon of the AChip
72
+ */
73
+ icon?: TIcons | Exclude<React.ReactNode, string>;
74
+ /**
75
+ * width? : number | string = 'auto'
76
+ *
77
+ * Description : width of the AChip
78
+ */
79
+ width?: number | string;
80
+ }
81
+ export declare const AChip: <T>(props: IAChipProps<T>) => React.ReactElement;
82
+ export {};
@@ -47,6 +47,12 @@ export interface IAFileBoxProps extends IABaseProps {
47
47
  * Description : callback function when file format is invalid (not in accept list)
48
48
  */
49
49
  onInvalidFileFormat?: () => void;
50
+ /**
51
+ * fileSelectButtonClassName? : string
52
+ *
53
+ * Description : className of file select button
54
+ */
55
+ fileSelectButtonClassName?: string;
50
56
  }
51
57
  /**
52
58
  * AComponent : AFileBox
@@ -64,7 +64,7 @@ declare const Icons: Readonly<{
64
64
  FileDownload: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
65
65
  File: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
66
66
  UnPlug: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
67
- CloudSync: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
67
+ Sync: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
68
68
  CalendarDay: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
69
69
  DateRange: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
70
70
  PlayArrow: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
@@ -112,8 +112,7 @@ declare const Icons: Readonly<{
112
112
  Delete: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
113
113
  Save: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
114
114
  Remove: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
115
- Sync: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
116
115
  }>;
117
- 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" | "CloudSync" | "CalendarDay" | "DateRange" | "PlayArrow" | "Mail" | "Download" | "Folder" | "FolderPost" | "FolderOpen" | "FolderCopy" | "FolderAdd" | "FolderMove" | "FirstPage" | "LastPage" | "NavigateBefore" | "NavigateNext" | "ListAdd" | "ListRemove" | "Cancel" | "Clear" | "Article" | "Info" | "Type" | "PersonAdd" | "CheckNormal" | "Create" | "PersonRemove" | "Refresh" | "Undo" | "Gear" | "TriangleUp" | "TriangleDown" | "HelpCircle" | "Cow" | "AlertCircle" | "Email" | "Manager" | "Equalizer" | "ABC" | "Auth" | "AuthAdd" | "Switch" | "Add" | "Edit" | "EditOff" | "Delete" | "Save" | "Remove" | "Sync")[];
116
+ 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" | "FolderMove" | "FirstPage" | "LastPage" | "NavigateBefore" | "NavigateNext" | "ListAdd" | "ListRemove" | "Cancel" | "Clear" | "Article" | "Info" | "Type" | "PersonAdd" | "CheckNormal" | "Create" | "PersonRemove" | "Refresh" | "Undo" | "Gear" | "TriangleUp" | "TriangleDown" | "HelpCircle" | "Cow" | "AlertCircle" | "Email" | "Manager" | "Equalizer" | "ABC" | "Auth" | "AuthAdd" | "Switch" | "Add" | "Edit" | "EditOff" | "Delete" | "Save" | "Remove")[];
118
117
  export type TAIcons = (typeof AIcons)[number];
119
118
  export {};