bnstooltips 1.18.7 → 1.18.9

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/build/index.es.js CHANGED
@@ -213,7 +213,7 @@ function ReplaceIconsInHtmlString(htmlString) {
213
213
  }
214
214
  function GetStatDisplayValue(value, percent) {
215
215
  if (percent) {
216
- var percentage = value / 100;
216
+ var percentage = value / 10;
217
217
  if (Number.isInteger(percentage)) {
218
218
  return percentage.toFixed(1) + "%";
219
219
  }
@@ -2035,6 +2035,7 @@ var ItemImproveEffectOptionDto = /** @class */ (function () {
2035
2035
  this.effectDescription = _data["effectDescription"];
2036
2036
  this.icon = _data["icon"] ? ItemIconDto.fromJS(_data["icon"]) : undefined;
2037
2037
  this.isPercentage = _data["isPercentage"];
2038
+ this.additionalDescription = _data["additionalDescription"];
2038
2039
  }
2039
2040
  };
2040
2041
  ItemImproveEffectOptionDto.fromJS = function (data) {
@@ -2051,6 +2052,7 @@ var ItemImproveEffectOptionDto = /** @class */ (function () {
2051
2052
  data["effectDescription"] = this.effectDescription;
2052
2053
  data["icon"] = this.icon ? this.icon.toJSON() : undefined;
2053
2054
  data["isPercentage"] = this.isPercentage;
2055
+ data["additionalDescription"] = this.additionalDescription;
2054
2056
  return data;
2055
2057
  };
2056
2058
  return ItemImproveEffectOptionDto;
@@ -2833,7 +2835,7 @@ function throwException(message, status, response, headers, result) {
2833
2835
  var ItemDownloadClient = /** @class */ (function () {
2834
2836
  function ItemDownloadClient(region, patch) {
2835
2837
  if (patch === void 0) { patch = ""; }
2836
- this.apiV = "v21";
2838
+ this.apiV = "v22";
2837
2839
  this.patch = patch;
2838
2840
  this.region = region;
2839
2841
  var baseUrl = ItemDownloadClient.GetUrlBase();
@@ -7234,7 +7236,10 @@ function ItemImproveEffectsTooltip(_a) {
7234
7236
  subGroupTexts.push(React.createElement("div", { className: "ItemImproveEffectsTooltip_entry 00008130.UI.Label_Green03_12" },
7235
7237
  React.createElement("span", null, GetStatDisplayValue(statValue, effect.isPercentage)),
7236
7238
  "\u00A0",
7237
- React.createElement("span", { dangerouslySetInnerHTML: { __html: ReplaceBossAndPvpAp(effect.statName).replace("Max.", "").trim() } })));
7239
+ React.createElement("span", { dangerouslySetInnerHTML: { __html: ReplaceBossAndPvpAp(effect.statName).replace("Max.", "").trim() } }),
7240
+ effect.additionalDescription && effect.additionalDescription != "" ?
7241
+ React.createElement("span", { dangerouslySetInnerHTML: { __html: effect.additionalDescription } })
7242
+ : null));
7238
7243
  }
7239
7244
  });
7240
7245
  var subGroup = {