ados-rcm 1.0.12 → 1.0.14

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.
Files changed (31) hide show
  1. package/dist/AModule/AComponents/ACheckBox/ACheckBox.d.ts +1 -1
  2. package/dist/AModule/AComponents/AClock/AClock.d.ts +1 -1
  3. package/dist/AModule/AComponents/ADatePicker/ADatePicker.d.ts +1 -1
  4. package/dist/AModule/AComponents/ADatePicker/ADateRangePicker.d.ts +1 -1
  5. package/dist/AModule/AComponents/ADialog/ADialog.d.ts +1 -1
  6. package/dist/AModule/AComponents/AFileBox/AFileBox.d.ts +13 -1
  7. package/dist/AModule/AComponents/AFloatMenu/AFloatMenu.d.ts +1 -1
  8. package/dist/AModule/AComponents/AFrames/AFrames.d.ts +1 -1
  9. package/dist/AModule/AComponents/AIcon/AIcon.d.ts +6 -3
  10. package/dist/AModule/AComponents/AInput/AInput.d.ts +1 -1
  11. package/dist/AModule/AComponents/AListView/AListView.d.ts +3 -3
  12. package/dist/AModule/AComponents/ASelect/ASelect.d.ts +2 -2
  13. package/dist/AModule/AComponents/ASpace/ASpace.d.ts +1 -1
  14. package/dist/AModule/AComponents/AStepper/AStepper.d.ts +1 -1
  15. package/dist/AModule/AComponents/ASwitch/ASwitch.d.ts +1 -1
  16. package/dist/AModule/AComponents/ATab/ATab.d.ts +1 -1
  17. package/dist/AModule/AComponents/ATable/ATable.d.ts +1 -1
  18. package/dist/AModule/AComponents/ATable/ATableBody.d.ts +1 -1
  19. package/dist/AModule/AComponents/ATable/ATableFilter.d.ts +1 -1
  20. package/dist/AModule/AComponents/ATable/ATableFooter.d.ts +1 -1
  21. package/dist/AModule/AComponents/ATable/ATableHeader.d.ts +1 -1
  22. package/dist/AModule/AComponents/AText/AText.d.ts +1 -1
  23. package/dist/AModule/AComponents/ATextArea/ATextArea.d.ts +1 -1
  24. package/dist/AModule/AComponents/ATooltip/ATooltip.d.ts +1 -1
  25. package/dist/AModule/AComponents/ATree/ATree.d.ts +1 -1
  26. package/dist/AModule/AComponents/ATree/ATreeItem.d.ts +1 -1
  27. package/dist/AModule/AComponents/ATree/ATreeSearch.d.ts +1 -1
  28. package/dist/AModule/AComponents/AWrap/AWrap.d.ts +1 -1
  29. package/dist/index.cjs.js +14 -14
  30. package/dist/index.es.js +3279 -3242
  31. package/package.json +1 -1
@@ -31,4 +31,4 @@ export interface IACheckBoxProps extends IABaseProps {
31
31
  * <ACheckBox useCheck={[useCheck, setUseCheck]} onClick={onClick} isDisabled={isDisabled} tooltip={isDisabled && 'CheckBox Disabled'} />
32
32
  *
33
33
  */
34
- export declare const ACheckBox: ({ useCheck, isIndeterminate, ...abaseProps }: IACheckBoxProps) => React.ReactNode;
34
+ export declare const ACheckBox: (props: IACheckBoxProps) => React.ReactNode;
@@ -72,4 +72,4 @@ export interface IAClockProps extends IAWrapProps, IABaseProps {
72
72
  * <AButton onClick={onStopClick}>Stop</AButton>
73
73
  * <AButton onClick={actionRef.current?.reset}>Reset</AButton>
74
74
  */
75
- export declare const AClock: ({ maxTicks, interval, onFinish, actionRef, wrapProps, helperText, label, ...abaseProps }: IAClockProps) => React.ReactNode;
75
+ export declare const AClock: (props: IAClockProps) => React.ReactNode;
@@ -95,4 +95,4 @@ export interface IADatePickerProps {
95
95
  * <AButton onClick={actionRef.current?.toggle}>Toggle</AButton>
96
96
  *
97
97
  */
98
- export declare const ADatePicker: ({ className, useDate, actionRef, position, minDate: exMinDate, maxDate: exMaxDate, resources: extResources, LeftAddon, RightAddon, }: IADatePickerProps) => import("react/jsx-runtime").JSX.Element;
98
+ export declare const ADatePicker: (props: IADatePickerProps) => import("react/jsx-runtime").JSX.Element;
@@ -39,4 +39,4 @@ export interface IADateRangePickerProps extends Omit<IADatePickerProps, 'useDate
39
39
  * <AButton onClick={actionRef.current?.toggle}>Toggle</AButton>
40
40
  *
41
41
  */
42
- export declare const ADateRangePicker: ({ className, useDateRange, actionRef, position, minDate: exMinDate, maxDate: exMaxDate, resources: extResources, LeftAddon, RightAddon, }: IADateRangePickerProps) => import("react/jsx-runtime").JSX.Element;
42
+ export declare const ADateRangePicker: (props: IADateRangePickerProps) => import("react/jsx-runtime").JSX.Element;
@@ -136,4 +136,4 @@ export interface IADialogProps {
136
136
  * <AButton onClick={actionRef.current?.close}>Close</AButton>
137
137
  *
138
138
  */
139
- export declare const ADialog: ({ type, title, actionRef, children, onOk: extOnOk, onCancel: extOnCancel, onEnterPress: extOnEnterPress, onEscPress: extOnEscPress, onSpacePress: extOnSpacePress, onPaperClick: extOnPaperClick, noDim, resources: extResources, }: IADialogProps) => import("react").ReactPortal | null;
139
+ export declare const ADialog: (props: IADialogProps) => import("react").ReactPortal | null;
@@ -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: (props: IAFileBoxProps) => import("react/jsx-runtime").JSX.Element;
@@ -112,4 +112,4 @@ export interface IAFloatMenuProps {
112
112
  * <div ref={anchorRef}>I am anchor</div>
113
113
  * <AFloatMenu defs={defs} defaultDef={defaultDef} anchorRef={anchorRef}/>
114
114
  */
115
- export declare const AFloatMenu: ({ defs: extDefs, defaultDef: extDefaultDef, anchorRef, actionRef, position, }: IAFloatMenuProps) => import("react").ReactPortal | null;
115
+ export declare const AFloatMenu: (props: IAFloatMenuProps) => import("react").ReactPortal | null;
@@ -49,5 +49,5 @@ interface IOverflowFrameProps extends IABaseProps {
49
49
  * Long TextTextTextTextTextTextTextTextTextText
50
50
  * </OverflowFrame>
51
51
  */
52
- export declare const OverflowFrame: ({ tooltip: extTooltip, children, abaseRef, className, noOverflowTooltip, ...props }: IOverflowFrameProps) => import("react/jsx-runtime").JSX.Element;
52
+ export declare const OverflowFrame: (props: IOverflowFrameProps) => import("react/jsx-runtime").JSX.Element;
53
53
  export {};
@@ -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 AIcons;
5
+ export type TIcons = keyof typeof Icons;
6
6
  export interface IAIconProps extends IASVGProps {
7
7
  /**
8
8
  * icon : TIcons
@@ -21,8 +21,8 @@ export interface IAIconProps extends IASVGProps {
21
21
  * if (case 1)
22
22
  * <AIcon icon="Alert"/>
23
23
  */
24
- export declare const AIcon: ({ icon, svgRef, ...rest }: IAIconProps) => import("react/jsx-runtime").JSX.Element;
25
- export declare const AIcons: Readonly<{
24
+ export declare const AIcon: (props: IAIconProps) => import("react/jsx-runtime").JSX.Element;
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 {};
@@ -101,4 +101,4 @@ export interface IAInputProps extends IABaseProps, IAWrapProps {
101
101
  * if (case 1)
102
102
  * <AInput useValue={[value, setValue]}/>
103
103
  */
104
- export declare const AInput: ({ onEnterPress, type, inputRef, useValue, isReadonly, placeholder, maxLength, tabIndex, autoFocus, isPassword, autoComplete, LeftAddon, RightAddon, inputProps, wrapProps, helperText, label, wrapType, ...abaseProps }: IAInputProps) => React.ReactNode;
104
+ export declare const AInput: (props: IAInputProps) => React.ReactNode;
@@ -26,7 +26,7 @@ export interface IAListViewContentProps<T extends IObject> {
26
26
  *
27
27
  * Description : item of AListView
28
28
  */
29
- item: T;
29
+ item?: T;
30
30
  /**
31
31
  * def : IAListViewDef<T>
32
32
  *
@@ -71,7 +71,7 @@ export interface IAListViewProps<T extends IObject> extends IABaseProps {
71
71
  *
72
72
  * Description : item of AListView
73
73
  */
74
- item: T;
74
+ item?: T;
75
75
  }
76
76
  /**
77
77
  * AComponent : AListView
@@ -98,4 +98,4 @@ export interface IAListViewProps<T extends IObject> extends IABaseProps {
98
98
  * if (case 2)
99
99
  * <AListView defs={defs} item={user} defaultDef={defaultDef}/>
100
100
  */
101
- export declare const AListView: <T extends IObject>({ defs: extDefs, defaultDef: extDefaultDef, item, ...abaseProps }: IAListViewProps<T>) => import("react/jsx-runtime").JSX.Element;
101
+ export declare const AListView: <T extends IObject>(props: IAListViewProps<T>) => import("react/jsx-runtime").JSX.Element;
@@ -130,5 +130,5 @@ export interface IASelectProps<TItem, TGivenSelected, TSelected = TGivenSelected
130
130
  * isSelectMulti/>
131
131
  *
132
132
  */
133
- export declare const ASelect: <TItem, TGivenSelected, TSelected = TGivenSelected extends TItem[] ? TItem[] : TItem | null>({ options, useSelect, type, placeholder, isSelectMulti, onClose, SelectedRenderer, OptionRenderer, minShowRows, maxShowRows, arrowProps, wrapProps, helperText, label, ...abaseProps }: IASelectProps<TItem, TGivenSelected, TSelected>) => React.ReactNode;
134
- export declare const DefaultOptionRenderer: <T>({ option }: IASelectOptionRendererProps<T>) => React.ReactNode;
133
+ export declare const ASelect: <TItem, TGivenSelected, TSelected = TGivenSelected extends TItem[] ? TItem[] : TItem | null>(props: IASelectProps<TItem, TGivenSelected, TSelected>) => React.ReactNode;
134
+ export declare const DefaultOptionRenderer: <T>(props: IASelectOptionRendererProps<T>) => React.ReactNode;
@@ -23,5 +23,5 @@ interface IASpaceProps extends HTMLAttributes<HTMLElement> {
23
23
  * if (case 1)
24
24
  * <ASpace h={10} w={10}/>
25
25
  */
26
- export declare const ASpace: ({ h, w, ...divProps }: IASpaceProps) => React.ReactNode;
26
+ export declare const ASpace: (props: IASpaceProps) => React.ReactNode;
27
27
  export {};
@@ -68,5 +68,5 @@ export interface IAStepperProps<T> {
68
68
  * ContentRenderer={ContentRenderer}/>
69
69
  *
70
70
  */
71
- export declare const AStepper: <T>({ useSelect, steps, StepRenderer, ContentRenderer, }: IAStepperProps<T>) => import("react/jsx-runtime").JSX.Element | null;
71
+ export declare const AStepper: <T>(props: IAStepperProps<T>) => import("react/jsx-runtime").JSX.Element | null;
72
72
  export {};
@@ -24,4 +24,4 @@ export interface ASwitchProps extends IAWrapProps, IABaseProps {
24
24
  * if (case 2)
25
25
  * <ASwitch useCheck={[check, setCheck]}/>
26
26
  */
27
- export declare const ASwitch: ({ wrapProps, helperText, label, useCheck, ...abaseProps }: ASwitchProps) => import("react/jsx-runtime").JSX.Element;
27
+ export declare const ASwitch: (props: ASwitchProps) => import("react/jsx-runtime").JSX.Element;
@@ -72,4 +72,4 @@ export interface IATabProps<T> {
72
72
  * <ATab options={options}
73
73
  * type="Secondary"/>
74
74
  */
75
- export declare const ATab: <T>({ options, useSelect, type, tabProps, optionWidth, OptionRenderer, }: IATabProps<T>) => import("react/jsx-runtime").JSX.Element | null;
75
+ export declare const ATab: <T>(props: IATabProps<T>) => import("react/jsx-runtime").JSX.Element | null;
@@ -728,4 +728,4 @@ export interface IATableProps<T extends IItem> {
728
728
  * filterationDefs={filterationDefs}
729
729
  * usePagination={[defaultPagination, undefined]}/>
730
730
  */
731
- export declare const ATable: <T extends IItem>({ defs: extDefs, defaultDef: extDefaultDef, rProps, useSelect, isSelectMulti, selectDisabled, useCheck, checkDisabled, isLoading, isDisabled, title, entireItems, onStateChange, pagedItems: extPagedItems, totalCount: extTotalCount, filterationDefs, useFilteration, toggleFilterationDefs, useToggleFilteration, usePagination, useSortation, TopRightAddon, resources: extResources, }: IATableProps<T>) => import("react/jsx-runtime").JSX.Element;
731
+ export declare const ATable: <T extends IItem>(props: IATableProps<T>) => import("react/jsx-runtime").JSX.Element;
@@ -15,6 +15,6 @@ interface IATableBodyProps<T extends IItem> {
15
15
  pagination: IATablePagination;
16
16
  pagedItems: T[];
17
17
  }
18
- export declare const ATableBody: <T extends IItem>({ defs, rProps, useSelect, isTableDisabled, isSelectMulti, selectDisabled, appliedFilteration, useSortation, pagedItems, }: IATableBodyProps<T>) => import("react/jsx-runtime").JSX.Element;
18
+ export declare const ATableBody: <T extends IItem>(props: IATableBodyProps<T>) => import("react/jsx-runtime").JSX.Element;
19
19
  export declare const randomHexColor: (alpha?: number) => string;
20
20
  export {};
@@ -8,5 +8,5 @@ interface IATableFilterProps<T extends IItem> {
8
8
  filterF: IATableFilterF;
9
9
  resources: typeof Resources.ATable;
10
10
  }
11
- export declare const ATableFilter: <T extends IItem>({ useFilteration, filterF, resources }: IATableFilterProps<T>) => import("react/jsx-runtime").JSX.Element | null;
11
+ export declare const ATableFilter: <T extends IItem>(props: IATableFilterProps<T>) => import("react/jsx-runtime").JSX.Element | null;
12
12
  export {};
@@ -11,4 +11,4 @@ export interface IATableFooterProps {
11
11
  };
12
12
  pagination: IATablePagination;
13
13
  }
14
- export declare const ATableFooter: ({ pages, rangedPages, pageF, pagination }: IATableFooterProps) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const ATableFooter: (props: IATableFooterProps) => import("react/jsx-runtime").JSX.Element;
@@ -18,4 +18,4 @@ export interface IATableHeaderProps<T extends IItem> {
18
18
  TopRightAddon?: React.ReactNode;
19
19
  resources: typeof Resources.ATable;
20
20
  }
21
- export declare const ATableHeader: <T extends IItem>({ title, totalCount, useCheck, useFilteration, filterF, TopLeftAddon, TopRightAddon, resources, }: IATableHeaderProps<T>) => import("react/jsx-runtime").JSX.Element;
21
+ export declare const ATableHeader: <T extends IItem>(props: IATableHeaderProps<T>) => import("react/jsx-runtime").JSX.Element;
@@ -43,5 +43,5 @@ interface IATextProps {
43
43
  * styled="text"
44
44
  * style={{color: 'red'}}/>
45
45
  */
46
- export declare const AText: ({ text, styled, style }: IATextProps) => import("react/jsx-runtime").JSX.Element;
46
+ export declare const AText: (props: IATextProps) => import("react/jsx-runtime").JSX.Element;
47
47
  export {};
@@ -89,4 +89,4 @@ export interface IATextAreaProps extends IABaseProps, IAWrapProps {
89
89
  * if (case 1)
90
90
  * <ATextArea useValue={[value, setValue]}/>
91
91
  */
92
- export declare const ATextArea: ({ onEnterPress, type, textAreaRef, useValue, rows, readonly, placeholder, maxLength, tabIndex, autoFocus, textAreaProps, wrapProps, helperText, label, wrapType, ...abaseProps }: IATextAreaProps) => React.ReactNode;
92
+ export declare const ATextArea: (props: IATextAreaProps) => React.ReactNode;
@@ -43,5 +43,5 @@ interface IATooltipProps {
43
43
  *
44
44
  *
45
45
  */
46
- export declare const ATooltip: ({ tooltip, targetRef, delay, distance }: IATooltipProps) => import("react").ReactPortal | null;
46
+ export declare const ATooltip: (props: IATooltipProps) => import("react").ReactPortal | null;
47
47
  export {};
@@ -202,4 +202,4 @@ export interface IATreeProps<T extends IATreeItem<T>> extends IABaseProps {
202
202
  * useSearch={[searchResult, setSearchResult]}/>
203
203
  *
204
204
  */
205
- export declare const ATree: <T extends IATreeItem<T>>({ selectDisabled, ItemRenderer, useItems, useExpand, useSelect, useSearch, showCheckbox, iconWidth, icons, isSelectMulti, noSearch, enableDrag, syncSearchSelect, actionRef, HeaderRightAddon, RightStickyRenderer, resources: extResources, searchPredicate, isDisabled, ...abaseProps }: IATreeProps<T>) => React.ReactNode;
205
+ export declare const ATree: <T extends IATreeItem<T>>(props: IATreeProps<T>) => React.ReactNode;
@@ -33,5 +33,5 @@ declare enum EIndentState {
33
33
  Expanded = "Expanded",
34
34
  IsLast = "IsLast"
35
35
  }
36
- export declare const ATreeItem: <T extends IATreeItem<T>>({ item, selectDisabled, isParentDisabled, indents, ItemRenderer, useExpand, useSelect, useSearch, onDragStart, onDragOver, onDragEnd, showCheckbox, icons, iconWidth, isSelectMulti, enableDrag, isParentCheckHovered, RightStickyRenderer, resources, }: IATreeItemProps<T>) => React.ReactNode;
36
+ export declare const ATreeItem: <T extends IATreeItem<T>>(props: IATreeItemProps<T>) => React.ReactNode;
37
37
  export {};
@@ -7,5 +7,5 @@ interface IATreeSearchProps<T extends IATreeItem<T>> {
7
7
  isDisabled?: boolean;
8
8
  isLoading?: boolean;
9
9
  }
10
- export declare const ATreeSearch: <T extends IATreeItem<T>>({ searchResult, initSearch, searchUp, searchDown, isDisabled, isLoading, }: IATreeSearchProps<T>) => React.ReactNode;
10
+ export declare const ATreeSearch: <T extends IATreeItem<T>>(props: IATreeSearchProps<T>) => React.ReactNode;
11
11
  export {};
@@ -43,4 +43,4 @@ export interface IAWrapProps {
43
43
  * <AInput/>
44
44
  * </AWrap>
45
45
  */
46
- export declare const AWrap: ({ wrapProps, helperText, wrapType, label, children }: IAWrapProps) => React.ReactNode;
46
+ export declare const AWrap: (props: IAWrapProps) => React.ReactNode;