@knovator/pagecreator-admin 1.5.2 → 1.5.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 +667 -1305
- package/index.css +1 -1
- package/index.js +667 -1305
- package/package.json +1 -1
- package/src/lib/components/common/DNDItemsList/DNDItemsList.d.ts +1 -1
- package/src/lib/types/components.d.ts +2 -3
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { DNDItemsListProps } from '../../../types';
|
|
3
|
-
declare const DNDItemsList: ({ onDragEnd, items, formatItem, listCode, onFilterClick, disableSettings,
|
|
3
|
+
declare const DNDItemsList: ({ onDragEnd, items, formatItem, listCode, onFilterClick, disableSettings, }: DNDItemsListProps) => JSX.Element;
|
|
4
4
|
export default DNDItemsList;
|
|
@@ -10,7 +10,6 @@ export interface DNDItemsListProps {
|
|
|
10
10
|
formatItem?: (code: string, data: any) => JSX.Element;
|
|
11
11
|
onFilterClick?: (item?: any) => void;
|
|
12
12
|
disableSettings?: boolean;
|
|
13
|
-
filterQuery?: string;
|
|
14
13
|
}
|
|
15
14
|
export interface DrawerProps {
|
|
16
15
|
children?: React.ReactNode;
|
|
@@ -127,7 +126,7 @@ export interface ReactSelectProps {
|
|
|
127
126
|
listCode?: string;
|
|
128
127
|
wrapperClassName?: string;
|
|
129
128
|
customStyles?: any;
|
|
130
|
-
loadOptions?: (value?: string, callback?: (options: OptionType[]) => void) => Promise<OptionType[]
|
|
129
|
+
loadOptions?: (value?: string, callback?: (options: OptionType[]) => void, collectionName?: string) => Promise<OptionType[]> | void;
|
|
131
130
|
selectKey?: string;
|
|
132
131
|
}
|
|
133
132
|
export interface CustomInputType {
|
|
@@ -350,7 +349,7 @@ export interface TabsProps {
|
|
|
350
349
|
getValues: UseFormGetValues<FieldValues>;
|
|
351
350
|
setValue: UseFormSetValue<FieldValues>;
|
|
352
351
|
languages?: LanguageType[];
|
|
353
|
-
loadOptions?: (value?: string, callback?: (options: OptionType[]) => void) => Promise<OptionType[]
|
|
352
|
+
loadOptions?: (value?: string, callback?: (options: OptionType[]) => void, collectionName?: string) => Promise<OptionType[]> | void;
|
|
354
353
|
}
|
|
355
354
|
export interface ImageUploadProps {
|
|
356
355
|
className?: string;
|