impaktapps-ui-builder 0.0.366 → 0.0.368

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.
@@ -5871,6 +5871,7 @@ const ComponentSchema = {
5871
5871
  { title: "Card", const: "card" },
5872
5872
  { title: "CheckBox", const: "CheckBox" },
5873
5873
  { title: "Container", const: "WrapperSection" },
5874
+ { title: "DataGrid", const: "DataGrid" },
5874
5875
  { title: "Date", const: "Date" },
5875
5876
  { title: "Download File", const: "DownloadFile" },
5876
5877
  { title: "Empty Box", const: "EmptyBox" },
@@ -6814,6 +6815,12 @@ const GraphSection = {
6814
6815
  const buildPropertiesSection = function(type) {
6815
6816
  let uiSchema = _.cloneDeep(GraphSection);
6816
6817
  switch (type) {
6818
+ case "DataGrid":
6819
+ uiSchema.elements = [
6820
+ getRadioInputField("useWrapper", "use Item Wrapper", ["YES", "NO"]),
6821
+ getInputField("elevation", "Item Wrapper Elevation")
6822
+ ];
6823
+ break;
6817
6824
  case "Stepper":
6818
6825
  uiSchema.elements = [
6819
6826
  getRadioInputField("resetButton", "Reset Button", ["YES", "NO"]),
@@ -7387,7 +7394,8 @@ const sectionLabels = {
7387
7394
  Text: ["Core", "Properties", "style", "Event", "Validation"],
7388
7395
  TextArea: ["Core", "Properties", "style", "Event", "Validation"],
7389
7396
  PopUp: ["Core", "Components", "Properties", "style"],
7390
- Stepper: ["Core", "Components", "Properties", "Event", "style"]
7397
+ Stepper: ["Core", "Components", "Properties", "Event", "style"],
7398
+ DataGrid: ["Core", "Components", "Properties", "Event", "style"]
7391
7399
  };
7392
7400
  const refreshPage = (type, store2) => {
7393
7401
  var _a;
@@ -8233,6 +8241,15 @@ const downloadFile$1 = (obj) => {
8233
8241
  URL.revokeObjectURL(url);
8234
8242
  document.body.removeChild(link);
8235
8243
  };
8244
+ const downloadBlobFile = (response2) => {
8245
+ const url = window.URL.createObjectURL(new Blob([response2.data]));
8246
+ const link = document.createElement("a");
8247
+ link.href = url;
8248
+ link.setAttribute("download", `${response2.headers.data}`);
8249
+ document.body.appendChild(link);
8250
+ link.click();
8251
+ link.parentNode.removeChild(link);
8252
+ };
8236
8253
  const executeEvents = async (params2) => {
8237
8254
  var _a, _b, _c;
8238
8255
  let nextEvent = [];
@@ -8647,7 +8664,8 @@ var service = (funcParams) => {
8647
8664
  }
8648
8665
  }
8649
8666
  },
8650
- downloadFile: downloadFile$1
8667
+ downloadFile: downloadFile$1,
8668
+ downloadBlobFile
8651
8669
  };
8652
8670
  };
8653
8671
  var leaderBoard = {