poi-plugin-item-improvement2-beta 0.0.2 → 0.0.5
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/.eslintrc.js +42 -0
- package/.idea/inspectionProfiles/profiles_settings.xml +7 -0
- package/.idea/misc.xml +4 -0
- package/.idea/modules.xml +8 -0
- package/.idea/plugin-item-improvement.iml +8 -0
- package/.idea/vcs.xml +6 -0
- package/.idea/workspace.xml +72 -6
- package/README.md +1 -1
- package/assets/db/arsenal_all.nedb +352 -0
- package/assets/db/arsenal_weekday.nedb +7 -0
- package/assets/db/items.nedb +352 -0
- package/assets/icon/100.png +0 -0
- package/assets/icon/57.png +0 -0
- package/assets/icon/70.png +0 -0
- package/assets/icon/71.png +0 -0
- package/assets/icon/75.png +0 -0
- package/assets/icon/77.png +0 -0
- package/assets/icon/78.png +0 -0
- package/assets/icon/91.png +0 -0
- package/assets/icon/92.png +0 -0
- package/assets/icon/94.png +0 -0
- package/assets/main.css +3 -2
- package/i18n/en-US.json +1 -1
- package/i18n/ja-JP.json +1 -1
- package/i18n/zh-CN.json +1 -1
- package/i18n/zh-TW.json +1 -1
- package/package.json +4 -2
- package/views/detail-row.js +14 -13
- package/views/item-info-area.js +2 -2
- package/views/mat-row.js +20 -34
- package/views/selectors.js +46 -20
- package/views/starcraft/add-new-equip-view.js +35 -33
- package/views/starcraft/control-panel.js +29 -14
- package/views/starcraft/equip-category-view.js +15 -34
- package/views/starcraft/equip-list-view.js +36 -48
- package/views/starcraft/equiptype.js +23 -35
- package/views/starcraft/plan-modify-control.js +3 -3
- package/views/starcraft/starcraft-area.js +30 -44
- package/views/starcraft/utils.js +44 -2
- package/views/useitem-icon.js +10 -2
- package/assets/arsenal.nedb +0 -59
- package/assets/data_kcwiki.es +0 -105
- package/assets/items.nedb +0 -59
- package/views/detail-row.es +0 -174
- package/views/divider.es +0 -9
- package/views/item-info-area.es +0 -104
- package/views/item-info-row.es +0 -55
- package/views/item-wrapper.es +0 -86
- package/views/mat-row.es +0 -136
- package/views/selectors.es +0 -249
- package/views/starcraft/add-new-equip-view.es +0 -75
- package/views/starcraft/control-panel.es +0 -65
- package/views/starcraft/equip-category-view.es +0 -105
- package/views/starcraft/equip-list-view.es +0 -87
- package/views/starcraft/equip-view.es +0 -106
- package/views/starcraft/equiptype.es +0 -112
- package/views/starcraft/plan-modify-control.es +0 -148
- package/views/starcraft/plan-view.es +0 -63
- package/views/starcraft/starcraft-area.es +0 -166
- package/views/starcraft/utils.es +0 -40
- package/views/useitem-icon.es +0 -43
- /package/assets/{useitem.svg → icon/useitem.svg} +0 -0
package/.eslintrc.js
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
extends: ['airbnb', 'poi-plugin'],
|
|
3
|
+
plugins: ['react', 'jsx-a11y', 'import'],
|
|
4
|
+
env: {
|
|
5
|
+
browser: true,
|
|
6
|
+
es6: true,
|
|
7
|
+
node: true
|
|
8
|
+
},
|
|
9
|
+
parser: 'babel-eslint',
|
|
10
|
+
rules: {
|
|
11
|
+
semi: ['error', 'never'],
|
|
12
|
+
'import/no-unresolved': [2, { ignore: ['views/.*'] }],
|
|
13
|
+
'react/jsx-filename-extension': 'off',
|
|
14
|
+
'no-underscore-dangle': ['error', { allowAfterThis: true }],
|
|
15
|
+
'import/extensions': ['error', { es: 'never' }],
|
|
16
|
+
'import/no-extraneous-dependencies': 'off',
|
|
17
|
+
'comma-dangle': ['error', 'always-multiline'],
|
|
18
|
+
'no-confusing-arrow': ['error', { allowParens: true }],
|
|
19
|
+
'import/prefer-default-export': 'off',
|
|
20
|
+
'jsx-a11y/no-static-element-interactions': 'off',
|
|
21
|
+
'arrow-parens': ['error', 'as-needed'],
|
|
22
|
+
'no-underscore-dangle': ['error', { allow: ['__'] }],
|
|
23
|
+
'no-console': ['error', { allow: ['warn', 'error'] }],
|
|
24
|
+
'space-in-parens': 'off',
|
|
25
|
+
'object-curly-spacing': 'off',
|
|
26
|
+
'react/jsx-curly-spacing': 'off',
|
|
27
|
+
'react/jsx-first-prop-new-line': 'off',
|
|
28
|
+
'react/jsx-closing-bracket-location': 'off',
|
|
29
|
+
'react/jsx-indent-props': 'off',
|
|
30
|
+
'space-unary-ops': 'off',
|
|
31
|
+
'object-property-newline': 'off',
|
|
32
|
+
'space-infix-ops': 'off',
|
|
33
|
+
curly: 'off',
|
|
34
|
+
'comma-spacing': 'off',
|
|
35
|
+
'array-callback-return': 'off',
|
|
36
|
+
'no-nested-ternary': 'off',
|
|
37
|
+
'no-confusing-arrow': 'off',
|
|
38
|
+
'no-else-return': 'off',
|
|
39
|
+
'no-plusplus': ['error', { allowForLoopAfterthoughts: true }],
|
|
40
|
+
'react/forbid-prop-types': 'off'
|
|
41
|
+
}
|
|
42
|
+
}
|
package/.idea/misc.xml
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectModuleManager">
|
|
4
|
+
<modules>
|
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/plugin-item-improvement.iml" filepath="$PROJECT_DIR$/.idea/plugin-item-improvement.iml" />
|
|
6
|
+
</modules>
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="PYTHON_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager">
|
|
4
|
+
<content url="file://$MODULE_DIR$" />
|
|
5
|
+
<orderEntry type="jdk" jdkName="Python 3.9 (shizhidadong)" jdkType="Python SDK" />
|
|
6
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
7
|
+
</component>
|
|
8
|
+
</module>
|
package/.idea/vcs.xml
ADDED
package/.idea/workspace.xml
CHANGED
|
@@ -4,13 +4,37 @@
|
|
|
4
4
|
<option name="autoReloadType" value="SELECTIVE" />
|
|
5
5
|
</component>
|
|
6
6
|
<component name="ChangeListManager">
|
|
7
|
-
<list default="true" id="40128e24-f8c8-43c8-87be-27f4e2d2db24" name="更改" comment=""
|
|
7
|
+
<list default="true" id="40128e24-f8c8-43c8-87be-27f4e2d2db24" name="更改" comment="">
|
|
8
|
+
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
|
|
9
|
+
<change beforePath="$PROJECT_DIR$/views/detail-row.es" beforeDir="false" afterPath="$PROJECT_DIR$/views/detail-row.es" afterDir="false" />
|
|
10
|
+
<change beforePath="$PROJECT_DIR$/views/item-info-area.es" beforeDir="false" afterPath="$PROJECT_DIR$/views/item-info-area.es" afterDir="false" />
|
|
11
|
+
<change beforePath="$PROJECT_DIR$/views/mat-row.es" beforeDir="false" afterPath="$PROJECT_DIR$/views/mat-row.es" afterDir="false" />
|
|
12
|
+
<change beforePath="$PROJECT_DIR$/views/selectors.es" beforeDir="false" afterPath="$PROJECT_DIR$/views/selectors.es" afterDir="false" />
|
|
13
|
+
<change beforePath="$PROJECT_DIR$/views/starcraft/add-new-equip-view.es" beforeDir="false" afterPath="$PROJECT_DIR$/views/starcraft/add-new-equip-view.es" afterDir="false" />
|
|
14
|
+
<change beforePath="$PROJECT_DIR$/views/starcraft/control-panel.es" beforeDir="false" afterPath="$PROJECT_DIR$/views/starcraft/control-panel.es" afterDir="false" />
|
|
15
|
+
<change beforePath="$PROJECT_DIR$/views/starcraft/equip-view.es" beforeDir="false" afterPath="$PROJECT_DIR$/views/starcraft/equip-view.es" afterDir="false" />
|
|
16
|
+
<change beforePath="$PROJECT_DIR$/views/starcraft/plan-modify-control.es" beforeDir="false" afterPath="$PROJECT_DIR$/views/starcraft/plan-modify-control.es" afterDir="false" />
|
|
17
|
+
<change beforePath="$PROJECT_DIR$/views/starcraft/plan-view.es" beforeDir="false" afterPath="$PROJECT_DIR$/views/starcraft/plan-view.es" afterDir="false" />
|
|
18
|
+
<change beforePath="$PROJECT_DIR$/views/starcraft/utils.es" beforeDir="false" afterPath="$PROJECT_DIR$/views/starcraft/utils.es" afterDir="false" />
|
|
19
|
+
</list>
|
|
8
20
|
<option name="SHOW_DIALOG" value="false" />
|
|
9
21
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
10
22
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
11
23
|
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
12
24
|
</component>
|
|
25
|
+
<component name="FileTemplateManagerImpl">
|
|
26
|
+
<option name="RECENT_TEMPLATES">
|
|
27
|
+
<list>
|
|
28
|
+
<option value="JavaScript File" />
|
|
29
|
+
</list>
|
|
30
|
+
</option>
|
|
31
|
+
</component>
|
|
13
32
|
<component name="Git.Settings">
|
|
33
|
+
<option name="RECENT_BRANCH_BY_REPOSITORY">
|
|
34
|
+
<map>
|
|
35
|
+
<entry key="$PROJECT_DIR$" value="bd4b1890cf609ab4812e5d1f934a40b672439046" />
|
|
36
|
+
</map>
|
|
37
|
+
</option>
|
|
14
38
|
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
|
15
39
|
</component>
|
|
16
40
|
<component name="ProjectColorInfo">{
|
|
@@ -23,27 +47,44 @@
|
|
|
23
47
|
</component>
|
|
24
48
|
<component name="PropertiesComponent">{
|
|
25
49
|
"keyToString": {
|
|
50
|
+
"ASKED_SHARE_PROJECT_CONFIGURATION_FILES": "true",
|
|
26
51
|
"ModuleVcsDetector.initialDetectionPerformed": "true",
|
|
52
|
+
"Node.js.item-info-row.es.executor": "Run",
|
|
53
|
+
"Node.js.item-info-row.js.executor": "Run",
|
|
54
|
+
"Node.js.mat-row.es.executor": "Run",
|
|
55
|
+
"Node.js.publish.js.executor": "Run",
|
|
27
56
|
"Node.js.selectors.es.executor": "Run",
|
|
57
|
+
"Node.js.useitem-icon.es.executor": "Run",
|
|
28
58
|
"RunOnceActivity.ShowReadmeOnStart": "true",
|
|
29
59
|
"RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
|
|
30
60
|
"RunOnceActivity.git.unshallow": "true",
|
|
31
61
|
"RunOnceActivity.typescript.service.memoryLimit.init": "true",
|
|
32
|
-
"
|
|
62
|
+
"SHARE_PROJECT_CONFIGURATION_FILES": "true",
|
|
63
|
+
"git-widget-placeholder": "main",
|
|
33
64
|
"javascript.preferred.runtime.type.id": "node",
|
|
34
|
-
"last_opened_file_path": "/Users/sakana/code/plugin-item-improvement/assets",
|
|
65
|
+
"last_opened_file_path": "/Users/sakana/code/plugin-item-improvement/assets/db",
|
|
35
66
|
"node.js.detected.package.eslint": "true",
|
|
67
|
+
"node.js.detected.package.stylelint": "true",
|
|
36
68
|
"node.js.detected.package.tslint": "true",
|
|
37
69
|
"node.js.selected.package.eslint": "(autodetect)",
|
|
70
|
+
"node.js.selected.package.stylelint": "",
|
|
38
71
|
"node.js.selected.package.tslint": "(autodetect)",
|
|
39
72
|
"nodejs_package_manager_path": "npm",
|
|
40
73
|
"settings.editor.selected.configurable": "preferences.keymap",
|
|
74
|
+
"ts.external.directory.path": "/Applications/WebStorm.app/Contents/plugins/javascript-plugin/jsLanguageServicesImpl/external",
|
|
41
75
|
"vue.rearranger.settings.migration": "true"
|
|
42
76
|
}
|
|
43
77
|
}</component>
|
|
44
78
|
<component name="RecentsManager">
|
|
45
79
|
<key name="CopyFile.RECENT_KEYS">
|
|
80
|
+
<recent name="$PROJECT_DIR$/assets/db" />
|
|
46
81
|
<recent name="$PROJECT_DIR$/assets" />
|
|
82
|
+
<recent name="$PROJECT_DIR$/assets/icon" />
|
|
83
|
+
<recent name="$PROJECT_DIR$/views" />
|
|
84
|
+
</key>
|
|
85
|
+
<key name="MoveFile.RECENT_KEYS">
|
|
86
|
+
<recent name="$PROJECT_DIR$/assets/db" />
|
|
87
|
+
<recent name="$PROJECT_DIR$/assets/icon" />
|
|
47
88
|
</key>
|
|
48
89
|
</component>
|
|
49
90
|
<component name="SharedIndexes">
|
|
@@ -63,7 +104,27 @@
|
|
|
63
104
|
<workItem from="1766954534702" duration="24000" />
|
|
64
105
|
<workItem from="1766954565993" duration="12934000" />
|
|
65
106
|
<workItem from="1766998961559" duration="8885000" />
|
|
66
|
-
<workItem from="1767112889804" duration="
|
|
107
|
+
<workItem from="1767112889804" duration="3312000" />
|
|
108
|
+
<workItem from="1767127690697" duration="9838000" />
|
|
109
|
+
<workItem from="1767265931452" duration="395000" />
|
|
110
|
+
<workItem from="1767266330648" duration="5077000" />
|
|
111
|
+
<workItem from="1767272485923" duration="3120000" />
|
|
112
|
+
<workItem from="1767275985364" duration="4189000" />
|
|
113
|
+
<workItem from="1767280935871" duration="42697000" />
|
|
114
|
+
<workItem from="1767358619187" duration="6000" />
|
|
115
|
+
<workItem from="1767358634299" duration="15946000" />
|
|
116
|
+
<workItem from="1767380289747" duration="38000" />
|
|
117
|
+
<workItem from="1767380434707" duration="2000" />
|
|
118
|
+
<workItem from="1767381357135" duration="110000" />
|
|
119
|
+
<workItem from="1767381761070" duration="21000" />
|
|
120
|
+
<workItem from="1767382251786" duration="4000" />
|
|
121
|
+
<workItem from="1767440947438" duration="7760000" />
|
|
122
|
+
<workItem from="1767463589760" duration="11011000" />
|
|
123
|
+
<workItem from="1767536472672" duration="47997000" />
|
|
124
|
+
<workItem from="1767955263226" duration="560000" />
|
|
125
|
+
<workItem from="1768276631547" duration="4031000" />
|
|
126
|
+
<workItem from="1768281570910" duration="27860000" />
|
|
127
|
+
<workItem from="1768310872462" duration="13647000" />
|
|
67
128
|
</task>
|
|
68
129
|
<servers />
|
|
69
130
|
</component>
|
|
@@ -73,12 +134,12 @@
|
|
|
73
134
|
<component name="Vcs.Log.Tabs.Properties">
|
|
74
135
|
<option name="OPEN_GENERIC_TABS">
|
|
75
136
|
<map>
|
|
76
|
-
<entry key="
|
|
137
|
+
<entry key="712592f3-c312-49ef-9be5-7df54c39e845" value="TOOL_WINDOW" />
|
|
77
138
|
</map>
|
|
78
139
|
</option>
|
|
79
140
|
<option name="TAB_STATES">
|
|
80
141
|
<map>
|
|
81
|
-
<entry key="
|
|
142
|
+
<entry key="712592f3-c312-49ef-9be5-7df54c39e845">
|
|
82
143
|
<value>
|
|
83
144
|
<State>
|
|
84
145
|
<option name="FILTERS">
|
|
@@ -103,6 +164,11 @@
|
|
|
103
164
|
</State>
|
|
104
165
|
</value>
|
|
105
166
|
</entry>
|
|
167
|
+
<entry key="MAIN">
|
|
168
|
+
<value>
|
|
169
|
+
<State />
|
|
170
|
+
</value>
|
|
171
|
+
</entry>
|
|
106
172
|
</map>
|
|
107
173
|
</option>
|
|
108
174
|
</component>
|
package/README.md
CHANGED
|
@@ -4,4 +4,4 @@ Show improvable items of the day
|
|
|
4
4
|
Put the folder into /path/to/poi/resources/app/plugins.
|
|
5
5
|
|
|
6
6
|
#### Data source
|
|
7
|
-
The plugin makes use of data from [
|
|
7
|
+
The plugin makes use of data from [JA Wiki](https://wikiwiki.jp/kancolle/%E6%94%B9%E4%BF%AE%E8%A1%A8#SmallCaliber/) and [Kcwiki API](http://api.kcwiki.moe/) Project.
|