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.
- package/dist/AModule/AComponents/ATable/ATable.d.ts +10 -6
- package/dist/index.cjs.js +8 -8
- package/dist/index.es.js +587 -583
- package/package.json +1 -1
|
@@ -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?: (
|
|
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
|
-
*
|
|
325
|
+
* value : (string | number)[]
|
|
324
326
|
*
|
|
325
327
|
* Description : values of the Select filter
|
|
326
328
|
*/
|
|
327
|
-
|
|
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?: (
|
|
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
|
*
|