decord/source/modules/devtools/design_toggles/DesignTogglesActions.tsx

29 lines
853 B
TypeScript
Raw Normal View History

2026-07-21 06:55:02 +00:00
// Module ID: 14554
// Function ID: 109681
2026-07-20 16:05:17 +00:00
// Name: toggle
2026-07-21 06:55:02 +00:00
// Dependencies: [30, 3506438160, 2382364714]
2026-07-20 16:05:17 +00:00
// Exports: clearAll
2026-07-21 06:55:02 +00:00
// Module 14554 (toggle)
import _objectWithoutPropertiesLoose from "_objectWithoutPropertiesLoose";
2026-07-20 16:05:17 +00:00
function toggle(toggle) {
let tmp = arg1;
if ("boolean" !== typeof arg1) {
2026-07-21 06:55:02 +00:00
tmp = !_objectWithoutPropertiesLoose.get(toggle);
2026-07-20 16:05:17 +00:00
}
let obj = importDefault(dependencyMap[1]);
obj = { type: "DEV_TOOLS_DESIGN_TOGGLE_SET", toggle, value: tmp };
obj.dispatch(obj);
}
const result = arg1(dependencyMap[2]).fileFinishedImporting("modules/devtools/design_toggles/DesignTogglesActions.tsx");
export { toggle };
export const clearAll = function clearAll() {
2026-07-21 06:55:02 +00:00
for (const key10006 in _objectWithoutPropertiesLoose.all()) {
2026-07-20 16:05:17 +00:00
let tmp = key10006;
let tmp2 = closure_3;
let tmp3 = closure_3(key10006, false);
}
};