@integry/sdk 4.6.30 → 4.6.32
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/.vscode/launch.json +1 -1
- package/dist/esm/index.csm.js +1 -1
- package/dist/umd/index.umd.js +1 -1
- package/package.json +1 -1
- package/src/components/form/ObjectField/index.ts +6 -0
- package/src/features/common/Steps/index.ts +2 -1
- package/src/features/containers/FlowSetupContainer/index.ts +1 -0
package/package.json
CHANGED
|
@@ -48,6 +48,8 @@ interface FieldDetails {
|
|
|
48
48
|
options?: Option[];
|
|
49
49
|
data_source?: any; // If needed, define this more specifically
|
|
50
50
|
endpointURL?: string; // Add endpointURL here
|
|
51
|
+
option_key_path?: string;
|
|
52
|
+
value_key_path?: string;
|
|
51
53
|
};
|
|
52
54
|
};
|
|
53
55
|
};
|
|
@@ -413,6 +415,10 @@ const ObjectField = (props: ObjectFieldProps) => {
|
|
|
413
415
|
fieldDetails.meta.ui.ui_field?.type || 'DYNAMIC_DROPDOWN',
|
|
414
416
|
fieldDetails.meta.machine_name,
|
|
415
417
|
)}
|
|
418
|
+
optionKeyPath=${fieldDetails.meta.ui.ui_field?.value_key_path ||
|
|
419
|
+
''}
|
|
420
|
+
valueKeyPath=${fieldDetails.meta.ui.ui_field?.option_key_path ||
|
|
421
|
+
''}
|
|
416
422
|
/>
|
|
417
423
|
`}
|
|
418
424
|
${fieldType === 'STATIC_DROPDOWN' &&
|
|
@@ -40,6 +40,7 @@ export type StepsPropsType = {
|
|
|
40
40
|
deploymentId?: number | string;
|
|
41
41
|
isInModal?: boolean;
|
|
42
42
|
stepContainerStyle?: string;
|
|
43
|
+
flowType?: string;
|
|
43
44
|
} & StoreType;
|
|
44
45
|
|
|
45
46
|
type Parameter = {
|
|
@@ -318,7 +319,7 @@ class Steps extends Component<
|
|
|
318
319
|
tempPostSaveData = parsedData;
|
|
319
320
|
}
|
|
320
321
|
} else {
|
|
321
|
-
tempPostSave =
|
|
322
|
+
tempPostSave = this.props?.flowType !== 'ON_DEMAND';
|
|
322
323
|
tempSendWebhookURLInEvent = true;
|
|
323
324
|
tempPostSaveData = parsedData;
|
|
324
325
|
}
|
|
@@ -370,6 +370,7 @@ const FlowSetupContainer = (props: FlowSetupContainerProps) => {
|
|
|
370
370
|
deploymentId=${deploymentId || props.genericData.deploymentId}
|
|
371
371
|
isInModal=${isInModal}
|
|
372
372
|
stepContainerStyle=${stepContainerStyle}
|
|
373
|
+
flowType=${templateData.execution_type}
|
|
373
374
|
><//>
|
|
374
375
|
`}
|
|
375
376
|
</div>
|