impaktapps-ui-builder 1.0.484 → 1.0.486

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "1.0.484",
3
+ "version": "1.0.486",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -30,9 +30,6 @@ export const buildTable = (config: any, componentScope: string) => {
30
30
  if (config.paginateExpandedRows) {
31
31
  table.config.main.paginateExpandedRows = config.paginateExpandedRows === "YES" ? true : false;
32
32
  }
33
- if (config.treeStructure) {
34
- table.config.main.treeStructure = config.treeStructure === "YES" ? "flatTreeMap" : false;
35
- }
36
33
  if (config.SelectionAvailable) {
37
34
  table.config.main.Selection = config.SelectionAvailable === "YES" ? true : false
38
35
  };
@@ -32,6 +32,9 @@ export const buildTextField = (config: any, componentScope: string) => {
32
32
  if (config.toolTipPosition) {
33
33
  inputField.config.main.toolTipPosition = config.toolTipPosition;
34
34
  }
35
+ if(config.iconName){
36
+ inputField.config.main.startIcon = config.iconName;
37
+ }
35
38
  inputField.config.main.errorMessage = `${config.name} is empty or invalid`;
36
39
  inputField.scope = componentScope;
37
40
  return inputField;
@@ -440,7 +440,8 @@ export const buildPropertiesSection = function (type: String) {
440
440
  { label: "Right", value: "right" },
441
441
  { label: "Bottom", value: "bottom" }
442
442
  ]),
443
- emptyBox("Radio", { xs: 6, sm: 6, md: 8, lg: 9 }),
443
+ getSelectField("iconName", "Start Icon", []),
444
+ emptyBox("Radio", { xs: 0, sm: 0, md: 0, lg: 6 }),
444
445
  getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element"),
445
446
  getInputField("keyName", "Event Key Name"),
446
447
  ]
@@ -650,7 +651,6 @@ export const buildPropertiesSection = function (type: String) {
650
651
  getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
651
652
  // getRadioInputField("enableExpandAll", "Use All Row Expanding", ["YES", "NO"]),
652
653
  getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
653
- getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
654
654
  getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
655
655
  getInputField("defaultColumnSize", "Default Column Size"), , emptyBox("LazyLoadingTableEmpty3")
656
656
  ]),
@@ -190,7 +190,8 @@ export default (funcParams: funcParamsProps) => {
190
190
  { key: "sorting", value: paginationValues.sorting || [] },
191
191
  { key: "filters", value: paginationValues.tableColumnConfig || [] },
192
192
  { key: "globalFilter", value: paginationValues.globalFilter ?? '' },
193
- { key: "expandedRowIds", value: paginationValues.expandedRowIds ?? [] }
193
+ { key: "parentIds", value: paginationValues.parentIds},
194
+ { key: "isExpandAll", value: paginationValues.isExpandAll},
194
195
  ]
195
196
  const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
196
197
  return response?.data;