koishi-plugin-warframe 1.7.3 → 1.7.5
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/lib/assets/render.css +47 -63
- package/lib/index.d.ts +4 -0
- package/lib/index.js +500 -486
- package/lib/index.tsbuildinfo +1 -1
- package/lib/warframe/assets/baro.txt +15867 -15869
- package/package.json +1 -1
package/lib/assets/render.css
CHANGED
|
@@ -1,71 +1,55 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
|
|
3
|
-
--
|
|
4
|
-
--
|
|
5
|
-
--
|
|
6
|
-
--
|
|
7
|
-
--
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
--
|
|
11
|
-
--
|
|
12
|
-
--
|
|
13
|
-
--
|
|
14
|
-
--
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
--
|
|
18
|
-
--
|
|
19
|
-
--
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
--
|
|
23
|
-
--
|
|
24
|
-
--
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
--
|
|
28
|
-
--
|
|
29
|
-
--
|
|
30
|
-
--
|
|
31
|
-
--
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
--
|
|
35
|
-
--
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
--
|
|
39
|
-
--
|
|
40
|
-
--
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
--
|
|
44
|
-
--
|
|
45
|
-
--
|
|
46
|
-
--color_rgb_link_dimmed--hover: 163 221 219;
|
|
47
|
-
--color_rgb_link_dimmed--active: 172 184 221;
|
|
48
|
-
--color_dark_md_code_background: black;
|
|
49
|
-
--color_dark_md_code_text: #39a57e;
|
|
50
|
-
--color_rgb_dark_md_code_background: 0 0 0;
|
|
51
|
-
--color_status-offline: darkred;
|
|
52
|
-
--color_highlight: #b53600;
|
|
53
|
-
--color_highlight_text: #f5f5f5;
|
|
54
|
-
--color_tooltip_background: #1b2432;
|
|
55
|
-
--color_tooltip_border: black;
|
|
56
|
-
--color_tooltip_text: #aab3b6;
|
|
57
|
-
--color_rgb_tooltip_background: 27 36 50;
|
|
58
|
-
--color_text_svg: red;
|
|
59
|
-
--color_dark_text: #aab3b6;
|
|
60
|
-
--color_dark_h1: #fcfdfd;
|
|
61
|
-
--color_dark_h2: #e1e4e5;
|
|
62
|
-
--color_dark_h3: #c5ccce;
|
|
63
|
-
--color_dark_disclaimer: #333d40;
|
|
2
|
+
/* ===== Backgrounds ===== */
|
|
3
|
+
--wf-bg-page: #f5f0e8;
|
|
4
|
+
--wf-bg-card: #ffffff;
|
|
5
|
+
--wf-bg-subtle: #f5f5f5;
|
|
6
|
+
--wf-bg-tint: #fff8f0;
|
|
7
|
+
--wf-bg-overlay: rgba(0, 0, 0, 0.03);
|
|
8
|
+
|
|
9
|
+
/* ===== Text ===== */
|
|
10
|
+
--wf-text-primary: #1a1a1a;
|
|
11
|
+
--wf-text-body: #333333;
|
|
12
|
+
--wf-text-secondary: #666666;
|
|
13
|
+
--wf-text-muted: #888888;
|
|
14
|
+
--wf-text-faint: #a0a0a0;
|
|
15
|
+
|
|
16
|
+
/* ===== Borders ===== */
|
|
17
|
+
--wf-border: rgba(0, 0, 0, 0.08);
|
|
18
|
+
--wf-border-strong: rgba(0, 0, 0, 0.12);
|
|
19
|
+
--wf-divider: rgba(0, 0, 0, 0.1);
|
|
20
|
+
|
|
21
|
+
/* ===== Rarity ===== */
|
|
22
|
+
--wf-rarity-rare: #ffd700;
|
|
23
|
+
--wf-rarity-uncommon: #c0c0c0;
|
|
24
|
+
--wf-rarity-common: #cd7f32;
|
|
25
|
+
|
|
26
|
+
/* ===== Semantic accents ===== */
|
|
27
|
+
--wf-success: #2e7d32;
|
|
28
|
+
--wf-warning: #ff8c42;
|
|
29
|
+
--wf-danger: #e05050;
|
|
30
|
+
--wf-info: #0d93b8;
|
|
31
|
+
--wf-accent: #47b5a5;
|
|
32
|
+
|
|
33
|
+
/* ===== Currency ===== */
|
|
34
|
+
--wf-platinum: #0d93b8;
|
|
35
|
+
--wf-ducats: #a0a000;
|
|
36
|
+
|
|
37
|
+
/* ===== Shadows ===== */
|
|
38
|
+
--wf-shadow-card: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
39
|
+
--wf-shadow-subtle: 0 1px 2px rgba(0, 0, 0, 0.04);
|
|
40
|
+
--wf-shadow-inner: 0 2px 4px rgba(0, 0, 0, 0.04);
|
|
41
|
+
|
|
42
|
+
/* ===== Radii ===== */
|
|
43
|
+
--wf-radius: 8px;
|
|
44
|
+
--wf-radius-md: 6px;
|
|
45
|
+
--wf-radius-sm: 4px;
|
|
64
46
|
}
|
|
65
47
|
|
|
66
48
|
body {
|
|
67
|
-
font-family:
|
|
49
|
+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
68
50
|
padding: 20px;
|
|
51
|
+
background-color: var(--wf-bg-page);
|
|
52
|
+
color: var(--wf-text-body);
|
|
69
53
|
}
|
|
70
54
|
|
|
71
55
|
* {
|
package/lib/index.d.ts
CHANGED
|
@@ -611,6 +611,7 @@ declare module "warframe/services/wfm-service/wfm-service.item-matcher" {
|
|
|
611
611
|
}
|
|
612
612
|
export const wfmItemMatcher: {
|
|
613
613
|
buildSuffixVariantCandidates: (input: string) => string[];
|
|
614
|
+
matchByArcaneReorder: (input: string, lookup: WFMItemLookupData) => ItemShort | undefined;
|
|
614
615
|
matchByShortHand: (input: string, lookup: WFMItemLookupData) => ItemShort | undefined;
|
|
615
616
|
matchBySlugDict: (input: string, lookup: WFMItemLookupData) => ItemShort | undefined;
|
|
616
617
|
matchBySuffixVariantLookup: (input: string, lookup: WFMItemLookupData) => ItemShort | undefined;
|
|
@@ -621,6 +622,7 @@ declare module "warframe/services/wfm-service/wfm-service.item-matcher" {
|
|
|
621
622
|
pure: string;
|
|
622
623
|
suffix: string;
|
|
623
624
|
};
|
|
625
|
+
reorderArcanePrefix: (input: string) => string | undefined;
|
|
624
626
|
splitWordPrefixTokens: (input: string) => string[];
|
|
625
627
|
shortHandProcess: (input: string, lookup: Pick<WFMItemLookupData, "globalItemDict" | "globalItemNameToSlugDict">) => ItemShort | undefined;
|
|
626
628
|
stringToWFMItem: (input: string) => Promise<ItemShort | undefined>;
|
|
@@ -628,6 +630,7 @@ declare module "warframe/services/wfm-service/wfm-service.item-matcher" {
|
|
|
628
630
|
normalizeWordPrefixName: (input: string) => string;
|
|
629
631
|
};
|
|
630
632
|
export const buildSuffixVariantCandidates: (input: string) => string[];
|
|
633
|
+
export const matchByArcaneReorder: (input: string, lookup: WFMItemLookupData) => ItemShort | undefined;
|
|
631
634
|
export const matchByShortHand: (input: string, lookup: WFMItemLookupData) => ItemShort | undefined;
|
|
632
635
|
export const matchBySlugDict: (input: string, lookup: WFMItemLookupData) => ItemShort | undefined;
|
|
633
636
|
export const matchBySuffixVariantLookup: (input: string, lookup: WFMItemLookupData) => ItemShort | undefined;
|
|
@@ -639,6 +642,7 @@ declare module "warframe/services/wfm-service/wfm-service.item-matcher" {
|
|
|
639
642
|
pure: string;
|
|
640
643
|
suffix: string;
|
|
641
644
|
};
|
|
645
|
+
export const reorderArcanePrefix: (input: string) => string | undefined;
|
|
642
646
|
export const splitWordPrefixTokens: (input: string) => string[];
|
|
643
647
|
export const shortHandProcess: (input: string, lookup: Pick<WFMItemLookupData, "globalItemDict" | "globalItemNameToSlugDict">) => ItemShort | undefined;
|
|
644
648
|
export const stringToWFMItem: (input: string) => Promise<ItemShort | undefined>;
|