impaktapps-ui-builder 0.0.101-alpha.123 → 0.0.101-alpha.124

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, _n;
10287
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
10288
10288
  funcParams.store.setFormdata({});
10289
10289
  funcParams.store.newData = {};
10290
10290
  const pageBasicDetailString = sessionStorage.getItem("pagemasterMetaData");
@@ -10299,25 +10299,12 @@ var service = (funcParams) => {
10299
10299
  }));
10300
10300
  }
10301
10301
  const config2 = pageData == null ? void 0 : pageData.config;
10302
- const pathParts = funcParams.store.location.pathname.split("/");
10303
- const programId = ((_a = JSON.parse(window.sessionStorage.getItem("ProgramID") || "{}")) == null ? void 0 : _a.value) || "programID";
10304
- if ((config2 == null ? void 0 : config2.programIdRequired) && programId) {
10305
- if (pathParts.length < 2) {
10306
- funcParams.store.navigate(
10307
- `${funcParams.store.location.pathname}/${programId}`
10308
- );
10309
- } else if (pathParts[2] !== programId + "") {
10310
- pathParts[2] = programId;
10311
- const newPath = pathParts.slice(0, 3).join("/");
10312
- funcParams.store.navigate(newPath);
10313
- }
10314
- }
10315
10302
  const uiSchema = pageData == null ? void 0 : pageData.uiSchema;
10316
10303
  const event2 = new CustomEvent("pageNameChanged", {
10317
10304
  detail: { pageName: config2.label }
10318
10305
  });
10319
10306
  window.dispatchEvent(event2);
10320
- const theme = (_c = (_b = funcParams == null ? void 0 : funcParams.store) == null ? void 0 : _b.theme) == null ? void 0 : _c.myTheme;
10307
+ const theme = (_b = (_a = funcParams == null ? void 0 : funcParams.store) == null ? void 0 : _a.theme) == null ? void 0 : _b.myTheme;
10321
10308
  uiSchema.elements.push(
10322
10309
  {
10323
10310
  type: "HorizontalLayout",
@@ -10347,7 +10334,7 @@ var service = (funcParams) => {
10347
10334
  heading: "Copywriter@ACT21.IO"
10348
10335
  },
10349
10336
  style: {
10350
- color: ((_e = (_d = theme == null ? void 0 : theme.palette) == null ? void 0 : _d.text) == null ? void 0 : _e.disabled) || "#AFAFAF",
10337
+ color: ((_d = (_c = theme == null ? void 0 : theme.palette) == null ? void 0 : _c.text) == null ? void 0 : _d.disabled) || "#AFAFAF",
10351
10338
  fontSize: "11px",
10352
10339
  textAlign: "center",
10353
10340
  lineHeight: 2,
@@ -10374,7 +10361,7 @@ var service = (funcParams) => {
10374
10361
  width: "fit-content"
10375
10362
  },
10376
10363
  style: {
10377
- fill: (_g = (_f = theme == null ? void 0 : theme.palette) == null ? void 0 : _f.primary) == null ? void 0 : _g.main,
10364
+ fill: (_f = (_e = theme == null ? void 0 : theme.palette) == null ? void 0 : _e.primary) == null ? void 0 : _f.main,
10378
10365
  width: 20,
10379
10366
  height: 0,
10380
10367
  top: 0,
@@ -10383,7 +10370,7 @@ var service = (funcParams) => {
10383
10370
  fontSize: "12px",
10384
10371
  cursor: "pointer",
10385
10372
  ":hover": {
10386
- fill: (_i = (_h = theme == null ? void 0 : theme.palette) == null ? void 0 : _h.primary) == null ? void 0 : _i.dark
10373
+ fill: (_h = (_g = theme == null ? void 0 : theme.palette) == null ? void 0 : _g.primary) == null ? void 0 : _h.dark
10387
10374
  },
10388
10375
  marginRight: "20px"
10389
10376
  }
@@ -10406,7 +10393,7 @@ var service = (funcParams) => {
10406
10393
  lineHeight: 1,
10407
10394
  height: 0,
10408
10395
  width: "fit-content",
10409
- color: (_k = (_j = theme == null ? void 0 : theme.palette) == null ? void 0 : _j.primary) == null ? void 0 : _k.main,
10396
+ color: (_j = (_i = theme == null ? void 0 : theme.palette) == null ? void 0 : _i.primary) == null ? void 0 : _j.main,
10410
10397
  fontSize: "12px",
10411
10398
  cursor: "pointer",
10412
10399
  marginLeft: "2px",
@@ -10414,7 +10401,7 @@ var service = (funcParams) => {
10414
10401
  right: "12px",
10415
10402
  position: "absolute",
10416
10403
  ":hover": {
10417
- color: (_m = (_l = theme == null ? void 0 : theme.palette) == null ? void 0 : _l.primary) == null ? void 0 : _m.dark
10404
+ color: (_l = (_k = theme == null ? void 0 : theme.palette) == null ? void 0 : _k.primary) == null ? void 0 : _l.dark
10418
10405
  },
10419
10406
  marginRight: "4px"
10420
10407
  }
@@ -10423,7 +10410,7 @@ var service = (funcParams) => {
10423
10410
  ]
10424
10411
  }
10425
10412
  );
10426
- const schema2 = (_n = pageData == null ? void 0 : pageData.schema) != null ? _n : { type: "object", properties: {} };
10413
+ const schema2 = (_m = pageData == null ? void 0 : pageData.schema) != null ? _m : { type: "object", properties: {} };
10427
10414
  eventGroups = extractEvents(config2);
10428
10415
  executeEventsParameters = {
10429
10416
  config: {},