datatables.net-searchbuilder-bs 1.8.1 → 1.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Readme.md +11 -16
- package/package.json +3 -3
package/Readme.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# SearchBuilder for DataTables with styling for [Bootstrap](https://getbootstrap.com/docs/3.3/)
|
|
2
2
|
|
|
3
|
-
This
|
|
3
|
+
This is the distribution package for the [SearchBuilder extension](https://datatables.net/extensions/searchbuilder) for [DataTables](https://datatables.net/) with styling for [Bootstrap](https://getbootstrap.com/docs/3.3/).
|
|
4
4
|
|
|
5
5
|
SearchBuilder adds user defined complex search to the DataTable with the capability to search the DataTable by creating groups and conditions.
|
|
6
6
|
|
|
@@ -9,43 +9,38 @@ SearchBuilder adds user defined complex search to the DataTable with the capabil
|
|
|
9
9
|
|
|
10
10
|
### Browser
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
To use DataTables with a simple `<script>` tag, rather than using this package, it is recommended that you use the [DataTables download builder](//datatables.net/download) which can create CDN or locally hosted packages for you, will all dependencies satisfied.
|
|
13
13
|
|
|
14
14
|
### npm
|
|
15
15
|
|
|
16
|
+
For installation via npm, yarn and other similar package managers, install this package with your package manager - e.g.:
|
|
17
|
+
|
|
16
18
|
```
|
|
19
|
+
npm install datatables.net-bs
|
|
17
20
|
npm install datatables.net-searchbuilder-bs
|
|
18
21
|
```
|
|
19
22
|
|
|
20
|
-
|
|
21
|
-
```
|
|
22
|
-
var $ = require( 'jquery' );
|
|
23
|
-
var dt = require( 'datatables.net-searchbuilder-bs' )( window, $ );
|
|
24
|
-
```
|
|
23
|
+
Then, to load and initialise the software in your code use:
|
|
25
24
|
|
|
26
|
-
ES6 Syntax
|
|
27
25
|
```
|
|
26
|
+
import DataTable from 'datatables.net-bs';
|
|
28
27
|
import 'datatables.net-searchbuilder-bs'
|
|
29
|
-
```
|
|
30
28
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
bower install --save datatables.net-searchbuilder-bs
|
|
29
|
+
new DataTable('#myTable', {
|
|
30
|
+
// initalisation options
|
|
31
|
+
});
|
|
35
32
|
```
|
|
36
33
|
|
|
37
34
|
|
|
38
|
-
|
|
39
35
|
## Documentation
|
|
40
36
|
|
|
41
|
-
Full documentation and examples for SearchBuilder can be found [on the website](https://datatables.net/extensions/searchbuilder).
|
|
37
|
+
Full documentation and examples for SearchBuilder can be found [on the DataTables website](https://datatables.net/extensions/searchbuilder).
|
|
42
38
|
|
|
43
39
|
|
|
44
40
|
## Bug / Support
|
|
45
41
|
|
|
46
42
|
Support for DataTables is available through the [DataTables forums](//datatables.net/forums) and [commercial support options](//datatables.net/support) are available.
|
|
47
43
|
|
|
48
|
-
|
|
49
44
|
### Contributing
|
|
50
45
|
|
|
51
46
|
If you are thinking of contributing code to DataTables, first of all, thank you! All fixes, patches and enhancements to DataTables are very warmly welcomed. This repository is a distribution repo, so patches and issues sent to this repo will not be accepted. Instead, please direct pull requests to the [DataTables/SearchBuilder](http://github.com/DataTables/SearchBuilder). For issues / bugs, please direct your questions to the [DataTables forums](//datatables.net/forums).
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"module": "js/searchBuilder.bootstrap.mjs",
|
|
6
6
|
"style": "css/searchBuilder.bootstrap.css",
|
|
7
7
|
"types": "./types/searchBuilder.bootstrap.d.ts",
|
|
8
|
-
"version": "1.8.
|
|
8
|
+
"version": "1.8.2",
|
|
9
9
|
"files": [
|
|
10
10
|
"css/**/*.css",
|
|
11
11
|
"js/**/*.js",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"sort"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"datatables.net-searchbuilder": "1.8.
|
|
28
|
-
"datatables.net-bs": "^2
|
|
27
|
+
"datatables.net-searchbuilder": "1.8.2",
|
|
28
|
+
"datatables.net-bs": "^2",
|
|
29
29
|
"jquery": ">=1.7"
|
|
30
30
|
},
|
|
31
31
|
"moduleType": [
|