"use client";
import { GanttConsts as _ } from "./GanttConsts.js";
import { GanttUnitOfTimes as S } from "../enums/GanttUnitOfTimes.js";
import { GanttDimensions as e } from "../enums/GanttDimensions.js";
const s = {
  [e.HOUR]: {
    value: 0,
    hours: 1,
    label: "1 hour",
    unitOfTime: S.DAY,
    itemsCount: 11,
    stepWidth: _.SCALE_STEP_DEFAULT_WIDTH,
    scaleStepItems: _.HOURS_IN_DAY / 1,
    secondsInPixel: _.SECONDS_IN_HOUR * 1 / _.SCALE_STEP_DEFAULT_WIDTH
  },
  [e.TWO_HOURS]: {
    value: 1,
    hours: 2,
    label: "2 hours",
    unitOfTime: S.DAY,
    itemsCount: 22,
    stepWidth: _.SCALE_STEP_DEFAULT_WIDTH * _.SCALE_STEP_RATIO,
    scaleStepItems: _.HOURS_IN_DAY / 2,
    secondsInPixel: _.SECONDS_IN_HOUR * 2 / (_.SCALE_STEP_DEFAULT_WIDTH * _.SCALE_STEP_RATIO)
  },
  [e.THREE_HOURS]: {
    value: 2,
    hours: 3,
    label: "3 hours",
    unitOfTime: S.DAY,
    itemsCount: 33,
    stepWidth: _.SCALE_STEP_DEFAULT_WIDTH * _.SCALE_STEP_RATIO,
    scaleStepItems: _.HOURS_IN_DAY / 3,
    secondsInPixel: _.SECONDS_IN_HOUR * 3 / (_.SCALE_STEP_DEFAULT_WIDTH * _.SCALE_STEP_RATIO)
  },
  [e.FOUR_HOURS]: {
    value: 3,
    hours: 4,
    label: "4 hours",
    unitOfTime: S.DAY,
    itemsCount: 44,
    stepWidth: _.SCALE_STEP_DEFAULT_WIDTH * _.SCALE_STEP_RATIO,
    scaleStepItems: _.HOURS_IN_DAY / 4,
    secondsInPixel: _.SECONDS_IN_HOUR * 4 / (_.SCALE_STEP_DEFAULT_WIDTH * _.SCALE_STEP_RATIO)
  },
  [e.SIX_HOURS]: {
    value: 4,
    hours: 6,
    label: "6 hours",
    unitOfTime: S.DAY,
    itemsCount: 66,
    stepWidth: _.SCALE_STEP_DEFAULT_WIDTH * _.SCALE_STEP_RATIO,
    scaleStepItems: _.HOURS_IN_DAY / 6,
    secondsInPixel: _.SECONDS_IN_HOUR * 6 / (_.SCALE_STEP_DEFAULT_WIDTH * _.SCALE_STEP_RATIO)
  },
  [e.EIGHT_HOURS]: {
    value: 5,
    hours: 8,
    label: "8 hours",
    unitOfTime: S.DAY,
    itemsCount: 88,
    stepWidth: _.SCALE_STEP_DEFAULT_WIDTH * _.SCALE_STEP_RATIO,
    scaleStepItems: _.HOURS_IN_DAY / 8,
    secondsInPixel: _.SECONDS_IN_HOUR * 8 / (_.SCALE_STEP_DEFAULT_WIDTH * _.SCALE_STEP_RATIO)
  },
  [e.TWELVE_HOURS]: {
    value: 6,
    hours: 12,
    label: "12 hours",
    unitOfTime: S.DAY,
    itemsCount: 132,
    stepWidth: _.SCALE_STEP_DEFAULT_WIDTH * _.SCALE_STEP_RATIO,
    scaleStepItems: _.HOURS_IN_DAY / 12,
    secondsInPixel: _.SECONDS_IN_HOUR * 12 / (_.SCALE_STEP_DEFAULT_WIDTH * _.SCALE_STEP_RATIO)
  },
  [e.DAY]: {
    value: 7,
    hours: 24,
    label: "1 day",
    unitOfTime: S.MONTH,
    itemsCount: 11,
    stepWidth: _.SCALE_STEP_DEFAULT_WIDTH,
    scaleStepItems: _.HOURS_IN_DAY / 24,
    secondsInPixel: _.SECONDS_IN_HOUR * 24 / _.SCALE_STEP_DEFAULT_WIDTH
  }
};
export {
  s as GanttDimensionsSettings
};
