bnstooltips 1.18.8 → 1.18.10

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
@@ -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();
@@ -7220,7 +7222,13 @@ function ItemImproveEffectsTooltip(_a) {
7220
7222
  var subGroupTexts = [];
7221
7223
  itemName.effects.forEach(function (effect) {
7222
7224
  if (effect.isEffect) {
7223
- subGroupTexts.push(React.createElement("div", { className: "ItemImproveEffectsTooltip_entry", dangerouslySetInnerHTML: { __html: effect.effectDescription } }));
7225
+ subGroupTexts.push(React.createElement(React.Fragment, null,
7226
+ React.createElement("div", { className: "ItemImproveEffectsTooltip_entry", dangerouslySetInnerHTML: { __html: effect.effectDescription } }),
7227
+ effect.additionalDescription && effect.additionalDescription != "" ?
7228
+ React.createElement(React.Fragment, null,
7229
+ "\u00A0",
7230
+ React.createElement("span", { dangerouslySetInnerHTML: { __html: effect.additionalDescription.trim() } }))
7231
+ : null));
7224
7232
  }
7225
7233
  else {
7226
7234
  if (effect.statName.includes("-min"))
@@ -7234,7 +7242,12 @@ function ItemImproveEffectsTooltip(_a) {
7234
7242
  subGroupTexts.push(React.createElement("div", { className: "ItemImproveEffectsTooltip_entry 00008130.UI.Label_Green03_12" },
7235
7243
  React.createElement("span", null, GetStatDisplayValue(statValue, effect.isPercentage)),
7236
7244
  "\u00A0",
7237
- React.createElement("span", { dangerouslySetInnerHTML: { __html: ReplaceBossAndPvpAp(effect.statName).replace("Max.", "").trim() } })));
7245
+ React.createElement("span", { dangerouslySetInnerHTML: { __html: ReplaceBossAndPvpAp(effect.statName).replace("Max.", "").trim() } }),
7246
+ effect.additionalDescription && effect.additionalDescription != "" ?
7247
+ React.createElement(React.Fragment, null,
7248
+ "\u00A0",
7249
+ React.createElement("span", { dangerouslySetInnerHTML: { __html: effect.additionalDescription.trim() } }))
7250
+ : null));
7238
7251
  }
7239
7252
  });
7240
7253
  var subGroup = {