@easyquery/core 7.3.3-rc01 → 7.3.3

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.3-rc01
3
+ * EasyQuery.JS Core v7.3.3
4
4
  * Copyright 2024 Korzh.com
5
5
  * Licensed under MIT
6
6
  *
7
- * Build time: 4/8/2024 7:07:28 PM
7
+ * Build time: 4/14/2024 5:44:13 PM
8
8
  */
9
9
 
10
10
  'use strict';
@@ -2154,7 +2154,7 @@ class Query {
2154
2154
  this.regenerateId();
2155
2155
  }
2156
2156
  this.setDefaultName();
2157
- this.description = "";
2157
+ this.description = '';
2158
2158
  this.model = (model) ? model : new DataModel();
2159
2159
  if (data) {
2160
2160
  this.loadFromData(data);
@@ -2516,8 +2516,9 @@ class Query {
2516
2516
  }
2517
2517
  }
2518
2518
  this.name = data.name;
2519
- this.description = data.desc;
2520
- //this.justsorted = [];
2519
+ if (data.desc) {
2520
+ this.description = data.desc;
2521
+ }
2521
2522
  this.sortedColumns = [];
2522
2523
  if (data.justsortcols) {
2523
2524
  for (let i = 0; i < data.justsortcols.length; i++) {
@@ -2786,7 +2787,7 @@ class Query {
2786
2787
  * @retruns The description.
2787
2788
  */
2788
2789
  getDescription() {
2789
- return this.description;
2790
+ return this.description ? this.description : '';
2790
2791
  }
2791
2792
  /**
2792
2793
  * Sets description of the query
@@ -1,10 +1,10 @@
1
1
 
2
2
  /*
3
- * EasyQuery.JS Core v7.3.3-rc01
3
+ * EasyQuery.JS Core v7.3.3
4
4
  * Copyright 2024 Korzh.com
5
5
  * Licensed under MIT
6
6
  *
7
- * Build time: 4/8/2024 7:07:28 PM
7
+ * Build time: 4/14/2024 5:44:13 PM
8
8
  */
9
9
 
10
10
  import { i18n, DataType, utils, ValueEditor, MetaEntity, MetaEntityAttr, EditorTag, MetaData, EventEmitter, AggregationSettings, HttpClient, EasyDataTable } from '@easydata/core';
@@ -2153,7 +2153,7 @@ class Query {
2153
2153
  this.regenerateId();
2154
2154
  }
2155
2155
  this.setDefaultName();
2156
- this.description = "";
2156
+ this.description = '';
2157
2157
  this.model = (model) ? model : new DataModel();
2158
2158
  if (data) {
2159
2159
  this.loadFromData(data);
@@ -2515,8 +2515,9 @@ class Query {
2515
2515
  }
2516
2516
  }
2517
2517
  this.name = data.name;
2518
- this.description = data.desc;
2519
- //this.justsorted = [];
2518
+ if (data.desc) {
2519
+ this.description = data.desc;
2520
+ }
2520
2521
  this.sortedColumns = [];
2521
2522
  if (data.justsortcols) {
2522
2523
  for (let i = 0; i < data.justsortcols.length; i++) {
@@ -2785,7 +2786,7 @@ class Query {
2785
2786
  * @retruns The description.
2786
2787
  */
2787
2788
  getDescription() {
2788
- return this.description;
2789
+ return this.description ? this.description : '';
2789
2790
  }
2790
2791
  /**
2791
2792
  * Sets description of the query
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyquery/core",
3
- "version": "7.3.3-rc01",
3
+ "version": "7.3.3",
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",