@easyquery/core 7.3.1 → 7.3.3-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.1
3
+ * EasyQuery.JS Core v7.3.3-rc01
4
4
  * Copyright 2024 Korzh.com
5
5
  * Licensed under MIT
6
6
  *
7
- * Build time: 3/4/2024 9:09:32 AM
7
+ * Build time: 4/8/2024 7:07:28 PM
8
8
  */
9
9
 
10
10
  'use strict';
@@ -3907,11 +3907,13 @@ class EqAggregatesContainer {
3907
3907
  }
3908
3908
  };
3909
3909
  const desc = this.getLevelDesc(level, false);
3910
- if (desc && desc.data) {
3911
- processFunc(desc.data);
3912
- }
3913
- else {
3914
- desc.receivedCallbacks.push(processFunc);
3910
+ if (desc) {
3911
+ if (desc.data) {
3912
+ processFunc(desc.data);
3913
+ }
3914
+ else {
3915
+ desc.receivedCallbacks.push(processFunc);
3916
+ }
3915
3917
  }
3916
3918
  });
3917
3919
  }
@@ -3945,7 +3947,7 @@ class EqAggregatesContainer {
3945
3947
  return desc;
3946
3948
  }
3947
3949
  clear() {
3948
- this.levels = [];
3950
+ this.levels = {};
3949
3951
  }
3950
3952
  }
3951
3953
  class DefaultAggregatesCalculator {
@@ -1,10 +1,10 @@
1
1
 
2
2
  /*
3
- * EasyQuery.JS Core v7.3.1
3
+ * EasyQuery.JS Core v7.3.3-rc01
4
4
  * Copyright 2024 Korzh.com
5
5
  * Licensed under MIT
6
6
  *
7
- * Build time: 3/4/2024 9:09:32 AM
7
+ * Build time: 4/8/2024 7:07:28 PM
8
8
  */
9
9
 
10
10
  import { i18n, DataType, utils, ValueEditor, MetaEntity, MetaEntityAttr, EditorTag, MetaData, EventEmitter, AggregationSettings, HttpClient, EasyDataTable } from '@easydata/core';
@@ -3906,11 +3906,13 @@ class EqAggregatesContainer {
3906
3906
  }
3907
3907
  };
3908
3908
  const desc = this.getLevelDesc(level, false);
3909
- if (desc && desc.data) {
3910
- processFunc(desc.data);
3911
- }
3912
- else {
3913
- desc.receivedCallbacks.push(processFunc);
3909
+ if (desc) {
3910
+ if (desc.data) {
3911
+ processFunc(desc.data);
3912
+ }
3913
+ else {
3914
+ desc.receivedCallbacks.push(processFunc);
3915
+ }
3914
3916
  }
3915
3917
  });
3916
3918
  }
@@ -3944,7 +3946,7 @@ class EqAggregatesContainer {
3944
3946
  return desc;
3945
3947
  }
3946
3948
  clear() {
3947
- this.levels = [];
3949
+ this.levels = {};
3948
3950
  }
3949
3951
  }
3950
3952
  class DefaultAggregatesCalculator {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyquery/core",
3
- "version": "7.3.1",
3
+ "version": "7.3.3-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",