@oliasoft-open-source/charts-library 3.6.5-beta-1 → 3.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -24183,7 +24183,7 @@ const initializeFormState = ({
24183
24183
  initialAxesRanges,
24184
24184
  axes = []
24185
24185
  }) => {
24186
- const res = (initialAxesRanges == null ? void 0 : initialAxesRanges.map((initialAxisRange) => {
24186
+ return (initialAxesRanges == null ? void 0 : initialAxesRanges.map((initialAxisRange) => {
24187
24187
  const currentAxisRange = axes.find((a2) => a2.id === initialAxisRange.id);
24188
24188
  return {
24189
24189
  id: initialAxisRange.id,
@@ -24192,8 +24192,6 @@ const initializeFormState = ({
24192
24192
  unit: currentAxisRange == null ? void 0 : currentAxisRange.unit
24193
24193
  };
24194
24194
  })) || [];
24195
- console.log(res);
24196
- return res;
24197
24195
  };
24198
24196
  const isEmptyString = (value) => value === "";
24199
24197
  const createErrorMessages = (value, compareTo, type) => {
@@ -24276,7 +24274,6 @@ const AxesOptionsPopover = (optionsPopover) => {
24276
24274
  },
24277
24275
  initializeFormState
24278
24276
  );
24279
- console.log(formState);
24280
24277
  const { errors, valid } = validateAxes(formState);
24281
24278
  const onEditValue = ({ name, value, id }) => {
24282
24279
  dispatch({
@@ -25972,7 +25969,6 @@ const useSaveInitialAxesRanges = (chartRef, axes, dispatch) => {
25972
25969
  useEffect(() => {
25973
25970
  if (chartRef.current) {
25974
25971
  const initialAxesRanges = getAxesRangesFromChart(chartRef, axes);
25975
- console.log("initialAxesRanges", initialAxesRanges);
25976
25972
  dispatch({
25977
25973
  type: SAVE_INITIAL_AXES_RANGES,
25978
25974
  payload: { initialAxesRanges }