2026-09-12 13:45:10 +00:00
|
|
|
// Module ID: 15258
|
|
|
|
|
// Function ID: 15259
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: ClientThemesBackgroundActionCreators
|
2026-09-05 10:56:28 +00:00
|
|
|
// Dependencies: [573, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: resetBackgroundGradientPreset, resetPreviewClientTheme, updateBackgroundGradientPreset, updateMobilePendingThemeIndex
|
|
|
|
|
|
2026-09-12 13:45:10 +00:00
|
|
|
// Module 15258 (ClientThemesBackgroundActionCreators)
|
2026-09-10 05:38:07 +00:00
|
|
|
import DispatcherDefault from "Dispatcher" /* 573 */;
|
|
|
|
|
import size from "module_2" /* 2 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const result = size.fileFinishedImporting("modules/client_themes/ClientThemesBackgroundActionCreators.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const updateBackgroundGradientPreset = function updateBackgroundGradientPreset(id) {
|
2026-09-10 05:38:07 +00:00
|
|
|
DispatcherDefault.dispatch({ type: "UPDATE_BACKGROUND_GRADIENT_PRESET", presetId: id });
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
|
|
|
|
export const updateMobilePendingThemeIndex = function updateMobilePendingThemeIndex(mobileThemesIndex) {
|
2026-09-10 05:38:07 +00:00
|
|
|
DispatcherDefault.dispatch({ type: "UPDATE_MOBILE_PENDING_THEME_INDEX", mobileThemesIndex });
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
|
|
|
|
export const resetBackgroundGradientPreset = function resetBackgroundGradientPreset() {
|
2026-09-10 05:38:07 +00:00
|
|
|
DispatcherDefault.dispatch({ type: "UPDATE_BACKGROUND_GRADIENT_PRESET", presetId: null });
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
|
|
|
|
export const resetPreviewClientTheme = function resetPreviewClientTheme() {
|
2026-09-10 05:38:07 +00:00
|
|
|
DispatcherDefault.dispatch({ type: "RESET_PREVIEW_CLIENT_THEME" });
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|