@syncfusion/ej2-querybuilder 27.1.52 → 27.1.53

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 27.1.52
3
+ * version : 27.1.53
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-querybuilder@*",
3
- "_id": "@syncfusion/ej2-querybuilder@27.1.50",
3
+ "_id": "@syncfusion/ej2-querybuilder@27.1.52",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-oh+4trQAObeD31Oka0XehomrkdbvgXeakCGKnHeiNWXW1YuNI3SWqMozsWhkcsyP7rmCq4vjfWgY1fBBvqOF+Q==",
5
+ "_integrity": "sha512-h903jDT30MYDJYZ9uCoZPyiWCzGMLnDREpe/mS08xb/DRs3eeA0HoeE4n1Qd3ehNJmnEL8QZW/Bj6zgSgkpYUw==",
6
6
  "_location": "/@syncfusion/ej2-querybuilder",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -23,8 +23,8 @@
23
23
  "/@syncfusion/ej2-react-querybuilder",
24
24
  "/@syncfusion/ej2-vue-querybuilder"
25
25
  ],
26
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-querybuilder/-/ej2-querybuilder-27.1.50.tgz",
27
- "_shasum": "ffba9ca17f5287645b8b643604a7fc08e2691b98",
26
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-querybuilder/-/ej2-querybuilder-27.1.52.tgz",
27
+ "_shasum": "fa6f6e45a38c16ac33c9ba4fe8a89454e71a8d73",
28
28
  "_spec": "@syncfusion/ej2-querybuilder@*",
29
29
  "_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
30
30
  "author": {
@@ -32,10 +32,10 @@
32
32
  },
33
33
  "bundleDependencies": false,
34
34
  "dependencies": {
35
- "@syncfusion/ej2-base": "~27.1.52",
36
- "@syncfusion/ej2-buttons": "~27.1.51",
35
+ "@syncfusion/ej2-base": "~27.1.53",
36
+ "@syncfusion/ej2-buttons": "~27.1.53",
37
37
  "@syncfusion/ej2-calendars": "~27.1.52",
38
- "@syncfusion/ej2-dropdowns": "~27.1.52",
38
+ "@syncfusion/ej2-dropdowns": "~27.1.53",
39
39
  "@syncfusion/ej2-inputs": "~27.1.50",
40
40
  "@syncfusion/ej2-splitbuttons": "~27.1.50"
41
41
  },
@@ -66,7 +66,7 @@
66
66
  "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/querybuilder"
67
67
  },
68
68
  "typings": "index.d.ts",
69
- "version": "27.1.52",
69
+ "version": "27.1.53",
70
70
  "sideEffects": false,
71
71
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
72
72
  }
@@ -325,7 +325,7 @@ var QueryBuilder = /** @class */ (function (_super) {
325
325
  categories.push(columns[i].category);
326
326
  }
327
327
  if (!columns[i].operators ||
328
- (this.isLocale && this.isCustomOprCols.indexOf(columns[i].field) !== 0)) {
328
+ (this.isLocale && this.isCustomOprCols.indexOf(columns[i].field) === -1)) {
329
329
  columns[i].operators = this.customOperators[columns[i].type + 'Operator'];
330
330
  }
331
331
  }
@@ -365,8 +365,9 @@ var QueryBuilder = /** @class */ (function (_super) {
365
365
  else {
366
366
  columns[i].category = this.l10n.getConstant('OtherFields');
367
367
  }
368
- this.updateCustomOperator(columns[i]);
369
- if (!columns[i].operators || this.isLocale) {
368
+ this.updateCustomOperator(columns[i], 'initial');
369
+ if (!columns[i].operators ||
370
+ (this.isLocale && this.isCustomOprCols.indexOf(columns[i].field) === -1)) {
370
371
  columns[i].operators = this.customOperators[columns[i].type + 'Operator'];
371
372
  }
372
373
  }