koishi-plugin-warframe 1.4.8 → 1.4.9
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/index.d.ts +5 -3
- package/lib/index.js +440 -61
- package/package.json +7 -7
package/lib/index.d.ts
CHANGED
|
@@ -584,8 +584,10 @@ export const getWeekly: () => Promise<"内部错误,获取最新信息失败"
|
|
|
584
584
|
}>;
|
|
585
585
|
export const getEnvironment: () => Promise<string>;
|
|
586
586
|
export const getCircuitWeek: () => {
|
|
587
|
-
|
|
588
|
-
|
|
587
|
+
currentIncarnons: number;
|
|
588
|
+
currentWarframes: number;
|
|
589
|
+
allIncarnons: string[][];
|
|
590
|
+
allWarframes: string[][];
|
|
589
591
|
};
|
|
590
592
|
export const getFissures: () => Promise<any[] | "内部错误,获取最新信息失败">;
|
|
591
593
|
export const getSteelPathFissures: () => Promise<any[] | "内部错误,获取最新信息失败">;
|
|
@@ -611,7 +613,7 @@ export const analyzeRivenStat: (parseResult: {
|
|
|
611
613
|
}[];
|
|
612
614
|
}) => RivenStatAnalyzeResult | string;
|
|
613
615
|
export const ArbitrationComponent: (arbi: Arbitration[]) => Element;
|
|
614
|
-
export const CircuitComponent: (
|
|
616
|
+
export const CircuitComponent: (currentIncarnons: number, currentWarframes: number, allIncarnons: string[][], allWarframes: string[][]) => Element;
|
|
615
617
|
export const FissureComponent: (fissures: Fissure[], type: "fissure" | "sp-fissure" | "rj-fissure") => Element;
|
|
616
618
|
export const WeeklyComponent: (archon: ArchonHunt, deepArchimedea: ArchiMedea, temporalArchimedea: ArchiMedea) => Element;
|
|
617
619
|
export const RelicComponent: (relic: OutputRelic) => Element;
|
package/lib/index.js
CHANGED
|
@@ -2097,6 +2097,13 @@ var arbyRewards_default = {
|
|
|
2097
2097
|
|
|
2098
2098
|
// src/assets/circuitRewards.json
|
|
2099
2099
|
var incarnons = [
|
|
2100
|
+
[
|
|
2101
|
+
"/Lotus/Language/Items/RifleName",
|
|
2102
|
+
"/Lotus/Language/Items/PistolName",
|
|
2103
|
+
"/Lotus/Language/Items/LongSwordName",
|
|
2104
|
+
"/Lotus/Language/Items/HuntingBowName",
|
|
2105
|
+
"/Lotus/Language/Items/KunaiName"
|
|
2106
|
+
],
|
|
2100
2107
|
[
|
|
2101
2108
|
"/Lotus/Language/Items/AutoShotgunName",
|
|
2102
2109
|
"/Lotus/Language/Items/ReconnasorName",
|
|
@@ -2145,31 +2152,9 @@ var incarnons = [
|
|
|
2145
2152
|
"/Lotus/Language/Items/CorpusMinigunName",
|
|
2146
2153
|
"/Lotus/Language/Items/BurstPistolName",
|
|
2147
2154
|
"/Lotus/Language/Items/TennoSaiName"
|
|
2148
|
-
],
|
|
2149
|
-
[
|
|
2150
|
-
"/Lotus/Language/Items/RifleName",
|
|
2151
|
-
"/Lotus/Language/Items/PistolName",
|
|
2152
|
-
"/Lotus/Language/Items/LongSwordName",
|
|
2153
|
-
"/Lotus/Language/Items/HuntingBowName",
|
|
2154
|
-
"/Lotus/Language/Items/KunaiName"
|
|
2155
2155
|
]
|
|
2156
2156
|
];
|
|
2157
2157
|
var warframes = [
|
|
2158
|
-
[
|
|
2159
|
-
"/Lotus/Language/Suits/InfestationName",
|
|
2160
|
-
"/Lotus/Language/Suits/BardName",
|
|
2161
|
-
"/Lotus/Language/Suits/PriestName"
|
|
2162
|
-
],
|
|
2163
|
-
[
|
|
2164
|
-
"/Lotus/Language/Suits/GlassName",
|
|
2165
|
-
"/Lotus/Language/Suits/KhoraName",
|
|
2166
|
-
"/Lotus/Language/Suits/RevenantName"
|
|
2167
|
-
],
|
|
2168
|
-
[
|
|
2169
|
-
"/Lotus/Language/Suits/GarudaName",
|
|
2170
|
-
"/Lotus/Language/Suits/PacifistName",
|
|
2171
|
-
"/Lotus/Language/Suits/IronFrameName"
|
|
2172
|
-
],
|
|
2173
2158
|
[
|
|
2174
2159
|
"/Lotus/Language/Suits/ExcaliburName",
|
|
2175
2160
|
"/Lotus/Language/Suits/TrinityName",
|
|
@@ -2209,6 +2194,21 @@ var warframes = [
|
|
|
2209
2194
|
"/Lotus/Language/Suits/IvaraName",
|
|
2210
2195
|
"/Lotus/Language/Suits/InarosName",
|
|
2211
2196
|
"/Lotus/Language/Suits/TitaniaName"
|
|
2197
|
+
],
|
|
2198
|
+
[
|
|
2199
|
+
"/Lotus/Language/Suits/InfestationName",
|
|
2200
|
+
"/Lotus/Language/Suits/BardName",
|
|
2201
|
+
"/Lotus/Language/Suits/PriestName"
|
|
2202
|
+
],
|
|
2203
|
+
[
|
|
2204
|
+
"/Lotus/Language/Suits/GlassName",
|
|
2205
|
+
"/Lotus/Language/Suits/KhoraName",
|
|
2206
|
+
"/Lotus/Language/Suits/RevenantName"
|
|
2207
|
+
],
|
|
2208
|
+
[
|
|
2209
|
+
"/Lotus/Language/Suits/GarudaName",
|
|
2210
|
+
"/Lotus/Language/Suits/PacifistName",
|
|
2211
|
+
"/Lotus/Language/Suits/IronFrameName"
|
|
2212
2212
|
]
|
|
2213
2213
|
];
|
|
2214
2214
|
|
|
@@ -50469,15 +50469,15 @@ ${zariman}`;
|
|
|
50469
50469
|
var getCircuitWeek = /* @__PURE__ */ __name(() => {
|
|
50470
50470
|
const EPOCH = 1734307200 * 1e3;
|
|
50471
50471
|
const week = Math.trunc((Date.now() - EPOCH) / 6048e5);
|
|
50472
|
-
const
|
|
50473
|
-
|
|
50474
|
-
);
|
|
50475
|
-
const warframes2 = warframes
|
|
50476
|
-
(i) => import_warframe_public_export_plus8.dict_zh[i]
|
|
50477
|
-
);
|
|
50472
|
+
const index1 = (week + 1) % incarnons.length;
|
|
50473
|
+
const index2 = (week + 8) % warframes.length;
|
|
50474
|
+
const incarnons2 = incarnons.map((v) => v.map((i) => import_warframe_public_export_plus8.dict_zh[i]));
|
|
50475
|
+
const warframes2 = warframes.map((v) => v.map((i) => import_warframe_public_export_plus8.dict_zh[i]));
|
|
50478
50476
|
return {
|
|
50479
|
-
|
|
50480
|
-
|
|
50477
|
+
currentIncarnons: index1,
|
|
50478
|
+
currentWarframes: index2,
|
|
50479
|
+
allIncarnons: incarnons2,
|
|
50480
|
+
allWarframes: warframes2
|
|
50481
50481
|
};
|
|
50482
50482
|
}, "getCircuitWeek");
|
|
50483
50483
|
var getFissures = /* @__PURE__ */ __name(async () => {
|
|
@@ -50821,36 +50821,415 @@ var ArbitrationComponent = /* @__PURE__ */ __name((arbi) => {
|
|
|
50821
50821
|
}
|
|
50822
50822
|
);
|
|
50823
50823
|
}, "ArbitrationComponent");
|
|
50824
|
-
var CircuitComponent = /* @__PURE__ */ __name((
|
|
50825
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.
|
|
50826
|
-
|
|
50827
|
-
|
|
50828
|
-
|
|
50829
|
-
|
|
50830
|
-
|
|
50831
|
-
|
|
50832
|
-
|
|
50833
|
-
|
|
50834
|
-
|
|
50835
|
-
|
|
50836
|
-
|
|
50837
|
-
|
|
50838
|
-
|
|
50839
|
-
|
|
50840
|
-
|
|
50841
|
-
|
|
50842
|
-
|
|
50843
|
-
|
|
50844
|
-
|
|
50845
|
-
|
|
50846
|
-
|
|
50847
|
-
|
|
50848
|
-
|
|
50849
|
-
|
|
50850
|
-
|
|
50851
|
-
|
|
50852
|
-
|
|
50853
|
-
|
|
50824
|
+
var CircuitComponent = /* @__PURE__ */ __name((currentIncarnons, currentWarframes, allIncarnons, allWarframes) => {
|
|
50825
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
50826
|
+
"div",
|
|
50827
|
+
{
|
|
50828
|
+
style: `
|
|
50829
|
+
background: linear-gradient(135deg, #f5f0e8 0%, #fff8f0 100%);
|
|
50830
|
+
min-height: 100vh;
|
|
50831
|
+
padding: 40px 24px;
|
|
50832
|
+
font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
|
|
50833
|
+
`,
|
|
50834
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
50835
|
+
"div",
|
|
50836
|
+
{
|
|
50837
|
+
style: `
|
|
50838
|
+
max-width: 1280px;
|
|
50839
|
+
margin: 0 auto;
|
|
50840
|
+
`,
|
|
50841
|
+
children: [
|
|
50842
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
50843
|
+
"header",
|
|
50844
|
+
{
|
|
50845
|
+
style: `
|
|
50846
|
+
text-align: center;
|
|
50847
|
+
margin-bottom: 48px;
|
|
50848
|
+
`,
|
|
50849
|
+
children: [
|
|
50850
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
50851
|
+
"h1",
|
|
50852
|
+
{
|
|
50853
|
+
style: `
|
|
50854
|
+
font-size: 3rem;
|
|
50855
|
+
font-weight: 800;
|
|
50856
|
+
background: linear-gradient(135deg, #ff8c42, #ff3c00);
|
|
50857
|
+
background-clip: text;
|
|
50858
|
+
-webkit-background-clip: text;
|
|
50859
|
+
color: transparent;
|
|
50860
|
+
margin: 0;
|
|
50861
|
+
letter-spacing: -1px;
|
|
50862
|
+
`,
|
|
50863
|
+
children: "🌀 回廊奖励总览"
|
|
50864
|
+
}
|
|
50865
|
+
),
|
|
50866
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
50867
|
+
"p",
|
|
50868
|
+
{
|
|
50869
|
+
style: `
|
|
50870
|
+
color: #8b7355;
|
|
50871
|
+
font-size: 1.1rem;
|
|
50872
|
+
margin-top: 12px;
|
|
50873
|
+
opacity: 0.8;
|
|
50874
|
+
`,
|
|
50875
|
+
children: [
|
|
50876
|
+
"共 ",
|
|
50877
|
+
Math.max(allIncarnons.length, allWarframes.length),
|
|
50878
|
+
" 周 · 当前灵化周第 ",
|
|
50879
|
+
currentIncarnons + 1,
|
|
50880
|
+
" 周 · 当前战甲周第",
|
|
50881
|
+
" ",
|
|
50882
|
+
currentWarframes + 1,
|
|
50883
|
+
" 周"
|
|
50884
|
+
]
|
|
50885
|
+
}
|
|
50886
|
+
)
|
|
50887
|
+
]
|
|
50888
|
+
}
|
|
50889
|
+
),
|
|
50890
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
50891
|
+
"div",
|
|
50892
|
+
{
|
|
50893
|
+
style: `
|
|
50894
|
+
display: flex;
|
|
50895
|
+
flex-direction: column;
|
|
50896
|
+
gap: 24px;
|
|
50897
|
+
`,
|
|
50898
|
+
children: [
|
|
50899
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
50900
|
+
"div",
|
|
50901
|
+
{
|
|
50902
|
+
style: `
|
|
50903
|
+
background: rgba(255, 255, 255, 0.7);
|
|
50904
|
+
backdrop-filter: blur(8px);
|
|
50905
|
+
border-radius: 28px;
|
|
50906
|
+
padding: 24px 28px;
|
|
50907
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
50908
|
+
`,
|
|
50909
|
+
children: [
|
|
50910
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
50911
|
+
"div",
|
|
50912
|
+
{
|
|
50913
|
+
style: `
|
|
50914
|
+
display: flex;
|
|
50915
|
+
align-items: center;
|
|
50916
|
+
gap: 12px;
|
|
50917
|
+
margin-bottom: 20px;
|
|
50918
|
+
padding-bottom: 12px;
|
|
50919
|
+
border-bottom: 1px solid #e8ddd0;
|
|
50920
|
+
`,
|
|
50921
|
+
children: [
|
|
50922
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
50923
|
+
"span",
|
|
50924
|
+
{
|
|
50925
|
+
style: `
|
|
50926
|
+
font-size: 1.8rem;
|
|
50927
|
+
font-weight: 700;
|
|
50928
|
+
color: #c97e3a;
|
|
50929
|
+
`,
|
|
50930
|
+
children: "🔮 灵化之源"
|
|
50931
|
+
}
|
|
50932
|
+
),
|
|
50933
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
50934
|
+
"span",
|
|
50935
|
+
{
|
|
50936
|
+
style: `
|
|
50937
|
+
background: #ffedd5;
|
|
50938
|
+
color: #c97e3a;
|
|
50939
|
+
padding: 4px 12px;
|
|
50940
|
+
border-radius: 40px;
|
|
50941
|
+
font-size: 0.85rem;
|
|
50942
|
+
font-weight: 600;
|
|
50943
|
+
`,
|
|
50944
|
+
children: [
|
|
50945
|
+
"共 ",
|
|
50946
|
+
allIncarnons.length,
|
|
50947
|
+
" 周"
|
|
50948
|
+
]
|
|
50949
|
+
}
|
|
50950
|
+
)
|
|
50951
|
+
]
|
|
50952
|
+
}
|
|
50953
|
+
),
|
|
50954
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
50955
|
+
"div",
|
|
50956
|
+
{
|
|
50957
|
+
style: `
|
|
50958
|
+
display: flex;
|
|
50959
|
+
flex-direction: column;
|
|
50960
|
+
gap: 20px;
|
|
50961
|
+
`,
|
|
50962
|
+
children: allIncarnons.map((incarnons2, weekIdx) => {
|
|
50963
|
+
const isCurrentWeek = weekIdx === currentIncarnons;
|
|
50964
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
50965
|
+
"div",
|
|
50966
|
+
{
|
|
50967
|
+
style: `
|
|
50968
|
+
background: ${isCurrentWeek ? "linear-gradient(135deg, #fff8e7, #fff2e0)" : "rgba(250, 245, 238, 0.8)"};
|
|
50969
|
+
border-radius: 20px;
|
|
50970
|
+
padding: 16px 20px;
|
|
50971
|
+
box-shadow: ${isCurrentWeek ? "0 8px 20px rgba(255, 107, 53, 0.15), 0 0 0 2px #ff8c42 inset" : "0 2px 6px rgba(0, 0, 0, 0.02)"};
|
|
50972
|
+
transition: all 0.2s ease;
|
|
50973
|
+
transform: ${isCurrentWeek ? "scale(1.01)" : "scale(1)"};
|
|
50974
|
+
`,
|
|
50975
|
+
children: [
|
|
50976
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
50977
|
+
"div",
|
|
50978
|
+
{
|
|
50979
|
+
style: `
|
|
50980
|
+
display: flex;
|
|
50981
|
+
align-items: center;
|
|
50982
|
+
gap: 10px;
|
|
50983
|
+
margin-bottom: 12px;
|
|
50984
|
+
`,
|
|
50985
|
+
children: [
|
|
50986
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
50987
|
+
"span",
|
|
50988
|
+
{
|
|
50989
|
+
style: `
|
|
50990
|
+
font-weight: 700;
|
|
50991
|
+
font-size: 1.2rem;
|
|
50992
|
+
color: ${isCurrentWeek ? "#ff6b3d" : "#b87c4f"};
|
|
50993
|
+
`,
|
|
50994
|
+
children: [
|
|
50995
|
+
"第 ",
|
|
50996
|
+
weekIdx + 1,
|
|
50997
|
+
" 周"
|
|
50998
|
+
]
|
|
50999
|
+
}
|
|
51000
|
+
),
|
|
51001
|
+
isCurrentWeek ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
51002
|
+
"span",
|
|
51003
|
+
{
|
|
51004
|
+
style: `
|
|
51005
|
+
background: #ff6b3d;
|
|
51006
|
+
color: white;
|
|
51007
|
+
padding: 2px 10px;
|
|
51008
|
+
border-radius: 40px;
|
|
51009
|
+
font-size: 0.7rem;
|
|
51010
|
+
font-weight: 600;
|
|
51011
|
+
`,
|
|
51012
|
+
children: "🔥 当前周"
|
|
51013
|
+
}
|
|
51014
|
+
) : null
|
|
51015
|
+
]
|
|
51016
|
+
}
|
|
51017
|
+
),
|
|
51018
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
51019
|
+
"ul",
|
|
51020
|
+
{
|
|
51021
|
+
style: `
|
|
51022
|
+
display: flex;
|
|
51023
|
+
flex-wrap: wrap;
|
|
51024
|
+
gap: 10px;
|
|
51025
|
+
margin: 0;
|
|
51026
|
+
padding: 0;
|
|
51027
|
+
list-style: none;
|
|
51028
|
+
`,
|
|
51029
|
+
children: incarnons2.map((item) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
51030
|
+
"li",
|
|
51031
|
+
{
|
|
51032
|
+
style: `
|
|
51033
|
+
background: ${isCurrentWeek ? "#fff0e0" : "#faf5ee"};
|
|
51034
|
+
padding: 6px 18px;
|
|
51035
|
+
border-radius: 40px;
|
|
51036
|
+
font-size: 0.95rem;
|
|
51037
|
+
font-weight: 500;
|
|
51038
|
+
color: #b45a2a;
|
|
51039
|
+
border: ${isCurrentWeek ? "1px solid #ffd7a5" : "1px solid #f0e2d4"};
|
|
51040
|
+
`,
|
|
51041
|
+
children: item
|
|
51042
|
+
}
|
|
51043
|
+
))
|
|
51044
|
+
}
|
|
51045
|
+
)
|
|
51046
|
+
]
|
|
51047
|
+
}
|
|
51048
|
+
);
|
|
51049
|
+
})
|
|
51050
|
+
}
|
|
51051
|
+
)
|
|
51052
|
+
]
|
|
51053
|
+
}
|
|
51054
|
+
),
|
|
51055
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
51056
|
+
"div",
|
|
51057
|
+
{
|
|
51058
|
+
style: `
|
|
51059
|
+
background: rgba(255, 255, 255, 0.7);
|
|
51060
|
+
backdrop-filter: blur(8px);
|
|
51061
|
+
border-radius: 28px;
|
|
51062
|
+
padding: 24px 28px;
|
|
51063
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
51064
|
+
`,
|
|
51065
|
+
children: [
|
|
51066
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
51067
|
+
"div",
|
|
51068
|
+
{
|
|
51069
|
+
style: `
|
|
51070
|
+
display: flex;
|
|
51071
|
+
align-items: center;
|
|
51072
|
+
gap: 12px;
|
|
51073
|
+
margin-bottom: 20px;
|
|
51074
|
+
padding-bottom: 12px;
|
|
51075
|
+
border-bottom: 1px solid #e8ddd0;
|
|
51076
|
+
`,
|
|
51077
|
+
children: [
|
|
51078
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
51079
|
+
"span",
|
|
51080
|
+
{
|
|
51081
|
+
style: `
|
|
51082
|
+
font-size: 1.8rem;
|
|
51083
|
+
font-weight: 700;
|
|
51084
|
+
color: #3d8b7a;
|
|
51085
|
+
`,
|
|
51086
|
+
children: "🛡️ 战甲"
|
|
51087
|
+
}
|
|
51088
|
+
),
|
|
51089
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
51090
|
+
"span",
|
|
51091
|
+
{
|
|
51092
|
+
style: `
|
|
51093
|
+
background: #d1fae5;
|
|
51094
|
+
color: #3d8b7a;
|
|
51095
|
+
padding: 4px 12px;
|
|
51096
|
+
border-radius: 40px;
|
|
51097
|
+
font-size: 0.85rem;
|
|
51098
|
+
font-weight: 600;
|
|
51099
|
+
`,
|
|
51100
|
+
children: [
|
|
51101
|
+
"共 ",
|
|
51102
|
+
allWarframes.length,
|
|
51103
|
+
" 周"
|
|
51104
|
+
]
|
|
51105
|
+
}
|
|
51106
|
+
)
|
|
51107
|
+
]
|
|
51108
|
+
}
|
|
51109
|
+
),
|
|
51110
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
51111
|
+
"div",
|
|
51112
|
+
{
|
|
51113
|
+
style: `
|
|
51114
|
+
display: flex;
|
|
51115
|
+
flex-direction: column;
|
|
51116
|
+
gap: 20px;
|
|
51117
|
+
`,
|
|
51118
|
+
children: allWarframes.map((warframes2, weekIdx) => {
|
|
51119
|
+
const isCurrentWeek = weekIdx === currentWarframes;
|
|
51120
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
51121
|
+
"div",
|
|
51122
|
+
{
|
|
51123
|
+
style: `
|
|
51124
|
+
background: ${isCurrentWeek ? "linear-gradient(135deg, #e6f9f5, #dcf3ef)" : "rgba(240, 248, 246, 0.8)"};
|
|
51125
|
+
border-radius: 20px;
|
|
51126
|
+
padding: 16px 20px;
|
|
51127
|
+
box-shadow: ${isCurrentWeek ? "0 8px 20px rgba(71, 181, 165, 0.15), 0 0 0 2px #47b5a5 inset" : "0 2px 6px rgba(0, 0, 0, 0.02)"};
|
|
51128
|
+
transition: all 0.2s ease;
|
|
51129
|
+
transform: ${isCurrentWeek ? "scale(1.01)" : "scale(1)"};
|
|
51130
|
+
`,
|
|
51131
|
+
children: [
|
|
51132
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
51133
|
+
"div",
|
|
51134
|
+
{
|
|
51135
|
+
style: `
|
|
51136
|
+
display: flex;
|
|
51137
|
+
align-items: center;
|
|
51138
|
+
gap: 10px;
|
|
51139
|
+
margin-bottom: 12px;
|
|
51140
|
+
`,
|
|
51141
|
+
children: [
|
|
51142
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
51143
|
+
"span",
|
|
51144
|
+
{
|
|
51145
|
+
style: `
|
|
51146
|
+
font-weight: 700;
|
|
51147
|
+
font-size: 1.2rem;
|
|
51148
|
+
color: ${isCurrentWeek ? "#2e8b7a" : "#5f9e8e"};
|
|
51149
|
+
`,
|
|
51150
|
+
children: [
|
|
51151
|
+
"第 ",
|
|
51152
|
+
weekIdx + 1,
|
|
51153
|
+
" 周"
|
|
51154
|
+
]
|
|
51155
|
+
}
|
|
51156
|
+
),
|
|
51157
|
+
isCurrentWeek ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
51158
|
+
"span",
|
|
51159
|
+
{
|
|
51160
|
+
style: `
|
|
51161
|
+
background: #47b5a5;
|
|
51162
|
+
color: white;
|
|
51163
|
+
padding: 2px 10px;
|
|
51164
|
+
border-radius: 40px;
|
|
51165
|
+
font-size: 0.7rem;
|
|
51166
|
+
font-weight: 600;
|
|
51167
|
+
`,
|
|
51168
|
+
children: "🔥 当前周"
|
|
51169
|
+
}
|
|
51170
|
+
) : null
|
|
51171
|
+
]
|
|
51172
|
+
}
|
|
51173
|
+
),
|
|
51174
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
51175
|
+
"ul",
|
|
51176
|
+
{
|
|
51177
|
+
style: `
|
|
51178
|
+
display: flex;
|
|
51179
|
+
flex-wrap: wrap;
|
|
51180
|
+
gap: 10px;
|
|
51181
|
+
margin: 0;
|
|
51182
|
+
padding: 0;
|
|
51183
|
+
list-style: none;
|
|
51184
|
+
`,
|
|
51185
|
+
children: warframes2.map((item) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
51186
|
+
"li",
|
|
51187
|
+
{
|
|
51188
|
+
style: `
|
|
51189
|
+
background: ${isCurrentWeek ? "#e0f7f2" : "#f0f8f6"};
|
|
51190
|
+
padding: 6px 18px;
|
|
51191
|
+
border-radius: 40px;
|
|
51192
|
+
font-size: 0.95rem;
|
|
51193
|
+
font-weight: 500;
|
|
51194
|
+
color: #2c6b5e;
|
|
51195
|
+
border: ${isCurrentWeek ? "1px solid #9ed9ce" : "1px solid #dcece8"};
|
|
51196
|
+
`,
|
|
51197
|
+
children: item
|
|
51198
|
+
}
|
|
51199
|
+
))
|
|
51200
|
+
}
|
|
51201
|
+
)
|
|
51202
|
+
]
|
|
51203
|
+
}
|
|
51204
|
+
);
|
|
51205
|
+
})
|
|
51206
|
+
}
|
|
51207
|
+
)
|
|
51208
|
+
]
|
|
51209
|
+
}
|
|
51210
|
+
)
|
|
51211
|
+
]
|
|
51212
|
+
}
|
|
51213
|
+
),
|
|
51214
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
51215
|
+
"div",
|
|
51216
|
+
{
|
|
51217
|
+
style: `
|
|
51218
|
+
margin-top: 40px;
|
|
51219
|
+
text-align: center;
|
|
51220
|
+
font-size: 0.85rem;
|
|
51221
|
+
color: #c0a080;
|
|
51222
|
+
border-top: 1px solid #f0e2d4;
|
|
51223
|
+
padding-top: 24px;
|
|
51224
|
+
`,
|
|
51225
|
+
children: "✨ 每周一更新 ✨"
|
|
51226
|
+
}
|
|
51227
|
+
)
|
|
51228
|
+
]
|
|
51229
|
+
}
|
|
51230
|
+
)
|
|
51231
|
+
}
|
|
51232
|
+
);
|
|
50854
51233
|
}, "CircuitComponent");
|
|
50855
51234
|
var FissureComponent = /* @__PURE__ */ __name((fissures, type) => {
|
|
50856
51235
|
const titles = {
|
|
@@ -51970,7 +52349,7 @@ var circuitCommand = /* @__PURE__ */ __name(async (action) => {
|
|
|
51970
52349
|
const result = getCircuitWeek();
|
|
51971
52350
|
return await generateImageOutput(
|
|
51972
52351
|
action.session.app.puppeteer,
|
|
51973
|
-
CircuitComponent(result.
|
|
52352
|
+
CircuitComponent(result.currentIncarnons, result.currentWarframes, result.allIncarnons, result.allWarframes)
|
|
51974
52353
|
);
|
|
51975
52354
|
}, "circuitCommand");
|
|
51976
52355
|
var voidtraderCommand = /* @__PURE__ */ __name(async (action) => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "koishi-plugin-warframe",
|
|
3
3
|
"description": "WF Toolkit",
|
|
4
|
-
"version": "1.4.
|
|
4
|
+
"version": "1.4.9",
|
|
5
5
|
"license": "GPL-3.0",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "yakumo build",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@koishijs/client": "^5.30.11",
|
|
53
53
|
"@koishijs/plugin-help": "^2.4.6",
|
|
54
54
|
"@koishijs/plugin-mock": "^2.6.6",
|
|
55
|
-
"@satorijs/element": "^3.
|
|
55
|
+
"@satorijs/element": "^3.2.0",
|
|
56
56
|
"@semantic-release/changelog": "^6.0.3",
|
|
57
57
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
58
58
|
"@semantic-release/git": "^10.0.1",
|
|
@@ -61,13 +61,13 @@
|
|
|
61
61
|
"@semantic-release/release-notes-generator": "^14.1.0",
|
|
62
62
|
"@types/chai": "^5.2.3",
|
|
63
63
|
"@types/mocha": "^10.0.10",
|
|
64
|
-
"@types/node": "^25.0
|
|
65
|
-
"chai": "^6.2.
|
|
64
|
+
"@types/node": "^25.6.0",
|
|
65
|
+
"chai": "^6.2.2",
|
|
66
66
|
"conventional-changelog-conventionalcommits": "^9.3.1",
|
|
67
67
|
"dtsc": "^3.1.0",
|
|
68
68
|
"esbuild": "^0.28.0",
|
|
69
69
|
"esbuild-register": "^3.6.0",
|
|
70
|
-
"koishi": "^4.18.
|
|
70
|
+
"koishi": "^4.18.11",
|
|
71
71
|
"koishi-plugin-puppeteer": "^3.9.0",
|
|
72
72
|
"mocha": "^11.7.5",
|
|
73
73
|
"typescript": "^5.9.3",
|
|
@@ -79,9 +79,9 @@
|
|
|
79
79
|
"@nestjs/common": "^11.1.19",
|
|
80
80
|
"@nestjs/core": "^11.1.19",
|
|
81
81
|
"rxjs": "^7.8.2",
|
|
82
|
-
"tencentcloud-sdk-nodejs-ocr": "^4.1.
|
|
82
|
+
"tencentcloud-sdk-nodejs-ocr": "^4.1.213",
|
|
83
83
|
"warframe-public-export-plus": "^0.6.0",
|
|
84
|
-
"warframe-worldstate-data": "^3.
|
|
84
|
+
"warframe-worldstate-data": "^3.15.1",
|
|
85
85
|
"warframe-worldstate-parser": "^5.3.3"
|
|
86
86
|
}
|
|
87
87
|
}
|