impaktapps-ui-builder 0.0.101-alpha.345 → 0.0.101-alpha.346

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.
@@ -10270,7 +10270,7 @@ var service = (funcParams) => {
10270
10270
  };
10271
10271
  return {
10272
10272
  setPage: async function() {
10273
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o;
10273
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
10274
10274
  funcParams.store.setFormdata({});
10275
10275
  funcParams.store.newData = {};
10276
10276
  const pageBasicDetailString = sessionStorage.getItem("pagemasterMetaData");
@@ -10287,13 +10287,7 @@ var service = (funcParams) => {
10287
10287
  const config2 = pageData == null ? void 0 : pageData.config;
10288
10288
  const pathParts = funcParams.store.location.pathname.split("/");
10289
10289
  const programId = ((_a = JSON.parse(window.sessionStorage.getItem("ProgramID") || "{}")) == null ? void 0 : _a.value) || "programID";
10290
- const programName = ((_b = JSON.parse(window.sessionStorage.getItem("ProgramID") || "{}")) == null ? void 0 : _b.label) || "";
10291
10290
  if (pathParts.length > 2) {
10292
- if (decodeURIComponent(pathParts[2]) !== programName + "") {
10293
- pathParts[2] = programName;
10294
- const newPath = pathParts.slice(0, 3).join("/");
10295
- funcParams.store.navigate(newPath);
10296
- }
10297
10291
  if (programId !== "programID") {
10298
10292
  funcParams.store.setFormdata((pre) => ({ ...pre, programId }));
10299
10293
  }
@@ -10303,7 +10297,7 @@ var service = (funcParams) => {
10303
10297
  detail: { pageName: config2.label }
10304
10298
  });
10305
10299
  window.dispatchEvent(event2);
10306
- const theme = (_d = (_c = funcParams == null ? void 0 : funcParams.store) == null ? void 0 : _c.theme) == null ? void 0 : _d.myTheme;
10300
+ const theme = (_c = (_b = funcParams == null ? void 0 : funcParams.store) == null ? void 0 : _b.theme) == null ? void 0 : _c.myTheme;
10307
10301
  uiSchema.elements.push(
10308
10302
  {
10309
10303
  type: "HorizontalLayout",
@@ -10333,7 +10327,7 @@ var service = (funcParams) => {
10333
10327
  heading: "Copywriter@ACT21.IO"
10334
10328
  },
10335
10329
  style: {
10336
- color: ((_f = (_e = theme == null ? void 0 : theme.palette) == null ? void 0 : _e.text) == null ? void 0 : _f.disabled) || "#AFAFAF",
10330
+ color: ((_e = (_d = theme == null ? void 0 : theme.palette) == null ? void 0 : _d.text) == null ? void 0 : _e.disabled) || "#AFAFAF",
10337
10331
  fontSize: "11px",
10338
10332
  textAlign: "center",
10339
10333
  lineHeight: 2,
@@ -10360,7 +10354,7 @@ var service = (funcParams) => {
10360
10354
  width: "fit-content"
10361
10355
  },
10362
10356
  style: {
10363
- fill: (_h = (_g = theme == null ? void 0 : theme.palette) == null ? void 0 : _g.primary) == null ? void 0 : _h.main,
10357
+ fill: (_g = (_f = theme == null ? void 0 : theme.palette) == null ? void 0 : _f.primary) == null ? void 0 : _g.main,
10364
10358
  width: 20,
10365
10359
  height: 0,
10366
10360
  top: 0,
@@ -10369,7 +10363,7 @@ var service = (funcParams) => {
10369
10363
  fontSize: "12px",
10370
10364
  cursor: "pointer",
10371
10365
  ":hover": {
10372
- fill: (_j = (_i = theme == null ? void 0 : theme.palette) == null ? void 0 : _i.primary) == null ? void 0 : _j.dark
10366
+ fill: (_i = (_h = theme == null ? void 0 : theme.palette) == null ? void 0 : _h.primary) == null ? void 0 : _i.dark
10373
10367
  },
10374
10368
  marginRight: "20px"
10375
10369
  }
@@ -10392,7 +10386,7 @@ var service = (funcParams) => {
10392
10386
  lineHeight: 1,
10393
10387
  height: 0,
10394
10388
  width: "fit-content",
10395
- color: (_l = (_k = theme == null ? void 0 : theme.palette) == null ? void 0 : _k.primary) == null ? void 0 : _l.main,
10389
+ color: (_k = (_j = theme == null ? void 0 : theme.palette) == null ? void 0 : _j.primary) == null ? void 0 : _k.main,
10396
10390
  fontSize: "12px",
10397
10391
  cursor: "pointer",
10398
10392
  marginLeft: "2px",
@@ -10400,7 +10394,7 @@ var service = (funcParams) => {
10400
10394
  right: "12px",
10401
10395
  position: "absolute",
10402
10396
  ":hover": {
10403
- color: (_n = (_m = theme == null ? void 0 : theme.palette) == null ? void 0 : _m.primary) == null ? void 0 : _n.dark
10397
+ color: (_m = (_l = theme == null ? void 0 : theme.palette) == null ? void 0 : _l.primary) == null ? void 0 : _m.dark
10404
10398
  },
10405
10399
  marginRight: "4px"
10406
10400
  }
@@ -10409,7 +10403,7 @@ var service = (funcParams) => {
10409
10403
  ]
10410
10404
  }
10411
10405
  );
10412
- const schema2 = (_o = pageData == null ? void 0 : pageData.schema) != null ? _o : { type: "object", properties: {} };
10406
+ const schema2 = (_n = pageData == null ? void 0 : pageData.schema) != null ? _n : { type: "object", properties: {} };
10413
10407
  eventGroups = extractEvents(config2);
10414
10408
  executeEventsParameters = {
10415
10409
  config: {},