@evoke-platform/ui-components 1.10.0-testing.11 → 1.10.0-testing.13
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/published/components/custom/FormV2/FormRenderer.d.ts +2 -1
- package/dist/published/components/custom/FormV2/FormRenderer.js +3 -1
- package/dist/published/components/custom/FormV2/FormRendererContainer.js +82 -13
- package/dist/published/components/custom/FormV2/components/Footer.d.ts +1 -0
- package/dist/published/components/custom/FormV2/components/Footer.js +3 -3
- package/dist/published/components/custom/FormV2/components/FormContext.d.ts +2 -1
- package/dist/published/components/custom/FormV2/components/FormFieldTypes/AddressFields.js +30 -13
- package/dist/published/components/custom/FormV2/components/FormFieldTypes/Criteria.js +16 -3
- package/dist/published/components/custom/FormV2/components/FormFieldTypes/DocumentFiles/Document.js +16 -4
- package/dist/published/components/custom/FormV2/components/FormFieldTypes/DocumentFiles/DocumentList.d.ts +1 -0
- package/dist/published/components/custom/FormV2/components/FormFieldTypes/DocumentFiles/DocumentList.js +16 -3
- package/dist/published/components/custom/FormV2/components/FormFieldTypes/Image.js +31 -5
- package/dist/published/components/custom/FormV2/components/FormFieldTypes/UserProperty.js +15 -3
- package/dist/published/components/custom/FormV2/components/FormFieldTypes/relatedObjectFiles/ObjectPropertyInput.js +70 -18
- package/dist/published/components/custom/FormV2/components/FormFieldTypes/relatedObjectFiles/RelatedObjectInstance.js +37 -15
- package/dist/published/components/custom/FormV2/components/Header.d.ts +1 -0
- package/dist/published/components/custom/FormV2/components/Header.js +44 -6
- package/dist/published/components/custom/FormV2/components/RecursiveEntryRenderer.js +12 -3
- package/dist/published/components/custom/FormV2/components/utils.js +2 -0
- package/dist/published/components/custom/FormV2/tests/FormRendererContainer.test.js +449 -1
- package/dist/published/components/custom/FormV2/tests/test-data.d.ts +1 -0
- package/dist/published/components/custom/FormV2/tests/test-data.js +138 -0
- package/dist/published/stories/FormRenderer.stories.d.ts +8 -4
- package/dist/published/theme/hooks.d.ts +4 -3
- package/package.json +1 -1
|
@@ -147,14 +147,15 @@ export declare function useFormContext(): {
|
|
|
147
147
|
setExpandedSections?: import("react").Dispatch<import("react").SetStateAction<import("../components/custom/FormV2/components/types").ExpandedSection[]>> | undefined;
|
|
148
148
|
setExpandAll?: import("react").Dispatch<import("react").SetStateAction<boolean | null | undefined>> | undefined;
|
|
149
149
|
parameters?: import("@evoke-platform/context").InputParameter[] | undefined;
|
|
150
|
-
handleChange: (name: string, value: unknown) => void
|
|
150
|
+
handleChange: (name: string, value: unknown) => void | Promise<void>;
|
|
151
|
+
onAutosave?: ((fieldId: string) => void | Promise<void>) | undefined;
|
|
151
152
|
fieldHeight?: "medium" | "small" | undefined;
|
|
152
153
|
triggerFieldReset?: boolean | undefined;
|
|
153
154
|
showSubmitError?: boolean | undefined;
|
|
154
155
|
associatedObject?: {
|
|
155
156
|
instanceId?: string | undefined;
|
|
156
|
-
propertyId?: string | undefined;
|
|
157
|
-
} | undefined;
|
|
157
|
+
propertyId?: string | undefined; /** Extra large screens (1536px and up) */
|
|
158
|
+
} | undefined; /** Extra large screens (1536px and up) */
|
|
158
159
|
form?: import("@evoke-platform/context").EvokeForm | undefined;
|
|
159
160
|
width: number;
|
|
160
161
|
};
|