@xh/hoist 72.0.0-SNAPSHOT.1736996102638 → 72.0.0-SNAPSHOT.1737150473558
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 +1 -0
- package/cmp/grid/GridModel.ts +3 -2
- package/package.json +1 -2
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
package/cmp/grid/GridModel.ts
CHANGED
|
@@ -600,6 +600,7 @@ export class GridModel extends HoistModel {
|
|
|
600
600
|
this.colChooserModel = this.parseChooserModel(colChooserModel);
|
|
601
601
|
this.selModel = this.parseSelModel(selModel);
|
|
602
602
|
this.filterModel = this.parseFilterModel(filterModel);
|
|
603
|
+
if (this.filterModel) this._defaultState.filter = this.filterModel.filter;
|
|
603
604
|
if (persistWith) initPersist(this, persistWith);
|
|
604
605
|
this.experimental = this.parseExperimental(experimental);
|
|
605
606
|
this.onKeyDown = onKeyDown;
|
|
@@ -644,12 +645,12 @@ export class GridModel extends HoistModel {
|
|
|
644
645
|
if (!confirmed) return false;
|
|
645
646
|
}
|
|
646
647
|
|
|
647
|
-
const {columns, sortBy, groupBy} = this._defaultState;
|
|
648
|
+
const {columns, sortBy, groupBy, filter} = this._defaultState;
|
|
648
649
|
this.setColumns(columns);
|
|
649
650
|
this.setSortBy(sortBy);
|
|
650
651
|
this.setGroupBy(groupBy);
|
|
651
652
|
|
|
652
|
-
this.filterModel?.
|
|
653
|
+
this.filterModel?.setFilter(filter);
|
|
653
654
|
|
|
654
655
|
if (this.autosizeOptions.mode === 'managed') {
|
|
655
656
|
await this.autosizeAsync();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xh/hoist",
|
|
3
|
-
"version": "72.0.0-SNAPSHOT.
|
|
3
|
+
"version": "72.0.0-SNAPSHOT.1737150473558",
|
|
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",
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
"lint:all": "yarn lint:ts && yarn lint:js && yarn lint:styles",
|
|
13
13
|
"lint:js": "eslint --ext .js,.jsx .",
|
|
14
14
|
"lint:ts": "eslint --ext .ts,.tsx .",
|
|
15
|
-
"tsc": "./node_modules/typescript/bin/tsc",
|
|
16
15
|
"lint:styles": "stylelint \"**/*.s?(a|c)ss\"",
|
|
17
16
|
"prepare": "husky"
|
|
18
17
|
},
|