toggle-components-library 1.24.11 → 1.24.12
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/toggle-components-library.common.js +15 -19
- package/dist/toggle-components-library.common.js.map +1 -1
- package/dist/toggle-components-library.umd.js +15 -19
- package/dist/toggle-components-library.umd.js.map +1 -1
- package/dist/toggle-components-library.umd.min.js +1 -1
- package/dist/toggle-components-library.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/metrics/ToggleMetricSingleMetric.vue +2 -4
- package/src/components/metrics/ToggleMetricSparkLine.vue +1 -3
package/package.json
CHANGED
|
@@ -48,7 +48,6 @@ export default {
|
|
|
48
48
|
*/
|
|
49
49
|
currencyCode:{
|
|
50
50
|
type:String,
|
|
51
|
-
required:false,
|
|
52
51
|
default:'GBP'
|
|
53
52
|
},
|
|
54
53
|
/**
|
|
@@ -56,7 +55,6 @@ export default {
|
|
|
56
55
|
*/
|
|
57
56
|
currencyLocale:{
|
|
58
57
|
type:String,
|
|
59
|
-
required:false,
|
|
60
58
|
default:'en-GB'
|
|
61
59
|
},
|
|
62
60
|
/**
|
|
@@ -64,7 +62,7 @@ export default {
|
|
|
64
62
|
*/
|
|
65
63
|
currencyDenomination: {
|
|
66
64
|
type: Number,
|
|
67
|
-
default:
|
|
65
|
+
default: 1
|
|
68
66
|
}
|
|
69
67
|
},
|
|
70
68
|
computed: {
|
|
@@ -73,7 +71,7 @@ export default {
|
|
|
73
71
|
* @return String
|
|
74
72
|
*/
|
|
75
73
|
metricValue() {
|
|
76
|
-
if (this.value
|
|
74
|
+
if (this.value === null) {
|
|
77
75
|
return "-";
|
|
78
76
|
}
|
|
79
77
|
|
|
@@ -83,7 +83,6 @@ export default {
|
|
|
83
83
|
*/
|
|
84
84
|
currencyCode:{
|
|
85
85
|
type:String,
|
|
86
|
-
required:false,
|
|
87
86
|
default:'GBP'
|
|
88
87
|
},
|
|
89
88
|
/**
|
|
@@ -91,7 +90,6 @@ export default {
|
|
|
91
90
|
*/
|
|
92
91
|
currencyLocale:{
|
|
93
92
|
type:String,
|
|
94
|
-
required:false,
|
|
95
93
|
default:'en-GB'
|
|
96
94
|
},
|
|
97
95
|
/**
|
|
@@ -99,7 +97,7 @@ export default {
|
|
|
99
97
|
*/
|
|
100
98
|
currencyDenomination: {
|
|
101
99
|
type: Number,
|
|
102
|
-
default:
|
|
100
|
+
default: 1
|
|
103
101
|
},
|
|
104
102
|
/**
|
|
105
103
|
* Percentage base used to calculate the trend impact
|