export const viewTypeTimeline = "planner-timeline";
export const viewTypeMultiDay = "planner-weekly";
export const viewTypeReleaseNotes = "planner-release-notes";
export const viewTypeTimeTracker = "planner-time-tracker";

export const obsidianContextKey = "obsidianContext";
export const dateRangeContextKey = "dateRangeContext";
export const isInSidebarContextKey = "isInSidebarContext";

export const defaultDayFormat = "YYYY-MM-DD";
export const icalDayKeyFormat = "YYYY-MM-DD";
export const defaultRangeDayFormat = "MMM, D";
export const defaultDayFormatForLuxon = "yyyy-MM-dd";

export const clockSeparator = "--";
export const clockKey = "clock";
export const clockFormat = "YYYY-MM-DD HH:mm:ss";
export const codeFence = "```";

export const emDash = "–";
export const bullet = "•";

export const defaultDurationMinutes = 30;

export const searchResultLimit = 50;
export const statusBarTextLimit = 15;
export const indentBeforeTaskParagraph = 2;
export const indentBeforeListParagraph = 2;

export const currentTimeRefreshIntervalMillis = 5 * 1000;
export const undoTimeoutMillis = 8000;
export const vibrationDurationMillis = 100;
export const transitionDurationShort = 150;

export const icalParseLowerLimit = 10;

export const icalRefreshIntervalMillis = 5 * 60 * 1000;
export const fallbackPartStat = "NEEDS-ACTION";

export const mdastUtilNumberOfSpacesInTab = 4;

export const dataviewDownloadLink = "https://obsidian.md/plugins?id=dataview";
export const floatingUiOffset = 8;

export const scrollOnHoverZoneHeightPercent = 8;
export const scrollSpeedPixelsPerAnimationFrame = 8;

export enum MouseButton {
  LEFT = 0,
  RIGHT = 2,
}

export const icons = [
  "any-key",
  "audio-file",
  "blocks",
  "broken-link",
  "bullet-list",
  "calendar-with-checkmark",
  "calendar-clock",
  "calendar-range",
  "checkmark",
  "create-new",
  "cross",
  "cross-in-box",
  "crossed-star",
  "dice",
  "document",
  "documents",
  "dot-network",
  "enter",
  "expand-vertically",
  "filled-pin",
  "folder",
  "gear",
  "go-to-file",
  "hashtag",
  "help",
  "horizontal-split",
  "image-file",
  "info",
  "install",
  "languages",
  "left-arrow",
  "left-arrow-with-tail",
  "lines-of-text",
  "link",
  "logo-crystal",
  "magnifying-glass",
  "microphone",
  "microphone-filled",
  "open-vault",
  "pane-layout",
  "paper-plane",
  "pdf-file",
  "pencil",
  "pin",
  "popup-open",
  "presentation",
  "reset",
  "right-arrow",
  "right-arrow-with-tail",
  "right-triangle",
  "search",
  "sheets-in-box",
  "star",
  "star-list",
  "switch",
  "three-horizontal-bars",
  "trash",
  "two-columns",
  "up-and-down-arrows",
  "uppercase-lowercase-a",
  "vault",
  "vertical-split",
  "vertical-three-dots",
];
