@integry/sdk 4.7.58 → 4.7.59
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/esm/index.csm.d.ts +24 -0
- package/dist/esm/index.csm.js +1 -1
- package/dist/umd/index.umd.d.ts +24 -0
- package/dist/umd/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/esm/index.csm.d.ts
CHANGED
|
@@ -763,6 +763,30 @@ declare class IntegryJS {
|
|
|
763
763
|
containerId: string;
|
|
764
764
|
multipurposeFieldProps: MultipurposeFieldType;
|
|
765
765
|
}) => void;
|
|
766
|
+
/**
|
|
767
|
+
* Render any supported form fields
|
|
768
|
+
*
|
|
769
|
+
* Example of a field object:
|
|
770
|
+
* {
|
|
771
|
+
* meta: {
|
|
772
|
+
* title: 'Email',
|
|
773
|
+
* description_for_users: 'User email',
|
|
774
|
+
* is_required: true,
|
|
775
|
+
* machine_name: 'email',
|
|
776
|
+
* ui: { placeholder: 'Enter email', ui_field: { type: 'TEXTFIELD' } }
|
|
777
|
+
* },
|
|
778
|
+
* type: 'string'
|
|
779
|
+
* }
|
|
780
|
+
*/
|
|
781
|
+
renderFormField: (containerId: string, fields: any[], options?: {
|
|
782
|
+
values?: Record<string, any> | undefined;
|
|
783
|
+
onChange?: ((id: string, val: any) => void) | undefined;
|
|
784
|
+
variables?: any;
|
|
785
|
+
tagsTree?: any;
|
|
786
|
+
connectedAccountId?: string | undefined;
|
|
787
|
+
isReadOnly?: boolean | undefined;
|
|
788
|
+
hideMappingMenu?: boolean | undefined;
|
|
789
|
+
}) => void;
|
|
766
790
|
renderFunctionField: (containerId: string, functionFieldProps: FunctionFieldType) => void;
|
|
767
791
|
renderAppAuthorizations: (options?: RenderAppAuthrozationsOptions) => Promise<void>;
|
|
768
792
|
renderFlowStep: (options?: RenderFlowStepOptions) => void;
|