@mx-cartographer/experiences 5.2.9-alpha.mega1 → 5.2.9
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/index.es.js
CHANGED
|
@@ -3855,10 +3855,8 @@ class kc {
|
|
|
3855
3855
|
setUserProfile = (t) => this.appData.user_profile = t;
|
|
3856
3856
|
}
|
|
3857
3857
|
function Kc(A, t, i, n = "asc") {
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
return r[i] < o[i] ? -1 * I : r[i] > o[i] ? 1 * I : 0;
|
|
3861
|
-
});
|
|
3858
|
+
const r = n === "desc" ? -1 : 1;
|
|
3859
|
+
return [...A, ...t].sort((o, I) => o[i] < I[i] ? -1 * r : o[i] > I[i] ? 1 * r : 0);
|
|
3862
3860
|
}
|
|
3863
3861
|
const Zc = (A) => ({
|
|
3864
3862
|
...A,
|