+
+
+ {inputParam.label}
+ {!inputParam.optional && *}
+ {inputParam.description && (
+
+ )}
+
+
+ {providerExpanded[provider.name] && inputParam.type === 'credential' && (
+ setValue(newValue, provider.name, 'credentialId')}
+ />
+ )}
+ {providerExpanded[provider.name] && inputParam.type === 'boolean' && (
+ setValue(newValue, provider.name, inputParam.name)}
+ value={
+ analytic[provider.name]
+ ? analytic[provider.name][inputParam.name]
+ : inputParam.default ?? false
+ }
+ />
+ )}
+ {providerExpanded[provider.name] &&
+ (inputParam.type === 'string' ||
+ inputParam.type === 'password' ||
+ inputParam.type === 'number') && (
+ setValue(newValue, provider.name, inputParam.name)}
+ value={
+ analytic[provider.name]
+ ? analytic[provider.name][inputParam.name]
+ : inputParam.default ?? ''
+ }
+ />
+ )}
+
+ ))}
+