impaktapps-ui-builder 1.0.432 → 1.0.434
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/dist/impaktapps-ui-builder.es.js +23 -21
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +6 -6
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildMultiSelect.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildSelect.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +3 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +6 -5
- package/src/impaktapps-ui-builder/runtime/services/service.ts +9 -12
|
@@ -8258,11 +8258,11 @@ const buildPropertiesSection = function(type) {
|
|
|
8258
8258
|
buildWrapper("Tree Table Properties", [
|
|
8259
8259
|
getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
|
|
8260
8260
|
getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
|
|
8261
|
-
getRadioInputField("lazyLoadTree", "Lazy Load Tree", ["YES", "NO"]),
|
|
8262
8261
|
getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
|
|
8262
|
+
getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
|
|
8263
8263
|
getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
|
|
8264
8264
|
getInputField("defaultColumnSize", "Default Column Size"),
|
|
8265
|
-
|
|
8265
|
+
,
|
|
8266
8266
|
emptyBox$1("LazyLoadingTableEmpty3")
|
|
8267
8267
|
]),
|
|
8268
8268
|
getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
|
|
@@ -8282,16 +8282,18 @@ const buildPropertiesSection = function(type) {
|
|
|
8282
8282
|
case "Select":
|
|
8283
8283
|
uiSchema.elements = [
|
|
8284
8284
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
8285
|
+
getInputField("pageSize", "Single Page Size"),
|
|
8285
8286
|
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
|
|
8286
8287
|
getSelectField("variant", "Variant"),
|
|
8287
8288
|
getInputField("toolTip", "Tooltip"),
|
|
8288
8289
|
getSelectField("toolTipPosition", "Tooltip Position"),
|
|
8289
|
-
emptyBox$1("SelectEmpty", { xs:
|
|
8290
|
+
emptyBox$1("SelectEmpty", { xs: 0, sm: 0, md: 0, lg: 6 })
|
|
8290
8291
|
];
|
|
8291
8292
|
break;
|
|
8292
8293
|
case "MultipleSelect":
|
|
8293
8294
|
uiSchema.elements = [
|
|
8294
8295
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
8296
|
+
getInputField("pageSize", "Single Page Size"),
|
|
8295
8297
|
getSelectField("variant", "Variant"),
|
|
8296
8298
|
getInputField("toolTip", "Tooltip"),
|
|
8297
8299
|
getSelectField("toolTipPosition", "Tooltip Position")
|
|
@@ -10931,23 +10933,20 @@ var service = (funcParams) => {
|
|
|
10931
10933
|
{ key: "sorting", value: paginationValues.sorting || [] },
|
|
10932
10934
|
{ key: "filters", value: paginationValues.tableColumnConfig || [] },
|
|
10933
10935
|
{ key: "globalFilter", value: (_a = paginationValues.globalFilter) != null ? _a : "" },
|
|
10934
|
-
{ key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] }
|
|
10935
|
-
{ key: "parentId", value: paginationValues.parentId },
|
|
10936
|
-
{ key: "prevRowCount", value: paginationValues.prevRowCount },
|
|
10937
|
-
{ key: "newDataCount", value: paginationValues.newDataCount }
|
|
10936
|
+
{ key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] }
|
|
10938
10937
|
];
|
|
10939
10938
|
const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
|
|
10940
10939
|
return response == null ? void 0 : response.data;
|
|
10941
10940
|
},
|
|
10942
10941
|
getSelectOptions: async function(param) {
|
|
10943
|
-
|
|
10944
|
-
|
|
10945
|
-
|
|
10946
|
-
|
|
10947
|
-
|
|
10948
|
-
|
|
10949
|
-
|
|
10950
|
-
|
|
10942
|
+
const apiBody = [
|
|
10943
|
+
{ key: "searchValue", value: param.searchValue },
|
|
10944
|
+
{ key: "currentValue", value: param.currentValue },
|
|
10945
|
+
{ key: "currentItemCount", value: param.currentItemCount },
|
|
10946
|
+
{ key: "limit", value: param.limit }
|
|
10947
|
+
];
|
|
10948
|
+
const response = await this.callExecuteEvents(param, apiBody, "onLoad");
|
|
10949
|
+
return response == null ? void 0 : response.data;
|
|
10951
10950
|
},
|
|
10952
10951
|
onChange: function() {
|
|
10953
10952
|
if (!eventGroups.onChange)
|
|
@@ -11642,6 +11641,9 @@ const buildSelect = (config2, componentScope2) => {
|
|
|
11642
11641
|
}
|
|
11643
11642
|
if (config2.lazyLoading) {
|
|
11644
11643
|
selectInputField.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
|
|
11644
|
+
if (config2.lazyLoading === "YES" && config2.pageSize) {
|
|
11645
|
+
selectInputField.config.main.pageSize = config2.pageSize;
|
|
11646
|
+
}
|
|
11645
11647
|
}
|
|
11646
11648
|
if (config2.variant) {
|
|
11647
11649
|
selectInputField.config.main.variant = config2.variant;
|
|
@@ -11747,15 +11749,9 @@ const buildTable = (config2, componentScope2) => {
|
|
|
11747
11749
|
if (config2.lazyLoading) {
|
|
11748
11750
|
table.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
|
|
11749
11751
|
}
|
|
11750
|
-
if (config2.lazyLoadTree) {
|
|
11751
|
-
table.config.main.lazyTree = config2.lazyLoadTree === "YES" ? true : false;
|
|
11752
|
-
}
|
|
11753
11752
|
if (config2.defaultColumnSize) {
|
|
11754
11753
|
table.config.main.defaultColumnSize = config2.defaultColumnSize;
|
|
11755
11754
|
}
|
|
11756
|
-
if (config2.subRowsExpansionPageSize) {
|
|
11757
|
-
table.config.main.subRowsExpansionPageSize = config2.subRowsExpansionPageSize;
|
|
11758
|
-
}
|
|
11759
11755
|
if (config2.enableRowMovement) {
|
|
11760
11756
|
table.config.main.enableRowMovement = config2.enableRowMovement === "YES" ? true : false;
|
|
11761
11757
|
}
|
|
@@ -11771,6 +11767,9 @@ const buildTable = (config2, componentScope2) => {
|
|
|
11771
11767
|
if (config2.paginateExpandedRows) {
|
|
11772
11768
|
table.config.main.paginateExpandedRows = config2.paginateExpandedRows === "YES" ? true : false;
|
|
11773
11769
|
}
|
|
11770
|
+
if (config2.treeStructure) {
|
|
11771
|
+
table.config.main.treeStructure = config2.treeStructure === "YES" ? "flatTreeMap" : false;
|
|
11772
|
+
}
|
|
11774
11773
|
if (config2.SelectionAvailable) {
|
|
11775
11774
|
table.config.main.Selection = config2.SelectionAvailable === "YES" ? true : false;
|
|
11776
11775
|
}
|
|
@@ -12348,6 +12347,9 @@ const buildMultiSelect = (config2, componentScope2) => {
|
|
|
12348
12347
|
}
|
|
12349
12348
|
if (config2.lazyLoading) {
|
|
12350
12349
|
multipleSelect.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
|
|
12350
|
+
if (config2.lazyLoading === "YES" && config2.pageSize) {
|
|
12351
|
+
multipleSelect.config.main.pageSize = config2.pageSize;
|
|
12352
|
+
}
|
|
12351
12353
|
}
|
|
12352
12354
|
if (config2.toolTip) {
|
|
12353
12355
|
multipleSelect.config.main.toolTip = config2.toolTip;
|