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.
@@ -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"><![CDATA[{
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"
46
+ <component name="PropertiesComponent">{
47
+ &quot;keyToString&quot;: {
48
+ &quot;ASKED_SHARE_PROJECT_CONFIGURATION_FILES&quot;: &quot;true&quot;,
49
+ &quot;ModuleVcsDetector.initialDetectionPerformed&quot;: &quot;true&quot;,
50
+ &quot;Node.js.item-info-row.js.executor&quot;: &quot;Run&quot;,
51
+ &quot;Node.js.publish.js.executor&quot;: &quot;Run&quot;,
52
+ &quot;Node.js.selectors.es.executor&quot;: &quot;Run&quot;,
53
+ &quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
54
+ &quot;RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252&quot;: &quot;true&quot;,
55
+ &quot;RunOnceActivity.git.unshallow&quot;: &quot;true&quot;,
56
+ &quot;RunOnceActivity.typescript.service.memoryLimit.init&quot;: &quot;true&quot;,
57
+ &quot;SHARE_PROJECT_CONFIGURATION_FILES&quot;: &quot;true&quot;,
58
+ &quot;git-widget-placeholder&quot;: &quot;main&quot;,
59
+ &quot;javascript.preferred.runtime.type.id&quot;: &quot;node&quot;,
60
+ &quot;last_opened_file_path&quot;: &quot;/Users/sakana/code/plugin-item-improvement/assets&quot;,
61
+ &quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
62
+ &quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
63
+ &quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
64
+ &quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
65
+ &quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
66
+ &quot;settings.editor.selected.configurable&quot;: &quot;preferences.keymap&quot;,
67
+ &quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
68
68
  }
69
- }]]></component>
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="3580000" />
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "poi-plugin-item-improvement2-beta",
3
- "version": "0.0.32012",
3
+ "version": "0.0.32014",
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-improvement'].__(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'].__(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