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.
Files changed (38) hide show
  1. package/.eslintrc.js +42 -0
  2. package/.idea/inspectionProfiles/Project_Default.xml +6 -0
  3. package/.idea/inspectionProfiles/profiles_settings.xml +6 -0
  4. package/.idea/misc.xml +4 -0
  5. package/.idea/modules.xml +8 -0
  6. package/.idea/plugin-item-improvement.iml +8 -0
  7. package/.idea/vcs.xml +6 -0
  8. package/README.md +7 -0
  9. package/assets/arsenal.nedb +704 -0
  10. package/assets/items.nedb +756 -0
  11. package/assets/main.css +192 -0
  12. package/assets/useitem.svg +107 -0
  13. package/i18n/en-US.json +4 -0
  14. package/i18n/ja-JP.json +54 -0
  15. package/i18n/zh-CN.json +53 -0
  16. package/i18n/zh-TW.json +53 -0
  17. package/index.es +12 -0
  18. package/index.js +21 -0
  19. package/package.json +56 -0
  20. package/poi-plugin-item-improvement2-0.0.1.tgz +0 -0
  21. package/views/detail-row.js +186 -0
  22. package/views/divider.js +17 -0
  23. package/views/item-info-area.js +157 -0
  24. package/views/item-info-row.js +93 -0
  25. package/views/item-wrapper.js +126 -0
  26. package/views/mat-row.js +153 -0
  27. package/views/selectors.js +127 -0
  28. package/views/starcraft/add-new-equip-view.js +110 -0
  29. package/views/starcraft/control-panel.js +104 -0
  30. package/views/starcraft/equip-category-view.js +115 -0
  31. package/views/starcraft/equip-list-view.js +100 -0
  32. package/views/starcraft/equip-view.js +142 -0
  33. package/views/starcraft/equiptype.js +109 -0
  34. package/views/starcraft/plan-modify-control.js +201 -0
  35. package/views/starcraft/plan-view.js +108 -0
  36. package/views/starcraft/starcraft-area.js +222 -0
  37. package/views/starcraft/utils.js +51 -0
  38. 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
+ }
@@ -0,0 +1,6 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <profile version="1.0">
3
+ <option name="myName" value="Project Default" />
4
+ <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
5
+ </profile>
6
+ </component>
@@ -0,0 +1,6 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <settings>
3
+ <option name="USE_PROJECT_PROFILE" value="false" />
4
+ <version value="1.0" />
5
+ </settings>
6
+ </component>
package/.idea/misc.xml ADDED
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9 (shizhidadong)" project-jdk-type="Python SDK" />
4
+ </project>
@@ -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
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="" vcs="Git" />
5
+ </component>
6
+ </project>
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.