poi-plugin-ship-info
Advanced tools
Comparing version 7.2.0 to 7.2.1
module.exports = { | ||
'*.{css}': 'stylelint', | ||
'*.{ts,tsx}': ['tslint --fix', 'git add'], | ||
'*.{ts,tsx}': ['eslint --fix', 'git add'], | ||
} |
{ | ||
"name": "poi-plugin-ship-info", | ||
"version": "7.2.0", | ||
"version": "7.2.1", | ||
"description": "Show detailed information of all owned ship girls", | ||
@@ -43,2 +43,3 @@ "main": "index.es", | ||
"devDependencies": { | ||
"@blueprintjs/core": "^3.24.0", | ||
"@commitlint/cli": "^8.0.0", | ||
@@ -48,2 +49,3 @@ "@commitlint/config-conventional": "^8.0.0", | ||
"@types/classnames": "^2.2.8", | ||
"@types/eslint": "^6.1.8", | ||
"@types/fs-extra": "^8.0.0", | ||
@@ -59,16 +61,28 @@ "@types/html2canvas": "^0.0.35", | ||
"@types/redux": "^3.6.0", | ||
"@types/styled-components": "^4.1.15", | ||
"@typescript-eslint/parser": "^2.0.0", | ||
"babel-eslint": "10.0.3", | ||
"husky": "^3.0.0", | ||
"@types/styled-components": "^5.0.1", | ||
"@typescript-eslint/eslint-plugin": "^2.23.0", | ||
"@typescript-eslint/parser": "^2.23.0", | ||
"babel-eslint": "10.1.0", | ||
"eslint": "^6.8.0", | ||
"eslint-config-airbnb": "^18.0.1", | ||
"eslint-config-poi-plugin": "^3.0.1", | ||
"eslint-config-prettier": "^6.10.0", | ||
"eslint-plugin-import": "^2.20.1", | ||
"eslint-plugin-jsx-a11y": "^6.2.3", | ||
"eslint-plugin-prettier": "^3.1.2", | ||
"eslint-plugin-react": "^7.19.0", | ||
"eslint-plugin-react-hooks": "^2.5.0", | ||
"fuse.js": "3.6.1", | ||
"husky": "^4.2.3", | ||
"i18next": "^19.3.2", | ||
"kcsapi": "^1.190112.0", | ||
"lint-staged": "^9.2.0", | ||
"lint-staged": "^10.0.8", | ||
"poi-util-transpile": "^10.3.4", | ||
"prettier": "^1.19.1", | ||
"stylelint": "^11.1.1", | ||
"stylelint-config-standard": "^19.0.0", | ||
"tslint": "^5.17.0", | ||
"tslint-config-prettier": "^1.18.0", | ||
"tslint-plugin-prettier": "^2.0.1", | ||
"tslint-react": "^4.0.0", | ||
"polished": "^3.4.4", | ||
"prettier": "^2.0.2", | ||
"react-i18next": "^11.3.3", | ||
"redux-thunk": "^2.3.0", | ||
"reselect": "^4.0.0", | ||
"stylelint": "^13.2.1", | ||
"stylelint-config-standard": "^20.0.0", | ||
"typescript": "^3.5.1" | ||
@@ -75,0 +89,0 @@ }, |
@@ -25,6 +25,10 @@ "use strict"; | ||
// tslint:disable jsx-no-lambda | ||
const LevelRange = (0, _reactRedux.connect)(state => ({ | ||
maxLevel: (0, _lodash.get)(state.config, 'plugin.ShipInfo.filters.maxLevel', 10000), | ||
minLevel: (0, _lodash.get)(state.config, 'plugin.ShipInfo.filters.minLevel', 1) | ||
}))(({ | ||
const LevelRange = (0, _reactRedux.connect)(state => { | ||
var _ref, _state$config$plugin, _state$config$plugin$, _state$config$plugin$2, _ref2, _state$config$plugin2, _state$config$plugin3, _state$config$plugin4; | ||
return { | ||
maxLevel: (_ref = (_state$config$plugin = state.config.plugin) === null || _state$config$plugin === void 0 ? void 0 : (_state$config$plugin$ = _state$config$plugin.ShipInfo) === null || _state$config$plugin$ === void 0 ? void 0 : (_state$config$plugin$2 = _state$config$plugin$.filters) === null || _state$config$plugin$2 === void 0 ? void 0 : _state$config$plugin$2.maxLevel) !== null && _ref !== void 0 ? _ref : 10000, | ||
minLevel: (_ref2 = (_state$config$plugin2 = state.config.plugin) === null || _state$config$plugin2 === void 0 ? void 0 : (_state$config$plugin3 = _state$config$plugin2.ShipInfo) === null || _state$config$plugin3 === void 0 ? void 0 : (_state$config$plugin4 = _state$config$plugin3.filters) === null || _state$config$plugin4 === void 0 ? void 0 : _state$config$plugin4.minLevel) !== null && _ref2 !== void 0 ? _ref2 : 1 | ||
}; | ||
})(({ | ||
minLevel, | ||
@@ -31,0 +35,0 @@ maxLevel |
@@ -83,3 +83,3 @@ "use strict"; | ||
}, t('Free')), mapname.map((name, idx) => _react["default"].createElement(_checkbox.CheckboxOption, { | ||
key: idx, | ||
key: name, | ||
onClick: this.handleClickBox(idx + 1), | ||
@@ -86,0 +86,0 @@ style: { |
@@ -22,4 +22,3 @@ "use strict"; | ||
const SallyArea = (0, _reactRedux.connect)( // @ts-ignore | ||
(state, props) => { | ||
const SallyArea = (0, _reactRedux.connect)((state, props) => { | ||
const { | ||
@@ -26,0 +25,0 @@ area |
@@ -226,5 +226,5 @@ "use strict"; | ||
daihatsu: _propTypes["default"].bool.isRequired | ||
/* tslint:enable:object-literal-sort-keys */ | ||
}; | ||
/* tslint:enable:object-literal-sort-keys */ | ||
}; | ||
exports.shipInfoShape = shipInfoShape; | ||
@@ -231,0 +231,0 @@ const jpCollator = new Intl.Collator('ja-JP'); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
770073
43
11252