@easyquery/core 7.2.5-rc02 → 7.2.5-rc03

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.2.5-rc02
3
+ * EasyQuery.JS Core v7.2.5-rc03
4
4
  * Copyright 2024 Korzh.com
5
5
  * Licensed under MIT
6
6
  *
7
- * Build time: 1/9/2024 11:22:26 AM
7
+ * Build time: 1/15/2024 11:04:57 AM
8
8
  */
9
9
 
10
10
  'use strict';
@@ -2211,7 +2211,7 @@ class Query {
2211
2211
  return hasChanged;
2212
2212
  }
2213
2213
  createSubQuery() {
2214
- return new Query(this.model, null, { context: this.context });
2214
+ return new Query(this.model, null, { parent: this, context: this.context });
2215
2215
  }
2216
2216
  useAggregation(settingsTuner, silent = false) {
2217
2217
  this.aggrSettings.clear();
@@ -4004,7 +4004,7 @@ class EqServiceProvider {
4004
4004
  this.httpClient.defaultHeaders['x-eqjs-version'] = '7.2.0';
4005
4005
  this.modelResolver = (_) => new DataModel();
4006
4006
  this.modelStorageResolver = null;
4007
- this.queryResolver = (context) => new Query(context.getModel(), null, { context });
4007
+ this.queryResolver = (context) => new Query(context.getModel(), null, { context: context });
4008
4008
  this.modelLoaderResolver = (context) => new EqServerModelLoader(context);
4009
4009
  this.queryStorageResolver = (context) => new BrowserQueryStorage(context);
4010
4010
  this.querySynchronizerResolver = (context) => new EqServerQuerySynchronizer(context);
@@ -4769,7 +4769,7 @@ class EqContext {
4769
4769
  }
4770
4770
  /**
4771
4771
  * Sets the content of the current data model
4772
- */
4772
+ */
4773
4773
  loadModelFromData(modelPlainData) {
4774
4774
  this.getQuery().loadModelData(modelPlainData);
4775
4775
  this.dataModel = this.getQuery().getModel();
@@ -1,10 +1,10 @@
1
1
 
2
2
  /*
3
- * EasyQuery.JS Core v7.2.5-rc02
3
+ * EasyQuery.JS Core v7.2.5-rc03
4
4
  * Copyright 2024 Korzh.com
5
5
  * Licensed under MIT
6
6
  *
7
- * Build time: 1/9/2024 11:22:26 AM
7
+ * Build time: 1/15/2024 11:04:57 AM
8
8
  */
9
9
 
10
10
  import { i18n, DataType, utils, ValueEditor, MetaEntity, MetaEntityAttr, EditorTag, MetaData, EventEmitter, AggregationSettings, HttpClient, EasyDataTable } from '@easydata/core';
@@ -2210,7 +2210,7 @@ class Query {
2210
2210
  return hasChanged;
2211
2211
  }
2212
2212
  createSubQuery() {
2213
- return new Query(this.model, null, { context: this.context });
2213
+ return new Query(this.model, null, { parent: this, context: this.context });
2214
2214
  }
2215
2215
  useAggregation(settingsTuner, silent = false) {
2216
2216
  this.aggrSettings.clear();
@@ -4003,7 +4003,7 @@ class EqServiceProvider {
4003
4003
  this.httpClient.defaultHeaders['x-eqjs-version'] = '7.2.0';
4004
4004
  this.modelResolver = (_) => new DataModel();
4005
4005
  this.modelStorageResolver = null;
4006
- this.queryResolver = (context) => new Query(context.getModel(), null, { context });
4006
+ this.queryResolver = (context) => new Query(context.getModel(), null, { context: context });
4007
4007
  this.modelLoaderResolver = (context) => new EqServerModelLoader(context);
4008
4008
  this.queryStorageResolver = (context) => new BrowserQueryStorage(context);
4009
4009
  this.querySynchronizerResolver = (context) => new EqServerQuerySynchronizer(context);
@@ -4768,7 +4768,7 @@ class EqContext {
4768
4768
  }
4769
4769
  /**
4770
4770
  * Sets the content of the current data model
4771
- */
4771
+ */
4772
4772
  loadModelFromData(modelPlainData) {
4773
4773
  this.getQuery().loadModelData(modelPlainData);
4774
4774
  this.dataModel = this.getQuery().getModel();
@@ -162,7 +162,7 @@ export declare class EqContext {
162
162
  getModel(): DataModel;
163
163
  /**
164
164
  * Sets the content of the current data model
165
- */
165
+ */
166
166
  loadModelFromData(modelPlainData: ModelPlainData): void;
167
167
  /**
168
168
  * Sets the ID of the default model
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyquery/core",
3
- "version": "7.2.5-rc02",
3
+ "version": "7.2.5-rc03",
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",