poi-plugin-item-improvement2-beta 0.0.32012 → 0.0.32014
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/.idea/workspace.xml +25 -24
- package/package.json +1 -1
- package/views/selectors.js +1 -1
package/.idea/workspace.xml
CHANGED
|
@@ -43,30 +43,30 @@
|
|
|
43
43
|
<option name="hideEmptyMiddlePackages" value="true" />
|
|
44
44
|
<option name="showLibraryContents" value="true" />
|
|
45
45
|
</component>
|
|
46
|
-
<component name="PropertiesComponent"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
46
|
+
<component name="PropertiesComponent">{
|
|
47
|
+
"keyToString": {
|
|
48
|
+
"ASKED_SHARE_PROJECT_CONFIGURATION_FILES": "true",
|
|
49
|
+
"ModuleVcsDetector.initialDetectionPerformed": "true",
|
|
50
|
+
"Node.js.item-info-row.js.executor": "Run",
|
|
51
|
+
"Node.js.publish.js.executor": "Run",
|
|
52
|
+
"Node.js.selectors.es.executor": "Run",
|
|
53
|
+
"RunOnceActivity.ShowReadmeOnStart": "true",
|
|
54
|
+
"RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
|
|
55
|
+
"RunOnceActivity.git.unshallow": "true",
|
|
56
|
+
"RunOnceActivity.typescript.service.memoryLimit.init": "true",
|
|
57
|
+
"SHARE_PROJECT_CONFIGURATION_FILES": "true",
|
|
58
|
+
"git-widget-placeholder": "main",
|
|
59
|
+
"javascript.preferred.runtime.type.id": "node",
|
|
60
|
+
"last_opened_file_path": "/Users/sakana/code/plugin-item-improvement/assets",
|
|
61
|
+
"node.js.detected.package.eslint": "true",
|
|
62
|
+
"node.js.detected.package.tslint": "true",
|
|
63
|
+
"node.js.selected.package.eslint": "(autodetect)",
|
|
64
|
+
"node.js.selected.package.tslint": "(autodetect)",
|
|
65
|
+
"nodejs_package_manager_path": "npm",
|
|
66
|
+
"settings.editor.selected.configurable": "preferences.keymap",
|
|
67
|
+
"vue.rearranger.settings.migration": "true"
|
|
68
68
|
}
|
|
69
|
-
}
|
|
69
|
+
}</component>
|
|
70
70
|
<component name="RecentsManager">
|
|
71
71
|
<key name="CopyFile.RECENT_KEYS">
|
|
72
72
|
<recent name="$PROJECT_DIR$/assets" />
|
|
@@ -94,7 +94,8 @@
|
|
|
94
94
|
<workItem from="1767265931452" duration="395000" />
|
|
95
95
|
<workItem from="1767266330648" duration="5077000" />
|
|
96
96
|
<workItem from="1767272485923" duration="3120000" />
|
|
97
|
-
<workItem from="1767275985364" duration="
|
|
97
|
+
<workItem from="1767275985364" duration="4189000" />
|
|
98
|
+
<workItem from="1767280935871" duration="424000" />
|
|
98
99
|
</task>
|
|
99
100
|
<servers />
|
|
100
101
|
</component>
|
package/package.json
CHANGED
package/views/selectors.js
CHANGED
|
@@ -96,7 +96,7 @@ exports.equipLevelStatSelector = equipLevelStatSelector;
|
|
|
96
96
|
const baseImprovementDataSelector = (0, _reselect.createSelector)([wctfLocalSelector, _selectors.constSelector, adjustedRemodelChainsSelector, shipUniqueMapSelector], (db, $const, chains, uniqMap) => (0, _lodash.default)(_lodash.default.get(db, 'arsenal_all')).keys().map(itemId => {
|
|
97
97
|
const item = _lodash.default.get(db, ['items', itemId], {});
|
|
98
98
|
|
|
99
|
-
const assistants = (0, _lodash.default)(_lodash.default.range(7).concat(-1)).map(day => [day, (0, _lodash.default)(item.improvement).flatMap(entry => (0, _lodash.default)(entry.req).flatMap(([days, ships]) => day === -1 || days[day] ? ships : []).groupBy(id => uniqMap[id]).mapValues(ids => (0, _lodash.default)(ids).sortBy(id => (chains[id] || []).indexOf(id)).take(1).value()).values().flatten().map(id => window.i18n['poi-plugin-item-
|
|
99
|
+
const assistants = (0, _lodash.default)(_lodash.default.range(7).concat(-1)).map(day => [day, (0, _lodash.default)(item.improvement).flatMap(entry => (0, _lodash.default)(entry.req).flatMap(([days, ships]) => day === -1 || days[day] ? ships : []).groupBy(id => uniqMap[id]).mapValues(ids => (0, _lodash.default)(ids).sortBy(id => (chains[id] || []).indexOf(id)).take(1).value()).values().flatten().map(id => window.i18n['poi-plugin-item-improvement2'].__(window.i18n.resources.__(_lodash.default.get($const, ['$ships', id, 'api_name'], 'None')))).value()).join('/')]).fromPairs().value();
|
|
100
100
|
return _extends({}, _lodash.default.get($const, ['$equips', item.id], {}), item, {
|
|
101
101
|
priority: 0,
|
|
102
102
|
assistants
|