{"version":3,"sources":["../../../../src/components/Calendar/utils/constants.ts"],"sourcesContent":["/**\n * The days of the week.\n */\nexport type DayOfWeek = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';\n\n/**\n * The days of the week, ordered so that each index matches `Date.prototype.getDay()`.\n */\nexport const daysOfWeek = [\n  'sunday',\n  'monday',\n  'tuesday',\n  'wednesday',\n  'thursday',\n  'friday',\n  'saturday',\n] as const satisfies readonly DayOfWeek[];\n\n/**\n * Default working days used by work-week ranges.\n */\nexport const DEFAULT_WORK_WEEK_DAYS = [\n  'monday',\n  'tuesday',\n  'wednesday',\n  'thursday',\n  'friday',\n] as const satisfies readonly DayOfWeek[];\n\n/**\n * The months of the year.\n */\nexport type MonthOfYear =\n  | 'january'\n  | 'february'\n  | 'march'\n  | 'april'\n  | 'may'\n  | 'june'\n  | 'july'\n  | 'august'\n  | 'september'\n  | 'october'\n  | 'november'\n  | 'december';\n\n/**\n * The months of the year, ordered so that each index matches `Date.prototype.getMonth()`.\n */\nexport const monthsOfYear = [\n  'january',\n  'february',\n  'march',\n  'april',\n  'may',\n  'june',\n  'july',\n  'august',\n  'september',\n  'october',\n  'november',\n  'december',\n] as const satisfies readonly MonthOfYear[];\n\n/**\n * Determines which week counts as the first week of the year.\n * - `firstDay` - the week containing January 1st.\n * - `firstFullWeek` - the first week entirely within the new year.\n * - `firstFourDayWeek` - the first week with at least four days in the new year.\n */\nexport type FirstWeekOfYear = 'firstDay' | 'firstFullWeek' | 'firstFourDayWeek';\n\n/**\n * The supported date range types, describing how many days are selected when the user picks a date.\n */\nexport type DateRangeType = 'day' | 'week' | 'month' | 'workWeek';\n\n/**\n * Number of days in a week.\n */\nexport const DAYS_IN_WEEK = 7;\n"],"names":["DAYS_IN_WEEK","DEFAULT_WORK_WEEK_DAYS","daysOfWeek","monthsOfYear"],"mappings":"AAAA;;CAEC;;;;;;;;;;;QA8EYA;eAAAA;;QA3DAC;eAAAA;;QAbAC;eAAAA;;QAyCAC;eAAAA;;;AAzCN,MAAMD,aAAa;IACxB;IACA;IACA;IACA;IACA;IACA;IACA;CACD;AAKM,MAAMD,yBAAyB;IACpC;IACA;IACA;IACA;IACA;CACD;AAsBM,MAAME,eAAe;IAC1B;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;CACD;AAkBM,MAAMH,eAAe"}