sapp-common-package-test-final 1.0.13 → 1.5.0

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.
@@ -1,14 +1,14 @@
1
1
  /// <reference types="react" />
2
2
  import { Dayjs } from 'dayjs';
3
- import { DAYS_OF_WEEK, EVENT_TYPES, HOUR_OF_DAY } from '../constants';
3
+ import { DAYS_OF_WEEK, EVENT_TYPES, DAYS_OF_WEEK_SHORTEN } from '../constants';
4
4
  export declare type ButtonType = 'button' | 'submit' | 'reset';
5
- export declare type ButtonColor = 'primary' | 'default' | 'lms-primary' | 'lms-default';
5
+ export declare type ButtonColor = 'primary' | 'default' | 'lms-default';
6
6
  export declare type CalendarMode = 'month' | 'week' | 'day';
7
7
  export declare type EventType = keyof typeof EVENT_TYPES;
8
8
  export declare type DaysOfWeekKeys = keyof typeof DAYS_OF_WEEK;
9
- export declare type HoursOfDays = keyof typeof HOUR_OF_DAY;
9
+ export declare type DaysOfHourKeys = keyof typeof DAYS_OF_WEEK_SHORTEN;
10
10
  export declare type EventsByDay = Record<DaysOfWeekKeys, ICell>;
11
- export declare type EventsByHour = Record<HoursOfDays, ICell>;
11
+ export declare type EventsByHour = Record<DaysOfWeekKeys, ICell>;
12
12
  export interface IEvent {
13
13
  id: string;
14
14
  title: string;
@@ -21,6 +21,10 @@ export interface IEvent {
21
21
  classroomAddress?: string;
22
22
  meetingLink?: string;
23
23
  isAllDay?: boolean;
24
+ isTest?: boolean;
25
+ isCaseStudy?: boolean;
26
+ isKeyContentBefore?: boolean;
27
+ source?: string;
24
28
  }
25
29
  export interface ITableColumn {
26
30
  title: React.ReactNode;
@@ -4,7 +4,7 @@ import { EventType, IEvent, INorm, INormOfWeek } from '../types';
4
4
  export declare const customDateFormat: (value: Dayjs | Date, formatStr: string) => string;
5
5
  export declare const convertType: Record<EventType, string>;
6
6
  export declare const daysOfWeekKeys: DAYS_OF_WEEK[];
7
- export declare const hoursOfDayKeys: HOUR_OF_DAY[];
8
7
  export declare const calculateNormOfWeek: (norms: INorm[], events: IEvent[], startDate: Dayjs, endDate: Dayjs) => INormOfWeek;
9
8
  export declare const splitEventsIntoDays: (events: IEvent[]) => IEvent[];
10
9
  export declare const checkIsAllday: (startDate: Dayjs, endDate: Dayjs) => boolean;
10
+ export declare const hoursOfDayKeys: HOUR_OF_DAY[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sapp-common-package-test-final",
3
- "version": "1.0.13",
3
+ "version": "1.5.0",
4
4
  "description": "Made with create-react-library",
5
5
  "author": "",
6
6
  "license": "MIT",