impaktapps-ui-builder 1.0.420 → 1.0.424-test.1
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 +22 -8
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +4 -4
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +12 -8
- package/src/impaktapps-ui-builder/runtime/services/service.ts +6 -1
|
@@ -7817,7 +7817,7 @@ const getArrayControl = (parentScope, childScope, childLabel) => {
|
|
|
7817
7817
|
]
|
|
7818
7818
|
};
|
|
7819
7819
|
};
|
|
7820
|
-
const getArrayControlMultiField = (parentScope, firstFieldScope, secondFieldScope, firstFieldLabel, secondFieldLabel) => {
|
|
7820
|
+
const getArrayControlMultiField = (parentScope, firstFieldScope, secondFieldScope, firstFieldLabel, secondFieldLabel, arrayLabel) => {
|
|
7821
7821
|
return {
|
|
7822
7822
|
type: "Control",
|
|
7823
7823
|
scope: `#/properties/${parentScope}`,
|
|
@@ -7826,7 +7826,9 @@ const getArrayControlMultiField = (parentScope, firstFieldScope, secondFieldScop
|
|
|
7826
7826
|
},
|
|
7827
7827
|
config: {
|
|
7828
7828
|
layout: 12,
|
|
7829
|
-
main: {
|
|
7829
|
+
main: {
|
|
7830
|
+
label: arrayLabel
|
|
7831
|
+
},
|
|
7830
7832
|
style: {
|
|
7831
7833
|
marginLeft: "-24px",
|
|
7832
7834
|
marginBottom: "24px !important",
|
|
@@ -8198,8 +8200,8 @@ const buildPropertiesSection = function(type) {
|
|
|
8198
8200
|
emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 0, lg: 0 }),
|
|
8199
8201
|
getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
|
|
8200
8202
|
getRadioInputField("legendDirection", "Legend Direction", ["Row", "Column"]),
|
|
8201
|
-
getInputField("yAxisValue", "Y-
|
|
8202
|
-
getInputField("xAxisValue", "X-
|
|
8203
|
+
getInputField("yAxisValue", "Y-Axis Key"),
|
|
8204
|
+
getInputField("xAxisValue", "X-Axis Key"),
|
|
8203
8205
|
getSelectField("xAxisType", "X-AxisType"),
|
|
8204
8206
|
getRadioInputField("bottomAxisAngle", "Bottom Axis Angled", ["YES", "No"]),
|
|
8205
8207
|
getInputField("leftMargin", "Left Margin"),
|
|
@@ -8208,8 +8210,8 @@ const buildPropertiesSection = function(type) {
|
|
|
8208
8210
|
getInputField("growthRateKey", "Growth Rate Key"),
|
|
8209
8211
|
getInputField("tooltipUnit", "Tooltip Unit"),
|
|
8210
8212
|
emptyBox$1("GraphEmpty1", { xs: 6, sm: 6, md: 4, lg: 3 }),
|
|
8211
|
-
getArrayControlMultiField("legendLabels", "key", "value", "Key", "Label"),
|
|
8212
|
-
getArrayControlMultiField("pieArcColors", "key", "value", "Key", "Color")
|
|
8213
|
+
getArrayControlMultiField("legendLabels", "key", "value", "Key", "Label", "Configure Bar Labels"),
|
|
8214
|
+
getArrayControlMultiField("pieArcColors", "key", "value", "Key", "Color", "Configure Bar Colors")
|
|
8213
8215
|
];
|
|
8214
8216
|
break;
|
|
8215
8217
|
case "WrapperSection":
|
|
@@ -8256,11 +8258,12 @@ const buildPropertiesSection = function(type) {
|
|
|
8256
8258
|
buildWrapper("Tree Table Properties", [
|
|
8257
8259
|
getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
|
|
8258
8260
|
getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
|
|
8261
|
+
getRadioInputField("lazyLoadTree", "Lazy Load Tree", ["YES", "NO"]),
|
|
8259
8262
|
getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
|
|
8260
8263
|
getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
|
|
8261
8264
|
getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
|
|
8262
8265
|
getInputField("defaultColumnSize", "Default Column Size"),
|
|
8263
|
-
,
|
|
8266
|
+
getInputField("subRowsExpansionPageSize", "Page Size for Subrows Expansion"),
|
|
8264
8267
|
emptyBox$1("LazyLoadingTableEmpty3")
|
|
8265
8268
|
]),
|
|
8266
8269
|
getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
|
|
@@ -10929,7 +10932,12 @@ var service = (funcParams) => {
|
|
|
10929
10932
|
{ key: "sorting", value: paginationValues.sorting || [] },
|
|
10930
10933
|
{ key: "filters", value: paginationValues.tableColumnConfig || [] },
|
|
10931
10934
|
{ key: "globalFilter", value: (_a = paginationValues.globalFilter) != null ? _a : "" },
|
|
10932
|
-
{ key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] }
|
|
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 }
|
|
10933
10941
|
];
|
|
10934
10942
|
const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
|
|
10935
10943
|
return response == null ? void 0 : response.data;
|
|
@@ -11742,9 +11750,15 @@ const buildTable = (config2, componentScope2) => {
|
|
|
11742
11750
|
if (config2.lazyLoading) {
|
|
11743
11751
|
table.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
|
|
11744
11752
|
}
|
|
11753
|
+
if (config2.lazyLoadTree) {
|
|
11754
|
+
table.config.main.lazyTree = config2.lazyLoadTree === "YES" ? true : false;
|
|
11755
|
+
}
|
|
11745
11756
|
if (config2.defaultColumnSize) {
|
|
11746
11757
|
table.config.main.defaultColumnSize = config2.defaultColumnSize;
|
|
11747
11758
|
}
|
|
11759
|
+
if (config2.subRowsExpansionPageSize) {
|
|
11760
|
+
table.config.main.subRowsExpansionPageSize = config2.subRowsExpansionPageSize;
|
|
11761
|
+
}
|
|
11748
11762
|
if (config2.enableRowMovement) {
|
|
11749
11763
|
table.config.main.enableRowMovement = config2.enableRowMovement === "YES" ? true : false;
|
|
11750
11764
|
}
|