@decky/ui 4.15.0 → 4.16.0
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/dist/components/Dialog.js +1 -1
- package/dist/components/Dropdown.d.ts +2 -2
- package/dist/components/FooterLegend.d.ts +8 -2
- package/dist/components/FooterLegend.js +7 -0
- package/dist/components/Menu.d.ts +5 -9
- package/dist/components/Modal.d.ts +3 -2
- package/dist/globals/index.d.ts +25 -2
- package/dist/globals/index.js +1 -2
- package/dist/globals/shared/cm.d.ts +112 -0
- package/dist/globals/shared/enums.d.ts +80 -0
- package/dist/globals/shared/enums.js +85 -0
- package/dist/globals/shared/history.d.ts +12 -0
- package/dist/globals/shared/history.js +1 -0
- package/dist/globals/shared/index.d.ts +5 -0
- package/dist/globals/shared/index.js +5 -0
- package/dist/globals/shared/interfaces.d.ts +54 -0
- package/dist/globals/shared/interfaces.js +1 -0
- package/dist/globals/shared/navigation.d.ts +14 -0
- package/dist/globals/shared/navigation.js +10 -0
- package/dist/globals/shared/steamid.d.ts +36 -0
- package/dist/globals/shared/steamid.js +15 -0
- package/dist/globals/shared/storage.d.ts +27 -0
- package/dist/globals/shared/storage.js +11 -0
- package/dist/globals/steam-client/App.d.ts +1 -1
- package/dist/globals/steam-client/Auth.d.ts +1 -1
- package/dist/globals/steam-client/ClientNotifications.d.ts +1 -1
- package/dist/globals/steam-client/Overlay.d.ts +2 -1
- package/dist/globals/steam-client/Screenshots.d.ts +1 -1
- package/dist/globals/steam-client/Settings.d.ts +1 -1
- package/dist/globals/steam-client/SharedConnection.d.ts +2 -1
- package/dist/globals/steam-client/UI.d.ts +14 -3
- package/dist/globals/steam-client/UI.js +11 -0
- package/dist/globals/steam-client/User.d.ts +13 -0
- package/dist/globals/steam-client/User.js +7 -0
- package/dist/globals/steam-client/WebChat.d.ts +3 -2
- package/dist/globals/steam-client/shared.d.ts +0 -29
- package/dist/globals/steam-client/shared.js +0 -24
- package/dist/globals/stores/app.d.ts +35 -0
- package/dist/globals/stores/app.js +1 -0
- package/dist/globals/stores/appdetailsstore.d.ts +86 -0
- package/dist/globals/stores/appdetailsstore.js +1 -0
- package/dist/globals/stores/appinfostore.d.ts +56 -0
- package/dist/globals/stores/appinfostore.js +1 -0
- package/dist/globals/stores/appstore.d.ts +77 -0
- package/dist/globals/stores/appstore.js +1 -0
- package/dist/globals/stores/badgestore.d.ts +52 -0
- package/dist/globals/stores/badgestore.js +1 -0
- package/dist/globals/stores/collectionstore.d.ts +313 -0
- package/dist/globals/stores/collectionstore.js +143 -0
- package/dist/globals/stores/consolestore.d.ts +20 -0
- package/dist/globals/stores/consolestore.js +1 -0
- package/dist/globals/stores/focusnavcontroller.d.ts +383 -0
- package/dist/globals/stores/focusnavcontroller.js +29 -0
- package/dist/globals/stores/friendstore/clanstore.d.ts +75 -0
- package/dist/globals/stores/friendstore/clanstore.js +19 -0
- package/dist/globals/stores/friendstore/friendchat.d.ts +374 -0
- package/dist/globals/stores/friendstore/friendchat.js +56 -0
- package/dist/globals/stores/friendstore/friendgroupstore.d.ts +98 -0
- package/dist/globals/stores/friendstore/friendgroupstore.js +8 -0
- package/dist/globals/stores/friendstore/friendingamenotificationstore.d.ts +2 -0
- package/dist/globals/stores/friendstore/friendingamenotificationstore.js +1 -0
- package/dist/globals/stores/friendstore/friendslistfavoritesstore.d.ts +22 -0
- package/dist/globals/stores/friendstore/friendslistfavoritesstore.js +1 -0
- package/dist/globals/stores/friendstore/friendsuifriendstore.d.ts +125 -0
- package/dist/globals/stores/friendstore/friendsuifriendstore.js +1 -0
- package/dist/globals/stores/friendstore/index.d.ts +25 -0
- package/dist/globals/stores/friendstore/index.js +1 -0
- package/dist/globals/stores/friendstore/shared.d.ts +207 -0
- package/dist/globals/stores/friendstore/shared.js +41 -0
- package/dist/globals/stores/gamerecordingstore.d.ts +263 -0
- package/dist/globals/stores/gamerecordingstore.js +1 -0
- package/dist/globals/stores/index.d.ts +18 -0
- package/dist/globals/stores/index.js +18 -0
- package/dist/globals/stores/libraryuistore.d.ts +179 -0
- package/dist/globals/stores/libraryuistore.js +56 -0
- package/dist/globals/stores/localizationmanager.d.ts +18 -0
- package/dist/globals/stores/localizationmanager.js +1 -0
- package/dist/globals/stores/mainwindowbrowsermanager.d.ts +62 -0
- package/dist/globals/stores/mainwindowbrowsermanager.js +1 -0
- package/dist/globals/stores/notificationstore.d.ts +242 -0
- package/dist/globals/stores/notificationstore.js +20 -0
- package/dist/globals/stores/popupmanager.d.ts +128 -0
- package/dist/globals/stores/popupmanager.js +1 -0
- package/dist/globals/stores/securitystore.d.ts +35 -0
- package/dist/globals/stores/securitystore.js +1 -0
- package/dist/globals/stores/settingsstore.d.ts +86 -0
- package/dist/globals/stores/settingsstore.js +19 -0
- package/dist/globals/stores/steamuistore/gamepadbrowserview.d.ts +143 -0
- package/dist/globals/stores/steamuistore/gamepadbrowserview.js +9 -0
- package/dist/globals/stores/steamuistore/gamepaduiaudio.d.ts +36 -0
- package/dist/globals/stores/steamuistore/gamepaduiaudio.js +1 -0
- package/dist/globals/stores/steamuistore/index.d.ts +129 -0
- package/dist/globals/stores/steamuistore/index.js +11 -0
- package/dist/globals/stores/steamuistore/menu.d.ts +39 -0
- package/dist/globals/stores/steamuistore/menu.js +19 -0
- package/dist/globals/stores/steamuistore/window.d.ts +206 -0
- package/dist/globals/stores/steamuistore/window.js +6 -0
- package/dist/globals/stores/storeitemcache.d.ts +319 -0
- package/dist/globals/stores/storeitemcache.js +17 -0
- package/dist/globals/stores/urlstore.d.ts +57 -0
- package/dist/globals/stores/urlstore.js +1 -0
- package/dist/modules/Router.d.ts +5 -58
- package/dist/modules/Router.js +2 -20
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/react/treepatcher.js +7 -7
- package/package.json +1 -1
- package/src/components/Dialog.ts +1 -1
- package/src/components/Dropdown.tsx +2 -2
- package/src/components/FooterLegend.ts +10 -2
- package/src/components/Menu.ts +11 -21
- package/src/components/Modal.ts +40 -8
- package/src/globals/index.ts +45 -2
- package/src/globals/shared/cm.ts +158 -0
- package/src/globals/shared/enums.ts +97 -0
- package/src/globals/shared/history.ts +15 -0
- package/src/globals/shared/index.ts +5 -0
- package/src/globals/shared/interfaces.ts +147 -0
- package/src/globals/shared/navigation.ts +15 -0
- package/src/globals/shared/steamid.ts +49 -0
- package/src/globals/shared/storage.ts +62 -0
- package/src/globals/steam-client/App.ts +2 -2
- package/src/globals/steam-client/Auth.ts +2 -2
- package/src/globals/steam-client/ClientNotifications.ts +1 -1
- package/src/globals/steam-client/Overlay.ts +2 -1
- package/src/globals/steam-client/Screenshots.ts +1 -1
- package/src/globals/steam-client/Settings.ts +1 -1
- package/src/globals/steam-client/SharedConnection.ts +2 -1
- package/src/globals/steam-client/UI.ts +15 -6
- package/src/globals/steam-client/User.ts +20 -0
- package/src/globals/steam-client/WebChat.ts +3 -2
- package/src/globals/steam-client/shared.ts +0 -69
- package/src/globals/stores/app.ts +102 -0
- package/src/globals/stores/appdetailsstore.ts +235 -0
- package/src/globals/stores/appinfostore.ts +65 -0
- package/src/globals/stores/appstore.ts +166 -0
- package/src/globals/stores/badgestore.ts +87 -0
- package/src/globals/stores/collectionstore.ts +544 -0
- package/src/globals/stores/consolestore.ts +54 -0
- package/src/globals/stores/focusnavcontroller.ts +522 -0
- package/src/globals/stores/friendstore/clanstore.ts +89 -0
- package/src/globals/stores/friendstore/friendchat.ts +646 -0
- package/src/globals/stores/friendstore/friendgroupstore.ts +187 -0
- package/src/globals/stores/friendstore/friendingamenotificationstore.ts +1 -0
- package/src/globals/stores/friendstore/friendslistfavoritesstore.ts +37 -0
- package/src/globals/stores/friendstore/friendsuifriendstore.ts +274 -0
- package/src/globals/stores/friendstore/index.ts +58 -0
- package/src/globals/stores/friendstore/shared.ts +318 -0
- package/src/globals/stores/gamerecordingstore.ts +367 -0
- package/src/globals/stores/index.ts +18 -0
- package/src/globals/stores/libraryuistore.ts +395 -0
- package/src/globals/stores/localizationmanager.ts +56 -0
- package/src/globals/stores/mainwindowbrowsermanager.ts +135 -0
- package/src/globals/stores/notificationstore.ts +298 -0
- package/src/globals/stores/popupmanager.ts +352 -0
- package/src/globals/stores/securitystore.ts +36 -0
- package/src/globals/stores/settingsstore.ts +134 -0
- package/src/globals/stores/steamuistore/gamepadbrowserview.ts +172 -0
- package/src/globals/stores/steamuistore/gamepaduiaudio.ts +117 -0
- package/src/globals/stores/steamuistore/index.ts +212 -0
- package/src/globals/stores/steamuistore/menu.ts +89 -0
- package/src/globals/stores/steamuistore/window.ts +466 -0
- package/src/globals/stores/storeitemcache.ts +347 -0
- package/src/globals/stores/urlstore.ts +150 -0
- package/src/modules/Router.ts +11 -77
- package/src/utils/index.ts +0 -1
- package/src/utils/react/treepatcher.ts +9 -9
- package/dist/globals/SteamClient.d.ts +0 -5
- package/dist/globals/SteamClient.js +0 -1
- package/dist/globals/stores.d.ts +0 -70
- package/src/globals/SteamClient.ts +0 -6
- package/src/globals/stores.ts +0 -74
- /package/dist/globals/{stores.js → shared/cm.js} +0 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import type { EBrowserType } from '../shared/enums';
|
|
2
|
+
import type { BrowserContext, CCallbackList, Unsubscribable } from '../shared/interfaces';
|
|
3
|
+
import type { EWindowBringToFront } from '../steam-client/Window';
|
|
4
|
+
export type PopupCallback_t = (popup?: SteamPopup) => void;
|
|
5
|
+
export interface RestoreDetails {
|
|
6
|
+
bExpires: boolean;
|
|
7
|
+
last_used: number;
|
|
8
|
+
strRestoreDetails: string;
|
|
9
|
+
}
|
|
10
|
+
export interface PopupCreationOptions {
|
|
11
|
+
bCreateHidden?: boolean;
|
|
12
|
+
bModal?: boolean;
|
|
13
|
+
title?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface SteamPopupParameters extends PopupCreationOptions {
|
|
16
|
+
availscreenheight: number;
|
|
17
|
+
availscreenwidth: number;
|
|
18
|
+
bHideOnClose: boolean;
|
|
19
|
+
bNoFocusOnShow: boolean;
|
|
20
|
+
bNoInitialShow: boolean;
|
|
21
|
+
bPinned: boolean;
|
|
22
|
+
body_class: string;
|
|
23
|
+
browserType: EBrowserType;
|
|
24
|
+
center_on_window: Window;
|
|
25
|
+
dimensions: {
|
|
26
|
+
height?: number;
|
|
27
|
+
left?: number;
|
|
28
|
+
top?: number;
|
|
29
|
+
width?: number;
|
|
30
|
+
};
|
|
31
|
+
eCreationFlags: number;
|
|
32
|
+
html_class: string;
|
|
33
|
+
hwndParent: number;
|
|
34
|
+
minHeight: number;
|
|
35
|
+
minWidth: number;
|
|
36
|
+
parent_container_popup_id: number;
|
|
37
|
+
popup_class: string;
|
|
38
|
+
replace_existing_popup: boolean;
|
|
39
|
+
strRestoreDetails: string;
|
|
40
|
+
strUserAgent: string;
|
|
41
|
+
strVROverlayKey: string;
|
|
42
|
+
target_browser: BrowserContext;
|
|
43
|
+
m_strName: string;
|
|
44
|
+
m_strTitle: string;
|
|
45
|
+
window_opener_id: number;
|
|
46
|
+
}
|
|
47
|
+
export interface CRenderWhenLinksReady {
|
|
48
|
+
m_fnRender: () => void;
|
|
49
|
+
m_rgLoadingLinks: Node[];
|
|
50
|
+
AddLink(link: Node, checkIfLoaded: boolean): void;
|
|
51
|
+
SetTarget(renderCallback: () => void): void;
|
|
52
|
+
}
|
|
53
|
+
export interface SteamPopup {
|
|
54
|
+
m_bCreateHidden: boolean;
|
|
55
|
+
m_bCreated: boolean;
|
|
56
|
+
m_bFocused: boolean;
|
|
57
|
+
m_callbacks: {
|
|
58
|
+
onLoad(e: any, t: any): any;
|
|
59
|
+
onResize(t: any, r: any, i: any): any;
|
|
60
|
+
updateParamsBeforeShow(...args: any[]): any;
|
|
61
|
+
};
|
|
62
|
+
m_element: HTMLElement;
|
|
63
|
+
m_fnReadyToRender(...args: any[]): any;
|
|
64
|
+
m_onCreateRender: any;
|
|
65
|
+
m_popup: Window;
|
|
66
|
+
m_renderWhenReady: CRenderWhenLinksReady;
|
|
67
|
+
m_rgParams: Partial<SteamPopupParameters>;
|
|
68
|
+
m_strName: string;
|
|
69
|
+
m_strTitle: string;
|
|
70
|
+
BIsClosed(): boolean;
|
|
71
|
+
BIsFocused(): boolean;
|
|
72
|
+
BIsValid(): boolean;
|
|
73
|
+
BIsVisible(): boolean;
|
|
74
|
+
Close(): void;
|
|
75
|
+
Focus(eForceOS?: EWindowBringToFront): void;
|
|
76
|
+
GetName(): string;
|
|
77
|
+
GetWindowRestoreDetails(): Promise<string>;
|
|
78
|
+
IsMaximized(): Promise<boolean>;
|
|
79
|
+
IsMinimized(): Promise<boolean>;
|
|
80
|
+
OnBlur(): void;
|
|
81
|
+
OnCreate(): void;
|
|
82
|
+
OnDragOver(ev: DragEvent): void;
|
|
83
|
+
OnDrop(ev: DragEvent): void;
|
|
84
|
+
OnFocus(): void;
|
|
85
|
+
OnMessage<T = any>(ev: MessageEvent<T>): void;
|
|
86
|
+
OnResize(): void;
|
|
87
|
+
OnResizeEvent(): void;
|
|
88
|
+
OnUnload(ev?: Event): void;
|
|
89
|
+
ReleasePopup(): void;
|
|
90
|
+
RemoveEventListeners(): void;
|
|
91
|
+
Render(wnd: Window, element: HTMLElement): void;
|
|
92
|
+
Show(eForceOS?: EWindowBringToFront): void;
|
|
93
|
+
UpdateParamsBeforeShow<T = Partial<SteamPopupParameters>>(params: T): T;
|
|
94
|
+
}
|
|
95
|
+
export interface CPopupManager {
|
|
96
|
+
DebouncedSaveSavedDimensionStore_DebounceProperties: {
|
|
97
|
+
hTimer: number;
|
|
98
|
+
nPending: number;
|
|
99
|
+
};
|
|
100
|
+
m_DynamicCSSObserver: MutationObserver;
|
|
101
|
+
m_bSaveRequired: boolean;
|
|
102
|
+
m_bShuttingDown: boolean;
|
|
103
|
+
m_mapPopups: Map<string, SteamPopup>;
|
|
104
|
+
m_mapRestoreDetails: Map<string, RestoreDetails>;
|
|
105
|
+
m_rgPopupCreatedCallbacks: CCallbackList<[PopupCallback_t]>;
|
|
106
|
+
m_rgPopupDestroyedCallbacks: CCallbackList<[PopupCallback_t]>;
|
|
107
|
+
m_rgShutdownCallbacks: (() => void)[];
|
|
108
|
+
m_unCurrentAccountID: number;
|
|
109
|
+
AddPopupCreatedCallback(callback: PopupCallback_t): Unsubscribable;
|
|
110
|
+
AddPopupDestroyedCallback(callback: PopupCallback_t): Unsubscribable;
|
|
111
|
+
AddShutdownCallback(callback: () => void): Unsubscribable;
|
|
112
|
+
AddTrackedPopup(popup: SteamPopup): void;
|
|
113
|
+
BAnyMenuHasFocus(): boolean;
|
|
114
|
+
BAnyPopupHasFocus(): boolean;
|
|
115
|
+
BShuttingDown(): boolean;
|
|
116
|
+
ClearSavedDimensionStore(): void;
|
|
117
|
+
ClosePopupsOwnedByBrowser(browser: BrowserContext): void;
|
|
118
|
+
GetExistingPopup(popupName: string): SteamPopup;
|
|
119
|
+
GetLocalStorageKey(): string;
|
|
120
|
+
GetPopupForWindow(window: Window): SteamPopup;
|
|
121
|
+
GetPopups(): SteamPopup[];
|
|
122
|
+
GetRestoreDetails(windowName: string): string;
|
|
123
|
+
LoadSavedDimensionStore(): void;
|
|
124
|
+
RemoveTrackedPopup(popup: SteamPopup): void;
|
|
125
|
+
SaveSavedDimensionStore(): void;
|
|
126
|
+
SetCurrentLoggedInAccountID(accountId: number): void;
|
|
127
|
+
SetRestoreDetails(popupName: string, restoreDetails: string, expires: boolean): void;
|
|
128
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
interface LockScreenSettings_t {
|
|
2
|
+
version: number;
|
|
3
|
+
bLockOnWake: boolean;
|
|
4
|
+
bLockOnLogin: boolean;
|
|
5
|
+
bLockDesktopMode: boolean;
|
|
6
|
+
strPIN: string;
|
|
7
|
+
strOwnerAccountName: string;
|
|
8
|
+
bUserForgotPin: boolean;
|
|
9
|
+
bShowResetPinModal: boolean;
|
|
10
|
+
}
|
|
11
|
+
interface ActiveLockScreenProps_t {
|
|
12
|
+
allowAnyPIN?: boolean;
|
|
13
|
+
closeModal?: () => void;
|
|
14
|
+
hideForgotPIN?: boolean;
|
|
15
|
+
preventCancel?: boolean;
|
|
16
|
+
preventSteamButtons?: boolean;
|
|
17
|
+
onSuccess?: () => void;
|
|
18
|
+
}
|
|
19
|
+
export declare class CSecurityStore {
|
|
20
|
+
BConsumeLockTocket(): boolean;
|
|
21
|
+
BResettingPIN(): boolean;
|
|
22
|
+
BShowResetPINModal(): boolean;
|
|
23
|
+
BeginPINReset(): Promise<void>;
|
|
24
|
+
ClearPIN(bShowResetPinModal: boolean): void;
|
|
25
|
+
ClearPINIfNotUsed(): void;
|
|
26
|
+
GetActiveLockScreenProps(): ActiveLockScreenProps_t | null;
|
|
27
|
+
GetSettings(): LockScreenSettings_t;
|
|
28
|
+
InitialLoginComplete(accountName: string): void;
|
|
29
|
+
IsLockScreenActive(): boolean;
|
|
30
|
+
ProvideLockTicket(value: boolean): void;
|
|
31
|
+
SetActiveLockScreenProps(props: ActiveLockScreenProps_t | null): void;
|
|
32
|
+
SetHasShownResetPINModal(): void;
|
|
33
|
+
SetSettings(settings: LockScreenSettings_t): void;
|
|
34
|
+
}
|
|
35
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { CMInterface } from '../shared/cm';
|
|
2
|
+
import type { SubscribableValue } from '../shared/interfaces';
|
|
3
|
+
import type { CUserLocalStorage } from '../shared/storage';
|
|
4
|
+
import type { FriendSettingsChange } from '../steam-client/FriendSettings';
|
|
5
|
+
import type { EClientNotificationType } from '../steam-client/Notifications';
|
|
6
|
+
import type { MsgClientSettings, MsgMonitorInfo, SteamSettings } from '../steam-client/Settings';
|
|
7
|
+
export declare enum ETextFilterSetting {
|
|
8
|
+
SteamLabOptedOut = 0,
|
|
9
|
+
Enabled = 1,
|
|
10
|
+
EnabledAllowProfanity = 2,
|
|
11
|
+
Disabled = 3
|
|
12
|
+
}
|
|
13
|
+
export declare enum EUserReviewScorePreference {
|
|
14
|
+
Unset = 0,
|
|
15
|
+
IncludeAll = 1,
|
|
16
|
+
ExcludeBombs = 2
|
|
17
|
+
}
|
|
18
|
+
export declare enum EProvideDeckFeedbackPreference {
|
|
19
|
+
Unset = 0,
|
|
20
|
+
Yes = 1,
|
|
21
|
+
No = 2
|
|
22
|
+
}
|
|
23
|
+
interface SteamNotificationPreference {
|
|
24
|
+
notification_targets: number;
|
|
25
|
+
notification_type: EClientNotificationType;
|
|
26
|
+
}
|
|
27
|
+
interface ContentDescriptor {
|
|
28
|
+
content_descriptorid: number;
|
|
29
|
+
timestamp_added: number;
|
|
30
|
+
}
|
|
31
|
+
interface UserContentDescriptorPreferences {
|
|
32
|
+
content_descriptors_to_exclude: ContentDescriptor[];
|
|
33
|
+
}
|
|
34
|
+
export interface BatteryPreferences {
|
|
35
|
+
bShowBatteryPercentage: boolean;
|
|
36
|
+
}
|
|
37
|
+
export interface CommunityPreferences {
|
|
38
|
+
bParenthesizeNicknames: boolean;
|
|
39
|
+
bTextFilterIgnoreFriends: boolean;
|
|
40
|
+
content_descriptor_preferences: UserContentDescriptorPreferences & {
|
|
41
|
+
eTextFilterSetting: ETextFilterSetting;
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export interface StorePreferences {
|
|
45
|
+
content_descriptor_preferences: UserContentDescriptorPreferences;
|
|
46
|
+
eReviewScorePreference: EUserReviewScorePreference;
|
|
47
|
+
provide_deck_feedback: EProvideDeckFeedbackPreference;
|
|
48
|
+
}
|
|
49
|
+
export interface CSettingsStore {
|
|
50
|
+
m_BatteryPreferences: SubscribableValue<BatteryPreferences>;
|
|
51
|
+
m_CMInterface: CMInterface;
|
|
52
|
+
m_ClientSettings: MsgClientSettings;
|
|
53
|
+
m_CommunityPreferences: CommunityPreferences;
|
|
54
|
+
m_FriendSettings: FriendSettingsChange;
|
|
55
|
+
m_MonitorInfo: MsgMonitorInfo | undefined;
|
|
56
|
+
m_NotificationSettings: SteamNotificationPreference[];
|
|
57
|
+
m_Settings: SteamSettings;
|
|
58
|
+
m_StorePreferences: StorePreferences;
|
|
59
|
+
m_bSteamIsInTournamentMode: boolean;
|
|
60
|
+
m_bWindowed: boolean;
|
|
61
|
+
m_localStorage: CUserLocalStorage;
|
|
62
|
+
m_setDeferredSettings: Set<string>;
|
|
63
|
+
m_strTimeZoneID: SubscribableValue<string>;
|
|
64
|
+
BIsConnectedToSteam(): boolean;
|
|
65
|
+
CommunityPreferencesToMessage(value: CommunityPreferences): any;
|
|
66
|
+
GetBatteryPreferences(): BatteryPreferences;
|
|
67
|
+
GetClientSetting<K extends keyof MsgClientSettings, V = ReturnType<MsgClientSettings[K]>>(setting: K): [V, (value: V) => void];
|
|
68
|
+
IsDeferred(value: string): boolean;
|
|
69
|
+
IsSteamInTournamentMode(): boolean;
|
|
70
|
+
MergeCommunityPreferences(e: any, t: any): void;
|
|
71
|
+
MergeNotificationPreferences(e: any): void;
|
|
72
|
+
MergeStorePreferences(e: any, t: any): void;
|
|
73
|
+
RefreshMonitorInfo(): void;
|
|
74
|
+
SetBatteryPreferences(value: BatteryPreferences): void;
|
|
75
|
+
SetCommunityPreferences(value: CommunityPreferences): void;
|
|
76
|
+
SetDeferred(value: string): void;
|
|
77
|
+
SetStorePreferences(value: StorePreferences): void;
|
|
78
|
+
SetWindowedMode(value: boolean): void;
|
|
79
|
+
ToggleNotificationPreference(e: any, t: any): void;
|
|
80
|
+
UpdateCommunityPreference(e: any, t: any): any;
|
|
81
|
+
UpdateCommunityPreferences(e: any): any;
|
|
82
|
+
UpdateFriendSetting(e: any, t: any): any;
|
|
83
|
+
UpdateFriendSettings(e: any): any;
|
|
84
|
+
UpdateUserConfigObject(): void;
|
|
85
|
+
}
|
|
86
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export var ETextFilterSetting;
|
|
2
|
+
(function (ETextFilterSetting) {
|
|
3
|
+
ETextFilterSetting[ETextFilterSetting["SteamLabOptedOut"] = 0] = "SteamLabOptedOut";
|
|
4
|
+
ETextFilterSetting[ETextFilterSetting["Enabled"] = 1] = "Enabled";
|
|
5
|
+
ETextFilterSetting[ETextFilterSetting["EnabledAllowProfanity"] = 2] = "EnabledAllowProfanity";
|
|
6
|
+
ETextFilterSetting[ETextFilterSetting["Disabled"] = 3] = "Disabled";
|
|
7
|
+
})(ETextFilterSetting || (ETextFilterSetting = {}));
|
|
8
|
+
export var EUserReviewScorePreference;
|
|
9
|
+
(function (EUserReviewScorePreference) {
|
|
10
|
+
EUserReviewScorePreference[EUserReviewScorePreference["Unset"] = 0] = "Unset";
|
|
11
|
+
EUserReviewScorePreference[EUserReviewScorePreference["IncludeAll"] = 1] = "IncludeAll";
|
|
12
|
+
EUserReviewScorePreference[EUserReviewScorePreference["ExcludeBombs"] = 2] = "ExcludeBombs";
|
|
13
|
+
})(EUserReviewScorePreference || (EUserReviewScorePreference = {}));
|
|
14
|
+
export var EProvideDeckFeedbackPreference;
|
|
15
|
+
(function (EProvideDeckFeedbackPreference) {
|
|
16
|
+
EProvideDeckFeedbackPreference[EProvideDeckFeedbackPreference["Unset"] = 0] = "Unset";
|
|
17
|
+
EProvideDeckFeedbackPreference[EProvideDeckFeedbackPreference["Yes"] = 1] = "Yes";
|
|
18
|
+
EProvideDeckFeedbackPreference[EProvideDeckFeedbackPreference["No"] = 2] = "No";
|
|
19
|
+
})(EProvideDeckFeedbackPreference || (EProvideDeckFeedbackPreference = {}));
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import type { CCallbackList, SubscribableValue } from '../../shared';
|
|
2
|
+
import type { BrowserViewHistory, BrowserViewPopup } from '../../steam-client/browser-view/BrowserViewPopup';
|
|
3
|
+
import type { CFocusNavController } from '../focusnavcontroller';
|
|
4
|
+
declare enum EGameInputSupportLevel {
|
|
5
|
+
PageUnloading = 0,
|
|
6
|
+
Unknown = 1,
|
|
7
|
+
None = 2,
|
|
8
|
+
Basic = 3,
|
|
9
|
+
Full = 4
|
|
10
|
+
}
|
|
11
|
+
interface ActionDescription {
|
|
12
|
+
button: any;
|
|
13
|
+
descriptions: any;
|
|
14
|
+
source: any;
|
|
15
|
+
support: EGameInputSupportLevel;
|
|
16
|
+
}
|
|
17
|
+
interface GamepadBrowserViewMessageDetails_t {
|
|
18
|
+
type: string;
|
|
19
|
+
data: {
|
|
20
|
+
event: string;
|
|
21
|
+
details: GamepadEvent;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
declare class CGamepadBrowserViewBridge {
|
|
25
|
+
m_CallbackOnUnhandledInput: CCallbackList<[GamepadButton]>;
|
|
26
|
+
m_CallbackUpdateActionDescriptions: CCallbackList<[ActionDescription]>;
|
|
27
|
+
m_NavigationController: CFocusNavController;
|
|
28
|
+
m_eGameInputSupportLevel: SubscribableValue<EGameInputSupportLevel>;
|
|
29
|
+
m_lastActionDescriptions: any;
|
|
30
|
+
m_postMessage: CGamepadBrowserViewMessageHandler;
|
|
31
|
+
BClientManagesVirtualKeyboard(): boolean;
|
|
32
|
+
ForwardGamepadEventDetail(eventType: string, ev: GamepadEventInit): void;
|
|
33
|
+
GetGameInputSupportLevel(): SubscribableValue<EGameInputSupportLevel>;
|
|
34
|
+
OnUnhandledInputCallbacks(): CCallbackList<[GamepadButton]>;
|
|
35
|
+
RegisterOnActionDescriptionsChangedCallback(value: (descriptions: any) => void): () => void;
|
|
36
|
+
SetGameInputSupportLevel(value: EGameInputSupportLevel, param1: string): void;
|
|
37
|
+
TakeFocus(): void;
|
|
38
|
+
}
|
|
39
|
+
interface VirtualKeyboardRef_t {
|
|
40
|
+
ShowVirtualKeyboard(): void;
|
|
41
|
+
ShowModalKeyboard(): void;
|
|
42
|
+
SetAsCurrentVirtualKeyboardTarget(): void;
|
|
43
|
+
HideVirtualKeyboard(msDelay: number): void;
|
|
44
|
+
DelayHideVirtualKeyboard(msDelay: number): void;
|
|
45
|
+
BIsActive(): boolean;
|
|
46
|
+
BIsElementValidForInput(): boolean;
|
|
47
|
+
}
|
|
48
|
+
interface VirtualKeyboardClientMsg_t {
|
|
49
|
+
message: string;
|
|
50
|
+
msDelay: number;
|
|
51
|
+
}
|
|
52
|
+
declare class CVirtualKeyboardClient {
|
|
53
|
+
m_ownerWindow: Window;
|
|
54
|
+
Init(wnd: Window): () => void;
|
|
55
|
+
CreateVirtualKeyboardRef(): VirtualKeyboardRef_t;
|
|
56
|
+
ShowVirtualKeyboard(): void;
|
|
57
|
+
ShowModalKeyboard(): void;
|
|
58
|
+
HideVirtualKeyboard(msDelay: number): void;
|
|
59
|
+
OnBrowserViewMessage(message: string, args: string): void;
|
|
60
|
+
OnMessage(msg: any): void;
|
|
61
|
+
InternalDispatchMessage(msg: any): void;
|
|
62
|
+
SendMessage(msg: VirtualKeyboardClientMsg_t): void;
|
|
63
|
+
}
|
|
64
|
+
declare class CVirtualKeyboardHost {
|
|
65
|
+
m_showKeyboard: () => void;
|
|
66
|
+
m_showModalKeyboard: () => void;
|
|
67
|
+
m_hideKeyboard: () => void;
|
|
68
|
+
OnMessage(message: string, args: string, _currentURL: string): void;
|
|
69
|
+
}
|
|
70
|
+
declare class CGamepadBrowserViewMessageHandler {
|
|
71
|
+
m_browser: BrowserViewPopup;
|
|
72
|
+
m_fnCallback: (parsedArgs: any) => void;
|
|
73
|
+
OnMessage(message: string, args: string): void;
|
|
74
|
+
PostMessage(detail: GamepadBrowserViewMessageDetails_t): void;
|
|
75
|
+
RegisterForMessage(callback: (parsedArgs: any) => void): void;
|
|
76
|
+
}
|
|
77
|
+
export declare class CGamepadBrowserView {
|
|
78
|
+
m_URL: string;
|
|
79
|
+
m_URLRequested: string | undefined;
|
|
80
|
+
m_bCanGoBackward: boolean;
|
|
81
|
+
m_bCanGoForward: boolean;
|
|
82
|
+
m_bExternalRequest: boolean;
|
|
83
|
+
m_bIsDestroying: boolean;
|
|
84
|
+
m_bLoading: boolean;
|
|
85
|
+
m_bSeenLoadStartForExternalRequest: boolean;
|
|
86
|
+
m_bUseVRKeyboard: boolean;
|
|
87
|
+
m_browserView: BrowserViewPopup;
|
|
88
|
+
m_fnBeforeCloseHandler: ((bIsDestroying: boolean) => void) | null;
|
|
89
|
+
m_fnGoBackOverride: (() => void) | undefined;
|
|
90
|
+
m_gamepadBridge: CGamepadBrowserViewBridge;
|
|
91
|
+
m_history: BrowserViewHistory;
|
|
92
|
+
m_loadErrorCode: number | null;
|
|
93
|
+
m_loadErrorDesc: string | null;
|
|
94
|
+
m_loadErrorURL: string | null;
|
|
95
|
+
m_mapMessageCallbacks: Map<string, CCallbackList>;
|
|
96
|
+
m_onFinishedRequestCallbacks: CCallbackList;
|
|
97
|
+
m_onStartLoadingCallbacks: CCallbackList;
|
|
98
|
+
m_onStartRequestCallbacks: CCallbackList;
|
|
99
|
+
m_refKeyboard: VirtualKeyboardRef_t;
|
|
100
|
+
m_strInitialURL: string | undefined;
|
|
101
|
+
m_strName: string;
|
|
102
|
+
m_strTitle: string;
|
|
103
|
+
m_strUserAgentIdentifier: string;
|
|
104
|
+
m_strUserAgentOverride: string;
|
|
105
|
+
m_strVROverlayKey: string | undefined;
|
|
106
|
+
m_virtualKeyboardHost: CVirtualKeyboardHost;
|
|
107
|
+
AddHardwareHeaders(): void;
|
|
108
|
+
BExternalTriggeredLoad(): boolean;
|
|
109
|
+
BIsLoadingURL(): boolean;
|
|
110
|
+
BrowserViewOnMessage(message: string, args: string, currentURL: string): void;
|
|
111
|
+
Destroy(): void;
|
|
112
|
+
ForwardGamepadEventDetail(eventType: string, ev: GamepadEventInit): void;
|
|
113
|
+
GetBrowser(): BrowserViewPopup;
|
|
114
|
+
GetGameInputSupportLevel(): EGameInputSupportLevel;
|
|
115
|
+
GetOnMessageCallbacks(msg: string): CCallbackList;
|
|
116
|
+
GoBack(): void;
|
|
117
|
+
GoForward(): void;
|
|
118
|
+
Init(controller: CFocusNavController, keyboard: CVirtualKeyboardClient, parent: EventTarget): void;
|
|
119
|
+
LoadURL(url: string): void;
|
|
120
|
+
OnBeforeClose(): void;
|
|
121
|
+
OnHistoryChanged(): void;
|
|
122
|
+
OnNodeHasFocus(elementIdOrTagName: string, elementTag: string, inputType: string, token: string, param4: boolean): void;
|
|
123
|
+
OnUnhandledInputCallbacks(): CCallbackList<[GamepadButton]>;
|
|
124
|
+
OnVirtualKeyboardPress(keyName: string): void;
|
|
125
|
+
RegisterOnActionDescriptionsChangedCallback(param0: any): () => void;
|
|
126
|
+
Reload(): void;
|
|
127
|
+
SetBeforeCloseHandler(value: (bIsDestroying: boolean) => void): void;
|
|
128
|
+
SetGoBackOverride(value: () => void): void;
|
|
129
|
+
get CanGoBackward(): boolean;
|
|
130
|
+
get CanGoForward(): boolean;
|
|
131
|
+
get DisplayURL(): boolean;
|
|
132
|
+
get FinishedRequestCallbacks(): CCallbackList;
|
|
133
|
+
get History(): BrowserViewHistory;
|
|
134
|
+
get LoadErrorCode(): number | null;
|
|
135
|
+
get LoadErrorDescription(): string | null;
|
|
136
|
+
get LoadErrorURL(): string | null;
|
|
137
|
+
get StartLoadingCallbacks(): CCallbackList;
|
|
138
|
+
get StartRequestCallbacks(): CCallbackList;
|
|
139
|
+
get Title(): string;
|
|
140
|
+
get URL(): string;
|
|
141
|
+
get name(): string;
|
|
142
|
+
}
|
|
143
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
var EGameInputSupportLevel;
|
|
2
|
+
(function (EGameInputSupportLevel) {
|
|
3
|
+
EGameInputSupportLevel[EGameInputSupportLevel["PageUnloading"] = 0] = "PageUnloading";
|
|
4
|
+
EGameInputSupportLevel[EGameInputSupportLevel["Unknown"] = 1] = "Unknown";
|
|
5
|
+
EGameInputSupportLevel[EGameInputSupportLevel["None"] = 2] = "None";
|
|
6
|
+
EGameInputSupportLevel[EGameInputSupportLevel["Basic"] = 3] = "Basic";
|
|
7
|
+
EGameInputSupportLevel[EGameInputSupportLevel["Full"] = 4] = "Full";
|
|
8
|
+
})(EGameInputSupportLevel || (EGameInputSupportLevel = {}));
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { ESteamUISound, EUIMode, SubscribableValue, Unsubscribable } from '../../shared';
|
|
2
|
+
import type { FocusChangeEvent } from '../../steam-client/system/UI';
|
|
3
|
+
import type { CFocusNavigationContext } from '../../stores';
|
|
4
|
+
type NavAudioFile_t = 'bumper_end.wav' | 'camera1.wav' | 'confirmation_negative.wav' | 'confirmation_positive.wav' | 'deck_ui_achievement_toast.wav' | 'deck_ui_bumper_end_02.wav' | 'deck_ui_default_activation.wav' | 'deck_ui_hide_modal.wav' | 'deck_ui_into_game_detail.wav' | 'deck_ui_launch_game.wav' | 'deck_ui_message_toast.wav' | 'deck_ui_misc_01.wav' | 'deck_ui_misc_08.wav' | 'deck_ui_misc_10.wav' | 'deck_ui_navigation.wav' | 'deck_ui_out_of_game_detail.wav' | 'deck_ui_show_modal.wav' | 'deck_ui_side_menu_fly_in.wav' | 'deck_ui_side_menu_fly_out.wav' | 'deck_ui_slider_down.wav' | 'deck_ui_slider_up.wav' | 'deck_ui_switch_toggle_off.wav' | 'deck_ui_switch_toggle_on.wav' | 'deck_ui_tab_transition_01.wav' | 'deck_ui_tile_scroll.wav' | 'deck_ui_toast.wav' | 'deck_ui_typing.wav' | 'deck_ui_volume.wav' | 'desktop_toast_default.wav' | 'desktop_toast_short.wav' | 'pop_sound.wav' | 'recording_highlight.wav' | 'recording_start.wav' | 'recording_stop.wav' | 'steam_at_mention.m4a' | 'steam_chatroom_notification.m4a' | 'timer_expired_alarm.wav' | 'ui_steam_message_old_smooth.m4a' | 'ui_steam_smoother_friend_join.m4a' | 'ui_steam_smoother_friend_online.m4a';
|
|
5
|
+
declare class CGamepadUIAudioPlaybackManager {
|
|
6
|
+
m_Cancelled: boolean;
|
|
7
|
+
m_Manager: any;
|
|
8
|
+
m_RepeatCount: number;
|
|
9
|
+
m_Source: BaseAudioContext | undefined;
|
|
10
|
+
m_TimesPlayed: number;
|
|
11
|
+
m_URL: string;
|
|
12
|
+
m_cbPlaybackFinished: (() => void) | null;
|
|
13
|
+
NotifyPlaybackFinished(): void;
|
|
14
|
+
OnFailure(): void;
|
|
15
|
+
OnPlaybackEnded(): void;
|
|
16
|
+
RegisterOnPlaybackFinished(callback: () => void): void;
|
|
17
|
+
StopPlayback(): void;
|
|
18
|
+
get url(): string;
|
|
19
|
+
}
|
|
20
|
+
export declare class CGamepadUIAudioStore {
|
|
21
|
+
m_AudioPlaybackManager: CGamepadUIAudioPlaybackManager;
|
|
22
|
+
m_bCanPlaySound: boolean;
|
|
23
|
+
m_currentlyFocusedAppid: SubscribableValue<number>;
|
|
24
|
+
m_fnGetUIMode: () => EUIMode;
|
|
25
|
+
m_pendingSoundHandle: number | null;
|
|
26
|
+
m_pendingSoundType: ESteamUISound;
|
|
27
|
+
OnFocusChangeEvent(ev: FocusChangeEvent): void;
|
|
28
|
+
OnGamepadFocusChanged(e: number, t: any, r: any | undefined): void;
|
|
29
|
+
OnUnhandledButtonDownEvent(ev: GamepadEvent): void;
|
|
30
|
+
PlayAudioURL(sound: `/sounds/${NavAudioFile_t}`): CGamepadUIAudioPlaybackManager;
|
|
31
|
+
PlayNavSound(type: ESteamUISound): void;
|
|
32
|
+
PlayNavSoundInternal(type: ESteamUISound): void;
|
|
33
|
+
RegisterFocusNavContext(context: CFocusNavigationContext): Unsubscribable;
|
|
34
|
+
get AudioPlaybackManager(): CGamepadUIAudioPlaybackManager;
|
|
35
|
+
}
|
|
36
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import type { EUIMode } from '../../shared';
|
|
2
|
+
import type { ENavigationSourceType, NavigationSource } from '../../shared/navigation';
|
|
3
|
+
import type { SteamAppOverview } from '../../steam-client/App';
|
|
4
|
+
import type { ControllerInfo } from '../../steam-client/Input';
|
|
5
|
+
import type { EResult } from '../../steam-client/shared';
|
|
6
|
+
import type { ERefreshLoginReason } from '../../steam-client/UI';
|
|
7
|
+
import type { EShutdownStep } from '../../steam-client/User';
|
|
8
|
+
import type { CFocusNavController } from '../focusnavcontroller';
|
|
9
|
+
import type { CGamepadUIAudioStore } from './gamepaduiaudio';
|
|
10
|
+
import type { CWindowStore, SteamUIWindowInstance } from './window';
|
|
11
|
+
declare enum EAppDetailsDisplayMode {
|
|
12
|
+
SteamUI = 0,
|
|
13
|
+
BasicUI = 1
|
|
14
|
+
}
|
|
15
|
+
declare enum ENavigationMode {
|
|
16
|
+
Digital = 0,
|
|
17
|
+
Cursor = 1
|
|
18
|
+
}
|
|
19
|
+
export interface CSteamUIStore {
|
|
20
|
+
m_ConfiguratorWidth: number;
|
|
21
|
+
m_GamepadNavigationManager: CFocusNavController;
|
|
22
|
+
m_GamepadUIAudioStore: CGamepadUIAudioStore;
|
|
23
|
+
m_WindowStore: CWindowStore;
|
|
24
|
+
m_appDetailsDisplayMode: EAppDetailsDisplayMode;
|
|
25
|
+
m_bConsoleEnabledByUser: boolean;
|
|
26
|
+
m_bHomeAndQuickAccessButtonsEnabled: boolean;
|
|
27
|
+
m_bIsDeckFactoryImage: boolean;
|
|
28
|
+
m_bPreviouslyNavigatedToRunningApp: boolean;
|
|
29
|
+
m_bShowingLockScreen: boolean;
|
|
30
|
+
m_bStreamingRemotePlayTogether: boolean;
|
|
31
|
+
m_eErrorCondition: ERefreshLoginReason;
|
|
32
|
+
m_eErrorConditionResult: EResult;
|
|
33
|
+
m_mainInstanceUIMode: EUIMode;
|
|
34
|
+
m_nResumeStreamingInputTimeoutHandle: number;
|
|
35
|
+
m_navigationSource: NavigationSource;
|
|
36
|
+
m_runningAppIDs: number[];
|
|
37
|
+
m_shutdownState: {
|
|
38
|
+
appid: number;
|
|
39
|
+
bAllowForceQuit: boolean;
|
|
40
|
+
bFailed: boolean;
|
|
41
|
+
eShutdownState: EShutdownStep;
|
|
42
|
+
};
|
|
43
|
+
m_strStandaloneConfiguratorURL: string | null;
|
|
44
|
+
m_streamingAppID: number;
|
|
45
|
+
m_textFilterStore: any;
|
|
46
|
+
BCanNavigateToRunningApp(): boolean;
|
|
47
|
+
BControllerIndexValid(index: number): boolean;
|
|
48
|
+
BHomeAndQuickAccessButtonsEnabled(): boolean;
|
|
49
|
+
BIsAnyWindowFocused(): boolean;
|
|
50
|
+
BIsOverlayPath(path: string): boolean;
|
|
51
|
+
BIsShuttingDown(): boolean;
|
|
52
|
+
BIsStreamingGame(appid: number): boolean;
|
|
53
|
+
BIsStreamingRemotePlayTogether(): boolean;
|
|
54
|
+
BIsStreamingRemotePlayTogetherGame(appid: number): boolean;
|
|
55
|
+
BIsTransparentBackgroundPath(path: string): boolean;
|
|
56
|
+
BIsVROverlayApp(overview: SteamAppOverview): boolean;
|
|
57
|
+
BIsVrOnlyGame(overview: SteamAppOverview): boolean;
|
|
58
|
+
BRemotePlaySessionLocalClient(steam64Id: string): boolean;
|
|
59
|
+
CancelRefreshLogin(): void;
|
|
60
|
+
ClearSaleCache(): Promise<void>;
|
|
61
|
+
ClearShutdownFailure(): void;
|
|
62
|
+
CloseSideMenus(): void;
|
|
63
|
+
DisableHomeAndQuickAccessButtons(): void;
|
|
64
|
+
EnableHomeAndQuickAccessButtons(): void;
|
|
65
|
+
ExcludedTitlesForPlatform(): number[];
|
|
66
|
+
GetFocusedWindowInstance(): SteamUIWindowInstance;
|
|
67
|
+
GetLastLibraryTab(): {
|
|
68
|
+
collectionid?: string;
|
|
69
|
+
strActiveTab: string;
|
|
70
|
+
};
|
|
71
|
+
GetShowingLockScreen(): boolean;
|
|
72
|
+
GetShutdownState(): {
|
|
73
|
+
appid: number;
|
|
74
|
+
bAllowForceQuit: boolean;
|
|
75
|
+
bFailed: boolean;
|
|
76
|
+
eShutdownState: EShutdownStep;
|
|
77
|
+
};
|
|
78
|
+
GetWindowForRunningAppNavigation(): SteamUIWindowInstance;
|
|
79
|
+
GetWindowInstanceForPID(pid: number): SteamUIWindowInstance | undefined;
|
|
80
|
+
IsAnyAppRunning(): boolean;
|
|
81
|
+
IsConsoleEnabled(): boolean;
|
|
82
|
+
IsDeckFactoryImage(): boolean;
|
|
83
|
+
IsDesktopUIWindowActive(): boolean;
|
|
84
|
+
IsGamepadUIWindowActive(): boolean;
|
|
85
|
+
Navigate(route: string, matchRoute?: boolean, replaceHistoryEntry?: boolean): void;
|
|
86
|
+
NavigateToLayoutPreview(appid: number, instance?: SteamUIWindowInstance): void;
|
|
87
|
+
NavigateToRunningApp(e: boolean): void;
|
|
88
|
+
OpenPowerMenu(parent: HTMLElement, onCancel: () => void): void;
|
|
89
|
+
PreserveNavigation(): void;
|
|
90
|
+
ReopenPreModalSideMenu(): void;
|
|
91
|
+
ResetErrorCondition(): void;
|
|
92
|
+
RestoreNavigation(): void;
|
|
93
|
+
ScopeRunningApps(): void;
|
|
94
|
+
SetConfiguratorWidth(value: number): void;
|
|
95
|
+
SetConsoleEnabled(): void;
|
|
96
|
+
SetLastLibraryTab(activeTab: string, collectionId: string): Promise<void>;
|
|
97
|
+
SetRefreshLogin(): void;
|
|
98
|
+
SetRunningApp(appid: number): void;
|
|
99
|
+
SetShowingLockScreen(value: boolean): void;
|
|
100
|
+
SetStandaloneConfiguratorURL(value: string): void;
|
|
101
|
+
get ActiveControllerIndex(): number;
|
|
102
|
+
get ActiveNavigationInfo(): {
|
|
103
|
+
eMode: ENavigationMode;
|
|
104
|
+
eSourceType: ENavigationSourceType;
|
|
105
|
+
nControllerIndex: number;
|
|
106
|
+
};
|
|
107
|
+
get ActiveNavigationMode(): ENavigationMode;
|
|
108
|
+
get ActiveNavigationSourceType(): ENavigationSourceType;
|
|
109
|
+
get ActiveWindowInstance(): SteamUIWindowInstance;
|
|
110
|
+
get BIsInOOBE(): boolean;
|
|
111
|
+
get ConfiguratorWidth(): number;
|
|
112
|
+
get ErrorCondition(): number;
|
|
113
|
+
get ErrorConditionResult(): EResult;
|
|
114
|
+
get ForceBetaSectionVisible(): boolean;
|
|
115
|
+
get GamepadUIAudio(): CGamepadUIAudioStore;
|
|
116
|
+
get MainInstanceUIMode(): EUIMode;
|
|
117
|
+
get MainRunningApp(): SteamAppOverview | undefined;
|
|
118
|
+
get MainRunningAppID(): number | undefined;
|
|
119
|
+
get MostRecentlyActiveController(): ControllerInfo;
|
|
120
|
+
get MostRecentlyActiveControllerIndex(): number;
|
|
121
|
+
get NavigationManager(): CFocusNavController;
|
|
122
|
+
get RemainInBigPictureModeOnClose(): boolean;
|
|
123
|
+
get RunningApps(): SteamAppOverview[];
|
|
124
|
+
get ShouldZoomStandaloneConfigurator(): boolean;
|
|
125
|
+
get StandaloneConfiguratorURL(): string | null;
|
|
126
|
+
get TextFilterStore(): any;
|
|
127
|
+
get WindowStore(): CWindowStore;
|
|
128
|
+
}
|
|
129
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
var EAppDetailsDisplayMode;
|
|
2
|
+
(function (EAppDetailsDisplayMode) {
|
|
3
|
+
EAppDetailsDisplayMode[EAppDetailsDisplayMode["SteamUI"] = 0] = "SteamUI";
|
|
4
|
+
EAppDetailsDisplayMode[EAppDetailsDisplayMode["BasicUI"] = 1] = "BasicUI";
|
|
5
|
+
})(EAppDetailsDisplayMode || (EAppDetailsDisplayMode = {}));
|
|
6
|
+
var ENavigationMode;
|
|
7
|
+
(function (ENavigationMode) {
|
|
8
|
+
ENavigationMode[ENavigationMode["Digital"] = 0] = "Digital";
|
|
9
|
+
ENavigationMode[ENavigationMode["Cursor"] = 1] = "Cursor";
|
|
10
|
+
})(ENavigationMode || (ENavigationMode = {}));
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export declare enum EQuickAccessTab {
|
|
2
|
+
Notifications = 0,
|
|
3
|
+
RemotePlayTogetherControls = 1,
|
|
4
|
+
VoiceChat = 2,
|
|
5
|
+
Friends = 3,
|
|
6
|
+
Settings = 4,
|
|
7
|
+
Perf = 5,
|
|
8
|
+
Help = 6,
|
|
9
|
+
Soundtrack = 7,
|
|
10
|
+
VRBatteries = 8,
|
|
11
|
+
Decky = 999
|
|
12
|
+
}
|
|
13
|
+
export declare enum ESideMenu {
|
|
14
|
+
None = 0,
|
|
15
|
+
Main = 1,
|
|
16
|
+
QuickAccess = 2
|
|
17
|
+
}
|
|
18
|
+
export declare class CMenuStore {
|
|
19
|
+
m_MainMenuStore: any;
|
|
20
|
+
m_cSideMenuExtendedVisibilityRequests: number;
|
|
21
|
+
m_cSuppressRequests: number;
|
|
22
|
+
m_eLastRequestedSideMenu: ESideMenu;
|
|
23
|
+
m_eOpenSideMenu: ESideMenu;
|
|
24
|
+
m_eQuickAccessTab: EQuickAccessTab;
|
|
25
|
+
ClearLastRequestedSideMenu(): void;
|
|
26
|
+
CloseSideMenus(): void;
|
|
27
|
+
GetLastRequestedSideMenu(): ESideMenu;
|
|
28
|
+
GetOpenSideMenu(): ESideMenu;
|
|
29
|
+
GetQuickAccessTab(): EQuickAccessTab;
|
|
30
|
+
IsAnySideMenuVisible(): boolean;
|
|
31
|
+
IsSideMenuInteractable(): boolean;
|
|
32
|
+
IsSideMenuVisible(menu: ESideMenu): boolean;
|
|
33
|
+
OpenSideMenu(menu: ESideMenu): void;
|
|
34
|
+
OpenQuickAccessMenu(tab?: EQuickAccessTab): void;
|
|
35
|
+
OpenMainMenu(): void;
|
|
36
|
+
RequestExtendSideMenuVisibility(): () => void;
|
|
37
|
+
SetSuppressMenus(): () => void;
|
|
38
|
+
ToggleSideMenu(menu: ESideMenu): void;
|
|
39
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export var EQuickAccessTab;
|
|
2
|
+
(function (EQuickAccessTab) {
|
|
3
|
+
EQuickAccessTab[EQuickAccessTab["Notifications"] = 0] = "Notifications";
|
|
4
|
+
EQuickAccessTab[EQuickAccessTab["RemotePlayTogetherControls"] = 1] = "RemotePlayTogetherControls";
|
|
5
|
+
EQuickAccessTab[EQuickAccessTab["VoiceChat"] = 2] = "VoiceChat";
|
|
6
|
+
EQuickAccessTab[EQuickAccessTab["Friends"] = 3] = "Friends";
|
|
7
|
+
EQuickAccessTab[EQuickAccessTab["Settings"] = 4] = "Settings";
|
|
8
|
+
EQuickAccessTab[EQuickAccessTab["Perf"] = 5] = "Perf";
|
|
9
|
+
EQuickAccessTab[EQuickAccessTab["Help"] = 6] = "Help";
|
|
10
|
+
EQuickAccessTab[EQuickAccessTab["Soundtrack"] = 7] = "Soundtrack";
|
|
11
|
+
EQuickAccessTab[EQuickAccessTab["VRBatteries"] = 8] = "VRBatteries";
|
|
12
|
+
EQuickAccessTab[EQuickAccessTab["Decky"] = 999] = "Decky";
|
|
13
|
+
})(EQuickAccessTab || (EQuickAccessTab = {}));
|
|
14
|
+
export var ESideMenu;
|
|
15
|
+
(function (ESideMenu) {
|
|
16
|
+
ESideMenu[ESideMenu["None"] = 0] = "None";
|
|
17
|
+
ESideMenu[ESideMenu["Main"] = 1] = "Main";
|
|
18
|
+
ESideMenu[ESideMenu["QuickAccess"] = 2] = "QuickAccess";
|
|
19
|
+
})(ESideMenu || (ESideMenu = {}));
|