@fctc/sme-widget-ui 2.8.5 → 2.8.6
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/widgets.d.mts +4 -32
- package/dist/widgets.d.ts +4 -32
- package/package.json +1 -1
package/dist/widgets.d.mts
CHANGED
|
@@ -397,46 +397,18 @@ interface IStatusDropdownFieldProps extends IInputFieldProps {
|
|
|
397
397
|
|
|
398
398
|
declare const StatusDropdownField: (props: IStatusDropdownFieldProps) => JSX.Element;
|
|
399
399
|
|
|
400
|
-
interface SearchController {
|
|
401
|
-
groupBy?: string[] | null;
|
|
402
|
-
searchBy?: string[] | null;
|
|
403
|
-
filterBy?: Record<string, any>[] | null;
|
|
404
|
-
selectedTags?: string[] | null;
|
|
405
|
-
searchString?: string;
|
|
406
|
-
setFilterBy?: Dispatch<SetStateAction<Record<string, any>[] | null>>;
|
|
407
|
-
setGroupBy?: Dispatch<SetStateAction<string[] | null>>;
|
|
408
|
-
setSearchBy?: Dispatch<SetStateAction<string[] | null>>;
|
|
409
|
-
clearSearch?: () => void;
|
|
410
|
-
setSelectedTags?: Dispatch<SetStateAction<string[] | null>>;
|
|
411
|
-
removeSearchItems?: (key: string, item: any) => void;
|
|
412
|
-
onSearchString?: (searchString: string) => void;
|
|
413
|
-
handleAddTagSearch?: (tag: string) => void;
|
|
414
|
-
domain?: any[];
|
|
415
|
-
context?: Record<string, any>;
|
|
416
|
-
}
|
|
417
400
|
interface Many2ManyProps extends IInputFieldProps {
|
|
418
401
|
aid?: number | null;
|
|
419
402
|
title?: string;
|
|
420
|
-
isDisplayCheckbox?: boolean;
|
|
421
|
-
rootField?: any;
|
|
422
|
-
onAddNew?: any;
|
|
423
|
-
onChoose?: any;
|
|
424
403
|
onClose?: any;
|
|
404
|
+
onChoose?: any;
|
|
405
|
+
onAddNew?: any;
|
|
406
|
+
isDisplayCheckbox?: boolean;
|
|
425
407
|
onAddRow?: Function;
|
|
426
|
-
onClickRow?: Function;
|
|
427
|
-
renderField?: ({ row, col, indexRow, onChangeData, rootField, }: {
|
|
428
|
-
row: any;
|
|
429
|
-
col: any;
|
|
430
|
-
indexRow: any;
|
|
431
|
-
onChangeData: any;
|
|
432
|
-
rootField: any;
|
|
433
|
-
}) => {};
|
|
434
408
|
evalJSONContext?: any;
|
|
435
|
-
searchController: SearchController;
|
|
436
|
-
tableGroupController: (props: TableGroupControllerProps) => TableGroupControllerReturn;
|
|
437
409
|
many2manyController?: any;
|
|
438
|
-
tableHeadController?: any;
|
|
439
410
|
renderTable?: any;
|
|
411
|
+
model?: any;
|
|
440
412
|
}
|
|
441
413
|
|
|
442
414
|
declare const Many2ManyField: (props: Many2ManyProps) => React$1.ReactPortal;
|
package/dist/widgets.d.ts
CHANGED
|
@@ -397,46 +397,18 @@ interface IStatusDropdownFieldProps extends IInputFieldProps {
|
|
|
397
397
|
|
|
398
398
|
declare const StatusDropdownField: (props: IStatusDropdownFieldProps) => JSX.Element;
|
|
399
399
|
|
|
400
|
-
interface SearchController {
|
|
401
|
-
groupBy?: string[] | null;
|
|
402
|
-
searchBy?: string[] | null;
|
|
403
|
-
filterBy?: Record<string, any>[] | null;
|
|
404
|
-
selectedTags?: string[] | null;
|
|
405
|
-
searchString?: string;
|
|
406
|
-
setFilterBy?: Dispatch<SetStateAction<Record<string, any>[] | null>>;
|
|
407
|
-
setGroupBy?: Dispatch<SetStateAction<string[] | null>>;
|
|
408
|
-
setSearchBy?: Dispatch<SetStateAction<string[] | null>>;
|
|
409
|
-
clearSearch?: () => void;
|
|
410
|
-
setSelectedTags?: Dispatch<SetStateAction<string[] | null>>;
|
|
411
|
-
removeSearchItems?: (key: string, item: any) => void;
|
|
412
|
-
onSearchString?: (searchString: string) => void;
|
|
413
|
-
handleAddTagSearch?: (tag: string) => void;
|
|
414
|
-
domain?: any[];
|
|
415
|
-
context?: Record<string, any>;
|
|
416
|
-
}
|
|
417
400
|
interface Many2ManyProps extends IInputFieldProps {
|
|
418
401
|
aid?: number | null;
|
|
419
402
|
title?: string;
|
|
420
|
-
isDisplayCheckbox?: boolean;
|
|
421
|
-
rootField?: any;
|
|
422
|
-
onAddNew?: any;
|
|
423
|
-
onChoose?: any;
|
|
424
403
|
onClose?: any;
|
|
404
|
+
onChoose?: any;
|
|
405
|
+
onAddNew?: any;
|
|
406
|
+
isDisplayCheckbox?: boolean;
|
|
425
407
|
onAddRow?: Function;
|
|
426
|
-
onClickRow?: Function;
|
|
427
|
-
renderField?: ({ row, col, indexRow, onChangeData, rootField, }: {
|
|
428
|
-
row: any;
|
|
429
|
-
col: any;
|
|
430
|
-
indexRow: any;
|
|
431
|
-
onChangeData: any;
|
|
432
|
-
rootField: any;
|
|
433
|
-
}) => {};
|
|
434
408
|
evalJSONContext?: any;
|
|
435
|
-
searchController: SearchController;
|
|
436
|
-
tableGroupController: (props: TableGroupControllerProps) => TableGroupControllerReturn;
|
|
437
409
|
many2manyController?: any;
|
|
438
|
-
tableHeadController?: any;
|
|
439
410
|
renderTable?: any;
|
|
411
|
+
model?: any;
|
|
440
412
|
}
|
|
441
413
|
|
|
442
414
|
declare const Many2ManyField: (props: Many2ManyProps) => React$1.ReactPortal;
|