impaktapps-ui-builder 1.0.50-alpha.22 → 1.0.50-alpha.23

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.
@@ -10282,7 +10282,7 @@ var service = (funcParams) => {
10282
10282
  };
10283
10283
  return {
10284
10284
  setPage: async function() {
10285
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
10285
+ var _a, _b, _c;
10286
10286
  funcParams.store.setAdditionalErrors([]);
10287
10287
  funcParams.store.setFormdata({});
10288
10288
  funcParams.store.setSchema({ type: "object", properties: {} });
@@ -10292,116 +10292,11 @@ var service = (funcParams) => {
10292
10292
  const config2 = pageData == null ? void 0 : pageData.config;
10293
10293
  const uiSchema = pageData == null ? void 0 : pageData.uiSchema;
10294
10294
  const event2 = new CustomEvent("pageNameChanged", {
10295
- detail: { pageName: config2.label }
10295
+ detail: { pageName: config2.label, hasBackIcon: true }
10296
10296
  });
10297
10297
  window.dispatchEvent(event2);
10298
- const theme = (_b = (_a = funcParams == null ? void 0 : funcParams.store) == null ? void 0 : _a.theme) == null ? void 0 : _b.myTheme;
10299
- uiSchema.elements.push(
10300
- {
10301
- type: "HorizontalLayout",
10302
- config: {
10303
- main: {
10304
- direction: "row"
10305
- },
10306
- style: {
10307
- flexDirection: "row",
10308
- position: "absolute",
10309
- bottom: 0,
10310
- height: "fit-content",
10311
- overflow: "hidden",
10312
- zIndex: 1e3,
10313
- width: "inherit"
10314
- }
10315
- },
10316
- elements: [
10317
- {
10318
- type: "Control",
10319
- scope: "#/properties/FooterText",
10320
- options: {
10321
- widget: "Box"
10322
- },
10323
- config: {
10324
- main: {
10325
- heading: "Copywriter@ACT21.IO"
10326
- },
10327
- style: {
10328
- color: ((_d = (_c = theme == null ? void 0 : theme.palette) == null ? void 0 : _c.text) == null ? void 0 : _d.disabled) || "#AFAFAF",
10329
- fontSize: "11px",
10330
- textAlign: "center",
10331
- lineHeight: 2,
10332
- width: "fit-content",
10333
- left: "50%",
10334
- position: "relative",
10335
- margin: 0,
10336
- flexGrow: 1,
10337
- height: 0,
10338
- transform: "translate(-50%, 0%)"
10339
- }
10340
- }
10341
- },
10342
- {
10343
- type: "Control",
10344
- scope: "#/properties/FooterBackIcon",
10345
- options: {
10346
- widget: "Box"
10347
- },
10348
- config: {
10349
- main: {
10350
- iconName: "PrevIcon",
10351
- onClick: "backHandler",
10352
- width: "fit-content"
10353
- },
10354
- style: {
10355
- fill: (_f = (_e = theme == null ? void 0 : theme.palette) == null ? void 0 : _e.primary) == null ? void 0 : _f.main,
10356
- width: 20,
10357
- height: 0,
10358
- top: 0,
10359
- right: { xs: "12px", sm: "84px" },
10360
- position: "absolute",
10361
- fontSize: "12px",
10362
- cursor: "pointer",
10363
- ":hover": {
10364
- fill: (_h = (_g = theme == null ? void 0 : theme.palette) == null ? void 0 : _g.primary) == null ? void 0 : _h.dark
10365
- },
10366
- marginRight: "20px"
10367
- }
10368
- }
10369
- },
10370
- {
10371
- type: "Control",
10372
- scope: "#/properties/FooterBackHandlerText",
10373
- options: {
10374
- widget: "Box"
10375
- },
10376
- config: {
10377
- main: {
10378
- heading: "Previous Page",
10379
- onClick: "backHandler"
10380
- },
10381
- style: {
10382
- display: { xs: "none", sm: "flex" },
10383
- textAlign: "left",
10384
- lineHeight: 1,
10385
- height: 0,
10386
- width: "fit-content",
10387
- color: (_j = (_i = theme == null ? void 0 : theme.palette) == null ? void 0 : _i.primary) == null ? void 0 : _j.main,
10388
- fontSize: "12px",
10389
- cursor: "pointer",
10390
- marginLeft: "2px",
10391
- top: 3,
10392
- right: "12px",
10393
- position: "absolute",
10394
- ":hover": {
10395
- color: (_l = (_k = theme == null ? void 0 : theme.palette) == null ? void 0 : _k.primary) == null ? void 0 : _l.dark
10396
- },
10397
- marginRight: "4px"
10398
- }
10399
- }
10400
- }
10401
- ]
10402
- }
10403
- );
10404
- const schema2 = (_m = pageData == null ? void 0 : pageData.schema) != null ? _m : { type: "object", properties: {} };
10298
+ (_b = (_a = funcParams == null ? void 0 : funcParams.store) == null ? void 0 : _a.theme) == null ? void 0 : _b.myTheme;
10299
+ const schema2 = (_c = pageData == null ? void 0 : pageData.schema) != null ? _c : { type: "object", properties: {} };
10405
10300
  eventGroups = extractEvents(config2);
10406
10301
  executeEventsParameters = {
10407
10302
  config: {},