ados-rcm 1.0.65 → 1.0.67

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.
@@ -181,11 +181,13 @@ export interface IATableFilterDef<T extends IItem> {
181
181
  */
182
182
  placeholder?: string;
183
183
  /**
184
- * OptionRenderer? : (option: string | number) => React.ReactNode
184
+ * OptionRenderer? : (props: { option: string | number }) => React.ReactNode;
185
185
  *
186
186
  * Description : OptionRenderer of the Select filter Def
187
187
  */
188
- OptionRenderer?: (option: string | number) => React.ReactNode;
188
+ OptionRenderer?: (props: {
189
+ option: string | number;
190
+ }) => React.ReactNode;
189
191
  /**
190
192
  * predicate? : (item: T, defs: TATableDefs<T>, filter: IATableFilter<T>['Select']) => any
191
193
  *
@@ -320,11 +322,11 @@ export interface IATableFilter<T extends IItem> {
320
322
  */
321
323
  defKey: keyof T | '';
322
324
  /**
323
- * values : (string | number)[]
325
+ * value : (string | number)[]
324
326
  *
325
327
  * Description : values of the Select filter
326
328
  */
327
- values: (string | number)[];
329
+ value: string | number | null;
328
330
  /**
329
331
  * options : (string | number)[]
330
332
  *
@@ -338,11 +340,13 @@ export interface IATableFilter<T extends IItem> {
338
340
  */
339
341
  placeholder?: string;
340
342
  /**
341
- * OptionRenderer? : (option: string | number) => React.ReactNode
343
+ * OptionRenderer? : (props: { option: string | number }) => React.ReactNode;
342
344
  *
343
345
  * Description : OptionRenderer of the Select filter
344
346
  */
345
- OptionRenderer?: (option: string | number) => React.ReactNode;
347
+ OptionRenderer?: (props: {
348
+ option: string | number;
349
+ }) => React.ReactNode;
346
350
  /**
347
351
  * predicate? : (item: T, defs: TATableDefs<T>, filter: IATableFilter<T>['Select']) => any
348
352
  *