impaktapps-ui-builder 1.0.307-test.1 → 1.0.307-test.2
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 +3 -4
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +8 -3
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +0 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/services/component.ts +1 -1
- package/src/impaktapps-ui-builder/builder/services/event.ts +2 -3
|
@@ -8961,7 +8961,7 @@ function refreshPage(type, store2, formdata) {
|
|
|
8961
8961
|
Validation: ValidationSection
|
|
8962
8962
|
};
|
|
8963
8963
|
const elements = (_a = sectionLabels[type]) == null ? void 0 : _a.map((e) => sectionUiSchema[e]);
|
|
8964
|
-
if (!(formdata == null ? void 0 : formdata.
|
|
8964
|
+
if (!(formdata == null ? void 0 : formdata.style)) {
|
|
8965
8965
|
store2.setFormdata((prev) => ({ ...prev, style: "{\n}" }));
|
|
8966
8966
|
}
|
|
8967
8967
|
UiSchema.elements[0].config.main.tabLabels = sectionLabels[type] || ["Core", "Style", "Events", "Validation"];
|
|
@@ -10264,7 +10264,6 @@ const refreshSectionUiSchema = {
|
|
|
10264
10264
|
}
|
|
10265
10265
|
]
|
|
10266
10266
|
};
|
|
10267
|
-
const boilerplate = "(store, dynamicData, user, body, service) => {\n}";
|
|
10268
10267
|
var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
10269
10268
|
return {
|
|
10270
10269
|
setPage: async function() {
|
|
@@ -10304,7 +10303,7 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
10304
10303
|
false
|
|
10305
10304
|
);
|
|
10306
10305
|
if (!(formdata == null ? void 0 : formdata.eventCode)) {
|
|
10307
|
-
store22.setFormdata((prev) => ({ ...prev, eventCode:
|
|
10306
|
+
store22.setFormdata((prev) => ({ ...prev, eventCode: "async (store, dynamicData, user, parentEventOutput, service) => {\n\n\n}" }));
|
|
10308
10307
|
}
|
|
10309
10308
|
schema2.required = ["eventType", "Handler", "eventCode"];
|
|
10310
10309
|
} else if (handlerType === "api") {
|
|
@@ -10316,7 +10315,7 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
10316
10315
|
});
|
|
10317
10316
|
uiSchema.elements[0].elements[0].elements[3] = APISection;
|
|
10318
10317
|
if (!(formdata == null ? void 0 : formdata.apiBody)) {
|
|
10319
|
-
store22.setFormdata((prev) => ({ ...prev, apiBody:
|
|
10318
|
+
store22.setFormdata((prev) => ({ ...prev, apiBody: "async (store, dynamicData, user, body, service) => {\n\n\n}" }));
|
|
10320
10319
|
}
|
|
10321
10320
|
schema2.required = ["eventType", "Handler", "method", "path"];
|
|
10322
10321
|
} else if (handlerType === "inBuiltFunction") {
|