impaktapps-ui-builder 0.0.101-alpha.124 → 0.0.101-alpha.126
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;
|
|
10288
10288
|
funcParams.store.setFormdata({});
|
|
10289
10289
|
funcParams.store.newData = {};
|
|
10290
10290
|
const pageBasicDetailString = sessionStorage.getItem("pagemasterMetaData");
|
|
@@ -10299,12 +10299,19 @@ var service = (funcParams) => {
|
|
|
10299
10299
|
}));
|
|
10300
10300
|
}
|
|
10301
10301
|
const config2 = pageData == null ? void 0 : pageData.config;
|
|
10302
|
+
const programId = ((_a = JSON.parse(window.sessionStorage.getItem("ProgramID") || "{}")) == null ? void 0 : _a.value) || "programID";
|
|
10303
|
+
console.log(funcParams.store);
|
|
10304
|
+
const queryParams = funcParams.store.searchParam;
|
|
10305
|
+
funcParams.store.setSearchParams({ ...queryParams, ProgramID: programId });
|
|
10306
|
+
funcParams.store.navigate(
|
|
10307
|
+
0
|
|
10308
|
+
);
|
|
10302
10309
|
const uiSchema = pageData == null ? void 0 : pageData.uiSchema;
|
|
10303
10310
|
const event2 = new CustomEvent("pageNameChanged", {
|
|
10304
10311
|
detail: { pageName: config2.label }
|
|
10305
10312
|
});
|
|
10306
10313
|
window.dispatchEvent(event2);
|
|
10307
|
-
const theme = (
|
|
10314
|
+
const theme = (_c = (_b = funcParams == null ? void 0 : funcParams.store) == null ? void 0 : _b.theme) == null ? void 0 : _c.myTheme;
|
|
10308
10315
|
uiSchema.elements.push(
|
|
10309
10316
|
{
|
|
10310
10317
|
type: "HorizontalLayout",
|
|
@@ -10334,7 +10341,7 @@ var service = (funcParams) => {
|
|
|
10334
10341
|
heading: "Copywriter@ACT21.IO"
|
|
10335
10342
|
},
|
|
10336
10343
|
style: {
|
|
10337
|
-
color: ((
|
|
10344
|
+
color: ((_e = (_d = theme == null ? void 0 : theme.palette) == null ? void 0 : _d.text) == null ? void 0 : _e.disabled) || "#AFAFAF",
|
|
10338
10345
|
fontSize: "11px",
|
|
10339
10346
|
textAlign: "center",
|
|
10340
10347
|
lineHeight: 2,
|
|
@@ -10361,7 +10368,7 @@ var service = (funcParams) => {
|
|
|
10361
10368
|
width: "fit-content"
|
|
10362
10369
|
},
|
|
10363
10370
|
style: {
|
|
10364
|
-
fill: (
|
|
10371
|
+
fill: (_g = (_f = theme == null ? void 0 : theme.palette) == null ? void 0 : _f.primary) == null ? void 0 : _g.main,
|
|
10365
10372
|
width: 20,
|
|
10366
10373
|
height: 0,
|
|
10367
10374
|
top: 0,
|
|
@@ -10370,7 +10377,7 @@ var service = (funcParams) => {
|
|
|
10370
10377
|
fontSize: "12px",
|
|
10371
10378
|
cursor: "pointer",
|
|
10372
10379
|
":hover": {
|
|
10373
|
-
fill: (
|
|
10380
|
+
fill: (_i = (_h = theme == null ? void 0 : theme.palette) == null ? void 0 : _h.primary) == null ? void 0 : _i.dark
|
|
10374
10381
|
},
|
|
10375
10382
|
marginRight: "20px"
|
|
10376
10383
|
}
|
|
@@ -10393,7 +10400,7 @@ var service = (funcParams) => {
|
|
|
10393
10400
|
lineHeight: 1,
|
|
10394
10401
|
height: 0,
|
|
10395
10402
|
width: "fit-content",
|
|
10396
|
-
color: (
|
|
10403
|
+
color: (_k = (_j = theme == null ? void 0 : theme.palette) == null ? void 0 : _j.primary) == null ? void 0 : _k.main,
|
|
10397
10404
|
fontSize: "12px",
|
|
10398
10405
|
cursor: "pointer",
|
|
10399
10406
|
marginLeft: "2px",
|
|
@@ -10401,7 +10408,7 @@ var service = (funcParams) => {
|
|
|
10401
10408
|
right: "12px",
|
|
10402
10409
|
position: "absolute",
|
|
10403
10410
|
":hover": {
|
|
10404
|
-
color: (
|
|
10411
|
+
color: (_m = (_l = theme == null ? void 0 : theme.palette) == null ? void 0 : _l.primary) == null ? void 0 : _m.dark
|
|
10405
10412
|
},
|
|
10406
10413
|
marginRight: "4px"
|
|
10407
10414
|
}
|
|
@@ -10410,7 +10417,7 @@ var service = (funcParams) => {
|
|
|
10410
10417
|
]
|
|
10411
10418
|
}
|
|
10412
10419
|
);
|
|
10413
|
-
const schema2 = (
|
|
10420
|
+
const schema2 = (_n = pageData == null ? void 0 : pageData.schema) != null ? _n : { type: "object", properties: {} };
|
|
10414
10421
|
eventGroups = extractEvents(config2);
|
|
10415
10422
|
executeEventsParameters = {
|
|
10416
10423
|
config: {},
|