Browse Source

Remove grunt.md and data

zhixin 7 years ago
parent
commit
5b5ee5bcd7

+ 1 - 0
CHANGELOG.md

@@ -5,6 +5,7 @@ ChangeLog
 
 
 - feat(js): rewrite bootstrap-table to ES6
 - feat(js): rewrite bootstrap-table to ES6
 - feat(locale): add fi-FI.js locale
 - feat(locale): add fi-FI.js locale
+- feat(build): use babel instead grunt
 - feat(filter-control): add `created-controls.bs.table` event to filter-control
 - feat(filter-control): add `created-controls.bs.table` event to filter-control
 - feat(export extension): rewrite export extension to ES6
 - feat(export extension): rewrite export extension to ES6
 - feat(export extension): export extension support bootstrap v4
 - feat(export extension): export extension support bootstrap v4

+ 0 - 29
docs/_i18n/en/getting-started/grunt.md

@@ -1,29 +0,0 @@
-# Compiling CSS and JavaScript []({{ site.repo }}/blob/develop/docs/_i18n/{{ site.lang }}/getting-started/grunt.md)
-
----
-
-Bootstrap table uses [Grunt](http://gruntjs.com/) for its build system, with convenient methods for working with the framework. It's how we compile our code, run tests, and more.
-
-## Installing Grunt
-
-To install Grunt, you must **first** [download and install node.js](http://nodejs.org/download/) (which includes npm). npm stands for [node packaged modules](http://npmjs.org/) and is a way to manage development dependencies through node.js.
-
-Then, from the command line:
-
-1. Navigate to the root `/bootstrap-table/` directory, then run `npm install`. npm will look at the `package.json` file and automatically install the necessary local dependencies listed there.
-
-When completed, you'll be able to run the various Grunt commands provided from the command line.
-
-## Available Grunt commands
-
-### `npm run grunt docs` (Build & test the docs assets)
-
-Builds and tests CSS, JavaScript, and other assets which are used when running the documentation locally via `jekyll serve`.
-
-### `npm run grunt` (Build absolutely everything and run tests)
-
-Compiles and minifies CSS and JavaScript, builds the documentation website, runs the HTML5 validator against the docs, regenerates the Customizer assets, and more. Requires [Jekyll](http://jekyllrb.com/docs/installation/).
-
-## Troubleshooting
-
-Should you encounter problems with installing dependencies or running Grunt commands, first delete the `/node_modules/` directory generated by npm. Then, rerun `npm install`.

+ 0 - 29
docs/_i18n/es/getting-started/grunt.md

@@ -1,29 +0,0 @@
-# Compiling CSS and JavaScript []({{ site.repo }}/blob/develop/docs/_i18n/{{ site.lang }}/getting-started/grunt.md)
-
----
-
-Bootstrap table usa [Grunt](http://gruntjs.com/) para compilar, con métodos para trabajar en el framework. Asi es como compilamos el código, hacemos pruebas, y más.
-
-## Installing Grunt
-
-Para instalar Grunt, se debe **primero** [descargar e instalar node.js](http://nodejs.org/download/) (incluye npm). npm significa [node packaged modules](http://npmjs.org/) y es una manera de manejar las dependencias de desarrollo através de node.js.
-
-Entonces, en la linea de comandos:
-
-1. Navegue hasta la ruta del folder `/bootstrap-table/`, entonces ejecute `npm install`. npm buscará el archivo `package.json` y automaticamente instalará las dependencias locales necesarias listadas aquí.
-
-Cuando esté completo, ya se podrá ejecutar varios comandos de Grunt en la linea de comandos.
-
-## Available Grunt commands
-
-### `npm run grunt docs` (Compila y prueba la documentación)
-
-Compila y purueba el CSS, JavaScript, y otros artchivos cuando se esta ejecutando la documentación localmente con `jekyll serve`.
-
-### `npm run grunt` (Compila absolutamente todo y ejecuta pruebas)
-
-Compila y minifica el CSS y JavaScript, compila la documentación, ejecuta el validador de HTML5 contra la documentación, regenera los archivos customizables, y más. Se requiere [Jekyll](http://jekyllrb.com/docs/installation/).
-
-## Troubleshooting
-
-Si se encuentran problemas instalando las dependencias o ejecutando los comandos de Grunt, primero elimine el folder `/node_modules/` generado por npm. Entonces, vuelva a ejecutar `npm install`.

+ 0 - 29
docs/_i18n/zh-cn/getting-started/grunt.md

@@ -1,29 +0,0 @@
-# 编译 CSS 和 JavaScript []({{ site.repo }}/blob/develop/docs/_i18n/{{ site.lang }}/getting-started/grunt.md)
-
----
-
-Bootstrap table 使用 [Grunt](http://gruntjs.com/) 来作为编译系统,可以用十分方便的方法来编译我们代码,或者文档等等。
-
-## 安装 Grunt
-
-安装 Grunt,你必须先 [下载和安装 node.js](http://nodejs.org/download/) (包含 npm)。npm 是 [node 的包模块](http://npmjs.org/) 管理工具。
-
-然后,我们使用命令行:
-
-1. 进入到 `/bootstrap-table/` 的根目录,然后运行 `npm install`。npm 将通过查找 `package.json` 文件并自动安装这里所需要的依赖。
-
-完成之后,你就可以运行一下的命令来编译的代码了。
-
-## 可以用的 Grunt 命令
-
-### `npm run grunt docs` (编译和测试文档)
-
-编译和测试 CSS,JavaScript,本地我们可以通过 `jekyll serve` 来运行我们的文档。
-
-### `npm run grunt` (编译所有并运行测试)
-
-压缩和扰乱 CSS 和 JavaScript,测试,编译文档等等。依赖 [Jekyll](http://jekyllrb.com/docs/installation/)。
-
-## 遇到问题
-
-如果你安装或运行依赖是遇到问题,首先删除 `/node_modules/` npm 生成的文件夹。然后,再运行一次 `npm install` 即可。

+ 30 - 52
docs/_includes/latest-release.md

@@ -1,52 +1,30 @@
-### Latest release (2018-11-29)
-
-### 1.12.2
-
-- fix(js): fix #3656, toggle icon typo release error
-
-### 1.12.1
-
-- fix(js): fix #3656, toggle icon typo
-- fix(js): fix #3657, opencollective postinstall error
-- fix(group-by-v2 extension): fix #3598, detailView display bug
-- feat(tree-grid extension): fix #3607, add `rowStyle` support
-
-### 1.12.0
-
-- fix(js): fix zoom header width bug
-- fix(js): fix #3452, reset the table data when url loaded error
-- fix(js): fix #3380, check-all was wrong with the sub-table
-- fix(js): fix #2963, singleSelect, maintainSelected and pagination bug
-- fix(js): fix #3342, remove limit when it is 0
-- fix(js): fix #3472, group header style bug
-- fix(js): fix #3310, searchText causes two requests
-- fix(js): fix #3029, IE8 does not support getOwnPropertyNames
-- fix(js): fix #3204, sortName cannot work in server side pagination
-- fix(js): fix #3163, `showToolbar` bug when using extensions
-- fix(js): fix #3087, only send pagination parameters when `sidePagination` is `server`
-- fix(export extension): fix #3477, server pagination mode cannot export all data
-- fix(filter-control extension): fix #3271, duplicate select option with fixed header and client pagination
-- feat(js): add `detailFilter` option
-- feat(js): add `rememberOrder` option
-- feat(js): improve pageList `All` option locale independent
-- feat(js): add `Bootstrap v4.0` support
-- feat(js): add `row` data to sorter function
-- feat(js): add `ignoreClickToSelectOn` option
-- feat(js): add `onScrollBody` / `scroll-body.bs.table` event
-- feat(js): add `showFullscreen` option
-- feat(js): add `showSelectTitle` column option
-- feat(js): add `$el` to collapse-row
-- feat(locale): add `eu-EU` locale
-- feat(export extension): add `exportFooter` option
-- feat(multiple-sort extension): add `showMultiSortButton` option
-- feat(filter-control extension): add `searchOnEnterKey` option
-- feat(page-jumpto extension): add `page-jumpto` extension
-- feat(resizable extension): add `resizeMode` option
-- feat(sticky-header extension): add `Bootstrap v4.0` support
-- feat(treegrid extension): add `treegrid` extension
-- feat(print extension): add support to print complex table
-- feat(extension): add cookie in combination with filter-control and strict search
-
-#### Breaking changes in 1.12.0
-
-- feat(js): add `toggleOn` and `toggleOff` icons instead `toggle` icon
+### Latest release (2018-12-27)
+
+### 1.12.3
+
+- feat(js): rewrite bootstrap-table to ES6
+- feat(locale): add fi-FI.js locale
+- feat(build): use babel instead grunt
+- feat(filter-control): add `created-controls.bs.table` event to filter-control
+- feat(export extension): rewrite export extension to ES6
+- feat(export extension): export extension support bootstrap v4
+- feat(export extension): add `exportTable` method
+- feat(toolbar extension): rewrite toolbar extension to ES6
+- feat(toolbar extension): toolbar extension supports bootstrap v4
+- feat(toolbar extension): add server sidePagination support
+- feat(resizable extension): new resizable extension version 2.0.0
+- feat(editable extension): allow different x-editable configuration per table row
+- feat(addrbar extension): add addrbar extension
+
+- fix(js): fix #1769, improve check/uncheck methods
+- fix(js): fix #1983, cookie with pageNumber and searchText bug
+- fix(js): fix #2485, selections bugs
+- fix(js): fix #2545, customSearch support data attribute
+- fix(js): fix #3696, can't search data with formatter
+- fix(js): fix #4081, getRowByUniqueId error when row unique id is undefined
+- fix(js): fix older bootstrap version bug
+- fix(css): fix #1848, remove toolbar line-height
+- fix(css): limit fullscreen CSS rule scope
+- fix(editable extension): fix #1819, #2072, editable formatter bug
+- fix(extension): fix #3720, fix #3682, bug with export extension together
+- fix(extension): remove lick-edit-row and flat-json extensions

+ 0 - 3
docs/data/README.md

@@ -1,3 +0,0 @@
-# Data for jsFiddle
-
-Detail: [Pass response directly from GitHub Repository](http://doc.jsfiddle.net/use/github_response.html)

+ 0 - 32
docs/data/data1/demo.response.json

@@ -1,32 +0,0 @@
-[
-    {
-        "name": "bootstrap-table",
-        "stargazers_count": "526",
-        "forks_count": "122",
-        "description": "An extended Bootstrap table with radio, checkbox, sort, pagination, and other added features. (supports twitter bootstrap v2 and v3)"
-    },
-    {
-        "name": "multiple-select",
-        "stargazers_count": "288",
-        "forks_count": "150",
-        "description": "A jQuery plugin to select multiple elements with checkboxes :)"
-    },
-    {
-        "name": "bootstrap-show-password",
-        "stargazers_count": "32",
-        "forks_count": "11",
-        "description": "Show/hide password plugin for twitter bootstrap."
-    },
-    {
-        "name": "blog",
-        "stargazers_count": "13",
-        "forks_count": "4",
-        "description": "my blog"
-    },
-    {
-        "name": "scutech-redmine",
-        "stargazers_count": "6",
-        "forks_count": "3",
-        "description": "Redmine notification tools for chrome extension."
-    }
-]

File diff suppressed because it is too large
+ 0 - 4002
docs/data/data2/demo.response.json


+ 0 - 191
docs/data/data3/demo.response.json

@@ -1,191 +0,0 @@
-[
-    {
-        "id": 0,
-        "name": "Item 0",
-        "price": "$0",
-        "column1": "C 10",
-        "column2": "C 20",
-        "column3": "C 30",
-        "column4": "C 40"
-    },
-    {
-        "id": 1,
-        "name": "Item 1",
-        "price": "$1",
-        "column1": "C 10",
-        "column2": "C 20",
-        "column3": "C 30",
-        "column4": "C 40"
-    },
-    {
-        "id": 2,
-        "name": "Item 2",
-        "price": "$2",
-        "column1": "C 10",
-        "column2": "C 20",
-        "column3": "C 30",
-        "column4": "C 40"
-    },
-    {
-        "id": 3,
-        "name": "Item 3",
-        "price": "$3",
-        "column1": "C 10",
-        "column2": "C 20",
-        "column3": "C 30",
-        "column4": "C 40"
-    },
-    {
-        "id": 4,
-        "name": "Item 4",
-        "price": "$4",
-        "column1": "C 10",
-        "column2": "C 20",
-        "column3": "C 30",
-        "column4": "C 40"
-    },
-    {
-        "id": 5,
-        "name": "Item 5",
-        "price": "$5",
-        "column1": "C 10",
-        "column2": "C 20",
-        "column3": "C 30",
-        "column4": "C 40"
-    },
-    {
-        "id": 6,
-        "name": "Item 6",
-        "price": "$6",
-        "column1": "C 10",
-        "column2": "C 20",
-        "column3": "C 30",
-        "column4": "C 40"
-    },
-    {
-        "id": 7,
-        "name": "Item 7",
-        "price": "$7",
-        "column1": "C 10",
-        "column2": "C 20",
-        "column3": "C 30",
-        "column4": "C 40"
-    },
-    {
-        "id": 8,
-        "name": "Item 8",
-        "price": "$8",
-        "column1": "C 10",
-        "column2": "C 20",
-        "column3": "C 30",
-        "column4": "C 40"
-    },
-    {
-        "id": 9,
-        "name": "Item 9",
-        "price": "$9",
-        "column1": "C 10",
-        "column2": "C 20",
-        "column3": "C 30",
-        "column4": "C 40"
-    },
-    {
-        "id": 10,
-        "name": "Item 10",
-        "price": "$10",
-        "column1": "C 10",
-        "column2": "C 20",
-        "column3": "C 30",
-        "column4": "C 40"
-    },
-    {
-        "id": 11,
-        "name": "Item 11",
-        "price": "$11",
-        "column1": "C 10",
-        "column2": "C 20",
-        "column3": "C 30",
-        "column4": "C 40"
-    },
-    {
-        "id": 12,
-        "name": "Item 12",
-        "price": "$12",
-        "column1": "C 10",
-        "column2": "C 20",
-        "column3": "C 30",
-        "column4": "C 40"
-    },
-    {
-        "id": 13,
-        "name": "Item 13",
-        "price": "$13",
-        "column1": "C 10",
-        "column2": "C 20",
-        "column3": "C 30",
-        "column4": "C 40"
-    },
-    {
-        "id": 14,
-        "name": "Item 14",
-        "price": "$14",
-        "column1": "C 10",
-        "column2": "C 20",
-        "column3": "C 30",
-        "column4": "C 40"
-    },
-    {
-        "id": 15,
-        "name": "Item 15",
-        "price": "$15",
-        "column1": "C 10",
-        "column2": "C 20",
-        "column3": "C 30",
-        "column4": "C 40"
-    },
-    {
-        "id": 16,
-        "name": "Item 16",
-        "price": "$16",
-        "column1": "C 10",
-        "column2": "C 20",
-        "column3": "C 30",
-        "column4": "C 40"
-    },
-    {
-        "id": 17,
-        "name": "Item 17",
-        "price": "$17",
-        "column1": "C 10",
-        "column2": "C 20",
-        "column3": "C 30",
-        "column4": "C 40"
-    },
-    {
-        "id": 18,
-        "name": "Item 18",
-        "price": "$18",
-        "column1": "C 10",
-        "column2": "C 20",
-        "column3": "C 30",
-        "column4": "C 40"
-    },
-    {
-        "id": 19,
-        "name": "Item 19",
-        "price": "$19",
-        "column1": "C 10",
-        "column2": "C 20",
-        "column3": "C 30",
-        "column4": "C 40"
-    },
-    {
-        "id": 20,
-        "name": "Item 20",
-        "price": "$20",
-        "column1": "C 10",
-        "column2": "C 20",
-        "column3": "C 30",
-        "column4": "C 40"
-    }
-]

+ 0 - 28
docs/data/data4/demo.response.json

@@ -1,28 +0,0 @@
-{
-    "repos": [
-        {
-            "name": "Multiple Select",
-            "license": "The MIT License",
-            "description": "A jQuery plugin to select multiple elements with checkboxes :)",
-            "url": "<a href='https://github.com/wenzhixin/multiple-select'>https://github.com/wenzhixin/multiple-select</a>"
-        },
-        {
-            "name": "Bootstrap Table",
-            "license": "The MIT License",
-            "description": "Bootstrap table displays data in a tabular format and offers rich support to radio, checkbox, sort, pagination and so on. ",
-            "url": "<a href='https://github.com/wenzhixin/bootstrap-table'>https://github.com/wenzhixin/bootstrap-table</a>"
-        },
-        {
-            "name": "Bootstrap Show Password",
-            "license": "The MIT License",
-            "description": "Show/hide password plugin for bootstrap.",
-            "url": "<a href='https://github.com/wenzhixin/bootstrap-show-password'>https://github.com/wenzhixin/bootstrap-show-password</a>"
-        },
-        {
-            "name": "Blog",
-            "license": "The MIT License",
-            "description": "My blog",
-            "url": "<a href='https://github.com/wenzhixin/blog'>https://github.com/wenzhixin/blog</a>"
-        }
-    ]
-}

+ 0 - 28
docs/data/data5/demo.response.json

@@ -1,28 +0,0 @@
-[
-    {
-        "id": {
-            "id2": "1"
-        },
-        "name": {
-            "name2": "Item 1"
-        },
-        "price": {
-            "price2": {
-                "price3": "$90"
-            }
-        }
-    },
-    {
-        "id": {
-            "id2": "2"
-        },
-        "name": {
-            "name2": "Item 2"
-        },
-        "price": {
-            "price2": {
-                "price3": "$91"
-            }
-        }
-    }
-]

+ 1 - 3
docs/getting-started.md

@@ -9,6 +9,4 @@ lead: pages.getting_started.lead
 
 
 {% tf getting-started/whats-include.md %}
 {% tf getting-started/whats-include.md %}
 
 
-{% tf getting-started/grunt.md %}
-
-{% tf getting-started/usage.md %}
+{% tf getting-started/usage.md %}