@syncfusion/ej2-querybuilder 20.3.56 → 20.4.38

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.
@@ -260,6 +260,7 @@ export declare class QueryBuilder extends Component<HTMLDivElement> implements I
260
260
  private items;
261
261
  private customOperators;
262
262
  private operators;
263
+ private sqlOperators;
263
264
  private ruleElem;
264
265
  private groupElem;
265
266
  private dataColl;
@@ -726,24 +727,27 @@ export declare class QueryBuilder extends Component<HTMLDivElement> implements I
726
727
  * Sets the rules from the sql query.
727
728
  *
728
729
  * @param {string} sqlString - 'sql String' to be passed to set the rule.
730
+ * @param {boolean} sqlLocale - Set `true` if Localization for Sql query.
729
731
  * @returns {void}
730
732
  */
731
- setRulesFromSql(sqlString: string): void;
733
+ setRulesFromSql(sqlString: string, sqlLocale?: boolean): void;
732
734
  /**
733
735
  * Get the rules from SQL query.
734
736
  *
735
737
  * @param {string} sqlString - 'sql String' to be passed to get the rule.
738
+ * @param {boolean} sqlLocale - Set `true` if Localization for Sql query.
736
739
  * @returns {object} - Rules from SQL query
737
740
  */
738
- getRulesFromSql(sqlString: string): RuleModel;
741
+ getRulesFromSql(sqlString: string, sqlLocale?: boolean): RuleModel;
739
742
  /**
740
743
  * Gets the sql query from rules.
741
744
  *
742
745
  * @param {RuleModel} rule - 'rule' to be passed to get the sql.
743
746
  * @param {boolean} allowEscape - Set `true` if it exclude the escape character.
747
+ * @param {boolean} sqlLocale - Set `true` if Localization for Sql query.
744
748
  * @returns {object} - Sql query from rules.
745
749
  */
746
- getSqlFromRules(rule?: RuleModel, allowEscape?: boolean): string;
750
+ getSqlFromRules(rule?: RuleModel, allowEscape?: boolean, sqlLocale?: boolean): string;
747
751
  private sqlParser;
748
752
  private parseSqlStrings;
749
753
  private checkLiteral;