impaktapps-ui-builder 0.0.63 → 0.0.65

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.
@@ -7512,6 +7512,7 @@ const buildPropertiesSection = function(type) {
7512
7512
  getRadioInputField("ColumnResizingAvailable", "ColumnResizing ", ["YES", "NO"]),
7513
7513
  getRadioInputField("DragAvailable", "Row Dragging", ["YES", "NO"]),
7514
7514
  getRadioInputField("downloadAllData", "Download All Data", ["YES", "NO"]),
7515
+ getRadioInputField("autoHeaders", "Auto Header", ["YES", "NO"]),
7515
7516
  getInputField("selectKey", "Selection Key"),
7516
7517
  emptyBox,
7517
7518
  buildWrapper("Tree Table Properties", [
@@ -9177,7 +9178,7 @@ function executeCustomHandler(params) {
9177
9178
  return response;
9178
9179
  }
9179
9180
  }
9180
- function mergeFormdata(handlerResponse, componentName, eventConfig, store2, service2, formDataHolder2) {
9181
+ function mergeFormdata(handlerResponse, componentName, eventConfig, store2, service2, formDataHolder) {
9181
9182
  if (eventConfig.type === "Select" && !(_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data) && (handlerResponse == null ? void 0 : handlerResponse.data))) {
9182
9183
  store2.setSchema((pre) => {
9183
9184
  var _a;
@@ -9221,9 +9222,9 @@ function mergeFormdata(handlerResponse, componentName, eventConfig, store2, serv
9221
9222
  }
9222
9223
  } else {
9223
9224
  if (handlerResponse) {
9224
- formDataHolder2[componentName] = handlerResponse.data;
9225
+ formDataHolder[componentName] = handlerResponse.data;
9225
9226
  store2.setFormdata((pre) => {
9226
- return { ...pre, ...formDataHolder2 };
9227
+ return { ...pre, ...formDataHolder };
9227
9228
  });
9228
9229
  }
9229
9230
  }
@@ -9313,7 +9314,6 @@ const notifyUiSchema = {
9313
9314
  },
9314
9315
  layout: 6
9315
9316
  };
9316
- let formDataHolder = {};
9317
9317
  let pageData = false;
9318
9318
  const extractEvents = (eventConfig) => {
9319
9319
  function extractsConfigEvents(eventConfigObj) {
@@ -9356,6 +9356,7 @@ const extractEvents = (eventConfig) => {
9356
9356
  };
9357
9357
  var service = (funcParams) => {
9358
9358
  eventGroups = {};
9359
+ const formDataHolder = {};
9359
9360
  if (pageData) {
9360
9361
  if (!lodash.exports.isEmpty(pageData) && typeof pageData === "object") {
9361
9362
  eventGroups = extractEvents(pageData == null ? void 0 : pageData.config);
@@ -10635,6 +10636,9 @@ const buildTable = (config, componentScope) => {
10635
10636
  if (config.downloadAllData) {
10636
10637
  table.config.main.downloadAllData = config.downloadAllData === "YES" ? true : false;
10637
10638
  }
10639
+ if (config.autoHeaders) {
10640
+ table.config.main.autoHeaders = config.autoHeaders === "YES" ? true : false;
10641
+ }
10638
10642
  if (config.Table_Download_Keys_Name) {
10639
10643
  table.config.main.TableDownloadKeysName = config.Table_Download_Keys_Name.map((e) => e.KeyName);
10640
10644
  }