touchstudy-core 0.1.196 → 0.1.197
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/Chats/ChatContainer.d.ts +1 -5
- package/dist/components/Chats/components/InputChat.d.ts +2 -8
- package/dist/components/Chats/configs/constants.d.ts +1 -8
- package/dist/components/Chats/configs/types.d.ts +0 -2
- package/dist/components/Chats/hooks/useChatContainer.d.ts +2 -6
- package/dist/components/Selects/CustomSelectOption.d.ts +1 -1
- package/dist/index.css +16 -4
- package/dist/index.js +239 -1083
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +244 -1088
- package/dist/index.modern.js.map +1 -1
- package/dist/layouts/TimerDialog.d.ts +3 -1
- package/dist/layouts/configs/constants.d.ts +2 -0
- package/dist/layouts/configs/enums.d.ts +6 -0
- package/dist/layouts/configs/fn.d.ts +3 -0
- package/dist/layouts/configs/types.d.ts +8 -0
- package/dist/layouts/hooks/useAlarm.d.ts +19 -0
- package/dist/layouts/hooks/useCountDownTimer.d.ts +6 -2
- package/dist/layouts/hooks/useTimers.d.ts +14 -0
- package/dist/layouts/partials/Alarm/AlarmClock.d.ts +12 -0
- package/dist/layouts/partials/Alarm/AlarmClockNote.d.ts +3 -0
- package/dist/layouts/partials/Alarm/AlarmClockPanel.d.ts +12 -0
- package/dist/layouts/partials/Alarm/AlarmClockPanelNote.d.ts +3 -0
- package/dist/layouts/partials/Alarm/AlarmClockTab.d.ts +14 -0
- package/dist/layouts/partials/Alarm/AlarmSpeakerCheckbox.d.ts +8 -0
- package/dist/layouts/partials/Alarm/AudioToastContent.d.ts +8 -0
- package/dist/layouts/partials/AlarmClock.d.ts +3 -1
- package/dist/layouts/partials/AlarmClockNote.d.ts +3 -0
- package/dist/layouts/partials/AlarmClockPanel.d.ts +3 -1
- package/dist/layouts/partials/AlarmClockPanelNote.d.ts +3 -0
- package/dist/layouts/partials/AlarmClockTab.d.ts +4 -3
- package/dist/layouts/partials/AudioToastContent.d.ts +8 -0
- package/dist/layouts/partials/StudyTimerTab.d.ts +2 -1
- package/dist/layouts/partials/TimeUpdateDialog.d.ts +7 -0
- package/dist/layouts/partials/Timer/StudyTimerTab.d.ts +13 -0
- package/dist/layouts/partials/Timer/TimeLineTabPanel.d.ts +8 -0
- package/dist/layouts/partials/Timer/TimeLineTabs.d.ts +11 -0
- package/dist/layouts/partials/Timer/TimeUpdateDialog.d.ts +7 -0
- package/dist/layouts/partials/Timer/TimerCountItem.d.ts +10 -0
- package/dist/layouts/partials/Timer/TimerDivider.d.ts +9 -0
- package/dist/layouts/partials/Timer/TimerItem.d.ts +12 -0
- package/dist/layouts/partials/Timer/TimerLineItem.d.ts +13 -0
- package/dist/layouts/partials/Timer/TimerTabPanel.d.ts +8 -0
- package/dist/layouts/partials/Timer/TimerTabs.d.ts +7 -0
- package/dist/layouts/partials/TimerItem.d.ts +2 -1
- package/dist/services/alarmService.d.ts +9 -0
- package/dist/utils/types/examResults.d.ts +1 -0
- package/dist/utils/types/subjects.d.ts +4 -2
- package/package.json +1 -2
@@ -2,7 +2,6 @@ import { IChatListProps } from "./components/ChatList";
|
|
2
2
|
import { IInputChatProps } from "./components/InputChat";
|
3
3
|
import { IChatHeaderProps } from "./components/ChatHeader";
|
4
4
|
import { FC } from "react";
|
5
|
-
import { Role } from "../../utils";
|
6
5
|
export interface IChatContainerProps {
|
7
6
|
chatHeaderProps: IChatHeaderProps;
|
8
7
|
chatListProps: IChatListProps;
|
@@ -15,8 +14,5 @@ export interface IChatContainerProps {
|
|
15
14
|
onReachBottom?: () => void;
|
16
15
|
onEndScrollToEnd?: () => void;
|
17
16
|
}
|
18
|
-
|
19
|
-
role: Role;
|
20
|
-
}
|
21
|
-
declare const ChatContainer: FC<Props>;
|
17
|
+
declare const ChatContainer: FC<IChatContainerProps>;
|
22
18
|
export default ChatContainer;
|
@@ -1,20 +1,14 @@
|
|
1
|
-
import { FC
|
2
|
-
import { Role } from "../../../utils";
|
1
|
+
import { FC } from "react";
|
3
2
|
export interface IInputChatProps {
|
4
|
-
isSending: boolean;
|
5
3
|
text: string;
|
6
|
-
drawPath?: any;
|
7
4
|
onSubmit: () => void;
|
8
5
|
onChangeInput: (text: string) => void;
|
9
6
|
isCompleted?: boolean;
|
10
7
|
handleUploadImage: (file: File) => void;
|
11
|
-
onSaveCanvas: (data: string, drawPath: any) => void;
|
12
8
|
selectedFile?: string | null;
|
13
|
-
handleDeleteSelectedImage: (
|
14
|
-
onClearCanvas: () => void;
|
9
|
+
handleDeleteSelectedImage: () => void;
|
15
10
|
}
|
16
11
|
interface Props extends IInputChatProps {
|
17
|
-
role: Role;
|
18
12
|
}
|
19
13
|
declare const InputChat: FC<Props>;
|
20
14
|
export default InputChat;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { ConversationFilter, MessageFilter } from "./types";
|
2
2
|
export declare enum ExamStatus {
|
3
3
|
Default = "Default",
|
4
4
|
Pending = "Pending",
|
@@ -12,10 +12,3 @@ export declare enum Roles {
|
|
12
12
|
}
|
13
13
|
export declare const CONVERSATION_DEFAULT_FILTER: ConversationFilter;
|
14
14
|
export declare const MESSAGE_DEFAULT_FILTER: MessageFilter;
|
15
|
-
export declare const AlignList: Align[];
|
16
|
-
export declare const DEFAULT_STROKE_COLOR = "#000000";
|
17
|
-
export declare const DEFAULT_BG_COLOR = "#FFFFFF";
|
18
|
-
export declare const DEFAULT_STROKE_WIDTH = 4;
|
19
|
-
export declare const DEFAULT_ERASER_WIDTH = 10;
|
20
|
-
export declare const CANVAS_WIDTH = 800;
|
21
|
-
export declare const CANVAS_HEIGHT = 600;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
/// <reference types="react" />
|
2
2
|
import { ConversationsResponse, MessageRequest, StudentsConversationResponse } from "../configs/types";
|
3
3
|
import { IChatItemProps } from "../components/ChatItem";
|
4
4
|
interface Props {
|
@@ -29,16 +29,12 @@ declare const useChatContainer: (props: Props) => {
|
|
29
29
|
handleDeleteMessage: (conversationId: number, id: number, callback: any) => Promise<void>;
|
30
30
|
};
|
31
31
|
inputProps: {
|
32
|
-
isSending: boolean;
|
33
|
-
drawPath: any;
|
34
32
|
selectedFile: string | null;
|
35
33
|
text: string;
|
36
34
|
onChangeInput: (text: string) => void;
|
37
35
|
onSubmit: () => Promise<void>;
|
38
|
-
handleDeleteSelectedImage: (
|
36
|
+
handleDeleteSelectedImage: () => void;
|
39
37
|
handleUploadImage: (file: File) => Promise<void>;
|
40
|
-
onSaveCanvas: (data: string, drawPath: any) => Promise<void>;
|
41
|
-
onClearCanvas: () => void;
|
42
38
|
isCompleted: boolean | undefined;
|
43
39
|
};
|
44
40
|
isScrollToEnd: boolean;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import React from "react";
|
2
|
-
declare const CustomSelectOption: ({ defaultValue, options, isDisabled, scrollBottom, value, isMulti, valueById, isTextbook, ...rest }: any) => React.JSX.Element;
|
2
|
+
declare const CustomSelectOption: ({ defaultValue, options, isDisabled, scrollBottom, value, isMulti, valueById, isTextbook, styles, ...rest }: any) => React.JSX.Element;
|
3
3
|
export default CustomSelectOption;
|
package/dist/index.css
CHANGED
@@ -603,7 +603,10 @@
|
|
603
603
|
min-width: 136px; }
|
604
604
|
._1jZV7 .__LRYW ._18ZNf {
|
605
605
|
font-weight: 500;
|
606
|
-
font-size: 12px;
|
606
|
+
font-size: 12px;
|
607
|
+
display: flex;
|
608
|
+
align-items: baseline;
|
609
|
+
gap: 2px; }
|
607
610
|
._1jZV7 .__LRYW ._3nbRi {
|
608
611
|
color: #6B0861; }
|
609
612
|
._1jZV7 .__LRYW ._3NEHk {
|
@@ -647,7 +650,10 @@
|
|
647
650
|
._1jZV7 .__LRYW ._3l-yC {
|
648
651
|
font-weight: 500;
|
649
652
|
font-size: 12px;
|
650
|
-
color: #ced2da;
|
653
|
+
color: #ced2da;
|
654
|
+
display: flex;
|
655
|
+
align-items: baseline;
|
656
|
+
gap: 2px; }
|
651
657
|
._1jZV7 .__LRYW ._2mK7U {
|
652
658
|
font-family: "Pretendard";
|
653
659
|
font-weight: 600;
|
@@ -1479,7 +1485,10 @@
|
|
1479
1485
|
min-width: 136px; }
|
1480
1486
|
._eDBpS ._2K_sx ._3GfJt {
|
1481
1487
|
font-weight: 500;
|
1482
|
-
font-size: 12px;
|
1488
|
+
font-size: 12px;
|
1489
|
+
display: flex;
|
1490
|
+
align-items: baseline;
|
1491
|
+
gap: 2px; }
|
1483
1492
|
._eDBpS ._2K_sx ._3ut64 {
|
1484
1493
|
color: #6B0861; }
|
1485
1494
|
._eDBpS ._2K_sx ._2VtpD {
|
@@ -1523,7 +1532,10 @@
|
|
1523
1532
|
._eDBpS ._2K_sx ._3iItu {
|
1524
1533
|
font-weight: 500;
|
1525
1534
|
font-size: 12px;
|
1526
|
-
color: #ced2da;
|
1535
|
+
color: #ced2da;
|
1536
|
+
display: flex;
|
1537
|
+
align-items: baseline;
|
1538
|
+
gap: 2px; }
|
1527
1539
|
._eDBpS ._2K_sx ._1fNkS {
|
1528
1540
|
font-family: "Pretendard";
|
1529
1541
|
font-weight: 600;
|