ados-rcm 1.1.400 → 1.1.401

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.
@@ -63,7 +63,7 @@ export default class JaeKanTableUI {
63
63
  destroy(): void;
64
64
  private createItemClickHandler;
65
65
  private getBoundingRectWithCache;
66
- pasteHandler(evt: ClipboardEvent): void;
66
+ pasteHandler(): void;
67
67
  private cleanupTableUI;
68
68
  }
69
69
  export {};
@@ -10,80 +10,16 @@ export interface ExtendedFile extends File {
10
10
  [key: string]: any;
11
11
  }
12
12
  export interface IAFileUploaderProps extends IAWrapProps, IABaseProps {
13
- /**
14
- * useFiles : TUseValues<ExtendedFile[] | undefined>
15
- *
16
- * Description : useFiles of AFileUploader
17
- */
18
13
  useFiles: TUseValues<ExtendedFile[] | undefined>;
19
- /**
20
- * accept? : string
21
- *
22
- * Description : acceptable formats of file
23
- */
24
14
  accept?: string;
25
- /**
26
- * onInvalidFileFormat? : () => void
27
- *
28
- * Description : callback function when file format is invalid (not in accept list)
29
- */
30
15
  onInvalidFileFormat?: () => void;
31
- /**
32
- * onDownload? : (file: ExtendedFile, updateStatus: (status: TFileStatus) => void) => void
33
- *
34
- * Description : callback function when download button is clicked
35
- * @param file The file to download
36
- * @param updateStatus A function to update the status of the file (Loading, Error, Normal)
37
- */
38
16
  onDownload?: (file: ExtendedFile, updateStatus: (status: TFileStatus) => void) => void;
39
- /**
40
- * onDownloads? : (files: ExtendedFile[]) => void
41
- *
42
- * Description : callback function when download all button is clicked
43
- * @param files All files to download
44
- */
45
17
  onDownloads?: (files: ExtendedFile[]) => void;
46
- /**
47
- * onDelete? : (file: ExtendedFile) => void
48
- *
49
- * Description : callback function when delete button is clicked
50
- */
51
18
  onDelete?: (file: ExtendedFile) => void;
52
- /**
53
- * type : TFileUploaderType
54
- *
55
- * Description : type of AFileUploader ('Upload' or 'Download')
56
- */
57
19
  type: TFileUploaderType;
58
- /**
59
- * limit? : number
60
- *
61
- * Description : limit of AFileUploader
62
- */
63
20
  limit?: number;
64
- /**
65
- * useError? : TUseValues<boolean>
66
- *
67
- * Description : useError of AFileUploader
68
- */
69
21
  useError?: TUseValues<boolean>;
70
- /**
71
- * fileStatus? : Record<string, TFileStatus>
72
- *
73
- * Description : status of each file (Normal, Error, Loading)
74
- */
75
- fileStatus?: Record<string, TFileStatus>;
76
- /**
77
- * useFileStatus? : TUseValues<Record<string, TFileStatus>>
78
- *
79
- * Description : useFileStatus for controlling file statuses
80
- */
81
- useFileStatus?: TUseValues<Record<string, TFileStatus>>;
82
- /**
83
- * resources? : typeof Resources.AFileUploader
84
- *
85
- * Description : resources of AFileUploader
86
- */
22
+ useStatus?: TUseValues<Record<string, TFileStatus>>;
87
23
  resources?: typeof Resources.AFileUploader;
88
24
  }
89
25
  export declare const AFileUploader: (props: IAFileUploaderProps) => import("react/jsx-runtime").JSX.Element | null;
@@ -81,6 +81,12 @@ export declare const Resources: {
81
81
  'Drop file to select': string;
82
82
  'Insert File': string;
83
83
  'Download All': string;
84
+ 'Delete All': string;
85
+ 'Unsupported file format detected.': string;
86
+ 'Invalid file(s)': string;
87
+ 'Supported file format(s)': string;
88
+ and: string;
89
+ 'more file(s)': string;
84
90
  };
85
91
  };
86
92
  export type TResource = typeof Resources;
@@ -90,6 +90,12 @@ export interface IAMultiSelectProps<T> extends IABaseProps {
90
90
  * Description : divProps for Arrow of AMultiSelect
91
91
  */
92
92
  arrowProps?: React.HTMLProps<HTMLDivElement>;
93
+ /**
94
+ * isAutoWidth? : boolean = false
95
+ *
96
+ * Description : When true, automatically adjusts the width based on the longest option element
97
+ */
98
+ isAutoWidth?: boolean;
93
99
  }
94
100
  /**
95
101
  * AComponent : AMultiSelect
@@ -92,6 +92,12 @@ export interface IASelectProps<T> extends IABaseProps {
92
92
  * Description : divProps for Arrow of ASelect
93
93
  */
94
94
  arrowProps?: React.HTMLProps<HTMLDivElement>;
95
+ /**
96
+ * isAutoWidth? : boolean = false
97
+ *
98
+ * Description : When true, automatically adjusts the width based on the longest option element
99
+ */
100
+ isAutoWidth?: boolean;
95
101
  }
96
102
  /**
97
103
  * AComponent : ASelect
@@ -577,6 +577,12 @@ export interface IATableProps<T extends IItem> {
577
577
  * Description : useToggleFilteration of ATable. toggleFilteration can be controlled by useToggleFilteration.
578
578
  */
579
579
  useToggleFilteration?: TUseValues<TATableFilteration<T>>;
580
+ /**
581
+ * useSelectFilteration? : TUseValues<TATableFilteration<T>>
582
+ *
583
+ * Description : useSelectFilteration of ATable. selectFilteration can be controlled by useSelectFilteration.
584
+ */
585
+ useSelectFilteration?: TUseValues<TATableFilteration<T>>;
580
586
  /**
581
587
  * usePagination? : TUseValues<IATablePagination>
582
588
  *
@@ -11,6 +11,7 @@ interface IATableFilterProps<T extends IItem> {
11
11
  isRowRendered?: boolean;
12
12
  isFilterSort?: boolean;
13
13
  resources: typeof Resources.ATable;
14
+ useSelectFilteration?: TUseValues<TATableFilteration<T>>;
14
15
  }
15
16
  export declare const ATableFilter: <T extends IItem>(props: IATableFilterProps<T>) => import("react/jsx-runtime").JSX.Element | null;
16
17
  export {};
@@ -23,5 +23,6 @@ export interface IATableHeaderProps<T extends IItem> {
23
23
  useSortation: TUseValues<IATableSortation<T> | undefined>;
24
24
  isRowRendered?: boolean;
25
25
  resources: typeof Resources.ATable;
26
+ useSelectFilteration?: TUseValues<TATableFilteration<T>>;
26
27
  }
27
28
  export declare const ATableHeader: <T extends IItem>(props: IATableHeaderProps<T>) => import("react/jsx-runtime").JSX.Element;