impaktapps-ui-builder 0.0.101-alpha.49 → 0.0.101-alpha.50

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.
@@ -7061,6 +7061,25 @@ const componentBasicUiSchema = (theme) => {
7061
7061
  }
7062
7062
  }
7063
7063
  },
7064
+ {
7065
+ type: "Control",
7066
+ scope: "#/properties/pageName",
7067
+ options: {
7068
+ widget: "Breadcrumb"
7069
+ },
7070
+ config: {
7071
+ layout: 12,
7072
+ main: {},
7073
+ style: {
7074
+ color: theme.palette.grey[600],
7075
+ fontSize: "10px",
7076
+ position: "fixed",
7077
+ bottom: "24px",
7078
+ borderBottom: `1px solid ${theme.palette.common.black}29`,
7079
+ borderTop: `1px solid ${theme.palette.common.black}29`
7080
+ }
7081
+ }
7082
+ },
7064
7083
  {
7065
7084
  type: "Control",
7066
7085
  scope: "#/properties/notify",
@@ -8518,10 +8537,17 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8518
8537
  return getFormdataFromSessionStorage(path);
8519
8538
  },
8520
8539
  getSchema: function() {
8540
+ var _a;
8521
8541
  const schema2 = _.cloneDeep(ComponentSchema);
8522
8542
  if (sessionStorage.getItem("copiedConfig")) {
8523
8543
  schema2.properties.RemoveItemButton.disabled = false;
8524
8544
  }
8545
+ const currentConfig = JSON.parse(sessionStorage.getItem("pageFormdata"));
8546
+ const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
8547
+ const lastDotIndex = path.lastIndexOf(".");
8548
+ const currPath = path.slice(lastDotIndex + 1);
8549
+ const currObj = _.get(currentConfig, currPath);
8550
+ schema2.properties.pageName.path.add({ label: currObj.config.main.label || "undefined", path });
8525
8551
  return schema2;
8526
8552
  },
8527
8553
  okHandler: () => okHandler(store2),