@knovator/pagecreator-admin 1.3.2 → 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 +0 -1
- package/index.js +0 -1
- package/package.json +1 -1
- package/src/lib/types/components.d.ts +2 -2
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
|
@@ -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>;
|