@selfcommunity/react-theme-default 0.4.5-alpha.9 → 0.4.5-payments.144
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/lib/cjs/components/SCAccordionLessons.d.ts +55 -0
- package/lib/cjs/components/SCAccordionLessons.js +53 -0
- package/lib/cjs/components/SCAddUsersButton.d.ts +19 -0
- package/lib/cjs/components/SCAddUsersButton.js +21 -0
- package/lib/cjs/components/SCBaseItemButton.d.ts +26 -35
- package/lib/cjs/components/SCBaseItemButton.js +27 -36
- package/lib/cjs/components/SCBuyButton.d.ts +15 -0
- package/lib/cjs/components/SCBuyButton.js +13 -0
- package/lib/cjs/components/SCCheckout.d.ts +54 -0
- package/lib/cjs/components/SCCheckout.js +54 -0
- package/lib/cjs/components/SCCheckoutReturnDialog.d.ts +26 -0
- package/lib/cjs/components/SCCheckoutReturnDialog.js +26 -0
- package/lib/cjs/components/SCCommentObject.d.ts +7 -17
- package/lib/cjs/components/SCCommentObject.js +7 -17
- package/lib/cjs/components/SCComposer.d.ts +15 -7
- package/lib/cjs/components/SCComposer.js +37 -8
- package/lib/cjs/components/SCContributionActionsMenu.js +1 -1
- package/lib/cjs/components/SCCourse.d.ts +243 -0
- package/lib/cjs/components/SCCourse.js +245 -0
- package/lib/cjs/components/SCCourseCompletedDialog.d.ts +21 -0
- package/lib/cjs/components/SCCourseCompletedDialog.js +23 -0
- package/lib/cjs/components/SCCourseContentMenu.d.ts +42 -0
- package/lib/cjs/components/SCCourseContentMenu.js +42 -0
- package/lib/cjs/components/SCCourseDashboard.d.ts +337 -0
- package/lib/cjs/components/SCCourseDashboard.js +329 -0
- package/lib/cjs/components/SCCourseForm.d.ts +143 -0
- package/lib/cjs/components/SCCourseForm.js +144 -0
- package/lib/cjs/components/SCCourseFormDialog.d.ts +6 -0
- package/lib/cjs/components/SCCourseFormDialog.js +8 -0
- package/lib/cjs/components/SCCourseInfoDetails.d.ts +43 -0
- package/lib/cjs/components/SCCourseInfoDetails.js +43 -0
- package/lib/cjs/components/SCCourseParticipantsButton.d.ts +56 -0
- package/lib/cjs/components/SCCourseParticipantsButton.js +53 -0
- package/lib/cjs/components/SCCourseUsersTable.d.ts +86 -0
- package/lib/cjs/components/SCCourseUsersTable.js +82 -0
- package/lib/cjs/components/SCCourses.d.ts +133 -0
- package/lib/cjs/components/SCCourses.js +135 -0
- package/lib/cjs/components/SCCreateCourseButton.d.ts +12 -0
- package/lib/cjs/components/SCCreateCourseButton.js +14 -0
- package/lib/cjs/components/SCEditCourse.d.ts +273 -0
- package/lib/cjs/components/SCEditCourse.js +271 -0
- package/lib/cjs/components/SCEditor.d.ts +20 -0
- package/lib/cjs/components/SCEditor.js +20 -0
- package/lib/cjs/components/SCEmptyStatus.d.ts +33 -0
- package/lib/cjs/components/SCEmptyStatus.js +33 -0
- package/lib/cjs/components/SCFeedObject.d.ts +18 -12
- package/lib/cjs/components/SCFeedObject.js +18 -12
- package/lib/cjs/components/SCFeedObjectDetailTemplate.js +1 -1
- package/lib/cjs/components/SCLessonAppbar.d.ts +27 -0
- package/lib/cjs/components/SCLessonAppbar.js +28 -0
- package/lib/cjs/components/SCLessonCommentActionsMenu.d.ts +32 -0
- package/lib/cjs/components/SCLessonCommentActionsMenu.js +35 -0
- package/lib/cjs/components/SCLessonCommentObject.d.ts +117 -0
- package/lib/cjs/components/SCLessonCommentObject.js +119 -0
- package/lib/cjs/components/SCLessonCommentObjects.d.ts +48 -0
- package/lib/cjs/components/SCLessonCommentObjects.js +50 -0
- package/lib/cjs/components/SCLessonDrawer.d.ts +42 -0
- package/lib/cjs/components/SCLessonDrawer.js +44 -0
- package/lib/cjs/components/SCLessonEditForm.d.ts +33 -0
- package/lib/cjs/components/SCLessonEditForm.js +33 -0
- package/lib/cjs/components/SCLessonObject.d.ts +48 -0
- package/lib/cjs/components/SCLessonObject.js +51 -0
- package/lib/cjs/components/SCLessonReleaseMenu.d.ts +32 -0
- package/lib/cjs/components/SCLessonReleaseMenu.js +34 -0
- package/lib/cjs/components/SCLessonTemplate.d.ts +20 -0
- package/lib/cjs/components/SCLessonTemplate.js +20 -0
- package/lib/cjs/components/SCLiveStreamForm.d.ts +9 -0
- package/lib/cjs/components/SCLiveStreamForm.js +10 -1
- package/lib/cjs/components/SCLiveStreamRoom.d.ts +27 -1
- package/lib/cjs/components/SCLiveStreamRoom.js +27 -1
- package/lib/cjs/components/SCLiveStreamSelector.d.ts +2 -0
- package/lib/cjs/components/SCLiveStreamSelector.js +3 -1
- package/lib/cjs/components/SCLiveStreamVideoConference.d.ts +2 -1
- package/lib/cjs/components/SCLiveStreamVideoConference.js +2 -1
- package/lib/cjs/components/SCNavigationToolbar.d.ts +1 -1
- package/lib/cjs/components/SCNavigationToolbar.js +1 -1
- package/lib/cjs/components/SCPaymentProduct.d.ts +55 -0
- package/lib/cjs/components/SCPaymentProduct.js +53 -0
- package/lib/cjs/components/SCPaymentProductPrice.d.ts +15 -0
- package/lib/cjs/components/SCPaymentProductPrice.js +13 -0
- package/lib/cjs/components/SCPaymentProducts.d.ts +15 -0
- package/lib/cjs/components/SCPaymentProducts.js +13 -0
- package/lib/cjs/components/SCPrivateMessageThreadItem.d.ts +2 -0
- package/lib/cjs/components/SCPrivateMessageThreadItem.js +2 -1
- package/lib/cjs/fonts/community/icons.eot +0 -0
- package/lib/cjs/fonts/community/icons.svg +9 -3
- package/lib/cjs/fonts/community/icons.ttf +0 -0
- package/lib/cjs/fonts/community/icons.woff +0 -0
- package/lib/cjs/fonts/community/icons.woff2 +0 -0
- package/lib/cjs/fonts/community-icons.css +15 -6
- package/lib/cjs/index.d.ts +2737 -612
- package/lib/cjs/index.js +76 -2
- package/lib/esm/components/SCAccordionLessons.d.ts +55 -0
- package/lib/esm/components/SCAccordionLessons.js +51 -0
- package/lib/esm/components/SCAddUsersButton.d.ts +19 -0
- package/lib/esm/components/SCAddUsersButton.js +19 -0
- package/lib/esm/components/SCBaseItemButton.d.ts +26 -35
- package/lib/esm/components/SCBaseItemButton.js +27 -36
- package/lib/esm/components/SCBuyButton.d.ts +15 -0
- package/lib/esm/components/SCBuyButton.js +11 -0
- package/lib/esm/components/SCCheckout.d.ts +54 -0
- package/lib/esm/components/SCCheckout.js +52 -0
- package/lib/esm/components/SCCheckoutReturnDialog.d.ts +26 -0
- package/lib/esm/components/SCCheckoutReturnDialog.js +24 -0
- package/lib/esm/components/SCCommentObject.d.ts +7 -17
- package/lib/esm/components/SCCommentObject.js +7 -17
- package/lib/esm/components/SCComposer.d.ts +15 -7
- package/lib/esm/components/SCComposer.js +37 -8
- package/lib/esm/components/SCContributionActionsMenu.js +1 -1
- package/lib/esm/components/SCCourse.d.ts +243 -0
- package/lib/esm/components/SCCourse.js +243 -0
- package/lib/esm/components/SCCourseCompletedDialog.d.ts +21 -0
- package/lib/esm/components/SCCourseCompletedDialog.js +21 -0
- package/lib/esm/components/SCCourseContentMenu.d.ts +42 -0
- package/lib/esm/components/SCCourseContentMenu.js +40 -0
- package/lib/esm/components/SCCourseDashboard.d.ts +337 -0
- package/lib/esm/components/SCCourseDashboard.js +327 -0
- package/lib/esm/components/SCCourseForm.d.ts +143 -0
- package/lib/esm/components/SCCourseForm.js +142 -0
- package/lib/esm/components/SCCourseFormDialog.d.ts +6 -0
- package/lib/esm/components/SCCourseFormDialog.js +6 -0
- package/lib/esm/components/SCCourseInfoDetails.d.ts +43 -0
- package/lib/esm/components/SCCourseInfoDetails.js +41 -0
- package/lib/esm/components/SCCourseParticipantsButton.d.ts +56 -0
- package/lib/esm/components/SCCourseParticipantsButton.js +51 -0
- package/lib/esm/components/SCCourseUsersTable.d.ts +86 -0
- package/lib/esm/components/SCCourseUsersTable.js +80 -0
- package/lib/esm/components/SCCourses.d.ts +133 -0
- package/lib/esm/components/SCCourses.js +133 -0
- package/lib/esm/components/SCCreateCourseButton.d.ts +12 -0
- package/lib/esm/components/SCCreateCourseButton.js +12 -0
- package/lib/esm/components/SCEditCourse.d.ts +273 -0
- package/lib/esm/components/SCEditCourse.js +269 -0
- package/lib/esm/components/SCEditor.d.ts +20 -0
- package/lib/esm/components/SCEditor.js +20 -0
- package/lib/esm/components/SCEmptyStatus.d.ts +33 -0
- package/lib/esm/components/SCEmptyStatus.js +31 -0
- package/lib/esm/components/SCFeedObject.d.ts +18 -12
- package/lib/esm/components/SCFeedObject.js +18 -12
- package/lib/esm/components/SCFeedObjectDetailTemplate.js +1 -1
- package/lib/esm/components/SCLessonAppbar.d.ts +27 -0
- package/lib/esm/components/SCLessonAppbar.js +26 -0
- package/lib/esm/components/SCLessonCommentActionsMenu.d.ts +32 -0
- package/lib/esm/components/SCLessonCommentActionsMenu.js +33 -0
- package/lib/esm/components/SCLessonCommentObject.d.ts +117 -0
- package/lib/esm/components/SCLessonCommentObject.js +117 -0
- package/lib/esm/components/SCLessonCommentObjects.d.ts +48 -0
- package/lib/esm/components/SCLessonCommentObjects.js +48 -0
- package/lib/esm/components/SCLessonDrawer.d.ts +42 -0
- package/lib/esm/components/SCLessonDrawer.js +42 -0
- package/lib/esm/components/SCLessonEditForm.d.ts +33 -0
- package/lib/esm/components/SCLessonEditForm.js +31 -0
- package/lib/esm/components/SCLessonObject.d.ts +48 -0
- package/lib/esm/components/SCLessonObject.js +49 -0
- package/lib/esm/components/SCLessonReleaseMenu.d.ts +32 -0
- package/lib/esm/components/SCLessonReleaseMenu.js +32 -0
- package/lib/esm/components/SCLessonTemplate.d.ts +20 -0
- package/lib/esm/components/SCLessonTemplate.js +18 -0
- package/lib/esm/components/SCLiveStreamForm.d.ts +9 -0
- package/lib/esm/components/SCLiveStreamForm.js +10 -1
- package/lib/esm/components/SCLiveStreamRoom.d.ts +27 -1
- package/lib/esm/components/SCLiveStreamRoom.js +27 -1
- package/lib/esm/components/SCLiveStreamSelector.d.ts +2 -0
- package/lib/esm/components/SCLiveStreamSelector.js +3 -1
- package/lib/esm/components/SCLiveStreamVideoConference.d.ts +2 -1
- package/lib/esm/components/SCLiveStreamVideoConference.js +2 -1
- package/lib/esm/components/SCNavigationToolbar.d.ts +1 -1
- package/lib/esm/components/SCNavigationToolbar.js +1 -1
- package/lib/esm/components/SCPaymentProduct.d.ts +55 -0
- package/lib/esm/components/SCPaymentProduct.js +51 -0
- package/lib/esm/components/SCPaymentProductPrice.d.ts +15 -0
- package/lib/esm/components/SCPaymentProductPrice.js +11 -0
- package/lib/esm/components/SCPaymentProducts.d.ts +15 -0
- package/lib/esm/components/SCPaymentProducts.js +11 -0
- package/lib/esm/components/SCPrivateMessageThreadItem.d.ts +2 -0
- package/lib/esm/components/SCPrivateMessageThreadItem.js +2 -1
- package/lib/esm/fonts/community/icons.eot +0 -0
- package/lib/esm/fonts/community/icons.svg +9 -3
- package/lib/esm/fonts/community/icons.ttf +0 -0
- package/lib/esm/fonts/community/icons.woff +0 -0
- package/lib/esm/fonts/community/icons.woff2 +0 -0
- package/lib/esm/fonts/community-icons.css +15 -6
- package/lib/esm/index.d.ts +2737 -612
- package/lib/esm/index.js +76 -2
- package/lib/umd/community/icons.eot +0 -0
- package/lib/umd/community/icons.svg +9 -3
- package/lib/umd/community/icons.ttf +0 -0
- package/lib/umd/community/icons.woff +0 -0
- package/lib/umd/community/icons.woff2 +0 -0
- package/lib/umd/react-theme-default.js +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
'& .SCCourseDashboard-header': {
|
|
7
|
+
[theme.breakpoints.down('sm')]: {
|
|
8
|
+
paddingLeft: '14px',
|
|
9
|
+
paddingRight: '14px'
|
|
10
|
+
},
|
|
11
|
+
'& .SCCourseDashboard-header-img': {
|
|
12
|
+
width: '100%',
|
|
13
|
+
minHeight: '150px',
|
|
14
|
+
height: '230px',
|
|
15
|
+
borderBottomLeftRadius: '10px',
|
|
16
|
+
borderBottomRightRadius: '10px',
|
|
17
|
+
marginBottom: '17px',
|
|
18
|
+
[theme.breakpoints.down('sm')]: {
|
|
19
|
+
display: 'none'
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
'& .SCCourseDashboard-header-outer-wrapper': {
|
|
23
|
+
alignItems: 'flex-start',
|
|
24
|
+
gap: '32px',
|
|
25
|
+
marginTop: theme.spacing(2),
|
|
26
|
+
marginBottom: theme.spacing(3),
|
|
27
|
+
[theme.breakpoints.up('sm')]: {
|
|
28
|
+
flexDirection: 'row',
|
|
29
|
+
alignItems: 'center',
|
|
30
|
+
justifyContent: 'space-between',
|
|
31
|
+
marginTop: theme.spacing(3),
|
|
32
|
+
marginBottom: '19px'
|
|
33
|
+
},
|
|
34
|
+
'& .SCCourseDashboard-header-inner-wrapper': {
|
|
35
|
+
alignItems: 'flex-start',
|
|
36
|
+
gap: '17px',
|
|
37
|
+
[theme.breakpoints.up('sm')]: {
|
|
38
|
+
flexDirection: 'row',
|
|
39
|
+
alignItems: 'center',
|
|
40
|
+
gap: '28px'
|
|
41
|
+
},
|
|
42
|
+
'& .SCCourseDashboard-header-icon-wrapper': {
|
|
43
|
+
flexDirection: 'row',
|
|
44
|
+
alignItems: 'center',
|
|
45
|
+
gap: theme.spacing(1)
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
'& .SCCourseDashboard-info-wrapper': {
|
|
51
|
+
gap: theme.spacing(2),
|
|
52
|
+
marginBottom: theme.spacing(2),
|
|
53
|
+
[theme.breakpoints.up('sm')]: {
|
|
54
|
+
flexDirection: 'row',
|
|
55
|
+
gap: '38px'
|
|
56
|
+
},
|
|
57
|
+
[theme.breakpoints.down('sm')]: {
|
|
58
|
+
paddingLeft: '14px',
|
|
59
|
+
paddingRight: '14px'
|
|
60
|
+
},
|
|
61
|
+
'& .SCCourseDashboard-info': {
|
|
62
|
+
flex: 1,
|
|
63
|
+
gap: '6px',
|
|
64
|
+
border: `1px solid ${theme.palette.grey['300']}`,
|
|
65
|
+
borderRadius: '10px',
|
|
66
|
+
padding: theme.spacing('17px', 3, '19px'),
|
|
67
|
+
'& .SCCourseParticipantsButton-root': {
|
|
68
|
+
justifyContent: 'flex-start',
|
|
69
|
+
padding: 0
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
'& .SCCourseDashboard-tab-list': {
|
|
74
|
+
borderBottom: `1px solid ${theme.palette.grey['300']}`,
|
|
75
|
+
'& .SCCourseDashboard-tab': {
|
|
76
|
+
textTransform: 'inherit'
|
|
77
|
+
},
|
|
78
|
+
'& > .Mui-disabled': {
|
|
79
|
+
opacity: 0.3
|
|
80
|
+
},
|
|
81
|
+
'& > .MuiTabs-scrollButtons': {
|
|
82
|
+
display: 'inline-flex'
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
'& .SCCourseDashboard-tab-panel': {
|
|
86
|
+
padding: theme.spacing(3, 0, 0),
|
|
87
|
+
[theme.breakpoints.down('md')]: {
|
|
88
|
+
paddingLeft: '14px',
|
|
89
|
+
paddingRight: '14px'
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
'& .SCCourseDashboard-comments-container': {
|
|
93
|
+
[theme.breakpoints.up('sm')]: {
|
|
94
|
+
paddingLeft: '36px',
|
|
95
|
+
paddingRight: '36px'
|
|
96
|
+
},
|
|
97
|
+
'& .SCCourseDashboard-outer-wrapper': {
|
|
98
|
+
marginTop: '15px',
|
|
99
|
+
marginBottom: '23px',
|
|
100
|
+
'& .SCCourseDashboard-inner-wrapper': {
|
|
101
|
+
gap: theme.spacing(3),
|
|
102
|
+
marginTop: '23px',
|
|
103
|
+
marginBottom: '30px',
|
|
104
|
+
'& .SCCourseDashboard-user-wrapper': {
|
|
105
|
+
flexDirection: 'row',
|
|
106
|
+
gap: '6px',
|
|
107
|
+
'& .SCCourseDashboard-avatar': {
|
|
108
|
+
width: '30px',
|
|
109
|
+
height: '30px'
|
|
110
|
+
},
|
|
111
|
+
'& .SCCourseDashboard-user-info': {
|
|
112
|
+
flexDirection: 'row',
|
|
113
|
+
alignItems: 'center',
|
|
114
|
+
gap: '6px',
|
|
115
|
+
'& .SCCourseDashboard-circle': {
|
|
116
|
+
width: '5px',
|
|
117
|
+
height: '5px',
|
|
118
|
+
borderRadius: '9999px',
|
|
119
|
+
backgroundColor: theme.palette.grey['600']
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
'& .SCCourseDashboard-button': {
|
|
124
|
+
width: 'fit-content'
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
'&.SCCourseDashboard-student-container': {
|
|
130
|
+
'& .SCCourseDashboard-accordion': {
|
|
131
|
+
borderTopLeftRadius: 'unset',
|
|
132
|
+
borderTopRightRadius: 'unset'
|
|
133
|
+
},
|
|
134
|
+
'& .SCCourseDashboard-user-wrapper': {
|
|
135
|
+
flexDirection: 'row',
|
|
136
|
+
alignItems: 'center',
|
|
137
|
+
justifyContent: 'space-between',
|
|
138
|
+
'& .SCCourseDashboard-user': {
|
|
139
|
+
flexDirection: 'row',
|
|
140
|
+
alignItems: 'center',
|
|
141
|
+
gap: '4px',
|
|
142
|
+
marginTop: '6px',
|
|
143
|
+
marginBottom: '6px',
|
|
144
|
+
'& .SCCourseDashboard-avatar': {
|
|
145
|
+
width: '36px',
|
|
146
|
+
height: '36px'
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
'& .SCCourseDashboard-actions-wrapper': {
|
|
150
|
+
flexDirection: 'row',
|
|
151
|
+
gap: '5px'
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
'& .SCCourseDashboard-lessons-sections': {
|
|
155
|
+
flexDirection: 'row',
|
|
156
|
+
alignItems: 'center',
|
|
157
|
+
gap: '6px',
|
|
158
|
+
border: `1px solid ${theme.palette.grey['300']}`,
|
|
159
|
+
borderBottom: 'unset',
|
|
160
|
+
borderTopLeftRadius: '5px',
|
|
161
|
+
borderTopRightRadius: '5px',
|
|
162
|
+
padding: '19px 24px',
|
|
163
|
+
'& .SCCourseDashboard-circle': {
|
|
164
|
+
width: '6px',
|
|
165
|
+
height: '6px',
|
|
166
|
+
borderRadius: 9999,
|
|
167
|
+
backgroundColor: theme.palette.common.black
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
'& .SCCourseDashboard-margin': {
|
|
171
|
+
marginTop: '19px',
|
|
172
|
+
marginBottom: '11px'
|
|
173
|
+
},
|
|
174
|
+
'& .SCCourseDashboard-box': {
|
|
175
|
+
gap: '13px',
|
|
176
|
+
border: `1px solid ${theme.palette.grey['300']}`,
|
|
177
|
+
borderRadius: '5px',
|
|
178
|
+
padding: '11px 24px'
|
|
179
|
+
},
|
|
180
|
+
'& .SCCourseDashboard-percentage-wrapper': {
|
|
181
|
+
justifyContent: 'space-between',
|
|
182
|
+
gap: '5px',
|
|
183
|
+
[theme.breakpoints.up('sm')]: {
|
|
184
|
+
flexDirection: 'row'
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
'& .SCCourseDashboard-progress': {
|
|
188
|
+
borderRadius: '28px',
|
|
189
|
+
backgroundColor: theme.palette.grey['300']
|
|
190
|
+
},
|
|
191
|
+
'& .SCCourseDashboard-completed-wrapper': {
|
|
192
|
+
flexDirection: 'row',
|
|
193
|
+
alignItems: 'center',
|
|
194
|
+
gap: '11px'
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}),
|
|
198
|
+
skeletonRoot: ({ theme }) => ({
|
|
199
|
+
'& .SCCourseDashboard-header': {
|
|
200
|
+
[theme.breakpoints.down('sm')]: {
|
|
201
|
+
paddingLeft: '14px',
|
|
202
|
+
paddingRight: '14px'
|
|
203
|
+
},
|
|
204
|
+
'& .SCCourseDashboard-header-img': {
|
|
205
|
+
width: '100%',
|
|
206
|
+
minHeight: '150px',
|
|
207
|
+
height: '230px',
|
|
208
|
+
borderBottomLeftRadius: '10px',
|
|
209
|
+
borderBottomRightRadius: '10px',
|
|
210
|
+
marginBottom: '17px',
|
|
211
|
+
[theme.breakpoints.down('sm')]: {
|
|
212
|
+
display: 'none'
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
'& .SCCourseDashboard-header-outer-wrapper': {
|
|
216
|
+
alignItems: 'flex-start',
|
|
217
|
+
gap: '32px',
|
|
218
|
+
marginTop: theme.spacing(2),
|
|
219
|
+
marginBottom: theme.spacing(3),
|
|
220
|
+
[theme.breakpoints.up('sm')]: {
|
|
221
|
+
flexDirection: 'row',
|
|
222
|
+
alignItems: 'center',
|
|
223
|
+
justifyContent: 'space-between',
|
|
224
|
+
marginTop: theme.spacing(3),
|
|
225
|
+
marginBottom: '19px'
|
|
226
|
+
},
|
|
227
|
+
'& .SCCourseDashboard-header-inner-wrapper': {
|
|
228
|
+
alignItems: 'flex-start',
|
|
229
|
+
gap: '17px',
|
|
230
|
+
[theme.breakpoints.up('sm')]: {
|
|
231
|
+
flexDirection: 'row',
|
|
232
|
+
alignItems: 'center',
|
|
233
|
+
gap: '28px'
|
|
234
|
+
},
|
|
235
|
+
'& .SCCourseDashboard-header-icon-wrapper': {
|
|
236
|
+
flexDirection: 'row',
|
|
237
|
+
alignItems: 'center',
|
|
238
|
+
gap: theme.spacing(1)
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
'&.SCCourseDashboard-teacher': {
|
|
244
|
+
'& .SCCourseDashboard-info-wrapper': {
|
|
245
|
+
gap: theme.spacing(2),
|
|
246
|
+
marginBottom: theme.spacing(2),
|
|
247
|
+
[theme.breakpoints.up('sm')]: {
|
|
248
|
+
flexDirection: 'row',
|
|
249
|
+
gap: '38px'
|
|
250
|
+
},
|
|
251
|
+
[theme.breakpoints.down('sm')]: {
|
|
252
|
+
paddingLeft: '14px',
|
|
253
|
+
paddingRight: '14px'
|
|
254
|
+
},
|
|
255
|
+
'& .SCCourseDashboard-info': {
|
|
256
|
+
flex: 1,
|
|
257
|
+
gap: '6px',
|
|
258
|
+
border: `1px solid ${theme.palette.grey['300']}`,
|
|
259
|
+
borderRadius: '10px',
|
|
260
|
+
padding: theme.spacing('17px', 3, '19px'),
|
|
261
|
+
'& .SCCourseParticipantsButton-root': {
|
|
262
|
+
justifyContent: 'flex-start',
|
|
263
|
+
padding: 0
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
'& .SCCourseDashboard-tab-list': {
|
|
268
|
+
flexDirection: 'row',
|
|
269
|
+
alignItems: 'center',
|
|
270
|
+
justifyContent: 'center',
|
|
271
|
+
gap: theme.spacing(4),
|
|
272
|
+
borderBottom: `1px solid ${theme.palette.grey['300']}`,
|
|
273
|
+
padding: theme.spacing('12px 0')
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
'&.SCCourseDashboard-student': {
|
|
277
|
+
'& .SCCourseDashboard-user-wrapper': {
|
|
278
|
+
flexDirection: 'row',
|
|
279
|
+
alignItems: 'center',
|
|
280
|
+
justifyContent: 'space-between',
|
|
281
|
+
'& .SCCourseDashboard-user': {
|
|
282
|
+
flexDirection: 'row',
|
|
283
|
+
alignItems: 'center',
|
|
284
|
+
gap: '4px',
|
|
285
|
+
marginTop: '6px',
|
|
286
|
+
marginBottom: '6px',
|
|
287
|
+
'& .SCCourseDashboard-avatar': {
|
|
288
|
+
width: '36px',
|
|
289
|
+
height: '36px'
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
},
|
|
293
|
+
'& .SCCourseDashboard-margin': {
|
|
294
|
+
marginTop: '19px',
|
|
295
|
+
marginBottom: '11px'
|
|
296
|
+
},
|
|
297
|
+
'& .SCCourseDashboard-box': {
|
|
298
|
+
gap: '13px',
|
|
299
|
+
border: `1px solid ${theme.palette.grey['300']}`,
|
|
300
|
+
borderRadius: '5px',
|
|
301
|
+
padding: '11px 24px'
|
|
302
|
+
},
|
|
303
|
+
'& .SCCourseDashboard-percentage-wrapper': {
|
|
304
|
+
justifyContent: 'space-between',
|
|
305
|
+
gap: '5px',
|
|
306
|
+
[theme.breakpoints.up('sm')]: {
|
|
307
|
+
flexDirection: 'row'
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
'& .SCCourseDashboard-lessons-sections': {
|
|
311
|
+
flexDirection: 'row',
|
|
312
|
+
alignItems: 'center',
|
|
313
|
+
gap: '6px',
|
|
314
|
+
border: `1px solid ${theme.palette.grey['300']}`,
|
|
315
|
+
borderBottom: 'unset',
|
|
316
|
+
borderTopLeftRadius: '5px',
|
|
317
|
+
borderTopRightRadius: '5px',
|
|
318
|
+
padding: '19px 24px',
|
|
319
|
+
'& .SCCourseDashboard-circle': {
|
|
320
|
+
width: '6px',
|
|
321
|
+
height: '6px',
|
|
322
|
+
borderRadius: 9999
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
})
|
|
327
|
+
}
|
|
328
|
+
};
|
|
329
|
+
exports.default = Component;
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
'& .SCCourseForm-cover': {
|
|
5
|
+
position: string;
|
|
6
|
+
height: number;
|
|
7
|
+
minHeight: number;
|
|
8
|
+
borderRadius: string;
|
|
9
|
+
'& .SCCourseForm-upload-course-cover-root': {
|
|
10
|
+
position: string;
|
|
11
|
+
right: any;
|
|
12
|
+
bottom: any;
|
|
13
|
+
padding: any;
|
|
14
|
+
minWidth: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
'& .SCCourseForm-header': {
|
|
18
|
+
marginTop: any;
|
|
19
|
+
color: any;
|
|
20
|
+
};
|
|
21
|
+
'& .SCCourseForm-form': {
|
|
22
|
+
'& h5': {
|
|
23
|
+
padding: any;
|
|
24
|
+
};
|
|
25
|
+
'& .SCCourseForm-name': {
|
|
26
|
+
marginTop: any;
|
|
27
|
+
};
|
|
28
|
+
'& .SCCategoryAutocomplete-root ': {
|
|
29
|
+
marginTop: any;
|
|
30
|
+
};
|
|
31
|
+
'& .SCCourseForm-edit-root': {
|
|
32
|
+
marginTop: any;
|
|
33
|
+
'& .SCCourseForm-edit-card': {
|
|
34
|
+
display: string;
|
|
35
|
+
alignItems: string;
|
|
36
|
+
borderRadius: string;
|
|
37
|
+
padding: any;
|
|
38
|
+
'& h5': {
|
|
39
|
+
paddingTop: number;
|
|
40
|
+
paddingBottom: number;
|
|
41
|
+
};
|
|
42
|
+
'& .MuiTypography-body1': {
|
|
43
|
+
paddingLeft: any;
|
|
44
|
+
};
|
|
45
|
+
'& .SCCourseForm-edit-access-info': {
|
|
46
|
+
marginTop: any;
|
|
47
|
+
marginBottom: any;
|
|
48
|
+
'& > p:first-of-type': {
|
|
49
|
+
marginBottom: any;
|
|
50
|
+
};
|
|
51
|
+
'& .MuiIcon-root': {
|
|
52
|
+
marginRight: any;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
'& .SCCourseForm-edit-publish': {
|
|
57
|
+
marginTop: any;
|
|
58
|
+
'& h5': {
|
|
59
|
+
paddingTop: number;
|
|
60
|
+
paddingBottom: number;
|
|
61
|
+
};
|
|
62
|
+
'& .SCCourseForm-edit-publish-info': {
|
|
63
|
+
paddingLeft: any;
|
|
64
|
+
marginBottom: any;
|
|
65
|
+
};
|
|
66
|
+
'& .SCCourseForm-edit-privacy-item': {
|
|
67
|
+
paddingLeft: any;
|
|
68
|
+
marginBottom: any;
|
|
69
|
+
'& .MuiTypography-body1': {
|
|
70
|
+
display: string;
|
|
71
|
+
alignItems: string;
|
|
72
|
+
'& .MuiIcon-root': {
|
|
73
|
+
marginRight: any;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
'& .SCCourseForm-edit-privacy-item-info': {
|
|
78
|
+
marginLeft: any;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
'& .SCCourseForm-step-one': {
|
|
84
|
+
display: string;
|
|
85
|
+
flexDirection: string;
|
|
86
|
+
justifyContent: string;
|
|
87
|
+
gap: any;
|
|
88
|
+
marginTop: any;
|
|
89
|
+
'& .SCCourseForm-selected': {
|
|
90
|
+
backgroundColor: string;
|
|
91
|
+
border: string;
|
|
92
|
+
'&:hover': {
|
|
93
|
+
backgroundColor: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
'& .MuiCard-root': {
|
|
97
|
+
boxShadow: string;
|
|
98
|
+
border: string;
|
|
99
|
+
borderRadius: string;
|
|
100
|
+
'&:hover': {
|
|
101
|
+
backgroundColor: any;
|
|
102
|
+
};
|
|
103
|
+
'& .MuiCardContent-root': {
|
|
104
|
+
'& .MuiTypography-h5': {
|
|
105
|
+
fontWeight: any;
|
|
106
|
+
};
|
|
107
|
+
'& .MuiTypography-body2': {
|
|
108
|
+
whiteSpace: string;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
'& .SCCourseForm-error': {
|
|
114
|
+
color: any;
|
|
115
|
+
};
|
|
116
|
+
'& .SCCourseForm-actions': {
|
|
117
|
+
marginTop: any;
|
|
118
|
+
display: string;
|
|
119
|
+
justifyContent: string;
|
|
120
|
+
gap: any;
|
|
121
|
+
'& button': {
|
|
122
|
+
width: string;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
'& .MuiDivider-root': {
|
|
126
|
+
marginTop: any;
|
|
127
|
+
border: string;
|
|
128
|
+
};
|
|
129
|
+
'& .MuiDialogTitle-root': {
|
|
130
|
+
'& span': {
|
|
131
|
+
flexGrow: number;
|
|
132
|
+
textAlign: string;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
skeletonRoot: ({ theme }: {
|
|
137
|
+
theme: any;
|
|
138
|
+
}) => {
|
|
139
|
+
gap: any;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
export default Component;
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const system_1 = require("@mui/system");
|
|
4
|
+
const Component = {
|
|
5
|
+
styleOverrides: {
|
|
6
|
+
root: ({ theme }) => ({
|
|
7
|
+
'& .SCCourseForm-cover': {
|
|
8
|
+
position: 'relative',
|
|
9
|
+
height: 103,
|
|
10
|
+
minHeight: 103,
|
|
11
|
+
borderRadius: '10px',
|
|
12
|
+
'& .SCCourseForm-upload-course-cover-root': {
|
|
13
|
+
position: 'absolute',
|
|
14
|
+
right: theme.spacing(2),
|
|
15
|
+
bottom: theme.spacing(1),
|
|
16
|
+
padding: theme.spacing(1),
|
|
17
|
+
minWidth: 'auto'
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
'& .SCCourseForm-header': {
|
|
21
|
+
marginTop: theme.spacing(4.5),
|
|
22
|
+
color: theme.palette.text.secondary
|
|
23
|
+
},
|
|
24
|
+
'& .SCCourseForm-form': {
|
|
25
|
+
'& h5': {
|
|
26
|
+
padding: theme.spacing(1)
|
|
27
|
+
},
|
|
28
|
+
'& .SCCourseForm-name': {
|
|
29
|
+
marginTop: theme.spacing(3)
|
|
30
|
+
},
|
|
31
|
+
'& .SCCategoryAutocomplete-root ': {
|
|
32
|
+
marginTop: theme.spacing(1)
|
|
33
|
+
},
|
|
34
|
+
'& .SCCourseForm-edit-root': {
|
|
35
|
+
marginTop: theme.spacing(1),
|
|
36
|
+
'& .SCCourseForm-edit-card': {
|
|
37
|
+
display: 'flex',
|
|
38
|
+
alignItems: 'flex-start',
|
|
39
|
+
borderRadius: '10px',
|
|
40
|
+
padding: theme.spacing(2),
|
|
41
|
+
'& h5': {
|
|
42
|
+
paddingTop: 0,
|
|
43
|
+
paddingBottom: 0
|
|
44
|
+
},
|
|
45
|
+
'& .MuiTypography-body1': {
|
|
46
|
+
paddingLeft: theme.spacing(1)
|
|
47
|
+
},
|
|
48
|
+
'& .SCCourseForm-edit-access-info': {
|
|
49
|
+
marginTop: theme.spacing(2),
|
|
50
|
+
marginBottom: theme.spacing(2),
|
|
51
|
+
'& > p:first-of-type': {
|
|
52
|
+
marginBottom: theme.spacing(1)
|
|
53
|
+
},
|
|
54
|
+
'& .MuiIcon-root': {
|
|
55
|
+
marginRight: theme.spacing(0.5)
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
'& .SCCourseForm-edit-publish': {
|
|
60
|
+
marginTop: theme.spacing(3),
|
|
61
|
+
'& h5': {
|
|
62
|
+
paddingTop: 0,
|
|
63
|
+
paddingBottom: 0
|
|
64
|
+
},
|
|
65
|
+
'& .SCCourseForm-edit-publish-info': {
|
|
66
|
+
paddingLeft: theme.spacing(1),
|
|
67
|
+
marginBottom: theme.spacing(1)
|
|
68
|
+
},
|
|
69
|
+
'& .SCCourseForm-edit-privacy-item': {
|
|
70
|
+
paddingLeft: theme.spacing(1.5),
|
|
71
|
+
marginBottom: theme.spacing(2),
|
|
72
|
+
'& .MuiTypography-body1': {
|
|
73
|
+
display: 'flex',
|
|
74
|
+
alignItems: 'center',
|
|
75
|
+
'& .MuiIcon-root': {
|
|
76
|
+
marginRight: theme.spacing(0.5)
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
'& .SCCourseForm-edit-privacy-item-info': {
|
|
81
|
+
marginLeft: theme.spacing(2)
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
'& .SCCourseForm-step-one': {
|
|
87
|
+
display: 'flex',
|
|
88
|
+
flexDirection: 'column',
|
|
89
|
+
justifyContent: 'center',
|
|
90
|
+
gap: theme.spacing(2.5),
|
|
91
|
+
marginTop: theme.spacing(1.5),
|
|
92
|
+
'& .SCCourseForm-selected': {
|
|
93
|
+
backgroundColor: (0, system_1.alpha)(theme.palette.success.main, theme.palette.action.selectedOpacity),
|
|
94
|
+
border: `1px solid ${theme.palette.success.main} !important`,
|
|
95
|
+
'&:hover': {
|
|
96
|
+
backgroundColor: (0, system_1.alpha)(theme.palette.success.main, theme.palette.action.selectedOpacity)
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
'& .MuiCard-root': {
|
|
100
|
+
boxShadow: 'none',
|
|
101
|
+
border: `1px solid ${theme.palette.grey[300]}`,
|
|
102
|
+
borderRadius: '10px',
|
|
103
|
+
'&:hover': {
|
|
104
|
+
backgroundColor: theme.palette.grey[200]
|
|
105
|
+
},
|
|
106
|
+
'& .MuiCardContent-root': {
|
|
107
|
+
'& .MuiTypography-h5': {
|
|
108
|
+
fontWeight: theme.typography.fontWeightBold
|
|
109
|
+
},
|
|
110
|
+
'& .MuiTypography-body2': {
|
|
111
|
+
whiteSpace: 'pre-line'
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
'& .SCCourseForm-error': {
|
|
117
|
+
color: theme.palette.error.main
|
|
118
|
+
},
|
|
119
|
+
'& .SCCourseForm-actions': {
|
|
120
|
+
marginTop: theme.spacing(2),
|
|
121
|
+
display: 'flex',
|
|
122
|
+
justifyContent: 'flex-end',
|
|
123
|
+
gap: theme.spacing(2),
|
|
124
|
+
'& button': {
|
|
125
|
+
width: 'fit-content'
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
'& .MuiDivider-root': {
|
|
129
|
+
marginTop: theme.spacing(2),
|
|
130
|
+
border: `1px solid ${(0, system_1.alpha)(theme.palette.primary.main, theme.palette.action.activatedOpacity)}`
|
|
131
|
+
},
|
|
132
|
+
'& .MuiDialogTitle-root': {
|
|
133
|
+
'& span': {
|
|
134
|
+
flexGrow: 1,
|
|
135
|
+
textAlign: 'center'
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}),
|
|
139
|
+
skeletonRoot: ({ theme }) => ({
|
|
140
|
+
gap: theme.spacing(3)
|
|
141
|
+
})
|
|
142
|
+
}
|
|
143
|
+
};
|
|
144
|
+
exports.default = Component;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: {
|
|
4
|
+
theme: any;
|
|
5
|
+
}) => {
|
|
6
|
+
gap: any;
|
|
7
|
+
'& .SCCourseInfoDetails-icon-text-wrapper': {
|
|
8
|
+
flexDirection: string;
|
|
9
|
+
alignItems: string;
|
|
10
|
+
gap: any;
|
|
11
|
+
'& > p': {
|
|
12
|
+
textTransform: string;
|
|
13
|
+
};
|
|
14
|
+
'& .SCCourseInfoDetails-link': {
|
|
15
|
+
textDecoration: string;
|
|
16
|
+
color: any;
|
|
17
|
+
'&:hover': {
|
|
18
|
+
textDecoration: string;
|
|
19
|
+
};
|
|
20
|
+
'& .SCCourseInfoDetails-url': {
|
|
21
|
+
overflow: string;
|
|
22
|
+
textOverflow: string;
|
|
23
|
+
display: string;
|
|
24
|
+
'-webkit-line-clamp': string;
|
|
25
|
+
'-webkit-box-orient': string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
'& .SCCourseInfoDetails-in-progress': {
|
|
29
|
+
width: string;
|
|
30
|
+
height: string;
|
|
31
|
+
borderRadius: string;
|
|
32
|
+
backgroundColor: any;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
'& .SCCourseInfoDetails-creation-wrapper': {
|
|
36
|
+
flexDirection: string;
|
|
37
|
+
alignItems: string;
|
|
38
|
+
gap: any;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export default Component;
|