@eclass/ui-kit 1.52.13 → 1.53.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,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { ICalendarDropdown } from '../types';
3
- export declare const CalendarDropdownContainer: ({ events, loading, text, now, redirectToCalendar, courseColors, onlyToCalendar, m, }: ICalendarDropdown) => JSX.Element;
3
+ export declare const CalendarDropdownContainer: ({ courseColors, events, loading, m, now, onlyToCalendar, redirectToCalendar, text, }: ICalendarDropdown) => JSX.Element;
4
4
  //# sourceMappingURL=CalendarDropdownContainer.d.ts.map
@@ -1,17 +1,17 @@
1
1
  /// <reference types="react" />
2
2
  import { Text, Event } from '../../types';
3
3
  interface IEventsProps {
4
+ colors?: Record<string, string>;
4
5
  events: {
5
6
  today: Event[];
6
7
  tomorrow: Event[];
7
8
  next: Event[];
8
9
  };
9
- text?: Text;
10
- redirecToCalendar: () => void;
11
- isMobile: boolean;
12
- colors?: Record<string, string>;
13
10
  hasMoreNext?: boolean;
11
+ isMobile: boolean;
12
+ redirecToCalendar: () => void;
13
+ text?: Text;
14
14
  }
15
- export declare const Events: ({ events, text, redirecToCalendar, isMobile, colors, hasMoreNext, }: IEventsProps) => JSX.Element;
15
+ export declare const Events: ({ colors, events, hasMoreNext, isMobile, redirecToCalendar, text, }: IEventsProps) => JSX.Element;
16
16
  export {};
17
17
  //# sourceMappingURL=Events.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Events.d.ts","sourceRoot":"","sources":["../../../../../../src/organisms/Calendar/Dropdown/CalendarDropdown/Components/Events.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAGzC,UAAU,YAAY;IACpB,MAAM,EAAE;QACN,KAAK,EAAE,KAAK,EAAE,CAAA;QACd,QAAQ,EAAE,KAAK,EAAE,CAAA;QACjB,IAAI,EAAE,KAAK,EAAE,CAAA;KACd,CAAA;IACD,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,iBAAiB,EAAE,MAAM,IAAI,CAAA;IAC7B,QAAQ,EAAE,OAAO,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC/B,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,eAAO,MAAM,MAAM,wEAOhB,YAAY,KAAG,WAyDjB,CAAA"}
1
+ {"version":3,"file":"Events.d.ts","sourceRoot":"","sources":["../../../../../../src/organisms/Calendar/Dropdown/CalendarDropdown/Components/Events.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAGzC,UAAU,YAAY;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC/B,MAAM,EAAE;QACN,KAAK,EAAE,KAAK,EAAE,CAAA;QACd,QAAQ,EAAE,KAAK,EAAE,CAAA;QACjB,IAAI,EAAE,KAAK,EAAE,CAAA;KACd,CAAA;IACD,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,QAAQ,EAAE,OAAO,CAAA;IACjB,iBAAiB,EAAE,MAAM,IAAI,CAAA;IAC7B,IAAI,CAAC,EAAE,IAAI,CAAA;CACZ;AAED,eAAO,MAAM,MAAM,wEAOhB,YAAY,KAAG,WAyDjB,CAAA"}
@@ -1,15 +1,15 @@
1
1
  /// <reference types="react" />
2
2
  import { Event } from '../../types';
3
3
  interface IEventsGroupProps {
4
- title: string;
4
+ colors?: Record<string, string>;
5
5
  events: Event[];
6
+ hasMoreNext?: boolean;
7
+ redirect?: () => void;
6
8
  text: string;
7
9
  textSeeMore?: string;
8
10
  textLinkMore?: string;
9
- colors?: Record<string, string>;
10
- redirect?: () => void;
11
- hasMoreNext?: boolean;
11
+ title: string;
12
12
  }
13
- export declare const EventsGroup: ({ title, events, text, textSeeMore, textLinkMore, colors, redirect, hasMoreNext, }: IEventsGroupProps) => JSX.Element;
13
+ export declare const EventsGroup: ({ colors, events, hasMoreNext, title, redirect, text, textSeeMore, textLinkMore, }: IEventsGroupProps) => JSX.Element;
14
14
  export {};
15
15
  //# sourceMappingURL=EventsGroup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EventsGroup.d.ts","sourceRoot":"","sources":["../../../../../../src/organisms/Calendar/Dropdown/CalendarDropdown/Components/EventsGroup.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAEnC,UAAU,iBAAiB;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,KAAK,EAAE,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC/B,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,eAAO,MAAM,WAAW,uFASrB,iBAAiB,KAAG,WAoEtB,CAAA"}
1
+ {"version":3,"file":"EventsGroup.d.ts","sourceRoot":"","sources":["../../../../../../src/organisms/Calendar/Dropdown/CalendarDropdown/Components/EventsGroup.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAEnC,UAAU,iBAAiB;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC/B,MAAM,EAAE,KAAK,EAAE,CAAA;IACf,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,EAAE,MAAM,CAAA;CACd;AAED,eAAO,MAAM,WAAW,uFASrB,iBAAiB,KAAG,WAqEtB,CAAA"}
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { ICalendarDropdown } from './types';
3
- export declare const CalendarDropdown: ({ redirectToCalendar, text, courseColors, now, events, loading, onlyToCalendar, m, }: ICalendarDropdown) => JSX.Element;
3
+ export declare const CalendarDropdown: ({ courseColors, events, loading, m, now, onlyToCalendar, redirectToCalendar, text, }: ICalendarDropdown) => JSX.Element;
4
4
  //# sourceMappingURL=CalendarDropdown.d.ts.map
@@ -15,14 +15,15 @@ interface FormattedDate {
15
15
  }
16
16
 
17
17
  export interface Event {
18
- id: number
19
- course_id: number
20
- start: string
21
- end: string
22
18
  associated_resource: AssociatedResource
23
19
  course: Course
20
+ course_id: number
21
+ end: string
22
+ start: string
24
23
  formatedDate: FormattedDate
24
+ id: number
25
25
  isNew?: boolean
26
+ translatedTitle: string
26
27
  type: string
27
28
  }
28
29
 
@@ -47,12 +48,12 @@ export interface Text {
47
48
  }
48
49
 
49
50
  interface ICalendarDropdown {
50
- m?: string
51
51
  courseColors?: Record<string, string>
52
52
  events: any
53
53
  loading?: boolean
54
+ m?: string
54
55
  now: string
56
+ onlyToCalendar?: boolean
55
57
  redirectToCalendar: () => void
56
58
  text?: Text
57
- onlyToCalendar?: boolean
58
59
  }
@@ -1 +1 @@
1
- {"version":3,"file":"EventsList.d.ts","sourceRoot":"","sources":["../../../../src/organisms/Calendar/EventsList/EventsList.tsx"],"names":[],"mappings":";AAKA,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,eAAO,MAAM,UAAU,+GAapB,UAAU,KAAG,WAoFf,CAAA"}
1
+ {"version":3,"file":"EventsList.d.ts","sourceRoot":"","sources":["../../../../src/organisms/Calendar/EventsList/EventsList.tsx"],"names":[],"mappings":";AAKA,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,eAAO,MAAM,UAAU,+GAapB,UAAU,KAAG,WA4Ef,CAAA"}