2026-09-24 16:03:38 +00:00
|
|
|
// Module ID: 15853
|
|
|
|
|
// Function ID: 15854
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: DevToolsActionCreators
|
2026-09-24 16:03:38 +00:00
|
|
|
// Dependencies: [7992, 577, 2]
|
2026-09-18 19:45:33 +00:00
|
|
|
// Exports: clearAnalyticsLog, openDevTools, toggleDisplayDevTools, updateDevToolsSettings
|
|
|
|
|
|
2026-09-24 16:03:38 +00:00
|
|
|
// Module 15853 (DevToolsActionCreators)
|
2026-09-21 19:31:18 +00:00
|
|
|
import DispatcherDefault from "Dispatcher" /* 577 */;
|
2026-09-24 16:03:38 +00:00
|
|
|
import DevToolsSettingsStore from "DevToolsSettingsStore" /* 7992 */;
|
2026-09-18 19:45:33 +00:00
|
|
|
|
|
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/devtools/DevToolsActionCreators.tsx");
|
|
|
|
|
|
|
|
|
|
export const updateDevToolsSettings = function updateDevToolsSettings(settings) {
|
|
|
|
|
DispatcherDefault.dispatch({ type: "DEV_TOOLS_SETTINGS_UPDATE", settings });
|
|
|
|
|
};
|
|
|
|
|
export const toggleDisplayDevTools = function toggleDisplayDevTools() {
|
|
|
|
|
DispatcherDefault.dispatch({ type: "DEV_TOOLS_SETTINGS_UPDATE", settings: { displayTools: !DevToolsSettingsStore.displayTools } });
|
|
|
|
|
};
|
|
|
|
|
export const openDevTools = function openDevTools(lastOpenTabId, lastOpenSubTabId) {
|
|
|
|
|
DispatcherDefault.dispatch({ type: "DEV_TOOLS_SETTINGS_UPDATE", settings: { displayTools: true, lastOpenTabId, lastOpenSubTabId } });
|
|
|
|
|
};
|
|
|
|
|
export const clearAnalyticsLog = function clearAnalyticsLog() {
|
|
|
|
|
DispatcherDefault.dispatch({ type: "ANALYTICS_LOG_CLEAR" });
|
|
|
|
|
};
|