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.
- package/build/ItemImproveSelectStageTooltip/ItemImproveSelectStageTooltip.types.d.ts +1 -1
- package/build/ItemImproveSelectStageTooltipWrapper/ItemImproveSelectStageTooltipWrapper.types.d.ts +1 -1
- package/build/ItemImproveTooltip/ItemImproveTooltip.types.d.ts +1 -1
- package/build/ItemImproveTooltip/SubComponents/ItemImproveUpgradeCost.d.ts +1 -1
- package/build/ItemImproveTooltip/SubComponents/ItemWithText.d.ts +1 -1
- package/build/ItemImproveTooltip/SubComponents/MainCostSelector.d.ts +1 -1
- package/build/ItemImproveTooltip/SubComponents/PrevCurNext.d.ts +1 -1
- package/build/ItemImproveTooltip/SubComponents/SubCosts.d.ts +1 -1
- package/build/ItemImproveTooltipWrapper/ItemImproveTooltipWrapper.types.d.ts +1 -1
- package/build/ItemTooltip/ItemTooltip.types.d.ts +1 -1
- package/build/ItemTooltip/SubComponents/AccountTransfer.d.ts +1 -1
- package/build/ItemTooltip/SubComponents/DecomposeResults.d.ts +1 -1
- package/build/ItemTooltip/SubComponents/EtchingStones.d.ts +1 -1
- package/build/ItemTooltip/SubComponents/GearScore.d.ts +2 -2
- package/build/ItemTooltip/SubComponents/ItemCooldowns.d.ts +2 -2
- package/build/ItemTooltip/SubComponents/ItemIconNameDiv.d.ts +1 -1
- package/build/ItemTooltip/SubComponents/ItemMainInfo.d.ts +2 -2
- package/build/ItemTooltip/SubComponents/ItemRandomStats.d.ts +2 -2
- package/build/ItemTooltip/SubComponents/ItemSkillDescriptions.d.ts +1 -1
- package/build/ItemTooltip/SubComponents/ItemSkillTitles.d.ts +1 -1
- package/build/ItemTooltip/SubComponents/ItemStats.d.ts +2 -2
- package/build/ItemTooltip/SubComponents/ItemSubInfo.d.ts +2 -2
- package/build/ItemTooltip/SubComponents/SealingResult.d.ts +1 -1
- package/build/ItemTooltip/SubComponents/SetBonus.d.ts +1 -1
- package/build/ItemTooltip/SubComponents/SetBonusItems.d.ts +2 -2
- package/build/ItemTooltip/SubComponents/SkillModifierGroup.d.ts +1 -1
- package/build/ItemTooltip/SubComponents/SkillModifiers.d.ts +1 -1
- package/build/ItemTooltip/SubComponents/TopText.d.ts +2 -2
- package/build/ItemTooltipWrapper/ItemTooltipWrapper.types.d.ts +1 -1
- package/build/NpcTooltip/SubComponents/StoreItemBuyPriceEntry.d.ts +1 -1
- package/build/Utilities/INpc.d.ts +1 -1
- package/build/Utilities/ItemDownloadClient.d.ts +9 -10
- package/build/index.es.js +2105 -975
- package/build/index.es.js.map +1 -1
- package/build/index.js +2105 -995
- package/build/index.js.map +1 -1
- package/build/itemapiclient/BnsItemApiClientBase.d.ts +3 -0
- package/build/itemapiclient/ItemApiClient.d.ts +591 -0
- package/package.json +1 -1
package/build/ItemImproveSelectStageTooltipWrapper/ItemImproveSelectStageTooltipWrapper.types.d.ts
CHANGED
|
@@ -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,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
declare function GearScore(item:
|
|
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 {
|
|
3
|
-
declare function ItemCooldowns(item:
|
|
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 {
|
|
3
|
-
declare function ItemMainInfo(item:
|
|
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 {
|
|
3
|
-
declare function ItemRandomStats(item:
|
|
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,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
declare function ItemStats(item:
|
|
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 {
|
|
3
|
-
declare function ItemSubInfo(item:
|
|
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,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
declare function SetBonusItems(setBonus:
|
|
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 {
|
|
3
|
-
declare function TopText(item:
|
|
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,17 +1,16 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { BnsItemDto } from "../itemapiclient/ItemApiClient";
|
|
2
2
|
import { ServerRegion } from "./Models";
|
|
3
3
|
export declare class ItemDownloadClient {
|
|
4
|
-
private static
|
|
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<
|
|
11
|
-
GetModifiedItems(): Promise<
|
|
12
|
-
GetItemByString(idlevelString: string): Promise<
|
|
13
|
-
GetItem(id: number, level: number): Promise<
|
|
14
|
-
GetItemsByCategory(category: string, technicalClassName: string, gradesString: string, minGs?: string): Promise<
|
|
15
|
-
GetItemUpgrades(item:
|
|
16
|
-
GetItemUpgradesByIdLevel(id: number, level: number): Promise<
|
|
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
|
}
|