@xh/hoist 73.0.0-SNAPSHOT.1747058765265 → 73.0.0-SNAPSHOT.1747063023327
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/admin/tabs/cluster/instances/connpool/ConnPoolMonitorModel.ts +2 -2
- package/admin/tabs/cluster/instances/services/DetailsModel.ts +6 -1
- package/admin/tabs/userData/roles/graph/RoleGraphModel.ts +6 -1
- package/appcontainer/AppContainerModel.ts +6 -1
- package/build/types/admin/tabs/cluster/instances/services/DetailsModel.d.ts +1 -0
- package/build/types/admin/tabs/userData/roles/graph/RoleGraphModel.d.ts +1 -0
- package/build/types/appcontainer/AppContainerModel.d.ts +1 -0
- package/desktop/cmp/leftrightchooser/LeftRightChooserModel.ts +2 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -11,7 +11,7 @@ import {ChartModel} from '@xh/hoist/cmp/chart';
|
|
|
11
11
|
import {GridModel} from '@xh/hoist/cmp/grid';
|
|
12
12
|
import {LoadSpec, managed, PlainObject, XH} from '@xh/hoist/core';
|
|
13
13
|
import {fmtTime} from '@xh/hoist/format';
|
|
14
|
-
import {bindable} from '@xh/hoist/mobx';
|
|
14
|
+
import {bindable, makeObservable} from '@xh/hoist/mobx';
|
|
15
15
|
import {forOwn, sortBy} from 'lodash';
|
|
16
16
|
|
|
17
17
|
export class ConnPoolMonitorModel extends BaseInstanceModel {
|
|
@@ -23,7 +23,7 @@ export class ConnPoolMonitorModel extends BaseInstanceModel {
|
|
|
23
23
|
|
|
24
24
|
constructor() {
|
|
25
25
|
super();
|
|
26
|
-
|
|
26
|
+
makeObservable(this);
|
|
27
27
|
this.gridModel = new GridModel({
|
|
28
28
|
enableExport: true,
|
|
29
29
|
exportOptions: {filename: exportFilenameWithDate('conn-pool-monitor')},
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Copyright © 2025 Extremely Heavy Industries Inc.
|
|
6
6
|
*/
|
|
7
7
|
import {HoistModel, LoadSpec, lookup, PlainObject, XH} from '@xh/hoist/core';
|
|
8
|
-
import {bindable} from '@xh/hoist/mobx';
|
|
8
|
+
import {bindable, makeObservable} from '@xh/hoist/mobx';
|
|
9
9
|
import {ServiceModel} from './ServiceModel';
|
|
10
10
|
|
|
11
11
|
export class DetailsModel extends HoistModel {
|
|
@@ -22,6 +22,11 @@ export class DetailsModel extends HoistModel {
|
|
|
22
22
|
return this.parent.gridModel.selectedRecord;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
constructor() {
|
|
26
|
+
super();
|
|
27
|
+
makeObservable(this);
|
|
28
|
+
}
|
|
29
|
+
|
|
25
30
|
override onLinked() {
|
|
26
31
|
this.addReaction({
|
|
27
32
|
track: () => this.selectedRecord,
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import {ChartModel} from '@xh/hoist/cmp/chart';
|
|
8
8
|
import {HoistModel, lookup, managed, PlainObject} from '@xh/hoist/core';
|
|
9
|
-
import {bindable, computed} from '@xh/hoist/mobx';
|
|
9
|
+
import {bindable, computed, makeObservable} from '@xh/hoist/mobx';
|
|
10
10
|
import {wait} from '@xh/hoist/promise';
|
|
11
11
|
import {compact, isEmpty, isMatch, sortBy, sumBy} from 'lodash';
|
|
12
12
|
import {RoleModel} from '../RoleModel';
|
|
@@ -55,6 +55,11 @@ export class RoleGraphModel extends HoistModel {
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
+
constructor() {
|
|
59
|
+
super();
|
|
60
|
+
makeObservable(this);
|
|
61
|
+
}
|
|
62
|
+
|
|
58
63
|
override onLinked() {
|
|
59
64
|
const {chartModel} = this;
|
|
60
65
|
this.addReaction(
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
XH
|
|
17
17
|
} from '@xh/hoist/core';
|
|
18
18
|
import {Icon} from '@xh/hoist/icon';
|
|
19
|
-
import {action, bindable, when as mobxWhen} from '@xh/hoist/mobx';
|
|
19
|
+
import {action, bindable, makeObservable, when as mobxWhen} from '@xh/hoist/mobx';
|
|
20
20
|
import {never, wait} from '@xh/hoist/promise';
|
|
21
21
|
import numbro from 'numbro';
|
|
22
22
|
import {ReactNode} from 'react';
|
|
@@ -116,6 +116,11 @@ export class AppContainerModel extends HoistModel {
|
|
|
116
116
|
*/
|
|
117
117
|
lastRelogin: {started: number; completed: number} = null;
|
|
118
118
|
|
|
119
|
+
constructor() {
|
|
120
|
+
super();
|
|
121
|
+
makeObservable(this);
|
|
122
|
+
}
|
|
123
|
+
|
|
119
124
|
/**
|
|
120
125
|
* Main entry point. Initialize and render application code.
|
|
121
126
|
*/
|
|
@@ -9,7 +9,7 @@ import {div} from '@xh/hoist/cmp/layout';
|
|
|
9
9
|
import {HoistModel, HSide, managed, XH} from '@xh/hoist/core';
|
|
10
10
|
import '@xh/hoist/desktop/register';
|
|
11
11
|
import {Icon} from '@xh/hoist/icon';
|
|
12
|
-
import {bindable, computed} from '@xh/hoist/mobx';
|
|
12
|
+
import {bindable, computed, makeObservable} from '@xh/hoist/mobx';
|
|
13
13
|
import {FilterTestFn, StoreConfig, StoreRecord} from '@xh/hoist/data';
|
|
14
14
|
|
|
15
15
|
export interface LeftRightChooserConfig {
|
|
@@ -135,6 +135,7 @@ export class LeftRightChooserModel extends HoistModel {
|
|
|
135
135
|
xhImpl = false
|
|
136
136
|
}: LeftRightChooserConfig) {
|
|
137
137
|
super();
|
|
138
|
+
makeObservable(this);
|
|
138
139
|
this.xhImpl = xhImpl;
|
|
139
140
|
|
|
140
141
|
this.onChange = onChange;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xh/hoist",
|
|
3
|
-
"version": "73.0.0-SNAPSHOT.
|
|
3
|
+
"version": "73.0.0-SNAPSHOT.1747063023327",
|
|
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",
|