touchstudy-core 0.1.1 → 0.1.2
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/Dialogs/CommonDialog.d.ts +1 -0
- package/dist/components/Dialogs/ConfirmDialog.d.ts +1 -0
- package/dist/configs/constants.d.ts +11 -0
- package/dist/containers/Login/apiClient/index.d.ts +1 -1
- package/dist/containers/Login/configs/constants.d.ts +4 -0
- package/dist/i18n.d.ts +2 -0
- package/dist/index.css +96 -0
- package/dist/index.d.ts +10 -3
- package/dist/index.js +464 -625
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +445 -626
- package/dist/index.modern.js.map +1 -1
- package/dist/layouts/TheLanguageDropdown.d.ts +3 -0
- package/dist/redux/commons/action.d.ts +1 -0
- package/dist/utils/addTime.d.ts +3 -0
- package/dist/utils/constants.d.ts +6 -1
- package/dist/utils/diffFromNow.d.ts +1 -1
- package/dist/utils/minutesToTimeSpan.d.ts +2 -0
- package/dist/utils/toISOString.d.ts +2 -0
- package/dist/utils/types.d.ts +8 -0
- package/dist/utils/useGoogleSignOut.d.ts +9 -0
- package/package.json +4 -1
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare type Language = {
|
2
|
+
code: string;
|
3
|
+
name: string;
|
4
|
+
fullName: string;
|
5
|
+
shortName: string;
|
6
|
+
nativeName: string;
|
7
|
+
image: string;
|
8
|
+
};
|
9
|
+
export declare const DEFAULT_LANGUAGE_CODE = "ko";
|
10
|
+
export declare const LANGUAGES: Language[];
|
11
|
+
export declare const SUPPORTED_LANGUAGES_CODE: string[];
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export declare const getGoogleClientId: () => Promise<import("axios").AxiosResponse<any, any>>;
|
2
|
-
export declare const apiLoginGoogle: (body: any) => Promise<import("axios").AxiosResponse<any, any>>;
|
2
|
+
export declare const apiLoginGoogle: (body: any, role: string) => Promise<import("axios").AxiosResponse<any, any>>;
|
package/dist/i18n.d.ts
ADDED
package/dist/index.css
CHANGED
@@ -26,3 +26,99 @@
|
|
26
26
|
border: 1px solid #AEABAC !important;
|
27
27
|
border-radius: 5px !important;
|
28
28
|
box-shadow: unset !important; }
|
29
|
+
|
30
|
+
._1krbH ._RQaHE {
|
31
|
+
border: none;
|
32
|
+
background-color: transparent;
|
33
|
+
outline: none; }
|
34
|
+
._1krbH ._RQaHE:hover, ._1krbH ._RQaHE:focus, ._1krbH ._RQaHE:active {
|
35
|
+
background-color: transparent !important;
|
36
|
+
outline: none;
|
37
|
+
border: none;
|
38
|
+
box-shadow: none !important; }
|
39
|
+
._1krbH ._RQaHE img {
|
40
|
+
width: 40px;
|
41
|
+
height: 40px;
|
42
|
+
border-radius: 50%; }
|
43
|
+
|
44
|
+
._1krbH ._XK8oS {
|
45
|
+
width: 30px !important;
|
46
|
+
height: auto !important;
|
47
|
+
border-radius: 0 !important;
|
48
|
+
margin-right: 5px; }
|
49
|
+
|
50
|
+
._1krbH ._3ys4W {
|
51
|
+
width: 300px;
|
52
|
+
top: 52px !important;
|
53
|
+
left: -250px !important;
|
54
|
+
transform: none !important;
|
55
|
+
border-radius: 10px;
|
56
|
+
box-shadow: 0px 3px 6px #27347d29;
|
57
|
+
border: none;
|
58
|
+
padding: 15px; }
|
59
|
+
._1krbH ._3ys4W:after {
|
60
|
+
display: none; }
|
61
|
+
._1krbH ._3ys4W ._ToOW_ {
|
62
|
+
background: transparent; }
|
63
|
+
._1krbH ._3ys4W ._ToOW_:hover {
|
64
|
+
color: #8b0000; }
|
65
|
+
|
66
|
+
._1krbH ._3sQlR {
|
67
|
+
font-weight: 600;
|
68
|
+
border-top: 1px solid #27347d29;
|
69
|
+
padding-top: 10px; }
|
70
|
+
._1krbH ._3sQlR._3bqSM {
|
71
|
+
color: #8b0000; }
|
72
|
+
._1krbH ._3sQlR ._1jgSI {
|
73
|
+
margin-right: 12px; }
|
74
|
+
|
75
|
+
._1krbH ._35Ttz img {
|
76
|
+
width: 70px;
|
77
|
+
height: 70px;
|
78
|
+
border-radius: 50%;
|
79
|
+
box-shadow: 0px 3px 6px #27347d29;
|
80
|
+
border: 2px solid #ffffff; }
|
81
|
+
|
82
|
+
._1krbH ._3ys4W ._1wc7o {
|
83
|
+
padding: 10px 0; }
|
84
|
+
|
85
|
+
._1krbH ._3S4f2 {
|
86
|
+
padding-left: 20px;
|
87
|
+
width: 190px; }
|
88
|
+
._1krbH ._3S4f2 h5,
|
89
|
+
._1krbH ._3S4f2 span {
|
90
|
+
white-space: nowrap;
|
91
|
+
overflow: hidden;
|
92
|
+
text-overflow: ellipsis;
|
93
|
+
display: inline-block;
|
94
|
+
width: 100%; }
|
95
|
+
._1krbH ._3S4f2 a {
|
96
|
+
padding: 0;
|
97
|
+
text-decoration: none; }
|
98
|
+
|
99
|
+
._1krbH ._3ajui {
|
100
|
+
width: 210px;
|
101
|
+
top: 40px !important;
|
102
|
+
left: -80px !important;
|
103
|
+
transform: none !important;
|
104
|
+
border-radius: 6px;
|
105
|
+
box-shadow: 0px 8px 15px #989898;
|
106
|
+
border: none;
|
107
|
+
padding: 0 8px; }
|
108
|
+
._1krbH ._3ajui:after {
|
109
|
+
display: none; }
|
110
|
+
._1krbH ._3ajui ._ToOW_ {
|
111
|
+
background: transparent; }
|
112
|
+
|
113
|
+
._1krbH ._3Y_y4 {
|
114
|
+
color: #242424;
|
115
|
+
display: flex;
|
116
|
+
padding: 8px;
|
117
|
+
border-radius: 6px; }
|
118
|
+
._1krbH ._3Y_y4:hover {
|
119
|
+
background-color: #f1faff;
|
120
|
+
color: #009ef7; }
|
121
|
+
|
122
|
+
._1krbH ._CzNMi {
|
123
|
+
background-color: #f1faff;
|
124
|
+
color: #009ef7; }
|
package/dist/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
declare const historyCore: import("history").History<unknown>;
|
2
|
-
import { setLoading, setAlert, setUser } from "./redux/commons/action";
|
3
|
-
import { BASE_URL, ACCESS_TOKEN } from "./utils/constants";
|
2
|
+
import { setLoading, setAlert, setUser, setLanguage } from "./redux/commons/action";
|
3
|
+
import { BASE_URL, ACCESS_TOKEN, PUSHER_CONFIG, EXAM_CHANNEL, DATE_MIN_VALUE } from "./utils/constants";
|
4
4
|
import utcToLocalTime from "./utils/utcToLocalTime";
|
5
5
|
import Login from "./containers/Login/views/Login";
|
6
6
|
import store from "./store";
|
@@ -14,4 +14,11 @@ import CommonAlert from "./components/Alerts/CommonAlert";
|
|
14
14
|
import formatTime from "./utils/formatTime";
|
15
15
|
import diffFromNow from "./utils/diffFromNow";
|
16
16
|
import CustomPagination from "./components/Paginations/CustomPagination";
|
17
|
-
|
17
|
+
import useGoogleSignOut from "./utils/useGoogleSignOut";
|
18
|
+
import { ExamEvent } from "./utils/types";
|
19
|
+
import i18n from "./i18n";
|
20
|
+
import TheLanguageDropdown from "./layouts/TheLanguageDropdown";
|
21
|
+
import { useTranslation, I18nextProvider } from "react-i18next";
|
22
|
+
import minutesToTimeSpan from "./utils/minutesToTimeSpan";
|
23
|
+
import toISOString from "./utils/toISOString";
|
24
|
+
export { diffFromNow, formatTime, utcToLocalTime, setLoading, BASE_URL, ACCESS_TOKEN, Login, store, historyCore, setAlert, setUser, Loading, NotFound, LayoutContext, api, ConfirmDialog, CommonDialog, CommonAlert, CustomPagination, useGoogleSignOut, PUSHER_CONFIG, ExamEvent, EXAM_CHANNEL, setLanguage, i18n, TheLanguageDropdown, useTranslation, I18nextProvider, DATE_MIN_VALUE, minutesToTimeSpan, toISOString };
|