@nakamura-123/pages 1.4.0 → 1.4.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/component/Article/ArticleContentView.d.ts +5 -1
- package/dist/component/Article/ArticleContentView.js +218 -37
- package/dist/component/Article/ArticleImage.d.ts +9 -0
- package/dist/component/Article/ArticleImage.js +46 -0
- package/dist/component/Article/ArticleSectionPager.d.ts +17 -0
- package/dist/component/Article/ArticleSectionPager.js +193 -0
- package/dist/component/Article/ArticleTable.d.ts +10 -0
- package/dist/component/Article/ArticleTable.js +74 -0
- package/dist/component/Article/ChipStrip.d.ts +10 -0
- package/dist/component/Article/ChipStrip.js +82 -0
- package/dist/component/Article/Cloze.d.ts +31 -0
- package/dist/component/Article/Cloze.js +338 -0
- package/dist/component/Article/FramesFigure.d.ts +27 -0
- package/dist/component/Article/FramesFigure.js +438 -0
- package/dist/component/Article/RefLink.d.ts +42 -0
- package/dist/component/Article/RefLink.js +184 -0
- package/dist/component/Rating/RatingBar.d.ts +9 -0
- package/dist/component/Rating/RatingBar.js +358 -0
- package/dist/component/Rating/keyboardScroll.d.ts +7 -0
- package/dist/component/Rating/keyboardScroll.js +37 -0
- package/dist/component/Result/QuizFlatList.js +11 -10
- package/dist/component/Result/ResultActions.js +152 -59
- package/dist/component/Result/ResultHero.js +19 -18
- package/dist/component/SettingBtns/LanguageModal.js +1 -0
- package/dist/functions/articleContentFnc.d.ts +49 -1
- package/dist/functions/articleContentFnc.js +191 -2
- package/dist/functions/questionFormatD.d.ts +1 -0
- package/dist/functions/questionFormatD.js +14 -13
- package/dist/functions/ratingFnc.d.ts +4 -0
- package/dist/functions/ratingFnc.js +30 -0
- package/dist/functions/retryQuizFnc.d.ts +1 -0
- package/dist/functions/retryQuizFnc.js +13 -0
- package/dist/hooks/resultHook.d.ts +3 -1
- package/dist/hooks/resultHook.js +29 -6
- package/dist/page/ArticleDetail.js +58 -15
- package/dist/page/ImgZoom.d.ts +4 -3
- package/dist/page/ImgZoom.js +16 -2
- package/dist/page/QuizPage.js +23 -11
- package/dist/page/ReportPage.js +3 -2
- package/dist/page/ResultPage.js +2 -1
- package/dist/quiz/QuizContentsDrill.js +26 -16
- package/dist/quiz/common/MyTextqqyy.d.ts +4 -0
- package/dist/quiz/common/MyTextqqyy.js +14 -4
- package/dist/quiz/explain/ExplainLogic.d.ts +1 -0
- package/dist/quiz/explain/ExplainLogic.js +3 -2
- package/dist/quiz/explain/NormalExplain.js +3 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -16,6 +16,8 @@ const ExplainBox_1 = __importDefault(require("./ExplainBox"));
|
|
|
16
16
|
const ZoomableImage_1 = __importDefault(require("../common/ZoomableImage"));
|
|
17
17
|
const MyTextqqyy_1 = __importDefault(require("../common/MyTextqqyy"));
|
|
18
18
|
const MovieBtn_1 = __importDefault(require("./MovieBtn"));
|
|
19
|
+
const RatingBar_1 = __importDefault(require("../../component/Rating/RatingBar"));
|
|
20
|
+
const ratingFnc_1 = require("../../functions/ratingFnc");
|
|
19
21
|
const NormalExplain = ({ navigation }) => {
|
|
20
22
|
const question = (0, quizHook_1.useQuestionDataD)();
|
|
21
23
|
const rImgs = (0, react_redux_1.useSelector)((state) => state.app.imgs.rImgs);
|
|
@@ -85,6 +87,7 @@ const NormalExplain = ({ navigation }) => {
|
|
|
85
87
|
{formIsInput && (<common_1.MyText fsize="sm" color="red" style={{ alignSelf: "flex-end" }}>
|
|
86
88
|
※記入例は長押しでコピーできます。
|
|
87
89
|
</common_1.MyText>)}
|
|
90
|
+
<RatingBar_1.default target={(0, ratingFnc_1.explainTarget)(yearId, question.num)} ver={(0, ratingFnc_1.ratingVer)(explain.join("\n"))} kind="explain" onReport={() => navigation.navigate("Report", { typeIndex: 0 })}/>
|
|
88
91
|
</react_native_1.View>);
|
|
89
92
|
};
|
|
90
93
|
const styles = react_native_1.StyleSheet.create({
|