touchstudy-core 0.1.20 → 0.1.22

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.
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import type { SVGProps } from 'react';
3
+ declare const iconPrintFill: ({ width, height, color }: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default iconPrintFill;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ declare type TabPanelProps = {
3
+ children?: React.ReactNode;
4
+ index: number;
5
+ value: number;
6
+ };
7
+ declare const CustomTabPanel: (props: TabPanelProps) => React.JSX.Element;
8
+ export default CustomTabPanel;
@@ -7,6 +7,7 @@ interface Props {
7
7
  size?: DialogProps["maxWidth"];
8
8
  isShowHeader?: boolean;
9
9
  titleClassName?: string;
10
+ minWidth?: string;
10
11
  }
11
12
  declare const CommonDialog: FC<Props & PropsWithChildren>;
12
13
  export default CommonDialog;
@@ -0,0 +1,9 @@
1
+ import { CustomSelectOptionProps } from "../Selects/CustomSelectOption";
2
+ import { TimeZoneLabels } from "./configs/enums";
3
+ import { FC } from "react";
4
+ interface Props extends CustomSelectOptionProps {
5
+ value?: number;
6
+ timeZoneLabelType?: TimeZoneLabels;
7
+ }
8
+ declare const TimeZoneSelector: FC<Props>;
9
+ export default TimeZoneSelector;
@@ -0,0 +1,6 @@
1
+ export declare enum TimeZoneLabels {
2
+ Original = 0,
3
+ AltName = 1,
4
+ Abbrev = 2,
5
+ OffsetHidden = 3
6
+ }
@@ -0,0 +1,5 @@
1
+ declare const useTab: () => {
2
+ selected: number;
3
+ handleChangeTab: (newValue: number) => void;
4
+ };
5
+ export default useTab;
package/dist/index.js CHANGED
@@ -1042,6 +1042,7 @@ var CommonDialog = function CommonDialog(_ref) {
1042
1042
  _ref$isShowHeader = _ref.isShowHeader,
1043
1043
  isShowHeader = _ref$isShowHeader === void 0 ? true : _ref$isShowHeader,
1044
1044
  titleClassName = _ref.titleClassName,
1045
+ minWidth = _ref.minWidth,
1045
1046
  onClose = _ref.onClose;
1046
1047
  return React__default.createElement(material.Dialog, {
1047
1048
  open: open,
@@ -1054,7 +1055,8 @@ var CommonDialog = function CommonDialog(_ref) {
1054
1055
  },
1055
1056
  PaperProps: {
1056
1057
  sx: {
1057
- overflowY: "unset"
1058
+ overflowY: "unset",
1059
+ minWidth: minWidth
1058
1060
  }
1059
1061
  }
1060
1062
  }, isShowHeader ? React__default.createElement(React.Fragment, null, React__default.createElement(material.DialogTitle, {
@@ -1455,6 +1457,7 @@ var parent_phone_number = "학부모 전화번호";
1455
1457
  var update_textbook_title = "교과서 제목 업데이트";
1456
1458
  var invalid_weekly_day_time = "주간 요일 시간이 잘못되었습니다";
1457
1459
  var no_image = "이미지 없음";
1460
+ var school_name = "학교 이름";
1458
1461
  var lang_ko = {
1459
1462
  problem_solving: problem_solving,
1460
1463
  my_story: my_story,
@@ -1697,7 +1700,8 @@ var lang_ko = {
1697
1700
  parent_phone_number: parent_phone_number,
1698
1701
  update_textbook_title: update_textbook_title,
1699
1702
  invalid_weekly_day_time: invalid_weekly_day_time,
1700
- no_image: no_image
1703
+ no_image: no_image,
1704
+ school_name: school_name
1701
1705
  };
1702
1706
 
1703
1707
  var problem_solving$1 = "Problem Solving";
@@ -1978,6 +1982,7 @@ var parent_phone_number$1 = "Parent Phone Number";
1978
1982
  var update_textbook_title$1 = "Update textbook title";
1979
1983
  var invalid_weekly_day_time$1 = "Invalid weekly day time";
1980
1984
  var no_image$1 = "No image";
1985
+ var school_name$1 = "School name";
1981
1986
  var lang_en = {
1982
1987
  problem_solving: problem_solving$1,
1983
1988
  my_story: my_story$1,
@@ -2254,7 +2259,8 @@ var lang_en = {
2254
2259
  parent_phone_number: parent_phone_number$1,
2255
2260
  update_textbook_title: update_textbook_title$1,
2256
2261
  invalid_weekly_day_time: invalid_weekly_day_time$1,
2257
- no_image: no_image$1
2262
+ no_image: no_image$1,
2263
+ school_name: school_name$1
2258
2264
  };
2259
2265
 
2260
2266
  i18n.use(reactI18next.initReactI18next).init({
@@ -4461,7 +4467,7 @@ var ArticleGroupView = function ArticleGroupView(_ref) {
4461
4467
  item: true,
4462
4468
  xs: 3,
4463
4469
  className: "d-flex justify-content-end"
4464
- }, isDeletable && React__default.createElement("div", null, React__default.createElement(material.IconButton, {
4470
+ }, isDeletable && !isDisabled && React__default.createElement("div", null, React__default.createElement(material.IconButton, {
4465
4471
  onClick: handleDelete
4466
4472
  }, React__default.createElement(fa.FaTrash, {
4467
4473
  size: 16,
@@ -7299,7 +7305,12 @@ function CreateNewQuestionDialog(_ref) {
7299
7305
  t = _useTranslation.t;
7300
7306
  return React__default.createElement(material.Dialog, {
7301
7307
  onClose: toggleCreateQuestion,
7302
- open: openCreateQuestionDialog
7308
+ open: openCreateQuestionDialog,
7309
+ PaperProps: {
7310
+ sx: {
7311
+ minWidth: "363px"
7312
+ }
7313
+ }
7303
7314
  }, React__default.createElement(DialogTitle, {
7304
7315
  id: "customized-dialog-title"
7305
7316
  }, React__default.createElement(Typography, {
@@ -8007,7 +8018,12 @@ function CreateNewQuestionDialog$1(_ref) {
8007
8018
  examSessionId = _ref.examSessionId;
8008
8019
  return React__default.createElement(material.Dialog, {
8009
8020
  onClose: toggleCreateQuestion,
8010
- open: openCreateQuestionDialog
8021
+ open: openCreateQuestionDialog,
8022
+ PaperProps: {
8023
+ sx: {
8024
+ minWidth: "363px"
8025
+ }
8026
+ }
8011
8027
  }, React__default.createElement(DialogTitle, {
8012
8028
  id: "customized-dialog-title"
8013
8029
  }, React__default.createElement(Typography, {