@easyquery/enterprise 7.2.4-rc02 → 7.2.4-rc04
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.
- package/dist/browser/eq.enterprise.js +56 -58
- package/dist/browser/eq.enterprise.js.map +1 -1
- package/dist/browser/eq.enterprise.min.js +1 -1
- package/dist/browser/eq.enterprise.min.js.map +1 -1
- package/dist/bundles/easyquery.enterprise.js +22 -55
- package/dist/bundles/easyquery.enterprise.js.map +1 -1
- package/dist/bundles/easyquery.enterprise.min.js +1 -1
- package/dist/bundles/easyquery.enterprise.min.js.map +1 -1
- package/dist/lib/license/lc-dialog.js +1 -1
- package/dist/lib/license/lc-dialog.js.map +1 -1
- package/dist/lib/query/query_ex.js +5 -3
- package/dist/lib/query/query_ex.js.map +1 -1
- package/package.json +3 -3
|
@@ -488,9 +488,11 @@ var QueryEx = /** @class */ (function (_super) {
|
|
|
488
488
|
if (addChildCondition) {
|
|
489
489
|
var model = this.getModel();
|
|
490
490
|
var attr = model.getFirstUICAttr();
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
491
|
+
if (attr) {
|
|
492
|
+
var op = model.getDefaultOperatorForAttr(attr);
|
|
493
|
+
var cond = this.createSimpleConditionObject(attr, op, "");
|
|
494
|
+
group.addCondition(cond);
|
|
495
|
+
}
|
|
494
496
|
}
|
|
495
497
|
parent.addCondition(group);
|
|
496
498
|
return group;
|
|
@@ -1072,39 +1074,6 @@ var HttpRequest = /** @class */ (function () {
|
|
|
1072
1074
|
}());
|
|
1073
1075
|
|
|
1074
1076
|
//# sourceMappingURL=http_request.js.map
|
|
1075
|
-
;// CONCATENATED MODULE: ../../easydata/easydata.js/packs/core/dist/lib/utils/string_utils.js
|
|
1076
|
-
function repeatString(str, times) {
|
|
1077
|
-
var result = "";
|
|
1078
|
-
for (var i = 0; i < times; i++) {
|
|
1079
|
-
result += str;
|
|
1080
|
-
}
|
|
1081
|
-
return result;
|
|
1082
|
-
}
|
|
1083
|
-
function reverseString(str) {
|
|
1084
|
-
return str.split("").reverse().join("");
|
|
1085
|
-
}
|
|
1086
|
-
function strEndsWith(str, symbol) {
|
|
1087
|
-
return str && str.lastIndexOf(symbol) == (str.length - symbol.length);
|
|
1088
|
-
}
|
|
1089
|
-
/**
|
|
1090
|
-
* Adds two paths and returns the result
|
|
1091
|
-
* Correctly processes leading and trailing slashes
|
|
1092
|
-
* @param path1
|
|
1093
|
-
* @param path2
|
|
1094
|
-
*/
|
|
1095
|
-
function combinePath(path1, path2) {
|
|
1096
|
-
var result = path1;
|
|
1097
|
-
if (result != null && result.length > 0) {
|
|
1098
|
-
if (result.charAt(result.length - 1) != '/')
|
|
1099
|
-
result += "/";
|
|
1100
|
-
result += path2;
|
|
1101
|
-
}
|
|
1102
|
-
else {
|
|
1103
|
-
result = path2;
|
|
1104
|
-
}
|
|
1105
|
-
return result;
|
|
1106
|
-
}
|
|
1107
|
-
//# sourceMappingURL=string_utils.js.map
|
|
1108
1077
|
;// CONCATENATED MODULE: ../../easydata/easydata.js/packs/core/dist/lib/i18n/i18n.js
|
|
1109
1078
|
|
|
1110
1079
|
|
|
@@ -1578,7 +1547,6 @@ var i18n;
|
|
|
1578
1547
|
;// CONCATENATED MODULE: ../../easydata/easydata.js/packs/core/dist/lib/utils/utils.js
|
|
1579
1548
|
|
|
1580
1549
|
|
|
1581
|
-
|
|
1582
1550
|
var utils;
|
|
1583
1551
|
(function (utils) {
|
|
1584
1552
|
function getAllDataTypes() {
|
|
@@ -1901,27 +1869,26 @@ var utils;
|
|
|
1901
1869
|
if (prfx && prfx.length > 0) {
|
|
1902
1870
|
prfx += "-";
|
|
1903
1871
|
}
|
|
1904
|
-
//adding
|
|
1905
|
-
var
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
//
|
|
1911
|
-
var
|
|
1912
|
-
return prfx +
|
|
1872
|
+
//adding 3 random symbols
|
|
1873
|
+
var randCharPart = symbols[getRandomInt(0, symbols.length)] +
|
|
1874
|
+
symbols[getRandomInt(0, symbols.length)] +
|
|
1875
|
+
symbols[getRandomInt(0, symbols.length)];
|
|
1876
|
+
var randInt = getRandomInt(0, 10000);
|
|
1877
|
+
//generating main ID part
|
|
1878
|
+
//it's a 36-base representation of some random number based on current value of ticks
|
|
1879
|
+
var ticksNum36 = intToNumBase(getNowTicks() - magicTicks - randInt);
|
|
1880
|
+
return prfx + randCharPart + ticksNum36;
|
|
1913
1881
|
}
|
|
1914
1882
|
utils.generateId = generateId;
|
|
1915
|
-
function
|
|
1916
|
-
|
|
1917
|
-
var
|
|
1918
|
-
var buffer = repeatString("", i);
|
|
1883
|
+
function intToNumBase(value, targetBase) {
|
|
1884
|
+
if (targetBase === void 0) { targetBase = 36; }
|
|
1885
|
+
var buffer = '';
|
|
1919
1886
|
var rest = value;
|
|
1920
1887
|
do {
|
|
1921
|
-
buffer =
|
|
1888
|
+
buffer = symbols[rest % targetBase] + buffer;
|
|
1922
1889
|
rest = Math.floor(rest /= targetBase);
|
|
1923
1890
|
} while (rest > 0);
|
|
1924
|
-
return
|
|
1891
|
+
return buffer;
|
|
1925
1892
|
}
|
|
1926
1893
|
function squeezeMoniker(str, maxlen) {
|
|
1927
1894
|
var parts = str.split('-');
|
|
@@ -1958,8 +1925,8 @@ var utils;
|
|
|
1958
1925
|
return str;
|
|
1959
1926
|
}
|
|
1960
1927
|
}
|
|
1961
|
-
function replaceAtString(str, index,
|
|
1962
|
-
return str.
|
|
1928
|
+
function replaceAtString(str, index, replacement) {
|
|
1929
|
+
return str.substring(0, index) + replacement + str.substring(index + replacement.length);
|
|
1963
1930
|
}
|
|
1964
1931
|
function getRandomInt(min, max) {
|
|
1965
1932
|
return Math.floor(Math.random() * (max - min)) + min;
|
|
@@ -7526,7 +7493,7 @@ function strIsEmpty(str) {
|
|
|
7526
7493
|
else
|
|
7527
7494
|
return true;
|
|
7528
7495
|
}
|
|
7529
|
-
var baseLicApiUrl = 'https://korzh.com/api/license';
|
|
7496
|
+
var baseLicApiUrl = 'https://account.korzh.com/api/license';
|
|
7530
7497
|
//const baseLicApiUrl = 'https://localhost:44301/api/license';
|
|
7531
7498
|
var eqVersion = '7.2';
|
|
7532
7499
|
var LCDialog = /** @class */ (function () {
|