ngx-ode-ui 4.5.0-dev.0 → 4.5.0-dev.1
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/bundles/ngx-ode-ui.umd.js +4 -3
- package/bundles/ngx-ode-ui.umd.js.map +1 -1
- package/bundles/ngx-ode-ui.umd.min.js +1 -1
- package/bundles/ngx-ode-ui.umd.min.js.map +1 -1
- package/esm2015/lib/pipes/orderBy.pipe.js +5 -4
- package/esm5/lib/pipes/orderBy.pipe.js +5 -4
- package/fesm2015/ngx-ode-ui.js +4 -3
- package/fesm2015/ngx-ode-ui.js.map +1 -1
- package/fesm5/ngx-ode-ui.js +4 -3
- package/fesm5/ngx-ode-ui.js.map +1 -1
- package/package.json +1 -1
package/fesm5/ngx-ode-ui.js
CHANGED
|
@@ -5067,6 +5067,7 @@ var OrderPipe = /** @class */ (function () {
|
|
|
5067
5067
|
// Compare strings case-insensitively
|
|
5068
5068
|
value1 = value1.toLowerCase();
|
|
5069
5069
|
value2 = value2.toLowerCase();
|
|
5070
|
+
result = value1.localeCompare(value2);
|
|
5070
5071
|
}
|
|
5071
5072
|
else if (type1 === 'object') {
|
|
5072
5073
|
// For basic objects, use the position of the object
|
|
@@ -5077,9 +5078,9 @@ var OrderPipe = /** @class */ (function () {
|
|
|
5077
5078
|
if (isObject(value2)) {
|
|
5078
5079
|
value2 = v2.index;
|
|
5079
5080
|
}
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5081
|
+
if (value1 !== value2) {
|
|
5082
|
+
result = value1 < value2 ? -1 : 1;
|
|
5083
|
+
}
|
|
5083
5084
|
}
|
|
5084
5085
|
}
|
|
5085
5086
|
else {
|