impaktapps-ui-builder 1.0.424 → 1.0.425
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 +19 -23
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +1 -1
- 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 +0 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +5 -5
- package/src/impaktapps-ui-builder/runtime/services/service.ts +9 -14
|
@@ -8258,12 +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"]),
|
|
8263
8262
|
getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
|
|
8264
8263
|
getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
|
|
8265
8264
|
getInputField("defaultColumnSize", "Default Column Size"),
|
|
8266
|
-
|
|
8265
|
+
,
|
|
8267
8266
|
emptyBox$1("LazyLoadingTableEmpty3")
|
|
8268
8267
|
]),
|
|
8269
8268
|
getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
|
|
@@ -8283,16 +8282,18 @@ const buildPropertiesSection = function(type) {
|
|
|
8283
8282
|
case "Select":
|
|
8284
8283
|
uiSchema.elements = [
|
|
8285
8284
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
8285
|
+
getInputField("pageSize", "Single Page Size"),
|
|
8286
8286
|
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
|
|
8287
8287
|
getSelectField("variant", "Variant"),
|
|
8288
8288
|
getInputField("toolTip", "Tooltip"),
|
|
8289
8289
|
getSelectField("toolTipPosition", "Tooltip Position"),
|
|
8290
|
-
emptyBox$1("SelectEmpty", { xs:
|
|
8290
|
+
emptyBox$1("SelectEmpty", { xs: 0, sm: 0, md: 0, lg: 6 })
|
|
8291
8291
|
];
|
|
8292
8292
|
break;
|
|
8293
8293
|
case "MultipleSelect":
|
|
8294
8294
|
uiSchema.elements = [
|
|
8295
8295
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
8296
|
+
getInputField("pageSize", "Single Page Size"),
|
|
8296
8297
|
getSelectField("variant", "Variant"),
|
|
8297
8298
|
getInputField("toolTip", "Tooltip"),
|
|
8298
8299
|
getSelectField("toolTipPosition", "Tooltip Position")
|
|
@@ -10932,25 +10933,20 @@ var service = (funcParams) => {
|
|
|
10932
10933
|
{ key: "sorting", value: paginationValues.sorting || [] },
|
|
10933
10934
|
{ key: "filters", value: paginationValues.tableColumnConfig || [] },
|
|
10934
10935
|
{ key: "globalFilter", value: (_a = paginationValues.globalFilter) != null ? _a : "" },
|
|
10935
|
-
{ key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] }
|
|
10936
|
-
{ key: "subRowsPagination", value: paginationValues.subRowsPagination || [] },
|
|
10937
|
-
{ key: "loadChildOnly", value: paginationValues.loadChildOnly || false },
|
|
10938
|
-
{ key: "parentId", value: paginationValues.parentId },
|
|
10939
|
-
{ key: "prevRowCount", value: paginationValues.prevRowCount },
|
|
10940
|
-
{ key: "newDataCount", value: paginationValues.newDataCount }
|
|
10936
|
+
{ key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] }
|
|
10941
10937
|
];
|
|
10942
10938
|
const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
|
|
10943
10939
|
return response == null ? void 0 : response.data;
|
|
10944
10940
|
},
|
|
10945
10941
|
getSelectOptions: async function(param) {
|
|
10946
|
-
|
|
10947
|
-
|
|
10948
|
-
|
|
10949
|
-
|
|
10950
|
-
|
|
10951
|
-
|
|
10952
|
-
|
|
10953
|
-
|
|
10942
|
+
const apiBody = [
|
|
10943
|
+
{ key: "searchValue", value: param.serachValue },
|
|
10944
|
+
{ key: "currentValue", value: param.currentValue },
|
|
10945
|
+
{ key: "currentPage", value: param.currentPage },
|
|
10946
|
+
{ key: "limit", value: param.limit }
|
|
10947
|
+
];
|
|
10948
|
+
const response = await this.callExecuteEvents(param, apiBody, "onLoad");
|
|
10949
|
+
return response == null ? void 0 : response.data;
|
|
10954
10950
|
},
|
|
10955
10951
|
onChange: function() {
|
|
10956
10952
|
if (!eventGroups.onChange)
|
|
@@ -11645,6 +11641,9 @@ const buildSelect = (config2, componentScope2) => {
|
|
|
11645
11641
|
}
|
|
11646
11642
|
if (config2.lazyLoading) {
|
|
11647
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
|
+
}
|
|
11648
11647
|
}
|
|
11649
11648
|
if (config2.variant) {
|
|
11650
11649
|
selectInputField.config.main.variant = config2.variant;
|
|
@@ -11750,15 +11749,9 @@ const buildTable = (config2, componentScope2) => {
|
|
|
11750
11749
|
if (config2.lazyLoading) {
|
|
11751
11750
|
table.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
|
|
11752
11751
|
}
|
|
11753
|
-
if (config2.lazyLoadTree) {
|
|
11754
|
-
table.config.main.lazyTree = config2.lazyLoadTree === "YES" ? true : false;
|
|
11755
|
-
}
|
|
11756
11752
|
if (config2.defaultColumnSize) {
|
|
11757
11753
|
table.config.main.defaultColumnSize = config2.defaultColumnSize;
|
|
11758
11754
|
}
|
|
11759
|
-
if (config2.subRowsExpansionPageSize) {
|
|
11760
|
-
table.config.main.subRowsExpansionPageSize = config2.subRowsExpansionPageSize;
|
|
11761
|
-
}
|
|
11762
11755
|
if (config2.enableRowMovement) {
|
|
11763
11756
|
table.config.main.enableRowMovement = config2.enableRowMovement === "YES" ? true : false;
|
|
11764
11757
|
}
|
|
@@ -12354,6 +12347,9 @@ const buildMultiSelect = (config2, componentScope2) => {
|
|
|
12354
12347
|
}
|
|
12355
12348
|
if (config2.lazyLoading) {
|
|
12356
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
|
+
}
|
|
12357
12353
|
}
|
|
12358
12354
|
if (config2.toolTip) {
|
|
12359
12355
|
multipleSelect.config.main.toolTip = config2.toolTip;
|