datatables.net-searchbuilder 1.2.2 → 1.3.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/js/dataTables.searchBuilder.js +262 -164
- package/js/dataTables.searchBuilder.min.js +123 -118
- package/package.json +2 -2
- package/types/criteria.d.ts +8 -0
- package/types/index.d.ts +1 -1
- package/types/searchBuilder.d.ts +3 -0
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "SearchBuilder for DataTables",
|
|
4
4
|
"main": "js/dataTables.searchBuilder.js",
|
|
5
5
|
"types": "./types/types.d.ts",
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.3.2",
|
|
7
7
|
"files": [
|
|
8
8
|
"js/**/*.js",
|
|
9
9
|
"types/**/*.d.ts"
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"sort"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"datatables.net": ">=1.
|
|
22
|
+
"datatables.net": ">=1.11.3",
|
|
23
23
|
"jquery": ">=1.7"
|
|
24
24
|
},
|
|
25
25
|
"moduleType": [
|
package/types/criteria.d.ts
CHANGED
|
@@ -60,6 +60,7 @@ export interface IS {
|
|
|
60
60
|
filled: boolean;
|
|
61
61
|
index: number;
|
|
62
62
|
origData: string;
|
|
63
|
+
preventRedraw: boolean;
|
|
63
64
|
topGroup: JQuery<HTMLElement>;
|
|
64
65
|
type: string;
|
|
65
66
|
value: string[];
|
|
@@ -96,6 +97,13 @@ export default class Criteria {
|
|
|
96
97
|
c: builderType.IDefaults;
|
|
97
98
|
s: IS;
|
|
98
99
|
constructor(table: any, opts: builderType.IDefaults, topGroup: JQuery<HTMLElement>, index?: number, depth?: number);
|
|
100
|
+
/**
|
|
101
|
+
* Escape html characters within a string
|
|
102
|
+
*
|
|
103
|
+
* @param txt the string to be escaped
|
|
104
|
+
* @returns the escaped string
|
|
105
|
+
*/
|
|
106
|
+
private static _escapeHTML;
|
|
99
107
|
/**
|
|
100
108
|
* Default initialisation function for select conditions
|
|
101
109
|
*/
|
package/types/index.d.ts
CHANGED
package/types/searchBuilder.d.ts
CHANGED