impaktapps-ui-builder 1.0.239 → 1.0.241

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.
@@ -8250,11 +8250,12 @@ const buildPropertiesSection = function(type) {
8250
8250
  buildWrapper("Tree Table Properties", [
8251
8251
  getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
8252
8252
  getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
8253
+ getRadioInputField("lazyLoadTree", "Lazy Load Tree", ["YES", "NO"]),
8253
8254
  getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
8254
8255
  getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
8255
8256
  getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
8256
8257
  getInputField("defaultColumnSize", "Default Column Size"),
8257
- ,
8258
+ getInputField("subRowsExpansionPageSize", "Page Size for Subrows Expansion"),
8258
8259
  emptyBox$1("LazyLoadingTableEmpty3")
8259
8260
  ]),
8260
8261
  getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
@@ -10835,13 +10836,13 @@ var service = (funcParams) => {
10835
10836
  });
10836
10837
  },
10837
10838
  getStyle: () => {
10838
- var _a, _b, _c, _d;
10839
+ var _a, _b, _c, _d, _e;
10839
10840
  const cloneEventGroup = _.cloneDeep(eventGroups);
10840
10841
  if (cloneEventGroup.setStyle) {
10841
10842
  let finalResponse = {};
10842
- const path = ((_a = funcParams.dynamicData) == null ? void 0 : _a.tableButtonPath) || ((_b = funcParams == null ? void 0 : funcParams.dynamicData.path) == null ? void 0 : _b.split(".").pop());
10843
- if ((_c = cloneEventGroup == null ? void 0 : cloneEventGroup.setStyle) == null ? void 0 : _c[path]) {
10844
- for (const eventConfig of (_d = cloneEventGroup == null ? void 0 : cloneEventGroup.setStyle) == null ? void 0 : _d[path]) {
10843
+ 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]);
10844
+ if ((_d = cloneEventGroup == null ? void 0 : cloneEventGroup.setStyle) == null ? void 0 : _d[path]) {
10845
+ for (const eventConfig of (_e = cloneEventGroup == null ? void 0 : cloneEventGroup.setStyle) == null ? void 0 : _e[path]) {
10845
10846
  finalResponse = executeEvents({
10846
10847
  ...executeEventsParameters,
10847
10848
  config: eventConfig,
@@ -10912,7 +10913,8 @@ var service = (funcParams) => {
10912
10913
  { key: "sorting", value: paginationValues.sorting || [] },
10913
10914
  { key: "filters", value: paginationValues.tableColumnConfig || [] },
10914
10915
  { key: "globalFilter", value: (_a = paginationValues.globalFilter) != null ? _a : "" },
10915
- { key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] }
10916
+ { key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] },
10917
+ { key: "subRowsPagination", value: paginationValues.subRowsPagination || [] }
10916
10918
  ];
10917
10919
  const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
10918
10920
  return response == null ? void 0 : response.data;
@@ -11709,9 +11711,15 @@ const buildTable = (config2, componentScope2) => {
11709
11711
  if (config2.lazyLoading) {
11710
11712
  table.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
11711
11713
  }
11714
+ if (config2.lazyLoadTree) {
11715
+ table.config.main.lazyTree = config2.lazyLoadTree === "YES" ? true : false;
11716
+ }
11712
11717
  if (config2.defaultColumnSize) {
11713
11718
  table.config.main.defaultColumnSize = config2.defaultColumnSize;
11714
11719
  }
11720
+ if (config2.subRowsExpansionPageSize) {
11721
+ table.config.main.subRowsExpansionPageSize = config2.subRowsExpansionPageSize;
11722
+ }
11715
11723
  if (config2.enableRowMovement) {
11716
11724
  table.config.main.enableRowMovement = config2.enableRowMovement === "YES" ? true : false;
11717
11725
  }