impaktapps-ui-builder 1.0.238 → 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.
- package/dist/impaktapps-ui-builder.es.js +12 -10
- 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/buildDate.ts +0 -6
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +6 -4
- package/src/impaktapps-ui-builder/runtime/services/service.ts +2 -1
|
@@ -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"),
|
|
@@ -8294,7 +8295,7 @@ const buildPropertiesSection = function(type) {
|
|
|
8294
8295
|
getSelectField("variant", "Variant"),
|
|
8295
8296
|
getInputField("toolTip", "Tooltip"),
|
|
8296
8297
|
getSelectField("toolTipPosition", "Tooltip Position"),
|
|
8297
|
-
|
|
8298
|
+
emptyBox$1("imageEmpty", { xs: 0, sm: 0, md: 4, lg: 6 })
|
|
8298
8299
|
];
|
|
8299
8300
|
break;
|
|
8300
8301
|
case "DateTime":
|
|
@@ -8302,7 +8303,7 @@ const buildPropertiesSection = function(type) {
|
|
|
8302
8303
|
getSelectField("variant", "Variant"),
|
|
8303
8304
|
getInputField("toolTip", "Tooltip"),
|
|
8304
8305
|
getSelectField("toolTipPosition", "Tooltip Position"),
|
|
8305
|
-
|
|
8306
|
+
emptyBox$1("imageEmpty", { xs: 0, sm: 0, md: 4, lg: 6 })
|
|
8306
8307
|
];
|
|
8307
8308
|
break;
|
|
8308
8309
|
case "Thought":
|
|
@@ -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
|
}
|
|
@@ -12159,9 +12167,6 @@ const DateTime = {
|
|
|
12159
12167
|
const buildDate = (config2, componentScope2) => {
|
|
12160
12168
|
const dateInputField = _.cloneDeep(DateInputField);
|
|
12161
12169
|
dateInputField.config.main.label = config2.label;
|
|
12162
|
-
if (config2.errorMessage) {
|
|
12163
|
-
dateInputField.config.main.errorMessage = config2.errorMessage;
|
|
12164
|
-
}
|
|
12165
12170
|
dateInputField.scope = componentScope2;
|
|
12166
12171
|
if (config2.layout) {
|
|
12167
12172
|
dateInputField.config.layout = createLayoutFormat(config2.layout);
|
|
@@ -12183,9 +12188,6 @@ const buildDate = (config2, componentScope2) => {
|
|
|
12183
12188
|
const buildDateTime = (config2, componentScope2) => {
|
|
12184
12189
|
const dateTimeInputField = _.cloneDeep(DateTime);
|
|
12185
12190
|
dateTimeInputField.config.main.label = config2.label;
|
|
12186
|
-
if (config2.errorMessage) {
|
|
12187
|
-
dateTimeInputField.config.main.errorMessage = config2.errorMessage;
|
|
12188
|
-
}
|
|
12189
12191
|
dateTimeInputField.scope = componentScope2;
|
|
12190
12192
|
if (config2.layout) {
|
|
12191
12193
|
dateTimeInputField.config.layout = createLayoutFormat(config2.layout);
|