+ * 初始化启动配置 + */ +@UtilityClass +public class StartUpEnvInitUtil { + + @SneakyThrows + public void init() { + // 启动时候, 创建对应目录. 避免 1.4.0 启动失败 + String confFilePath = ApplicationUtils.getConfFilePath(); + FileUtils.forceMkdir(new File(confFilePath)); + + // 设置环境变量,Nacos 读取这部分配置 + System.setProperty(ConfigConstants.NACOS_TOMCAT_BASEDIR, ApplicationUtils.getNacosTmpDir()); + System.setProperty(ConfigConstants.STANDALONE_MODE, Boolean.TRUE.toString()); + System.setProperty(ConfigConstants.AUTH_ENABLED, Boolean.FALSE.toString()); + System.setProperty(ConfigConstants.MCP_SERVER_ENABLED, Boolean.FALSE.toString()); + } + +} diff --git a/pig-register/src/main/resources/application.yml b/pig-register/src/main/resources/application.yml index 33df5f34..0706b11c 100755 --- a/pig-register/src/main/resources/application.yml +++ b/pig-register/src/main/resources/application.yml @@ -1,7 +1,5 @@ server: port: 8848 - tomcat: - basedir: logs db: num: 1 @@ -21,17 +19,33 @@ nacos: urls: /,/error,/**/*.css,/**/*.js,/**/*.html,/**/*.map,/**/*.svg,/**/*.png,/**/*.ico,/console-fe/public/**,/v1/auth/**,/v1/console/health/**,/actuator/**,/v1/console/server/** spring: + application: + name: @artifactId@ datasource: platform: mysql security: enabled: true + boot: # 接入 spring boot admin + admin: + client: + url: http://pig-monitor:5001 + username: pig + password: pig useAddressServer: true +# 关闭监控埋点采集 management: + endpoints: + web: + exposure: + include: '*' + endpoint: + health: + show-details: always metrics: export: - influx: - enabled: false elastic: enabled: false + influx: + enabled: false \ No newline at end of file diff --git a/pig-register/src/main/resources/static/console-fe/.babelrc b/pig-register/src/main/resources/static/console-fe/.babelrc deleted file mode 100644 index e1ef74e0..00000000 --- a/pig-register/src/main/resources/static/console-fe/.babelrc +++ /dev/null @@ -1,26 +0,0 @@ -{ - "presets": [ - [ - "@babel/preset-env", - { - "useBuiltIns": "entry" - } - ], - "react-app" - ], - "plugins": [ - [ - "@babel/plugin-proposal-decorators", - { - "legacy": true - } - ], - [ - "babel-plugin-import", - { - "libraryName": "@alifd/next", - "style": true - } - ] - ] -} diff --git a/pig-register/src/main/resources/static/console-fe/.editorconfig b/pig-register/src/main/resources/static/console-fe/.editorconfig deleted file mode 100644 index 3331d704..00000000 --- a/pig-register/src/main/resources/static/console-fe/.editorconfig +++ /dev/null @@ -1,16 +0,0 @@ -# http://editorconfig.org -root = true - -[*] -indent_style = space -indent_size = 2 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true - -[*.md] -trim_trailing_whitespace = false - -[Makefile] -indent_style = tab \ No newline at end of file diff --git a/pig-register/src/main/resources/static/console-fe/.eslintignore b/pig-register/src/main/resources/static/console-fe/.eslintignore deleted file mode 100644 index 2a606840..00000000 --- a/pig-register/src/main/resources/static/console-fe/.eslintignore +++ /dev/null @@ -1,6 +0,0 @@ -*.svg -*.ejs -.DS_Store -build -node_modules -public \ No newline at end of file diff --git a/pig-register/src/main/resources/static/console-fe/.eslintrc b/pig-register/src/main/resources/static/console-fe/.eslintrc deleted file mode 100644 index 3c1a725a..00000000 --- a/pig-register/src/main/resources/static/console-fe/.eslintrc +++ /dev/null @@ -1,36 +0,0 @@ -{ - "extends": "eslint-config-ali/react", - "parser": "babel-eslint", - "env": {}, - "globals": { - "window": true - }, - "rules": { - "no-shadow": "off", - "no-empty": "off", - "no-useless-escape": "off", - "no-template-curly-in-string": "off", - "no-unused-vars": "off", - "no-tabs": "off", - "no-param-reassign": "off", - "react/no-string-refs": "off", - "react/no-unused-state": "off", - "no-return-assign": "off", - "no-plusplus": "off", - "no-script-url": "off", - "no-mixed-operators": "off", - "react/jsx-indent": "off", - "react/jsx-no-bind": "off", - "react/forbid-prop-types": "off", - "react/no-array-index-key": "off", - "react/sort-comp": "off", - "implicit-arrow-linebreak": "off", - "prefer-const": "off", - "space-before-function-paren": "off", - "generator-star-spacing": "off", - "wrap-iife": "off", - "arrow-parens": "off", - "indent": "off", - "comma-dangle": "off" - } -} diff --git a/pig-register/src/main/resources/static/console-fe/.gitignore b/pig-register/src/main/resources/static/console-fe/.gitignore deleted file mode 100644 index f086a3b1..00000000 --- a/pig-register/src/main/resources/static/console-fe/.gitignore +++ /dev/null @@ -1,19 +0,0 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - -# dependencies -/node_modules - -# production -/dist - -# log -yarn-error.log - -# misc -.DS_Store -npm-debug.log* - -# test -test/uirecorder.log -test/reports -test/screenshots/* \ No newline at end of file diff --git a/pig-register/src/main/resources/static/console-fe/.prettierignore b/pig-register/src/main/resources/static/console-fe/.prettierignore deleted file mode 100644 index 2a606840..00000000 --- a/pig-register/src/main/resources/static/console-fe/.prettierignore +++ /dev/null @@ -1,6 +0,0 @@ -*.svg -*.ejs -.DS_Store -build -node_modules -public \ No newline at end of file diff --git a/pig-register/src/main/resources/static/console-fe/.prettierrc b/pig-register/src/main/resources/static/console-fe/.prettierrc deleted file mode 100644 index 0f6921f6..00000000 --- a/pig-register/src/main/resources/static/console-fe/.prettierrc +++ /dev/null @@ -1,9 +0,0 @@ -{ - "tabWidth": 2, - "printWidth": 100, - "semi": true, - "useTabs": false, - "bracketSpacing": true, - "singleQuote": true, - "trailingComma": "es5" -} diff --git a/pig-register/src/main/resources/static/console-fe/README.md b/pig-register/src/main/resources/static/console-fe/README.md deleted file mode 100644 index 4fda681b..00000000 --- a/pig-register/src/main/resources/static/console-fe/README.md +++ /dev/null @@ -1,60 +0,0 @@ -# 开始项目 -## cnpm 安装(可忽略) -```sh -npm install -g cnpm --registry=https://registry.npm.taobao.org - -# 设置匿名 -alias cnpm="npm --registry=https://registry.npm.taobao.org \ ---cache=$HOME/.npm/.cache/cnpm \ ---disturl=https://npm.taobao.org/dist \ ---userconfig=$HOME/.cnpmrc" - -# Or alias it in .bashrc or .zshrc -$ echo '\n#alias for cnpm\nalias cnpm="npm --registry=https://registry.npm.taobao.org \ - --cache=$HOME/.npm/.cache/cnpm \ - --disturl=https://npm.taobao.org/dist \ - --userconfig=$HOME/.cnpmrc"' >> ~/.zshrc && source ~/.zshrc - -``` -[详情地址: http://npm.taobao.org/](http://npm.taobao.org/) - -## 安装依赖 -```sh -yarn -``` -或 -``` -cnpm install -``` - -## 启动 -```sh -yarn start -``` -或 -``` -npm start -``` - -## 构建打包 -```sh -yarn build -``` -或 -``` -npm run build -``` -## - -# 代理配置 -`build/webpack.dev.conf.js` -修改proxy属性 - -``` -proxy: [{ - context: ['/'], - changeOrigin: true, - secure: false, - target: 'http://ip:port', -}], -``` diff --git a/pig-register/src/main/resources/static/console-fe/package.json b/pig-register/src/main/resources/static/console-fe/package.json deleted file mode 100644 index 22f68229..00000000 --- a/pig-register/src/main/resources/static/console-fe/package.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "name": "console-fe", - "version": "1.0.0", - "description": "console fe", - "main": "index.js", - "scripts": { - "start": "cross-env NODE_ENV=development webpack-dev-server --config build/webpack.dev.conf.js", - "build": "cross-env NODE_ENV=production webpack --config build/webpack.prod.conf.js && node build/copyFile.js", - "eslint": "eslint --ext .js src/", - "eslint-fix": "eslint --ext .js --fix src/" - }, - "husky": { - "hooks": { - "pre-commit": "lint-staged" - } - }, - "lint-staged": { - "*.{js,css,less}": [ - "prettier --write", - "git add" - ] - }, - "license": "Apache-2.0", - "repository": { - "type": "git", - "url": "git+https://github.com/alibaba/nacos.git" - }, - "devDependencies": { - "@alifd/next-theme-loader": "^1.3.1", - "@babel/cli": "^7.7.7", - "@babel/core": "^7.7.7", - "@babel/plugin-proposal-decorators": "^7.7.4", - "@babel/preset-env": "^7.7.7", - "@babel/runtime": "^7.7.7", - "babel-eslint": "^10.0.1", - "babel-loader": "^8.0.4", - "babel-plugin-import": "^1.13.0", - "babel-preset-react-app": "^9.1.0", - "clean-webpack-plugin": "^3.0.0", - "copy-webpack-plugin": "^5.1.1 ", - "cross-env": "^6.0.3", - "css-loader": "^3.4.0", - "eslint": "^6.8.0", - "eslint-config-ali": "^9.0.2", - "eslint-config-prettier": "^6.8.0", - "eslint-loader": "^3.0.3", - "eslint-plugin-import": "^2.14.0", - "eslint-plugin-prettier": "^3.0.0", - "eslint-plugin-react": "^7.17.0", - "eslint-plugin-react-hooks": "^2.3.0", - "file-loader": "^5.0.2", - "html-webpack-plugin": "^3.2.0", - "husky": "^3.1.0", - "lint-staged": "^9.5.0", - "mini-css-extract-plugin": "^0.9.0", - "node-sass": "^4.13.0", - "optimize-css-assets-webpack-plugin": "^5.0.3", - "prettier": "1.19.1", - "sass-loader": "^8.0.0", - "style-loader": "^1.1.2", - "uglifyjs-webpack-plugin": "^2.2.0", - "url-loader": "^3.0.0", - "webpack": "^4.43.0", - "webpack-cli": "^3.3.12", - "webpack-dev-server": "^3.11.0" - }, - "dependencies": { - "@alifd/next": "^1.17.4", - "axios": "^0.18.0", - "moment": "^2.23.0", - "qs": "^6.8.2", - "prop-types": "^15.6.2", - "react": "^16.12.0", - "react-dom": "^16.12.0", - "react-redux": "^7.1.3", - "react-router": "^5.1.2", - "react-router-dom": "^5.1.2", - "react-router-redux": "^4.0.8", - "redux": "^4.0.5", - "redux-thunk": "^2.3.0", - "yamljs": "^0.3.0" - } -} diff --git a/pig-register/src/main/resources/static/console-fe/public/css/bootstrap.css b/pig-register/src/main/resources/static/console-fe/public/css/bootstrap.css old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/css/codemirror.css b/pig-register/src/main/resources/static/console-fe/public/css/codemirror.css old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/css/console1412.css b/pig-register/src/main/resources/static/console-fe/public/css/console1412.css old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/css/font-awesome.css b/pig-register/src/main/resources/static/console-fe/public/css/font-awesome.css old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/css/fonts/aliyun-console-font.eot b/pig-register/src/main/resources/static/console-fe/public/css/fonts/aliyun-console-font.eot old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/css/fonts/aliyun-console-font.ttf b/pig-register/src/main/resources/static/console-fe/public/css/fonts/aliyun-console-font.ttf old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/css/fonts/aliyun-console-font.woff b/pig-register/src/main/resources/static/console-fe/public/css/fonts/aliyun-console-font.woff old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/css/fonts/font_515771_emcns5054x3whfr.ttf b/pig-register/src/main/resources/static/console-fe/public/css/fonts/font_515771_emcns5054x3whfr.ttf old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/css/fonts/font_515771_emcns5054x3whfr.woff b/pig-register/src/main/resources/static/console-fe/public/css/fonts/font_515771_emcns5054x3whfr.woff old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/css/fonts/roboto-bold.ttf b/pig-register/src/main/resources/static/console-fe/public/css/fonts/roboto-bold.ttf old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/css/fonts/roboto-bold.woff b/pig-register/src/main/resources/static/console-fe/public/css/fonts/roboto-bold.woff old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/css/fonts/roboto-bold.woff2 b/pig-register/src/main/resources/static/console-fe/public/css/fonts/roboto-bold.woff2 old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/css/fonts/roboto-regular.ttf b/pig-register/src/main/resources/static/console-fe/public/css/fonts/roboto-regular.ttf old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/css/fonts/roboto-regular.woff b/pig-register/src/main/resources/static/console-fe/public/css/fonts/roboto-regular.woff old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/css/fonts/roboto-regular.woff2 b/pig-register/src/main/resources/static/console-fe/public/css/fonts/roboto-regular.woff2 old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/css/icon.css b/pig-register/src/main/resources/static/console-fe/public/css/icon.css old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/css/merge.css b/pig-register/src/main/resources/static/console-fe/public/css/merge.css old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-bold.eot b/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-bold.eot old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-bold.ttf b/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-bold.ttf old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-bold.woff b/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-bold.woff old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-bold.woff2 b/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-bold.woff2 old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-light.eot b/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-light.eot old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-light.ttf b/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-light.ttf old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-light.woff b/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-light.woff old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-light.woff2 b/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-light.woff2 old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-medium.eot b/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-medium.eot old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-medium.ttf b/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-medium.ttf old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-medium.woff b/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-medium.woff old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-medium.woff2 b/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-medium.woff2 old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-regular.eot b/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-regular.eot old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-regular.ttf b/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-regular.ttf old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-regular.woff b/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-regular.woff old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-regular.woff2 b/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-regular.woff2 old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-thin.eot b/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-thin.eot old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-thin.ttf b/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-thin.ttf old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-thin.woff b/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-thin.woff old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-thin.woff2 b/pig-register/src/main/resources/static/console-fe/public/fonts/roboto-thin.woff2 old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/icons/icon-font.eot b/pig-register/src/main/resources/static/console-fe/public/icons/icon-font.eot old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/icons/icon-font.svg b/pig-register/src/main/resources/static/console-fe/public/icons/icon-font.svg old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/icons/icon-font.ttf b/pig-register/src/main/resources/static/console-fe/public/icons/icon-font.ttf old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/icons/icon-font.woff b/pig-register/src/main/resources/static/console-fe/public/icons/icon-font.woff old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/img/black_dot.png b/pig-register/src/main/resources/static/console-fe/public/img/black_dot.png old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/img/favicon.ico b/pig-register/src/main/resources/static/console-fe/public/img/favicon.ico old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/img/logo-2000-390.svg b/pig-register/src/main/resources/static/console-fe/public/img/logo-2000-390.svg old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/img/nacos.png b/pig-register/src/main/resources/static/console-fe/public/img/nacos.png old mode 100644 new mode 100755 diff --git a/pig-register/src/main/resources/static/console-fe/public/index.html b/pig-register/src/main/resources/static/console-fe/public/index.html old mode 100644 new mode 100755 index f076d8a6..191c758f --- a/pig-register/src/main/resources/static/console-fe/public/index.html +++ b/pig-register/src/main/resources/static/console-fe/public/index.html @@ -23,7 +23,7 @@
- {this.props.title} -
- ) : ( - '' - )} -{locale.escExit}
-{locale.releaseBeta}
- - : -- Data ID: - {self.field.getValue('dataId')} -
-- Group: - {self.field.getValue('group')} -
-- Data ID: - {record.dataId} -
-- Group: - {record.group} -
-- {locale.environment} - {self.serverId || ''} -
-{locale.configureContentsOf}
-{locale.fullScreen}
- - : - - } - required - > - -- an easy-to-use dynamic service discovery, configuration and service management - platform for building cloud native applications -
-- {`${namespaceName}:`} - {res.namespaceShowName} -
-- {`${namespaceID}:`} - {res.namespace} -
-- {`${configuration}:`} - - {res.configCount} / {res.quota} - -
-- {`${description}:`} - {res.namespaceDesc} -
-- {`${namespaceName}:`} - {record.namespaceShowName} -
-- {`${namespaceID}:`} - {record.namespace} -
-S((y-t)/(u=n+1))&&L("overflow"),t+=(r-h)*u,h=r,g=0;g
y&&L("overflow"),l==h){for(o=t,i=v;!(o<(s=i<=m?_:m+b<=i?b:i-m));i+=v)c=o-s,d=v-s,f.push(E(C(s+c%d,0))),o=S(c/d);f.push(E(C(o,0))),m=D(t,u,n==a),t=0,++n}++t,++h}return f.join("")}t={version:"1.4.1",ucs2:{decode:x,encode:T},decode:c,encode:f,toASCII:function(e){return d(e,function(e){return a.test(e)?"xn--"+f(e):e})},toUnicode:function(e){return d(e,function(e){return n.test(e)?c(e.slice(4).toLowerCase()):e})}},void 0===(m=function(){return t}.call(g,O,g,p))||(p.exports=m)}()}).call(this,O(191)(e),O(134))},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";t.decode=t.parse=n(651),t.encode=t.stringify=n(652)},function(e,t,n){"use strict";e.exports=function(e,t,n,a){t=t||"&",n=n||"=";var r={};if("string"!=typeof e||0===e.length)return r;var o=/\+/g;e=e.split(t);var i=1e3;a&&"number"==typeof a.maxKeys&&(i=a.maxKeys);var s=e.length;0n&&(t.current=n),this.setState(t),this.props.onPageSizeChange(e)},H.prototype.renderPageTotal=function(){var e=this.props,t=e.prefix,n=e.total,a=e.totalRender,r=this.state,o=r.currentPageSize,i=r.current,s=[(i-1)*o+1,i*o];return j.default.createElement("div",{className:t+"pagination-total"},a(n,s))},H.prototype.renderPageItem=function(e){var t,n=this.props,a=n.prefix,r=n.size,o=n.link,i=n.pageNumberRender,s=n.total,l=n.pageSize,u=n.locale,d=this.state.current,c=A(s,l),f=parseInt(e,10)===d,p={size:r,className:(0,I.default)(((t={})[a+"pagination-item"]=!0,t[a+"current"]=f,t)),onClick:f?v:this.onPageItemClick.bind(this,e)};return o&&(p.component="a",p.href=o.replace("{page}",e)),j.default.createElement(h.default,(0,P.default)({"aria-label":R.str.template(u.total,{current:e,total:c})},p,{key:e}),i(e))},H.prototype.renderPageFirst=function(e){var t,n=this.props,a=n.prefix,r=n.size,o=n.shape,i=n.locale,s={disabled:e<=1,size:r,className:(0,I.default)(((t={})[a+"pagination-item"]=!0,t[a+"prev"]=!0,t)),onClick:this.onPageItemClick.bind(this,e-1)},l=j.default.createElement(f.default,{type:"arrow-left",className:a+"pagination-icon-prev"});return j.default.createElement(h.default,(0,P.default)({},s,{"aria-label":R.str.template(i.labelPrev,{current:e})}),l,"arrow-only"===o||"arrow-prev-only"===o||"no-border"===o?"":i.prev)},H.prototype.renderPageLast=function(e,t){var n,a=this.props,r=a.prefix,o=a.size,i=a.shape,s=a.locale,l={disabled:t<=e,size:o,className:(0,I.default)(((n={})[r+"pagination-item"]=!0,n[r+"next"]=!0,n)),onClick:this.onPageItemClick.bind(this,e+1)},u=j.default.createElement(f.default,{type:"arrow-right",className:r+"pagination-icon-next"});return j.default.createElement(h.default,(0,P.default)({},l,{"aria-label":R.str.template(s.labelNext,{current:e})}),"arrow-only"===i||"no-border"===i?"":s.next,u)},H.prototype.renderPageEllipsis=function(e){var t=this.props.prefix;return j.default.createElement(f.default,{className:t+"pagination-ellipsis "+t+"pagination-icon-ellipsis",type:"ellipsis",key:"ellipsis-"+e})},H.prototype.renderPageJump=function(){var t=this,e=this.props,n=e.prefix,a=e.size,r=e.locale,o=this.state.inputValue;return[j.default.createElement("span",{className:n+"pagination-jump-text"},r.goTo),j.default.createElement(p.default,{className:n+"pagination-jump-input",type:"text","aria-label":r.inputAriaLabel,size:a,value:o,onChange:this.onInputChange.bind(this),onKeyDown:function(e){e.keyCode===R.KEYCODE.ENTER&&t.handleJump(e)}}),j.default.createElement("span",{className:n+"pagination-jump-text"},r.page),j.default.createElement(h.default,{className:n+"pagination-jump-go",size:a,onClick:this.handleJump},r.go)]},H.prototype.renderPageDisplay=function(e,t){var n=this.props,a=n.prefix,r=n.pageNumberRender;return j.default.createElement("span",{className:a+"pagination-display"},j.default.createElement("em",null,r(e)),"/",r(t))},H.prototype.renderPageList=function(e,t){var n=this.props,a=n.prefix,r=n.pageShowCount,o=[];if(t<=r)for(var i=1;i<=t;i++)o.push(this.renderPageItem(i));else{var s=r-3,l=parseInt(s/2,10),u=void 0,d=void 0;o.push(this.renderPageItem(1)),d=e+l,(u=e-l)<=1&&(d=(u=2)+s),2=e.length&&-1 S((y-t)/(u=n+1))&&x("overflow"),t+=(r-h)*u,h=r,g=0;g y&&x("overflow"),s==h){for(o=t,i=v;!(o<(l=i<=m?_:m+b<=i?b:i-m));i+=v)c=o-l,d=v-l,f.push(E(T(l+c%d,0))),o=S(c/d);f.push(E(T(o,0))),m=C(t,u,n==a),t=0,++n}++t,++h}return f.join("")}t={version:"1.4.1",ucs2:{decode:L,encode:h},decode:c,encode:f,toASCII:function(e){return d(e,function(e){return a.test(e)?"xn--"+f(e):e})},toUnicode:function(e){return d(e,function(e){return n.test(e)?c(e.slice(4).toLowerCase()):e})}},void 0===(g=function(){return t}.call(D,O,D,p))||(p.exports=g)}()}).call(this,O(194)(e),O(135))},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";t.decode=t.parse=n(655),t.encode=t.stringify=n(656)},function(e,t,n){"use strict";e.exports=function(e,t,n,a){t=t||"&",n=n||"=";var r={};if("string"!=typeof e||0===e.length)return r;var o=/\+/g;e=e.split(t);t=1e3;a&&"number"==typeof a.maxKeys&&(t=a.maxKeys);var i=e.length;0