@xh/hoist 71.0.0-SNAPSHOT.1735236372248 → 71.0.0-SNAPSHOT.1735247152243
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.
|
@@ -553,7 +553,7 @@ export declare class GridModel extends HoistModel {
|
|
|
553
553
|
private parseExperimental;
|
|
554
554
|
private parseChooserModel;
|
|
555
555
|
private isGroupSpec;
|
|
556
|
-
defaultGroupSortFn: (a: any, b: any) =>
|
|
556
|
+
defaultGroupSortFn: (a: any, b: any) => any;
|
|
557
557
|
private readonly LEFT_BORDER_CLASS;
|
|
558
558
|
private readonly RIGHT_BORDER_CLASS;
|
|
559
559
|
private enhanceConfigWithGroupBorders;
|
package/cmp/grid/GridModel.ts
CHANGED
|
@@ -1771,7 +1771,11 @@ export class GridModel extends HoistModel {
|
|
|
1771
1771
|
}
|
|
1772
1772
|
|
|
1773
1773
|
defaultGroupSortFn = (a, b) => {
|
|
1774
|
-
|
|
1774
|
+
// Place ungrouped items at bottom.
|
|
1775
|
+
if (a === b) return 0;
|
|
1776
|
+
if (a === '') return 1;
|
|
1777
|
+
if (b === '') return -1;
|
|
1778
|
+
return a.localeCompare(b);
|
|
1775
1779
|
};
|
|
1776
1780
|
|
|
1777
1781
|
private readonly LEFT_BORDER_CLASS = 'xh-cell--group-border-left';
|
|
@@ -263,12 +263,6 @@ export class ManageDialogModel extends HoistModel {
|
|
|
263
263
|
sortBy: 'name',
|
|
264
264
|
showGroupRowCounts: false,
|
|
265
265
|
groupBy: ['group'],
|
|
266
|
-
groupSortFn: (a, b) => {
|
|
267
|
-
// Place ungrouped items at bottom.
|
|
268
|
-
if (a == '') return 1;
|
|
269
|
-
if (b == '') return -1;
|
|
270
|
-
return a.localeCompare(b);
|
|
271
|
-
},
|
|
272
266
|
selModel: 'multiple',
|
|
273
267
|
contextMenu: null,
|
|
274
268
|
sizingMode: 'standard',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xh/hoist",
|
|
3
|
-
"version": "71.0.0-SNAPSHOT.
|
|
3
|
+
"version": "71.0.0-SNAPSHOT.1735247152243",
|
|
4
4
|
"description": "Hoist add-on for building and deploying React Applications.",
|
|
5
5
|
"repository": "github:xh/hoist-react",
|
|
6
6
|
"homepage": "https://xh.io",
|