impaktapps-ui-builder 0.0.101-alpha.115 → 0.0.101-alpha.117
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.
|
@@ -10284,7 +10284,7 @@ var service = (funcParams) => {
|
|
|
10284
10284
|
};
|
|
10285
10285
|
return {
|
|
10286
10286
|
setPage: async function() {
|
|
10287
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
|
|
10287
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o;
|
|
10288
10288
|
funcParams.store.setFormdata({});
|
|
10289
10289
|
funcParams.store.newData = {};
|
|
10290
10290
|
const pageBasicDetailString = sessionStorage.getItem("pagemasterMetaData");
|
|
@@ -10300,15 +10300,16 @@ var service = (funcParams) => {
|
|
|
10300
10300
|
}
|
|
10301
10301
|
const config2 = pageData == null ? void 0 : pageData.config;
|
|
10302
10302
|
if ((config2 == null ? void 0 : config2.programIdRequired) && !funcParams.store.location.pathname.includes("ProgramId")) {
|
|
10303
|
-
|
|
10304
|
-
|
|
10303
|
+
funcParams.store.navigate(funcParams.store.location.pathname + `/ProgramId${(_a = JSON.parse(window.sessionStorage.getItem("ProgramID"))) == null ? void 0 : _a.label}`);
|
|
10304
|
+
} else {
|
|
10305
|
+
funcParams.store.navigate(funcParams.store.location.pathname + `/${(_b = JSON.parse(window.sessionStorage.getItem("ProgramID"))) == null ? void 0 : _b.label}`);
|
|
10305
10306
|
}
|
|
10306
10307
|
const uiSchema = pageData == null ? void 0 : pageData.uiSchema;
|
|
10307
10308
|
const event2 = new CustomEvent("pageNameChanged", {
|
|
10308
10309
|
detail: { pageName: config2.label }
|
|
10309
10310
|
});
|
|
10310
10311
|
window.dispatchEvent(event2);
|
|
10311
|
-
const theme = (
|
|
10312
|
+
const theme = (_d = (_c = funcParams == null ? void 0 : funcParams.store) == null ? void 0 : _c.theme) == null ? void 0 : _d.myTheme;
|
|
10312
10313
|
uiSchema.elements.push(
|
|
10313
10314
|
{
|
|
10314
10315
|
type: "HorizontalLayout",
|
|
@@ -10338,7 +10339,7 @@ var service = (funcParams) => {
|
|
|
10338
10339
|
heading: "Copywriter@ACT21.IO"
|
|
10339
10340
|
},
|
|
10340
10341
|
style: {
|
|
10341
|
-
color: ((
|
|
10342
|
+
color: ((_f = (_e = theme == null ? void 0 : theme.palette) == null ? void 0 : _e.text) == null ? void 0 : _f.disabled) || "#AFAFAF",
|
|
10342
10343
|
fontSize: "11px",
|
|
10343
10344
|
textAlign: "center",
|
|
10344
10345
|
lineHeight: 2,
|
|
@@ -10365,7 +10366,7 @@ var service = (funcParams) => {
|
|
|
10365
10366
|
width: "fit-content"
|
|
10366
10367
|
},
|
|
10367
10368
|
style: {
|
|
10368
|
-
fill: (
|
|
10369
|
+
fill: (_h = (_g = theme == null ? void 0 : theme.palette) == null ? void 0 : _g.primary) == null ? void 0 : _h.main,
|
|
10369
10370
|
width: 20,
|
|
10370
10371
|
height: 0,
|
|
10371
10372
|
top: 0,
|
|
@@ -10374,7 +10375,7 @@ var service = (funcParams) => {
|
|
|
10374
10375
|
fontSize: "12px",
|
|
10375
10376
|
cursor: "pointer",
|
|
10376
10377
|
":hover": {
|
|
10377
|
-
fill: (
|
|
10378
|
+
fill: (_j = (_i = theme == null ? void 0 : theme.palette) == null ? void 0 : _i.primary) == null ? void 0 : _j.dark
|
|
10378
10379
|
},
|
|
10379
10380
|
marginRight: "20px"
|
|
10380
10381
|
}
|
|
@@ -10397,7 +10398,7 @@ var service = (funcParams) => {
|
|
|
10397
10398
|
lineHeight: 1,
|
|
10398
10399
|
height: 0,
|
|
10399
10400
|
width: "fit-content",
|
|
10400
|
-
color: (
|
|
10401
|
+
color: (_l = (_k = theme == null ? void 0 : theme.palette) == null ? void 0 : _k.primary) == null ? void 0 : _l.main,
|
|
10401
10402
|
fontSize: "12px",
|
|
10402
10403
|
cursor: "pointer",
|
|
10403
10404
|
marginLeft: "2px",
|
|
@@ -10405,7 +10406,7 @@ var service = (funcParams) => {
|
|
|
10405
10406
|
right: "12px",
|
|
10406
10407
|
position: "absolute",
|
|
10407
10408
|
":hover": {
|
|
10408
|
-
color: (
|
|
10409
|
+
color: (_n = (_m = theme == null ? void 0 : theme.palette) == null ? void 0 : _m.primary) == null ? void 0 : _n.dark
|
|
10409
10410
|
},
|
|
10410
10411
|
marginRight: "4px"
|
|
10411
10412
|
}
|
|
@@ -10414,7 +10415,7 @@ var service = (funcParams) => {
|
|
|
10414
10415
|
]
|
|
10415
10416
|
}
|
|
10416
10417
|
);
|
|
10417
|
-
const schema2 = (
|
|
10418
|
+
const schema2 = (_o = pageData == null ? void 0 : pageData.schema) != null ? _o : { type: "object", properties: {} };
|
|
10418
10419
|
eventGroups = extractEvents(config2);
|
|
10419
10420
|
executeEventsParameters = {
|
|
10420
10421
|
config: {},
|