@evoke-platform/ui-components 1.11.0 → 1.11.1-dev.0
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.
|
@@ -2,7 +2,7 @@ import { ActionInput, ActionInputType, ApiServices, AxiosError, FormEntry, Input
|
|
|
2
2
|
import { ReactComponent } from '@formio/react';
|
|
3
3
|
import { LocalDateTime } from '@js-joda/core';
|
|
4
4
|
import { AutocompleteOption } from '../../core';
|
|
5
|
-
import { Address,
|
|
5
|
+
import { Address, ObjectPropertyInputProps, SavedDocumentReference } from './types';
|
|
6
6
|
export declare function determineComponentType(properties: Property[], parameter?: InputParameter): ActionInputType | undefined;
|
|
7
7
|
export declare function determineParameterType(componentType: string): PropertyType;
|
|
8
8
|
export declare function getFlattenEntries(entries: FormEntry[]): InputParameterReference[];
|
|
@@ -51,6 +51,11 @@ export declare function isPropertyVisible(conditional: {
|
|
|
51
51
|
export declare function normalizeDateTime(dateTime: LocalDateTime): string;
|
|
52
52
|
export declare function normalizeDates(instances: ObjectInstance[], object?: Obj): void;
|
|
53
53
|
export declare function retrieveCustomErrorMessage(error: AxiosError<any>): string | undefined;
|
|
54
|
+
type CorruptedFile = {
|
|
55
|
+
handle: Record<string, never>;
|
|
56
|
+
path: string;
|
|
57
|
+
relativePath: string;
|
|
58
|
+
};
|
|
54
59
|
/**
|
|
55
60
|
* Determines whether a submitted value contains any corrupted file entries.
|
|
56
61
|
*
|
|
@@ -65,3 +70,4 @@ export declare function retrieveCustomErrorMessage(error: AxiosError<any>): stri
|
|
|
65
70
|
* @returns `true` if the value is an array containing at least one `CorruptedFile`, otherwise `false`.
|
|
66
71
|
*/ export declare function containsCorruptedFiles(value: (File | SavedDocumentReference | CorruptedFile)[]): boolean;
|
|
67
72
|
export declare function isCorruptedFile(file: File | SavedDocumentReference | CorruptedFile): file is CorruptedFile;
|
|
73
|
+
export {};
|