cx 24.0.1 → 24.0.2
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/charts.js +169 -235
- package/dist/data.js +42 -85
- package/dist/hooks.js +1 -1
- package/dist/manifest.js +705 -705
- package/dist/svg.js +47 -97
- package/dist/ui.js +180 -242
- package/dist/util.js +9 -7
- package/dist/widgets.js +1199 -1481
- package/package.json +1 -1
- package/src/widgets/grid/Grid.d.ts +3 -0
- package/src/widgets/grid/Grid.js +44 -43
package/dist/util.js
CHANGED
|
@@ -402,7 +402,6 @@ function expandFatArrows(code) {
|
|
|
402
402
|
}
|
|
403
403
|
return expandFatArrows(code); //recursive call
|
|
404
404
|
}
|
|
405
|
-
|
|
406
405
|
return code;
|
|
407
406
|
}
|
|
408
407
|
function getSingeLineBodyEnd(bodyCode, startI) {
|
|
@@ -1046,9 +1045,12 @@ function getSearchQueryHighlighter(query, options) {
|
|
|
1046
1045
|
};
|
|
1047
1046
|
if (options != null && options.cache) {
|
|
1048
1047
|
highlighterCache[query] = result;
|
|
1049
|
-
setTimeout(
|
|
1050
|
-
|
|
1051
|
-
|
|
1048
|
+
setTimeout(
|
|
1049
|
+
function () {
|
|
1050
|
+
delete highlighterCache[query];
|
|
1051
|
+
},
|
|
1052
|
+
(options == null ? void 0 : options.cachePeriod) || 5000,
|
|
1053
|
+
);
|
|
1052
1054
|
}
|
|
1053
1055
|
return result;
|
|
1054
1056
|
}
|
|
@@ -1086,7 +1088,7 @@ function enableTouchEventDetection() {
|
|
|
1086
1088
|
//console.log('TOUCHSTART');
|
|
1087
1089
|
lastTouchEvent = Date.now();
|
|
1088
1090
|
},
|
|
1089
|
-
options
|
|
1091
|
+
options,
|
|
1090
1092
|
);
|
|
1091
1093
|
document.addEventListener(
|
|
1092
1094
|
"touchmove",
|
|
@@ -1094,7 +1096,7 @@ function enableTouchEventDetection() {
|
|
|
1094
1096
|
//console.log('TOUCHMOVE');
|
|
1095
1097
|
lastTouchEvent = Date.now();
|
|
1096
1098
|
},
|
|
1097
|
-
options
|
|
1099
|
+
options,
|
|
1098
1100
|
);
|
|
1099
1101
|
document.addEventListener(
|
|
1100
1102
|
"touchend",
|
|
@@ -1102,7 +1104,7 @@ function enableTouchEventDetection() {
|
|
|
1102
1104
|
lastTouchEvent = Date.now();
|
|
1103
1105
|
//console.log('TOUCHEND');
|
|
1104
1106
|
},
|
|
1105
|
-
options
|
|
1107
|
+
options,
|
|
1106
1108
|
);
|
|
1107
1109
|
isTouchDetectionEnabled = true;
|
|
1108
1110
|
}
|