@xh/hoist 75.0.0 → 75.0.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/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 75.0.
|
|
3
|
+
## 75.0.1 - 2025-08-11
|
|
4
4
|
|
|
5
5
|
### 🎁 New Features
|
|
6
6
|
|
|
@@ -29,14 +29,9 @@
|
|
|
29
29
|
This new object supports several documented properties, including a useful `cubeLeaves` property,
|
|
30
30
|
which can be activated via the `Query.provideLeaves` property.
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
34
32
|
### 🐞 Bug Fixes
|
|
35
33
|
* Fixed bugs where `Store.modifyRecords`, `Store.revertRecords` and `Store.revert` were not properly
|
|
36
34
|
handling changes to `SummaryRecords`.
|
|
37
|
-
|
|
38
|
-
### 🐞 Bug Fixes
|
|
39
|
-
|
|
40
35
|
* Fixed minor `DashCanvas` issues with `allowAdd: false`, ensuring it does not block additions made
|
|
41
36
|
via `loadState()` and hiding the `Add` context menu item in views as intended.
|
|
42
37
|
* Updated `DashCanvas` CSS to set `position: relative;`, ensuring that the empty state overlay is
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Some } from '@xh/hoist/core';
|
|
2
2
|
/**
|
|
3
3
|
* Grouped node data, as returned by {@link Cube.executeQuery} or exposed via {@link View.result}.
|
|
4
4
|
* Designed for direct consumption by hierarchical stores and their associated tree grids.
|
|
5
5
|
*/
|
|
6
|
-
export declare class ViewRowData
|
|
6
|
+
export declare class ViewRowData {
|
|
7
7
|
constructor(id: string);
|
|
8
8
|
/** Unique id. */
|
|
9
9
|
id: string;
|
|
@@ -35,6 +35,10 @@ export declare class ViewRowData implements PlainObject {
|
|
|
35
35
|
* must have been set on the underlying Query.
|
|
36
36
|
*/
|
|
37
37
|
get cubeLeaves(): Some<ViewRowData>;
|
|
38
|
+
/**
|
|
39
|
+
* Support all other string keys for application fields in source data.
|
|
40
|
+
*/
|
|
41
|
+
[key: string]: any;
|
|
38
42
|
/** @internal */
|
|
39
43
|
_cubeLeafChildren: ViewRowData[];
|
|
40
44
|
}
|
package/data/cube/ViewRowData.ts
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Copyright © 2025 Extremely Heavy Industries Inc.
|
|
6
6
|
*/
|
|
7
|
-
import {
|
|
7
|
+
import {Some} from '@xh/hoist/core';
|
|
8
8
|
import {flatMap} from 'lodash';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Grouped node data, as returned by {@link Cube.executeQuery} or exposed via {@link View.result}.
|
|
12
12
|
* Designed for direct consumption by hierarchical stores and their associated tree grids.
|
|
13
13
|
*/
|
|
14
|
-
export class ViewRowData
|
|
14
|
+
export class ViewRowData {
|
|
15
15
|
constructor(id: string) {
|
|
16
16
|
this.id = id;
|
|
17
17
|
}
|
|
@@ -58,6 +58,11 @@ export class ViewRowData implements PlainObject {
|
|
|
58
58
|
return this._cubeLeafChildren ?? flatMap(this.children, 'cubeLeaves');
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
+
/**
|
|
62
|
+
* Support all other string keys for application fields in source data.
|
|
63
|
+
*/
|
|
64
|
+
[key: string]: any;
|
|
65
|
+
|
|
61
66
|
//------------------
|
|
62
67
|
// Implementation
|
|
63
68
|
//-----------------
|