impaktapps-ui-builder 1.0.160-test.2 → 1.0.162

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.
@@ -6313,6 +6313,14 @@ const ComponentSchema = {
6313
6313
  { title: "Standard", const: "standard" }
6314
6314
  ]
6315
6315
  },
6316
+ toolTipPosition: {
6317
+ oneOf: [
6318
+ { title: "Top", const: "top" },
6319
+ { title: "Left", const: "left" },
6320
+ { title: "Right", const: "right" },
6321
+ { title: "Bottom", const: "bottom" }
6322
+ ]
6323
+ },
6316
6324
  orientation: {
6317
6325
  oneOf: [
6318
6326
  { title: "Horizontal", const: "horizontal" },
@@ -7905,7 +7913,9 @@ const buildPropertiesSection = function(type) {
7905
7913
  getInputField("placeholder", "Placeholder"),
7906
7914
  getRadioInputField("multiline", "Multiline", ["YES", "NO"]),
7907
7915
  getSelectField("variant", "Variant"),
7908
- emptyBox$1("TextEmpty1", { xs: 6, sm: 6, md: 0, lg: 3 }),
7916
+ getInputField("toolTip", "Tooltip"),
7917
+ getSelectField("toolTipPosition", "Tooltip Position"),
7918
+ emptyBox$1("Radio", { xs: 6, sm: 6, md: 8, lg: 9 }),
7909
7919
  getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element"),
7910
7920
  getInputField("keyName", "Event Key Name")
7911
7921
  ];
@@ -8064,8 +8074,9 @@ const buildPropertiesSection = function(type) {
8064
8074
  case "Radio":
8065
8075
  uiSchema.elements = [
8066
8076
  getInputField("errorMessage", "Error Message"),
8067
- emptyBox$1("Radio", { xs: 6, sm: 6, md: 8, lg: 9 }),
8068
- getArrayControl("sectionLabels", "label", "Options Of Radio")
8077
+ getArrayControl("sectionLabels", "label", "Options Of Radio"),
8078
+ getInputField("toolTip", "Tooltip"),
8079
+ getSelectField("toolTipPosition", "Tooltip Position")
8069
8080
  ];
8070
8081
  break;
8071
8082
  case "Select":
@@ -8073,27 +8084,33 @@ const buildPropertiesSection = function(type) {
8073
8084
  getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
8074
8085
  getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
8075
8086
  getSelectField("variant", "Variant"),
8076
- emptyBox$1("SelectEmpty")
8087
+ getInputField("toolTip", "Tooltip"),
8088
+ getSelectField("toolTipPosition", "Tooltip Position"),
8089
+ emptyBox$1("SelectEmpty", { xs: 6, sm: 6, md: 8, lg: 9 })
8077
8090
  ];
8078
8091
  break;
8079
8092
  case "MultipleSelect":
8080
8093
  uiSchema.elements = [
8081
8094
  getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
8082
8095
  getSelectField("variant", "Variant"),
8083
- emptyBox$1("MultipleSelectEmpty1", { xs: 0, sm: 6, md: 4, lg: 4 }),
8084
- emptyBox$1("MultipleSelectEmpty2")
8096
+ getInputField("toolTip", "Tooltip"),
8097
+ getSelectField("toolTipPosition", "Tooltip Position")
8085
8098
  ];
8086
8099
  break;
8087
8100
  case "Date":
8088
8101
  uiSchema.elements = [
8089
8102
  getSelectField("variant", "Variant"),
8090
- emptyBox$1("DateEmpty1", { xs: 6, sm: 6, md: 8, lg: 9 })
8103
+ getInputField("toolTip", "Tooltip"),
8104
+ getSelectField("toolTipPosition", "Tooltip Position"),
8105
+ emptyBox$1("DateEmpty1", { xs: 6, sm: 6, md: 4, lg: 3 })
8091
8106
  ];
8092
8107
  break;
8093
8108
  case "DateTime":
8094
8109
  uiSchema.elements = [
8095
8110
  getSelectField("variant", "Variant"),
8096
- emptyBox$1("DateTimeEmpty1", { xs: 6, sm: 6, md: 8, lg: 9 })
8111
+ getInputField("toolTip", "Tooltip"),
8112
+ getSelectField("toolTipPosition", "Tooltip Position"),
8113
+ emptyBox$1("DateTimeEmpty1", { xs: 6, sm: 6, md: 4, lg: 3 })
8097
8114
  ];
8098
8115
  break;
8099
8116
  case "Thought":
@@ -8115,7 +8132,9 @@ const buildPropertiesSection = function(type) {
8115
8132
  getRadioInputField("disableDelete", "Disable Delete", ["YES", "NO"]),
8116
8133
  getRadioInputField("disableDownload", "Disable Download", ["YES", "NO"]),
8117
8134
  getInputField("description", "Enter description"),
8118
- emptyBox$1("FileInputEmpty", { xs: 6, sm: 6, md: 8, lg: 9 })
8135
+ getInputField("toolTip", "Tooltip"),
8136
+ getSelectField("toolTipPosition", "Tooltip Position"),
8137
+ emptyBox$1("FileInputEmpty", { xs: 6, sm: 6, md: 4, lg: 3 })
8119
8138
  ];
8120
8139
  break;
8121
8140
  }
@@ -8550,13 +8569,11 @@ async function saveHandler(store2, service2, submitHandler) {
8550
8569
  const saveReturn = await submitHandler(store2, service2, config2);
8551
8570
  navigateHandler(store2, true, "/PageMasterRecords");
8552
8571
  } catch (err) {
8553
- navigateHandler(store2, false, void 0, err.message);
8572
+ navigateHandler(store2, false);
8554
8573
  }
8555
- } else {
8556
- navigateHandler(store2, false);
8557
8574
  }
8558
8575
  }
8559
- const navigateHandler = (store2, isSubmitted, pageName, errorMessage) => {
8576
+ const navigateHandler = (store2, isSubmitted, pageName) => {
8560
8577
  if (isSubmitted) {
8561
8578
  sessionStorage.removeItem("pageFormdata");
8562
8579
  store2.navigate(pageName || -1);
@@ -8568,7 +8585,7 @@ const navigateHandler = (store2, isSubmitted, pageName, errorMessage) => {
8568
8585
  store2.setValidation("ValidateAndShow");
8569
8586
  store2.setNotify({
8570
8587
  Fail: true,
8571
- FailMessage: errorMessage || "Errors on Page"
8588
+ FailMessage: "Errors on Page"
8572
8589
  });
8573
8590
  }
8574
8591
  };
@@ -11248,6 +11265,12 @@ const buildTextField = (config2, componentScope2) => {
11248
11265
  if (config2.layout) {
11249
11266
  inputField.config.layout = createLayoutFormat(config2.layout);
11250
11267
  }
11268
+ if (config2.toolTip) {
11269
+ inputField.config.main.toolTip = config2.toolTip;
11270
+ }
11271
+ if (config2.toolTipPosition) {
11272
+ inputField.config.main.toolTipPosition = config2.toolTipPosition;
11273
+ }
11251
11274
  inputField.config.main.errorMessage = `${config2.name} is empty or invalid`;
11252
11275
  inputField.scope = componentScope2;
11253
11276
  return inputField;
@@ -11285,6 +11308,12 @@ const buildSelect = (config2, componentScope2) => {
11285
11308
  if (config2.layout) {
11286
11309
  selectInputField.config.layout = createLayoutFormat(config2.layout);
11287
11310
  }
11311
+ if (config2.toolTip) {
11312
+ selectInputField.config.main.toolTip = config2.toolTip;
11313
+ }
11314
+ if (config2.toolTipPosition) {
11315
+ selectInputField.config.main.toolTipPosition = config2.toolTipPosition;
11316
+ }
11288
11317
  selectInputField.scope = componentScope2;
11289
11318
  return selectInputField;
11290
11319
  };
@@ -11523,6 +11552,12 @@ const buildUploadFile = (config2, componentScope2) => {
11523
11552
  if (config2.required) {
11524
11553
  UploadFile.config.main.required = true;
11525
11554
  }
11555
+ if (config2.toolTip) {
11556
+ UploadFile.config.main.toolTip = config2.toolTip;
11557
+ }
11558
+ if (config2.toolTipPosition) {
11559
+ UploadFile.config.main.toolTipPosition = config2.toolTipPosition;
11560
+ }
11526
11561
  UploadFile.config.main.errorMessage = config2.errorMessage;
11527
11562
  return UploadFile;
11528
11563
  };
@@ -11545,6 +11580,12 @@ const buildDownloadFile = (config2, componentScope2) => {
11545
11580
  if (config2.errorMessage) {
11546
11581
  DownloadFile.config.main.errorMessage = config2.errorMessage;
11547
11582
  }
11583
+ if (config2.toolTip) {
11584
+ DownloadFile.config.main.toolTip = config2.toolTip;
11585
+ }
11586
+ if (config2.toolTipPosition) {
11587
+ DownloadFile.config.main.toolTipPosition = config2.toolTipPosition;
11588
+ }
11548
11589
  return DownloadFile;
11549
11590
  };
11550
11591
  function Card(theme) {
@@ -11827,6 +11868,12 @@ const buildDate = (config2, componentScope2) => {
11827
11868
  if (config2.variant) {
11828
11869
  dateInputField.config.main.variant = config2.variant;
11829
11870
  }
11871
+ if (config2.toolTip) {
11872
+ dateInputField.config.main.toolTip = config2.toolTip;
11873
+ }
11874
+ if (config2.toolTipPosition) {
11875
+ dateInputField.config.main.toolTipPosition = config2.toolTipPosition;
11876
+ }
11830
11877
  return dateInputField;
11831
11878
  };
11832
11879
  const buildDateTime = (config2, componentScope2) => {
@@ -11840,6 +11887,12 @@ const buildDateTime = (config2, componentScope2) => {
11840
11887
  if (config2.variant) {
11841
11888
  dateTimeInputField.config.main.variant = config2.variant;
11842
11889
  }
11890
+ if (config2.toolTip) {
11891
+ dateTimeInputField.config.main.toolTip = config2.toolTip;
11892
+ }
11893
+ if (config2.toolTipPosition) {
11894
+ dateTimeInputField.config.main.toolTipPosition = config2.toolTipPosition;
11895
+ }
11843
11896
  return dateTimeInputField;
11844
11897
  };
11845
11898
  var RankCard = {
@@ -11951,6 +12004,12 @@ const buildMultiSelect = (config2, componentScope2) => {
11951
12004
  if (config2.lazyLoading) {
11952
12005
  multipleSelect.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
11953
12006
  }
12007
+ if (config2.toolTip) {
12008
+ multipleSelect.config.main.toolTip = config2.toolTip;
12009
+ }
12010
+ if (config2.toolTipPosition) {
12011
+ multipleSelect.config.main.toolTipPosition = config2.toolTipPosition;
12012
+ }
11954
12013
  return multipleSelect;
11955
12014
  };
11956
12015
  const buildBasicUiSchema = (config2) => {
@@ -12135,6 +12194,12 @@ const buildRadio = (config2, componentScope2) => {
12135
12194
  if (config2.errorMessage) {
12136
12195
  Radio.config.main.errorMessage = config2.errorMessage;
12137
12196
  }
12197
+ if (config2.toolTip) {
12198
+ Radio.config.main.toolTip = config2.toolTip;
12199
+ }
12200
+ if (config2.toolTipPosition) {
12201
+ Radio.config.main.toolTipPosition = config2.toolTipPosition;
12202
+ }
12138
12203
  return Radio;
12139
12204
  };
12140
12205
  var emptyBox = {
@@ -12290,6 +12355,12 @@ const buildFileInput = (config2, componentScope2) => {
12290
12355
  if (config2.description) {
12291
12356
  box.config.main.description = config2.description;
12292
12357
  }
12358
+ if (config2.toolTip) {
12359
+ box.config.main.toolTip = config2.toolTip;
12360
+ }
12361
+ if (config2.toolTipPosition) {
12362
+ box.config.main.toolTipPosition = config2.toolTipPosition;
12363
+ }
12293
12364
  return box;
12294
12365
  };
12295
12366
  const Stepper = {