touchstudy-core 0.1.33 → 0.1.34
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/index.css +133 -51
- package/dist/index.d.ts +2 -1
- package/dist/index.js +373 -180
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +375 -183
- package/dist/index.modern.js.map +1 -1
- package/dist/layouts/Header.d.ts +13 -0
- package/dist/layouts/TheAcademyDropdown.d.ts +1 -0
- package/dist/utils/types/tab.d.ts +8 -0
- package/package.json +1 -1
package/dist/index.css
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
font-weight: 700; }
|
7
7
|
|
8
8
|
._wWIyO {
|
9
|
-
border: 1px solid #
|
9
|
+
border: 1px solid #eceae9;
|
10
10
|
padding: 60px;
|
11
11
|
border-radius: 6px;
|
12
12
|
width: -moz-max-content;
|
@@ -23,7 +23,7 @@
|
|
23
23
|
height: 100vh; }
|
24
24
|
|
25
25
|
._2HqmH {
|
26
|
-
border: 1px solid #
|
26
|
+
border: 1px solid #aeabac !important;
|
27
27
|
border-radius: 5px !important;
|
28
28
|
box-shadow: unset !important; }
|
29
29
|
|
@@ -125,7 +125,7 @@
|
|
125
125
|
|
126
126
|
._3CMVp {
|
127
127
|
max-width: 268px;
|
128
|
-
border: 1px solid #
|
128
|
+
border: 1px solid #ebebff !important;
|
129
129
|
border-radius: 6px !important;
|
130
130
|
display: flex !important;
|
131
131
|
justify-content: space-between !important; }
|
@@ -134,29 +134,38 @@
|
|
134
134
|
width: 40px;
|
135
135
|
height: 40px;
|
136
136
|
border-radius: 50%;
|
137
|
-
margin-right: 12px;
|
138
137
|
display: flex;
|
139
138
|
justify-content: center;
|
140
139
|
align-items: center;
|
141
140
|
font-size: 20px;
|
142
141
|
font-weight: 600;
|
143
142
|
line-height: 1;
|
144
|
-
background-color: #
|
145
|
-
color: #
|
143
|
+
background-color: #5458d5;
|
144
|
+
color: #fff; }
|
145
|
+
._3RDWF {
|
146
|
+
margin-right: 12px; }
|
146
147
|
._2ibYC img {
|
147
148
|
width: 100%;
|
148
149
|
height: 100%;
|
149
150
|
border-radius: 50%;
|
150
151
|
-o-object-fit: cover;
|
151
152
|
object-fit: cover; }
|
153
|
+
@media (min-width: 992px) {
|
154
|
+
._2ibYC {
|
155
|
+
margin-right: 12px; } }
|
152
156
|
|
153
157
|
._1JMRU {
|
154
158
|
max-width: 268px;
|
155
|
-
|
156
|
-
border:
|
157
|
-
|
159
|
+
border: 1px solid #ebebff !important;
|
160
|
+
border-radius: 50% !important;
|
161
|
+
padding: 0px !important;
|
162
|
+
min-width: unset !important;
|
158
163
|
display: flex !important;
|
159
164
|
justify-content: space-between !important; }
|
165
|
+
@media (min-width: 992px) {
|
166
|
+
._1JMRU {
|
167
|
+
border-radius: 6px !important;
|
168
|
+
padding: 8px !important; } }
|
160
169
|
|
161
170
|
._N4FNf {
|
162
171
|
width: 34px;
|
@@ -165,7 +174,7 @@
|
|
165
174
|
justify-content: center;
|
166
175
|
align-items: center; }
|
167
176
|
._N4FNf svg {
|
168
|
-
fill: #
|
177
|
+
fill: #5458d5; }
|
169
178
|
|
170
179
|
._31Dr0 {
|
171
180
|
width: 100%;
|
@@ -194,31 +203,31 @@
|
|
194
203
|
display: flex;
|
195
204
|
flex-wrap: wrap;
|
196
205
|
margin-top: calc(-1 * var(--bs-gutter-y));
|
197
|
-
margin-right: calc(
|
198
|
-
margin-left: calc(
|
206
|
+
margin-right: calc(-0.5 * var(--bs-gutter-x));
|
207
|
+
margin-left: calc(-0.5 * var(--bs-gutter-x)); }
|
199
208
|
._31ZQk ._3yXyK {
|
200
|
-
flex: 0 0 calc((2/12)*100%);
|
201
|
-
max-width: calc((2/12)*100%);
|
202
|
-
padding-right: calc(var(--bs-gutter-x) * .5);
|
203
|
-
padding-left: calc(var(--bs-gutter-x) * .5);
|
209
|
+
flex: 0 0 calc((2 / 12) * 100%);
|
210
|
+
max-width: calc((2 / 12) * 100%);
|
211
|
+
padding-right: calc(var(--bs-gutter-x) * 0.5);
|
212
|
+
padding-left: calc(var(--bs-gutter-x) * 0.5);
|
204
213
|
margin-top: var(--bs-gutter-y); }
|
205
214
|
._31ZQk ._1RsJQ {
|
206
215
|
flex: 0 0 25%;
|
207
216
|
max-width: 25%;
|
208
|
-
padding-right: calc(var(--bs-gutter-x) * .5);
|
209
|
-
padding-left: calc(var(--bs-gutter-x) * .5);
|
217
|
+
padding-right: calc(var(--bs-gutter-x) * 0.5);
|
218
|
+
padding-left: calc(var(--bs-gutter-x) * 0.5);
|
210
219
|
margin-top: var(--bs-gutter-y); }
|
211
220
|
._31ZQk ._L42CP {
|
212
|
-
flex: 0 0 calc((5/12)*100%);
|
213
|
-
max-width: calc((5/12)*100%);
|
214
|
-
padding-right: calc(var(--bs-gutter-x) * .5);
|
215
|
-
padding-left: calc(var(--bs-gutter-x) * .5);
|
221
|
+
flex: 0 0 calc((5 / 12) * 100%);
|
222
|
+
max-width: calc((5 / 12) * 100%);
|
223
|
+
padding-right: calc(var(--bs-gutter-x) * 0.5);
|
224
|
+
padding-left: calc(var(--bs-gutter-x) * 0.5);
|
216
225
|
margin-top: var(--bs-gutter-y); }
|
217
226
|
._31ZQk ._2u6eL {
|
218
|
-
flex: 0 0 calc((10/12)*100%);
|
219
|
-
max-width: calc((10/12)*100%);
|
220
|
-
padding-right: calc(var(--bs-gutter-x) * .5);
|
221
|
-
padding-left: calc(var(--bs-gutter-x) * .5);
|
227
|
+
flex: 0 0 calc((10 / 12) * 100%);
|
228
|
+
max-width: calc((10 / 12) * 100%);
|
229
|
+
padding-right: calc(var(--bs-gutter-x) * 0.5);
|
230
|
+
padding-left: calc(var(--bs-gutter-x) * 0.5);
|
222
231
|
margin-top: var(--bs-gutter-y); }
|
223
232
|
|
224
233
|
._8x7OP {
|
@@ -227,44 +236,44 @@
|
|
227
236
|
display: flex;
|
228
237
|
flex-wrap: wrap;
|
229
238
|
margin-top: calc(-1 * var(--bs-gutter-y));
|
230
|
-
margin-right: calc(
|
231
|
-
margin-left: calc(
|
239
|
+
margin-right: calc(-0.5 * var(--bs-gutter-x));
|
240
|
+
margin-left: calc(-0.5 * var(--bs-gutter-x)); }
|
232
241
|
._8x7OP ._1JmTh {
|
233
242
|
flex: 1 0;
|
234
243
|
width: 100%;
|
235
244
|
max-width: 100%;
|
236
|
-
padding-right: calc(var(--bs-gutter-x) * .5);
|
237
|
-
padding-left: calc(var(--bs-gutter-x) * .5);
|
245
|
+
padding-right: calc(var(--bs-gutter-x) * 0.5);
|
246
|
+
padding-left: calc(var(--bs-gutter-x) * 0.5);
|
238
247
|
margin-top: var(--bs-gutter-y); }
|
239
248
|
._8x7OP ._1RsJQ {
|
240
249
|
flex: 0 0 25%;
|
241
250
|
max-width: 25%;
|
242
|
-
padding-right: calc(var(--bs-gutter-x) * .5);
|
243
|
-
padding-left: calc(var(--bs-gutter-x) * .5);
|
251
|
+
padding-right: calc(var(--bs-gutter-x) * 0.5);
|
252
|
+
padding-left: calc(var(--bs-gutter-x) * 0.5);
|
244
253
|
margin-top: var(--bs-gutter-y); }
|
245
254
|
._8x7OP ._3HO1e {
|
246
|
-
flex: 0 0 calc((4/12)*100%);
|
247
|
-
max-width: calc((4/12)*100%);
|
248
|
-
padding-right: calc(var(--bs-gutter-x) * .5);
|
249
|
-
padding-left: calc(var(--bs-gutter-x) * .5);
|
255
|
+
flex: 0 0 calc((4 / 12) * 100%);
|
256
|
+
max-width: calc((4 / 12) * 100%);
|
257
|
+
padding-right: calc(var(--bs-gutter-x) * 0.5);
|
258
|
+
padding-left: calc(var(--bs-gutter-x) * 0.5);
|
250
259
|
margin-top: var(--bs-gutter-y); }
|
251
260
|
._8x7OP ._L42CP {
|
252
|
-
flex: 0 0 calc((5/12)*100%);
|
253
|
-
max-width: calc((5/12)*100%);
|
254
|
-
padding-right: calc(var(--bs-gutter-x) * .5);
|
255
|
-
padding-left: calc(var(--bs-gutter-x) * .5);
|
261
|
+
flex: 0 0 calc((5 / 12) * 100%);
|
262
|
+
max-width: calc((5 / 12) * 100%);
|
263
|
+
padding-right: calc(var(--bs-gutter-x) * 0.5);
|
264
|
+
padding-left: calc(var(--bs-gutter-x) * 0.5);
|
256
265
|
margin-top: var(--bs-gutter-y); }
|
257
266
|
._8x7OP ._Oy31M {
|
258
|
-
flex: 0 0 calc((8/12)*100%);
|
259
|
-
max-width: calc((8/12)*100%);
|
260
|
-
padding-right: calc(var(--bs-gutter-x) * .5);
|
261
|
-
padding-left: calc(var(--bs-gutter-x) * .5);
|
267
|
+
flex: 0 0 calc((8 / 12) * 100%);
|
268
|
+
max-width: calc((8 / 12) * 100%);
|
269
|
+
padding-right: calc(var(--bs-gutter-x) * 0.5);
|
270
|
+
padding-left: calc(var(--bs-gutter-x) * 0.5);
|
262
271
|
margin-top: var(--bs-gutter-y); }
|
263
272
|
._8x7OP ._3aUKo {
|
264
|
-
flex: 0 0 calc((12/12)*100%);
|
265
|
-
max-width: calc((12/12)*100%);
|
266
|
-
padding-right: calc(var(--bs-gutter-x) * .5);
|
267
|
-
padding-left: calc(var(--bs-gutter-x) * .5);
|
273
|
+
flex: 0 0 calc((12 / 12) * 100%);
|
274
|
+
max-width: calc((12 / 12) * 100%);
|
275
|
+
padding-right: calc(var(--bs-gutter-x) * 0.5);
|
276
|
+
padding-left: calc(var(--bs-gutter-x) * 0.5);
|
268
277
|
margin-top: var(--bs-gutter-y); }
|
269
278
|
|
270
279
|
._39LRs {
|
@@ -307,7 +316,7 @@
|
|
307
316
|
background-clip: padding-box;
|
308
317
|
border: 1px solid #dee2e6;
|
309
318
|
border-radius: 0.375rem;
|
310
|
-
transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out; }
|
319
|
+
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; }
|
311
320
|
|
312
321
|
._2PWdX {
|
313
322
|
display: inline-block;
|
@@ -326,7 +335,7 @@
|
|
326
335
|
border: 1px solid #0d6efd;
|
327
336
|
border-radius: 0.375rem;
|
328
337
|
background-color: transparent;
|
329
|
-
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out; }
|
338
|
+
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; }
|
330
339
|
._2PWdX:hover {
|
331
340
|
color: #fff !important;
|
332
341
|
background-color: #0d6efd;
|
@@ -360,13 +369,86 @@
|
|
360
369
|
background-size: 10px 7px;
|
361
370
|
border: 1px solid #dee2e6;
|
362
371
|
border-radius: 0.375rem;
|
363
|
-
transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out; }
|
372
|
+
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; }
|
364
373
|
|
365
374
|
._3NJzN {
|
366
375
|
overflow: hidden;
|
367
376
|
text-overflow: ellipsis;
|
368
377
|
white-space: nowrap; }
|
369
378
|
|
379
|
+
._3xnI5 {
|
380
|
+
position: fixed;
|
381
|
+
z-index: 100;
|
382
|
+
background: #fff;
|
383
|
+
top: 0; }
|
384
|
+
._3xnI5 ._3YG70 {
|
385
|
+
display: flex;
|
386
|
+
align-items: center;
|
387
|
+
width: 64px;
|
388
|
+
min-width: 64px;
|
389
|
+
padding: 16px;
|
390
|
+
max-height: 80px; }
|
391
|
+
._3xnI5._1CQPn {
|
392
|
+
display: flex;
|
393
|
+
justify-content: space-between;
|
394
|
+
padding: 0 27px 0 27px;
|
395
|
+
border-bottom: 1px solid var(--gray-300); }
|
396
|
+
._3xnI5 ._3hx2T {
|
397
|
+
text-align: start; }
|
398
|
+
._3xnI5 ._3hx2T ._3UyhW div span {
|
399
|
+
display: none; }
|
400
|
+
._3xnI5 a._1TGKA {
|
401
|
+
border-bottom: 1px solid #7366ff;
|
402
|
+
border-radius: 0; }
|
403
|
+
._3xnI5 a._1AqMh,
|
404
|
+
._3xnI5 a._1TGKA {
|
405
|
+
color: #5458d5; }
|
406
|
+
._3xnI5 ._3UyhW {
|
407
|
+
font-size: 14px;
|
408
|
+
font-weight: 700;
|
409
|
+
height: 100%;
|
410
|
+
padding: 7px 12px;
|
411
|
+
display: inline-table;
|
412
|
+
text-align: center;
|
413
|
+
line-height: 4.5;
|
414
|
+
color: #aeabac;
|
415
|
+
display: flex;
|
416
|
+
align-items: center; }
|
417
|
+
._3xnI5 ._2RI6G {
|
418
|
+
width: unset;
|
419
|
+
height: unset;
|
420
|
+
padding-right: 16px;
|
421
|
+
line-height: 73px;
|
422
|
+
float: right; }
|
423
|
+
._3xnI5 ._2RI6G > p {
|
424
|
+
line-height: 5;
|
425
|
+
color: #aeabac;
|
426
|
+
font-weight: 700; }
|
427
|
+
._3xnI5 ._3aVHg {
|
428
|
+
pointer-events: none; }
|
429
|
+
|
430
|
+
@media (min-width: 992px) {
|
431
|
+
._3xnI5 ._3YG70 {
|
432
|
+
width: 120px;
|
433
|
+
min-width: 120px;
|
434
|
+
padding: 16px 0; } }
|
435
|
+
|
436
|
+
@media (min-width: 1200px) {
|
437
|
+
._3xnI5 ._3YG70 {
|
438
|
+
width: 162px;
|
439
|
+
min-width: 162px; }
|
440
|
+
._3xnI5 ._2RI6G {
|
441
|
+
width: 73px;
|
442
|
+
height: 100%;
|
443
|
+
padding-right: 0; }
|
444
|
+
._3xnI5 ._3hx2T {
|
445
|
+
display: flex;
|
446
|
+
flex-wrap: nowrap; }
|
447
|
+
._3xnI5 ._3hx2T ._3UyhW div span {
|
448
|
+
display: inline-block; }
|
449
|
+
._3xnI5 ._3UyhW {
|
450
|
+
padding: 7px 16px; } }
|
451
|
+
|
370
452
|
._2oGcJ {
|
371
453
|
width: 48px;
|
372
454
|
height: 48px;
|
package/dist/index.d.ts
CHANGED
@@ -61,4 +61,5 @@ import InputText from "./components/Inputs/InputText";
|
|
61
61
|
import * as Textbook from "./containers/Textbooks/views";
|
62
62
|
import SubjectSelector from "./components/Selectors/SubjectSelector";
|
63
63
|
import * as timeUtils from "./utils/times";
|
64
|
-
|
64
|
+
import Header from "./layouts/Header";
|
65
|
+
export { diffFromNow, formatTime, utcToLocalTime, setLoading, setReadyRegisterPusher, BASE_URL, SUPER_ADMIN_BASE_URL, ACCESS_TOKEN, Login, store, setAlert, setUser, Loading, NotFound, LayoutContext, api, apiUpload, ConfirmDialog, CommonDialog, CustomPagination, useGoogleSignOut, PUSHER_CONFIG, ExamEvent, EXAM_CHANNEL, EXAM_STUDENT_CHANNEL, setLanguage, i18n, TheLanguageDropdown, TheAcademyDropdown, useTranslation, I18nextProvider, DATE_MIN_VALUE, DATE_TIME_MIN_VALUE, ACADEMY_DOMAIN, minutesToTimeSpan, toISOString, canAccessRoute, CustomSelect, CustomAsyncSelect, CustomSelectOption, getAccessToken, ChatContainer, IChatContainerProps, IChatItemProps, IChatHeaderProps, IInputChatProps, ChatItemType, useChatContainer, ConversationResponse, usePusherConversation, ExamResultV2, ToastContainer, toast, Role, useLanguage, useSwitchAcademy, LANGUAGES, CustomCreatable, moment, ExamDetailView, ExamDetailViewProps, Exam, Question, ArticleGroup, getAcademyDomain, useSubjectSelect, useLogin, useAutoAcademyDomain, LoginAccessTokenRequest, LoginRequest, setReFetchUserAcademies, ChatTypes, AcademyHeaders, Types, Enums, CoreHooks, ArticleGroupView, AnswerCountSelector, QuestionCountSelector, ScoreSelector, ArticleCategorySelector, SubjectSelector, useCategorySelect, InputText, Textbook, TextbookDetail, TextbookList, timeUtils, Header };
|