poi-plugin-gimmick-tracker 0.2.2 → 0.2.3
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/README.md +1 -1
- package/index.js +2 -2
- package/package.json +4 -4
package/README.md
CHANGED
package/index.js
CHANGED
|
@@ -1374,7 +1374,7 @@ function createLedgerView(controller2) {
|
|
|
1374
1374
|
if (guideText.trim() === "") return;
|
|
1375
1375
|
controller2.importGuide(guideText, bucket, mapRef);
|
|
1376
1376
|
};
|
|
1377
|
-
return /* @__PURE__ */ import_react.default.createElement("main", { style: styles.root }, /* @__PURE__ */ import_react.default.createElement("header", { style: styles.header }, /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement("h2", { style: { margin: 0 } }, "\u89E3\
|
|
1377
|
+
return /* @__PURE__ */ import_react.default.createElement("main", { style: styles.root }, /* @__PURE__ */ import_react.default.createElement("header", { style: styles.header }, /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement("h2", { style: { margin: 0 } }, "\u89E3\u8C1C\u524A\u7532"), /* @__PURE__ */ import_react.default.createElement("p", { style: { ...styles.muted, margin: "4px 0 0" } }, "\u81EA\u52A8\u5BF9\u8D26\u89E3\u5BC6/\u524A\u7532\u6761\u4EF6\u8FDB\u5EA6\uFF1B\u8BA1\u6570\u53EA\u5C5E\u4E8E\u660E\u786E\u5F00\u542F\u7684\u8F6E\u6B21\uFF0C\u4E0D\u6DF7\u5386\u53F2\u3002")), mapRef != null && /* @__PURE__ */ import_react.default.createElement("div", { style: { textAlign: "right" } }, /* @__PURE__ */ import_react.default.createElement(import_core.Tag, { large: true, intent: "primary" }, mapLabel(mapRef)), /* @__PURE__ */ import_react.default.createElement("div", { style: styles.muted }, mapState?.gaugeNum != null && `\u8840\u6761 ${mapState.gaugeNum}${mapState.cleared ? " \xB7 \u5DF2\u901A\u5173" : ""}`, mapState?.bossGauge?.nowHp != null && ` \xB7 boss ${mapState.bossGauge.nowHp}/${mapState.bossGauge.maxHp ?? "?"}`))), toasts.length > 0 && /* @__PURE__ */ import_react.default.createElement("div", { style: styles.section }, toasts.map((toast) => /* @__PURE__ */ import_react.default.createElement(import_core.Callout, { key: toast.id, intent: "success", style: { marginBottom: 6 } }, toast.text, /* @__PURE__ */ import_react.default.createElement("span", { style: { ...styles.muted, marginLeft: 8 } }, formatTime(toast.at))))), mapState == null ? /* @__PURE__ */ import_react.default.createElement(import_core.Callout, { style: styles.section, intent: "primary" }, "\u8FD8\u6CA1\u6709\u6355\u83B7\u5230\u6D77\u57DF\u6570\u636E\u3002\u51FA\u51FB\u4E00\u6B21\u6D3B\u52A8\u56FE\uFF0C\u6216\u5728\u4E0B\u65B9\u5BFC\u5165\u6761\u4EF6\u540E\u7B49\u5F85\u4E0B\u4E00\u6B21\u51FA\u51FB\u3002") : /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(BucketCard, { title: "\u524A\u7532\u6E05\u5355", bucket: "debuff", mapState, round: debuffRound, controller: controller2, mapId: mapState.mapId }), /* @__PURE__ */ import_react.default.createElement(BucketCard, { title: "\u89E3\u8C1C\u6E05\u5355", bucket: "gimmick", mapState, round: gimmickRound, controller: controller2, mapId: mapState.mapId })), /* @__PURE__ */ import_react.default.createElement(import_core.Card, { style: styles.section, elevation: import_core.Elevation.ZERO }, /* @__PURE__ */ import_react.default.createElement("h3", { style: { marginTop: 0 } }, "\u5BFC\u5165\u6761\u4EF6"), /* @__PURE__ */ import_react.default.createElement(
|
|
1378
1378
|
import_core.TextArea,
|
|
1379
1379
|
{
|
|
1380
1380
|
fill: true,
|
|
@@ -1399,7 +1399,7 @@ var controller = new LedgerController({
|
|
|
1399
1399
|
pluginId: PLUGIN_ID,
|
|
1400
1400
|
getMemberId: () => window.getStore?.("info.basic.api_member_id"),
|
|
1401
1401
|
getStore: (path) => window.getStore?.(path),
|
|
1402
|
-
notify: (message) => window.success?.(`[\u89E3\
|
|
1402
|
+
notify: (message) => window.success?.(`[\u89E3\u8C1C\u524A\u7532] ${message}`),
|
|
1403
1403
|
onError: (error) => console.error(`[${PLUGIN_ID}]`, error)
|
|
1404
1404
|
});
|
|
1405
1405
|
var reactClass = createLedgerView(controller);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "poi-plugin-gimmick-tracker",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.2.3",
|
|
4
|
+
"description": "解谜削甲:自动对账活动海域解密/削甲条件进度(轮次账本,阶段自动旋转,无人工确认卡)",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
7
7
|
"index.js",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"poiPlugin": {
|
|
22
22
|
"id": "poi-plugin-gimmick-tracker",
|
|
23
|
-
"title": "
|
|
24
|
-
"name": "
|
|
23
|
+
"title": "解谜削甲",
|
|
24
|
+
"name": "解谜削甲",
|
|
25
25
|
"description": "自动对账解密/削甲条件进度:轮次账本、阶段自动旋转、无人工确认卡",
|
|
26
26
|
"icon": "fa/tasks",
|
|
27
27
|
"priority": 120,
|