impaktapps-ui-builder 0.0.101-alpha.18 → 0.0.101-alpha.19
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.
|
@@ -9560,8 +9560,8 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
9560
9560
|
const schema2 = _.cloneDeep(EventSchema);
|
|
9561
9561
|
if (handlerType) {
|
|
9562
9562
|
if (handlerType === "custom") {
|
|
9563
|
-
uiSchema.elements[
|
|
9564
|
-
uiSchema.elements[
|
|
9563
|
+
uiSchema.elements[0].elements[0].elements[2] = getRadioInputField("isSync", "Run in Sync", ["Yes", "No"]);
|
|
9564
|
+
uiSchema.elements[0].elements[0].elements[3] = {
|
|
9565
9565
|
type: "Control",
|
|
9566
9566
|
scope: "#/properties/emptyBox",
|
|
9567
9567
|
options: {
|
|
@@ -9573,15 +9573,15 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
9573
9573
|
style: {}
|
|
9574
9574
|
}
|
|
9575
9575
|
};
|
|
9576
|
-
uiSchema.elements[
|
|
9576
|
+
uiSchema.elements[0].elements[0].elements[4] = getTextArea("eventCode", "Write Custom Code", false);
|
|
9577
9577
|
schema2.required = ["eventType", "Handler", "eventCode"];
|
|
9578
9578
|
} else if (handlerType === "api") {
|
|
9579
|
-
uiSchema.elements[
|
|
9580
|
-
uiSchema.elements[
|
|
9579
|
+
uiSchema.elements[0].elements[0].elements[2] = emptyBox;
|
|
9580
|
+
uiSchema.elements[0].elements[0].elements[3] = APISection;
|
|
9581
9581
|
schema2.required = ["eventType", "Handler", "method", "path"];
|
|
9582
9582
|
} else if (handlerType === "inBuiltFunction") {
|
|
9583
|
-
uiSchema.elements[
|
|
9584
|
-
uiSchema.elements[
|
|
9583
|
+
uiSchema.elements[0].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
|
|
9584
|
+
uiSchema.elements[0].elements[0].elements[3] = {
|
|
9585
9585
|
type: "Control",
|
|
9586
9586
|
scope: "#/properties/emptyBox",
|
|
9587
9587
|
options: {
|
|
@@ -9593,11 +9593,11 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
9593
9593
|
style: {}
|
|
9594
9594
|
}
|
|
9595
9595
|
};
|
|
9596
|
-
uiSchema.elements[
|
|
9596
|
+
uiSchema.elements[0].elements[0].elements[4] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
|
|
9597
9597
|
schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
|
|
9598
9598
|
} else if (handlerType === "refresh") {
|
|
9599
|
-
uiSchema.elements[
|
|
9600
|
-
uiSchema.elements[
|
|
9599
|
+
uiSchema.elements[0].elements[0].elements[2] = emptyBox;
|
|
9600
|
+
uiSchema.elements[0].elements[0].elements[3] = refreshSectionUiSchema;
|
|
9601
9601
|
schema2.properties.refreshElements.required = ["value"];
|
|
9602
9602
|
schema2.properties.refreshElements.items.required = ["value"];
|
|
9603
9603
|
schema2.required = ["eventType", "Handler", "refreshElements"];
|