SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.
JavaScript a2aagentic-aiai-agentsdevtoolsmcp-clientn8n-alternativeno-codeopen-sourceorchestrationsmythosvisual-builder
import { Component } from './Component.class';
declare var Metro;
export class LogicOR extends Component {
protected async init() {
// #region [ Settings config ] ==================
this.settings = {};
const dataEntries = [];
for (let item of dataEntries) {
if (typeof this.data[item] === 'undefined') this.data[item] = this.settings[item].value;
}
// #endregion
// #region [ I/O config ] ==================
this.properties.defaultOutputs = ['Verified', 'Unverified'];
this.properties.defaultInputs = [];
// #endregion
// #region [ Draw config ] ==================
this.drawSettings.showSettings = false;
this.drawSettings.cssClass = 'logic-component';
this.drawSettings.iconCSSClass = 'svg-icon ' + this.constructor.name;
this.drawSettings.displayName = 'OR';
this.drawSettings.color = '#333';
this.drawSettings.addOutputButton = null;
this.drawSettings.addOutputButtonLabel = ' ';
this.drawSettings.addInputButton = 'Input';
this.drawSettings.componentDescription =
'Set the output to true if one or more inputs are set, otherwise the output is not set';
// #endregion
}
}