impaktapps-ui-builder 1.0.147-test.15 → 1.0.147-test.17
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 -0
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +5 -5
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +4 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +4 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +1 -1
|
@@ -74,6 +74,7 @@ export default function Card(theme: any): {
|
|
|
74
74
|
display?: undefined;
|
|
75
75
|
width?: undefined;
|
|
76
76
|
lineHeight?: undefined;
|
|
77
|
+
overflowY?: undefined;
|
|
77
78
|
paddingLeft?: undefined;
|
|
78
79
|
};
|
|
79
80
|
};
|
|
@@ -109,6 +110,7 @@ export default function Card(theme: any): {
|
|
|
109
110
|
display?: undefined;
|
|
110
111
|
width?: undefined;
|
|
111
112
|
lineHeight?: undefined;
|
|
113
|
+
overflowY?: undefined;
|
|
112
114
|
paddingLeft?: undefined;
|
|
113
115
|
};
|
|
114
116
|
};
|
|
@@ -140,6 +142,7 @@ export default function Card(theme: any): {
|
|
|
140
142
|
maxWidth: string;
|
|
141
143
|
whiteSpace: string;
|
|
142
144
|
overflowX: string;
|
|
145
|
+
overflowY: string;
|
|
143
146
|
scrollbarWidth: string;
|
|
144
147
|
"&::-webkit-scrollbar": {
|
|
145
148
|
display: string;
|
|
@@ -183,6 +186,7 @@ export default function Card(theme: any): {
|
|
|
183
186
|
display?: undefined;
|
|
184
187
|
width?: undefined;
|
|
185
188
|
lineHeight?: undefined;
|
|
189
|
+
overflowY?: undefined;
|
|
186
190
|
};
|
|
187
191
|
};
|
|
188
192
|
options: {
|
package/package.json
CHANGED
|
@@ -48,6 +48,9 @@ const buildHorizontalBarGraph = (config:any,componentScope:string) => {
|
|
|
48
48
|
if (config.disableLeftLabel) {
|
|
49
49
|
horizontalBarGraph.config.main.disableLeftLabel = config.disableLeftLabel==="YES"? true: false;
|
|
50
50
|
}
|
|
51
|
+
if (config.style) {
|
|
52
|
+
horizontalBarGraph.config.style = JSON.parse(config.style)
|
|
53
|
+
}
|
|
51
54
|
return horizontalBarGraph
|
|
52
55
|
}
|
|
53
56
|
|
|
@@ -47,6 +47,9 @@ export const buildLineGraph = (config, componentScope) => {
|
|
|
47
47
|
if (config.pieArcColors) {
|
|
48
48
|
lineGraph.config.style.lineStyle.colorRange = flatObjectValueInArray(config.pieArcColors);
|
|
49
49
|
}
|
|
50
|
+
if (config.style) {
|
|
51
|
+
lineGraph.config.style = JSON.parse(config.style)
|
|
52
|
+
}
|
|
50
53
|
lineGraph.scope = componentScope;
|
|
51
54
|
return lineGraph;
|
|
52
55
|
}
|
|
@@ -27,5 +27,8 @@ export const buildPieGraph = (config, componentScope) => {
|
|
|
27
27
|
if (config.pieArcColors) {
|
|
28
28
|
pieGraph.config.style.pieStyle.colorRange = flatObjectValueInArray(config.pieArcColors);
|
|
29
29
|
}
|
|
30
|
+
if (config.style) {
|
|
31
|
+
pieGraph.config.style = JSON.parse(config.style)
|
|
32
|
+
}
|
|
30
33
|
return pieGraph;
|
|
31
34
|
}
|
|
@@ -45,6 +45,9 @@ export const buildStackbarGraph = (config:any,componentScope:string) => {
|
|
|
45
45
|
if (config.disableLeftLabel) {
|
|
46
46
|
barGraph.config.main.disableLeftLabel = config.disableLeftLabel==="YES"? true: false;
|
|
47
47
|
}
|
|
48
|
+
if (config.style) {
|
|
49
|
+
barGraph.config.style = JSON.parse(config.style)
|
|
50
|
+
}
|
|
48
51
|
barGraph.scope = componentScope;
|
|
49
52
|
return barGraph;
|
|
50
53
|
}
|
|
@@ -65,6 +65,12 @@ export const buildTable = (config: any, componentScope: string) => {
|
|
|
65
65
|
if (config.disableDownloadFile) {
|
|
66
66
|
table.config.main.disableDownloadFile = config.disableDownloadFile === "YES" ? true : false
|
|
67
67
|
}
|
|
68
|
+
if (config.disableTopToolbar) {
|
|
69
|
+
table.config.main.disableTopToolbar = config.disableTopToolbar === "YES" ? true : false
|
|
70
|
+
}
|
|
71
|
+
if (config.disableBottomToolbar) {
|
|
72
|
+
table.config.main.disableBottomToolbar = config.disableBottomToolbar === "YES" ? true : false
|
|
73
|
+
}
|
|
68
74
|
if (config.disablePagination) {
|
|
69
75
|
table.config.main.disablePagination = config.disablePagination === "YES" ? true : false
|
|
70
76
|
}
|
|
@@ -480,6 +480,8 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
480
480
|
getRadioInputField("disableFullScreenToggle", "Disable Full Screen", ["YES", "NO"]),
|
|
481
481
|
getRadioInputField("disableDensityToggle", "Disable Density Toggle", ["YES", "NO"]),
|
|
482
482
|
getRadioInputField("disableDownloadFile", "Disable Download File", ["YES", "NO"]),
|
|
483
|
+
getRadioInputField("disableTopToolbar", "Disable Top Toolbar", ["YES", "NO"]),
|
|
484
|
+
getRadioInputField("disableBottomToolbar", "Disable Bottom Toolbar", ["YES", "NO"]),
|
|
483
485
|
getRadioInputField("disablePagination", "Disable Pagination", ["YES", "NO"]),
|
|
484
486
|
getInputField("selectKey", "Selection Key"),//defaultColumnSize
|
|
485
487
|
getMultiSelectField("filteringOptions", "Filtering Options"),
|
|
@@ -497,6 +499,8 @@ export const buildPropertiesSection = function (type: String) {
|
|
|
497
499
|
{ label: "Comfortable", value: "comfortable" },
|
|
498
500
|
{ label: "Spacious", value: "spacious" }
|
|
499
501
|
]),
|
|
502
|
+
emptyBox("emptyBoxTable", { xs: 6, sm: 6, md: 0, lg: 3 }),
|
|
503
|
+
|
|
500
504
|
buildWrapper("Tree Table Properties", [
|
|
501
505
|
getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
|
|
502
506
|
getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
|
|
@@ -115,10 +115,10 @@ export default function Card(theme){
|
|
|
115
115
|
margin: "0px",
|
|
116
116
|
marginBottom: "8px",
|
|
117
117
|
lineHeight: "1",
|
|
118
|
-
|
|
119
118
|
maxWidth: "200px",
|
|
120
119
|
whiteSpace: "nowrap",
|
|
121
120
|
overflowX: "auto",
|
|
121
|
+
overflowY: "hidden",
|
|
122
122
|
scrollbarWidth: "none",
|
|
123
123
|
"&::-webkit-scrollbar": {
|
|
124
124
|
display: "none",
|