bnstooltips 1.16.5 → 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.
- package/build/ItemImproveEffectsTooltipLoading/ItemImproveEffectsTooltipLoading.d.ts +5 -0
- package/build/ItemImproveEffectsTooltipLoading/ItemImproveEffectsTooltipLoading.types.d.ts +6 -0
- package/build/ItemImproveEffectsTooltipLoadingWrapper/ItemImproveEffectsTooltipLoadingWrapper.d.ts +6 -0
- package/build/ItemImproveEffectsTooltipLoadingWrapper/ItemImproveEffectsTooltipLoadingWrapper.types.d.ts +7 -0
- package/build/ItemTooltip/ItemTooltip.d.ts +1 -1
- package/build/ItemTooltip/ItemTooltip.types.d.ts +1 -0
- package/build/ItemTooltip/SubComponents/ItemUpgradeEffects.d.ts +8 -0
- package/build/ItemTooltip/SubComponents/index.d.ts +2 -0
- package/build/Utilities/ItemDownloadClient.d.ts +2 -1
- package/build/index.es.js +409 -50
- package/build/index.es.js.map +1 -1
- package/build/index.js +409 -50
- package/build/index.js.map +1 -1
- package/build/itemapiclient/ItemApiClient.d.ts +65 -15
- package/package.json +2 -2
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
export declare class BnsItemApiClientBase {
|
|
2
|
+
transformOptions(options: RequestInit): Promise<RequestInit>;
|
|
3
|
+
}
|
|
2
4
|
export declare class BnsItemApiClient extends BnsItemApiClientBase {
|
|
3
5
|
private http;
|
|
4
6
|
private baseUrl;
|
|
@@ -36,6 +38,16 @@ export declare class BnsItemApiClient extends BnsItemApiClientBase {
|
|
|
36
38
|
*/
|
|
37
39
|
yastItems(region: string, itemType: string, technicalJobName: string, patch: string | undefined, v: string | undefined): Promise<ItemsResponse>;
|
|
38
40
|
protected processYastItems(response: Response): Promise<ItemsResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* @param itemId (optional)
|
|
43
|
+
* @param itemLevel (optional)
|
|
44
|
+
* @param region (optional)
|
|
45
|
+
* @param patch (optional)
|
|
46
|
+
* @param v (optional)
|
|
47
|
+
* @return Success
|
|
48
|
+
*/
|
|
49
|
+
allItemImproveEffectOptionsForItem(itemId: number | undefined, itemLevel: number | undefined, region: string | undefined, patch: string | undefined, v: string | undefined): Promise<AllItemImproveEffectOptionsForItemResponse>;
|
|
50
|
+
protected processAllItemImproveEffectOptionsForItem(response: Response): Promise<AllItemImproveEffectOptionsForItemResponse>;
|
|
39
51
|
/**
|
|
40
52
|
* @param itemId (optional)
|
|
41
53
|
* @param itemLevel (optional)
|
|
@@ -99,6 +111,20 @@ export declare class BnsItemApiClient extends BnsItemApiClientBase {
|
|
|
99
111
|
*/
|
|
100
112
|
itemsByCategory(region: string, category: string | undefined, technicalJobName: string | undefined, gradesString: string | undefined, minGs: string | undefined, patch: string | undefined, noDupes: boolean | undefined, v: string | undefined): Promise<ItemsResponse>;
|
|
101
113
|
protected processItemsByCategory(response: Response): Promise<ItemsResponse>;
|
|
114
|
+
/**
|
|
115
|
+
* @param patch (optional)
|
|
116
|
+
* @param v (optional)
|
|
117
|
+
* @return Success
|
|
118
|
+
*/
|
|
119
|
+
allItems(region: string, patch: string | undefined, v: string | undefined): Promise<ItemsResponse>;
|
|
120
|
+
protected processAllItems(response: Response): Promise<ItemsResponse>;
|
|
121
|
+
/**
|
|
122
|
+
* @param patch (optional)
|
|
123
|
+
* @param v (optional)
|
|
124
|
+
* @return Success
|
|
125
|
+
*/
|
|
126
|
+
allItemCount(region: string, patch: string | undefined, v: string | undefined): Promise<number>;
|
|
127
|
+
protected processAllItemCount(response: Response): Promise<number>;
|
|
102
128
|
/**
|
|
103
129
|
* @param offset (optional)
|
|
104
130
|
* @param patch (optional)
|
|
@@ -116,6 +142,16 @@ export declare class BnsItemApiClient extends BnsItemApiClientBase {
|
|
|
116
142
|
itemsByIds(region: string, light: boolean | undefined, patch: string | undefined, v: string | undefined, body: IdAndLevel[]): Promise<ItemsResponse>;
|
|
117
143
|
protected processItemsByIds(response: Response): Promise<ItemsResponse>;
|
|
118
144
|
}
|
|
145
|
+
export declare class AllItemImproveEffectOptionsForItemResponse implements IAllItemImproveEffectOptionsForItemResponse {
|
|
146
|
+
itemImproveEffectOptions?: ItemImproveEffectOptionWithNameDto[] | undefined;
|
|
147
|
+
constructor(data?: IAllItemImproveEffectOptionsForItemResponse);
|
|
148
|
+
init(_data?: any): void;
|
|
149
|
+
static fromJS(data: any): AllItemImproveEffectOptionsForItemResponse;
|
|
150
|
+
toJSON(data?: any): any;
|
|
151
|
+
}
|
|
152
|
+
export interface IAllItemImproveEffectOptionsForItemResponse {
|
|
153
|
+
itemImproveEffectOptions?: ItemImproveEffectOptionWithNameDto[] | undefined;
|
|
154
|
+
}
|
|
119
155
|
export declare class BnsItemDto implements IBnsItemDto {
|
|
120
156
|
id?: number;
|
|
121
157
|
level?: number;
|
|
@@ -252,18 +288,6 @@ export interface IIdAndLevel {
|
|
|
252
288
|
id?: number;
|
|
253
289
|
level?: number;
|
|
254
290
|
}
|
|
255
|
-
export declare class Int32StringTuple implements IInt32StringTuple {
|
|
256
|
-
item1?: number;
|
|
257
|
-
item2?: string | undefined;
|
|
258
|
-
constructor(data?: IInt32StringTuple);
|
|
259
|
-
init(_data?: any): void;
|
|
260
|
-
static fromJS(data: any): Int32StringTuple;
|
|
261
|
-
toJSON(data?: any): any;
|
|
262
|
-
}
|
|
263
|
-
export interface IInt32StringTuple {
|
|
264
|
-
item1?: number;
|
|
265
|
-
item2?: string | undefined;
|
|
266
|
-
}
|
|
267
291
|
export declare class ItemAccountTransferDto implements IItemAccountTransferDto {
|
|
268
292
|
requiredItems?: ItemRefWithCount[] | undefined;
|
|
269
293
|
moneyCost?: number;
|
|
@@ -368,6 +392,20 @@ export interface IItemImproveEffectOptionDto {
|
|
|
368
392
|
effectDescription?: string | undefined;
|
|
369
393
|
icon?: ItemIconDto;
|
|
370
394
|
}
|
|
395
|
+
export declare class ItemImproveEffectOptionWithNameDto implements IItemImproveEffectOptionWithNameDto {
|
|
396
|
+
index?: number;
|
|
397
|
+
upgradeName?: string | undefined;
|
|
398
|
+
itemImproveEffectOptions?: ItemImproveEffectOptionDto[] | undefined;
|
|
399
|
+
constructor(data?: IItemImproveEffectOptionWithNameDto);
|
|
400
|
+
init(_data?: any): void;
|
|
401
|
+
static fromJS(data: any): ItemImproveEffectOptionWithNameDto;
|
|
402
|
+
toJSON(data?: any): any;
|
|
403
|
+
}
|
|
404
|
+
export interface IItemImproveEffectOptionWithNameDto {
|
|
405
|
+
index?: number;
|
|
406
|
+
upgradeName?: string | undefined;
|
|
407
|
+
itemImproveEffectOptions?: ItemImproveEffectOptionDto[] | undefined;
|
|
408
|
+
}
|
|
371
409
|
export declare class ItemRandomStatDto implements IItemRandomStatDto {
|
|
372
410
|
name?: string | undefined;
|
|
373
411
|
min?: number;
|
|
@@ -575,7 +613,7 @@ export interface ISetItemDto {
|
|
|
575
613
|
itemIcon?: ItemIconDto;
|
|
576
614
|
}
|
|
577
615
|
export declare class SkillModifierDto implements ISkillModifierDto {
|
|
578
|
-
skills?:
|
|
616
|
+
skills?: SkillModifierSkillDto[] | undefined;
|
|
579
617
|
verb?: string | undefined;
|
|
580
618
|
value?: number;
|
|
581
619
|
constructor(data?: ISkillModifierDto);
|
|
@@ -584,7 +622,7 @@ export declare class SkillModifierDto implements ISkillModifierDto {
|
|
|
584
622
|
toJSON(data?: any): any;
|
|
585
623
|
}
|
|
586
624
|
export interface ISkillModifierDto {
|
|
587
|
-
skills?:
|
|
625
|
+
skills?: SkillModifierSkillDto[] | undefined;
|
|
588
626
|
verb?: string | undefined;
|
|
589
627
|
value?: number;
|
|
590
628
|
}
|
|
@@ -600,6 +638,18 @@ export interface ISkillModifierGroupDto {
|
|
|
600
638
|
jobstyle?: string | undefined;
|
|
601
639
|
modifiers?: SkillModifierDto[] | undefined;
|
|
602
640
|
}
|
|
641
|
+
export declare class SkillModifierSkillDto implements ISkillModifierSkillDto {
|
|
642
|
+
item1?: number;
|
|
643
|
+
item2?: string | undefined;
|
|
644
|
+
constructor(data?: ISkillModifierSkillDto);
|
|
645
|
+
init(_data?: any): void;
|
|
646
|
+
static fromJS(data: any): SkillModifierSkillDto;
|
|
647
|
+
toJSON(data?: any): any;
|
|
648
|
+
}
|
|
649
|
+
export interface ISkillModifierSkillDto {
|
|
650
|
+
item1?: number;
|
|
651
|
+
item2?: string | undefined;
|
|
652
|
+
}
|
|
603
653
|
export declare class SlateStoneDto implements ISlateStoneDto {
|
|
604
654
|
name?: string | undefined;
|
|
605
655
|
grade?: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bnstooltips",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.18.0",
|
|
4
4
|
"description": "Blade & Soul style tooltips",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"module": "build/index.es.js",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@tippyjs/react": "^4.2.6",
|
|
57
57
|
"isomorphic-fetch": "^3.0.0",
|
|
58
|
-
"
|
|
58
|
+
"sass": "^1.80.7"
|
|
59
59
|
},
|
|
60
60
|
"browserslist": "last 2 versions"
|
|
61
61
|
}
|