datatables.net 1.11.4 → 1.12.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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "jQuery DataTables",
4
4
  "main": "js/jquery.dataTables.js",
5
5
  "types": "./types/types.d.ts",
6
- "version": "1.11.4",
6
+ "version": "1.12.1",
7
7
  "files": [
8
8
  "js/**/*.js",
9
9
  "types/**/*.d.ts"
@@ -39,4 +39,4 @@
39
39
  "type": "git",
40
40
  "url": "https://github.com/DataTables/Dist-DataTables.git"
41
41
  }
42
- }
42
+ }
package/types/types.d.ts CHANGED
@@ -1065,6 +1065,17 @@ declare namespace DataTables {
1065
1065
  * @returns the currently applied column search.
1066
1066
  */
1067
1067
  search(): string;
1068
+
1069
+ /**
1070
+ * Set the search term for the matched columns.
1071
+ *
1072
+ * @param input Search string to apply.
1073
+ * @param regex Treat as a regular expression (true) or not (default, false).
1074
+ * @param smart Perform smart search.
1075
+ * @param caseInsen Do case-insensitive matching (default, true) or not (false).
1076
+ * @returns DataTables API instance
1077
+ */
1078
+ search(input: string, regex?: boolean, smart?: boolean, caseInsen?: boolean): Api<any>;
1068
1079
  }
1069
1080
 
1070
1081
  interface ColumnsMethodsModel<T> {