Add settings page for managing forecasting API key and URL via UI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
cae411eae7
commit
1c411e402e
19809 changed files with 1962608 additions and 97 deletions
24
frontend/node_modules/recharts/es6/state/polarOptionsSlice.js
generated
vendored
Normal file
24
frontend/node_modules/recharts/es6/state/polarOptionsSlice.js
generated
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
import { createSlice } from '@reduxjs/toolkit';
|
||||
var initialState = null;
|
||||
var reducers = {
|
||||
updatePolarOptions: (state, action) => {
|
||||
if (state === null) {
|
||||
return action.payload;
|
||||
}
|
||||
state.startAngle = action.payload.startAngle;
|
||||
state.endAngle = action.payload.endAngle;
|
||||
state.cx = action.payload.cx;
|
||||
state.cy = action.payload.cy;
|
||||
state.innerRadius = action.payload.innerRadius;
|
||||
state.outerRadius = action.payload.outerRadius;
|
||||
return state;
|
||||
}
|
||||
};
|
||||
var polarOptionsSlice = createSlice({
|
||||
name: 'polarOptions',
|
||||
initialState,
|
||||
reducers
|
||||
});
|
||||
var updatePolarOptions = polarOptionsSlice.actions.updatePolarOptions;
|
||||
export { updatePolarOptions };
|
||||
export var polarOptionsReducer = polarOptionsSlice.reducer;
|
||||
Loading…
Add table
Add a link
Reference in a new issue