adding property externalApi on dynaforms

This commit is contained in:
Fernando Ontiveros
2025-09-12 09:16:50 -04:00
parent 41688a5f45
commit 9cb66f4a4e

View File

@@ -90904,6 +90904,12 @@ FormDesigner.leftPad = function (string, length, fill) {
type: "textarea", type: "textarea",
placeholder: "payload".translate() placeholder: "payload".translate()
}; };
this.externalApi = {
label: "External API configuration".translate(),
value: "",
type: "textarea",
placeholder: "payload".translate()
};
this.dependsOn = { this.dependsOn = {
label: "dependsOn".translate(), label: "dependsOn".translate(),
value: "", value: "",
@@ -91274,7 +91280,7 @@ FormDesigner.leftPad = function (string, length, fill) {
if (type === FormDesigner.main.TypesControl.text) { if (type === FormDesigner.main.TypesControl.text) {
this.pf = ["type", "variable", "var_uid", "dataType", "protectedValue", "id", "name", "label", "tabIndex", this.pf = ["type", "variable", "var_uid", "dataType", "protectedValue", "id", "name", "label", "tabIndex",
"defaultValue", "placeholder", "hint", "ariaLabel", "required", "requiredFieldErrorMessage", "textTransform", "defaultValue", "placeholder", "hint", "ariaLabel", "required", "requiredFieldErrorMessage", "textTransform",
"validate", "validateMessage", "maxLength", "formula", "dependsOn", "loadDropdownOptions", "mode", "operation", "dbConnection", "validate", "validateMessage", "maxLength", "formula", "dependsOn", "loadDropdownOptions", "externalApi", "mode", "operation", "dbConnection",
"dbConnectionLabel", "sql", "memoryCache"]; "dbConnectionLabel", "sql", "memoryCache"];
if (this.owner instanceof FormDesigner.main.FormItem) { if (this.owner instanceof FormDesigner.main.FormItem) {
this.operation.type = "hidden"; this.operation.type = "hidden";
@@ -91297,7 +91303,7 @@ FormDesigner.leftPad = function (string, length, fill) {
} }
if (type === FormDesigner.main.TypesControl.dropdown) { if (type === FormDesigner.main.TypesControl.dropdown) {
this.pf = ["type", "variable", "var_uid", "dataType", "protectedValue", "id", "name", "label", "tabIndex", this.pf = ["type", "variable", "var_uid", "dataType", "protectedValue", "id", "name", "label", "tabIndex",
"defaultValue", "placeholder", "hint", "ariaLabel", "required", "requiredFieldErrorMessage", "dependsOn", "loadDropdownOptions", "mode", "datasource", "defaultValue", "placeholder", "hint", "ariaLabel", "required", "requiredFieldErrorMessage", "dependsOn", "loadDropdownOptions", "externalApi", "mode", "datasource",
"dbConnection", "dbConnectionLabel", "sql", "memoryCache", "dataVariable", "options"]; "dbConnection", "dbConnectionLabel", "sql", "memoryCache", "dataVariable", "options"];
if (this.owner instanceof FormDesigner.main.GridItem) { if (this.owner instanceof FormDesigner.main.GridItem) {
this.pf.push("columnWidth"); this.pf.push("columnWidth");
@@ -91352,7 +91358,7 @@ FormDesigner.leftPad = function (string, length, fill) {
} }
if (type === FormDesigner.main.TypesControl.suggest) { if (type === FormDesigner.main.TypesControl.suggest) {
this.pf = ["type", "variable", "var_uid", "dataType", "protectedValue", "id", "name", "label", "tabIndex", this.pf = ["type", "variable", "var_uid", "dataType", "protectedValue", "id", "name", "label", "tabIndex",
"defaultValue", "placeholder", "hint", "ariaLabel", "required", "requiredFieldErrorMessage", "dependsOn", "loadDropdownOptions", "mode", "datasource", "defaultValue", "placeholder", "hint", "ariaLabel", "required", "requiredFieldErrorMessage", "dependsOn", "loadDropdownOptions", "externalApi", "mode", "datasource",
"dbConnection", "dbConnectionLabel", "sql", "memoryCache", "dataVariable", "options", "delay", "resultsLimit", "dbConnection", "dbConnectionLabel", "sql", "memoryCache", "dataVariable", "options", "delay", "resultsLimit",
"forceSelection"]; "forceSelection"];
if (this.owner instanceof FormDesigner.main.GridItem) { if (this.owner instanceof FormDesigner.main.GridItem) {