impaktapps-ui-builder 1.0.306-test.1 → 1.0.306-test.3
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 +8 -8
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +5 -5
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/services/event.ts +3 -3
|
@@ -10271,10 +10271,10 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
10271
10271
|
const schema2 = await this.getSchema();
|
|
10272
10272
|
console.log("SettingSchema>>", schema2);
|
|
10273
10273
|
store2.setSchema(schema2);
|
|
10274
|
-
this.refreshPage(formdata.Handler, store2);
|
|
10274
|
+
this.refreshPage(formdata.Handler, store2, formdata);
|
|
10275
10275
|
},
|
|
10276
|
-
refreshPage: (handlerType, store22) => {
|
|
10277
|
-
var _a, _b, _c, _d
|
|
10276
|
+
refreshPage: (handlerType, store22, formdata) => {
|
|
10277
|
+
var _a, _b, _c, _d;
|
|
10278
10278
|
const uiSchema = _.cloneDeep(EventUiSchema(store22.theme.myTheme));
|
|
10279
10279
|
const schema2 = _.cloneDeep(EventSchema);
|
|
10280
10280
|
if (handlerType) {
|
|
@@ -10302,7 +10302,7 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
10302
10302
|
false,
|
|
10303
10303
|
void 0
|
|
10304
10304
|
);
|
|
10305
|
-
if (!(
|
|
10305
|
+
if (!(formdata == null ? void 0 : formdata.eventCode)) {
|
|
10306
10306
|
store22.setFormdata((prev) => ({ ...prev, eventCode: boilerplate }));
|
|
10307
10307
|
}
|
|
10308
10308
|
schema2.required = ["eventType", "Handler", "eventCode"];
|
|
@@ -10314,7 +10314,7 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
10314
10314
|
lg: 6
|
|
10315
10315
|
});
|
|
10316
10316
|
uiSchema.elements[0].elements[0].elements[3] = APISection;
|
|
10317
|
-
if (!((
|
|
10317
|
+
if (!((_a = store22.formData) == null ? void 0 : _a.apiBody)) {
|
|
10318
10318
|
store22.setFormdata((prev) => ({ ...prev, apiBody: boilerplate }));
|
|
10319
10319
|
}
|
|
10320
10320
|
schema2.required = ["eventType", "Handler", "method", "path"];
|
|
@@ -10367,9 +10367,9 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
10367
10367
|
schema2.properties.RemoveItemButton.disabled = false;
|
|
10368
10368
|
}
|
|
10369
10369
|
const config2 = JSON.parse(sessionStorage.getItem("pageFormdata"));
|
|
10370
|
-
const path = (
|
|
10371
|
-
const id = (
|
|
10372
|
-
let pathArray = [{ label: (
|
|
10370
|
+
const path = (_b = store22.searchParams) == null ? void 0 : _b.get("path");
|
|
10371
|
+
const id = (_c = store22.searchParams) == null ? void 0 : _c.get("id");
|
|
10372
|
+
let pathArray = [{ label: (_d = config2.name) != null ? _d : "NewPage", path: `/PageMaster${id ? `?id=${id}` : ""}` }];
|
|
10373
10373
|
if (path) {
|
|
10374
10374
|
const pathArrayAll = path.split(".");
|
|
10375
10375
|
const arr = [];
|