@knovator/pagecreator-admin 1.3.3 → 1.3.4

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/index.cjs CHANGED
@@ -4025,7 +4025,6 @@ const DNDItemsList = ({
4025
4025
  onFilterClick
4026
4026
  }) => {
4027
4027
  const shouldShowSettings = item => {
4028
- console.log('item:', item);
4029
4028
  return item.code === 'BROWSE_JOBS' || item.value === 'BROWSE_JOBS';
4030
4029
  };
4031
4030
  return /*#__PURE__*/React__default["default"].createElement(DragDropContextWrapper, {
package/index.js CHANGED
@@ -4013,7 +4013,6 @@ const DNDItemsList = ({
4013
4013
  onFilterClick
4014
4014
  }) => {
4015
4015
  const shouldShowSettings = item => {
4016
- console.log('item:', item);
4017
4016
  return item.code === 'BROWSE_JOBS' || item.value === 'BROWSE_JOBS';
4018
4017
  };
4019
4018
  return /*#__PURE__*/React.createElement(DragDropContextWrapper, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knovator/pagecreator-admin",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "dependencies": {
5
5
  "classnames": "^2.3.1",
6
6
  "react-beautiful-dnd": "^13.1.0",
@@ -8,7 +8,7 @@ export interface DNDItemsListProps {
8
8
  items: OptionType[];
9
9
  listCode?: string;
10
10
  formatItem?: (code: string, data: any) => JSX.Element;
11
- onFilterClick?: () => void;
11
+ onFilterClick?: (item: any) => void;
12
12
  }
13
13
  export interface DrawerProps {
14
14
  children?: React.ReactNode;
@@ -134,7 +134,7 @@ export interface CustomInputType {
134
134
  setError: (msg: string) => void;
135
135
  }
136
136
  export interface FormProps {
137
- onFilterClick?: () => void;
137
+ onFilterClick?: (item: any) => void;
138
138
  filterQuery?: string;
139
139
  formRef: MutableRefObject<HTMLFormElement | null>;
140
140
  customInputs?: Record<string, (props: InputRendererProps) => JSX.Element>;