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/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.2.2",
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.10.25",
22
+ "datatables.net": ">=1.11.3",
23
23
  "jquery": ">=1.7"
24
24
  },
25
25
  "moduleType": [
@@ -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
@@ -1,4 +1,4 @@
1
- /*! SearchBuilder 1.2.2
1
+ /*! SearchBuilder 1.3.1
2
2
  * ©SpryMedia Ltd - datatables.net/license/mit
3
3
  */
4
4
  export {};
@@ -57,10 +57,13 @@ export interface II18n {
57
57
  };
58
58
  };
59
59
  data: string;
60
+ delete: string;
60
61
  deleteTitle: string;
62
+ left: string;
61
63
  leftTitle: string;
62
64
  logicAnd: string;
63
65
  logicOr: string;
66
+ right: string;
64
67
  rightTitle: string;
65
68
  title: {
66
69
  0: string;