@xh/hoist 74.0.0-SNAPSHOT.1747678860024 → 74.0.0-SNAPSHOT.1747680461455
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,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## v73.0.1 - 2025-05-19
|
|
4
|
+
|
|
5
|
+
### 🐞 Bug Fixes
|
|
6
|
+
|
|
7
|
+
* Fixed a minor issue with Admin Console Role Management.
|
|
4
8
|
|
|
5
9
|
## v73.0.0 - 2025-05-16
|
|
6
10
|
|
|
@@ -23,7 +27,7 @@
|
|
|
23
27
|
* Added ability to append terms to active filter *only* when `commitOnChage:false`
|
|
24
28
|
* Added new `PopoverFilterChooser` component - wraps `FilterChooser` in a `Popover` to allow it to
|
|
25
29
|
expand vertically when used in a `Toolbar` or other space-constrained, single-line layout.
|
|
26
|
-
|
|
30
|
+
* Enhanced OAuth clients with a new `reloginEnabled` config. Set to true to allow the client to do a
|
|
27
31
|
potentially interactive popup login mid-session to re-establish auth if its refresh token has
|
|
28
32
|
expired or been invalidated. Strongly recommended for all OAuth usages.
|
|
29
33
|
* Significantly upgraded the Admin Console "User Activity" tab:
|
|
@@ -78,8 +82,8 @@ build. That said, we *strongly* recommend taking these same changes into your ap
|
|
|
78
82
|
|
|
79
83
|
* @xh/hoist-dev-utils `10.x → 11.x`
|
|
80
84
|
* eslint `8.x → 9.x`
|
|
81
|
-
|
|
82
|
-
|
|
85
|
+
* Apps making this update must also rename their `.eslintrc` file to `eslint.config.js`. See the
|
|
86
|
+
configuration found in Toolbox's `eslint.config.js` as your new baseline.
|
|
83
87
|
* eslint-config-prettier `9.x → 10.x`
|
|
84
88
|
* typescript `5.1 → 5.8`
|
|
85
89
|
|
|
@@ -31,8 +31,8 @@ export declare class GridFilterFieldSpec extends BaseFilterFieldSpec {
|
|
|
31
31
|
defaultOp: FieldFilterOperator;
|
|
32
32
|
valueCount: number;
|
|
33
33
|
constructor({ filterModel, renderer, inputProps, defaultOp, ...rest }: GridFilterFieldSpecConfig);
|
|
34
|
+
getUniqueValue(value: unknown): unknown;
|
|
34
35
|
loadValuesFromSource(): void;
|
|
35
|
-
cleanFilter
|
|
36
|
-
valueFromRecord
|
|
37
|
-
getUniqueValue(value: any): any;
|
|
36
|
+
private cleanFilter;
|
|
37
|
+
private valueFromRecord;
|
|
38
38
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import {ColumnRenderer} from '@xh/hoist/cmp/grid';
|
|
8
8
|
import {HoistInputProps} from '@xh/hoist/cmp/input';
|
|
9
9
|
import {PlainObject} from '@xh/hoist/core';
|
|
10
|
-
import {FieldFilterOperator, parseFilter, View} from '@xh/hoist/data';
|
|
10
|
+
import {FieldFilterOperator, parseFilter, StoreRecord, View} from '@xh/hoist/data';
|
|
11
11
|
import {
|
|
12
12
|
BaseFilterFieldSpec,
|
|
13
13
|
BaseFilterFieldSpecConfig
|
|
@@ -61,6 +61,11 @@ export class GridFilterFieldSpec extends BaseFilterFieldSpec {
|
|
|
61
61
|
this.defaultOp = this.ops.includes(defaultOp) ? defaultOp : this.ops[0];
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
+
getUniqueValue(value: unknown) {
|
|
65
|
+
// Return ms timestamp for dates to facilitate uniqueness check
|
|
66
|
+
return isDate(value) ? value.getTime() : value;
|
|
67
|
+
}
|
|
68
|
+
|
|
64
69
|
//------------------------
|
|
65
70
|
// Implementation
|
|
66
71
|
//------------------------
|
|
@@ -112,7 +117,7 @@ export class GridFilterFieldSpec extends BaseFilterFieldSpec {
|
|
|
112
117
|
}
|
|
113
118
|
|
|
114
119
|
// Recursively modify a Filter|CompoundFilter to remove all FieldFilters referencing this column
|
|
115
|
-
cleanFilter(filter) {
|
|
120
|
+
private cleanFilter(filter) {
|
|
116
121
|
if (!filter) return filter;
|
|
117
122
|
|
|
118
123
|
const {field, filters, op} = filter;
|
|
@@ -126,13 +131,8 @@ export class GridFilterFieldSpec extends BaseFilterFieldSpec {
|
|
|
126
131
|
return filter;
|
|
127
132
|
}
|
|
128
133
|
|
|
129
|
-
valueFromRecord(record) {
|
|
134
|
+
private valueFromRecord(record: StoreRecord) {
|
|
130
135
|
const {filterModel, field} = this;
|
|
131
136
|
return filterModel.toDisplayValue(record.get(field));
|
|
132
137
|
}
|
|
133
|
-
|
|
134
|
-
getUniqueValue(value) {
|
|
135
|
-
// Return ms timestamp for dates to facilitate uniqueness check
|
|
136
|
-
return isDate(value) ? value.getTime() : value;
|
|
137
|
-
}
|
|
138
138
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xh/hoist",
|
|
3
|
-
"version": "74.0.0-SNAPSHOT.
|
|
3
|
+
"version": "74.0.0-SNAPSHOT.1747680461455",
|
|
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",
|