impaktapps-ui-builder 1.0.411 → 1.0.413
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 +20 -84
- 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/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +0 -25
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildAreaGraph.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +0 -4
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +0 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +8 -8
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +0 -16
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +0 -1
- package/src/impaktapps-ui-builder/runtime/services/service.ts +5 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildStackBarLineGraph.d.ts +0 -2
- package/src/impaktapps-ui-builder/builder/build/buildStackBarLineGraph.ts +0 -63
|
@@ -6657,8 +6657,7 @@ const ComponentSchema = {
|
|
|
6657
6657
|
title: "Stack Horizontal Bar Graph",
|
|
6658
6658
|
const: "HorizontalStackBarGraph"
|
|
6659
6659
|
},
|
|
6660
|
-
{ title: "Area Graph", const: "AreaGraph" }
|
|
6661
|
-
{ title: "StackBar And Line Graph", const: "StackBarLineGraph" }
|
|
6660
|
+
{ title: "Area Graph", const: "AreaGraph" }
|
|
6662
6661
|
]
|
|
6663
6662
|
},
|
|
6664
6663
|
iconName: {
|
|
@@ -8192,7 +8191,6 @@ const buildPropertiesSection = function(type) {
|
|
|
8192
8191
|
getInputField("subHeader", "Sub Header"),
|
|
8193
8192
|
getSelectField("graphType", "Graph Type"),
|
|
8194
8193
|
getInputField("leftLabel", "Left Label"),
|
|
8195
|
-
getInputField("rightLabel", "Right Label"),
|
|
8196
8194
|
getRadioInputField("disableLeftLabel", "Disable Left Label", ["YES", "No"]),
|
|
8197
8195
|
getInputField("bottomLabel", "Bottom Label"),
|
|
8198
8196
|
emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 0, lg: 0 }),
|
|
@@ -8203,9 +8201,10 @@ const buildPropertiesSection = function(type) {
|
|
|
8203
8201
|
getSelectField("xAxisType", "X-AxisType"),
|
|
8204
8202
|
getRadioInputField("bottomAxisAngle", "Bottom Axis Angled", ["YES", "No"]),
|
|
8205
8203
|
getInputField("leftMargin", "Left Margin"),
|
|
8204
|
+
getInputField("xAxisTickCount", "X Axis TickCount"),
|
|
8206
8205
|
getInputField("yAxisTickCount", "Y Axis TickCount"),
|
|
8207
8206
|
getSelectField("xAxisFormatType", "X Axis Format Type"),
|
|
8208
|
-
emptyBox$1("GraphEmpty1", { xs:
|
|
8207
|
+
emptyBox$1("GraphEmpty1", { xs: 0, sm: 0, md: 4, lg: 6 }),
|
|
8209
8208
|
getArrayControlMultiField("legendLabels", "key", "value", "Key", "Label"),
|
|
8210
8209
|
getArrayControlMultiField("pieArcColors", "key", "value", "Key", "Color")
|
|
8211
8210
|
];
|
|
@@ -8219,9 +8218,7 @@ const buildPropertiesSection = function(type) {
|
|
|
8219
8218
|
getInputField("rowSpacing", "Row Spacing"),
|
|
8220
8219
|
getInputField("columnSpacing", "Column Spacing"),
|
|
8221
8220
|
getInputField("spacing", "Spacing"),
|
|
8222
|
-
|
|
8223
|
-
emptyBox$1("WrapperSectionEmpty1", { xs: 0, sm: 0, md: 4, lg: 6 }),
|
|
8224
|
-
emptyBox$1("WrapperSectionEmpty2")
|
|
8221
|
+
emptyBox$1("WrapperSectionEmpty1", { xs: 6, sm: 0, md: 4, lg: 3 })
|
|
8225
8222
|
];
|
|
8226
8223
|
break;
|
|
8227
8224
|
case "TabSection":
|
|
@@ -8254,11 +8251,12 @@ const buildPropertiesSection = function(type) {
|
|
|
8254
8251
|
buildWrapper("Tree Table Properties", [
|
|
8255
8252
|
getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
|
|
8256
8253
|
getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
|
|
8254
|
+
getRadioInputField("lazyLoadTree", "Lazy Load Tree", ["YES", "NO"]),
|
|
8257
8255
|
getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
|
|
8258
8256
|
getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
|
|
8259
8257
|
getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
|
|
8260
8258
|
getInputField("defaultColumnSize", "Default Column Size"),
|
|
8261
|
-
,
|
|
8259
|
+
getInputField("subRowsExpansionPageSize", "Page Size for Subrows Expansion"),
|
|
8262
8260
|
emptyBox$1("LazyLoadingTableEmpty3")
|
|
8263
8261
|
]),
|
|
8264
8262
|
getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
|
|
@@ -10927,7 +10925,11 @@ var service = (funcParams) => {
|
|
|
10927
10925
|
{ key: "sorting", value: paginationValues.sorting || [] },
|
|
10928
10926
|
{ key: "filters", value: paginationValues.tableColumnConfig || [] },
|
|
10929
10927
|
{ key: "globalFilter", value: (_a = paginationValues.globalFilter) != null ? _a : "" },
|
|
10930
|
-
{ key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] }
|
|
10928
|
+
{ key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] },
|
|
10929
|
+
{ key: "subRowsPagination", value: paginationValues.subRowsPagination || [] },
|
|
10930
|
+
{ key: "loadChildOnly", value: paginationValues.loadChildOnly || false },
|
|
10931
|
+
{ key: "parentId", value: paginationValues.parentId },
|
|
10932
|
+
{ key: "prevRowCount", value: paginationValues.prevRowCount }
|
|
10931
10933
|
];
|
|
10932
10934
|
const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
|
|
10933
10935
|
return response == null ? void 0 : response.data;
|
|
@@ -11246,21 +11248,6 @@ const AreaBarGraph = {
|
|
|
11246
11248
|
style: { containerStyle: {}, labelStyle: { margin: {} } }
|
|
11247
11249
|
}
|
|
11248
11250
|
};
|
|
11249
|
-
const StackBarLineG = {
|
|
11250
|
-
type: "Control",
|
|
11251
|
-
scope: "#/properties/graph",
|
|
11252
|
-
options: {
|
|
11253
|
-
widget: "Graph"
|
|
11254
|
-
},
|
|
11255
|
-
config: {
|
|
11256
|
-
layout: { xs: 12, sm: 12, md: 12, lg: 12 },
|
|
11257
|
-
main: {
|
|
11258
|
-
type: "StackBarLineGraph",
|
|
11259
|
-
legendLabels: null
|
|
11260
|
-
},
|
|
11261
|
-
style: { containerStyle: {}, labelStyle: { margin: {} } }
|
|
11262
|
-
}
|
|
11263
|
-
};
|
|
11264
11251
|
const buildHorizontalBarGraph = (config2, componentScope2) => {
|
|
11265
11252
|
const horizontalBarGraph = _.cloneDeep(HorizontalBarGraph);
|
|
11266
11253
|
horizontalBarGraph.scope = componentScope2;
|
|
@@ -11545,7 +11532,6 @@ const buildWrapperSection = (config2, componentScope2) => {
|
|
|
11545
11532
|
wrapper.config.main.divider = config2.divider === "YES" ? true : false;
|
|
11546
11533
|
wrapper.config.main.isAccordion = config2.isAccordion === "No" ? false : true;
|
|
11547
11534
|
wrapper.config.main.defaultClosed = config2.defaultClosed === "YES" ? true : false;
|
|
11548
|
-
wrapper.config.main.icon = config2.iconUrl;
|
|
11549
11535
|
wrapper.config.main.rowSpacing = Number(config2.rowSpacing);
|
|
11550
11536
|
wrapper.config.main.columnSpacing = Number(config2.columnSpacing);
|
|
11551
11537
|
wrapper.config.main.spacing = Number(config2.spacing);
|
|
@@ -11740,9 +11726,15 @@ const buildTable = (config2, componentScope2) => {
|
|
|
11740
11726
|
if (config2.lazyLoading) {
|
|
11741
11727
|
table.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
|
|
11742
11728
|
}
|
|
11729
|
+
if (config2.lazyLoadTree) {
|
|
11730
|
+
table.config.main.lazyTree = config2.lazyLoadTree === "YES" ? true : false;
|
|
11731
|
+
}
|
|
11743
11732
|
if (config2.defaultColumnSize) {
|
|
11744
11733
|
table.config.main.defaultColumnSize = config2.defaultColumnSize;
|
|
11745
11734
|
}
|
|
11735
|
+
if (config2.subRowsExpansionPageSize) {
|
|
11736
|
+
table.config.main.subRowsExpansionPageSize = config2.subRowsExpansionPageSize;
|
|
11737
|
+
}
|
|
11746
11738
|
if (config2.enableRowMovement) {
|
|
11747
11739
|
table.config.main.enableRowMovement = config2.enableRowMovement === "YES" ? true : false;
|
|
11748
11740
|
}
|
|
@@ -13030,6 +13022,9 @@ const buildAreaGraph = (config2, componentScope2) => {
|
|
|
13030
13022
|
if (config2.xAxisFormatType) {
|
|
13031
13023
|
AreaGraph.config.main.xAxisFormatType = config2.xAxisFormatType;
|
|
13032
13024
|
}
|
|
13025
|
+
if (config2.xAxisTickCount) {
|
|
13026
|
+
AreaGraph.config.main.xAxisTickCount = config2.xAxisTickCount;
|
|
13027
|
+
}
|
|
13033
13028
|
if (config2.yAxisTickCount) {
|
|
13034
13029
|
AreaGraph.config.main.yAxisTickCount = config2.yAxisTickCount;
|
|
13035
13030
|
}
|
|
@@ -13055,62 +13050,6 @@ const buildAreaGraph = (config2, componentScope2) => {
|
|
|
13055
13050
|
}
|
|
13056
13051
|
return AreaGraph;
|
|
13057
13052
|
};
|
|
13058
|
-
const buildStackBarLineGraph = (config2, componentScope2) => {
|
|
13059
|
-
const StackBarLineGraph = _.cloneDeep(StackBarLineG);
|
|
13060
|
-
StackBarLineGraph.scope = componentScope2;
|
|
13061
|
-
if (config2.layout) {
|
|
13062
|
-
StackBarLineGraph.config.layout = createLayoutFormat(config2.layout, config2.type);
|
|
13063
|
-
}
|
|
13064
|
-
StackBarLineGraph.config.main.type = config2.graphType;
|
|
13065
|
-
StackBarLineGraph.scope = componentScope2;
|
|
13066
|
-
StackBarLineGraph.config.main.header = config2.heading;
|
|
13067
|
-
StackBarLineGraph.config.main.subHeader = config2.subHeader;
|
|
13068
|
-
if (config2.legendHide) {
|
|
13069
|
-
StackBarLineGraph.config.main.legendAvailable = config2.legendHide === "YES" ? false : true;
|
|
13070
|
-
}
|
|
13071
|
-
if (config2.bottomAxisAngle) {
|
|
13072
|
-
StackBarLineGraph.config.main.bottomAxisAngle = config2.bottomAxisAngle === "YES" ? true : false;
|
|
13073
|
-
}
|
|
13074
|
-
if (config2.legendLabels) {
|
|
13075
|
-
StackBarLineGraph.config.main.legendLabels = createKeyValueMap(config2.legendLabels);
|
|
13076
|
-
}
|
|
13077
|
-
if (config2.legendDirection) {
|
|
13078
|
-
StackBarLineGraph.config.main.legendDirection = config2.legendDirection === "Row" ? "row" : "column";
|
|
13079
|
-
}
|
|
13080
|
-
if (config2.height) {
|
|
13081
|
-
StackBarLineGraph.config.style.containerStyle.height = config2.height;
|
|
13082
|
-
}
|
|
13083
|
-
if (config2.pieArcColors) {
|
|
13084
|
-
StackBarLineGraph.config.style.colorMap = createKeyValueMap(config2.pieArcColors);
|
|
13085
|
-
}
|
|
13086
|
-
if (config2.yAxisTickCount) {
|
|
13087
|
-
StackBarLineGraph.config.main.yAxisTickCount = config2.yAxisTickCount;
|
|
13088
|
-
}
|
|
13089
|
-
if (config2.xAxisValue) {
|
|
13090
|
-
StackBarLineGraph.config.main.xAxisValue = config2.xAxisValue;
|
|
13091
|
-
}
|
|
13092
|
-
if (config2.xAxisType) {
|
|
13093
|
-
StackBarLineGraph.config.main.xAxisType = config2.xAxisType;
|
|
13094
|
-
}
|
|
13095
|
-
if (config2.bottomLabel) {
|
|
13096
|
-
StackBarLineGraph.config.main.bottomLabel = config2.bottomLabel;
|
|
13097
|
-
}
|
|
13098
|
-
if (config2.leftLabel) {
|
|
13099
|
-
StackBarLineGraph.config.main.leftLabel = config2.leftLabel;
|
|
13100
|
-
}
|
|
13101
|
-
if (config2.rightLabel) {
|
|
13102
|
-
StackBarLineGraph.config.main.rightLabel = config2.rightLabel;
|
|
13103
|
-
}
|
|
13104
|
-
if (config2.disableLeftLabel) {
|
|
13105
|
-
StackBarLineGraph.config.main.disableLeftLabel = config2.disableLeftLabel === "YES" ? true : false;
|
|
13106
|
-
}
|
|
13107
|
-
if (config2.leftMargin) {
|
|
13108
|
-
StackBarLineGraph.config.style.labelStyle.margin = {
|
|
13109
|
-
left: config2.leftMargin
|
|
13110
|
-
};
|
|
13111
|
-
}
|
|
13112
|
-
return StackBarLineGraph;
|
|
13113
|
-
};
|
|
13114
13053
|
const cameraUiSchema = {
|
|
13115
13054
|
type: "Control",
|
|
13116
13055
|
scope: "#/properties/camera",
|
|
@@ -13476,9 +13415,6 @@ const buildUiSchema = (config2, store2) => {
|
|
|
13476
13415
|
case "AreaGraph":
|
|
13477
13416
|
elements = buildAreaGraph(config2, componentScope2);
|
|
13478
13417
|
break;
|
|
13479
|
-
case "StackBarLineGraph":
|
|
13480
|
-
elements = buildStackBarLineGraph(config2, componentScope2);
|
|
13481
|
-
break;
|
|
13482
13418
|
default:
|
|
13483
13419
|
elements = buildStackbarGraph(config2, componentScope2);
|
|
13484
13420
|
break;
|