Latest updates from IceHrmPro
This commit is contained in:
114
web/node_modules/rc-pagination/HISTORY.md
generated
vendored
Normal file
114
web/node_modules/rc-pagination/HISTORY.md
generated
vendored
Normal file
@@ -0,0 +1,114 @@
|
||||
# 2.2.0
|
||||
|
||||
- Add prop `totalBoundaryShowSizeChanger`.
|
||||
- Fix items count not being consistent. [#18201](https://github.com/ant-design/ant-design/issues/18201)
|
||||
- Update default page size options from `10,25,30,40` to `10,20,50,100`.
|
||||
|
||||
# 2.1.0
|
||||
|
||||
- When `total` is greater then 100, will show size changer defaultly.
|
||||
- Update default page size options from `10,20,30,40` to `10,25,50,100`.
|
||||
|
||||
# 2.0.0
|
||||
|
||||
- Remove `prop-types` and `react-lifecycles-compat`
|
||||
|
||||
# 1.20.0
|
||||
|
||||
- Add locale `ms_MY`
|
||||
|
||||
# 1.19.0
|
||||
|
||||
- Support Latvian localization
|
||||
|
||||
# 1.18.0
|
||||
|
||||
- Support `disabled`
|
||||
|
||||
# 1.17.0
|
||||
|
||||
- Add `prevIcon`, `nextIcon`, `jumpPrevIcon`, `jumpNextIcon`.
|
||||
|
||||
# 1.16.1
|
||||
|
||||
- Add locale `sl_SI`. #130
|
||||
|
||||
# 1.16.0
|
||||
|
||||
- Add locale `id_ID`
|
||||
- Add prop `showPrevNextJumpers`
|
||||
|
||||
# 1.15.2
|
||||
|
||||
- Add locale `tr_TR`.
|
||||
|
||||
# 1.12.0
|
||||
|
||||
- `itemRender(current, type)` => `itemRender(current, type, element): element`.
|
||||
|
||||
# 1.11.0
|
||||
|
||||
- Add `goButton`.
|
||||
|
||||
# 1.10.0
|
||||
|
||||
- Add `itemRender`.
|
||||
|
||||
# 1.9.0
|
||||
|
||||
- Add keyboard support
|
||||
- Add es folder.
|
||||
|
||||
# 1.8.0
|
||||
|
||||
- Add locale `zh_TW`.
|
||||
- Add `showTitle`.
|
||||
|
||||
# 1.7.5
|
||||
|
||||
- Add locale `sk_SK(Slovak)`.
|
||||
|
||||
# 1.7.4
|
||||
|
||||
- Add locale `et_EE(Estonian)`.
|
||||
|
||||
# 1.7.3
|
||||
|
||||
- Add locale `Czech`.
|
||||
|
||||
# 1.7.2
|
||||
|
||||
- Add locale `ko_KR(Korean)`.
|
||||
|
||||
# 1.7.1
|
||||
|
||||
- Add locale `ca_ES (Catalan)`.
|
||||
|
||||
# 1.7.0
|
||||
|
||||
- support `showLessItems`. #55
|
||||
- Add `pageSize` as onChange's second argument.
|
||||
|
||||
# 1.6.0
|
||||
|
||||
- Add `range` as showTotal's second argument.
|
||||
|
||||
# 1.5.5 / 2016-09-01
|
||||
|
||||
- Fix #34
|
||||
|
||||
# 1.5.4 / 2016-07-31
|
||||
|
||||
- Add space before per page #33
|
||||
|
||||
# 1.5.0 / 2016-03-02
|
||||
|
||||
- Add `defaultPageSize` and fix `pageSize` to a controlled prop
|
||||
|
||||
# 1.3.0 / 2015-11-25
|
||||
|
||||
- Add `defaultCurrent` prop
|
||||
|
||||
# 1.2.0
|
||||
|
||||
- Allow specifying the page size for **sizeChanger**
|
||||
9
web/node_modules/rc-pagination/LICENSE.md
generated
vendored
Normal file
9
web/node_modules/rc-pagination/LICENSE.md
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-present yiminghe
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
82
web/node_modules/rc-pagination/README.md
generated
vendored
Normal file
82
web/node_modules/rc-pagination/README.md
generated
vendored
Normal file
@@ -0,0 +1,82 @@
|
||||
# rc-pagination
|
||||
|
||||
---
|
||||
|
||||
React Pagination Component.
|
||||
|
||||
[![NPM version][npm-image]][npm-url]
|
||||
[![build status][travis-image]][travis-url]
|
||||
[![Test coverage][coveralls-image]][coveralls-url]
|
||||
[](https://codecov.io/gh/react-component/pagination)
|
||||
[](https://david-dm.org/react-component/pagination)
|
||||
[](https://david-dm.org/react-component/pagination?type=dev)
|
||||
[![npm download][download-image]][download-url]
|
||||
|
||||
[npm-image]: http://img.shields.io/npm/v/rc-pagination.svg?style=flat-square
|
||||
[npm-url]: http://npmjs.org/package/rc-pagination
|
||||
[travis-image]: https://img.shields.io/travis/react-component/pagination.svg?style=flat-square
|
||||
[travis-url]: https://travis-ci.org/react-component/pagination
|
||||
[coveralls-image]: https://img.shields.io/coveralls/react-component/pagination.svg?style=flat-square
|
||||
[coveralls-url]: https://coveralls.io/r/react-component/pagination?branch=master
|
||||
[download-image]: https://img.shields.io/npm/dm/rc-pagination.svg?style=flat-square
|
||||
[download-url]: https://npmjs.org/package/rc-pagination
|
||||
|
||||
## Development
|
||||
|
||||
```
|
||||
npm install
|
||||
npm start
|
||||
```
|
||||
|
||||
## Example
|
||||
|
||||
http://localhost:9001
|
||||
|
||||
online example: http://react-component.github.io/pagination/
|
||||
|
||||
## Install
|
||||
|
||||
[](https://npmjs.org/package/rc-pagination)
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
import Pagination from 'rc-pagination';
|
||||
|
||||
ReactDOM.render(<Pagination />, container);
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
| Parameter | Description | Type | Default |
|
||||
| ------------------- | ----------------------------------- | -------------------------------------------------- | -------------------------------------------------------------------------------------- |
|
||||
| disabled | disable pagination | Bool | - |
|
||||
| defaultCurrent | uncontrolled current page | Number | 1 |
|
||||
| current | current page | Number | undefined |
|
||||
| total | items total count | Number | 0 |
|
||||
| defaultPageSize | default items per page | Number | 10 |
|
||||
| pageSize | items per page | Number | 10 |
|
||||
| onChange | page change callback | Function(current, pageSize) | - |
|
||||
| showSizeChanger | show pageSize changer | Bool | `false` when total less then `totalBoundaryShowSizeChanger`, `true` when otherwise |
|
||||
| totalBoundaryShowSizeChanger | when total larger than it, `showSizeChanger` will be true | number | 50 |
|
||||
| pageSizeOptions | specify the sizeChanger selections | Array<String> | ['10', '20', '30', '40'] |
|
||||
| onShowSizeChange | pageSize change callback | Function(current, size) | - |
|
||||
| hideOnSinglePage | hide on single page | Bool | false |
|
||||
| showPrevNextJumpers | show jump-prev, jump-next | Bool | true |
|
||||
| showQuickJumper | show quick goto jumper | Bool / Object | false / {goButton: true} |
|
||||
| showTotal | show total records and range | Function(total, [from, to]) | - |
|
||||
| className | className of pagination | String | - |
|
||||
| simple | when set, show simple pager | Object | null |
|
||||
| locale | to set l10n config | Object | [zh_CN](https://github.com/react-component/pagination/blob/master/src/locale/zh_CN.js) |
|
||||
| style | the style of pagination | Object | {} |
|
||||
| showLessItems | show less page items | Bool | false |
|
||||
| showTitle | show page items title | Bool | true |
|
||||
| itemRender | custom page item renderer | Function(current, type: 'page' | 'prev' | 'next' | 'jump-prev' | 'jump-next', element): React.ReactNode | `(current, type, element) => element` |
|
||||
| prevIcon | specifict the default previous icon | ReactNode \| (props: PaginationProps) => ReactNode | |
|
||||
| nextIcon | specifict the default previous icon | ReactNode \| (props: PaginationProps) => ReactNode | |
|
||||
| jumpPrevIcon | specifict the default previous icon | ReactNode \| (props: PaginationProps) => ReactNode | |
|
||||
| jumpNextIcon | specifict the default previous icon | ReactNode \| (props: PaginationProps) => ReactNode | |
|
||||
|
||||
## License
|
||||
|
||||
rc-pagination is released under the MIT license.
|
||||
311
web/node_modules/rc-pagination/assets/index.css
generated
vendored
Normal file
311
web/node_modules/rc-pagination/assets/index.css
generated
vendored
Normal file
@@ -0,0 +1,311 @@
|
||||
.rc-pagination {
|
||||
font-size: 12px;
|
||||
font-family: 'Arial';
|
||||
user-select: none;
|
||||
padding: 0;
|
||||
}
|
||||
.rc-pagination > li {
|
||||
list-style: none;
|
||||
}
|
||||
.rc-pagination-total-text {
|
||||
float: left;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0 8px 0 0;
|
||||
}
|
||||
.rc-pagination:after {
|
||||
content: ' ';
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
overflow: hidden;
|
||||
visibility: hidden;
|
||||
}
|
||||
.rc-pagination-item {
|
||||
cursor: pointer;
|
||||
border-radius: 6px;
|
||||
min-width: 28px;
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
text-align: center;
|
||||
list-style: none;
|
||||
float: left;
|
||||
border: 1px solid #d9d9d9;
|
||||
background-color: #fff;
|
||||
margin-right: 8px;
|
||||
}
|
||||
.rc-pagination-item a {
|
||||
text-decoration: none;
|
||||
color: #666;
|
||||
}
|
||||
.rc-pagination-item:hover {
|
||||
border-color: #2db7f5;
|
||||
}
|
||||
.rc-pagination-item:hover a {
|
||||
color: #2db7f5;
|
||||
}
|
||||
.rc-pagination-item-disabled {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.rc-pagination-item-disabled:hover {
|
||||
border-color: #d9d9d9;
|
||||
}
|
||||
.rc-pagination-item-disabled:hover a {
|
||||
color: #d9d9d9;
|
||||
}
|
||||
.rc-pagination-item-active {
|
||||
background-color: #2db7f5;
|
||||
border-color: #2db7f5;
|
||||
}
|
||||
.rc-pagination-item-active a {
|
||||
color: #fff;
|
||||
}
|
||||
.rc-pagination-item-active:hover a {
|
||||
color: #fff;
|
||||
}
|
||||
.rc-pagination-jump-prev:after,
|
||||
.rc-pagination-jump-next:after {
|
||||
content: '•••';
|
||||
display: block;
|
||||
letter-spacing: 2px;
|
||||
color: #ccc;
|
||||
font-size: 12px;
|
||||
margin-top: 1px;
|
||||
}
|
||||
.rc-pagination-jump-prev:hover:after,
|
||||
.rc-pagination-jump-next:hover:after {
|
||||
color: #2db7f5;
|
||||
}
|
||||
.rc-pagination-jump-prev:hover:after {
|
||||
content: '«';
|
||||
}
|
||||
.rc-pagination-jump-next:hover:after {
|
||||
content: '»';
|
||||
}
|
||||
.rc-pagination-jump-prev-custom-icon,
|
||||
.rc-pagination-jump-next-custom-icon {
|
||||
position: relative;
|
||||
}
|
||||
.rc-pagination-jump-prev-custom-icon:after,
|
||||
.rc-pagination-jump-next-custom-icon:after {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
margin: auto;
|
||||
transition: all 0.2s;
|
||||
content: '•••';
|
||||
opacity: 1;
|
||||
display: block;
|
||||
letter-spacing: 2px;
|
||||
color: #ccc;
|
||||
font-size: 12px;
|
||||
margin-top: 1px;
|
||||
}
|
||||
.rc-pagination-jump-prev-custom-icon .custom-icon-jump-prev,
|
||||
.rc-pagination-jump-next-custom-icon .custom-icon-jump-prev,
|
||||
.rc-pagination-jump-prev-custom-icon .custom-icon-jump-next,
|
||||
.rc-pagination-jump-next-custom-icon .custom-icon-jump-next {
|
||||
opacity: 0;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
.rc-pagination-jump-prev-custom-icon:hover:after,
|
||||
.rc-pagination-jump-next-custom-icon:hover:after {
|
||||
opacity: 0;
|
||||
color: #ccc;
|
||||
}
|
||||
.rc-pagination-jump-prev-custom-icon:hover .custom-icon-jump-prev,
|
||||
.rc-pagination-jump-next-custom-icon:hover .custom-icon-jump-prev,
|
||||
.rc-pagination-jump-prev-custom-icon:hover .custom-icon-jump-next,
|
||||
.rc-pagination-jump-next-custom-icon:hover .custom-icon-jump-next {
|
||||
opacity: 1;
|
||||
color: #2db7f5;
|
||||
}
|
||||
.rc-pagination-prev,
|
||||
.rc-pagination-jump-prev,
|
||||
.rc-pagination-jump-next {
|
||||
margin-right: 8px;
|
||||
}
|
||||
.rc-pagination-prev,
|
||||
.rc-pagination-next,
|
||||
.rc-pagination-jump-prev,
|
||||
.rc-pagination-jump-next {
|
||||
cursor: pointer;
|
||||
color: #666;
|
||||
font-size: 10px;
|
||||
border-radius: 6px;
|
||||
list-style: none;
|
||||
min-width: 28px;
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
float: left;
|
||||
text-align: center;
|
||||
}
|
||||
.rc-pagination-prev a:after {
|
||||
content: '‹';
|
||||
display: block;
|
||||
}
|
||||
.rc-pagination-next a:after {
|
||||
content: '›';
|
||||
display: block;
|
||||
}
|
||||
.rc-pagination-prev,
|
||||
.rc-pagination-next {
|
||||
border: 1px solid #d9d9d9;
|
||||
font-size: 18px;
|
||||
}
|
||||
.rc-pagination-prev a,
|
||||
.rc-pagination-next a {
|
||||
color: #666;
|
||||
}
|
||||
.rc-pagination-prev a:after,
|
||||
.rc-pagination-next a:after {
|
||||
margin-top: -1px;
|
||||
}
|
||||
.rc-pagination-disabled {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.rc-pagination-disabled a {
|
||||
color: #ccc;
|
||||
}
|
||||
.rc-pagination-disabled .rc-pagination-item,
|
||||
.rc-pagination-disabled .rc-pagination-prev,
|
||||
.rc-pagination-disabled .rc-pagination-next {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.rc-pagination-disabled .rc-pagination-item:hover,
|
||||
.rc-pagination-disabled .rc-pagination-prev:hover,
|
||||
.rc-pagination-disabled .rc-pagination-next:hover {
|
||||
border-color: #d9d9d9;
|
||||
}
|
||||
.rc-pagination-disabled .rc-pagination-item:hover a,
|
||||
.rc-pagination-disabled .rc-pagination-prev:hover a,
|
||||
.rc-pagination-disabled .rc-pagination-next:hover a {
|
||||
color: #d9d9d9;
|
||||
}
|
||||
.rc-pagination-disabled .rc-pagination-jump-prev,
|
||||
.rc-pagination-disabled .rc-pagination-jump-next {
|
||||
pointer-events: none;
|
||||
}
|
||||
.rc-pagination-options {
|
||||
float: left;
|
||||
margin-left: 15px;
|
||||
}
|
||||
.rc-pagination-options-size-changer {
|
||||
float: left;
|
||||
width: 80px;
|
||||
}
|
||||
.rc-pagination-options-quick-jumper {
|
||||
float: left;
|
||||
margin-left: 16px;
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
}
|
||||
.rc-pagination-options-quick-jumper input {
|
||||
margin: 0 8px;
|
||||
box-sizing: border-box;
|
||||
background-color: #fff;
|
||||
border-radius: 6px;
|
||||
border: 1px solid #d9d9d9;
|
||||
outline: none;
|
||||
padding: 3px 12px;
|
||||
width: 50px;
|
||||
height: 28px;
|
||||
}
|
||||
.rc-pagination-options-quick-jumper input:hover {
|
||||
border-color: #2db7f5;
|
||||
}
|
||||
.rc-pagination-options-quick-jumper button {
|
||||
display: inline-block;
|
||||
margin: 0 8px;
|
||||
font-weight: 500;
|
||||
text-align: center;
|
||||
touch-action: manipulation;
|
||||
cursor: pointer;
|
||||
background-image: none;
|
||||
border: 1px solid transparent;
|
||||
white-space: nowrap;
|
||||
padding: 0 15px;
|
||||
font-size: 12px;
|
||||
border-radius: 6px;
|
||||
height: 28px;
|
||||
user-select: none;
|
||||
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
||||
position: relative;
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
background-color: #fff;
|
||||
border-color: #d9d9d9;
|
||||
}
|
||||
.rc-pagination-options-quick-jumper button:hover,
|
||||
.rc-pagination-options-quick-jumper button:active,
|
||||
.rc-pagination-options-quick-jumper button:focus {
|
||||
color: #2db7f5;
|
||||
background-color: #fff;
|
||||
border-color: #2db7f5;
|
||||
}
|
||||
.rc-pagination-simple .rc-pagination-prev,
|
||||
.rc-pagination-simple .rc-pagination-next {
|
||||
border: none;
|
||||
height: 24px;
|
||||
line-height: 24px;
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
}
|
||||
.rc-pagination-simple .rc-pagination-simple-pager {
|
||||
float: left;
|
||||
margin-right: 8px;
|
||||
list-style: none;
|
||||
}
|
||||
.rc-pagination-simple .rc-pagination-simple-pager .rc-pagination-slash {
|
||||
margin: 0 10px;
|
||||
}
|
||||
.rc-pagination-simple .rc-pagination-simple-pager input {
|
||||
margin: 0 8px;
|
||||
box-sizing: border-box;
|
||||
background-color: #fff;
|
||||
border-radius: 6px;
|
||||
border: 1px solid #d9d9d9;
|
||||
outline: none;
|
||||
padding: 5px 8px;
|
||||
min-height: 20px;
|
||||
}
|
||||
.rc-pagination-simple .rc-pagination-simple-pager input:hover {
|
||||
border-color: #2db7f5;
|
||||
}
|
||||
.rc-pagination-simple .rc-pagination-simple-pager button {
|
||||
display: inline-block;
|
||||
margin: 0 8px;
|
||||
font-weight: 500;
|
||||
text-align: center;
|
||||
touch-action: manipulation;
|
||||
cursor: pointer;
|
||||
background-image: none;
|
||||
border: 1px solid transparent;
|
||||
white-space: nowrap;
|
||||
padding: 0 8px;
|
||||
font-size: 12px;
|
||||
border-radius: 6px;
|
||||
height: 26px;
|
||||
user-select: none;
|
||||
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
||||
position: relative;
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
background-color: #fff;
|
||||
border-color: #d9d9d9;
|
||||
}
|
||||
.rc-pagination-simple .rc-pagination-simple-pager button:hover,
|
||||
.rc-pagination-simple .rc-pagination-simple-pager button:active,
|
||||
.rc-pagination-simple .rc-pagination-simple-pager button:focus {
|
||||
color: #2db7f5;
|
||||
background-color: #fff;
|
||||
border-color: #2db7f5;
|
||||
}
|
||||
@media only screen and (max-width: 1024px) {
|
||||
.rc-pagination-item-after-jump-prev,
|
||||
.rc-pagination-item-before-jump-next {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
368
web/node_modules/rc-pagination/assets/index.less
generated
vendored
Normal file
368
web/node_modules/rc-pagination/assets/index.less
generated
vendored
Normal file
@@ -0,0 +1,368 @@
|
||||
@prefixClass: rc-pagination;
|
||||
|
||||
.disabled-item() {
|
||||
cursor: not-allowed;
|
||||
|
||||
&:hover {
|
||||
border-color: #d9d9d9;
|
||||
a {
|
||||
color: #d9d9d9;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.@{prefixClass} {
|
||||
font-size: 12px;
|
||||
font-family: 'Arial';
|
||||
user-select: none;
|
||||
padding: 0;
|
||||
|
||||
> li {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
&-total-text {
|
||||
float: left;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0 8px 0 0;
|
||||
}
|
||||
|
||||
&:after {
|
||||
content: ' ';
|
||||
display: block;
|
||||
height: 0;
|
||||
clear: both;
|
||||
overflow: hidden;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
&-item {
|
||||
cursor: pointer;
|
||||
border-radius: 6px;
|
||||
min-width: 28px;
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
text-align: center;
|
||||
list-style: none;
|
||||
float: left;
|
||||
border: 1px solid #d9d9d9;
|
||||
background-color: #fff;
|
||||
margin-right: 8px;
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
border-color: #2db7f5;
|
||||
a {
|
||||
color: #2db7f5;
|
||||
}
|
||||
}
|
||||
|
||||
&-disabled {
|
||||
.disabled-item();
|
||||
}
|
||||
|
||||
&-active {
|
||||
background-color: #2db7f5;
|
||||
border-color: #2db7f5;
|
||||
|
||||
a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
a {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-jump-prev,
|
||||
&-jump-next {
|
||||
&:after {
|
||||
content: '•••';
|
||||
display: block;
|
||||
letter-spacing: 2px;
|
||||
color: #ccc;
|
||||
font-size: 12px;
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
&:after {
|
||||
color: #2db7f5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-jump-prev {
|
||||
&:hover {
|
||||
&:after {
|
||||
content: '«';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-jump-next {
|
||||
&:hover {
|
||||
&:after {
|
||||
content: '»';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-jump-prev-custom-icon,
|
||||
&-jump-next-custom-icon {
|
||||
position: relative;
|
||||
|
||||
&:after {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
margin: auto;
|
||||
transition: all 0.2s;
|
||||
|
||||
content: '•••';
|
||||
opacity: 1;
|
||||
display: block;
|
||||
letter-spacing: 2px;
|
||||
color: #ccc;
|
||||
font-size: 12px;
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
.custom-icon-jump-prev,
|
||||
.custom-icon-jump-next {
|
||||
opacity: 0;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
&:after {
|
||||
opacity: 0;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.custom-icon-jump-prev,
|
||||
.custom-icon-jump-next {
|
||||
opacity: 1;
|
||||
color: #2db7f5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-prev,
|
||||
&-jump-prev,
|
||||
&-jump-next {
|
||||
margin-right: 8px;
|
||||
}
|
||||
&-prev,
|
||||
&-next,
|
||||
&-jump-prev,
|
||||
&-jump-next {
|
||||
cursor: pointer;
|
||||
color: #666;
|
||||
font-size: 10px;
|
||||
border-radius: 6px;
|
||||
list-style: none;
|
||||
min-width: 28px;
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
float: left;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
&-prev {
|
||||
a {
|
||||
&:after {
|
||||
content: '‹';
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-next {
|
||||
a {
|
||||
&:after {
|
||||
content: '›';
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-prev,
|
||||
&-next {
|
||||
border: 1px solid #d9d9d9;
|
||||
font-size: 18px;
|
||||
a {
|
||||
color: #666;
|
||||
&:after {
|
||||
margin-top: -1px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-disabled {
|
||||
cursor: not-allowed;
|
||||
a {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.@{prefixClass}-item,
|
||||
.@{prefixClass}-prev,
|
||||
.@{prefixClass}-next {
|
||||
.disabled-item();
|
||||
}
|
||||
|
||||
.@{prefixClass}-jump-prev,
|
||||
.@{prefixClass}-jump-next {
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
||||
&-options {
|
||||
float: left;
|
||||
margin-left: 15px;
|
||||
&-size-changer {
|
||||
float: left;
|
||||
width: 80px;
|
||||
}
|
||||
|
||||
&-quick-jumper {
|
||||
float: left;
|
||||
margin-left: 16px;
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
|
||||
input {
|
||||
margin: 0 8px;
|
||||
box-sizing: border-box;
|
||||
background-color: #fff;
|
||||
border-radius: 6px;
|
||||
border: 1px solid #d9d9d9;
|
||||
outline: none;
|
||||
padding: 3px 12px;
|
||||
width: 50px;
|
||||
height: 28px;
|
||||
|
||||
&:hover {
|
||||
border-color: #2db7f5;
|
||||
}
|
||||
}
|
||||
|
||||
button {
|
||||
display: inline-block;
|
||||
margin: 0 8px;
|
||||
font-weight: 500;
|
||||
text-align: center;
|
||||
touch-action: manipulation;
|
||||
cursor: pointer;
|
||||
background-image: none;
|
||||
border: 1px solid transparent;
|
||||
white-space: nowrap;
|
||||
padding: 0 15px;
|
||||
font-size: 12px;
|
||||
border-radius: 6px;
|
||||
height: 28px;
|
||||
user-select: none;
|
||||
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
||||
position: relative;
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
background-color: #fff;
|
||||
border-color: #d9d9d9;
|
||||
|
||||
&:hover,
|
||||
&:active,
|
||||
&:focus {
|
||||
color: #2db7f5;
|
||||
background-color: #fff;
|
||||
border-color: #2db7f5;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-simple {
|
||||
.@{prefixClass}-prev,
|
||||
.@{prefixClass}-next {
|
||||
border: none;
|
||||
height: 24px;
|
||||
line-height: 24px;
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.@{prefixClass}-simple-pager {
|
||||
float: left;
|
||||
margin-right: 8px;
|
||||
list-style: none;
|
||||
|
||||
.@{prefixClass}-slash {
|
||||
margin: 0 10px;
|
||||
}
|
||||
|
||||
input {
|
||||
margin: 0 8px;
|
||||
box-sizing: border-box;
|
||||
background-color: #fff;
|
||||
border-radius: 6px;
|
||||
border: 1px solid #d9d9d9;
|
||||
outline: none;
|
||||
padding: 5px 8px;
|
||||
min-height: 20px;
|
||||
|
||||
&:hover {
|
||||
border-color: #2db7f5;
|
||||
}
|
||||
}
|
||||
|
||||
button {
|
||||
display: inline-block;
|
||||
margin: 0 8px;
|
||||
font-weight: 500;
|
||||
text-align: center;
|
||||
touch-action: manipulation;
|
||||
cursor: pointer;
|
||||
background-image: none;
|
||||
border: 1px solid transparent;
|
||||
white-space: nowrap;
|
||||
padding: 0 8px;
|
||||
font-size: 12px;
|
||||
border-radius: 6px;
|
||||
height: 26px;
|
||||
user-select: none;
|
||||
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
||||
position: relative;
|
||||
color: rgba(0, 0, 0, 0.65);
|
||||
background-color: #fff;
|
||||
border-color: #d9d9d9;
|
||||
|
||||
&:hover,
|
||||
&:active,
|
||||
&:focus {
|
||||
color: #2db7f5;
|
||||
background-color: #fff;
|
||||
border-color: #2db7f5;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 1024px) {
|
||||
.@{prefixClass}-item {
|
||||
&-after-jump-prev,
|
||||
&-before-jump-next {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
11
web/node_modules/rc-pagination/es/KeyCode.js
generated
vendored
Normal file
11
web/node_modules/rc-pagination/es/KeyCode.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
export default {
|
||||
ZERO: 48,
|
||||
NINE: 57,
|
||||
NUMPAD_ZERO: 96,
|
||||
NUMPAD_NINE: 105,
|
||||
BACKSPACE: 8,
|
||||
DELETE: 46,
|
||||
ENTER: 13,
|
||||
ARROW_UP: 38,
|
||||
ARROW_DOWN: 40
|
||||
};
|
||||
192
web/node_modules/rc-pagination/es/Options.js
generated
vendored
Normal file
192
web/node_modules/rc-pagination/es/Options.js
generated
vendored
Normal file
@@ -0,0 +1,192 @@
|
||||
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
||||
|
||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||
|
||||
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
||||
|
||||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
||||
|
||||
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
||||
|
||||
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
||||
|
||||
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
||||
|
||||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
||||
|
||||
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
||||
|
||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
||||
|
||||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
||||
|
||||
/* eslint react/prop-types: 0 */
|
||||
import React from 'react';
|
||||
import KEYCODE from './KeyCode';
|
||||
|
||||
var Options = /*#__PURE__*/function (_React$Component) {
|
||||
_inherits(Options, _React$Component);
|
||||
|
||||
var _super = _createSuper(Options);
|
||||
|
||||
function Options() {
|
||||
var _this;
|
||||
|
||||
_classCallCheck(this, Options);
|
||||
|
||||
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
||||
args[_key] = arguments[_key];
|
||||
}
|
||||
|
||||
_this = _super.call.apply(_super, [this].concat(args));
|
||||
_this.state = {
|
||||
goInputText: ''
|
||||
};
|
||||
|
||||
_this.buildOptionText = function (value) {
|
||||
return "".concat(value, " ").concat(_this.props.locale.items_per_page);
|
||||
};
|
||||
|
||||
_this.changeSize = function (value) {
|
||||
_this.props.changeSize(Number(value));
|
||||
};
|
||||
|
||||
_this.handleChange = function (e) {
|
||||
_this.setState({
|
||||
goInputText: e.target.value
|
||||
});
|
||||
};
|
||||
|
||||
_this.handleBlur = function (e) {
|
||||
var _this$props = _this.props,
|
||||
goButton = _this$props.goButton,
|
||||
quickGo = _this$props.quickGo,
|
||||
rootPrefixCls = _this$props.rootPrefixCls;
|
||||
|
||||
if (goButton) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.relatedTarget && (e.relatedTarget.className.indexOf("".concat(rootPrefixCls, "-prev")) >= 0 || e.relatedTarget.className.indexOf("".concat(rootPrefixCls, "-next")) >= 0)) {
|
||||
return;
|
||||
}
|
||||
|
||||
quickGo(_this.getValidValue());
|
||||
};
|
||||
|
||||
_this.go = function (e) {
|
||||
var goInputText = _this.state.goInputText;
|
||||
|
||||
if (goInputText === '') {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.keyCode === KEYCODE.ENTER || e.type === 'click') {
|
||||
_this.setState({
|
||||
goInputText: ''
|
||||
});
|
||||
|
||||
_this.props.quickGo(_this.getValidValue());
|
||||
}
|
||||
};
|
||||
|
||||
return _this;
|
||||
}
|
||||
|
||||
_createClass(Options, [{
|
||||
key: "getValidValue",
|
||||
value: function getValidValue() {
|
||||
var _this$state = this.state,
|
||||
goInputText = _this$state.goInputText,
|
||||
current = _this$state.current; // eslint-disable-next-line no-restricted-globals
|
||||
|
||||
return !goInputText || isNaN(goInputText) ? current : Number(goInputText);
|
||||
}
|
||||
}, {
|
||||
key: "render",
|
||||
value: function render() {
|
||||
var _this2 = this;
|
||||
|
||||
var _this$props2 = this.props,
|
||||
pageSize = _this$props2.pageSize,
|
||||
pageSizeOptions = _this$props2.pageSizeOptions,
|
||||
locale = _this$props2.locale,
|
||||
rootPrefixCls = _this$props2.rootPrefixCls,
|
||||
changeSize = _this$props2.changeSize,
|
||||
quickGo = _this$props2.quickGo,
|
||||
goButton = _this$props2.goButton,
|
||||
selectComponentClass = _this$props2.selectComponentClass,
|
||||
buildOptionText = _this$props2.buildOptionText,
|
||||
selectPrefixCls = _this$props2.selectPrefixCls,
|
||||
disabled = _this$props2.disabled;
|
||||
var goInputText = this.state.goInputText;
|
||||
var prefixCls = "".concat(rootPrefixCls, "-options");
|
||||
var Select = selectComponentClass;
|
||||
var changeSelect = null;
|
||||
var goInput = null;
|
||||
var gotoButton = null;
|
||||
|
||||
if (!changeSize && !quickGo) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (changeSize && Select) {
|
||||
var options = pageSizeOptions.map(function (opt, i) {
|
||||
return /*#__PURE__*/React.createElement(Select.Option, {
|
||||
key: i,
|
||||
value: opt
|
||||
}, (buildOptionText || _this2.buildOptionText)(opt));
|
||||
});
|
||||
changeSelect = /*#__PURE__*/React.createElement(Select, {
|
||||
disabled: disabled,
|
||||
prefixCls: selectPrefixCls,
|
||||
showSearch: false,
|
||||
className: "".concat(prefixCls, "-size-changer"),
|
||||
optionLabelProp: "children",
|
||||
dropdownMatchSelectWidth: false,
|
||||
value: (pageSize || pageSizeOptions[0]).toString(),
|
||||
onChange: this.changeSize,
|
||||
getPopupContainer: function getPopupContainer(triggerNode) {
|
||||
return triggerNode.parentNode;
|
||||
}
|
||||
}, options);
|
||||
}
|
||||
|
||||
if (quickGo) {
|
||||
if (goButton) {
|
||||
gotoButton = typeof goButton === 'boolean' ? /*#__PURE__*/React.createElement("button", {
|
||||
type: "button",
|
||||
onClick: this.go,
|
||||
onKeyUp: this.go,
|
||||
disabled: disabled
|
||||
}, locale.jump_to_confirm) : /*#__PURE__*/React.createElement("span", {
|
||||
onClick: this.go,
|
||||
onKeyUp: this.go
|
||||
}, goButton);
|
||||
}
|
||||
|
||||
goInput = /*#__PURE__*/React.createElement("div", {
|
||||
className: "".concat(prefixCls, "-quick-jumper")
|
||||
}, locale.jump_to, /*#__PURE__*/React.createElement("input", {
|
||||
disabled: disabled,
|
||||
type: "text",
|
||||
value: goInputText,
|
||||
onChange: this.handleChange,
|
||||
onKeyUp: this.go,
|
||||
onBlur: this.handleBlur
|
||||
}), locale.page, gotoButton);
|
||||
}
|
||||
|
||||
return /*#__PURE__*/React.createElement("li", {
|
||||
className: "".concat(prefixCls)
|
||||
}, changeSelect, goInput);
|
||||
}
|
||||
}]);
|
||||
|
||||
return Options;
|
||||
}(React.Component);
|
||||
|
||||
Options.defaultProps = {
|
||||
pageSizeOptions: ['10', '20', '50', '100']
|
||||
};
|
||||
export default Options;
|
||||
30
web/node_modules/rc-pagination/es/Pager.js
generated
vendored
Normal file
30
web/node_modules/rc-pagination/es/Pager.js
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
||||
|
||||
/* eslint react/prop-types: 0 */
|
||||
import React from 'react';
|
||||
import classNames from 'classnames';
|
||||
|
||||
var Pager = function Pager(props) {
|
||||
var _classNames;
|
||||
|
||||
var prefixCls = "".concat(props.rootPrefixCls, "-item");
|
||||
var cls = classNames(prefixCls, "".concat(prefixCls, "-").concat(props.page), (_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-active"), props.active), _defineProperty(_classNames, props.className, !!props.className), _defineProperty(_classNames, "".concat(prefixCls, "-disabled"), !props.page), _classNames));
|
||||
|
||||
var handleClick = function handleClick() {
|
||||
props.onClick(props.page);
|
||||
};
|
||||
|
||||
var handleKeyPress = function handleKeyPress(e) {
|
||||
props.onKeyPress(e, props.onClick, props.page);
|
||||
};
|
||||
|
||||
return /*#__PURE__*/React.createElement("li", {
|
||||
title: props.showTitle ? props.page : null,
|
||||
className: cls,
|
||||
onClick: handleClick,
|
||||
onKeyPress: handleKeyPress,
|
||||
tabIndex: "0"
|
||||
}, props.itemRender(props.page, 'page', /*#__PURE__*/React.createElement("a", null, props.page)));
|
||||
};
|
||||
|
||||
export default Pager;
|
||||
686
web/node_modules/rc-pagination/es/Pagination.js
generated
vendored
Normal file
686
web/node_modules/rc-pagination/es/Pagination.js
generated
vendored
Normal file
@@ -0,0 +1,686 @@
|
||||
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
||||
|
||||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
|
||||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
||||
|
||||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
||||
|
||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
||||
|
||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||
|
||||
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
||||
|
||||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
||||
|
||||
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
||||
|
||||
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
||||
|
||||
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
||||
|
||||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
||||
|
||||
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
||||
|
||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
||||
|
||||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
||||
|
||||
/* eslint react/prop-types: 0 */
|
||||
import React, { cloneElement, isValidElement } from 'react';
|
||||
import classNames from 'classnames';
|
||||
import Pager from './Pager';
|
||||
import Options from './Options';
|
||||
import KEYCODE from './KeyCode';
|
||||
import LOCALE from './locale/zh_CN';
|
||||
|
||||
function noop() {}
|
||||
|
||||
function isInteger(value) {
|
||||
return (// eslint-disable-next-line no-restricted-globals
|
||||
typeof value === 'number' && isFinite(value) && Math.floor(value) === value
|
||||
);
|
||||
}
|
||||
|
||||
function defaultItemRender(page, type, element) {
|
||||
return element;
|
||||
}
|
||||
|
||||
function calculatePage(p, state, props) {
|
||||
var pageSize = typeof p === 'undefined' ? state.pageSize : p;
|
||||
return Math.floor((props.total - 1) / pageSize) + 1;
|
||||
}
|
||||
|
||||
var Pagination = /*#__PURE__*/function (_React$Component) {
|
||||
_inherits(Pagination, _React$Component);
|
||||
|
||||
var _super = _createSuper(Pagination);
|
||||
|
||||
function Pagination(props) {
|
||||
var _this;
|
||||
|
||||
_classCallCheck(this, Pagination);
|
||||
|
||||
_this = _super.call(this, props);
|
||||
|
||||
_this.getJumpPrevPage = function () {
|
||||
return Math.max(1, _this.state.current - (_this.props.showLessItems ? 3 : 5));
|
||||
};
|
||||
|
||||
_this.getJumpNextPage = function () {
|
||||
return Math.min(calculatePage(undefined, _this.state, _this.props), _this.state.current + (_this.props.showLessItems ? 3 : 5));
|
||||
};
|
||||
|
||||
_this.getItemIcon = function (icon) {
|
||||
var prefixCls = _this.props.prefixCls; // eslint-disable-next-line jsx-a11y/anchor-has-content
|
||||
|
||||
var iconNode = icon || /*#__PURE__*/React.createElement("a", {
|
||||
className: "".concat(prefixCls, "-item-link")
|
||||
});
|
||||
|
||||
if (typeof icon === 'function') {
|
||||
iconNode = React.createElement(icon, _objectSpread({}, _this.props));
|
||||
}
|
||||
|
||||
return iconNode;
|
||||
};
|
||||
|
||||
_this.savePaginationNode = function (node) {
|
||||
_this.paginationNode = node;
|
||||
};
|
||||
|
||||
_this.isValid = function (page) {
|
||||
return isInteger(page) && page !== _this.state.current;
|
||||
};
|
||||
|
||||
_this.shouldDisplayQuickJumper = function () {
|
||||
var _this$props = _this.props,
|
||||
showQuickJumper = _this$props.showQuickJumper,
|
||||
pageSize = _this$props.pageSize,
|
||||
total = _this$props.total;
|
||||
|
||||
if (total <= pageSize) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return showQuickJumper;
|
||||
};
|
||||
|
||||
_this.handleKeyDown = function (e) {
|
||||
if (e.keyCode === KEYCODE.ARROW_UP || e.keyCode === KEYCODE.ARROW_DOWN) {
|
||||
e.preventDefault();
|
||||
}
|
||||
};
|
||||
|
||||
_this.handleKeyUp = function (e) {
|
||||
var value = _this.getValidValue(e);
|
||||
|
||||
var currentInputValue = _this.state.currentInputValue;
|
||||
|
||||
if (value !== currentInputValue) {
|
||||
_this.setState({
|
||||
currentInputValue: value
|
||||
});
|
||||
}
|
||||
|
||||
if (e.keyCode === KEYCODE.ENTER) {
|
||||
_this.handleChange(value);
|
||||
} else if (e.keyCode === KEYCODE.ARROW_UP) {
|
||||
_this.handleChange(value - 1);
|
||||
} else if (e.keyCode === KEYCODE.ARROW_DOWN) {
|
||||
_this.handleChange(value + 1);
|
||||
}
|
||||
};
|
||||
|
||||
_this.changePageSize = function (size) {
|
||||
var current = _this.state.current;
|
||||
var newCurrent = calculatePage(size, _this.state, _this.props);
|
||||
current = current > newCurrent ? newCurrent : current; // fix the issue:
|
||||
// Once 'total' is 0, 'current' in 'onShowSizeChange' is 0, which is not correct.
|
||||
|
||||
if (newCurrent === 0) {
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
current = _this.state.current;
|
||||
}
|
||||
|
||||
if (typeof size === 'number') {
|
||||
if (!('pageSize' in _this.props)) {
|
||||
_this.setState({
|
||||
pageSize: size
|
||||
});
|
||||
}
|
||||
|
||||
if (!('current' in _this.props)) {
|
||||
_this.setState({
|
||||
current: current,
|
||||
currentInputValue: current
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
_this.props.onShowSizeChange(current, size);
|
||||
};
|
||||
|
||||
_this.handleChange = function (p) {
|
||||
var disabled = _this.props.disabled;
|
||||
var page = p;
|
||||
|
||||
if (_this.isValid(page) && !disabled) {
|
||||
var currentPage = calculatePage(undefined, _this.state, _this.props);
|
||||
|
||||
if (page > currentPage) {
|
||||
page = currentPage;
|
||||
} else if (page < 1) {
|
||||
page = 1;
|
||||
}
|
||||
|
||||
if (!('current' in _this.props)) {
|
||||
_this.setState({
|
||||
current: page,
|
||||
currentInputValue: page
|
||||
});
|
||||
}
|
||||
|
||||
var pageSize = _this.state.pageSize;
|
||||
|
||||
_this.props.onChange(page, pageSize);
|
||||
|
||||
return page;
|
||||
}
|
||||
|
||||
return _this.state.current;
|
||||
};
|
||||
|
||||
_this.prev = function () {
|
||||
if (_this.hasPrev()) {
|
||||
_this.handleChange(_this.state.current - 1);
|
||||
}
|
||||
};
|
||||
|
||||
_this.next = function () {
|
||||
if (_this.hasNext()) {
|
||||
_this.handleChange(_this.state.current + 1);
|
||||
}
|
||||
};
|
||||
|
||||
_this.jumpPrev = function () {
|
||||
_this.handleChange(_this.getJumpPrevPage());
|
||||
};
|
||||
|
||||
_this.jumpNext = function () {
|
||||
_this.handleChange(_this.getJumpNextPage());
|
||||
};
|
||||
|
||||
_this.hasPrev = function () {
|
||||
return _this.state.current > 1;
|
||||
};
|
||||
|
||||
_this.hasNext = function () {
|
||||
return _this.state.current < calculatePage(undefined, _this.state, _this.props);
|
||||
};
|
||||
|
||||
_this.runIfEnter = function (event, callback) {
|
||||
if (event.key === 'Enter' || event.charCode === 13) {
|
||||
for (var _len = arguments.length, restParams = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
||||
restParams[_key - 2] = arguments[_key];
|
||||
}
|
||||
|
||||
callback.apply(void 0, restParams);
|
||||
}
|
||||
};
|
||||
|
||||
_this.runIfEnterPrev = function (e) {
|
||||
_this.runIfEnter(e, _this.prev);
|
||||
};
|
||||
|
||||
_this.runIfEnterNext = function (e) {
|
||||
_this.runIfEnter(e, _this.next);
|
||||
};
|
||||
|
||||
_this.runIfEnterJumpPrev = function (e) {
|
||||
_this.runIfEnter(e, _this.jumpPrev);
|
||||
};
|
||||
|
||||
_this.runIfEnterJumpNext = function (e) {
|
||||
_this.runIfEnter(e, _this.jumpNext);
|
||||
};
|
||||
|
||||
_this.handleGoTO = function (e) {
|
||||
if (e.keyCode === KEYCODE.ENTER || e.type === 'click') {
|
||||
_this.handleChange(_this.state.currentInputValue);
|
||||
}
|
||||
};
|
||||
|
||||
var hasOnChange = props.onChange !== noop;
|
||||
var hasCurrent = ('current' in props);
|
||||
|
||||
if (hasCurrent && !hasOnChange) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.warn('Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.');
|
||||
}
|
||||
|
||||
var _current = props.defaultCurrent;
|
||||
|
||||
if ('current' in props) {
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
_current = props.current;
|
||||
}
|
||||
|
||||
var _pageSize = props.defaultPageSize;
|
||||
|
||||
if ('pageSize' in props) {
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
_pageSize = props.pageSize;
|
||||
}
|
||||
|
||||
_current = Math.min(_current, calculatePage(_pageSize, undefined, props));
|
||||
_this.state = {
|
||||
current: _current,
|
||||
currentInputValue: _current,
|
||||
pageSize: _pageSize
|
||||
};
|
||||
return _this;
|
||||
}
|
||||
|
||||
_createClass(Pagination, [{
|
||||
key: "componentDidUpdate",
|
||||
value: function componentDidUpdate(prevProps, prevState) {
|
||||
// When current page change, fix focused style of prev item
|
||||
// A hacky solution of https://github.com/ant-design/ant-design/issues/8948
|
||||
var prefixCls = this.props.prefixCls;
|
||||
|
||||
if (prevState.current !== this.state.current && this.paginationNode) {
|
||||
var lastCurrentNode = this.paginationNode.querySelector(".".concat(prefixCls, "-item-").concat(prevState.current));
|
||||
|
||||
if (lastCurrentNode && document.activeElement === lastCurrentNode) {
|
||||
lastCurrentNode.blur();
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
key: "getValidValue",
|
||||
value: function getValidValue(e) {
|
||||
var inputValue = e.target.value;
|
||||
var allPages = calculatePage(undefined, this.state, this.props);
|
||||
var currentInputValue = this.state.currentInputValue;
|
||||
var value;
|
||||
|
||||
if (inputValue === '') {
|
||||
value = inputValue; // eslint-disable-next-line no-restricted-globals
|
||||
} else if (isNaN(Number(inputValue))) {
|
||||
value = currentInputValue;
|
||||
} else if (inputValue >= allPages) {
|
||||
value = allPages;
|
||||
} else {
|
||||
value = Number(inputValue);
|
||||
}
|
||||
|
||||
return value;
|
||||
}
|
||||
}, {
|
||||
key: "getShowSizeChanger",
|
||||
value: function getShowSizeChanger() {
|
||||
var _this$props2 = this.props,
|
||||
showSizeChanger = _this$props2.showSizeChanger,
|
||||
total = _this$props2.total,
|
||||
totalBoundaryShowSizeChanger = _this$props2.totalBoundaryShowSizeChanger;
|
||||
|
||||
if (typeof showSizeChanger !== 'undefined') {
|
||||
return showSizeChanger;
|
||||
}
|
||||
|
||||
return total > totalBoundaryShowSizeChanger;
|
||||
}
|
||||
}, {
|
||||
key: "renderPrev",
|
||||
value: function renderPrev(prevPage) {
|
||||
var _this$props3 = this.props,
|
||||
prevIcon = _this$props3.prevIcon,
|
||||
itemRender = _this$props3.itemRender;
|
||||
var prevButton = itemRender(prevPage, 'prev', this.getItemIcon(prevIcon));
|
||||
var disabled = !this.hasPrev();
|
||||
return isValidElement(prevButton) ? cloneElement(prevButton, {
|
||||
disabled: disabled
|
||||
}) : prevButton;
|
||||
}
|
||||
}, {
|
||||
key: "renderNext",
|
||||
value: function renderNext(nextPage) {
|
||||
var _this$props4 = this.props,
|
||||
nextIcon = _this$props4.nextIcon,
|
||||
itemRender = _this$props4.itemRender;
|
||||
var nextButton = itemRender(nextPage, 'next', this.getItemIcon(nextIcon));
|
||||
var disabled = !this.hasNext();
|
||||
return isValidElement(nextButton) ? cloneElement(nextButton, {
|
||||
disabled: disabled
|
||||
}) : nextButton;
|
||||
}
|
||||
}, {
|
||||
key: "render",
|
||||
value: function render() {
|
||||
var _this2 = this;
|
||||
|
||||
var _this$props5 = this.props,
|
||||
prefixCls = _this$props5.prefixCls,
|
||||
className = _this$props5.className,
|
||||
style = _this$props5.style,
|
||||
disabled = _this$props5.disabled,
|
||||
hideOnSinglePage = _this$props5.hideOnSinglePage,
|
||||
total = _this$props5.total,
|
||||
locale = _this$props5.locale,
|
||||
showQuickJumper = _this$props5.showQuickJumper,
|
||||
showLessItems = _this$props5.showLessItems,
|
||||
showTitle = _this$props5.showTitle,
|
||||
showTotal = _this$props5.showTotal,
|
||||
simple = _this$props5.simple,
|
||||
itemRender = _this$props5.itemRender,
|
||||
showPrevNextJumpers = _this$props5.showPrevNextJumpers,
|
||||
jumpPrevIcon = _this$props5.jumpPrevIcon,
|
||||
jumpNextIcon = _this$props5.jumpNextIcon,
|
||||
selectComponentClass = _this$props5.selectComponentClass,
|
||||
selectPrefixCls = _this$props5.selectPrefixCls,
|
||||
pageSizeOptions = _this$props5.pageSizeOptions;
|
||||
var _this$state = this.state,
|
||||
current = _this$state.current,
|
||||
pageSize = _this$state.pageSize,
|
||||
currentInputValue = _this$state.currentInputValue; // When hideOnSinglePage is true and there is only 1 page, hide the pager
|
||||
|
||||
if (hideOnSinglePage === true && total <= pageSize) {
|
||||
return null;
|
||||
}
|
||||
|
||||
var allPages = calculatePage(undefined, this.state, this.props);
|
||||
var pagerList = [];
|
||||
var jumpPrev = null;
|
||||
var jumpNext = null;
|
||||
var firstPager = null;
|
||||
var lastPager = null;
|
||||
var gotoButton = null;
|
||||
var goButton = showQuickJumper && showQuickJumper.goButton;
|
||||
var pageBufferSize = showLessItems ? 1 : 2;
|
||||
var prevPage = current - 1 > 0 ? current - 1 : 0;
|
||||
var nextPage = current + 1 < allPages ? current + 1 : allPages;
|
||||
var dataOrAriaAttributeProps = Object.keys(this.props).reduce(function (prev, key) {
|
||||
if (key.substr(0, 5) === 'data-' || key.substr(0, 5) === 'aria-' || key === 'role') {
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
prev[key] = _this2.props[key];
|
||||
}
|
||||
|
||||
return prev;
|
||||
}, {});
|
||||
|
||||
if (simple) {
|
||||
if (goButton) {
|
||||
if (typeof goButton === 'boolean') {
|
||||
gotoButton = /*#__PURE__*/React.createElement("button", {
|
||||
type: "button",
|
||||
onClick: this.handleGoTO,
|
||||
onKeyUp: this.handleGoTO
|
||||
}, locale.jump_to_confirm);
|
||||
} else {
|
||||
gotoButton = /*#__PURE__*/React.createElement("span", {
|
||||
onClick: this.handleGoTO,
|
||||
onKeyUp: this.handleGoTO
|
||||
}, goButton);
|
||||
}
|
||||
|
||||
gotoButton = /*#__PURE__*/React.createElement("li", {
|
||||
title: showTitle ? "".concat(locale.jump_to).concat(current, "/").concat(allPages) : null,
|
||||
className: "".concat(prefixCls, "-simple-pager")
|
||||
}, gotoButton);
|
||||
}
|
||||
|
||||
return /*#__PURE__*/React.createElement("ul", _extends({
|
||||
className: classNames(prefixCls, "".concat(prefixCls, "-simple"), className),
|
||||
style: style,
|
||||
ref: this.savePaginationNode
|
||||
}, dataOrAriaAttributeProps), /*#__PURE__*/React.createElement("li", {
|
||||
title: showTitle ? locale.prev_page : null,
|
||||
onClick: this.prev,
|
||||
tabIndex: this.hasPrev() ? 0 : null,
|
||||
onKeyPress: this.runIfEnterPrev,
|
||||
className: classNames("".concat(prefixCls, "-prev"), _defineProperty({}, "".concat(prefixCls, "-disabled"), !this.hasPrev())),
|
||||
"aria-disabled": !this.hasPrev()
|
||||
}, this.renderPrev(prevPage)), /*#__PURE__*/React.createElement("li", {
|
||||
title: showTitle ? "".concat(current, "/").concat(allPages) : null,
|
||||
className: "".concat(prefixCls, "-simple-pager")
|
||||
}, /*#__PURE__*/React.createElement("input", {
|
||||
type: "text",
|
||||
value: currentInputValue,
|
||||
onKeyDown: this.handleKeyDown,
|
||||
onKeyUp: this.handleKeyUp,
|
||||
onChange: this.handleKeyUp,
|
||||
size: "3"
|
||||
}), /*#__PURE__*/React.createElement("span", {
|
||||
className: "".concat(prefixCls, "-slash")
|
||||
}, "/"), allPages), /*#__PURE__*/React.createElement("li", {
|
||||
title: showTitle ? locale.next_page : null,
|
||||
onClick: this.next,
|
||||
tabIndex: this.hasPrev() ? 0 : null,
|
||||
onKeyPress: this.runIfEnterNext,
|
||||
className: classNames("".concat(prefixCls, "-next"), _defineProperty({}, "".concat(prefixCls, "-disabled"), !this.hasNext())),
|
||||
"aria-disabled": !this.hasNext()
|
||||
}, this.renderNext(nextPage)), gotoButton);
|
||||
}
|
||||
|
||||
if (allPages <= 3 + pageBufferSize * 2) {
|
||||
var pagerProps = {
|
||||
locale: locale,
|
||||
rootPrefixCls: prefixCls,
|
||||
onClick: this.handleChange,
|
||||
onKeyPress: this.runIfEnter,
|
||||
showTitle: showTitle,
|
||||
itemRender: itemRender
|
||||
};
|
||||
|
||||
if (!allPages) {
|
||||
pagerList.push( /*#__PURE__*/React.createElement(Pager, _extends({}, pagerProps, {
|
||||
key: "noPager",
|
||||
page: allPages,
|
||||
className: "".concat(prefixCls, "-disabled")
|
||||
})));
|
||||
}
|
||||
|
||||
for (var i = 1; i <= allPages; i += 1) {
|
||||
var active = current === i;
|
||||
pagerList.push( /*#__PURE__*/React.createElement(Pager, _extends({}, pagerProps, {
|
||||
key: i,
|
||||
page: i,
|
||||
active: active
|
||||
})));
|
||||
}
|
||||
} else {
|
||||
var prevItemTitle = showLessItems ? locale.prev_3 : locale.prev_5;
|
||||
var nextItemTitle = showLessItems ? locale.next_3 : locale.next_5;
|
||||
|
||||
if (showPrevNextJumpers) {
|
||||
jumpPrev = /*#__PURE__*/React.createElement("li", {
|
||||
title: showTitle ? prevItemTitle : null,
|
||||
key: "prev",
|
||||
onClick: this.jumpPrev,
|
||||
tabIndex: "0",
|
||||
onKeyPress: this.runIfEnterJumpPrev,
|
||||
className: classNames("".concat(prefixCls, "-jump-prev"), _defineProperty({}, "".concat(prefixCls, "-jump-prev-custom-icon"), !!jumpPrevIcon))
|
||||
}, itemRender(this.getJumpPrevPage(), 'jump-prev', this.getItemIcon(jumpPrevIcon)));
|
||||
jumpNext = /*#__PURE__*/React.createElement("li", {
|
||||
title: showTitle ? nextItemTitle : null,
|
||||
key: "next",
|
||||
tabIndex: "0",
|
||||
onClick: this.jumpNext,
|
||||
onKeyPress: this.runIfEnterJumpNext,
|
||||
className: classNames("".concat(prefixCls, "-jump-next"), _defineProperty({}, "".concat(prefixCls, "-jump-next-custom-icon"), !!jumpNextIcon))
|
||||
}, itemRender(this.getJumpNextPage(), 'jump-next', this.getItemIcon(jumpNextIcon)));
|
||||
}
|
||||
|
||||
lastPager = /*#__PURE__*/React.createElement(Pager, {
|
||||
locale: locale,
|
||||
last: true,
|
||||
rootPrefixCls: prefixCls,
|
||||
onClick: this.handleChange,
|
||||
onKeyPress: this.runIfEnter,
|
||||
key: allPages,
|
||||
page: allPages,
|
||||
active: false,
|
||||
showTitle: showTitle,
|
||||
itemRender: itemRender
|
||||
});
|
||||
firstPager = /*#__PURE__*/React.createElement(Pager, {
|
||||
locale: locale,
|
||||
rootPrefixCls: prefixCls,
|
||||
onClick: this.handleChange,
|
||||
onKeyPress: this.runIfEnter,
|
||||
key: 1,
|
||||
page: 1,
|
||||
active: false,
|
||||
showTitle: showTitle,
|
||||
itemRender: itemRender
|
||||
});
|
||||
var left = Math.max(1, current - pageBufferSize);
|
||||
var right = Math.min(current + pageBufferSize, allPages);
|
||||
|
||||
if (current - 1 <= pageBufferSize) {
|
||||
right = 1 + pageBufferSize * 2;
|
||||
}
|
||||
|
||||
if (allPages - current <= pageBufferSize) {
|
||||
left = allPages - pageBufferSize * 2;
|
||||
}
|
||||
|
||||
for (var _i = left; _i <= right; _i += 1) {
|
||||
var _active = current === _i;
|
||||
|
||||
pagerList.push( /*#__PURE__*/React.createElement(Pager, {
|
||||
locale: locale,
|
||||
rootPrefixCls: prefixCls,
|
||||
onClick: this.handleChange,
|
||||
onKeyPress: this.runIfEnter,
|
||||
key: _i,
|
||||
page: _i,
|
||||
active: _active,
|
||||
showTitle: showTitle,
|
||||
itemRender: itemRender
|
||||
}));
|
||||
}
|
||||
|
||||
if (current - 1 >= pageBufferSize * 2 && current !== 1 + 2) {
|
||||
pagerList[0] = cloneElement(pagerList[0], {
|
||||
className: "".concat(prefixCls, "-item-after-jump-prev")
|
||||
});
|
||||
pagerList.unshift(jumpPrev);
|
||||
}
|
||||
|
||||
if (allPages - current >= pageBufferSize * 2 && current !== allPages - 2) {
|
||||
pagerList[pagerList.length - 1] = cloneElement(pagerList[pagerList.length - 1], {
|
||||
className: "".concat(prefixCls, "-item-before-jump-next")
|
||||
});
|
||||
pagerList.push(jumpNext);
|
||||
}
|
||||
|
||||
if (left !== 1) {
|
||||
pagerList.unshift(firstPager);
|
||||
}
|
||||
|
||||
if (right !== allPages) {
|
||||
pagerList.push(lastPager);
|
||||
}
|
||||
}
|
||||
|
||||
var totalText = null;
|
||||
|
||||
if (showTotal) {
|
||||
totalText = /*#__PURE__*/React.createElement("li", {
|
||||
className: "".concat(prefixCls, "-total-text")
|
||||
}, showTotal(total, [total === 0 ? 0 : (current - 1) * pageSize + 1, current * pageSize > total ? total : current * pageSize]));
|
||||
}
|
||||
|
||||
var prevDisabled = !this.hasPrev() || !allPages;
|
||||
var nextDisabled = !this.hasNext() || !allPages;
|
||||
return /*#__PURE__*/React.createElement("ul", _extends({
|
||||
className: classNames(prefixCls, className, _defineProperty({}, "".concat(prefixCls, "-disabled"), disabled)),
|
||||
style: style,
|
||||
unselectable: "unselectable",
|
||||
ref: this.savePaginationNode
|
||||
}, dataOrAriaAttributeProps), totalText, /*#__PURE__*/React.createElement("li", {
|
||||
title: showTitle ? locale.prev_page : null,
|
||||
onClick: this.prev,
|
||||
tabIndex: prevDisabled ? null : 0,
|
||||
onKeyPress: this.runIfEnterPrev,
|
||||
className: classNames("".concat(prefixCls, "-prev"), _defineProperty({}, "".concat(prefixCls, "-disabled"), prevDisabled)),
|
||||
"aria-disabled": prevDisabled
|
||||
}, this.renderPrev(prevPage)), pagerList, /*#__PURE__*/React.createElement("li", {
|
||||
title: showTitle ? locale.next_page : null,
|
||||
onClick: this.next,
|
||||
tabIndex: nextDisabled ? null : 0,
|
||||
onKeyPress: this.runIfEnterNext,
|
||||
className: classNames("".concat(prefixCls, "-next"), _defineProperty({}, "".concat(prefixCls, "-disabled"), nextDisabled)),
|
||||
"aria-disabled": nextDisabled
|
||||
}, this.renderNext(nextPage)), /*#__PURE__*/React.createElement(Options, {
|
||||
disabled: disabled,
|
||||
locale: locale,
|
||||
rootPrefixCls: prefixCls,
|
||||
selectComponentClass: selectComponentClass,
|
||||
selectPrefixCls: selectPrefixCls,
|
||||
changeSize: this.getShowSizeChanger() ? this.changePageSize : null,
|
||||
current: current,
|
||||
pageSize: pageSize,
|
||||
pageSizeOptions: pageSizeOptions,
|
||||
quickGo: this.shouldDisplayQuickJumper() ? this.handleChange : null,
|
||||
goButton: goButton
|
||||
}));
|
||||
}
|
||||
}], [{
|
||||
key: "getDerivedStateFromProps",
|
||||
value: function getDerivedStateFromProps(props, prevState) {
|
||||
var newState = {};
|
||||
|
||||
if ('current' in props) {
|
||||
newState.current = props.current;
|
||||
|
||||
if (props.current !== prevState.current) {
|
||||
newState.currentInputValue = newState.current;
|
||||
}
|
||||
}
|
||||
|
||||
if ('pageSize' in props && props.pageSize !== prevState.pageSize) {
|
||||
var current = prevState.current;
|
||||
var newCurrent = calculatePage(props.pageSize, prevState, props);
|
||||
current = current > newCurrent ? newCurrent : current;
|
||||
|
||||
if (!('current' in props)) {
|
||||
newState.current = current;
|
||||
newState.currentInputValue = current;
|
||||
}
|
||||
|
||||
newState.pageSize = props.pageSize;
|
||||
}
|
||||
|
||||
return newState;
|
||||
}
|
||||
}]);
|
||||
|
||||
return Pagination;
|
||||
}(React.Component);
|
||||
|
||||
Pagination.defaultProps = {
|
||||
defaultCurrent: 1,
|
||||
total: 0,
|
||||
defaultPageSize: 10,
|
||||
onChange: noop,
|
||||
className: '',
|
||||
selectPrefixCls: 'rc-select',
|
||||
prefixCls: 'rc-pagination',
|
||||
selectComponentClass: null,
|
||||
hideOnSinglePage: false,
|
||||
showPrevNextJumpers: true,
|
||||
showQuickJumper: false,
|
||||
showLessItems: false,
|
||||
showTitle: true,
|
||||
onShowSizeChange: noop,
|
||||
locale: LOCALE,
|
||||
style: {},
|
||||
itemRender: defaultItemRender,
|
||||
totalBoundaryShowSizeChanger: 50
|
||||
};
|
||||
export default Pagination;
|
||||
1
web/node_modules/rc-pagination/es/index.js
generated
vendored
Normal file
1
web/node_modules/rc-pagination/es/index.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export { default } from './Pagination';
|
||||
14
web/node_modules/rc-pagination/es/locale/ar_EG.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/ar_EG.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ الصفحة',
|
||||
jump_to: 'الذهاب إلى',
|
||||
jump_to_confirm: 'تأكيد',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'الصفحة السابقة',
|
||||
next_page: 'الصفحة التالية',
|
||||
prev_5: 'خمس صفحات سابقة',
|
||||
next_5: 'خمس صفحات تالية',
|
||||
prev_3: 'ثلاث صفحات سابقة',
|
||||
next_3: 'ثلاث صفحات تالية'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/az_AZ.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/az_AZ.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ səhifə',
|
||||
jump_to: 'Get',
|
||||
jump_to_confirm: 'təsdiqlə',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Əvvəlki Səhifə',
|
||||
next_page: 'Növbəti Səhifə',
|
||||
prev_5: 'Əvvəlki 5 Səhifə',
|
||||
next_5: 'Növbəti 5 Səhifə',
|
||||
prev_3: 'Əvvəlki 3 Səhifə',
|
||||
next_3: 'Növbəti 3 Səhifə'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/bg_BG.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/bg_BG.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ страница',
|
||||
jump_to: 'Към',
|
||||
jump_to_confirm: 'потвърждавам',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Предишна страница',
|
||||
next_page: 'Следваща страница',
|
||||
prev_5: 'Предишни 5 страници',
|
||||
next_5: 'Следващи 5 страници',
|
||||
prev_3: 'Предишни 3 страници',
|
||||
next_3: 'Следващи 3 страници'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/ca_ES.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/ca_ES.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ pàgina',
|
||||
jump_to: 'Anar a',
|
||||
jump_to_confirm: 'Confirma',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Pàgina prèvia',
|
||||
next_page: 'Pàgina següent',
|
||||
prev_5: '5 pàgines prèvies',
|
||||
next_5: '5 pàgines següents',
|
||||
prev_3: '3 pàgines prèvies',
|
||||
next_3: '3 pàgines següents'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/cs_CZ.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/cs_CZ.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ strana',
|
||||
jump_to: 'Přejít',
|
||||
jump_to_confirm: 'potvrdit',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Předchozí strana',
|
||||
next_page: 'Následující strana',
|
||||
prev_5: 'Předchozích 5 stran',
|
||||
next_5: 'Následujících 5 stran',
|
||||
prev_3: 'Předchozí 3 strany',
|
||||
next_3: 'Následující 3 strany'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/da_DK.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/da_DK.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ side',
|
||||
jump_to: 'Gå til',
|
||||
jump_to_confirm: 'bekræft',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Forrige Side',
|
||||
next_page: 'Næste Side',
|
||||
prev_5: 'Forrige 5 Sider',
|
||||
next_5: 'Næste 5 Sider',
|
||||
prev_3: 'Forrige 3 Sider',
|
||||
next_3: 'Næste 3 Sider'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/de_DE.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/de_DE.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ Seite',
|
||||
jump_to: 'Gehe zu',
|
||||
jump_to_confirm: 'bestätigen',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Vorherige Seite',
|
||||
next_page: 'Nächste Seite',
|
||||
prev_5: '5 Seiten zurück',
|
||||
next_5: '5 Seiten vor',
|
||||
prev_3: '3 Seiten zurück',
|
||||
next_3: '3 Seiten vor'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/el_GR.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/el_GR.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ σελίδα',
|
||||
jump_to: 'Μετάβαση',
|
||||
jump_to_confirm: 'επιβεβαιώνω',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Προηγούμενη Σελίδα',
|
||||
next_page: 'Επόμενη Σελίδα',
|
||||
prev_5: 'Προηγούμενες 5 Σελίδες',
|
||||
next_5: 'Επόμενες 5 σελίδες',
|
||||
prev_3: 'Προηγούμενες 3 Σελίδες',
|
||||
next_3: 'Επόμενες 3 Σελίδες'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/en_GB.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/en_GB.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ page',
|
||||
jump_to: 'Go to',
|
||||
jump_to_confirm: 'confirm',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Previous Page',
|
||||
next_page: 'Next Page',
|
||||
prev_5: 'Previous 5 Pages',
|
||||
next_5: 'Next 5 Pages',
|
||||
prev_3: 'Previous 3 Pages',
|
||||
next_3: 'Next 3 Pages'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/en_US.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/en_US.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ page',
|
||||
jump_to: 'Go to',
|
||||
jump_to_confirm: 'confirm',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Previous Page',
|
||||
next_page: 'Next Page',
|
||||
prev_5: 'Previous 5 Pages',
|
||||
next_5: 'Next 5 Pages',
|
||||
prev_3: 'Previous 3 Pages',
|
||||
next_3: 'Next 3 Pages'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/es_ES.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/es_ES.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ página',
|
||||
jump_to: 'Ir a',
|
||||
jump_to_confirm: 'confirmar',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Página anterior',
|
||||
next_page: 'Página siguiente',
|
||||
prev_5: '5 páginas previas',
|
||||
next_5: '5 páginas siguientes',
|
||||
prev_3: '3 páginas previas',
|
||||
next_3: '3 páginas siguientes'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/et_EE.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/et_EE.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ leheküljel',
|
||||
jump_to: 'Hüppa',
|
||||
jump_to_confirm: 'Kinnitage',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Eelmine leht',
|
||||
next_page: 'Järgmine leht',
|
||||
prev_5: 'Eelmised 5 lehekülge',
|
||||
next_5: 'Järgmised 5 lehekülge',
|
||||
prev_3: 'Eelmised 3 lehekülge',
|
||||
next_3: 'Järgmised 3 lehekülge'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/fa_IR.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/fa_IR.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ صفحه',
|
||||
jump_to: 'برو به',
|
||||
jump_to_confirm: 'تایید',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'صفحه قبلی',
|
||||
next_page: 'صفحه بعدی',
|
||||
prev_5: '۵ صفحه قبلی',
|
||||
next_5: '۵ صفحه بعدی',
|
||||
prev_3: '۳ صفحه قبلی',
|
||||
next_3: '۳ صفحه بعدی'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/fi_FI.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/fi_FI.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ sivu',
|
||||
jump_to: 'Mene',
|
||||
jump_to_confirm: 'Potvrdite',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Edellinen sivu',
|
||||
next_page: 'Seuraava sivu',
|
||||
prev_5: 'Edelliset 5 sivua',
|
||||
next_5: 'Seuraavat 5 sivua',
|
||||
prev_3: 'Edelliset 3 sivua',
|
||||
next_3: 'Seuraavat 3 sivua'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/fr_BE.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/fr_BE.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ page',
|
||||
jump_to: 'Aller à',
|
||||
jump_to_confirm: 'confirmer',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Page précédente',
|
||||
next_page: 'Page suivante',
|
||||
prev_5: '5 Pages précédentes',
|
||||
next_5: '5 Pages suivantes',
|
||||
prev_3: '3 Pages précédentes',
|
||||
next_3: '3 Pages suivantes'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/fr_FR.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/fr_FR.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ page',
|
||||
jump_to: 'Aller à',
|
||||
jump_to_confirm: 'confirmer',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Page précédente',
|
||||
next_page: 'Page suivante',
|
||||
prev_5: '5 Pages précédentes',
|
||||
next_5: '5 Pages suivantes',
|
||||
prev_3: '3 Pages précédentes',
|
||||
next_3: '3 Pages suivantes'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/he_IL.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/he_IL.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ עמוד',
|
||||
jump_to: 'עבור אל',
|
||||
jump_to_confirm: 'אישור',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'העמוד הקודם',
|
||||
next_page: 'העמוד הבא',
|
||||
prev_5: '5 עמודים קודמים',
|
||||
next_5: '5 עמודים הבאים',
|
||||
prev_3: '3 עמודים קודמים',
|
||||
next_3: '3 עמודים הבאים'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/hi_IN.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/hi_IN.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ पृष्ठ',
|
||||
jump_to: 'इस पर चलें',
|
||||
jump_to_confirm: 'पुष्टि करें',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'पिछला पृष्ठ',
|
||||
next_page: 'अगला पृष्ठ',
|
||||
prev_5: 'पिछले 5 पृष्ठ',
|
||||
next_5: 'अगले 5 पृष्ठ',
|
||||
prev_3: 'पिछले 3 पृष्ठ',
|
||||
next_3: 'अगले 3 पेज'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/hr_HR.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/hr_HR.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ str',
|
||||
jump_to: 'Idi na',
|
||||
jump_to_confirm: 'potvrdi',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Prijašnja stranica',
|
||||
next_page: 'Sljedeća stranica',
|
||||
prev_5: 'Prijašnjih 5 stranica',
|
||||
next_5: 'Sljedećih 5 stranica',
|
||||
prev_3: 'Prijašnje 3 stranice',
|
||||
next_3: 'Sljedeće 3 stranice'
|
||||
};
|
||||
23
web/node_modules/rc-pagination/es/locale/hu_HU.js
generated
vendored
Normal file
23
web/node_modules/rc-pagination/es/locale/hu_HU.js
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ oldal',
|
||||
// '/ page',
|
||||
jump_to: 'Ugrás',
|
||||
// 'Goto',
|
||||
jump_to_confirm: 'megerősít',
|
||||
// 'confirm',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Előző oldal',
|
||||
// 'Previous Page',
|
||||
next_page: 'Következő oldal',
|
||||
// 'Next Page',
|
||||
prev_5: 'Előző 5 oldal',
|
||||
// 'Previous 5 Pages',
|
||||
next_5: 'Következő 5 oldal',
|
||||
// 'Next 5 Pages',
|
||||
prev_3: 'Előző 3 oldal',
|
||||
// 'Previous 3 Pages',
|
||||
next_3: 'Következő 3 oldal' // 'Next 3 Pages',
|
||||
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/id_ID.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/id_ID.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ halaman',
|
||||
jump_to: 'Menuju',
|
||||
jump_to_confirm: 'konfirmasi',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Halaman Sebelumnya',
|
||||
next_page: 'Halaman Berikutnya',
|
||||
prev_5: '5 Halaman Sebelumnya',
|
||||
next_5: '5 Halaman Berikutnya',
|
||||
prev_3: '3 Halaman Sebelumnya',
|
||||
next_3: '3 Halaman Berikutnya'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/is_IS.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/is_IS.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ síðu',
|
||||
jump_to: 'Síða',
|
||||
jump_to_confirm: 'staðfest',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Fyrri síða',
|
||||
next_page: 'Næsta síða',
|
||||
prev_5: 'Til baka 5 síður',
|
||||
next_5: 'Áfram 5 síður',
|
||||
prev_3: 'Til baka 3 síður',
|
||||
next_3: 'Áfram 3 síður'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/it_IT.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/it_IT.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ pagina',
|
||||
jump_to: 'vai a',
|
||||
jump_to_confirm: 'Conferma',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Pagina precedente',
|
||||
next_page: 'Pagina successiva',
|
||||
prev_5: 'Precedente 5 pagine',
|
||||
next_5: 'Prossime 5 pagine',
|
||||
prev_3: 'Precedente 3 pagine',
|
||||
next_3: 'Prossime 3 pagine'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/ja_JP.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/ja_JP.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ ページ',
|
||||
jump_to: '移動',
|
||||
jump_to_confirm: '確認する',
|
||||
page: 'ページ',
|
||||
// Pagination.jsx
|
||||
prev_page: '前のページ',
|
||||
next_page: '次のページ',
|
||||
prev_5: '前 5ページ',
|
||||
next_5: '次 5ページ',
|
||||
prev_3: '前 3ページ',
|
||||
next_3: '次 3ページ'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/kn_IN.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/kn_IN.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ ಪುಟ',
|
||||
jump_to: 'ಜಿಗಿತವನ್ನು',
|
||||
jump_to_confirm: 'ಖಚಿತಪಡಿಸಲು ಜಿಗಿತವನ್ನು',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'ಹಿಂದಿನ ಪುಟ',
|
||||
next_page: 'ಮುಂದಿನ ಪುಟ',
|
||||
prev_5: 'ಹಿಂದಿನ 5 ಪುಟಗಳು',
|
||||
next_5: 'ಮುಂದಿನ 5 ಪುಟಗಳು',
|
||||
prev_3: 'ಹಿಂದಿನ 3 ಪುಟಗಳು',
|
||||
next_3: 'ಮುಂದಿನ 3 ಪುಟಗಳು'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/ko_KR.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/ko_KR.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ 쪽',
|
||||
jump_to: '이동하기',
|
||||
jump_to_confirm: '확인하다',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: '이전 페이지',
|
||||
next_page: '다음 페이지',
|
||||
prev_5: '이전 5 페이지',
|
||||
next_5: '다음 5 페이지',
|
||||
prev_3: '이전 3 페이지',
|
||||
next_3: '다음 3 페이지'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/ku_IQ.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/ku_IQ.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ rûpel',
|
||||
jump_to: 'Biçe',
|
||||
jump_to_confirm: 'piştrast bike',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Rûpelê Pêş',
|
||||
next_page: 'Rûpelê Paş',
|
||||
prev_5: '5 Rûpelên Pêş',
|
||||
next_5: '5 Rûpelên Paş',
|
||||
prev_3: '3 Rûpelên Pêş',
|
||||
next_3: '3 Rûpelên Paş'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/lv_LV.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/lv_LV.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ lappuse',
|
||||
jump_to: 'iet uz',
|
||||
jump_to_confirm: 'apstiprināt',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Iepriekšējā lapa',
|
||||
next_page: 'Nākamā lapaspuse',
|
||||
prev_5: 'Iepriekšējās 5 lapas',
|
||||
next_5: 'Nākamās 5 lapas',
|
||||
prev_3: 'Iepriekšējās 3 lapas',
|
||||
next_3: 'Nākamās 3 lapas'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/mk_MK.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/mk_MK.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ стр',
|
||||
jump_to: 'Оди на',
|
||||
jump_to_confirm: 'потврди',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Претходна страница',
|
||||
next_page: 'Наредна страница',
|
||||
prev_5: 'Претходни 5 страници',
|
||||
next_5: 'Наредни 5 страници',
|
||||
prev_3: 'Претходни 3 страници',
|
||||
next_3: 'Наредни 3 страници'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/mm_MM.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/mm_MM.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ စာမျက်နှာ',
|
||||
jump_to: 'သွားရန်',
|
||||
jump_to_confirm: 'သေချာပြီ',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'ယခင်စာမျက်နှာ',
|
||||
next_page: 'နောက်စာမျက်နှာ',
|
||||
prev_5: 'ယခင် ၅ခုမြောက်',
|
||||
next_5: 'နောက် ၅ခုမြောက်',
|
||||
prev_3: 'ယခင် ၃ခုမြောက်',
|
||||
next_3: 'နောက် ၃ခုမြောက်'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/mn_MN.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/mn_MN.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ хуудас',
|
||||
jump_to: 'Шилжих',
|
||||
jump_to_confirm: 'сонгох',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Өмнөх хуудас',
|
||||
next_page: 'Дараагийн хуудас',
|
||||
prev_5: 'Дараагийн 5 хуудас',
|
||||
next_5: 'Дараагийн 5 хуудас',
|
||||
prev_3: 'Дараагийн 3 хуудас',
|
||||
next_3: 'Дараагийн 3 хуудас'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/ms_MY.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/ms_MY.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ halaman',
|
||||
jump_to: 'Lompat ke',
|
||||
jump_to_confirm: 'Sahkan',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Halaman sebelumnya',
|
||||
next_page: 'Halam seterusnya',
|
||||
prev_5: '5 halaman sebelum',
|
||||
next_5: '5 halaman seterusnya',
|
||||
prev_3: '3 halaman sebelumnya',
|
||||
next_3: '3 halaman seterusnya'
|
||||
};
|
||||
13
web/node_modules/rc-pagination/es/locale/nb_NO.js
generated
vendored
Normal file
13
web/node_modules/rc-pagination/es/locale/nb_NO.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ side',
|
||||
jump_to: 'Gå til side',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Forrige side',
|
||||
next_page: 'Neste side',
|
||||
prev_5: '5 forrige',
|
||||
next_5: '5 neste',
|
||||
prev_3: '3 forrige',
|
||||
next_3: '3 neste'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/nl_BE.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/nl_BE.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ pagina',
|
||||
jump_to: 'Ga naar',
|
||||
jump_to_confirm: 'bevestigen',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Vorige pagina',
|
||||
next_page: 'Volgende pagina',
|
||||
prev_5: "Vorige 5 pagina's",
|
||||
next_5: "Volgende 5 pagina's",
|
||||
prev_3: "Vorige 3 pagina's",
|
||||
next_3: "Volgende 3 pagina's"
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/nl_NL.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/nl_NL.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ pagina',
|
||||
jump_to: 'Ga naar',
|
||||
jump_to_confirm: 'bevestigen',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Vorige pagina',
|
||||
next_page: 'Volgende pagina',
|
||||
prev_5: "Vorige 5 pagina's",
|
||||
next_5: "Volgende 5 pagina's",
|
||||
prev_3: "Vorige 3 pagina's",
|
||||
next_3: "Volgende 3 pagina's"
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/pa_IN.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/pa_IN.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ ਪੰਨਾ',
|
||||
jump_to: 'Goto',
|
||||
jump_to_confirm: 'ਪੁਸ਼ਟੀ ਕਰੋ',
|
||||
page: 'ਪੰਨਾ',
|
||||
// Pagination.jsx
|
||||
prev_page: 'ਪਿਛਲਾ ਪੰਨਾ',
|
||||
next_page: 'ਅਗਲਾ ਪੰਨਾ',
|
||||
prev_5: 'ਪਿਛਲੇ 5 ਪੰਨੇ',
|
||||
next_5: 'ਅਗਲੇ 5 ਪੰਨੇ',
|
||||
prev_3: 'ਪਿਛਲੇ 3 ਪੰਨੇ',
|
||||
next_3: 'ਅਗਲੇ 3 ਪੰਨੇ'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/pb_IN.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/pb_IN.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ ਪੰਨਾ',
|
||||
jump_to: 'Goto',
|
||||
jump_to_confirm: 'ਪੁਸ਼ਟੀ ਕਰੋ',
|
||||
page: 'ਪੰਨਾ',
|
||||
// Pagination.jsx
|
||||
prev_page: 'ਪਿਛਲਾ ਪੰਨਾ',
|
||||
next_page: 'ਅਗਲਾ ਪੰਨਾ',
|
||||
prev_5: 'ਪਿਛਲੇ 5 ਪੰਨੇ',
|
||||
next_5: 'ਅਗਲੇ 5 ਪੰਨੇ',
|
||||
prev_3: 'ਪਿਛਲੇ 3 ਪੰਨੇ',
|
||||
next_3: 'ਅਗਲੇ 3 ਪੰਨੇ'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/pl_PL.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/pl_PL.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ stronę',
|
||||
jump_to: 'Idź do',
|
||||
jump_to_confirm: 'potwierdzać',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Poprzednia strona',
|
||||
next_page: 'Następna strona',
|
||||
prev_5: 'Poprzednie 5 stron',
|
||||
next_5: 'Następne 5 stron',
|
||||
prev_3: 'Poprzednie 3 strony',
|
||||
next_3: 'Następne 3 strony'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/pt_BR.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/pt_BR.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ página',
|
||||
jump_to: 'Vá até',
|
||||
jump_to_confirm: 'confirme',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Página anterior',
|
||||
next_page: 'Próxima página',
|
||||
prev_5: '5 páginas anteriores',
|
||||
next_5: '5 próximas páginas',
|
||||
prev_3: '3 páginas anteriores',
|
||||
next_3: '3 próximas páginas'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/pt_PT.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/pt_PT.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ página',
|
||||
jump_to: 'Saltar',
|
||||
jump_to_confirm: 'confirmar',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Página Anterior',
|
||||
next_page: 'Página Seguinte',
|
||||
prev_5: 'Recuar 5 Páginas',
|
||||
next_5: 'Avançar 5 Páginas',
|
||||
prev_3: 'Recuar 3 Páginas',
|
||||
next_3: 'Avançar 3 Páginas'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/ro_RO.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/ro_RO.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ pagină',
|
||||
jump_to: 'Mergi la',
|
||||
jump_to_confirm: 'confirm',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Pagina Anterioară',
|
||||
next_page: 'Pagina Următoare',
|
||||
prev_5: '5 Pagini Anterioare',
|
||||
next_5: '5 Pagini Următoare',
|
||||
prev_3: '3 Pagini Anterioare',
|
||||
next_3: '3 Pagini Următoare'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/ru_RU.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/ru_RU.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ стр.',
|
||||
jump_to: 'Перейти',
|
||||
jump_to_confirm: 'подтвердить',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Назад',
|
||||
next_page: 'Вперед',
|
||||
prev_5: 'Предыдущие 5',
|
||||
next_5: 'Следующие 5',
|
||||
prev_3: 'Предыдущие 3',
|
||||
next_3: 'Следующие 3'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/sk_SK.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/sk_SK.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ strana',
|
||||
jump_to: 'Choď na',
|
||||
jump_to_confirm: 'potvrdit',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Predchádzajúca strana',
|
||||
next_page: 'Nasledujúca strana',
|
||||
prev_5: 'Predchádzajúcich 5 strán',
|
||||
next_5: 'Nasledujúcich 5 strán',
|
||||
prev_3: 'Predchádzajúce 3 strany',
|
||||
next_3: 'Nasledujúce 3 strany'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/sl_SI.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/sl_SI.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ strani',
|
||||
jump_to: 'Pojdi na',
|
||||
jump_to_confirm: 'potrdi',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Prejšnja stran',
|
||||
next_page: 'Naslednja stran',
|
||||
prev_5: 'Prejšnjih 5 strani',
|
||||
next_5: 'Naslednjih 5 strani',
|
||||
prev_3: 'Prejšnje 3 strani',
|
||||
next_3: 'Naslednje 3 strani'
|
||||
};
|
||||
13
web/node_modules/rc-pagination/es/locale/sr_RS.js
generated
vendored
Normal file
13
web/node_modules/rc-pagination/es/locale/sr_RS.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ strani',
|
||||
jump_to: 'Idi na',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Prethodna strana',
|
||||
next_page: 'Sledeća strana',
|
||||
prev_5: 'Prethodnih 5 Strana',
|
||||
next_5: 'Sledećih 5 Strana',
|
||||
prev_3: 'Prethodnih 3 Strane',
|
||||
next_3: 'Sledećih 3 Strane'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/sv_SE.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/sv_SE.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ sida',
|
||||
jump_to: 'Gå till',
|
||||
jump_to_confirm: 'bekräfta',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Föreg sida',
|
||||
next_page: 'Nästa sida',
|
||||
prev_5: 'Föreg 5 sidor',
|
||||
next_5: 'Nästa 5 sidor',
|
||||
prev_3: 'Föreg 3 sidor',
|
||||
next_3: 'Nästa 3 sidor'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/ta_IN.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/ta_IN.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ பக்கம்',
|
||||
jump_to: 'அடுத்த',
|
||||
jump_to_confirm: 'உறுதிப்படுத்தவும்',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'முந்தைய பக்கம்',
|
||||
next_page: 'அடுத்த பக்கம்',
|
||||
prev_5: 'முந்தைய 5 பக்கங்கள்',
|
||||
next_5: 'அடுத்த 5 பக்கங்கள்',
|
||||
prev_3: 'முந்தைய 3 பக்கங்கள்',
|
||||
next_3: 'அடுத்த 3 பக்கங்கள்'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/th_TH.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/th_TH.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ หน้า',
|
||||
jump_to: 'ไปยัง',
|
||||
jump_to_confirm: 'ยืนยัน',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'หน้าก่อนหน้า',
|
||||
next_page: 'หน้าถัดไป',
|
||||
prev_5: 'ย้อนกลับ 5 หน้า',
|
||||
next_5: 'ถัดไป 5 หน้า',
|
||||
prev_3: 'ย้อนกลับ 3 หน้า',
|
||||
next_3: 'ถัดไป 3 หน้า'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/tr_TR.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/tr_TR.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ sayfa',
|
||||
jump_to: 'Git',
|
||||
jump_to_confirm: 'onayla',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Önceki Sayfa',
|
||||
next_page: 'Sonraki Sayfa',
|
||||
prev_5: 'Önceki 5 Sayfa',
|
||||
next_5: 'Sonraki 5 Sayfa',
|
||||
prev_3: 'Önceki 3 Sayfa',
|
||||
next_3: 'Sonraki 3 Sayfa'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/ug_CN.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/ug_CN.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: 'تال/ھەر بەت',
|
||||
jump_to: 'بەتكە سەكرەش',
|
||||
jump_to_confirm: 'مۇقىملاشتۇرۇش',
|
||||
page: 'بەت',
|
||||
// Pagination.jsx
|
||||
prev_page: 'ئالدىنقى',
|
||||
next_page: 'كېيىنكى',
|
||||
prev_5: 'ئالدىغا 5 بەت',
|
||||
next_5: 'كەينىگە 5 بەت',
|
||||
prev_3: 'ئالدىغا 3 بەت',
|
||||
next_3: 'كەينىگە 3 بەت'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/uk_UA.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/uk_UA.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ сторінці',
|
||||
jump_to: 'Перейти',
|
||||
jump_to_confirm: 'підтвердити',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Попередня сторінка',
|
||||
next_page: 'Наступна сторінка',
|
||||
prev_5: 'Попередні 5 сторінок',
|
||||
next_5: 'Наступні 5 сторінок',
|
||||
prev_3: 'Попередні 3 сторінки',
|
||||
next_3: 'Наступні 3 сторінки'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/vi_VN.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/vi_VN.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '/ trang',
|
||||
jump_to: 'Đến',
|
||||
jump_to_confirm: 'xác nhận',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Trang Trước',
|
||||
next_page: 'Trang Kế',
|
||||
prev_5: 'Về 5 Trang Trước',
|
||||
next_5: 'Đến 5 Trang Kế',
|
||||
prev_3: 'Về 3 Trang Trước',
|
||||
next_3: 'Đến 3 Trang Kế'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/zh_CN.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/zh_CN.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '条/页',
|
||||
jump_to: '跳至',
|
||||
jump_to_confirm: '确定',
|
||||
page: '页',
|
||||
// Pagination.jsx
|
||||
prev_page: '上一页',
|
||||
next_page: '下一页',
|
||||
prev_5: '向前 5 页',
|
||||
next_5: '向后 5 页',
|
||||
prev_3: '向前 3 页',
|
||||
next_3: '向后 3 页'
|
||||
};
|
||||
14
web/node_modules/rc-pagination/es/locale/zh_TW.js
generated
vendored
Normal file
14
web/node_modules/rc-pagination/es/locale/zh_TW.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
export default {
|
||||
// Options.jsx
|
||||
items_per_page: '條/頁',
|
||||
jump_to: '跳至',
|
||||
jump_to_confirm: '確定',
|
||||
page: '頁',
|
||||
// Pagination.jsx
|
||||
prev_page: '上一頁',
|
||||
next_page: '下一頁',
|
||||
prev_5: '向前 5 頁',
|
||||
next_5: '向後 5 頁',
|
||||
prev_3: '向前 3 頁',
|
||||
next_3: '向後 3 頁'
|
||||
};
|
||||
18
web/node_modules/rc-pagination/lib/KeyCode.js
generated
vendored
Normal file
18
web/node_modules/rc-pagination/lib/KeyCode.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
ZERO: 48,
|
||||
NINE: 57,
|
||||
NUMPAD_ZERO: 96,
|
||||
NUMPAD_NINE: 105,
|
||||
BACKSPACE: 8,
|
||||
DELETE: 46,
|
||||
ENTER: 13,
|
||||
ARROW_UP: 38,
|
||||
ARROW_DOWN: 40
|
||||
};
|
||||
exports.default = _default;
|
||||
202
web/node_modules/rc-pagination/lib/Options.js
generated
vendored
Normal file
202
web/node_modules/rc-pagination/lib/Options.js
generated
vendored
Normal file
@@ -0,0 +1,202 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
|
||||
var _react = _interopRequireDefault(require("react"));
|
||||
|
||||
var _KeyCode = _interopRequireDefault(require("./KeyCode"));
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
||||
|
||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||
|
||||
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
||||
|
||||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
||||
|
||||
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
||||
|
||||
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
||||
|
||||
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
||||
|
||||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
||||
|
||||
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
||||
|
||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
||||
|
||||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
||||
|
||||
var Options = /*#__PURE__*/function (_React$Component) {
|
||||
_inherits(Options, _React$Component);
|
||||
|
||||
var _super = _createSuper(Options);
|
||||
|
||||
function Options() {
|
||||
var _this;
|
||||
|
||||
_classCallCheck(this, Options);
|
||||
|
||||
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
||||
args[_key] = arguments[_key];
|
||||
}
|
||||
|
||||
_this = _super.call.apply(_super, [this].concat(args));
|
||||
_this.state = {
|
||||
goInputText: ''
|
||||
};
|
||||
|
||||
_this.buildOptionText = function (value) {
|
||||
return "".concat(value, " ").concat(_this.props.locale.items_per_page);
|
||||
};
|
||||
|
||||
_this.changeSize = function (value) {
|
||||
_this.props.changeSize(Number(value));
|
||||
};
|
||||
|
||||
_this.handleChange = function (e) {
|
||||
_this.setState({
|
||||
goInputText: e.target.value
|
||||
});
|
||||
};
|
||||
|
||||
_this.handleBlur = function (e) {
|
||||
var _this$props = _this.props,
|
||||
goButton = _this$props.goButton,
|
||||
quickGo = _this$props.quickGo,
|
||||
rootPrefixCls = _this$props.rootPrefixCls;
|
||||
|
||||
if (goButton) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.relatedTarget && (e.relatedTarget.className.indexOf("".concat(rootPrefixCls, "-prev")) >= 0 || e.relatedTarget.className.indexOf("".concat(rootPrefixCls, "-next")) >= 0)) {
|
||||
return;
|
||||
}
|
||||
|
||||
quickGo(_this.getValidValue());
|
||||
};
|
||||
|
||||
_this.go = function (e) {
|
||||
var goInputText = _this.state.goInputText;
|
||||
|
||||
if (goInputText === '') {
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.keyCode === _KeyCode.default.ENTER || e.type === 'click') {
|
||||
_this.setState({
|
||||
goInputText: ''
|
||||
});
|
||||
|
||||
_this.props.quickGo(_this.getValidValue());
|
||||
}
|
||||
};
|
||||
|
||||
return _this;
|
||||
}
|
||||
|
||||
_createClass(Options, [{
|
||||
key: "getValidValue",
|
||||
value: function getValidValue() {
|
||||
var _this$state = this.state,
|
||||
goInputText = _this$state.goInputText,
|
||||
current = _this$state.current; // eslint-disable-next-line no-restricted-globals
|
||||
|
||||
return !goInputText || isNaN(goInputText) ? current : Number(goInputText);
|
||||
}
|
||||
}, {
|
||||
key: "render",
|
||||
value: function render() {
|
||||
var _this2 = this;
|
||||
|
||||
var _this$props2 = this.props,
|
||||
pageSize = _this$props2.pageSize,
|
||||
pageSizeOptions = _this$props2.pageSizeOptions,
|
||||
locale = _this$props2.locale,
|
||||
rootPrefixCls = _this$props2.rootPrefixCls,
|
||||
changeSize = _this$props2.changeSize,
|
||||
quickGo = _this$props2.quickGo,
|
||||
goButton = _this$props2.goButton,
|
||||
selectComponentClass = _this$props2.selectComponentClass,
|
||||
buildOptionText = _this$props2.buildOptionText,
|
||||
selectPrefixCls = _this$props2.selectPrefixCls,
|
||||
disabled = _this$props2.disabled;
|
||||
var goInputText = this.state.goInputText;
|
||||
var prefixCls = "".concat(rootPrefixCls, "-options");
|
||||
var Select = selectComponentClass;
|
||||
var changeSelect = null;
|
||||
var goInput = null;
|
||||
var gotoButton = null;
|
||||
|
||||
if (!changeSize && !quickGo) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (changeSize && Select) {
|
||||
var options = pageSizeOptions.map(function (opt, i) {
|
||||
return /*#__PURE__*/_react.default.createElement(Select.Option, {
|
||||
key: i,
|
||||
value: opt
|
||||
}, (buildOptionText || _this2.buildOptionText)(opt));
|
||||
});
|
||||
changeSelect = /*#__PURE__*/_react.default.createElement(Select, {
|
||||
disabled: disabled,
|
||||
prefixCls: selectPrefixCls,
|
||||
showSearch: false,
|
||||
className: "".concat(prefixCls, "-size-changer"),
|
||||
optionLabelProp: "children",
|
||||
dropdownMatchSelectWidth: false,
|
||||
value: (pageSize || pageSizeOptions[0]).toString(),
|
||||
onChange: this.changeSize,
|
||||
getPopupContainer: function getPopupContainer(triggerNode) {
|
||||
return triggerNode.parentNode;
|
||||
}
|
||||
}, options);
|
||||
}
|
||||
|
||||
if (quickGo) {
|
||||
if (goButton) {
|
||||
gotoButton = typeof goButton === 'boolean' ? /*#__PURE__*/_react.default.createElement("button", {
|
||||
type: "button",
|
||||
onClick: this.go,
|
||||
onKeyUp: this.go,
|
||||
disabled: disabled
|
||||
}, locale.jump_to_confirm) : /*#__PURE__*/_react.default.createElement("span", {
|
||||
onClick: this.go,
|
||||
onKeyUp: this.go
|
||||
}, goButton);
|
||||
}
|
||||
|
||||
goInput = /*#__PURE__*/_react.default.createElement("div", {
|
||||
className: "".concat(prefixCls, "-quick-jumper")
|
||||
}, locale.jump_to, /*#__PURE__*/_react.default.createElement("input", {
|
||||
disabled: disabled,
|
||||
type: "text",
|
||||
value: goInputText,
|
||||
onChange: this.handleChange,
|
||||
onKeyUp: this.go,
|
||||
onBlur: this.handleBlur
|
||||
}), locale.page, gotoButton);
|
||||
}
|
||||
|
||||
return /*#__PURE__*/_react.default.createElement("li", {
|
||||
className: "".concat(prefixCls)
|
||||
}, changeSelect, goInput);
|
||||
}
|
||||
}]);
|
||||
|
||||
return Options;
|
||||
}(_react.default.Component);
|
||||
|
||||
Options.defaultProps = {
|
||||
pageSizeOptions: ['10', '20', '50', '100']
|
||||
};
|
||||
var _default = Options;
|
||||
exports.default = _default;
|
||||
40
web/node_modules/rc-pagination/lib/Pager.js
generated
vendored
Normal file
40
web/node_modules/rc-pagination/lib/Pager.js
generated
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
|
||||
var _react = _interopRequireDefault(require("react"));
|
||||
|
||||
var _classnames = _interopRequireDefault(require("classnames"));
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
||||
|
||||
var Pager = function Pager(props) {
|
||||
var _classNames;
|
||||
|
||||
var prefixCls = "".concat(props.rootPrefixCls, "-item");
|
||||
var cls = (0, _classnames.default)(prefixCls, "".concat(prefixCls, "-").concat(props.page), (_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-active"), props.active), _defineProperty(_classNames, props.className, !!props.className), _defineProperty(_classNames, "".concat(prefixCls, "-disabled"), !props.page), _classNames));
|
||||
|
||||
var handleClick = function handleClick() {
|
||||
props.onClick(props.page);
|
||||
};
|
||||
|
||||
var handleKeyPress = function handleKeyPress(e) {
|
||||
props.onKeyPress(e, props.onClick, props.page);
|
||||
};
|
||||
|
||||
return /*#__PURE__*/_react.default.createElement("li", {
|
||||
title: props.showTitle ? props.page : null,
|
||||
className: cls,
|
||||
onClick: handleClick,
|
||||
onKeyPress: handleKeyPress,
|
||||
tabIndex: "0"
|
||||
}, props.itemRender(props.page, 'page', /*#__PURE__*/_react.default.createElement("a", null, props.page)));
|
||||
};
|
||||
|
||||
var _default = Pager;
|
||||
exports.default = _default;
|
||||
704
web/node_modules/rc-pagination/lib/Pagination.js
generated
vendored
Normal file
704
web/node_modules/rc-pagination/lib/Pagination.js
generated
vendored
Normal file
@@ -0,0 +1,704 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
|
||||
var _react = _interopRequireWildcard(require("react"));
|
||||
|
||||
var _classnames = _interopRequireDefault(require("classnames"));
|
||||
|
||||
var _Pager = _interopRequireDefault(require("./Pager"));
|
||||
|
||||
var _Options = _interopRequireDefault(require("./Options"));
|
||||
|
||||
var _KeyCode = _interopRequireDefault(require("./KeyCode"));
|
||||
|
||||
var _zh_CN = _interopRequireDefault(require("./locale/zh_CN"));
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
||||
|
||||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
||||
|
||||
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
||||
|
||||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
|
||||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
||||
|
||||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
||||
|
||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
||||
|
||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||
|
||||
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
||||
|
||||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
||||
|
||||
function _createSuper(Derived) { return function () { var Super = _getPrototypeOf(Derived), result; if (_isNativeReflectConstruct()) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
||||
|
||||
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
||||
|
||||
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
||||
|
||||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
||||
|
||||
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
||||
|
||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
||||
|
||||
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
||||
|
||||
function noop() {}
|
||||
|
||||
function isInteger(value) {
|
||||
return (// eslint-disable-next-line no-restricted-globals
|
||||
typeof value === 'number' && isFinite(value) && Math.floor(value) === value
|
||||
);
|
||||
}
|
||||
|
||||
function defaultItemRender(page, type, element) {
|
||||
return element;
|
||||
}
|
||||
|
||||
function calculatePage(p, state, props) {
|
||||
var pageSize = typeof p === 'undefined' ? state.pageSize : p;
|
||||
return Math.floor((props.total - 1) / pageSize) + 1;
|
||||
}
|
||||
|
||||
var Pagination = /*#__PURE__*/function (_React$Component) {
|
||||
_inherits(Pagination, _React$Component);
|
||||
|
||||
var _super = _createSuper(Pagination);
|
||||
|
||||
function Pagination(props) {
|
||||
var _this;
|
||||
|
||||
_classCallCheck(this, Pagination);
|
||||
|
||||
_this = _super.call(this, props);
|
||||
|
||||
_this.getJumpPrevPage = function () {
|
||||
return Math.max(1, _this.state.current - (_this.props.showLessItems ? 3 : 5));
|
||||
};
|
||||
|
||||
_this.getJumpNextPage = function () {
|
||||
return Math.min(calculatePage(undefined, _this.state, _this.props), _this.state.current + (_this.props.showLessItems ? 3 : 5));
|
||||
};
|
||||
|
||||
_this.getItemIcon = function (icon) {
|
||||
var prefixCls = _this.props.prefixCls; // eslint-disable-next-line jsx-a11y/anchor-has-content
|
||||
|
||||
var iconNode = icon || /*#__PURE__*/_react.default.createElement("a", {
|
||||
className: "".concat(prefixCls, "-item-link")
|
||||
});
|
||||
|
||||
if (typeof icon === 'function') {
|
||||
iconNode = _react.default.createElement(icon, _objectSpread({}, _this.props));
|
||||
}
|
||||
|
||||
return iconNode;
|
||||
};
|
||||
|
||||
_this.savePaginationNode = function (node) {
|
||||
_this.paginationNode = node;
|
||||
};
|
||||
|
||||
_this.isValid = function (page) {
|
||||
return isInteger(page) && page !== _this.state.current;
|
||||
};
|
||||
|
||||
_this.shouldDisplayQuickJumper = function () {
|
||||
var _this$props = _this.props,
|
||||
showQuickJumper = _this$props.showQuickJumper,
|
||||
pageSize = _this$props.pageSize,
|
||||
total = _this$props.total;
|
||||
|
||||
if (total <= pageSize) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return showQuickJumper;
|
||||
};
|
||||
|
||||
_this.handleKeyDown = function (e) {
|
||||
if (e.keyCode === _KeyCode.default.ARROW_UP || e.keyCode === _KeyCode.default.ARROW_DOWN) {
|
||||
e.preventDefault();
|
||||
}
|
||||
};
|
||||
|
||||
_this.handleKeyUp = function (e) {
|
||||
var value = _this.getValidValue(e);
|
||||
|
||||
var currentInputValue = _this.state.currentInputValue;
|
||||
|
||||
if (value !== currentInputValue) {
|
||||
_this.setState({
|
||||
currentInputValue: value
|
||||
});
|
||||
}
|
||||
|
||||
if (e.keyCode === _KeyCode.default.ENTER) {
|
||||
_this.handleChange(value);
|
||||
} else if (e.keyCode === _KeyCode.default.ARROW_UP) {
|
||||
_this.handleChange(value - 1);
|
||||
} else if (e.keyCode === _KeyCode.default.ARROW_DOWN) {
|
||||
_this.handleChange(value + 1);
|
||||
}
|
||||
};
|
||||
|
||||
_this.changePageSize = function (size) {
|
||||
var current = _this.state.current;
|
||||
var newCurrent = calculatePage(size, _this.state, _this.props);
|
||||
current = current > newCurrent ? newCurrent : current; // fix the issue:
|
||||
// Once 'total' is 0, 'current' in 'onShowSizeChange' is 0, which is not correct.
|
||||
|
||||
if (newCurrent === 0) {
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
current = _this.state.current;
|
||||
}
|
||||
|
||||
if (typeof size === 'number') {
|
||||
if (!('pageSize' in _this.props)) {
|
||||
_this.setState({
|
||||
pageSize: size
|
||||
});
|
||||
}
|
||||
|
||||
if (!('current' in _this.props)) {
|
||||
_this.setState({
|
||||
current: current,
|
||||
currentInputValue: current
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
_this.props.onShowSizeChange(current, size);
|
||||
};
|
||||
|
||||
_this.handleChange = function (p) {
|
||||
var disabled = _this.props.disabled;
|
||||
var page = p;
|
||||
|
||||
if (_this.isValid(page) && !disabled) {
|
||||
var currentPage = calculatePage(undefined, _this.state, _this.props);
|
||||
|
||||
if (page > currentPage) {
|
||||
page = currentPage;
|
||||
} else if (page < 1) {
|
||||
page = 1;
|
||||
}
|
||||
|
||||
if (!('current' in _this.props)) {
|
||||
_this.setState({
|
||||
current: page,
|
||||
currentInputValue: page
|
||||
});
|
||||
}
|
||||
|
||||
var pageSize = _this.state.pageSize;
|
||||
|
||||
_this.props.onChange(page, pageSize);
|
||||
|
||||
return page;
|
||||
}
|
||||
|
||||
return _this.state.current;
|
||||
};
|
||||
|
||||
_this.prev = function () {
|
||||
if (_this.hasPrev()) {
|
||||
_this.handleChange(_this.state.current - 1);
|
||||
}
|
||||
};
|
||||
|
||||
_this.next = function () {
|
||||
if (_this.hasNext()) {
|
||||
_this.handleChange(_this.state.current + 1);
|
||||
}
|
||||
};
|
||||
|
||||
_this.jumpPrev = function () {
|
||||
_this.handleChange(_this.getJumpPrevPage());
|
||||
};
|
||||
|
||||
_this.jumpNext = function () {
|
||||
_this.handleChange(_this.getJumpNextPage());
|
||||
};
|
||||
|
||||
_this.hasPrev = function () {
|
||||
return _this.state.current > 1;
|
||||
};
|
||||
|
||||
_this.hasNext = function () {
|
||||
return _this.state.current < calculatePage(undefined, _this.state, _this.props);
|
||||
};
|
||||
|
||||
_this.runIfEnter = function (event, callback) {
|
||||
if (event.key === 'Enter' || event.charCode === 13) {
|
||||
for (var _len = arguments.length, restParams = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
||||
restParams[_key - 2] = arguments[_key];
|
||||
}
|
||||
|
||||
callback.apply(void 0, restParams);
|
||||
}
|
||||
};
|
||||
|
||||
_this.runIfEnterPrev = function (e) {
|
||||
_this.runIfEnter(e, _this.prev);
|
||||
};
|
||||
|
||||
_this.runIfEnterNext = function (e) {
|
||||
_this.runIfEnter(e, _this.next);
|
||||
};
|
||||
|
||||
_this.runIfEnterJumpPrev = function (e) {
|
||||
_this.runIfEnter(e, _this.jumpPrev);
|
||||
};
|
||||
|
||||
_this.runIfEnterJumpNext = function (e) {
|
||||
_this.runIfEnter(e, _this.jumpNext);
|
||||
};
|
||||
|
||||
_this.handleGoTO = function (e) {
|
||||
if (e.keyCode === _KeyCode.default.ENTER || e.type === 'click') {
|
||||
_this.handleChange(_this.state.currentInputValue);
|
||||
}
|
||||
};
|
||||
|
||||
var hasOnChange = props.onChange !== noop;
|
||||
var hasCurrent = ('current' in props);
|
||||
|
||||
if (hasCurrent && !hasOnChange) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.warn('Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.');
|
||||
}
|
||||
|
||||
var _current = props.defaultCurrent;
|
||||
|
||||
if ('current' in props) {
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
_current = props.current;
|
||||
}
|
||||
|
||||
var _pageSize = props.defaultPageSize;
|
||||
|
||||
if ('pageSize' in props) {
|
||||
// eslint-disable-next-line prefer-destructuring
|
||||
_pageSize = props.pageSize;
|
||||
}
|
||||
|
||||
_current = Math.min(_current, calculatePage(_pageSize, undefined, props));
|
||||
_this.state = {
|
||||
current: _current,
|
||||
currentInputValue: _current,
|
||||
pageSize: _pageSize
|
||||
};
|
||||
return _this;
|
||||
}
|
||||
|
||||
_createClass(Pagination, [{
|
||||
key: "componentDidUpdate",
|
||||
value: function componentDidUpdate(prevProps, prevState) {
|
||||
// When current page change, fix focused style of prev item
|
||||
// A hacky solution of https://github.com/ant-design/ant-design/issues/8948
|
||||
var prefixCls = this.props.prefixCls;
|
||||
|
||||
if (prevState.current !== this.state.current && this.paginationNode) {
|
||||
var lastCurrentNode = this.paginationNode.querySelector(".".concat(prefixCls, "-item-").concat(prevState.current));
|
||||
|
||||
if (lastCurrentNode && document.activeElement === lastCurrentNode) {
|
||||
lastCurrentNode.blur();
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
key: "getValidValue",
|
||||
value: function getValidValue(e) {
|
||||
var inputValue = e.target.value;
|
||||
var allPages = calculatePage(undefined, this.state, this.props);
|
||||
var currentInputValue = this.state.currentInputValue;
|
||||
var value;
|
||||
|
||||
if (inputValue === '') {
|
||||
value = inputValue; // eslint-disable-next-line no-restricted-globals
|
||||
} else if (isNaN(Number(inputValue))) {
|
||||
value = currentInputValue;
|
||||
} else if (inputValue >= allPages) {
|
||||
value = allPages;
|
||||
} else {
|
||||
value = Number(inputValue);
|
||||
}
|
||||
|
||||
return value;
|
||||
}
|
||||
}, {
|
||||
key: "getShowSizeChanger",
|
||||
value: function getShowSizeChanger() {
|
||||
var _this$props2 = this.props,
|
||||
showSizeChanger = _this$props2.showSizeChanger,
|
||||
total = _this$props2.total,
|
||||
totalBoundaryShowSizeChanger = _this$props2.totalBoundaryShowSizeChanger;
|
||||
|
||||
if (typeof showSizeChanger !== 'undefined') {
|
||||
return showSizeChanger;
|
||||
}
|
||||
|
||||
return total > totalBoundaryShowSizeChanger;
|
||||
}
|
||||
}, {
|
||||
key: "renderPrev",
|
||||
value: function renderPrev(prevPage) {
|
||||
var _this$props3 = this.props,
|
||||
prevIcon = _this$props3.prevIcon,
|
||||
itemRender = _this$props3.itemRender;
|
||||
var prevButton = itemRender(prevPage, 'prev', this.getItemIcon(prevIcon));
|
||||
var disabled = !this.hasPrev();
|
||||
return (0, _react.isValidElement)(prevButton) ? (0, _react.cloneElement)(prevButton, {
|
||||
disabled: disabled
|
||||
}) : prevButton;
|
||||
}
|
||||
}, {
|
||||
key: "renderNext",
|
||||
value: function renderNext(nextPage) {
|
||||
var _this$props4 = this.props,
|
||||
nextIcon = _this$props4.nextIcon,
|
||||
itemRender = _this$props4.itemRender;
|
||||
var nextButton = itemRender(nextPage, 'next', this.getItemIcon(nextIcon));
|
||||
var disabled = !this.hasNext();
|
||||
return (0, _react.isValidElement)(nextButton) ? (0, _react.cloneElement)(nextButton, {
|
||||
disabled: disabled
|
||||
}) : nextButton;
|
||||
}
|
||||
}, {
|
||||
key: "render",
|
||||
value: function render() {
|
||||
var _this2 = this;
|
||||
|
||||
var _this$props5 = this.props,
|
||||
prefixCls = _this$props5.prefixCls,
|
||||
className = _this$props5.className,
|
||||
style = _this$props5.style,
|
||||
disabled = _this$props5.disabled,
|
||||
hideOnSinglePage = _this$props5.hideOnSinglePage,
|
||||
total = _this$props5.total,
|
||||
locale = _this$props5.locale,
|
||||
showQuickJumper = _this$props5.showQuickJumper,
|
||||
showLessItems = _this$props5.showLessItems,
|
||||
showTitle = _this$props5.showTitle,
|
||||
showTotal = _this$props5.showTotal,
|
||||
simple = _this$props5.simple,
|
||||
itemRender = _this$props5.itemRender,
|
||||
showPrevNextJumpers = _this$props5.showPrevNextJumpers,
|
||||
jumpPrevIcon = _this$props5.jumpPrevIcon,
|
||||
jumpNextIcon = _this$props5.jumpNextIcon,
|
||||
selectComponentClass = _this$props5.selectComponentClass,
|
||||
selectPrefixCls = _this$props5.selectPrefixCls,
|
||||
pageSizeOptions = _this$props5.pageSizeOptions;
|
||||
var _this$state = this.state,
|
||||
current = _this$state.current,
|
||||
pageSize = _this$state.pageSize,
|
||||
currentInputValue = _this$state.currentInputValue; // When hideOnSinglePage is true and there is only 1 page, hide the pager
|
||||
|
||||
if (hideOnSinglePage === true && total <= pageSize) {
|
||||
return null;
|
||||
}
|
||||
|
||||
var allPages = calculatePage(undefined, this.state, this.props);
|
||||
var pagerList = [];
|
||||
var jumpPrev = null;
|
||||
var jumpNext = null;
|
||||
var firstPager = null;
|
||||
var lastPager = null;
|
||||
var gotoButton = null;
|
||||
var goButton = showQuickJumper && showQuickJumper.goButton;
|
||||
var pageBufferSize = showLessItems ? 1 : 2;
|
||||
var prevPage = current - 1 > 0 ? current - 1 : 0;
|
||||
var nextPage = current + 1 < allPages ? current + 1 : allPages;
|
||||
var dataOrAriaAttributeProps = Object.keys(this.props).reduce(function (prev, key) {
|
||||
if (key.substr(0, 5) === 'data-' || key.substr(0, 5) === 'aria-' || key === 'role') {
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
prev[key] = _this2.props[key];
|
||||
}
|
||||
|
||||
return prev;
|
||||
}, {});
|
||||
|
||||
if (simple) {
|
||||
if (goButton) {
|
||||
if (typeof goButton === 'boolean') {
|
||||
gotoButton = /*#__PURE__*/_react.default.createElement("button", {
|
||||
type: "button",
|
||||
onClick: this.handleGoTO,
|
||||
onKeyUp: this.handleGoTO
|
||||
}, locale.jump_to_confirm);
|
||||
} else {
|
||||
gotoButton = /*#__PURE__*/_react.default.createElement("span", {
|
||||
onClick: this.handleGoTO,
|
||||
onKeyUp: this.handleGoTO
|
||||
}, goButton);
|
||||
}
|
||||
|
||||
gotoButton = /*#__PURE__*/_react.default.createElement("li", {
|
||||
title: showTitle ? "".concat(locale.jump_to).concat(current, "/").concat(allPages) : null,
|
||||
className: "".concat(prefixCls, "-simple-pager")
|
||||
}, gotoButton);
|
||||
}
|
||||
|
||||
return /*#__PURE__*/_react.default.createElement("ul", _extends({
|
||||
className: (0, _classnames.default)(prefixCls, "".concat(prefixCls, "-simple"), className),
|
||||
style: style,
|
||||
ref: this.savePaginationNode
|
||||
}, dataOrAriaAttributeProps), /*#__PURE__*/_react.default.createElement("li", {
|
||||
title: showTitle ? locale.prev_page : null,
|
||||
onClick: this.prev,
|
||||
tabIndex: this.hasPrev() ? 0 : null,
|
||||
onKeyPress: this.runIfEnterPrev,
|
||||
className: (0, _classnames.default)("".concat(prefixCls, "-prev"), _defineProperty({}, "".concat(prefixCls, "-disabled"), !this.hasPrev())),
|
||||
"aria-disabled": !this.hasPrev()
|
||||
}, this.renderPrev(prevPage)), /*#__PURE__*/_react.default.createElement("li", {
|
||||
title: showTitle ? "".concat(current, "/").concat(allPages) : null,
|
||||
className: "".concat(prefixCls, "-simple-pager")
|
||||
}, /*#__PURE__*/_react.default.createElement("input", {
|
||||
type: "text",
|
||||
value: currentInputValue,
|
||||
onKeyDown: this.handleKeyDown,
|
||||
onKeyUp: this.handleKeyUp,
|
||||
onChange: this.handleKeyUp,
|
||||
size: "3"
|
||||
}), /*#__PURE__*/_react.default.createElement("span", {
|
||||
className: "".concat(prefixCls, "-slash")
|
||||
}, "/"), allPages), /*#__PURE__*/_react.default.createElement("li", {
|
||||
title: showTitle ? locale.next_page : null,
|
||||
onClick: this.next,
|
||||
tabIndex: this.hasPrev() ? 0 : null,
|
||||
onKeyPress: this.runIfEnterNext,
|
||||
className: (0, _classnames.default)("".concat(prefixCls, "-next"), _defineProperty({}, "".concat(prefixCls, "-disabled"), !this.hasNext())),
|
||||
"aria-disabled": !this.hasNext()
|
||||
}, this.renderNext(nextPage)), gotoButton);
|
||||
}
|
||||
|
||||
if (allPages <= 3 + pageBufferSize * 2) {
|
||||
var pagerProps = {
|
||||
locale: locale,
|
||||
rootPrefixCls: prefixCls,
|
||||
onClick: this.handleChange,
|
||||
onKeyPress: this.runIfEnter,
|
||||
showTitle: showTitle,
|
||||
itemRender: itemRender
|
||||
};
|
||||
|
||||
if (!allPages) {
|
||||
pagerList.push( /*#__PURE__*/_react.default.createElement(_Pager.default, _extends({}, pagerProps, {
|
||||
key: "noPager",
|
||||
page: allPages,
|
||||
className: "".concat(prefixCls, "-disabled")
|
||||
})));
|
||||
}
|
||||
|
||||
for (var i = 1; i <= allPages; i += 1) {
|
||||
var active = current === i;
|
||||
pagerList.push( /*#__PURE__*/_react.default.createElement(_Pager.default, _extends({}, pagerProps, {
|
||||
key: i,
|
||||
page: i,
|
||||
active: active
|
||||
})));
|
||||
}
|
||||
} else {
|
||||
var prevItemTitle = showLessItems ? locale.prev_3 : locale.prev_5;
|
||||
var nextItemTitle = showLessItems ? locale.next_3 : locale.next_5;
|
||||
|
||||
if (showPrevNextJumpers) {
|
||||
jumpPrev = /*#__PURE__*/_react.default.createElement("li", {
|
||||
title: showTitle ? prevItemTitle : null,
|
||||
key: "prev",
|
||||
onClick: this.jumpPrev,
|
||||
tabIndex: "0",
|
||||
onKeyPress: this.runIfEnterJumpPrev,
|
||||
className: (0, _classnames.default)("".concat(prefixCls, "-jump-prev"), _defineProperty({}, "".concat(prefixCls, "-jump-prev-custom-icon"), !!jumpPrevIcon))
|
||||
}, itemRender(this.getJumpPrevPage(), 'jump-prev', this.getItemIcon(jumpPrevIcon)));
|
||||
jumpNext = /*#__PURE__*/_react.default.createElement("li", {
|
||||
title: showTitle ? nextItemTitle : null,
|
||||
key: "next",
|
||||
tabIndex: "0",
|
||||
onClick: this.jumpNext,
|
||||
onKeyPress: this.runIfEnterJumpNext,
|
||||
className: (0, _classnames.default)("".concat(prefixCls, "-jump-next"), _defineProperty({}, "".concat(prefixCls, "-jump-next-custom-icon"), !!jumpNextIcon))
|
||||
}, itemRender(this.getJumpNextPage(), 'jump-next', this.getItemIcon(jumpNextIcon)));
|
||||
}
|
||||
|
||||
lastPager = /*#__PURE__*/_react.default.createElement(_Pager.default, {
|
||||
locale: locale,
|
||||
last: true,
|
||||
rootPrefixCls: prefixCls,
|
||||
onClick: this.handleChange,
|
||||
onKeyPress: this.runIfEnter,
|
||||
key: allPages,
|
||||
page: allPages,
|
||||
active: false,
|
||||
showTitle: showTitle,
|
||||
itemRender: itemRender
|
||||
});
|
||||
firstPager = /*#__PURE__*/_react.default.createElement(_Pager.default, {
|
||||
locale: locale,
|
||||
rootPrefixCls: prefixCls,
|
||||
onClick: this.handleChange,
|
||||
onKeyPress: this.runIfEnter,
|
||||
key: 1,
|
||||
page: 1,
|
||||
active: false,
|
||||
showTitle: showTitle,
|
||||
itemRender: itemRender
|
||||
});
|
||||
var left = Math.max(1, current - pageBufferSize);
|
||||
var right = Math.min(current + pageBufferSize, allPages);
|
||||
|
||||
if (current - 1 <= pageBufferSize) {
|
||||
right = 1 + pageBufferSize * 2;
|
||||
}
|
||||
|
||||
if (allPages - current <= pageBufferSize) {
|
||||
left = allPages - pageBufferSize * 2;
|
||||
}
|
||||
|
||||
for (var _i = left; _i <= right; _i += 1) {
|
||||
var _active = current === _i;
|
||||
|
||||
pagerList.push( /*#__PURE__*/_react.default.createElement(_Pager.default, {
|
||||
locale: locale,
|
||||
rootPrefixCls: prefixCls,
|
||||
onClick: this.handleChange,
|
||||
onKeyPress: this.runIfEnter,
|
||||
key: _i,
|
||||
page: _i,
|
||||
active: _active,
|
||||
showTitle: showTitle,
|
||||
itemRender: itemRender
|
||||
}));
|
||||
}
|
||||
|
||||
if (current - 1 >= pageBufferSize * 2 && current !== 1 + 2) {
|
||||
pagerList[0] = (0, _react.cloneElement)(pagerList[0], {
|
||||
className: "".concat(prefixCls, "-item-after-jump-prev")
|
||||
});
|
||||
pagerList.unshift(jumpPrev);
|
||||
}
|
||||
|
||||
if (allPages - current >= pageBufferSize * 2 && current !== allPages - 2) {
|
||||
pagerList[pagerList.length - 1] = (0, _react.cloneElement)(pagerList[pagerList.length - 1], {
|
||||
className: "".concat(prefixCls, "-item-before-jump-next")
|
||||
});
|
||||
pagerList.push(jumpNext);
|
||||
}
|
||||
|
||||
if (left !== 1) {
|
||||
pagerList.unshift(firstPager);
|
||||
}
|
||||
|
||||
if (right !== allPages) {
|
||||
pagerList.push(lastPager);
|
||||
}
|
||||
}
|
||||
|
||||
var totalText = null;
|
||||
|
||||
if (showTotal) {
|
||||
totalText = /*#__PURE__*/_react.default.createElement("li", {
|
||||
className: "".concat(prefixCls, "-total-text")
|
||||
}, showTotal(total, [total === 0 ? 0 : (current - 1) * pageSize + 1, current * pageSize > total ? total : current * pageSize]));
|
||||
}
|
||||
|
||||
var prevDisabled = !this.hasPrev() || !allPages;
|
||||
var nextDisabled = !this.hasNext() || !allPages;
|
||||
return /*#__PURE__*/_react.default.createElement("ul", _extends({
|
||||
className: (0, _classnames.default)(prefixCls, className, _defineProperty({}, "".concat(prefixCls, "-disabled"), disabled)),
|
||||
style: style,
|
||||
unselectable: "unselectable",
|
||||
ref: this.savePaginationNode
|
||||
}, dataOrAriaAttributeProps), totalText, /*#__PURE__*/_react.default.createElement("li", {
|
||||
title: showTitle ? locale.prev_page : null,
|
||||
onClick: this.prev,
|
||||
tabIndex: prevDisabled ? null : 0,
|
||||
onKeyPress: this.runIfEnterPrev,
|
||||
className: (0, _classnames.default)("".concat(prefixCls, "-prev"), _defineProperty({}, "".concat(prefixCls, "-disabled"), prevDisabled)),
|
||||
"aria-disabled": prevDisabled
|
||||
}, this.renderPrev(prevPage)), pagerList, /*#__PURE__*/_react.default.createElement("li", {
|
||||
title: showTitle ? locale.next_page : null,
|
||||
onClick: this.next,
|
||||
tabIndex: nextDisabled ? null : 0,
|
||||
onKeyPress: this.runIfEnterNext,
|
||||
className: (0, _classnames.default)("".concat(prefixCls, "-next"), _defineProperty({}, "".concat(prefixCls, "-disabled"), nextDisabled)),
|
||||
"aria-disabled": nextDisabled
|
||||
}, this.renderNext(nextPage)), /*#__PURE__*/_react.default.createElement(_Options.default, {
|
||||
disabled: disabled,
|
||||
locale: locale,
|
||||
rootPrefixCls: prefixCls,
|
||||
selectComponentClass: selectComponentClass,
|
||||
selectPrefixCls: selectPrefixCls,
|
||||
changeSize: this.getShowSizeChanger() ? this.changePageSize : null,
|
||||
current: current,
|
||||
pageSize: pageSize,
|
||||
pageSizeOptions: pageSizeOptions,
|
||||
quickGo: this.shouldDisplayQuickJumper() ? this.handleChange : null,
|
||||
goButton: goButton
|
||||
}));
|
||||
}
|
||||
}], [{
|
||||
key: "getDerivedStateFromProps",
|
||||
value: function getDerivedStateFromProps(props, prevState) {
|
||||
var newState = {};
|
||||
|
||||
if ('current' in props) {
|
||||
newState.current = props.current;
|
||||
|
||||
if (props.current !== prevState.current) {
|
||||
newState.currentInputValue = newState.current;
|
||||
}
|
||||
}
|
||||
|
||||
if ('pageSize' in props && props.pageSize !== prevState.pageSize) {
|
||||
var current = prevState.current;
|
||||
var newCurrent = calculatePage(props.pageSize, prevState, props);
|
||||
current = current > newCurrent ? newCurrent : current;
|
||||
|
||||
if (!('current' in props)) {
|
||||
newState.current = current;
|
||||
newState.currentInputValue = current;
|
||||
}
|
||||
|
||||
newState.pageSize = props.pageSize;
|
||||
}
|
||||
|
||||
return newState;
|
||||
}
|
||||
}]);
|
||||
|
||||
return Pagination;
|
||||
}(_react.default.Component);
|
||||
|
||||
Pagination.defaultProps = {
|
||||
defaultCurrent: 1,
|
||||
total: 0,
|
||||
defaultPageSize: 10,
|
||||
onChange: noop,
|
||||
className: '',
|
||||
selectPrefixCls: 'rc-select',
|
||||
prefixCls: 'rc-pagination',
|
||||
selectComponentClass: null,
|
||||
hideOnSinglePage: false,
|
||||
showPrevNextJumpers: true,
|
||||
showQuickJumper: false,
|
||||
showLessItems: false,
|
||||
showTitle: true,
|
||||
onShowSizeChange: noop,
|
||||
locale: _zh_CN.default,
|
||||
style: {},
|
||||
itemRender: defaultItemRender,
|
||||
totalBoundaryShowSizeChanger: 50
|
||||
};
|
||||
var _default = Pagination;
|
||||
exports.default = _default;
|
||||
15
web/node_modules/rc-pagination/lib/index.js
generated
vendored
Normal file
15
web/node_modules/rc-pagination/lib/index.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "default", {
|
||||
enumerable: true,
|
||||
get: function get() {
|
||||
return _Pagination.default;
|
||||
}
|
||||
});
|
||||
|
||||
var _Pagination = _interopRequireDefault(require("./Pagination"));
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
21
web/node_modules/rc-pagination/lib/locale/ar_EG.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/ar_EG.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ الصفحة',
|
||||
jump_to: 'الذهاب إلى',
|
||||
jump_to_confirm: 'تأكيد',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'الصفحة السابقة',
|
||||
next_page: 'الصفحة التالية',
|
||||
prev_5: 'خمس صفحات سابقة',
|
||||
next_5: 'خمس صفحات تالية',
|
||||
prev_3: 'ثلاث صفحات سابقة',
|
||||
next_3: 'ثلاث صفحات تالية'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/az_AZ.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/az_AZ.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ səhifə',
|
||||
jump_to: 'Get',
|
||||
jump_to_confirm: 'təsdiqlə',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Əvvəlki Səhifə',
|
||||
next_page: 'Növbəti Səhifə',
|
||||
prev_5: 'Əvvəlki 5 Səhifə',
|
||||
next_5: 'Növbəti 5 Səhifə',
|
||||
prev_3: 'Əvvəlki 3 Səhifə',
|
||||
next_3: 'Növbəti 3 Səhifə'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/bg_BG.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/bg_BG.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ страница',
|
||||
jump_to: 'Към',
|
||||
jump_to_confirm: 'потвърждавам',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Предишна страница',
|
||||
next_page: 'Следваща страница',
|
||||
prev_5: 'Предишни 5 страници',
|
||||
next_5: 'Следващи 5 страници',
|
||||
prev_3: 'Предишни 3 страници',
|
||||
next_3: 'Следващи 3 страници'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/ca_ES.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/ca_ES.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ pàgina',
|
||||
jump_to: 'Anar a',
|
||||
jump_to_confirm: 'Confirma',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Pàgina prèvia',
|
||||
next_page: 'Pàgina següent',
|
||||
prev_5: '5 pàgines prèvies',
|
||||
next_5: '5 pàgines següents',
|
||||
prev_3: '3 pàgines prèvies',
|
||||
next_3: '3 pàgines següents'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/cs_CZ.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/cs_CZ.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ strana',
|
||||
jump_to: 'Přejít',
|
||||
jump_to_confirm: 'potvrdit',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Předchozí strana',
|
||||
next_page: 'Následující strana',
|
||||
prev_5: 'Předchozích 5 stran',
|
||||
next_5: 'Následujících 5 stran',
|
||||
prev_3: 'Předchozí 3 strany',
|
||||
next_3: 'Následující 3 strany'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/da_DK.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/da_DK.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ side',
|
||||
jump_to: 'Gå til',
|
||||
jump_to_confirm: 'bekræft',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Forrige Side',
|
||||
next_page: 'Næste Side',
|
||||
prev_5: 'Forrige 5 Sider',
|
||||
next_5: 'Næste 5 Sider',
|
||||
prev_3: 'Forrige 3 Sider',
|
||||
next_3: 'Næste 3 Sider'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/de_DE.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/de_DE.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ Seite',
|
||||
jump_to: 'Gehe zu',
|
||||
jump_to_confirm: 'bestätigen',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Vorherige Seite',
|
||||
next_page: 'Nächste Seite',
|
||||
prev_5: '5 Seiten zurück',
|
||||
next_5: '5 Seiten vor',
|
||||
prev_3: '3 Seiten zurück',
|
||||
next_3: '3 Seiten vor'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/el_GR.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/el_GR.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ σελίδα',
|
||||
jump_to: 'Μετάβαση',
|
||||
jump_to_confirm: 'επιβεβαιώνω',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Προηγούμενη Σελίδα',
|
||||
next_page: 'Επόμενη Σελίδα',
|
||||
prev_5: 'Προηγούμενες 5 Σελίδες',
|
||||
next_5: 'Επόμενες 5 σελίδες',
|
||||
prev_3: 'Προηγούμενες 3 Σελίδες',
|
||||
next_3: 'Επόμενες 3 Σελίδες'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/en_GB.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/en_GB.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ page',
|
||||
jump_to: 'Go to',
|
||||
jump_to_confirm: 'confirm',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Previous Page',
|
||||
next_page: 'Next Page',
|
||||
prev_5: 'Previous 5 Pages',
|
||||
next_5: 'Next 5 Pages',
|
||||
prev_3: 'Previous 3 Pages',
|
||||
next_3: 'Next 3 Pages'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/en_US.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/en_US.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ page',
|
||||
jump_to: 'Go to',
|
||||
jump_to_confirm: 'confirm',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Previous Page',
|
||||
next_page: 'Next Page',
|
||||
prev_5: 'Previous 5 Pages',
|
||||
next_5: 'Next 5 Pages',
|
||||
prev_3: 'Previous 3 Pages',
|
||||
next_3: 'Next 3 Pages'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/es_ES.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/es_ES.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ página',
|
||||
jump_to: 'Ir a',
|
||||
jump_to_confirm: 'confirmar',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Página anterior',
|
||||
next_page: 'Página siguiente',
|
||||
prev_5: '5 páginas previas',
|
||||
next_5: '5 páginas siguientes',
|
||||
prev_3: '3 páginas previas',
|
||||
next_3: '3 páginas siguientes'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/et_EE.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/et_EE.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ leheküljel',
|
||||
jump_to: 'Hüppa',
|
||||
jump_to_confirm: 'Kinnitage',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Eelmine leht',
|
||||
next_page: 'Järgmine leht',
|
||||
prev_5: 'Eelmised 5 lehekülge',
|
||||
next_5: 'Järgmised 5 lehekülge',
|
||||
prev_3: 'Eelmised 3 lehekülge',
|
||||
next_3: 'Järgmised 3 lehekülge'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/fa_IR.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/fa_IR.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ صفحه',
|
||||
jump_to: 'برو به',
|
||||
jump_to_confirm: 'تایید',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'صفحه قبلی',
|
||||
next_page: 'صفحه بعدی',
|
||||
prev_5: '۵ صفحه قبلی',
|
||||
next_5: '۵ صفحه بعدی',
|
||||
prev_3: '۳ صفحه قبلی',
|
||||
next_3: '۳ صفحه بعدی'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/fi_FI.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/fi_FI.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ sivu',
|
||||
jump_to: 'Mene',
|
||||
jump_to_confirm: 'Potvrdite',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Edellinen sivu',
|
||||
next_page: 'Seuraava sivu',
|
||||
prev_5: 'Edelliset 5 sivua',
|
||||
next_5: 'Seuraavat 5 sivua',
|
||||
prev_3: 'Edelliset 3 sivua',
|
||||
next_3: 'Seuraavat 3 sivua'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/fr_BE.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/fr_BE.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ page',
|
||||
jump_to: 'Aller à',
|
||||
jump_to_confirm: 'confirmer',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Page précédente',
|
||||
next_page: 'Page suivante',
|
||||
prev_5: '5 Pages précédentes',
|
||||
next_5: '5 Pages suivantes',
|
||||
prev_3: '3 Pages précédentes',
|
||||
next_3: '3 Pages suivantes'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/fr_FR.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/fr_FR.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ page',
|
||||
jump_to: 'Aller à',
|
||||
jump_to_confirm: 'confirmer',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Page précédente',
|
||||
next_page: 'Page suivante',
|
||||
prev_5: '5 Pages précédentes',
|
||||
next_5: '5 Pages suivantes',
|
||||
prev_3: '3 Pages précédentes',
|
||||
next_3: '3 Pages suivantes'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/he_IL.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/he_IL.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ עמוד',
|
||||
jump_to: 'עבור אל',
|
||||
jump_to_confirm: 'אישור',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'העמוד הקודם',
|
||||
next_page: 'העמוד הבא',
|
||||
prev_5: '5 עמודים קודמים',
|
||||
next_5: '5 עמודים הבאים',
|
||||
prev_3: '3 עמודים קודמים',
|
||||
next_3: '3 עמודים הבאים'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/hi_IN.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/hi_IN.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ पृष्ठ',
|
||||
jump_to: 'इस पर चलें',
|
||||
jump_to_confirm: 'पुष्टि करें',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'पिछला पृष्ठ',
|
||||
next_page: 'अगला पृष्ठ',
|
||||
prev_5: 'पिछले 5 पृष्ठ',
|
||||
next_5: 'अगले 5 पृष्ठ',
|
||||
prev_3: 'पिछले 3 पृष्ठ',
|
||||
next_3: 'अगले 3 पेज'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/hr_HR.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/hr_HR.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ str',
|
||||
jump_to: 'Idi na',
|
||||
jump_to_confirm: 'potvrdi',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Prijašnja stranica',
|
||||
next_page: 'Sljedeća stranica',
|
||||
prev_5: 'Prijašnjih 5 stranica',
|
||||
next_5: 'Sljedećih 5 stranica',
|
||||
prev_3: 'Prijašnje 3 stranice',
|
||||
next_3: 'Sljedeće 3 stranice'
|
||||
};
|
||||
exports.default = _default;
|
||||
30
web/node_modules/rc-pagination/lib/locale/hu_HU.js
generated
vendored
Normal file
30
web/node_modules/rc-pagination/lib/locale/hu_HU.js
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ oldal',
|
||||
// '/ page',
|
||||
jump_to: 'Ugrás',
|
||||
// 'Goto',
|
||||
jump_to_confirm: 'megerősít',
|
||||
// 'confirm',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Előző oldal',
|
||||
// 'Previous Page',
|
||||
next_page: 'Következő oldal',
|
||||
// 'Next Page',
|
||||
prev_5: 'Előző 5 oldal',
|
||||
// 'Previous 5 Pages',
|
||||
next_5: 'Következő 5 oldal',
|
||||
// 'Next 5 Pages',
|
||||
prev_3: 'Előző 3 oldal',
|
||||
// 'Previous 3 Pages',
|
||||
next_3: 'Következő 3 oldal' // 'Next 3 Pages',
|
||||
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/id_ID.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/id_ID.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ halaman',
|
||||
jump_to: 'Menuju',
|
||||
jump_to_confirm: 'konfirmasi',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Halaman Sebelumnya',
|
||||
next_page: 'Halaman Berikutnya',
|
||||
prev_5: '5 Halaman Sebelumnya',
|
||||
next_5: '5 Halaman Berikutnya',
|
||||
prev_3: '3 Halaman Sebelumnya',
|
||||
next_3: '3 Halaman Berikutnya'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/is_IS.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/is_IS.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ síðu',
|
||||
jump_to: 'Síða',
|
||||
jump_to_confirm: 'staðfest',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Fyrri síða',
|
||||
next_page: 'Næsta síða',
|
||||
prev_5: 'Til baka 5 síður',
|
||||
next_5: 'Áfram 5 síður',
|
||||
prev_3: 'Til baka 3 síður',
|
||||
next_3: 'Áfram 3 síður'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/it_IT.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/it_IT.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ pagina',
|
||||
jump_to: 'vai a',
|
||||
jump_to_confirm: 'Conferma',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Pagina precedente',
|
||||
next_page: 'Pagina successiva',
|
||||
prev_5: 'Precedente 5 pagine',
|
||||
next_5: 'Prossime 5 pagine',
|
||||
prev_3: 'Precedente 3 pagine',
|
||||
next_3: 'Prossime 3 pagine'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/ja_JP.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/ja_JP.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ ページ',
|
||||
jump_to: '移動',
|
||||
jump_to_confirm: '確認する',
|
||||
page: 'ページ',
|
||||
// Pagination.jsx
|
||||
prev_page: '前のページ',
|
||||
next_page: '次のページ',
|
||||
prev_5: '前 5ページ',
|
||||
next_5: '次 5ページ',
|
||||
prev_3: '前 3ページ',
|
||||
next_3: '次 3ページ'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/kn_IN.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/kn_IN.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ ಪುಟ',
|
||||
jump_to: 'ಜಿಗಿತವನ್ನು',
|
||||
jump_to_confirm: 'ಖಚಿತಪಡಿಸಲು ಜಿಗಿತವನ್ನು',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'ಹಿಂದಿನ ಪುಟ',
|
||||
next_page: 'ಮುಂದಿನ ಪುಟ',
|
||||
prev_5: 'ಹಿಂದಿನ 5 ಪುಟಗಳು',
|
||||
next_5: 'ಮುಂದಿನ 5 ಪುಟಗಳು',
|
||||
prev_3: 'ಹಿಂದಿನ 3 ಪುಟಗಳು',
|
||||
next_3: 'ಮುಂದಿನ 3 ಪುಟಗಳು'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/ko_KR.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/ko_KR.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ 쪽',
|
||||
jump_to: '이동하기',
|
||||
jump_to_confirm: '확인하다',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: '이전 페이지',
|
||||
next_page: '다음 페이지',
|
||||
prev_5: '이전 5 페이지',
|
||||
next_5: '다음 5 페이지',
|
||||
prev_3: '이전 3 페이지',
|
||||
next_3: '다음 3 페이지'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/ku_IQ.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/ku_IQ.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ rûpel',
|
||||
jump_to: 'Biçe',
|
||||
jump_to_confirm: 'piştrast bike',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Rûpelê Pêş',
|
||||
next_page: 'Rûpelê Paş',
|
||||
prev_5: '5 Rûpelên Pêş',
|
||||
next_5: '5 Rûpelên Paş',
|
||||
prev_3: '3 Rûpelên Pêş',
|
||||
next_3: '3 Rûpelên Paş'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/lv_LV.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/lv_LV.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ lappuse',
|
||||
jump_to: 'iet uz',
|
||||
jump_to_confirm: 'apstiprināt',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Iepriekšējā lapa',
|
||||
next_page: 'Nākamā lapaspuse',
|
||||
prev_5: 'Iepriekšējās 5 lapas',
|
||||
next_5: 'Nākamās 5 lapas',
|
||||
prev_3: 'Iepriekšējās 3 lapas',
|
||||
next_3: 'Nākamās 3 lapas'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/mk_MK.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/mk_MK.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ стр',
|
||||
jump_to: 'Оди на',
|
||||
jump_to_confirm: 'потврди',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Претходна страница',
|
||||
next_page: 'Наредна страница',
|
||||
prev_5: 'Претходни 5 страници',
|
||||
next_5: 'Наредни 5 страници',
|
||||
prev_3: 'Претходни 3 страници',
|
||||
next_3: 'Наредни 3 страници'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/mm_MM.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/mm_MM.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ စာမျက်နှာ',
|
||||
jump_to: 'သွားရန်',
|
||||
jump_to_confirm: 'သေချာပြီ',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'ယခင်စာမျက်နှာ',
|
||||
next_page: 'နောက်စာမျက်နှာ',
|
||||
prev_5: 'ယခင် ၅ခုမြောက်',
|
||||
next_5: 'နောက် ၅ခုမြောက်',
|
||||
prev_3: 'ယခင် ၃ခုမြောက်',
|
||||
next_3: 'နောက် ၃ခုမြောက်'
|
||||
};
|
||||
exports.default = _default;
|
||||
21
web/node_modules/rc-pagination/lib/locale/mn_MN.js
generated
vendored
Normal file
21
web/node_modules/rc-pagination/lib/locale/mn_MN.js
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _default = {
|
||||
// Options.jsx
|
||||
items_per_page: '/ хуудас',
|
||||
jump_to: 'Шилжих',
|
||||
jump_to_confirm: 'сонгох',
|
||||
page: '',
|
||||
// Pagination.jsx
|
||||
prev_page: 'Өмнөх хуудас',
|
||||
next_page: 'Дараагийн хуудас',
|
||||
prev_5: 'Дараагийн 5 хуудас',
|
||||
next_5: 'Дараагийн 5 хуудас',
|
||||
prev_3: 'Дараагийн 3 хуудас',
|
||||
next_3: 'Дараагийн 3 хуудас'
|
||||
};
|
||||
exports.default = _default;
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user