@easyquery/core 7.3.0-rc03 → 7.3.1-rc01

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,10 +1,10 @@
1
1
 
2
2
  /*
3
- * EasyQuery.JS Core v7.3.0-rc03
3
+ * EasyQuery.JS Core v7.3.1-rc01
4
4
  * Copyright 2024 Korzh.com
5
5
  * Licensed under MIT
6
6
  *
7
- * Build time: 2/17/2024 10:01:17 PM
7
+ * Build time: 3/3/2024 3:56:38 PM
8
8
  */
9
9
 
10
10
  'use strict';
@@ -1965,10 +1965,10 @@ class Condition {
1965
1965
  }
1966
1966
  }
1967
1967
  areCompitableEditors(oldEditor, newEditor) {
1968
- if (newEditor.tag == EqEditorTag.CustomList || newEditor.tag == EqEditorTag.List
1969
- || newEditor.tag == EqEditorTag.SqlList || newEditor.tag == core.EditorTag.Unknown) {
1968
+ if (newEditor.tag != oldEditor.tag)
1969
+ return false;
1970
+ if (newEditor.resType != oldEditor.resType)
1970
1971
  return false;
1971
- }
1972
1972
  return true;
1973
1973
  }
1974
1974
  addExpressionByOperand(operand, val = null) {
@@ -1,10 +1,10 @@
1
1
 
2
2
  /*
3
- * EasyQuery.JS Core v7.3.0-rc03
3
+ * EasyQuery.JS Core v7.3.1-rc01
4
4
  * Copyright 2024 Korzh.com
5
5
  * Licensed under MIT
6
6
  *
7
- * Build time: 2/17/2024 10:01:17 PM
7
+ * Build time: 3/3/2024 3:56:38 PM
8
8
  */
9
9
 
10
10
  import { i18n, DataType, utils, ValueEditor, MetaEntity, MetaEntityAttr, EditorTag, MetaData, EventEmitter, AggregationSettings, HttpClient, EasyDataTable } from '@easydata/core';
@@ -1964,10 +1964,10 @@ class Condition {
1964
1964
  }
1965
1965
  }
1966
1966
  areCompitableEditors(oldEditor, newEditor) {
1967
- if (newEditor.tag == EqEditorTag.CustomList || newEditor.tag == EqEditorTag.List
1968
- || newEditor.tag == EqEditorTag.SqlList || newEditor.tag == EditorTag.Unknown) {
1967
+ if (newEditor.tag != oldEditor.tag)
1968
+ return false;
1969
+ if (newEditor.resType != oldEditor.resType)
1969
1970
  return false;
1970
- }
1971
1971
  return true;
1972
1972
  }
1973
1973
  addExpressionByOperand(operand, val = null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyquery/core",
3
- "version": "7.3.0-rc03",
3
+ "version": "7.3.1-rc01",
4
4
  "description": "EasyQuery.JS Community core modules",
5
5
  "types": "./dist/types/public_api.d.ts",
6
6
  "main": "./dist/easyquery.core.cjs.js",