bnstooltips 1.12.1 → 1.13.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.
Files changed (39) hide show
  1. package/build/ItemImproveSelectStageTooltip/ItemImproveSelectStageTooltip.types.d.ts +1 -1
  2. package/build/ItemImproveSelectStageTooltipWrapper/ItemImproveSelectStageTooltipWrapper.types.d.ts +1 -1
  3. package/build/ItemImproveTooltip/ItemImproveTooltip.types.d.ts +1 -1
  4. package/build/ItemImproveTooltip/SubComponents/ItemImproveUpgradeCost.d.ts +1 -1
  5. package/build/ItemImproveTooltip/SubComponents/ItemWithText.d.ts +1 -1
  6. package/build/ItemImproveTooltip/SubComponents/MainCostSelector.d.ts +1 -1
  7. package/build/ItemImproveTooltip/SubComponents/PrevCurNext.d.ts +1 -1
  8. package/build/ItemImproveTooltip/SubComponents/SubCosts.d.ts +1 -1
  9. package/build/ItemImproveTooltipWrapper/ItemImproveTooltipWrapper.types.d.ts +1 -1
  10. package/build/ItemTooltip/ItemTooltip.types.d.ts +1 -1
  11. package/build/ItemTooltip/SubComponents/AccountTransfer.d.ts +1 -1
  12. package/build/ItemTooltip/SubComponents/DecomposeResults.d.ts +1 -1
  13. package/build/ItemTooltip/SubComponents/EtchingStones.d.ts +1 -1
  14. package/build/ItemTooltip/SubComponents/GearScore.d.ts +2 -2
  15. package/build/ItemTooltip/SubComponents/ItemCooldowns.d.ts +2 -2
  16. package/build/ItemTooltip/SubComponents/ItemIconNameDiv.d.ts +1 -1
  17. package/build/ItemTooltip/SubComponents/ItemMainInfo.d.ts +2 -2
  18. package/build/ItemTooltip/SubComponents/ItemRandomStats.d.ts +2 -2
  19. package/build/ItemTooltip/SubComponents/ItemSkillDescriptions.d.ts +1 -1
  20. package/build/ItemTooltip/SubComponents/ItemSkillTitles.d.ts +1 -1
  21. package/build/ItemTooltip/SubComponents/ItemStats.d.ts +2 -2
  22. package/build/ItemTooltip/SubComponents/ItemSubInfo.d.ts +2 -2
  23. package/build/ItemTooltip/SubComponents/SealingResult.d.ts +1 -1
  24. package/build/ItemTooltip/SubComponents/SetBonus.d.ts +1 -1
  25. package/build/ItemTooltip/SubComponents/SetBonusItems.d.ts +2 -2
  26. package/build/ItemTooltip/SubComponents/SkillModifierGroup.d.ts +1 -1
  27. package/build/ItemTooltip/SubComponents/SkillModifiers.d.ts +1 -1
  28. package/build/ItemTooltip/SubComponents/TopText.d.ts +2 -2
  29. package/build/ItemTooltipWrapper/ItemTooltipWrapper.types.d.ts +1 -1
  30. package/build/NpcTooltip/SubComponents/StoreItemBuyPriceEntry.d.ts +1 -1
  31. package/build/Utilities/INpc.d.ts +1 -1
  32. package/build/Utilities/ItemDownloadClient.d.ts +9 -10
  33. package/build/index.es.js +2105 -975
  34. package/build/index.es.js.map +1 -1
  35. package/build/index.js +2105 -995
  36. package/build/index.js.map +1 -1
  37. package/build/itemapiclient/BnsItemApiClientBase.d.ts +3 -0
  38. package/build/itemapiclient/ItemApiClient.d.ts +591 -0
  39. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { BnsItemDto } from "../itemapiclient";
1
+ import { BnsItemDto } from "../itemapiclient/ItemApiClient";
2
2
  export interface ItemImproveSelectStageTooltipProps {
3
3
  items: BnsItemDto[];
4
4
  onClick?: (BnsItemDto: BnsItemDto) => void;
@@ -1,4 +1,4 @@
1
- import { BnsItemDto } from "../itemapiclient";
1
+ import { BnsItemDto } from "../itemapiclient/ItemApiClient";
2
2
  import { ITooltipWrapper } from "../Utilities/Models";
3
3
  export interface ItemImproveSelectStageTooltipWrapperProps extends ITooltipWrapper {
4
4
  items: BnsItemDto[];
@@ -1,4 +1,4 @@
1
- import { BnsItemDto } from "../itemapiclient";
1
+ import { BnsItemDto } from "../itemapiclient/ItemApiClient";
2
2
  import { ItemDownloadClient } from "../Utilities/ItemDownloadClient";
3
3
  import { ServerRegion } from "../Utilities/Models";
4
4
  export interface ItemImproveTooltipProps {
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { BnsItemDto } from "../../itemapiclient";
2
+ import { BnsItemDto } from "../../itemapiclient/ItemApiClient";
3
3
  import { ItemDownloadClient } from "../../Utilities/ItemDownloadClient";
4
4
  import { ServerRegion } from "../../Utilities/Models";
5
5
  declare function ItemImproveUpgradeCost({ item, nextItem, steps, client, region }: {
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { BnsItemDto } from "../../itemapiclient";
2
+ import { BnsItemDto } from "../../itemapiclient/ItemApiClient";
3
3
  import { ItemDownloadClient } from "../../Utilities/ItemDownloadClient";
4
4
  import { ServerRegion } from "../../Utilities/Models";
5
5
  declare function ItemWithText({ borderClass, item: itemProp, itemLevel, itemId, client, region, tooltip, small }: {
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { ItemImproveCostOptionDto } from "../../itemapiclient";
2
+ import { ItemImproveCostOptionDto } from "../../itemapiclient/ItemApiClient";
3
3
  import { ItemDownloadClient } from "../../Utilities/ItemDownloadClient";
4
4
  import { ServerRegion } from "../../Utilities/Models";
5
5
  declare function MainCostSelector({ options, client, region, selectOption, selectedOption }: {
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ServerRegion } from "../..";
3
- import { BnsItemDto, ItemImproveEffectOptionDto } from "../../itemapiclient";
3
+ import { BnsItemDto, ItemImproveEffectOptionDto } from "../../itemapiclient/ItemApiClient";
4
4
  import { ItemDownloadClient } from "../../Utilities/ItemDownloadClient";
5
5
  declare function PrevCurNext({ item, client, region, nextItem, prevItem, steps, allPossibleUpgrades, SetCustomStage, NavigateTo }: {
6
6
  item: BnsItemDto;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { ItemImproveCostOptionDto } from "../../itemapiclient";
2
+ import { ItemImproveCostOptionDto } from "../../itemapiclient/ItemApiClient";
3
3
  import { ItemDownloadClient } from "../../Utilities/ItemDownloadClient";
4
4
  import { ServerRegion } from "../../Utilities/Models";
5
5
  declare function SubCosts({ options, client, region, selectedOption }: {
@@ -1,4 +1,4 @@
1
- import { BnsItemDto } from "../itemapiclient";
1
+ import { BnsItemDto } from "../itemapiclient/ItemApiClient";
2
2
  import { ItemDownloadClient } from "../Utilities/ItemDownloadClient";
3
3
  import { ITooltipWrapper, ServerRegion } from "../Utilities/Models";
4
4
  export interface ItemImproveTooltipWrapperProps extends ITooltipWrapper {
@@ -1,4 +1,4 @@
1
- import { BnsItemDto } from "../itemapiclient";
1
+ import { BnsItemDto } from "../itemapiclient/ItemApiClient";
2
2
  import { ItemDownloadClient } from "../Utilities/ItemDownloadClient";
3
3
  import { ServerRegion } from "../Utilities/Models";
4
4
  export interface ItemTooltipProps {
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ServerRegion } from "../..";
3
- import { BnsItemDto } from "../../itemapiclient";
3
+ import { BnsItemDto } from "../../itemapiclient/ItemApiClient";
4
4
  import { ItemDownloadClient } from "../../Utilities/ItemDownloadClient";
5
5
  declare function AccountTransfer({ item, client, region, }: {
6
6
  item: BnsItemDto;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ServerRegion } from "../..";
3
- import { ItemRefWithCount } from "../../itemapiclient";
3
+ import { ItemRefWithCount } from "../../itemapiclient/ItemApiClient";
4
4
  import { ItemDownloadClient } from "../../Utilities/ItemDownloadClient";
5
5
  declare function DecomposeResults(props: {
6
6
  items: ItemRefWithCount[];
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { SlateStoneDto } from "../../itemapiclient";
2
+ import { SlateStoneDto } from "../../itemapiclient/ItemApiClient";
3
3
  declare function EtchingStones({ stones }: {
4
4
  stones: SlateStoneDto[];
5
5
  }): JSX.Element;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { BnsItemDto } from "../../itemapiclient";
3
- declare function GearScore(item: BnsItemDto): JSX.Element;
2
+ import { IBnsItemDto } from "../../itemapiclient/ItemApiClient";
3
+ declare function GearScore(item: IBnsItemDto): JSX.Element;
4
4
  export default GearScore;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { BnsItemDto } from "../../itemapiclient";
3
- declare function ItemCooldowns(item: BnsItemDto): JSX.Element;
2
+ import { IBnsItemDto } from "../../itemapiclient/ItemApiClient";
3
+ declare function ItemCooldowns(item: IBnsItemDto): JSX.Element;
4
4
  export default ItemCooldowns;
5
5
  export declare function GetCooldownString(cooldownInMs: number): string;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ServerRegion } from "../..";
3
- import { ItemRefWithCount, BnsItemDto } from "../../itemapiclient";
3
+ import { ItemRefWithCount, BnsItemDto } from "../../itemapiclient/ItemApiClient";
4
4
  import { ItemDownloadClient } from "../../Utilities/ItemDownloadClient";
5
5
  declare function ItemIconNameDiv({ item, region, client, showRandomIcon, trigger, interactive, showUpgrade, tooltip, itemData: itemDataProp }: {
6
6
  item: ItemRefWithCount;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { BnsItemDto } from "../../itemapiclient";
3
- declare function ItemMainInfo(item: BnsItemDto): JSX.Element;
2
+ import { IBnsItemDto } from "../../itemapiclient/ItemApiClient";
3
+ declare function ItemMainInfo(item: IBnsItemDto): JSX.Element;
4
4
  export default ItemMainInfo;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { BnsItemDto } from "../../itemapiclient";
3
- declare function ItemRandomStats(item: BnsItemDto): JSX.Element;
2
+ import { IBnsItemDto } from "../../itemapiclient/ItemApiClient";
3
+ declare function ItemRandomStats(item: IBnsItemDto): JSX.Element;
4
4
  export default ItemRandomStats;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { BnsItemDto } from "../../itemapiclient";
2
+ import { BnsItemDto } from "../../itemapiclient/ItemApiClient";
3
3
  declare function ItemSkillDescriptions({ item, itemCombats, jobstyle, }: {
4
4
  item: BnsItemDto;
5
5
  itemCombats: boolean;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { BnsItemDto } from "../../itemapiclient";
2
+ import { BnsItemDto } from "../../itemapiclient/ItemApiClient";
3
3
  declare function ItemSkillTitles({ item, itemCombats, jobstyle, }: {
4
4
  item: BnsItemDto;
5
5
  itemCombats: boolean;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { BnsItemDto } from "../../itemapiclient";
3
- declare function ItemStats(item: BnsItemDto): JSX.Element;
2
+ import { IBnsItemDto } from "../../itemapiclient/ItemApiClient";
3
+ declare function ItemStats(item: IBnsItemDto): JSX.Element;
4
4
  export default ItemStats;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { BnsItemDto } from "../../itemapiclient";
3
- declare function ItemSubInfo(item: BnsItemDto): JSX.Element;
2
+ import { IBnsItemDto } from "../../itemapiclient/ItemApiClient";
3
+ declare function ItemSubInfo(item: IBnsItemDto): JSX.Element;
4
4
  export default ItemSubInfo;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ServerRegion } from "../..";
3
- import { BnsItemDto } from "../../itemapiclient";
3
+ import { BnsItemDto } from "../../itemapiclient/ItemApiClient";
4
4
  import { ItemDownloadClient } from "../../Utilities/ItemDownloadClient";
5
5
  declare function SealingResult({ item, client, region, }: {
6
6
  item: BnsItemDto;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { BnsItemDto } from "../../itemapiclient";
2
+ import { BnsItemDto } from "../../itemapiclient/ItemApiClient";
3
3
  declare function SetBonus(props: {
4
4
  item: BnsItemDto;
5
5
  jobstyle: string;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { ItemSetBonusDto } from "../../itemapiclient";
3
- declare function SetBonusItems(setBonus: ItemSetBonusDto): JSX.Element;
2
+ import { IItemSetBonusDto } from "../../itemapiclient/ItemApiClient";
3
+ declare function SetBonusItems(setBonus: IItemSetBonusDto): JSX.Element;
4
4
  export default SetBonusItems;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { SkillModifierGroupDto } from "../../itemapiclient";
2
+ import { SkillModifierGroupDto } from "../../itemapiclient/ItemApiClient";
3
3
  declare function SkillModifierGroup(props: {
4
4
  modifierGroup: SkillModifierGroupDto;
5
5
  }): JSX.Element;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { SkillModifierGroupDto } from "../../itemapiclient";
2
+ import { SkillModifierGroupDto } from "../../itemapiclient/ItemApiClient";
3
3
  declare function SkillModifiers(props: {
4
4
  skillModifierGroups: SkillModifierGroupDto[];
5
5
  isSetBonus: boolean;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { BnsItemDto } from "../../itemapiclient";
3
- declare function TopText(item: BnsItemDto): JSX.Element;
2
+ import { IBnsItemDto } from "../../itemapiclient/ItemApiClient";
3
+ declare function TopText(item: IBnsItemDto): JSX.Element;
4
4
  export default TopText;
@@ -1,4 +1,4 @@
1
- import { BnsItemDto } from "../itemapiclient";
1
+ import { BnsItemDto } from "../itemapiclient/ItemApiClient";
2
2
  import { ItemDownloadClient } from "../Utilities/ItemDownloadClient";
3
3
  import { ServerRegion } from "..";
4
4
  import { ITooltipWrapper } from "../Utilities/Models";
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { ItemRefWithCount } from "../../itemapiclient";
2
+ import { ItemRefWithCount } from "../../itemapiclient/ItemApiClient";
3
3
  import { ItemDownloadClient } from "../../Utilities/ItemDownloadClient";
4
4
  declare function StoreItemBuyPriceEntry({ itemRef, client, }: {
5
5
  itemRef: ItemRefWithCount;
@@ -1,4 +1,4 @@
1
- import { ItemRefWithCount } from "../itemapiclient";
1
+ import { ItemRefWithCount } from "../itemapiclient/ItemApiClient";
2
2
  export interface INpc {
3
3
  Name: string;
4
4
  Title?: string;
@@ -1,17 +1,16 @@
1
- import * as api from "../itemapiclient/api";
1
+ import { BnsItemDto } from "../itemapiclient/ItemApiClient";
2
2
  import { ServerRegion } from "./Models";
3
3
  export declare class ItemDownloadClient {
4
- private static urlBase;
5
- private static options;
4
+ private static GetUrlBase;
6
5
  private instance;
7
6
  private patch;
8
7
  region: ServerRegion;
9
8
  constructor(region: ServerRegion, patch?: string);
10
- GetNewItems(): Promise<api.BnsItemDto[]>;
11
- GetModifiedItems(): Promise<api.BnsItemDto[]>;
12
- GetItemByString(idlevelString: string): Promise<api.BnsItemDto>;
13
- GetItem(id: number, level: number): Promise<api.BnsItemDto>;
14
- GetItemsByCategory(category: string, technicalClassName: string, gradesString: string, minGs?: string): Promise<api.BnsItemDto[]>;
15
- GetItemUpgrades(item: api.BnsItemDto): Promise<api.BnsItemDto[]>;
16
- GetItemUpgradesByIdLevel(id: number, level: number): Promise<api.BnsItemDto[]>;
9
+ GetNewItems(): Promise<BnsItemDto[]>;
10
+ GetModifiedItems(): Promise<BnsItemDto[]>;
11
+ GetItemByString(idlevelString: string): Promise<BnsItemDto>;
12
+ GetItem(id: number, level: number): Promise<BnsItemDto>;
13
+ GetItemsByCategory(category: string, technicalClassName: string, gradesString: string, minGs?: string): Promise<BnsItemDto[]>;
14
+ GetItemUpgrades(item: BnsItemDto): Promise<BnsItemDto[]>;
15
+ GetItemUpgradesByIdLevel(id: number, level: number): Promise<BnsItemDto[]>;
17
16
  }