impaktapps-ui-builder 0.0.382-alpha.303 → 0.0.382-alpha.305
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 +13 -2
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +7 -7
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +11 -3
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +5 -1
|
@@ -246,7 +246,7 @@ const PageMasterUiSchema = {
|
|
|
246
246
|
main: {
|
|
247
247
|
icon: "RejectIcon",
|
|
248
248
|
color: "error",
|
|
249
|
-
onClick: "
|
|
249
|
+
onClick: "deletePopUpComponent",
|
|
250
250
|
tooltipMessage: "Reject This Record"
|
|
251
251
|
}
|
|
252
252
|
}
|
|
@@ -333,6 +333,14 @@ const PageMasterUiSchema = {
|
|
|
333
333
|
width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
type: "Control",
|
|
339
|
+
scope: "#/properties/EmptyBox",
|
|
340
|
+
config: { layout: { xs: 11, sm: 5.5, md: 5.5, lg: 6 } },
|
|
341
|
+
options: {
|
|
342
|
+
widget: "EmptyBox"
|
|
343
|
+
}
|
|
336
344
|
}
|
|
337
345
|
]
|
|
338
346
|
}
|
|
@@ -7710,7 +7718,10 @@ var pageMaster = (funcParams) => {
|
|
|
7710
7718
|
},
|
|
7711
7719
|
saveHandler: async () => await saveHandler(store2, service2, submitHandler),
|
|
7712
7720
|
Edit_Components: Component(store2, dynamicData2, submitHandler, service2).editComponents,
|
|
7713
|
-
Delete_Components:
|
|
7721
|
+
Delete_Components: async function() {
|
|
7722
|
+
await Component(store2, dynamicData2, submitHandler, service2).deleteComponents();
|
|
7723
|
+
store2.updateDialog("popUpComponent");
|
|
7724
|
+
},
|
|
7714
7725
|
eventAddHandler: function() {
|
|
7715
7726
|
var _a;
|
|
7716
7727
|
const id = (_a = store2.searchParams) == null ? void 0 : _a.get("id");
|