touchstudy-core 0.1.19 → 0.1.21

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.
@@ -1455,6 +1455,7 @@ var student_phone_number = "학생 전화번호";
1455
1455
  var parent_phone_number = "학부모 전화번호";
1456
1456
  var update_textbook_title = "교과서 제목 업데이트";
1457
1457
  var invalid_weekly_day_time = "주간 요일 시간이 잘못되었습니다";
1458
+ var no_image = "이미지 없음";
1458
1459
  var lang_ko = {
1459
1460
  problem_solving: problem_solving,
1460
1461
  my_story: my_story,
@@ -1696,7 +1697,8 @@ var lang_ko = {
1696
1697
  student_phone_number: student_phone_number,
1697
1698
  parent_phone_number: parent_phone_number,
1698
1699
  update_textbook_title: update_textbook_title,
1699
- invalid_weekly_day_time: invalid_weekly_day_time
1700
+ invalid_weekly_day_time: invalid_weekly_day_time,
1701
+ no_image: no_image
1700
1702
  };
1701
1703
 
1702
1704
  var problem_solving$1 = "Problem Solving";
@@ -1976,6 +1978,7 @@ var student_phone_number$1 = "Student Phone Number";
1976
1978
  var parent_phone_number$1 = "Parent Phone Number";
1977
1979
  var update_textbook_title$1 = "Update textbook title";
1978
1980
  var invalid_weekly_day_time$1 = "Invalid weekly day time";
1981
+ var no_image$1 = "No image";
1979
1982
  var lang_en = {
1980
1983
  problem_solving: problem_solving$1,
1981
1984
  my_story: my_story$1,
@@ -2251,7 +2254,8 @@ var lang_en = {
2251
2254
  student_phone_number: student_phone_number$1,
2252
2255
  parent_phone_number: parent_phone_number$1,
2253
2256
  update_textbook_title: update_textbook_title$1,
2254
- invalid_weekly_day_time: invalid_weekly_day_time$1
2257
+ invalid_weekly_day_time: invalid_weekly_day_time$1,
2258
+ no_image: no_image$1
2255
2259
  };
2256
2260
 
2257
2261
  i18n.use(initReactI18next).init({
@@ -3163,8 +3167,8 @@ var getMessagesByConversation = function getMessagesByConversation(conversationI
3163
3167
  var completeConversation = function completeConversation(conversationId) {
3164
3168
  return api.post(CONVERSATION_URL + "/" + conversationId + "/finish");
3165
3169
  };
3166
- var apiUploadFile = function apiUploadFile(file) {
3167
- return apiUpload.post(BASE_URL + "/api/file/upload", file);
3170
+ var apiUploadImageFile = function apiUploadImageFile(file) {
3171
+ return apiUpload.post(BASE_URL + "/api/file/images", file);
3168
3172
  };
3169
3173
 
3170
3174
  var useDialog = function useDialog() {
@@ -3670,7 +3674,7 @@ var useChatContainer = function useChatContainer(props) {
3670
3674
  return _catch(function () {
3671
3675
  var formData = new FormData();
3672
3676
  formData.append("upload", file);
3673
- return Promise.resolve(apiUploadFile(formData)).then(function (res) {
3677
+ return Promise.resolve(apiUploadImageFile(formData)).then(function (res) {
3674
3678
  var _res$data;
3675
3679
  setSelectedFile({
3676
3680
  content: res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.url
@@ -4459,7 +4463,7 @@ var ArticleGroupView = function ArticleGroupView(_ref) {
4459
4463
  item: true,
4460
4464
  xs: 3,
4461
4465
  className: "d-flex justify-content-end"
4462
- }, isDeletable && React.createElement("div", null, React.createElement(IconButton, {
4466
+ }, isDeletable && !isDisabled && React.createElement("div", null, React.createElement(IconButton, {
4463
4467
  onClick: handleDelete
4464
4468
  }, React.createElement(FaTrash, {
4465
4469
  size: 16,