@xh/hoist 76.0.0-SNAPSHOT.1756991850787 → 76.0.0-SNAPSHOT.1757108800208
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 +5 -1
- package/admin/AppModel.ts +54 -6
- package/admin/tabs/cluster/index.ts +2 -0
- package/admin/tabs/general/index.ts +3 -0
- package/admin/tabs/userData/index.ts +4 -0
- package/build/types/admin/tabs/cluster/index.d.ts +2 -0
- package/build/types/admin/tabs/general/index.d.ts +3 -0
- package/build/types/admin/tabs/userData/index.d.ts +4 -0
- package/build/types/cmp/tab/TabContainerModel.d.ts +14 -4
- package/build/types/cmp/tab/TabModel.d.ts +11 -11
- package/cmp/tab/TabContainerModel.ts +23 -20
- package/cmp/tab/TabModel.ts +73 -31
- package/desktop/cmp/tab/impl/Tab.ts +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/admin/tabs/cluster/ClusterTab.ts +0 -24
- package/admin/tabs/general/GeneralTab.ts +0 -26
- package/admin/tabs/userData/UserDataTab.ts +0 -52
- package/build/types/admin/tabs/cluster/ClusterTab.d.ts +0 -1
- package/build/types/admin/tabs/general/GeneralTab.d.ts +0 -1
- package/build/types/admin/tabs/userData/UserDataTab.d.ts +0 -1
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file belongs to Hoist, an application development toolkit
|
|
3
|
-
* developed by Extremely Heavy Industries (www.xh.io | info@xh.io)
|
|
4
|
-
*
|
|
5
|
-
* Copyright © 2025 Extremely Heavy Industries Inc.
|
|
6
|
-
*/
|
|
7
|
-
import {clusterObjectsPanel} from '@xh/hoist/admin/tabs/cluster/objects/ClusterObjectsPanel';
|
|
8
|
-
import {instancesTab} from '@xh/hoist/admin/tabs/cluster/instances/InstancesTab';
|
|
9
|
-
import {tabContainer} from '@xh/hoist/cmp/tab';
|
|
10
|
-
import {hoistCmp} from '@xh/hoist/core';
|
|
11
|
-
import {Icon} from '@xh/hoist/icon';
|
|
12
|
-
|
|
13
|
-
export const clusterTab = hoistCmp.factory(() =>
|
|
14
|
-
tabContainer({
|
|
15
|
-
modelConfig: {
|
|
16
|
-
route: 'default.servers',
|
|
17
|
-
switcher: {orientation: 'left', testId: 'cluster-tab-switcher'},
|
|
18
|
-
tabs: [
|
|
19
|
-
{id: 'instances', icon: Icon.server(), content: instancesTab},
|
|
20
|
-
{id: 'objects', icon: Icon.boxFull(), content: clusterObjectsPanel}
|
|
21
|
-
]
|
|
22
|
-
}
|
|
23
|
-
})
|
|
24
|
-
);
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file belongs to Hoist, an application development toolkit
|
|
3
|
-
* developed by Extremely Heavy Industries (www.xh.io | info@xh.io)
|
|
4
|
-
*
|
|
5
|
-
* Copyright © 2025 Extremely Heavy Industries Inc.
|
|
6
|
-
*/
|
|
7
|
-
import {configPanel} from '@xh/hoist/admin/tabs/general/config/ConfigPanel';
|
|
8
|
-
import {tabContainer} from '@xh/hoist/cmp/tab';
|
|
9
|
-
import {hoistCmp} from '@xh/hoist/core';
|
|
10
|
-
import {Icon} from '@xh/hoist/icon';
|
|
11
|
-
import {aboutPanel} from './about/AboutPanel';
|
|
12
|
-
import {alertBannerPanel} from './alertBanner/AlertBannerPanel';
|
|
13
|
-
|
|
14
|
-
export const generalTab = hoistCmp.factory(() =>
|
|
15
|
-
tabContainer({
|
|
16
|
-
modelConfig: {
|
|
17
|
-
route: 'default.general',
|
|
18
|
-
switcher: {orientation: 'left', testId: 'general-tab-switcher'},
|
|
19
|
-
tabs: [
|
|
20
|
-
{id: 'about', icon: Icon.info(), content: aboutPanel},
|
|
21
|
-
{id: 'config', icon: Icon.settings(), content: configPanel},
|
|
22
|
-
{id: 'alertBanner', icon: Icon.bullhorn(), content: alertBannerPanel}
|
|
23
|
-
]
|
|
24
|
-
}
|
|
25
|
-
})
|
|
26
|
-
);
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file belongs to Hoist, an application development toolkit
|
|
3
|
-
* developed by Extremely Heavy Industries (www.xh.io | info@xh.io)
|
|
4
|
-
*
|
|
5
|
-
* Copyright © 2025 Extremely Heavy Industries Inc.
|
|
6
|
-
*/
|
|
7
|
-
import {jsonBlobPanel} from '@xh/hoist/admin/tabs/userData/jsonblob/JsonBlobPanel';
|
|
8
|
-
import {rolePanel} from '@xh/hoist/admin/tabs/userData/roles/RolePanel';
|
|
9
|
-
import {userPanel} from '@xh/hoist/admin/tabs/userData/users/UserPanel';
|
|
10
|
-
import {tabContainer} from '@xh/hoist/cmp/tab';
|
|
11
|
-
import {hoistCmp, XH} from '@xh/hoist/core';
|
|
12
|
-
import {Icon} from '@xh/hoist/icon';
|
|
13
|
-
import {userPreferencePanel} from './prefs/UserPreferencePanel';
|
|
14
|
-
|
|
15
|
-
export const userDataTab = hoistCmp.factory({
|
|
16
|
-
render() {
|
|
17
|
-
const conf = XH.getConf('xhAdminAppConfig', {});
|
|
18
|
-
|
|
19
|
-
return tabContainer({
|
|
20
|
-
modelConfig: {
|
|
21
|
-
route: 'default.userData',
|
|
22
|
-
switcher: {orientation: 'left', testId: 'user-data-tab-switcher'},
|
|
23
|
-
refreshMode: 'onShowAlways',
|
|
24
|
-
tabs: [
|
|
25
|
-
{
|
|
26
|
-
id: 'users',
|
|
27
|
-
icon: Icon.users(),
|
|
28
|
-
content: userPanel,
|
|
29
|
-
omit: conf['hideUsersTab']
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
id: 'roles',
|
|
33
|
-
icon: Icon.idBadge(),
|
|
34
|
-
content: rolePanel
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
id: 'prefs',
|
|
38
|
-
title: 'Preferences',
|
|
39
|
-
icon: Icon.bookmark(),
|
|
40
|
-
content: userPreferencePanel
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
id: 'jsonBlobs',
|
|
44
|
-
title: 'JSON Blobs',
|
|
45
|
-
icon: Icon.json(),
|
|
46
|
-
content: jsonBlobPanel
|
|
47
|
-
}
|
|
48
|
-
]
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const clusterTab: import("@xh/hoist/core").ElementFactory<import("@xh/hoist/core").DefaultHoistProps<import("@xh/hoist/core").HoistModel>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const generalTab: import("@xh/hoist/core").ElementFactory<import("@xh/hoist/core").DefaultHoistProps<import("@xh/hoist/core").HoistModel>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const userDataTab: import("@xh/hoist/core").ElementFactory<import("@xh/hoist/core").DefaultHoistProps<import("@xh/hoist/core").HoistModel>>;
|