Project Init

This commit is contained in:
Muluhabt
2026-05-29 15:23:46 +03:00
commit 2fbc557aac
67387 changed files with 6063341 additions and 0 deletions

35
node_modules/recharts/es6/state/brushSlice.js generated vendored Normal file
View File

@@ -0,0 +1,35 @@
import { createSlice } from '@reduxjs/toolkit';
/**
* From all Brush properties, only height has a default value and will always be defined.
* Other properties are nullable and will be computed from offsets and margins if they are not set.
*/
var initialState = {
x: 0,
y: 0,
width: 0,
height: 0,
padding: {
top: 0,
right: 0,
bottom: 0,
left: 0
}
};
export var brushSlice = createSlice({
name: 'brush',
initialState,
reducers: {
setBrushSettings(_state, action) {
if (action.payload == null) {
return initialState;
}
return action.payload;
}
}
});
export var {
setBrushSettings
} = brushSlice.actions;
export var brushReducer = brushSlice.reducer;