@charlesgomes/leafcode-shared-lib-react 1.0.26 → 1.0.27
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/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -62,6 +62,7 @@ interface PaginatedResponse<T> {
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
interface ColumnCustom<T> {
|
|
65
|
+
filterId?: string;
|
|
65
66
|
field: keyof T | "acoes" | "actions" | string;
|
|
66
67
|
header: string;
|
|
67
68
|
enableSorting?: boolean;
|
|
@@ -75,6 +76,7 @@ interface ColumnCustom<T> {
|
|
|
75
76
|
}[];
|
|
76
77
|
body?: (rowData: T) => ReactNode;
|
|
77
78
|
enableResizeable?: boolean;
|
|
79
|
+
hidden?:boolean;
|
|
78
80
|
enableFilter?: boolean;
|
|
79
81
|
mask?: (value: any) => any;
|
|
80
82
|
filterClear?: () => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -62,6 +62,7 @@ interface PaginatedResponse<T> {
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
interface ColumnCustom<T> {
|
|
65
|
+
filterId?: string;
|
|
65
66
|
field: keyof T | "acoes" | "actions" | string;
|
|
66
67
|
header: string;
|
|
67
68
|
enableSorting?: boolean;
|
|
@@ -75,6 +76,7 @@ interface ColumnCustom<T> {
|
|
|
75
76
|
}[];
|
|
76
77
|
body?: (rowData: T) => ReactNode;
|
|
77
78
|
enableResizeable?: boolean;
|
|
79
|
+
hidden?:boolean;
|
|
78
80
|
enableFilter?: boolean;
|
|
79
81
|
mask?: (value: any) => any;
|
|
80
82
|
filterClear?: () => void;
|
package/dist/index.js
CHANGED
|
@@ -465,6 +465,7 @@ function DynamicColumns({
|
|
|
465
465
|
frozen: col.frozen,
|
|
466
466
|
alignFrozen: col.alignFrozen,
|
|
467
467
|
dataType: col.dataType,
|
|
468
|
+
hidden: col.hidden,
|
|
468
469
|
filterElement: col.filterElement ? (options) => col.filterElement?.(options, col.mask) ?? void 0 : void 0,
|
|
469
470
|
filterMatchModeOptions: col.filterMatchModeOptions,
|
|
470
471
|
filterPlaceholder: !isActionsCol ? placeholder : void 0,
|
package/dist/index.mjs
CHANGED
|
@@ -416,6 +416,7 @@ function DynamicColumns({
|
|
|
416
416
|
frozen: col.frozen,
|
|
417
417
|
alignFrozen: col.alignFrozen,
|
|
418
418
|
dataType: col.dataType,
|
|
419
|
+
hidden: col.hidden,
|
|
419
420
|
filterElement: col.filterElement ? (options) => col.filterElement?.(options, col.mask) ?? void 0 : void 0,
|
|
420
421
|
filterMatchModeOptions: col.filterMatchModeOptions,
|
|
421
422
|
filterPlaceholder: !isActionsCol ? placeholder : void 0,
|