Skip to content

Commit 0eac931

Browse files
authored
Merge pull request #5471 from wenzhixin/develop
Release 1.18.1
2 parents 7fcfc17 + 20ce144 commit 0eac931

File tree

261 files changed

+2534
-1555
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

261 files changed

+2534
-1555
lines changed

.eslintrc.js

Lines changed: 81 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,100 @@
11
module.exports = {
2-
'root': true,
3-
'env': {
4-
'browser': true,
5-
'node': true
2+
root: true,
3+
env: {
4+
browser: true,
5+
node: true
66
},
7-
'parserOptions': {
8-
'parser': 'babel-eslint',
9-
'ecmaVersion': 2017,
10-
'sourceType': 'module'
7+
parserOptions: {
8+
parser: 'babel-eslint',
9+
ecmaVersion: 2017,
10+
sourceType: 'module'
1111
},
12-
'extends': [
12+
extends: [
1313
'eslint:recommended'
1414
],
15-
'rules': {
16-
'indent': ['error',
15+
rules: {
16+
'array-bracket-newline': ['error', 'consistent'],
17+
'array-bracket-spacing': ['error', 'never'],
18+
'arrow-parens': ['error', 'as-needed'],
19+
'arrow-spacing': ['error', { after: true, before: true }],
20+
'block-spacing': 'error',
21+
camelcase: 'off',
22+
'comma-dangle': ['error', 'never'],
23+
'comma-spacing': ['error', { after: true, before: false }],
24+
'default-case': 'error',
25+
'dot-location': ['error', 'property'],
26+
'eol-last': ['error', 'always'],
27+
eqeqeq: 'error',
28+
'guard-for-in': 'warn',
29+
indent: ['error',
1730
2,
1831
{
19-
'SwitchCase': 1,
20-
'MemberExpression': 1,
21-
'ArrayExpression': 1,
22-
'FunctionDeclaration': {'parameters': 'first'},
23-
'CallExpression': {'arguments': 1},
24-
'ImportDeclaration': 'first',
25-
'ObjectExpression': 1
26-
}
27-
],
32+
ArrayExpression: 1,
33+
CallExpression: { arguments: 1 },
34+
FunctionDeclaration: { parameters: 'first' },
35+
ImportDeclaration: 'first',
36+
MemberExpression: 1,
37+
ObjectExpression: 1,
38+
SwitchCase: 1
39+
}],
40+
'jsdoc/require-jsdoc': 0,
41+
'key-spacing': ['error', { afterColon: true, beforeColon: false, mode: 'strict' }],
42+
'keyword-spacing': ['error', { after: true, before: true }],
2843
'linebreak-style': 'off',
29-
'quotes': ['error', 'single'],
30-
'semi': ['error', 'never'],
31-
'semi-style': ['error', 'last'],
32-
'semi-spacing': ['error', {'before': false, 'after': true}],
33-
'camelcase': 'off',
34-
'default-case': 'error',
35-
'no-new-func': 'error',
36-
'no-void': 'error',
37-
'array-bracket-spacing': ['error', 'never'],
38-
'no-tabs': 'error',
39-
'one-var': ['error', 'never'],
40-
'prefer-const': 'error',
41-
'no-trailing-spaces': 'error',
42-
'operator-assignment': ['error', 'always'],
43-
'dot-location': ['error', 'property'],
44-
'no-console': ['error', { allow: ['log', 'info', 'warn', 'error'] }],
45-
'no-else-return': ['error', {allowElseIf: false}],
44+
'lines-between-class-members': ['error', 'always'],
45+
'no-alert': 'error',
4646
'no-case-declarations': 'off',
47-
'no-unused-vars': 'off',
47+
'no-console': ['warn', { allow: ['warn', 'error', 'trace'] }],
48+
'no-duplicate-imports': 'error',
49+
'no-else-return': ['error', { allowElseIf: false }],
50+
'no-lonely-if': 'error',
4851
'no-multi-spaces': 'error',
49-
'valid-jsdoc': 'warn',
50-
'eqeqeq': 'error',
51-
'guard-for-in': 'off',
5252
'no-multi-str': 'error',
53-
'no-return-await': 'error',
53+
'no-multiple-empty-lines': 'error',
54+
'no-new-func': 'error',
55+
'no-prototype-builtins': 'off',
5456
'no-return-assign': 'error',
57+
'no-return-await': 'error',
58+
'no-sequences': 'error',
59+
'no-tabs': 'error',
5560
'no-throw-literal': 'error',
61+
'no-trailing-spaces': 'error',
5662
'no-undef-init': 'error',
63+
'no-unused-vars': 'error',
5764
'no-use-before-define': 'warn',
58-
'key-spacing': ['error', {'beforeColon': false, 'afterColon': true, 'mode': 'strict'}],
59-
'keyword-spacing': ['error', {'before': true, 'after': true}],
60-
'space-before-blocks': ['error', {'functions': 'always', 'keywords': 'always', 'classes': 'always'}],
61-
'spaced-comment': ['error', 'always'],
62-
'space-infix-ops': 'error',
63-
'arrow-spacing': ['error', { 'before': true, 'after': true }],
6465
'no-useless-constructor': 'warn',
65-
'comma-dangle': ['error', 'never'],
66-
'no-param-reassign': 'off',
67-
'space-before-function-paren': ["error", "always"],
68-
'no-prototype-builtins': 'off'
66+
'no-var': 'error',
67+
'no-void': 'error',
68+
'object-curly-spacing': ['error', 'always'],
69+
'object-shorthand': 'error',
70+
'one-var': ['error', 'never'],
71+
'operator-assignment': ['error', 'always'],
72+
'operator-linebreak': ['error', 'after'],
73+
'padding-line-between-statements': [
74+
'error',
75+
{ blankLine: 'always', next: '*', prev: ['const', 'let', 'var'] },
76+
{ blankLine: 'any', next: ['const', 'let', 'var'], prev: ['const', 'let', 'var'] },
77+
{ blankLine: 'always', next: 'export', prev: '*' }
78+
],
79+
'prefer-const': 'error',
80+
'prefer-spread': 'error',
81+
'prefer-template': 'error',
82+
'quote-props': ['error', 'as-needed'],
83+
quotes: ['error', 'single'],
84+
semi: ['error', 'never'],
85+
'semi-spacing': ['error', { after: true, before: false }],
86+
'semi-style': ['error', 'last'],
87+
'sort-imports': 'off',
88+
'space-before-blocks': ['error', { classes: 'always', functions: 'always', keywords: 'always' }],
89+
'space-before-function-paren': ['error', 'always'],
90+
'space-in-parens': [2, 'never'],
91+
'space-infix-ops': 'error',
92+
'spaced-comment': ['error', 'always'],
93+
'switch-colon-spacing': 'error'
6994
},
70-
'globals': {
71-
'$': true,
72-
'jQuery': true,
73-
'adsbygoogle': true
95+
globals: {
96+
$: true,
97+
jQuery: true,
98+
adsbygoogle: true
7499
}
75100
}

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,38 @@
11
ChangeLog
22
---------
33

4+
### 1.18.1
5+
6+
#### Core
7+
8+
- **New(locale):** Added short locales based on [ISO Language](http://www.lingoes.net/en/translator/langcode.htm).
9+
- **Update:** Updated `sk-SK`, `fr-FR`, `de-DE`, and `es-*` locales.
10+
- **Update:** Fixed `toggleCheck`, `getSelections` and `remove` bug.
11+
- **Update:** Fixed `buttons` option bug using in data attribute.
12+
- **Update:** Fixed custom `icons` option bug.
13+
- **Update:** Fixed `cellStyle` column option not work in card view.
14+
- **Update:** Fixed getSelection bug when using search.
15+
- **Update:** Fixed `pageList` option with `all` display bug using `smartDisplay`.
16+
- **Update:** Fixed search highlight cannot work bug when data field is number.
17+
- **Update:** Fixed `updateColumnTitle` is undo bug after pagination.
18+
- **Update:** Fixed `multipleSelectRow` option bug.
19+
- **Update:** Fixed `icon-size` option bug with pagination.
20+
21+
#### Extensions
22+
23+
- **New(page-jump-to):** Added `min`, `max` and enter support for jump input.
24+
- **Update(export):** Fixed export cannot work with `materialize` and `foundation` themes.
25+
- **Update(filter-control):** Updated `filterDatepickerOptions` to support datepicker option.
26+
- **Update(filter-control):** Fixed select bug when using `&` in the value.
27+
- **Update(fixed-columns):** Fixed `toggleView` display bug.
28+
- **Update(group-by):** Fixed not collapse detail view expanded row bug.
29+
- **Update(group-by):** Fixed display error using `formatter` column option.
30+
- **Update(group-by):** Fixed `groupByFormatter` option bug using in data attribute.
31+
- **Update(multiple-sort):** Fixed cannot work bug using in server `sidePagination`.
32+
- **Update(page-jump-to):** Fixed page jump input and button bug with `icon-size` option.
33+
- **Update(print):** Fixed print with `rowspan` or `colspan`.
34+
- **Update(reorder-columns):** Fixed reorder column when a column is removed or added.
35+
436
### 1.18.0
537

638
#### Core

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ algolia:
2727
index_name: bootstrap-table
2828

2929
# Custom variables
30-
current_version: 1.18.0
30+
current_version: 1.18.1
3131
title: "Bootstrap Table"
3232
description: "An extended table to the integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)"
3333
authors: "Zhixin Wen, and Bootstrap Table contributors"

bootstrap-table.jquery.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bootstrap-table",
3-
"version": "1.18.0",
3+
"version": "1.18.1",
44
"title": "Bootstrap Table",
55
"description": "An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)",
66
"author": {

0 commit comments

Comments
 (0)