impaktapps-ui-builder 0.0.382-alpha.314 → 0.0.382-alpha.315
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 +11 -6
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +4 -4
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +157 -63
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +95 -3
- package/src/impaktapps-ui-builder/builder/services/component.ts +5 -1
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +6 -1
|
@@ -6620,7 +6620,7 @@ const componentBasicUiSchema = {
|
|
|
6620
6620
|
},
|
|
6621
6621
|
main: {}
|
|
6622
6622
|
},
|
|
6623
|
-
|
|
6623
|
+
elements: [
|
|
6624
6624
|
{
|
|
6625
6625
|
type: "Control",
|
|
6626
6626
|
scope: "#/properties/label",
|
|
@@ -7865,11 +7865,12 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
7865
7865
|
deleteComponents: function() {
|
|
7866
7866
|
var _a;
|
|
7867
7867
|
const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
|
|
7868
|
-
const rowId =
|
|
7868
|
+
const rowId = localStorage.getItem("rowId");
|
|
7869
7869
|
store2.formData.elements.splice(rowId, 1);
|
|
7870
7870
|
const response2 = saveFormdataInLocalStorage(store2.ctx.core.data, path);
|
|
7871
7871
|
const data2 = path ? _.get(response2, path) : response2;
|
|
7872
7872
|
store2.setFormdata(data2);
|
|
7873
|
+
localStorage.removeItem("rowId");
|
|
7873
7874
|
},
|
|
7874
7875
|
deleteEvent: function() {
|
|
7875
7876
|
var _a;
|
|
@@ -7989,17 +7990,21 @@ var pageMaster = (funcParams) => {
|
|
|
7989
7990
|
store2.navigate(`/ComponentEvents?path=${finalPath}&id=${id}`);
|
|
7990
7991
|
},
|
|
7991
7992
|
deleteEvent: function() {
|
|
7992
|
-
const rowId =
|
|
7993
|
+
const rowId = localStorage.getItem("rowId");
|
|
7993
7994
|
store2.formData.events.splice(rowId, 1);
|
|
7994
7995
|
const response2 = saveFormdataInLocalStorage(store2.ctx.core.data);
|
|
7995
7996
|
store2.setFormdata(response2);
|
|
7996
7997
|
store2.updateDialog("popUpPageMasterEvent");
|
|
7998
|
+
localStorage.removeItem("rowId");
|
|
7997
7999
|
},
|
|
7998
8000
|
deletePopUpComponent: function() {
|
|
7999
|
-
dynamicData2.path.split(".")[1];
|
|
8001
|
+
const rowId = dynamicData2.path.split(".")[1];
|
|
8002
|
+
localStorage.setItem("rowId", rowId);
|
|
8000
8003
|
store2.updateDialog("popUpPageMasterComponent");
|
|
8001
8004
|
},
|
|
8002
8005
|
deletePopUpEvent: function() {
|
|
8006
|
+
const rowId = dynamicData2.path.split(".")[1];
|
|
8007
|
+
localStorage.setItem("rowId", rowId);
|
|
8003
8008
|
store2.updateDialog("popUpPageMasterEvent");
|
|
8004
8009
|
}
|
|
8005
8010
|
};
|
|
@@ -8361,7 +8366,7 @@ const EventUiSchema = {
|
|
|
8361
8366
|
widget: "Button"
|
|
8362
8367
|
},
|
|
8363
8368
|
config: {
|
|
8364
|
-
layout:
|
|
8369
|
+
layout: 3,
|
|
8365
8370
|
main: {
|
|
8366
8371
|
name: "Yes",
|
|
8367
8372
|
startIcon: "ApproveIcon",
|
|
@@ -8380,7 +8385,7 @@ const EventUiSchema = {
|
|
|
8380
8385
|
widget: "Button"
|
|
8381
8386
|
},
|
|
8382
8387
|
config: {
|
|
8383
|
-
layout:
|
|
8388
|
+
layout: 3,
|
|
8384
8389
|
main: {
|
|
8385
8390
|
name: "No",
|
|
8386
8391
|
startIcon: "ApproveIcon",
|