@eclass/ui-kit 1.57.10 → 1.58.1

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: ({ courseColors, events, loading, m, now, onlyToCalendar, redirectToCalendar, text, alert, }: ICalendarDropdown) => JSX.Element;
3
+ export declare const CalendarDropdownContainer: ({ onClickEvent, courseColors, events, loading, m, now, onlyToCalendar, redirectToCalendar, text, alert, }: ICalendarDropdown) => JSX.Element;
4
4
  //# sourceMappingURL=CalendarDropdownContainer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarDropdownContainer.d.ts","sourceRoot":"","sources":["../../../../../src/organisms/Calendar/Dropdown/CalendarDropdown/CalendarDropdownContainer.tsx"],"names":[],"mappings":";AASA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAE5C,eAAO,MAAM,yBAAyB,gGAUnC,iBAAiB,KAAG,WAqJtB,CAAA"}
1
+ {"version":3,"file":"CalendarDropdownContainer.d.ts","sourceRoot":"","sources":["../../../../../src/organisms/Calendar/Dropdown/CalendarDropdown/CalendarDropdownContainer.tsx"],"names":[],"mappings":";AASA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAE5C,eAAO,MAAM,yBAAyB,8GAWnC,iBAAiB,KAAG,WAsJtB,CAAA"}
@@ -9,9 +9,10 @@ interface IEventsProps {
9
9
  };
10
10
  hasMoreNext?: boolean;
11
11
  isMobile: boolean;
12
+ onClickEvent?: (event?: Event) => void;
12
13
  redirecToCalendar: () => void;
13
14
  text?: Text;
14
15
  }
15
- export declare const Events: ({ colors, events, hasMoreNext, isMobile, redirecToCalendar, text, }: IEventsProps) => JSX.Element;
16
+ export declare const Events: ({ colors, events, hasMoreNext, isMobile, onClickEvent, redirecToCalendar, text, }: IEventsProps) => JSX.Element;
16
17
  export {};
17
18
  //# 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,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
+ {"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,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,KAAK,IAAI,CAAA;IACtC,iBAAiB,EAAE,MAAM,IAAI,CAAA;IAC7B,IAAI,CAAC,EAAE,IAAI,CAAA;CACZ;AAED,eAAO,MAAM,MAAM,sFAQhB,YAAY,KAAG,WA4DjB,CAAA"}
@@ -4,12 +4,13 @@ interface IEventsGroupProps {
4
4
  colors?: Record<string, string>;
5
5
  events: Event[];
6
6
  hasMoreNext?: boolean;
7
+ onClickEvent?: (event?: Event) => void;
7
8
  redirect?: () => void;
8
9
  text: string;
9
10
  textSeeMore?: string;
10
11
  textLinkMore?: string;
11
12
  title: string;
12
13
  }
13
- export declare const EventsGroup: ({ colors, events, hasMoreNext, title, redirect, text, textSeeMore, textLinkMore, }: IEventsGroupProps) => JSX.Element;
14
+ export declare const EventsGroup: ({ colors, events, hasMoreNext, onClickEvent, title, redirect, text, textSeeMore, textLinkMore, }: IEventsGroupProps) => JSX.Element;
14
15
  export {};
15
16
  //# 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,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,WAuEtB,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,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,KAAK,IAAI,CAAA;IACtC,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,qGAUrB,iBAAiB,KAAG,WAwEtB,CAAA"}
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { ICalendarDropdown } from './types';
3
- export declare const CalendarDropdown: ({ courseColors, events, loading, m, now, onlyToCalendar, redirectToCalendar, text, alert, }: ICalendarDropdown) => JSX.Element;
3
+ export declare const CalendarDropdown: ({ onClickEvent, courseColors, events, loading, m, now, onlyToCalendar, redirectToCalendar, text, alert, }: ICalendarDropdown) => JSX.Element;
4
4
  //# sourceMappingURL=CalendarDropdown.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarDropdown.d.ts","sourceRoot":"","sources":["../../../../src/organisms/Calendar/Dropdown/CalendarDropdown.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,eAAO,MAAM,gBAAgB,gGAU1B,iBAAiB,KAAG,WAiBtB,CAAA"}
1
+ {"version":3,"file":"CalendarDropdown.d.ts","sourceRoot":"","sources":["../../../../src/organisms/Calendar/Dropdown/CalendarDropdown.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,eAAO,MAAM,gBAAgB,8GAW1B,iBAAiB,KAAG,WAkBtB,CAAA"}
@@ -48,6 +48,7 @@ export interface Text {
48
48
  }
49
49
 
50
50
  interface ICalendarDropdown {
51
+ onClickEvent?: (event?: Event) => void
51
52
  courseColors?: Record<string, string>
52
53
  events: any
53
54
  loading?: boolean
@@ -6,6 +6,7 @@ export interface IEventList {
6
6
  date: string;
7
7
  name: string;
8
8
  hasNotification?: boolean;
9
+ onClick?: () => void;
9
10
  showCourse?: boolean;
10
11
  showUnit?: boolean;
11
12
  time: string;
@@ -13,5 +14,5 @@ export interface IEventList {
13
14
  type: string;
14
15
  unitName?: string;
15
16
  }
16
- export declare const EventsList: ({ courseName, color, day, date, name, hasNotification, showCourse, showUnit, time, text, type, unitName, }: IEventList) => JSX.Element;
17
+ export declare const EventsList: ({ courseName, color, day, date, name, hasNotification, onClick, showCourse, showUnit, time, text, type, unitName, }: IEventList) => JSX.Element;
17
18
  //# sourceMappingURL=EventsList.d.ts.map
@@ -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,WAqFf,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,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,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,wHAcpB,UAAU,KAAG,WA6Ff,CAAA"}