touchstudy-core 0.1.124 → 0.1.125

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.
@@ -18753,7 +18753,7 @@ var PrintExamResult = function PrintExamResult(_ref) {
18753
18753
  fontWeight: 600,
18754
18754
  color: styles.gray_700
18755
18755
  }
18756
- }, resultData === null || resultData === void 0 ? void 0 : resultData.teacherName)))))), isShow(TabList$2[0].value) && React__default.createElement(Stack, {
18756
+ }, resultData === null || resultData === void 0 ? void 0 : resultData.teacherName)))))), !isShow || isShow(TabList$2[0].value) && React__default.createElement(Stack, {
18757
18757
  display: "flex",
18758
18758
  flexDirection: "column",
18759
18759
  gap: "12px"
@@ -18767,7 +18767,7 @@ var PrintExamResult = function PrintExamResult(_ref) {
18767
18767
  data: resultData,
18768
18768
  categories: categoryResponses,
18769
18769
  isStudent: isStudent
18770
- })), isShow(TabList$2[1].value) && React__default.createElement(Stack, {
18770
+ })), !isShow || isShow(TabList$2[1].value) && React__default.createElement(Stack, {
18771
18771
  display: "flex",
18772
18772
  flexDirection: "column",
18773
18773
  gap: "12px",
@@ -18794,7 +18794,7 @@ var PrintExamResult = function PrintExamResult(_ref) {
18794
18794
  series: allSeries[index],
18795
18795
  setIsRendered: setRenderedChart
18796
18796
  });
18797
- })), isShow(TabList$2[2].value) && React__default.createElement(Stack, {
18797
+ })), !isShow || isShow(TabList$2[2].value) && React__default.createElement(Stack, {
18798
18798
  display: "flex",
18799
18799
  flexDirection: "column",
18800
18800
  gap: "12px",
@@ -18803,7 +18803,7 @@ var PrintExamResult = function PrintExamResult(_ref) {
18803
18803
  sx: textStyle
18804
18804
  }, t$1(TabList$2[2].label)), React__default.createElement(CompareGrass, {
18805
18805
  effectSize: effectSize
18806
- })), isShow(TabList$2[3].value) && React__default.createElement(Stack, {
18806
+ })), !isShow || isShow(TabList$2[3].value) && React__default.createElement(Stack, {
18807
18807
  display: "flex",
18808
18808
  flexDirection: "column",
18809
18809
  gap: "12px",
@@ -21030,7 +21030,7 @@ var PrintExamResultView = function PrintExamResultView(_ref) {
21030
21030
  isShow = _usePrintView.isShow,
21031
21031
  handelPrintSuccess = _usePrintView.handelPrintSuccess,
21032
21032
  handelPrintError = _usePrintView.handelPrintError;
21033
- var _usePrintExamResult = usePrintExamResult(isLoading, fileName, isShow !== null && isShow !== void 0 && isShow(TabList$2[1].value) ? timelyOrderQuestions.length : 0, handelPrintSuccess, handelPrintError, true),
21033
+ var _usePrintExamResult = usePrintExamResult(isLoading, fileName, !isShow || isShow(TabList$2[1].value) ? timelyOrderQuestions.length : 0, handelPrintSuccess, handelPrintError, true),
21034
21034
  contentRef = _usePrintExamResult.contentRef,
21035
21035
  setRenderedChart = _usePrintExamResult.setRenderedChart;
21036
21036
  var isTabletUp = useMediaQuery("(min-width:900px)");