poi-plugin-item-improvement2 0.0.1
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/Project_Default.xml +6 -0
- package/.idea/inspectionProfiles/profiles_settings.xml +6 -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/README.md +7 -0
- package/assets/arsenal.nedb +704 -0
- package/assets/items.nedb +756 -0
- package/assets/main.css +192 -0
- package/assets/useitem.svg +107 -0
- package/i18n/en-US.json +4 -0
- package/i18n/ja-JP.json +54 -0
- package/i18n/zh-CN.json +53 -0
- package/i18n/zh-TW.json +53 -0
- package/index.es +12 -0
- package/index.js +21 -0
- package/package.json +56 -0
- package/poi-plugin-item-improvement2-0.0.1.tgz +0 -0
- package/views/detail-row.js +186 -0
- package/views/divider.js +17 -0
- package/views/item-info-area.js +157 -0
- package/views/item-info-row.js +93 -0
- package/views/item-wrapper.js +126 -0
- package/views/mat-row.js +153 -0
- package/views/selectors.js +127 -0
- package/views/starcraft/add-new-equip-view.js +110 -0
- package/views/starcraft/control-panel.js +104 -0
- package/views/starcraft/equip-category-view.js +115 -0
- package/views/starcraft/equip-list-view.js +100 -0
- package/views/starcraft/equip-view.js +142 -0
- package/views/starcraft/equiptype.js +109 -0
- package/views/starcraft/plan-modify-control.js +201 -0
- package/views/starcraft/plan-view.js +108 -0
- package/views/starcraft/starcraft-area.js +222 -0
- package/views/starcraft/utils.js +51 -0
- package/views/useitem-icon.js +69 -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/README.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Plugin-Item-Improvement
|
|
2
|
+
Show improvable items of the day
|
|
3
|
+
#### Usage
|
|
4
|
+
Put the folder into /path/to/poi/resources/app/plugins.
|
|
5
|
+
|
|
6
|
+
#### Data source
|
|
7
|
+
The plugin makes use of data from [WhoCallsTheFleet](https://github.com/Diablohu/WhoCallsTheFleet) and [Kcwiki API](http://api.kcwiki.moe/) Project.
|