bnstooltips 1.17.0 → 1.18.0

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.
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { ItemImproveEffectsTooltipLoadingProps } from "./ItemImproveEffectsTooltipLoading.types";
3
+ import "./ItemImproveEffectsTooltipLoading.scss";
4
+ declare function ItemImproveEffectsTooltipLoading({ id, level, client }: ItemImproveEffectsTooltipLoadingProps): JSX.Element;
5
+ export default ItemImproveEffectsTooltipLoading;
@@ -0,0 +1,6 @@
1
+ import { ItemDownloadClient } from "../Utilities/ItemDownloadClient";
2
+ export interface ItemImproveEffectsTooltipLoadingProps {
3
+ id: number;
4
+ level: number;
5
+ client: ItemDownloadClient;
6
+ }
@@ -0,0 +1,6 @@
1
+ import { FunctionComponent } from "react";
2
+ import { ItemImproveEffectsTooltipLoadingWrapperProps } from "./ItemImproveEffectsTooltipLoadingWrapper.types";
3
+ import "tippy.js/dist/tippy.css";
4
+ import "./ItemImproveEffectsTooltipLoadingWrapper.scss";
5
+ declare const ItemImproveEffectsTooltipLoadingWrapper: FunctionComponent<ItemImproveEffectsTooltipLoadingWrapperProps>;
6
+ export default ItemImproveEffectsTooltipLoadingWrapper;
@@ -0,0 +1,7 @@
1
+ import { ItemDownloadClient } from "../Utilities/ItemDownloadClient";
2
+ import { ITooltipWrapper } from "../Utilities/Models";
3
+ export interface ItemImproveEffectsTooltipLoadingWrapperProps extends ITooltipWrapper {
4
+ id: number;
5
+ level: number;
6
+ client: ItemDownloadClient;
7
+ }
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { ItemTooltipProps } from "./ItemTooltip.types";
3
3
  import "./ItemTooltip.scss";
4
- declare function ItemTooltip({ data, region, debug, offline, client: clientProp, jobstyleOverride, showUpgrade, fullHeight, }: ItemTooltipProps): JSX.Element;
4
+ declare function ItemTooltip({ data, region, debug, offline, client: clientProp, jobstyleOverride, showUpgrade, showUpgradeEffects, fullHeight, }: ItemTooltipProps): JSX.Element;
5
5
  export default ItemTooltip;
@@ -5,6 +5,7 @@ export interface ItemTooltipProps {
5
5
  data: BnsItemDto;
6
6
  region: ServerRegion;
7
7
  showUpgrade?: boolean;
8
+ showUpgradeEffects?: boolean;
8
9
  offline?: boolean;
9
10
  client?: ItemDownloadClient;
10
11
  debug?: boolean;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { ItemDownloadClient } from "../../Utilities/ItemDownloadClient";
3
+ declare function ItemUpgradeEffects(props: {
4
+ id: number;
5
+ level: number;
6
+ client: ItemDownloadClient;
7
+ }): JSX.Element;
8
+ export default ItemUpgradeEffects;
@@ -44,3 +44,5 @@ import AccountTransfer from "./AccountTransfer";
44
44
  export { AccountTransfer };
45
45
  import EtchingStones from "./EtchingStones";
46
46
  export { EtchingStones };
47
+ import ItemUpgradeEffects from "./ItemUpgradeEffects";
48
+ export { ItemUpgradeEffects };
@@ -1,4 +1,4 @@
1
- import { BnsItemDto } from "../itemapiclient/ItemApiClient";
1
+ import { AllItemImproveEffectOptionsForItemResponse, BnsItemDto } from "../itemapiclient/ItemApiClient";
2
2
  import { ServerRegion } from "./Models";
3
3
  export declare class ItemDownloadClient {
4
4
  private static GetUrlBase;
@@ -14,4 +14,5 @@ export declare class ItemDownloadClient {
14
14
  GetItemsByCategory(category: string, technicalClassName: string, gradesString: string, minGs?: string): Promise<BnsItemDto[]>;
15
15
  GetItemUpgrades(item: BnsItemDto): Promise<BnsItemDto[]>;
16
16
  GetItemUpgradesByIdLevel(id: number, level: number): Promise<BnsItemDto[]>;
17
+ GetAllItemImproveEffectOptionsForItem(id: number, level: number): Promise<AllItemImproveEffectOptionsForItemResponse>;
17
18
  }