@charlesgomes/leafcode-shared-lib-react 1.0.53 → 1.0.54

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 CHANGED
@@ -95,7 +95,7 @@ type TableState = {
95
95
  filter?: string;
96
96
  };
97
97
 
98
- declare function DataTableAdvancedFilter<T extends object>({ queryKey, mutationFn, columns, initFilters, onNew, onEdit, onDelete, customActions, customActionsColums, disablePagination, sortFieldInitial, sortOrderInitial, isMultiSelectionMode, isLanguagePtBr, }: IDataTableProps<T>): react_jsx_runtime.JSX.Element;
98
+ declare function DataTableAdvancedFilter<T extends object>({ queryKey, mutationFn, columns, initFilters, onNew, onEdit, onDelete, customActions, customActionsColums, disablePagination, sortFieldInitial, sortOrderInitial, isMultiSelectionMode, isLanguagePtBr, state, onStateChange, }: IDataTableProps<T>): react_jsx_runtime.JSX.Element;
99
99
 
100
100
  interface IItemProps {
101
101
  value: string;
package/dist/index.d.ts CHANGED
@@ -95,7 +95,7 @@ type TableState = {
95
95
  filter?: string;
96
96
  };
97
97
 
98
- declare function DataTableAdvancedFilter<T extends object>({ queryKey, mutationFn, columns, initFilters, onNew, onEdit, onDelete, customActions, customActionsColums, disablePagination, sortFieldInitial, sortOrderInitial, isMultiSelectionMode, isLanguagePtBr, }: IDataTableProps<T>): react_jsx_runtime.JSX.Element;
98
+ declare function DataTableAdvancedFilter<T extends object>({ queryKey, mutationFn, columns, initFilters, onNew, onEdit, onDelete, customActions, customActionsColums, disablePagination, sortFieldInitial, sortOrderInitial, isMultiSelectionMode, isLanguagePtBr, state, onStateChange, }: IDataTableProps<T>): react_jsx_runtime.JSX.Element;
99
99
 
100
100
  interface IItemProps {
101
101
  value: string;
package/dist/index.js CHANGED
@@ -982,7 +982,9 @@ function DataTableAdvancedFilter({
982
982
  sortFieldInitial,
983
983
  sortOrderInitial = 1,
984
984
  isMultiSelectionMode = true,
985
- isLanguagePtBr = true
985
+ isLanguagePtBr = true,
986
+ state,
987
+ onStateChange
986
988
  }) {
987
989
  const [isClient, setIsClient] = (0, import_react8.useState)(false);
988
990
  (0, import_react8.useEffect)(() => {
@@ -1014,7 +1016,9 @@ function DataTableAdvancedFilter({
1014
1016
  sortFieldInitial,
1015
1017
  sortOrderInitial,
1016
1018
  isMultiSelectionMode,
1017
- isLanguagePtBr
1019
+ isLanguagePtBr,
1020
+ state,
1021
+ onStateChange
1018
1022
  }
1019
1023
  )
1020
1024
  }
package/dist/index.mjs CHANGED
@@ -927,7 +927,9 @@ function DataTableAdvancedFilter({
927
927
  sortFieldInitial,
928
928
  sortOrderInitial = 1,
929
929
  isMultiSelectionMode = true,
930
- isLanguagePtBr = true
930
+ isLanguagePtBr = true,
931
+ state,
932
+ onStateChange
931
933
  }) {
932
934
  const [isClient, setIsClient] = useState3(false);
933
935
  useEffect4(() => {
@@ -959,7 +961,9 @@ function DataTableAdvancedFilter({
959
961
  sortFieldInitial,
960
962
  sortOrderInitial,
961
963
  isMultiSelectionMode,
962
- isLanguagePtBr
964
+ isLanguagePtBr,
965
+ state,
966
+ onStateChange
963
967
  }
964
968
  )
965
969
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@charlesgomes/leafcode-shared-lib-react",
3
- "version": "1.0.53",
3
+ "version": "1.0.54",
4
4
  "description": "Lib de componentes react",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",