impaktapps-ui-builder 0.0.412-mtreemap.13 → 0.0.412-mtreemap.15

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.
@@ -8791,7 +8791,7 @@ var service = (funcParams) => {
8791
8791
  };
8792
8792
  return {
8793
8793
  setPage: async function() {
8794
- var _a;
8794
+ var _a, _b;
8795
8795
  funcParams.store.setFormdata({});
8796
8796
  funcParams.store.newData = {};
8797
8797
  const pageBasicDetailString = localStorage.getItem("pagemasterMetaData");
@@ -8807,7 +8807,114 @@ var service = (funcParams) => {
8807
8807
  }
8808
8808
  const config = pageData == null ? void 0 : pageData.config;
8809
8809
  const uiSchema = pageData == null ? void 0 : pageData.uiSchema;
8810
- const schema2 = (_a = pageData == null ? void 0 : pageData.schema) != null ? _a : { type: "object", properties: {} };
8810
+ window.localStorage.setItem("pageName", config.label);
8811
+ window.dispatchEvent(new Event("pageNameChanged"));
8812
+ const theme = funcParams.store.theme.myTheme;
8813
+ uiSchema.elements.push(
8814
+ {
8815
+ type: "HorizontalLayout",
8816
+ config: {
8817
+ main: {
8818
+ direction: "row"
8819
+ },
8820
+ style: {
8821
+ flexDirection: "row",
8822
+ position: "absolute",
8823
+ bottom: 0,
8824
+ marginBottom: "-8px",
8825
+ height: "fit-content",
8826
+ overflow: "hidden",
8827
+ zIndex: 1e3,
8828
+ width: "inherit"
8829
+ }
8830
+ },
8831
+ elements: [
8832
+ {
8833
+ type: "Control",
8834
+ scope: "#/properties/FooterText",
8835
+ options: {
8836
+ widget: "Box"
8837
+ },
8838
+ config: {
8839
+ main: {
8840
+ heading: "Copywriter@ACT21.IO"
8841
+ },
8842
+ style: {
8843
+ color: ((_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text.disabled) || "#AFAFAF",
8844
+ fontSize: "12px",
8845
+ textAlign: "center",
8846
+ lineHeight: 1,
8847
+ width: "fit-content",
8848
+ left: "50%",
8849
+ position: "relative",
8850
+ margin: 0,
8851
+ flexGrow: 1,
8852
+ height: 0
8853
+ }
8854
+ }
8855
+ },
8856
+ {
8857
+ type: "Control",
8858
+ scope: "#/properties/backIcon",
8859
+ options: {
8860
+ widget: "Box"
8861
+ },
8862
+ config: {
8863
+ main: {
8864
+ iconName: "PrevIcon",
8865
+ onClick: "backHandler",
8866
+ width: "fit-content"
8867
+ },
8868
+ style: {
8869
+ fill: theme.palette.primary.main,
8870
+ width: 20,
8871
+ height: 0,
8872
+ margin: 0,
8873
+ top: 0,
8874
+ right: "82px",
8875
+ position: "absolute",
8876
+ fontSize: "12px",
8877
+ cursor: "pointer",
8878
+ ":hover": {
8879
+ fill: theme.palette.primary.dark
8880
+ }
8881
+ }
8882
+ }
8883
+ },
8884
+ {
8885
+ type: "Control",
8886
+ scope: "#/properties/text",
8887
+ options: {
8888
+ widget: "Box"
8889
+ },
8890
+ config: {
8891
+ main: {
8892
+ heading: "Previous Page",
8893
+ onClick: "backHandler"
8894
+ },
8895
+ style: {
8896
+ textAlign: "left",
8897
+ lineHeight: 1,
8898
+ height: 0,
8899
+ width: "fit-content",
8900
+ color: theme.palette.primary.main,
8901
+ fontSize: "12px",
8902
+ cursor: "pointer",
8903
+ marginLeft: "2px",
8904
+ marginRight: 0,
8905
+ top: 3,
8906
+ right: "12px",
8907
+ position: "absolute",
8908
+ ":hover": {
8909
+ color: theme.palette.primary.dark
8910
+ }
8911
+ }
8912
+ }
8913
+ }
8914
+ ]
8915
+ }
8916
+ );
8917
+ const schema2 = (_b = pageData == null ? void 0 : pageData.schema) != null ? _b : { type: "object", properties: {} };
8811
8918
  eventGroups = {};
8812
8919
  eventGroups = extractEvents(config);
8813
8920
  executeEventsParameters = {