poi-plugin-item-improvement2-beta 0.0.32014 → 0.0.32016

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.
@@ -5,13 +5,6 @@
5
5
  </component>
6
6
  <component name="ChangeListManager">
7
7
  <list default="true" id="40128e24-f8c8-43c8-87be-27f4e2d2db24" name="更改" comment="">
8
- <change afterPath="$PROJECT_DIR$/assets/arsenal_weekday.nedb" afterDir="false" />
9
- <change beforePath="$PROJECT_DIR$/assets/arsenal.nedb" beforeDir="false" afterPath="$PROJECT_DIR$/assets/arsenal.nedb" afterDir="false" />
10
- <change beforePath="$PROJECT_DIR$/assets/items.nedb" beforeDir="false" afterPath="$PROJECT_DIR$/assets/items.nedb" afterDir="false" />
11
- <change beforePath="$PROJECT_DIR$/i18n/en-US.json" beforeDir="false" afterPath="$PROJECT_DIR$/i18n/en-US.json" afterDir="false" />
12
- <change beforePath="$PROJECT_DIR$/i18n/ja-JP.json" beforeDir="false" afterPath="$PROJECT_DIR$/i18n/ja-JP.json" afterDir="false" />
13
- <change beforePath="$PROJECT_DIR$/i18n/zh-CN.json" beforeDir="false" afterPath="$PROJECT_DIR$/i18n/zh-CN.json" afterDir="false" />
14
- <change beforePath="$PROJECT_DIR$/i18n/zh-TW.json" beforeDir="false" afterPath="$PROJECT_DIR$/i18n/zh-TW.json" afterDir="false" />
15
8
  <change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
16
9
  <change beforePath="$PROJECT_DIR$/views/selectors.es" beforeDir="false" afterPath="$PROJECT_DIR$/views/selectors.es" afterDir="false" />
17
10
  </list>
@@ -95,7 +88,7 @@
95
88
  <workItem from="1767266330648" duration="5077000" />
96
89
  <workItem from="1767272485923" duration="3120000" />
97
90
  <workItem from="1767275985364" duration="4189000" />
98
- <workItem from="1767280935871" duration="424000" />
91
+ <workItem from="1767280935871" duration="806000" />
99
92
  </task>
100
93
  <servers />
101
94
  </component>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "poi-plugin-item-improvement2-beta",
3
- "version": "0.0.32014",
3
+ "version": "0.0.32016",
4
4
  "description": "use new data source",
5
5
  "main": "index.es",
6
6
  "scripts": {
@@ -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-improvement2'].__(window.i18n.resources.__(_lodash.default.get($const, ['$ships', id, 'api_name'], 'None')))).value()).join('/')]).fromPairs().value();
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-beta'].__(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