@zeedhi/common 1.77.2 → 1.77.3

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.
@@ -559,7 +559,7 @@ class ApexChart extends ComponentRender {
559
559
  return series;
560
560
  }
561
561
  translateOptions(propOptions = {}) {
562
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
562
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y;
563
563
  let value;
564
564
  value = this.getPropValue((_c = (_b = (_a = propOptions.annotations) === null || _a === void 0 ? void 0 : _a.yaxis) === null || _b === void 0 ? void 0 : _b.label) === null || _c === void 0 ? void 0 : _c.text);
565
565
  if (value)
@@ -599,6 +599,9 @@ class ApexChart extends ComponentRender {
599
599
  value = this.getPropValue((_x = (_w = propOptions.yaxis) === null || _w === void 0 ? void 0 : _w.title) === null || _x === void 0 ? void 0 : _x.text);
600
600
  if (value)
601
601
  propOptions.yaxis.title.text = I18n.translate(value);
602
+ value = this.getPropValue((_y = propOptions.noData) === null || _y === void 0 ? void 0 : _y.text);
603
+ if (value)
604
+ propOptions.noData.text = I18n.translate(value);
602
605
  return propOptions;
603
606
  }
604
607
  /**
@@ -566,7 +566,7 @@
566
566
  return series;
567
567
  }
568
568
  translateOptions(propOptions = {}) {
569
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
569
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y;
570
570
  let value;
571
571
  value = this.getPropValue((_c = (_b = (_a = propOptions.annotations) === null || _a === void 0 ? void 0 : _a.yaxis) === null || _b === void 0 ? void 0 : _b.label) === null || _c === void 0 ? void 0 : _c.text);
572
572
  if (value)
@@ -606,6 +606,9 @@
606
606
  value = this.getPropValue((_x = (_w = propOptions.yaxis) === null || _w === void 0 ? void 0 : _w.title) === null || _x === void 0 ? void 0 : _x.text);
607
607
  if (value)
608
608
  propOptions.yaxis.title.text = core.I18n.translate(value);
609
+ value = this.getPropValue((_y = propOptions.noData) === null || _y === void 0 ? void 0 : _y.text);
610
+ if (value)
611
+ propOptions.noData.text = core.I18n.translate(value);
609
612
  return propOptions;
610
613
  }
611
614
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeedhi/common",
3
- "version": "1.77.2",
3
+ "version": "1.77.3",
4
4
  "description": "Zeedhi Common",
5
5
  "author": "Zeedhi <zeedhi@teknisa.com>",
6
6
  "license": "ISC",
@@ -39,5 +39,5 @@
39
39
  "lodash.times": "4.3.*",
40
40
  "mockdate": "3.0.*"
41
41
  },
42
- "gitHead": "f6fab5c2263a74fb4e35a8a6ef145b1f196e5b9a"
42
+ "gitHead": "49e53aa120ad5094c30f1de5501cfd1b12bcae52"
43
43
  }