poi-plugin-remodel-assistant 1.2.3-beta.2 → 1.2.3-beta.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/assets/main.css +6 -11
- package/i18n/en-US.json +4 -1
- package/i18n/ja-JP.json +4 -1
- package/i18n/zh-CN.json +4 -1
- package/i18n/zh-TW.json +4 -1
- package/package.json +1 -1
- package/views/new-interface/equipment/components/equipment-detail.js +5 -1
- package/views/new-interface/equipment/components/equipment-list.js +1 -6
- package/views/new-interface/equipment/components/equipment-workspace.js +2 -3
- package/views/new-interface/equipment/model/equipment-workspace-model.js +3 -3
package/assets/main.css
CHANGED
|
@@ -5731,17 +5731,6 @@
|
|
|
5731
5731
|
font-size: var(--improvement-font-caption);
|
|
5732
5732
|
}
|
|
5733
5733
|
|
|
5734
|
-
@media (max-width: 820px) {
|
|
5735
|
-
#item-improvement .decision-equipment-row.is-compact:not(.is-workbench) .decision-equipment-meta {
|
|
5736
|
-
display: flex;
|
|
5737
|
-
}
|
|
5738
|
-
|
|
5739
|
-
#item-improvement .decision-equipment-row.is-compact:not(.is-workbench)
|
|
5740
|
-
.decision-equipment-meta .decision-pill:not(.decision-owned-count-pill) {
|
|
5741
|
-
display: none;
|
|
5742
|
-
}
|
|
5743
|
-
}
|
|
5744
|
-
|
|
5745
5734
|
/* React-Bootstrap mounts category dialogs outside #item-improvement. */
|
|
5746
5735
|
.decision-category-filter-dialog .decision-category-filter-guide {
|
|
5747
5736
|
display: grid;
|
|
@@ -11074,6 +11063,12 @@ body.decision-modal-is-dragging * {
|
|
|
11074
11063
|
gap: 6px;
|
|
11075
11064
|
}
|
|
11076
11065
|
|
|
11066
|
+
#item-improvement .decision-equipment-plan-ownership {
|
|
11067
|
+
display: flex;
|
|
11068
|
+
align-items: center;
|
|
11069
|
+
margin-bottom: 8px;
|
|
11070
|
+
}
|
|
11071
|
+
|
|
11077
11072
|
#item-improvement .decision-equipment-plan-row {
|
|
11078
11073
|
display: grid;
|
|
11079
11074
|
grid-template-columns: minmax(96px, auto) minmax(0, 1fr) auto;
|
package/i18n/en-US.json
CHANGED
|
@@ -1500,5 +1500,8 @@
|
|
|
1500
1500
|
"diagnostics.The bundle contains inventory and plugin settings. Review it before sharing.": "The bundle contains inventory and plugin settings. Review it before sharing.",
|
|
1501
1501
|
"diagnostics.The diagnostic bundle could not be exported": "The diagnostic bundle could not be exported.",
|
|
1502
1502
|
"diagnostics.Canonical plugin backup with plans, route choices, assignments, blacklist, and UI preferences": "Canonical plugin backup with plans, route choices, assignments, blacklist, and UI preferences",
|
|
1503
|
-
"equipment.Upgrade chain terminal": "Upgrade
|
|
1503
|
+
"equipment.Upgrade chain terminal": "Upgrade endpoint",
|
|
1504
|
+
"equipment.Improvement route": "Improvement route",
|
|
1505
|
+
"equipment.Improvement endpoint": "Improvement endpoint",
|
|
1506
|
+
"equipment.Standalone improvement": "Standalone improvement"
|
|
1504
1507
|
}
|
package/i18n/ja-JP.json
CHANGED
|
@@ -1500,5 +1500,8 @@
|
|
|
1500
1500
|
"diagnostics.The bundle contains inventory and plugin settings. Review it before sharing.": "診断パッケージには所持データとプラグイン設定が含まれます。共有前に内容を確認してください。",
|
|
1501
1501
|
"diagnostics.The diagnostic bundle could not be exported": "診断パッケージを書き出せませんでした。",
|
|
1502
1502
|
"diagnostics.Canonical plugin backup with plans, route choices, assignments, blacklist, and UI preferences": "計画、ルート選択、装備割り当て、低優先装備、UI設定を含む標準プラグインバックアップ",
|
|
1503
|
-
"equipment.Upgrade chain terminal": "
|
|
1503
|
+
"equipment.Upgrade chain terminal": "改修終点",
|
|
1504
|
+
"equipment.Improvement route": "改修ルート",
|
|
1505
|
+
"equipment.Improvement endpoint": "改修終点",
|
|
1506
|
+
"equipment.Standalone improvement": "単独改修"
|
|
1504
1507
|
}
|
package/i18n/zh-CN.json
CHANGED
|
@@ -1500,5 +1500,8 @@
|
|
|
1500
1500
|
"diagnostics.The bundle contains inventory and plugin settings. Review it before sharing.": "诊断包包含库存数据和插件设置,分享前请确认内容。",
|
|
1501
1501
|
"diagnostics.The diagnostic bundle could not be exported": "无法导出诊断包。",
|
|
1502
1502
|
"diagnostics.Canonical plugin backup with plans, route choices, assignments, blacklist, and UI preferences": "插件标准备份,包含计划、路线选择、装备分配、低优先装备和界面设置",
|
|
1503
|
-
"equipment.Upgrade chain terminal": "
|
|
1503
|
+
"equipment.Upgrade chain terminal": "改修终点",
|
|
1504
|
+
"equipment.Improvement route": "改修路线",
|
|
1505
|
+
"equipment.Improvement endpoint": "改修终点",
|
|
1506
|
+
"equipment.Standalone improvement": "独立改修"
|
|
1504
1507
|
}
|
package/i18n/zh-TW.json
CHANGED
|
@@ -1500,5 +1500,8 @@
|
|
|
1500
1500
|
"diagnostics.The bundle contains inventory and plugin settings. Review it before sharing.": "診斷包包含庫存資料與外掛設定,分享前請確認內容。",
|
|
1501
1501
|
"diagnostics.The diagnostic bundle could not be exported": "無法匯出診斷包。",
|
|
1502
1502
|
"diagnostics.Canonical plugin backup with plans, route choices, assignments, blacklist, and UI preferences": "外掛標準備份,包含計畫、路線選擇、裝備分配、低優先裝備與介面設定",
|
|
1503
|
-
"equipment.Upgrade chain terminal": "
|
|
1503
|
+
"equipment.Upgrade chain terminal": "改修終點",
|
|
1504
|
+
"equipment.Improvement route": "改修路線",
|
|
1505
|
+
"equipment.Improvement endpoint": "改修終點",
|
|
1506
|
+
"equipment.Standalone improvement": "獨立改修"
|
|
1504
1507
|
}
|
package/package.json
CHANGED
|
@@ -127,7 +127,11 @@ class EquipmentPlanSection extends _react.default.Component {
|
|
|
127
127
|
title: __('Plans')
|
|
128
128
|
}, _react.default.createElement("section", {
|
|
129
129
|
className: "decision-workbench-detail-section decision-equipment-plan-section"
|
|
130
|
-
},
|
|
130
|
+
}, _react.default.createElement("div", {
|
|
131
|
+
className: "decision-equipment-plan-ownership"
|
|
132
|
+
}, _react.default.createElement("span", {
|
|
133
|
+
className: "decision-pill decision-owned-count-pill"
|
|
134
|
+
}, __('Owned count %d').replace('%d', Number(item.ownedCount) || 0))), rows.length > 0 ? _react.default.createElement(_react.default.Fragment, null, _react.default.createElement("div", {
|
|
131
135
|
className: "decision-equipment-plan-list-actions"
|
|
132
136
|
}, _react.default.createElement(_reactBootstrap.Button, {
|
|
133
137
|
bsSize: "xsmall",
|
|
@@ -185,7 +185,6 @@ class EquipmentList extends _react.Component {
|
|
|
185
185
|
selectedId,
|
|
186
186
|
onSelect,
|
|
187
187
|
emptyText,
|
|
188
|
-
showOwnedCount,
|
|
189
188
|
variant,
|
|
190
189
|
masterEquips,
|
|
191
190
|
equipLevels,
|
|
@@ -304,9 +303,7 @@ class EquipmentList extends _react.Component {
|
|
|
304
303
|
}, _react.default.createElement("span", {
|
|
305
304
|
className: "glyphicon glyphicon-ok",
|
|
306
305
|
"aria-hidden": "true"
|
|
307
|
-
}), __('Route selected'))
|
|
308
|
-
className: "decision-pill decision-owned-count-pill"
|
|
309
|
-
}, __('Owned count %d').replace('%d', item.ownedCount))));
|
|
306
|
+
}), __('Route selected'))));
|
|
310
307
|
}), (!items || items.length === 0) && _react.default.createElement("div", {
|
|
311
308
|
className: "decision-empty-state"
|
|
312
309
|
}, emptyText));
|
|
@@ -325,7 +322,6 @@ Object.defineProperty(EquipmentList, "propTypes", {
|
|
|
325
322
|
locateKey: _propTypes.default.string,
|
|
326
323
|
onSelect: _propTypes.default.func.isRequired,
|
|
327
324
|
emptyText: _propTypes.default.string.isRequired,
|
|
328
|
-
showOwnedCount: _propTypes.default.bool,
|
|
329
325
|
variant: _propTypes.default.oneOf(['default', 'compact', 'workbench']),
|
|
330
326
|
masterEquips: _propTypes.default.object,
|
|
331
327
|
equipLevels: _propTypes.default.object,
|
|
@@ -340,7 +336,6 @@ Object.defineProperty(EquipmentList, "defaultProps", {
|
|
|
340
336
|
value: {
|
|
341
337
|
selectedId: null,
|
|
342
338
|
locateKey: '',
|
|
343
|
-
showOwnedCount: false,
|
|
344
339
|
variant: 'default',
|
|
345
340
|
masterEquips: {},
|
|
346
341
|
equipLevels: {},
|
|
@@ -161,8 +161,8 @@ class EquipmentWorkspace extends _react.Component {
|
|
|
161
161
|
}, _react.default.createElement("div", {
|
|
162
162
|
className: "decision-filter-buttons decision-weekday-buttons"
|
|
163
163
|
}, WEEKDAY_KEYS.map((key, day) => this.renderToggle(selectedDays.includes(day), __(key), () => this.handleDay(day), key)))), _react.default.createElement(_filterControls.FilterRow, {
|
|
164
|
-
label: __('Improvement
|
|
165
|
-
}, _react.default.createElement(_filterControls.FilterButtonGroup, null, [[_equipmentWorkspaceModel.UPGRADE_STATUSES.ALL, __('All equipment')], [_equipmentWorkspaceModel.UPGRADE_STATUSES.TERMINAL, __('
|
|
164
|
+
label: __('Improvement route')
|
|
165
|
+
}, _react.default.createElement(_filterControls.FilterButtonGroup, null, [[_equipmentWorkspaceModel.UPGRADE_STATUSES.ALL, __('All equipment')], [_equipmentWorkspaceModel.UPGRADE_STATUSES.TERMINAL, __('Improvement endpoint')], [_equipmentWorkspaceModel.UPGRADE_STATUSES.INDEPENDENT, __('Standalone improvement')], [_equipmentWorkspaceModel.UPGRADE_STATUSES.EVOLVABLE, __('Evolvable')]].map(([value, label]) => this.renderToggle(upgradeStatus === value, label, () => this.setState({
|
|
166
166
|
upgradeStatus: value
|
|
167
167
|
}), value)))), _react.default.createElement(_filterControls.FilterRow, {
|
|
168
168
|
label: __('Sort by')
|
|
@@ -216,7 +216,6 @@ class EquipmentWorkspace extends _react.Component {
|
|
|
216
216
|
locateKey: locateKey,
|
|
217
217
|
onSelect: onSelect,
|
|
218
218
|
emptyText: __('No matching equipment'),
|
|
219
|
-
showOwnedCount: true,
|
|
220
219
|
variant: "compact",
|
|
221
220
|
masterEquips: masterEquips,
|
|
222
221
|
masterUseitems: masterUseitems
|
|
@@ -31,7 +31,7 @@ const UPGRADE_STATUSES = {
|
|
|
31
31
|
ALL: 'all',
|
|
32
32
|
TERMINAL: 'terminal',
|
|
33
33
|
EVOLVABLE: 'evolvable',
|
|
34
|
-
|
|
34
|
+
INDEPENDENT: 'independent'
|
|
35
35
|
};
|
|
36
36
|
exports.UPGRADE_STATUSES = UPGRADE_STATUSES;
|
|
37
37
|
const EQUIPMENT_SORT_MODES = {
|
|
@@ -77,8 +77,8 @@ const matchesUpgradeStatus = (item, status) => {
|
|
|
77
77
|
if (status === UPGRADE_STATUSES.TERMINAL) return Boolean(item.terminalEvolutionTarget);
|
|
78
78
|
if (status === UPGRADE_STATUSES.EVOLVABLE) return item.hasEvolution;
|
|
79
79
|
|
|
80
|
-
if (status === UPGRADE_STATUSES.
|
|
81
|
-
return item.hasImprovement && !item.hasEvolution;
|
|
80
|
+
if (status === UPGRADE_STATUSES.INDEPENDENT) {
|
|
81
|
+
return item.hasImprovement && !item.hasEvolution && !item.terminalEvolutionTarget;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
return true;
|