impaktapps-ui-builder 0.0.101-alpha.21 → 0.0.101-alpha.23
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/dist/impaktapps-ui-builder.es.js +14 -17
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +1 -1
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +0 -3
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +10 -3
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +1 -4
- package/src/impaktapps-ui-builder/builder/services/event.ts +3 -4
|
@@ -7576,9 +7576,6 @@ const getTextArea = (scope, heading, hideButton, layout) => {
|
|
|
7576
7576
|
},
|
|
7577
7577
|
config: {
|
|
7578
7578
|
layout: layout || 12,
|
|
7579
|
-
style: {
|
|
7580
|
-
"& .MuiFormLabel-root:not(.MuiInputLabel-shrink)": {}
|
|
7581
|
-
},
|
|
7582
7579
|
main: {
|
|
7583
7580
|
label: heading,
|
|
7584
7581
|
minRows: 8,
|
|
@@ -9546,18 +9543,6 @@ const refreshSectionUiSchema = {
|
|
|
9546
9543
|
}
|
|
9547
9544
|
]
|
|
9548
9545
|
};
|
|
9549
|
-
var emptyBox = {
|
|
9550
|
-
type: "Control",
|
|
9551
|
-
scope: "#/properties/emptyBox",
|
|
9552
|
-
options: {
|
|
9553
|
-
widget: "EmptyBox"
|
|
9554
|
-
},
|
|
9555
|
-
config: {
|
|
9556
|
-
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
9557
|
-
main: {},
|
|
9558
|
-
style: {}
|
|
9559
|
-
}
|
|
9560
|
-
};
|
|
9561
9546
|
var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
9562
9547
|
return {
|
|
9563
9548
|
setPage: async function() {
|
|
@@ -9588,7 +9573,7 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
9588
9573
|
uiSchema.elements[0].elements[0].elements[4] = getTextArea("eventCode", "Write Custom Code", false);
|
|
9589
9574
|
schema2.required = ["eventType", "Handler", "eventCode"];
|
|
9590
9575
|
} else if (handlerType === "api") {
|
|
9591
|
-
uiSchema.elements[0].elements[0].elements[2] = emptyBox;
|
|
9576
|
+
uiSchema.elements[0].elements[0].elements[2] = emptyBox$1("emptyBox", { xs: 6, sm: 6, md: 0, lg: 3 });
|
|
9592
9577
|
uiSchema.elements[0].elements[0].elements[3] = APISection;
|
|
9593
9578
|
schema2.required = ["eventType", "Handler", "method", "path"];
|
|
9594
9579
|
} else if (handlerType === "inBuiltFunction") {
|
|
@@ -9608,7 +9593,7 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
9608
9593
|
uiSchema.elements[0].elements[0].elements[4] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
|
|
9609
9594
|
schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
|
|
9610
9595
|
} else if (handlerType === "refresh") {
|
|
9611
|
-
uiSchema.elements[0].elements[0].elements[2] = emptyBox;
|
|
9596
|
+
uiSchema.elements[0].elements[0].elements[2] = emptyBox$1("emptyBox", { xs: 6, sm: 6, md: 0, lg: 3 });
|
|
9612
9597
|
uiSchema.elements[0].elements[0].elements[3] = refreshSectionUiSchema;
|
|
9613
9598
|
schema2.properties.refreshElements.required = ["value"];
|
|
9614
9599
|
schema2.properties.refreshElements.items.required = ["value"];
|
|
@@ -11665,6 +11650,18 @@ const buildRadio = (config2, componentScope2) => {
|
|
|
11665
11650
|
}
|
|
11666
11651
|
return Radio;
|
|
11667
11652
|
};
|
|
11653
|
+
var emptyBox = {
|
|
11654
|
+
type: "Control",
|
|
11655
|
+
scope: "#/properties/emptyBox",
|
|
11656
|
+
options: {
|
|
11657
|
+
widget: "EmptyBox"
|
|
11658
|
+
},
|
|
11659
|
+
config: {
|
|
11660
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
11661
|
+
main: {},
|
|
11662
|
+
style: {}
|
|
11663
|
+
}
|
|
11664
|
+
};
|
|
11668
11665
|
const buildEmptyBox = (config2, componentScope2) => {
|
|
11669
11666
|
const EmptyBox = _.cloneDeep(emptyBox);
|
|
11670
11667
|
if (config2.layout) {
|