datatables.net-autofill-bs 2.7.0 → 2.7.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # AutoFill for DataTables with styling for [Bootstrap](https://getbootstrap.com/docs/3.3/)
2
2
 
3
- This package contains a built distribution of the [AutoFill extension](https://datatables.net/extensions/autofill) for [DataTables](https://datatables.net/) with styling for [Bootstrap](https://getbootstrap.com/docs/3.3/).
3
+ This is the distribution package for the [AutoFill extension](https://datatables.net/extensions/autofill) for [DataTables](https://datatables.net/) with styling for [Bootstrap](https://getbootstrap.com/docs/3.3/).
4
4
 
5
5
  AutoFill adds an Excel like data fill option to DataTables, allowing click and drag over cells, filling in information and incrementing numbers as needed.
6
6
 
@@ -9,43 +9,38 @@ AutoFill adds an Excel like data fill option to DataTables, allowing click and d
9
9
 
10
10
  ### Browser
11
11
 
12
- For inclusion of this library using a standard `<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.
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-autofill-bs
18
21
  ```
19
22
 
20
- ES3 Syntax
21
- ```
22
- var $ = require( 'jquery' );
23
- var dt = require( 'datatables.net-autofill-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-autofill-bs'
29
- ```
30
28
 
31
- ### bower
32
-
33
- ```
34
- bower install --save datatables.net-autofill-bs
29
+ new DataTable('#myTable', {
30
+ // initialisation options
31
+ });
35
32
  ```
36
33
 
37
34
 
38
-
39
35
  ## Documentation
40
36
 
41
- Full documentation and examples for AutoFill can be found [on the website](https://datatables.net/extensions/autofill).
37
+ Full documentation and examples for AutoFill can be found [on the DataTables website](https://datatables.net/extensions/autofill).
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/AutoFill](http://github.com/DataTables/AutoFill). For issues / bugs, please direct your questions to the [DataTables forums](//datatables.net/forums).
@@ -1,4 +1,4 @@
1
1
  /*! Bootstrap integration for DataTables' AutoFill
2
2
  * ©2015 SpryMedia Ltd - datatables.net/license
3
3
  */
4
- !function(n){var o,a;"function"==typeof define&&define.amd?define(["jquery","datatables.net-bs","datatables.net-autofill"],function(e){return n(e,window,document)}):"object"==typeof exports?(o=require("jquery"),a=function(e,t){t.fn.dataTable||require("datatables.net-bs")(e,t),t.fn.dataTable.AutoFill||require("datatables.net-autofill")(e,t)},"undefined"==typeof window?module.exports=function(e,t){return e=e||window,t=t||o(e),a(e,t),n(t,0,e.document)}:(a(window,o),module.exports=n(o,window,window.document))):n(jQuery,window,document)}(function(e,t,n){"use strict";e=e.fn.dataTable;return e.AutoFill.classes.btn="btn btn-primary",e});
4
+ (n=>{var o,a;"function"==typeof define&&define.amd?define(["jquery","datatables.net-bs","datatables.net-autofill"],function(e){return n(e,window,document)}):"object"==typeof exports?(o=require("jquery"),a=function(e,t){t.fn.dataTable||require("datatables.net-bs")(e,t),t.fn.dataTable.AutoFill||require("datatables.net-autofill")(e,t)},"undefined"==typeof window?module.exports=function(e,t){return e=e||window,t=t||o(e),a(e,t),n(t,0,e.document)}:(a(window,o),module.exports=n(o,window,window.document))):n(jQuery,window,document)})(function(e,t,n){e=e.fn.dataTable;return e.AutoFill.classes.btn="btn btn-primary",e});
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "module": "js/autoFill.bootstrap.mjs",
6
6
  "style": "css/autoFill.bootstrap.css",
7
7
  "types": "./types/autoFill.bootstrap.d.ts",
8
- "version": "2.7.0",
8
+ "version": "2.7.1",
9
9
  "files": [
10
10
  "css/**/*.css",
11
11
  "js/**/*.js",
@@ -23,8 +23,8 @@
23
23
  "sort"
24
24
  ],
25
25
  "dependencies": {
26
- "datatables.net-autofill": "2.7.0",
27
- "datatables.net-bs": ">=1.11",
26
+ "datatables.net-autofill": "2.7.1",
27
+ "datatables.net-bs": "1.11 - 2",
28
28
  "jquery": ">=1.7"
29
29
  },
30
30
  "moduleType": [