ados-rcm 1.1.190 → 1.1.191

Sign up to get free protection for your applications and to get access to all the features.
@@ -97,7 +97,12 @@ 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
+ Equalizer: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
103
+ ABC: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
104
+ IP: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
100
105
  }>;
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")[];
106
+ 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" | "Email" | "Manager" | "Equalizer" | "ABC" | "IP")[];
102
107
  export type TAIcons = (typeof AIcons)[number];
103
108
  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 = 'Info'
144
+ * icon? : TIcons | Exclude<React.ReactNode, string> = 'Info'
145
145
  *
146
146
  * Description : icon of the String filter
147
147
  */
148
- icon?: TIcons;
148
+ icon?: TIcons | Exclude<React.ReactNode, string>;
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 = 'Info'
207
+ * icon? : TIcons | Exclude<React.ReactNode, string> = 'Info'
208
208
  *
209
209
  * Description : icon of the String filter
210
210
  */
211
- icon?: TIcons;
211
+ icon?: TIcons | Exclude<React.ReactNode, string>;
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 = 'Info'
265
+ * icon? : TIcons | Exclude<React.ReactNode, string> = 'CalerdarDay'
266
266
  *
267
267
  * Description : icon of the String filter
268
268
  */
269
- icon?: TIcons;
269
+ icon?: TIcons | Exclude<React.ReactNode, string>;
270
270
  /**
271
271
  * iconTooltip? : React.ReactNode = def.Name ?? placeholder
272
272
  *
@@ -303,6 +303,12 @@ 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;
306
312
  };
307
313
  DateRange: {
308
314
  /**
@@ -318,11 +324,11 @@ export interface IATableFilter<T extends IItem, K extends IItem = any> {
318
324
  */
319
325
  value?: IDateRange;
320
326
  /**
321
- * icon? : TIcons = 'Info'
327
+ * icon? : TIcons | Exclude<React.ReactNode, string> = 'CalendarDay'
322
328
  *
323
329
  * Description : icon of the String filter
324
330
  */
325
- icon?: TIcons;
331
+ icon?: TIcons | Exclude<React.ReactNode, string>;
326
332
  /**
327
333
  * iconTooltip? : React.ReactNode = def.Name ?? placeholder
328
334
  *
@@ -371,6 +377,12 @@ export interface IATableFilter<T extends IItem, K extends IItem = any> {
371
377
  * Description : if true, default choices will not be shown.
372
378
  */
373
379
  noDefaultChoices?: boolean;
380
+ /**
381
+ * validation? : (value?: IDateRange) => string | undefined
382
+ *
383
+ * Description : validation of the String filter
384
+ */
385
+ validation?: (value?: IDateRange) => string;
374
386
  };
375
387
  }
376
388
  export type TATableSomeFilter<T extends IItem, K extends IItem = any> = IATableFilter<T, K>[TATableFilterType];