impaktapps-ui-builder 1.0.56 → 1.0.57-alpha.100

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.
@@ -8477,7 +8477,7 @@ function refreshPage(type, store2) {
8477
8477
  const lastDotIndex = path.lastIndexOf(".");
8478
8478
  const parentPath = path.slice(0, lastDotIndex);
8479
8479
  const parentObj = _.get(currentConfig, parentPath);
8480
- if ((parentObj == null ? void 0 : parentObj.type) === "Table") {
8480
+ if ((parentObj == null ? void 0 : parentObj.type) === "Table" || "ColumnGroup") {
8481
8481
  UiSchema.elements[0].elements[0].elements[4] = {
8482
8482
  type: "Control",
8483
8483
  scope: "#/properties/columnFormat",
@@ -8966,14 +8966,14 @@ const EventSchema = {
8966
8966
  { title: "Start", const: "onStart" },
8967
8967
  { title: "Cell Render", const: "onCellRenderer" },
8968
8968
  { title: "Upload", const: "onUpload" },
8969
+ { title: "FileDelete", const: "onFileDelete" },
8970
+ { title: "Download", const: "onDownload" },
8969
8971
  { title: "Back", const: "onBack" },
8970
8972
  { title: "Next", const: "onNext" },
8971
8973
  { title: "Row Movement", const: "onRowMovement" },
8972
8974
  { title: "Download", const: "onDownload" },
8973
8975
  { title: "Fail", const: "Fail" },
8974
- { title: "Key Down", const: "onKeyDown" },
8975
- { title: "PopUP NO Event", const: "onDeletePopupNo" },
8976
- { title: "PopUP Yes Event", const: "onDeletePopupYes" }
8976
+ { title: "Key Down", const: "onKeyDown" }
8977
8977
  ]
8978
8978
  },
8979
8979
  Handler: {
@@ -10500,11 +10500,8 @@ var service = (funcParams) => {
10500
10500
  onKeyDown: function() {
10501
10501
  this.callHandler("onKeyDown");
10502
10502
  },
10503
- onDeletePopupNo: function() {
10504
- this.callHandler("onDeletePopupNo");
10505
- },
10506
- onDeletePopupYes: function() {
10507
- this.callHandler("onDeletePopupYes");
10503
+ onFileDelete: function() {
10504
+ this.callHandler("onFileDelete");
10508
10505
  },
10509
10506
  onMount: function() {
10510
10507
  this.callHandler("onMount");
@@ -12430,7 +12427,7 @@ const buildSchema = (config2, tableName, isArrayType) => {
12430
12427
  });
12431
12428
  } else {
12432
12429
  config2.elements.map((e, elemInd) => {
12433
- buildSchema(e, config2.name, config2.type === "PopUp");
12430
+ buildSchema(e);
12434
12431
  });
12435
12432
  }
12436
12433
  }
@@ -12616,7 +12613,7 @@ const buildUiSchema = (config2, store2) => {
12616
12613
  config2.elements.filter((cellElem, elemInd) => {
12617
12614
  const commonProperties = {
12618
12615
  accessorKey: cellElem.name,
12619
- type: cellElem.columnFormat,
12616
+ type: cellElem.type === "ColumnGroup" ? "ColumnGroup" : cellElem.columnFormat,
12620
12617
  header: cellElem.label || cellElem.name,
12621
12618
  size: sizeMap[cellElem.name] || 180,
12622
12619
  enableColumnFilter: cellElem.enableFilter === "No" ? false : true,