cx 21.11.2 → 21.12.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/data.js +2 -1
- package/dist/manifest.js +525 -525
- package/dist/widgets.js +158 -44
- package/package.json +1 -1
- package/src/data/comparer.js +1 -1
- package/src/data/createStructuredSelector.js +1 -0
- package/src/ui/DataProxy.spec.js +43 -0
- package/src/widgets/HtmlElement.js +1 -0
- package/src/widgets/form/LookupField.d.ts +3 -0
- package/src/widgets/form/LookupField.js +34 -11
- package/src/widgets/form/Slider.js +8 -2
- package/src/widgets/form/TextField.js +1 -1
- package/src/widgets/grid/Grid.d.ts +3 -0
- package/src/widgets/grid/Grid.js +98 -26
- package/src/widgets/nav/MenuItem.d.ts +8 -0
package/dist/data.js
CHANGED
|
@@ -1364,6 +1364,7 @@ function createStructuredSelector(selector, constants) {
|
|
|
1364
1364
|
var memoizedSelectors = {};
|
|
1365
1365
|
keys.forEach(function(key) {
|
|
1366
1366
|
memoizedSelectors[key] = selector[key].memoize ? selector[key].memoize() : selector[key];
|
|
1367
|
+
lastResult[key] = undefined;
|
|
1367
1368
|
});
|
|
1368
1369
|
return function(data) {
|
|
1369
1370
|
var result = lastResult,
|
|
@@ -1955,7 +1956,7 @@ function getComparer(sorters, dataAccessor, comparer) {
|
|
|
1955
1956
|
}
|
|
1956
1957
|
: selector,
|
|
1957
1958
|
factor: s.direction && s.direction[0].toLowerCase() == "d" ? -1 : 1,
|
|
1958
|
-
compare: s.comparer || comparer || defaultCompare
|
|
1959
|
+
compare: s.comparer || s.compare || comparer || defaultCompare
|
|
1959
1960
|
};
|
|
1960
1961
|
});
|
|
1961
1962
|
return function(a, b) {
|