@websy/websy-designs 1.9.9 → 1.9.11
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/server/helpers/v1/puppeteer-report/examples/package-lock.json +972 -0
- package/dist/server/routes/v1/shop.js +11 -2
- package/dist/websy-designs-es6.debug.js +3 -3
- package/dist/websy-designs-es6.js +3 -3
- package/dist/websy-designs-es6.min.js +1 -1
- package/dist/websy-designs.debug.js +3 -3
- package/dist/websy-designs.js +3 -3
- package/dist/websy-designs.min.js +1 -1
- package/package.json +1 -1
|
@@ -10471,11 +10471,11 @@ class WebsyKPI {
|
|
|
10471
10471
|
const DEFAULTS = {
|
|
10472
10472
|
tooltip: {},
|
|
10473
10473
|
label: {},
|
|
10474
|
-
value: {}
|
|
10475
|
-
subValue: {}
|
|
10474
|
+
value: {}
|
|
10476
10475
|
}
|
|
10477
10476
|
this.elementId = elementId
|
|
10478
10477
|
this.options = Object.assign({}, DEFAULTS, options)
|
|
10478
|
+
this.render()
|
|
10479
10479
|
}
|
|
10480
10480
|
render (options) {
|
|
10481
10481
|
this.options = Object.assign({}, this.options, options)
|
|
@@ -10485,7 +10485,7 @@ class WebsyKPI {
|
|
|
10485
10485
|
if (!this.options.value.classes) {
|
|
10486
10486
|
this.options.value.classes = []
|
|
10487
10487
|
}
|
|
10488
|
-
if (!this.options.subValue.classes) {
|
|
10488
|
+
if (this.options.subValue && !this.options.subValue.classes) {
|
|
10489
10489
|
this.options.subValue.classes = []
|
|
10490
10490
|
}
|
|
10491
10491
|
if (!this.options.tooltip.classes) {
|
package/dist/websy-designs.js
CHANGED
|
@@ -9920,11 +9920,11 @@ var WebsyKPI = /*#__PURE__*/function () {
|
|
|
9920
9920
|
var DEFAULTS = {
|
|
9921
9921
|
tooltip: {},
|
|
9922
9922
|
label: {},
|
|
9923
|
-
value: {}
|
|
9924
|
-
subValue: {}
|
|
9923
|
+
value: {}
|
|
9925
9924
|
};
|
|
9926
9925
|
this.elementId = elementId;
|
|
9927
9926
|
this.options = _extends({}, DEFAULTS, options);
|
|
9927
|
+
this.render();
|
|
9928
9928
|
}
|
|
9929
9929
|
_createClass(WebsyKPI, [{
|
|
9930
9930
|
key: "render",
|
|
@@ -9936,7 +9936,7 @@ var WebsyKPI = /*#__PURE__*/function () {
|
|
|
9936
9936
|
if (!this.options.value.classes) {
|
|
9937
9937
|
this.options.value.classes = [];
|
|
9938
9938
|
}
|
|
9939
|
-
if (!this.options.subValue.classes) {
|
|
9939
|
+
if (this.options.subValue && !this.options.subValue.classes) {
|
|
9940
9940
|
this.options.subValue.classes = [];
|
|
9941
9941
|
}
|
|
9942
9942
|
if (!this.options.tooltip.classes) {
|