impaktapps-ui-builder 0.0.382-alpha.41 → 0.0.382-alpha.43
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 +10 -5
- 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/card.d.ts +12 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +5 -5
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +9 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +101 -154
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +58 -58
|
@@ -9473,9 +9473,6 @@ const buildStackbarGraph = (config, componentScope) => {
|
|
|
9473
9473
|
if (config.barColor) {
|
|
9474
9474
|
barGraph.config.barStyle.color = config.barColor;
|
|
9475
9475
|
}
|
|
9476
|
-
if (config.containerBackground) {
|
|
9477
|
-
barGraph.config.containerStyle.background = config.containerBackground;
|
|
9478
|
-
}
|
|
9479
9476
|
if (config.height) {
|
|
9480
9477
|
barGraph.config.style.containerStyle.height = config.height;
|
|
9481
9478
|
}
|
|
@@ -9485,7 +9482,6 @@ const buildStackbarGraph = (config, componentScope) => {
|
|
|
9485
9482
|
if (config.leftLabel) {
|
|
9486
9483
|
barGraph.config.main.leftLabel = config.leftLabel;
|
|
9487
9484
|
}
|
|
9488
|
-
barGraph.scope = componentScope;
|
|
9489
9485
|
return barGraph;
|
|
9490
9486
|
};
|
|
9491
9487
|
var RunnerBoyProgressBar = {
|
|
@@ -9881,6 +9877,15 @@ var Card = {
|
|
|
9881
9877
|
rowSpacing: 0.5
|
|
9882
9878
|
},
|
|
9883
9879
|
style: {
|
|
9880
|
+
componentsBoxStyle: {
|
|
9881
|
+
position: "relative",
|
|
9882
|
+
color: "white",
|
|
9883
|
+
height: { xs: "120px", md: "160px" },
|
|
9884
|
+
width: "100%",
|
|
9885
|
+
textAlign: "left",
|
|
9886
|
+
background: "#3f51b5",
|
|
9887
|
+
borderRadius: "20px"
|
|
9888
|
+
},
|
|
9884
9889
|
wrapperStyle: {
|
|
9885
9890
|
position: "relative",
|
|
9886
9891
|
color: "white",
|
|
@@ -10736,7 +10741,7 @@ const buildUiSchema = (config) => {
|
|
|
10736
10741
|
switch (config.graphType) {
|
|
10737
10742
|
case "BarGraph":
|
|
10738
10743
|
case "StackBarGraph":
|
|
10739
|
-
elements = buildStackbarGraph(config
|
|
10744
|
+
elements = buildStackbarGraph(config);
|
|
10740
10745
|
break;
|
|
10741
10746
|
case "LineGraph":
|
|
10742
10747
|
elements = buildLineGraph(config, componentScope);
|