impaktapps-ui-builder 1.0.103 → 1.0.104

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.
@@ -7878,7 +7878,8 @@ const buildPropertiesSection = function(type) {
7878
7878
  getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
7879
7879
  getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
7880
7880
  getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
7881
- emptyBox$1("LazyLoadingTableEmpty2"),
7881
+ getInputField("defaultColumnSize", "Default Column Size"),
7882
+ ,
7882
7883
  emptyBox$1("LazyLoadingTableEmpty3")
7883
7884
  ]),
7884
7885
  getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
@@ -10370,19 +10371,22 @@ var service = (funcParams) => {
10370
10371
  funcParams.store.setUiSchema(uiSchema);
10371
10372
  },
10372
10373
  onCellRenderer: (cellParams) => {
10373
- var _a, _b, _c, _d;
10374
- if (eventGroups.onCellRenderer) {
10374
+ var _a, _b, _c, _d, _e;
10375
+ const cloneEventGroup = _.cloneDeep(eventGroups);
10376
+ if (cloneEventGroup.onCellRenderer) {
10375
10377
  let finalResponse = {};
10376
10378
  const path = ((_a = funcParams.dynamicData) == null ? void 0 : _a.tableButtonPath) || ((_c = (_b = funcParams == null ? void 0 : funcParams.dynamicData) == null ? void 0 : _b.path) == null ? void 0 : _c.split(".")[0]);
10377
- for (const eventConfig of (_d = eventGroups == null ? void 0 : eventGroups.onCellRenderer) == null ? void 0 : _d[path]) {
10378
- executeEventsParameters.store.functionParameters = cellParams;
10379
- finalResponse = executeEvents({
10380
- ...executeEventsParameters,
10381
- config: eventConfig,
10382
- componentName: path
10383
- });
10379
+ if ((_d = cloneEventGroup == null ? void 0 : cloneEventGroup.onCellRenderer) == null ? void 0 : _d[path]) {
10380
+ for (const eventConfig of (_e = cloneEventGroup == null ? void 0 : cloneEventGroup.onCellRenderer) == null ? void 0 : _e[path]) {
10381
+ executeEventsParameters.store.functionParameters = cellParams;
10382
+ finalResponse = executeEvents({
10383
+ ...executeEventsParameters,
10384
+ config: eventConfig,
10385
+ componentName: path
10386
+ });
10387
+ }
10388
+ return finalResponse;
10384
10389
  }
10385
- return finalResponse;
10386
10390
  }
10387
10391
  return {};
10388
10392
  },
@@ -11135,6 +11139,9 @@ const buildTable = (config2, componentScope2) => {
11135
11139
  if (config2.lazyLoading) {
11136
11140
  table.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
11137
11141
  }
11142
+ if (config2.defaultColumnSize) {
11143
+ table.config.main.enableRowMovement = config2.defaultColumnSize;
11144
+ }
11138
11145
  if (config2.enableRowMovement) {
11139
11146
  table.config.main.enableRowMovement = config2.enableRowMovement === "YES" ? true : false;
11140
11147
  }