impaktapps-ui-builder 1.0.205 → 1.0.207
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 +15 -6
- 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/buildAreaGraph.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/buildMetricCard.tsx +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +6 -3
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/metricCard.ts +1 -1
|
@@ -8004,10 +8004,11 @@ const buildPropertiesSection = function(type) {
|
|
|
8004
8004
|
uiSchema.elements = [
|
|
8005
8005
|
getInputField("url", "Image Url"),
|
|
8006
8006
|
getInputField("label", "Label"),
|
|
8007
|
-
getInputField("description", "Description"),
|
|
8008
8007
|
getInputField("cardValue", "Value"),
|
|
8008
|
+
getInputField("description", "Description"),
|
|
8009
8009
|
getSelectField("growthRate", "Growth Rate"),
|
|
8010
|
-
getInputField("color", "Card Color")
|
|
8010
|
+
getInputField("color", "Card Color"),
|
|
8011
|
+
emptyBox$1("MetricEmpty1", { xs: 6, sm: 0, md: 8, lg: 6 })
|
|
8011
8012
|
];
|
|
8012
8013
|
break;
|
|
8013
8014
|
case "Button":
|
|
@@ -8042,8 +8043,10 @@ const buildPropertiesSection = function(type) {
|
|
|
8042
8043
|
getInputField("xAxisValue", "X-AxisValue"),
|
|
8043
8044
|
getRadioInputField("bottomAxisAngle", "Bottom Axis Angled", ["YES", "No"]),
|
|
8044
8045
|
getInputField("leftMargin", "Left Margin"),
|
|
8046
|
+
getInputField("xAxisTickCount", "X Axis TickCount"),
|
|
8047
|
+
getInputField("yAxisTickCount", "Y Axis TickCount"),
|
|
8045
8048
|
getSelectField("xAxisFormatType", "X Axis Format Type"),
|
|
8046
|
-
emptyBox$1("GraphEmpty1", { xs: 6, sm:
|
|
8049
|
+
emptyBox$1("GraphEmpty1", { xs: 6, sm: 6, md: 8, lg: 9 }),
|
|
8047
8050
|
getArrayControl("legendLabels", "label"),
|
|
8048
8051
|
getArrayControl("pieArcColors", "color")
|
|
8049
8052
|
];
|
|
@@ -11025,7 +11028,7 @@ const AreaBarGraph = {
|
|
|
11025
11028
|
widget: "Graph"
|
|
11026
11029
|
},
|
|
11027
11030
|
config: {
|
|
11028
|
-
layout: { xs: 12, sm: 12, md: 12, lg:
|
|
11031
|
+
layout: { xs: 12, sm: 12, md: 12, lg: 12 },
|
|
11029
11032
|
main: {
|
|
11030
11033
|
type: "AreaGraph",
|
|
11031
11034
|
legendLabels: null
|
|
@@ -11886,7 +11889,7 @@ var MetricCard = {
|
|
|
11886
11889
|
widget: "MetricCard"
|
|
11887
11890
|
},
|
|
11888
11891
|
config: {
|
|
11889
|
-
layout: { xs: 12, sm: 12, md:
|
|
11892
|
+
layout: { xs: 12, sm: 12, md: 3, lg: 3 },
|
|
11890
11893
|
main: {}
|
|
11891
11894
|
}
|
|
11892
11895
|
};
|
|
@@ -11908,7 +11911,7 @@ const buildMetricCard = (config2, componentScope2, store2) => {
|
|
|
11908
11911
|
if (config2.description) {
|
|
11909
11912
|
card2.config.main.description = config2.description;
|
|
11910
11913
|
}
|
|
11911
|
-
if (config2.
|
|
11914
|
+
if (config2.cardValue) {
|
|
11912
11915
|
card2.config.main.cardValue = config2.cardValue;
|
|
11913
11916
|
}
|
|
11914
11917
|
if (config2.growthRate) {
|
|
@@ -12778,6 +12781,12 @@ const buildAreaGraph = (config2, componentScope2) => {
|
|
|
12778
12781
|
if (config2.xAxisFormatType) {
|
|
12779
12782
|
AreaGraph.config.main.xAxisFormatType = config2.xAxisFormatType;
|
|
12780
12783
|
}
|
|
12784
|
+
if (config2.xAxisTickCount) {
|
|
12785
|
+
AreaGraph.config.main.xAxisTickCount = config2.xAxisTickCount;
|
|
12786
|
+
}
|
|
12787
|
+
if (config2.yAxisTickCount) {
|
|
12788
|
+
AreaGraph.config.main.yAxisTickCount = config2.yAxisTickCount;
|
|
12789
|
+
}
|
|
12781
12790
|
return AreaGraph;
|
|
12782
12791
|
};
|
|
12783
12792
|
const cameraUiSchema = {
|