ados-rcm 1.1.188 → 1.1.190
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/AModule/AComponents/AIcon/AIcon.d.ts +1 -3
- package/dist/AModule/AComponents/ATable/ATable.d.ts +8 -20
- package/dist/index.cjs.js +20 -20
- package/dist/index.es.js +2005 -2020
- package/package.json +1 -1
@@ -97,9 +97,7 @@ declare const Icons: Readonly<{
|
|
97
97
|
HelpCircle: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
98
98
|
Cow: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
99
99
|
AlertCircle: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
100
|
-
Email: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
101
|
-
Manager: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
102
100
|
}>;
|
103
|
-
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" | "HelpCircle" | "Cow" | "AlertCircle"
|
101
|
+
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" | "HelpCircle" | "Cow" | "AlertCircle")[];
|
104
102
|
export type TAIcons = (typeof AIcons)[number];
|
105
103
|
export {};
|
@@ -141,11 +141,11 @@ export interface IATableFilter<T extends IItem, K extends IItem = any> {
|
|
141
141
|
*/
|
142
142
|
value?: string;
|
143
143
|
/**
|
144
|
-
* icon? : TIcons
|
144
|
+
* icon? : TIcons = 'Info'
|
145
145
|
*
|
146
146
|
* Description : icon of the String filter
|
147
147
|
*/
|
148
|
-
icon?: TIcons
|
148
|
+
icon?: TIcons;
|
149
149
|
/**
|
150
150
|
* iconTooltip? : React.ReactNode = def.Name ?? placeholder
|
151
151
|
*
|
@@ -204,11 +204,11 @@ export interface IATableFilter<T extends IItem, K extends IItem = any> {
|
|
204
204
|
*/
|
205
205
|
value?: string | number | null;
|
206
206
|
/**
|
207
|
-
* icon? : TIcons
|
207
|
+
* icon? : TIcons = 'Info'
|
208
208
|
*
|
209
209
|
* Description : icon of the String filter
|
210
210
|
*/
|
211
|
-
icon?: TIcons
|
211
|
+
icon?: TIcons;
|
212
212
|
/**
|
213
213
|
* iconTooltip? : React.ReactNode = def.Name ?? placeholder
|
214
214
|
*
|
@@ -262,11 +262,11 @@ export interface IATableFilter<T extends IItem, K extends IItem = any> {
|
|
262
262
|
*/
|
263
263
|
value?: Date;
|
264
264
|
/**
|
265
|
-
* icon? : TIcons
|
265
|
+
* icon? : TIcons = 'Info'
|
266
266
|
*
|
267
267
|
* Description : icon of the String filter
|
268
268
|
*/
|
269
|
-
icon?: TIcons
|
269
|
+
icon?: TIcons;
|
270
270
|
/**
|
271
271
|
* iconTooltip? : React.ReactNode = def.Name ?? placeholder
|
272
272
|
*
|
@@ -303,12 +303,6 @@ export interface IATableFilter<T extends IItem, K extends IItem = any> {
|
|
303
303
|
* Description : predicate of the Date filter. if not provided, it will have default predicate.
|
304
304
|
*/
|
305
305
|
predicate?: (item: T, defs: TATableDefs<T>, filterKey: keyof T, filter: IATableFilter<T>['Date']) => any;
|
306
|
-
/**
|
307
|
-
* validation? : (value?: Date) => string | undefined
|
308
|
-
*
|
309
|
-
* Description : validation of the String filter
|
310
|
-
*/
|
311
|
-
validation?: (value?: Date) => string;
|
312
306
|
};
|
313
307
|
DateRange: {
|
314
308
|
/**
|
@@ -324,11 +318,11 @@ export interface IATableFilter<T extends IItem, K extends IItem = any> {
|
|
324
318
|
*/
|
325
319
|
value?: IDateRange;
|
326
320
|
/**
|
327
|
-
* icon? : TIcons
|
321
|
+
* icon? : TIcons = 'Info'
|
328
322
|
*
|
329
323
|
* Description : icon of the String filter
|
330
324
|
*/
|
331
|
-
icon?: TIcons
|
325
|
+
icon?: TIcons;
|
332
326
|
/**
|
333
327
|
* iconTooltip? : React.ReactNode = def.Name ?? placeholder
|
334
328
|
*
|
@@ -377,12 +371,6 @@ export interface IATableFilter<T extends IItem, K extends IItem = any> {
|
|
377
371
|
* Description : if true, default choices will not be shown.
|
378
372
|
*/
|
379
373
|
noDefaultChoices?: boolean;
|
380
|
-
/**
|
381
|
-
* validation? : (value?: IDateRange) => string | undefined
|
382
|
-
*
|
383
|
-
* Description : validation of the String filter
|
384
|
-
*/
|
385
|
-
validation?: (value?: IDateRange) => string;
|
386
374
|
};
|
387
375
|
}
|
388
376
|
export type TATableSomeFilter<T extends IItem, K extends IItem = any> = IATableFilter<T, K>[TATableFilterType];
|