poi-plugin-akashic-records
Advanced tools
Comparing version 6.1.6 to 6.2.0
@@ -59,4 +59,5 @@ module.exports = { | ||
'cson', | ||
'lodash', | ||
], | ||
}, | ||
} |
{ | ||
"name": "poi-plugin-akashic-records", | ||
"version": "6.1.6", | ||
"version": "6.2.0", | ||
"description": "logbook plugin for poi", | ||
@@ -54,5 +54,6 @@ "main": "index.js", | ||
"7.3.0": "5.0.6", | ||
"7.5.99": "6.0.5" | ||
"7.5.99": "6.0.5", | ||
"8.1.0-beta.999": "6.1.6" | ||
} | ||
} | ||
} |
@@ -21,2 +21,6 @@ 'use strict'; | ||
var _pagination = require('./pagination'); | ||
var _pagination2 = _interopRequireDefault(_pagination); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -92,4 +96,4 @@ | ||
this.handlePaginationSelect = (key, selectedEvent) => { | ||
this.props.onActivePageSet(selectedEvent.eventKey || key); | ||
this.handlePaginationSelect = idx => { | ||
this.props.onActivePageSet(idx); | ||
}; | ||
@@ -217,12 +221,6 @@ | ||
{ xs: 12 }, | ||
_react2.default.createElement(_reactBootstrap.Pagination, { className: 'akashic-table-pagination', | ||
prev: false, | ||
next: false, | ||
first: true, | ||
last: true, | ||
ellipsis: true, | ||
items: this.props.paginationItems, | ||
maxButtons: Math.min(this.props.paginationItems, 5), | ||
activePage: this.props.activePage, | ||
onSelect: this.handlePaginationSelect | ||
_react2.default.createElement(_pagination2.default, { className: 'akashic-table-pagination', | ||
max: this.props.paginationItems, | ||
curr: this.props.activePage, | ||
handlePaginationSelect: this.handlePaginationSelect | ||
}) | ||
@@ -229,0 +227,0 @@ ) |
@@ -17,6 +17,9 @@ 'use strict'; | ||
var _pagination = require('./pagination'); | ||
var _pagination2 = _interopRequireDefault(_pagination); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
const { __, config } = window; | ||
// # import i18n from '../node_modules/i18n' | ||
@@ -240,12 +243,6 @@ // # {__} = i18n | ||
{ xs: 12 }, | ||
_react2.default.createElement(_reactBootstrap.Pagination, { className: 'akashic-table-pagination', | ||
prev: false, | ||
next: false, | ||
first: true, | ||
last: true, | ||
ellipsis: true, | ||
items: this.props.paginationItems, | ||
maxButtons: Math.min(this.props.paginationItems, 5), | ||
activePage: this.props.activePage, | ||
onSelect: this.handlePaginationSelect | ||
_react2.default.createElement(_pagination2.default, { className: 'akashic-table-pagination', | ||
max: this.props.paginationItems, | ||
curr: this.props.activePage, | ||
handlePaginationSelect: this.handlePaginationSelect | ||
}) | ||
@@ -252,0 +249,0 @@ ) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2735627
103
58633