sapp-common-package-test-final 1.0.9 → 1.0.11
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.
- package/dist/components/SAPPCalendar/LMSWeeklyCalendar/LMSWeeklyCalendar.d.ts +15 -0
- package/dist/components/SAPPCalendar/LMSWeeklyCalendar/LMSWeeklyCell.d.ts +12 -0
- package/dist/components/SAPPCalendar/LMSWeeklyCalendar/LMSWeeklyEvent.d.ts +9 -0
- package/dist/components/SAPPCalendar/WeeklyCalendar/LMSWeeklyCalendar.d.ts +15 -0
- package/dist/constants/index.d.ts +29 -0
- package/dist/index.css +25 -9
- package/dist/index.js +262 -244
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +263 -245
- package/dist/index.modern.js.map +1 -1
- package/dist/types/index.d.ts +3 -1
- package/dist/utils/index.d.ts +2 -1
- package/package.json +1 -1
@@ -0,0 +1,15 @@
|
|
1
|
+
import { Dayjs } from 'dayjs';
|
2
|
+
import React from 'react';
|
3
|
+
import { IEvent, INorm } from '../../../types';
|
4
|
+
interface IWeeklyCalendarProps {
|
5
|
+
startDate: Dayjs;
|
6
|
+
endDate: Dayjs;
|
7
|
+
events: IEvent[];
|
8
|
+
norms: INorm[];
|
9
|
+
onOpenDetail: (date: Date, events: IEvent[]) => void;
|
10
|
+
onOpenCreate: (date: Date) => void;
|
11
|
+
onEventDetail?: (event: IEvent) => void;
|
12
|
+
loading?: boolean;
|
13
|
+
}
|
14
|
+
declare const LMSWeeklyCalendar: ({ startDate, events, onOpenDetail, onOpenCreate, onEventDetail, loading }: IWeeklyCalendarProps) => React.JSX.Element;
|
15
|
+
export default LMSWeeklyCalendar;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { Dayjs } from 'dayjs';
|
2
|
+
import React from 'react';
|
3
|
+
import { IEvent } from '../../../types';
|
4
|
+
interface IWeeklyCellProps {
|
5
|
+
events: IEvent[];
|
6
|
+
date: Dayjs;
|
7
|
+
onOpenDetail: (date: Date, events: IEvent[]) => void;
|
8
|
+
onOpenCreate: (date: Date) => void;
|
9
|
+
onEventDetail?: (event: IEvent) => void;
|
10
|
+
}
|
11
|
+
declare const LMSWeeklyCell: ({ events, date, onOpenDetail, onOpenCreate, onEventDetail }: IWeeklyCellProps) => React.JSX.Element;
|
12
|
+
export default LMSWeeklyCell;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { IEvent } from '../../../types';
|
3
|
+
interface IWeeklyEventProps {
|
4
|
+
event: IEvent;
|
5
|
+
onOpenDetail: (date: Date, events: IEvent[]) => void;
|
6
|
+
onEventDetail?: (event: IEvent) => void;
|
7
|
+
}
|
8
|
+
declare const LMSWeeklyEvent: ({ event, onOpenDetail, onEventDetail }: IWeeklyEventProps) => React.JSX.Element;
|
9
|
+
export default LMSWeeklyEvent;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { Dayjs } from 'dayjs';
|
2
|
+
import React from 'react';
|
3
|
+
import { IEvent, INorm } from '../../../types';
|
4
|
+
interface IWeeklyCalendarProps {
|
5
|
+
startDate: Dayjs;
|
6
|
+
endDate: Dayjs;
|
7
|
+
events: IEvent[];
|
8
|
+
norms: INorm[];
|
9
|
+
onOpenDetail: (date: Date, events: IEvent[]) => void;
|
10
|
+
onOpenCreate: (date: Date) => void;
|
11
|
+
onEventDetail?: (event: IEvent) => void;
|
12
|
+
loading?: boolean;
|
13
|
+
}
|
14
|
+
declare const LMSWeeklyCalendar: ({ startDate, onOpenDetail, onOpenCreate, onEventDetail, loading }: IWeeklyCalendarProps) => React.JSX.Element;
|
15
|
+
export default LMSWeeklyCalendar;
|
@@ -10,6 +10,26 @@ export declare enum DAYS_OF_WEEK {
|
|
10
10
|
Saturday = "Saturday",
|
11
11
|
Sunday = "Sunday"
|
12
12
|
}
|
13
|
+
export declare enum HOUR_OF_DAY {
|
14
|
+
'07:00' = "07:00",
|
15
|
+
'08:00' = "08:00",
|
16
|
+
'09:00' = "09:00",
|
17
|
+
'10:00' = "10:00",
|
18
|
+
'11:00' = "11:00",
|
19
|
+
'12:00' = "12:00",
|
20
|
+
'13:00' = "13:00",
|
21
|
+
'14:00' = "14:00",
|
22
|
+
'15:00' = "15:00",
|
23
|
+
'16:00' = "16:00",
|
24
|
+
'17:00' = "17:00",
|
25
|
+
'18:00' = "18:00",
|
26
|
+
'19:00' = "19:00",
|
27
|
+
'20:00' = "20:00",
|
28
|
+
'21:00' = "21:00",
|
29
|
+
'22:00' = "22:00",
|
30
|
+
'23:00' = "23:00",
|
31
|
+
'24:00' = "24:00"
|
32
|
+
}
|
13
33
|
export declare enum EVENT_TYPES {
|
14
34
|
TEACHING = "TEACHING",
|
15
35
|
BUSY = "BUSY",
|
@@ -20,3 +40,12 @@ export declare const FORMAT_DATE_CARLENDA: {
|
|
20
40
|
MONTH_AND_WEEK: string;
|
21
41
|
DATE: string;
|
22
42
|
};
|
43
|
+
export declare enum LEARNING_MODE {
|
44
|
+
ONLINE = "ONLINE",
|
45
|
+
LIVE_ONLINE = "LIVE_ONLINE",
|
46
|
+
OFFLINE = "OFFLINE",
|
47
|
+
CASE_STUDY = "CASE_STUDY",
|
48
|
+
HOLIDAY = "HOLIDAY",
|
49
|
+
OVERDUE = "OVERDUE",
|
50
|
+
TEST = "TEST"
|
51
|
+
}
|
package/dist/index.css
CHANGED
@@ -118,16 +118,14 @@
|
|
118
118
|
|
119
119
|
._3WrnL {
|
120
120
|
--tw-bg-opacity: 1;
|
121
|
-
background-color: rgb(
|
121
|
+
background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
|
122
122
|
--tw-text-opacity: 1;
|
123
123
|
color: rgb(120 130 157 / var(--tw-text-opacity, 1))
|
124
124
|
}
|
125
125
|
|
126
126
|
._2-qBL {
|
127
|
-
|
128
|
-
|
129
|
-
--tw-bg-opacity: 1;
|
130
|
-
background-color: rgb(255 184 0 / var(--tw-bg-opacity, 1));
|
127
|
+
border-color: '#FFB800';
|
128
|
+
background-color: '#FFB800';
|
131
129
|
--tw-text-opacity: 1;
|
132
130
|
color: rgb(255 255 255 / var(--tw-text-opacity, 1))
|
133
131
|
}
|
@@ -143,7 +141,7 @@
|
|
143
141
|
._1oq3N {
|
144
142
|
--tw-border-opacity: 1;
|
145
143
|
border-color: rgb(236 148 14 / var(--tw-border-opacity, 1));
|
146
|
-
background-color:
|
144
|
+
background-color: rgba(236,148,14,0.05);
|
147
145
|
--tw-text-opacity: 1;
|
148
146
|
color: rgb(236 148 14 / var(--tw-text-opacity, 1))
|
149
147
|
}
|
@@ -439,11 +437,9 @@ div._1uenJ > div {
|
|
439
437
|
|
440
438
|
._3lPkV > div {
|
441
439
|
position: absolute;
|
442
|
-
left: 5%;
|
443
440
|
z-index: 10;
|
444
441
|
width: 90%;
|
445
442
|
cursor: pointer;
|
446
|
-
border-radius: 0.125rem;
|
447
443
|
border-left-width: 2px !important;
|
448
444
|
border-style: solid !important;
|
449
445
|
padding: 12px
|
@@ -588,6 +584,19 @@ div._12I9I {
|
|
588
584
|
border-color: rgb(255 184 0 / var(--tw-border-opacity, 1)) !important
|
589
585
|
}
|
590
586
|
|
587
|
+
._1fd_Y {
|
588
|
+
display: flex;
|
589
|
+
align-items: center;
|
590
|
+
-moz-column-gap: 16px;
|
591
|
+
column-gap: 16px
|
592
|
+
}
|
593
|
+
|
594
|
+
._1sVO3 {
|
595
|
+
font-weight: 600;
|
596
|
+
--tw-text-opacity: 1;
|
597
|
+
color: rgb(37 47 74 / var(--tw-text-opacity, 1))
|
598
|
+
}
|
599
|
+
|
591
600
|
@tailwind utilities;
|
592
601
|
|
593
602
|
._2OOkM {
|
@@ -781,7 +790,7 @@ div._30qaU > div {
|
|
781
790
|
}
|
782
791
|
|
783
792
|
._1tvYg > div {
|
784
|
-
@apply absolute z-10
|
793
|
+
@apply absolute z-10 w-[90%] !border-l-2 !border-solid p-3 cursor-pointer;
|
785
794
|
}
|
786
795
|
|
787
796
|
._35RRs {
|
@@ -874,6 +883,13 @@ div._1dZBN {
|
|
874
883
|
.ant-picker-cell-selected > div::before {
|
875
884
|
@apply !border-[#FFB800]
|
876
885
|
}
|
886
|
+
._1_tsV {
|
887
|
+
@apply flex items-center gap-x-4;
|
888
|
+
}
|
889
|
+
|
890
|
+
._3AKUg {
|
891
|
+
@apply text-black font-semibold;
|
892
|
+
}
|
877
893
|
|
878
894
|
._2Y9jk ._3puh0 {
|
879
895
|
display: none
|