@cfinnestad/react-form-builder 1.0.35 → 1.0.37
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/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Items/Items.d.ts +3 -1
- package/dist/esm/index.js +8 -8
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Items/Items.d.ts +3 -1
- package/dist/index.d.ts +4 -2
- package/package.json +1 -1
|
@@ -136,6 +136,7 @@ export type ListItem = BaseItem & {
|
|
|
136
136
|
minListSize: number;
|
|
137
137
|
maxListSize: number;
|
|
138
138
|
baseItem: InListItem;
|
|
139
|
+
errorText?: string;
|
|
139
140
|
};
|
|
140
141
|
export type GroupItem = NamedItem & {
|
|
141
142
|
type: 'Group';
|
|
@@ -442,4 +443,5 @@ export declare function isNamed(item: AnyItem): item is NamedItem;
|
|
|
442
443
|
export declare function isList(item: AnyItem): item is ListItem;
|
|
443
444
|
export declare function isListItem(item: AnyItem): item is InListItem;
|
|
444
445
|
export declare function hasFiles(items: AnyItem[], allItems?: AnyItem[]): boolean;
|
|
445
|
-
export declare function
|
|
446
|
+
export declare function itemsCloneDeep(items: AnyItem[]): AnyItem[];
|
|
447
|
+
export declare function itemCloneDeep(item: AnyItem): AnyItem;
|