@coorpacademy/components 10.29.5 → 10.29.6
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/es/organism/review-slide/index.d.ts.map +1 -1
- package/es/organism/review-slide/index.js +2 -1
- package/es/organism/review-slide/index.js.map +1 -1
- package/es/organism/review-slide/prop-types.d.ts +2 -0
- package/es/organism/review-slide/prop-types.d.ts.map +1 -1
- package/es/organism/review-slide/prop-types.js +1 -0
- package/es/organism/review-slide/prop-types.js.map +1 -1
- package/es/organism/review-stacked-slides/prop-types.d.ts +5 -0
- package/es/organism/review-stacked-slides/prop-types.d.ts.map +1 -1
- package/es/template/app-review/index.d.ts +5 -0
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +5 -0
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +5 -0
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/organism/review-slide/index.d.ts.map +1 -1
- package/lib/organism/review-slide/index.js +2 -1
- package/lib/organism/review-slide/index.js.map +1 -1
- package/lib/organism/review-slide/prop-types.d.ts +2 -0
- package/lib/organism/review-slide/prop-types.d.ts.map +1 -1
- package/lib/organism/review-slide/prop-types.js +1 -0
- package/lib/organism/review-slide/prop-types.js.map +1 -1
- package/lib/organism/review-stacked-slides/prop-types.d.ts +5 -0
- package/lib/organism/review-stacked-slides/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/index.d.ts +5 -0
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +5 -0
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +5 -0
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/review-slide/index.js"],"names":[],"mappings":";AA4HA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/review-slide/index.js"],"names":[],"mappings":";AA4HA,sDA8CC"}
|
|
@@ -138,6 +138,7 @@ const ReviewSlide = props => {
|
|
|
138
138
|
loadingAriaLabel,
|
|
139
139
|
parentContentTitle,
|
|
140
140
|
questionText,
|
|
141
|
+
disabledContent,
|
|
141
142
|
answerUI,
|
|
142
143
|
showCorrectionPopin,
|
|
143
144
|
animateCorrectionPopin
|
|
@@ -153,7 +154,7 @@ const ReviewSlide = props => {
|
|
|
153
154
|
questionOrigin: parentContentTitle,
|
|
154
155
|
questionText: questionText,
|
|
155
156
|
answerUI: answerUI,
|
|
156
|
-
disableContent:
|
|
157
|
+
disableContent: disabledContent,
|
|
157
158
|
key: "question-container"
|
|
158
159
|
}), /*#__PURE__*/React.createElement(ValidateButton, {
|
|
159
160
|
slideIndex: slideIndex,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","useMemo","PropTypes","classnames","get","getOr","Answer","ButtonLink","Loader","ReviewCorrectionPopin","GetSkinFromContext","propTypes","style","CorrectionPopin","correctionPopinProps","slideIndex","showCorrectionPopin","animateCorrectionPopin","klf","information","label","message","next","onClick","_correctionPopinProps","type","resultLabel","correctionPopinWrapper","popinAnimation","string","bool","ValidateButton","validateButton","primarySkinColor","disabled","validateButtonProps","className","customStyle","backgroundColor","validateButtonWrapper","QuestionContainer","props","answerUI","questionText","questionOrigin","disableContent","slideContentContainer","disabledSlideContent","question","__html","help","answerContainer","shape","slide","ReviewSlide","skin","loading","loadingAriaLabel","parentContentTitle","loader"],"sources":["../../../src/organism/review-slide/index.js"],"sourcesContent":["import React, {useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport get from 'lodash/fp/get';\nimport getOr from 'lodash/fp/getOr';\nimport Answer from '../../molecule/answer';\nimport ButtonLink from '../../atom/button-link';\nimport Loader from '../../atom/loader';\nimport ReviewCorrectionPopin from '../../molecule/review-correction-popin';\nimport {GetSkinFromContext} from '../../atom/provider';\nimport propTypes from './prop-types';\nimport style from './style.css';\n\nconst CorrectionPopin = ({\n correctionPopinProps,\n slideIndex,\n showCorrectionPopin,\n animateCorrectionPopin\n}) => {\n if (!showCorrectionPopin) return null;\n\n const klf = getOr({}, 'klf', correctionPopinProps);\n const information = getOr({label: '', message: ''}, 'information', correctionPopinProps);\n const next = get('next', correctionPopinProps);\n const onClick = get(['next', 'onClick'], correctionPopinProps);\n\n const _correctionPopinProps = {\n next: {\n onClick,\n label: next && next.label,\n 'data-name': `next-question-button-${slideIndex}`,\n 'aria-label': next && next['aria-label']\n },\n klf,\n information,\n type: correctionPopinProps.type,\n resultLabel: correctionPopinProps.resultLabel\n };\n\n return (\n <div\n className={classnames(\n style.correctionPopinWrapper,\n animateCorrectionPopin ? style.popinAnimation : null\n )}\n >\n <ReviewCorrectionPopin {..._correctionPopinProps} />\n </div>\n );\n};\n\nCorrectionPopin.propTypes = {\n slideIndex: PropTypes.string,\n showCorrectionPopin: PropTypes.bool,\n animateCorrectionPopin: PropTypes.bool,\n correctionPopinProps: propTypes.correctionPopinProps\n};\n\nconst ValidateButton = ({slideIndex, validateButton, primarySkinColor}) => {\n const {label, onClick, disabled} = validateButton;\n const validateButtonProps = {\n type: 'primary',\n label,\n 'aria-label': label,\n 'data-name': `slide-validate-button-${slideIndex}`,\n onClick,\n disabled,\n className: style.validateButton,\n customStyle: {\n backgroundColor: primarySkinColor\n }\n };\n\n return (\n <div key=\"button-wrapper\" className={style.validateButtonWrapper}>\n <ButtonLink {...validateButtonProps} />\n </div>\n );\n};\n\nValidateButton.propTypes = {\n slideIndex: PropTypes.string,\n validateButton: propTypes.validateButton,\n primarySkinColor: PropTypes.string\n};\n\nconst QuestionContainer = props => {\n const {answerUI, questionText, questionOrigin, disableContent} = props;\n if (!answerUI || !questionText) return null;\n\n return (\n <div\n key=\"content-container\"\n className={classnames(\n style.slideContentContainer,\n disableContent ? style.disabledSlideContent : null\n )}\n >\n <div key=\"from-course\" className={style.questionOrigin}>\n {questionOrigin}\n </div>\n <div\n key=\"title\"\n className={style.question}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: questionText}}\n />\n <div key=\"help\" className={style.help}>\n {get('help', answerUI)}\n </div>\n <div key=\"answer-container\" className={style.answerContainer}>\n <Answer {...answerUI} key=\"answer\" />\n </div>\n </div>\n );\n};\n\nQuestionContainer.propTypes = {\n answerUI: PropTypes.shape(propTypes.slide.answerUI),\n questionText: PropTypes.string,\n questionOrigin: PropTypes.string,\n disableContent: PropTypes.bool\n};\n\nconst ReviewSlide = props => {\n const {slide, validateButton, correctionPopinProps, slideIndex = '0'} = props;\n\n const skin = GetSkinFromContext();\n const primarySkinColor = useMemo(() => getOr('#00B0FF', 'common.primary', skin), [skin]);\n const {\n loading,\n loadingAriaLabel,\n parentContentTitle,\n questionText,\n answerUI,\n showCorrectionPopin,\n animateCorrectionPopin\n } = slide;\n\n return (\n <div data-name={`slide-container`} className={style.slide}>\n {loading ? (\n <Loader className={style.loader} theme=\"default\" aria-label={loadingAriaLabel} />\n ) : (\n [\n <QuestionContainer\n questionOrigin={parentContentTitle}\n questionText={questionText}\n answerUI={answerUI}\n disableContent={showCorrectionPopin}\n key=\"question-container\"\n />,\n <ValidateButton\n slideIndex={slideIndex}\n validateButton={validateButton}\n primarySkinColor={primarySkinColor}\n key=\"validate-button\"\n />,\n <CorrectionPopin\n correctionPopinProps={correctionPopinProps}\n slideIndex={slideIndex}\n showCorrectionPopin={showCorrectionPopin}\n animateCorrectionPopin={animateCorrectionPopin}\n key=\"correction-popin\"\n />\n ]\n )}\n </div>\n );\n};\n\nReviewSlide.propTypes = propTypes;\n\nexport default ReviewSlide;\n"],"mappings":";;AAAA,OAAOA,KAAP,IAAeC,OAAf,QAA6B,OAA7B;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,OAAOC,GAAP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AAZ,EAAiD,CAACA,IAAD,CAAjD,CAAhC;EACA,MAAM;IACJC,OADI;IAEJC,gBAFI;IAGJC,kBAHI;IAIJf,YAJI;IAKJD,QALI;IAMJ1B,mBANI;IAOJC;EAPI,IAQFoC,KARJ;EAUA,oBACE;IAAK,aAAY,iBAAjB;IAAmC,SAAS,EAAEzC,KAAK,CAACyC;EAApD,GACGG,OAAO,gBACN,oBAAC,MAAD;IAAQ,SAAS,EAAE5C,KAAK,CAAC+C,MAAzB;IAAiC,KAAK,EAAC,SAAvC;IAAiD,cAAYF;EAA7D,EADM,GAGN,cACE,oBAAC,iBAAD;IACE,cAAc,EAAEC,kBADlB;IAEE,YAAY,EAAEf,YAFhB;IAGE,QAAQ,EAAED,QAHZ;IAIE,cAAc,EAAE1B,mBAJlB;IAKE,GAAG,EAAC;EALN,EADF,eAQE,oBAAC,cAAD;IACE,UAAU,EAAED,UADd;IAEE,cAAc,EAAEiB,cAFlB;IAGE,gBAAgB,EAAEC,gBAHpB;IAIE,GAAG,EAAC;EAJN,EARF,eAcE,oBAAC,eAAD;IACE,oBAAoB,EAAEnB,oBADxB;IAEE,UAAU,EAAEC,UAFd;IAGE,mBAAmB,EAAEC,mBAHvB;IAIE,sBAAsB,EAAEC,sBAJ1B;IAKE,GAAG,EAAC;EALN,EAdF,CAJJ,CADF;AA8BD,CA7CD;;AA+CAqC,WAAW,CAAC3C,SAAZ,2CAAwBA,SAAxB;AAEA,eAAe2C,WAAf"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","useMemo","PropTypes","classnames","get","getOr","Answer","ButtonLink","Loader","ReviewCorrectionPopin","GetSkinFromContext","propTypes","style","CorrectionPopin","correctionPopinProps","slideIndex","showCorrectionPopin","animateCorrectionPopin","klf","information","label","message","next","onClick","_correctionPopinProps","type","resultLabel","correctionPopinWrapper","popinAnimation","string","bool","ValidateButton","validateButton","primarySkinColor","disabled","validateButtonProps","className","customStyle","backgroundColor","validateButtonWrapper","QuestionContainer","props","answerUI","questionText","questionOrigin","disableContent","slideContentContainer","disabledSlideContent","question","__html","help","answerContainer","shape","slide","ReviewSlide","skin","loading","loadingAriaLabel","parentContentTitle","disabledContent","loader"],"sources":["../../../src/organism/review-slide/index.js"],"sourcesContent":["import React, {useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport get from 'lodash/fp/get';\nimport getOr from 'lodash/fp/getOr';\nimport Answer from '../../molecule/answer';\nimport ButtonLink from '../../atom/button-link';\nimport Loader from '../../atom/loader';\nimport ReviewCorrectionPopin from '../../molecule/review-correction-popin';\nimport {GetSkinFromContext} from '../../atom/provider';\nimport propTypes from './prop-types';\nimport style from './style.css';\n\nconst CorrectionPopin = ({\n correctionPopinProps,\n slideIndex,\n showCorrectionPopin,\n animateCorrectionPopin\n}) => {\n if (!showCorrectionPopin) return null;\n\n const klf = getOr({}, 'klf', correctionPopinProps);\n const information = getOr({label: '', message: ''}, 'information', correctionPopinProps);\n const next = get('next', correctionPopinProps);\n const onClick = get(['next', 'onClick'], correctionPopinProps);\n\n const _correctionPopinProps = {\n next: {\n onClick,\n label: next && next.label,\n 'data-name': `next-question-button-${slideIndex}`,\n 'aria-label': next && next['aria-label']\n },\n klf,\n information,\n type: correctionPopinProps.type,\n resultLabel: correctionPopinProps.resultLabel\n };\n\n return (\n <div\n className={classnames(\n style.correctionPopinWrapper,\n animateCorrectionPopin ? style.popinAnimation : null\n )}\n >\n <ReviewCorrectionPopin {..._correctionPopinProps} />\n </div>\n );\n};\n\nCorrectionPopin.propTypes = {\n slideIndex: PropTypes.string,\n showCorrectionPopin: PropTypes.bool,\n animateCorrectionPopin: PropTypes.bool,\n correctionPopinProps: propTypes.correctionPopinProps\n};\n\nconst ValidateButton = ({slideIndex, validateButton, primarySkinColor}) => {\n const {label, onClick, disabled} = validateButton;\n const validateButtonProps = {\n type: 'primary',\n label,\n 'aria-label': label,\n 'data-name': `slide-validate-button-${slideIndex}`,\n onClick,\n disabled,\n className: style.validateButton,\n customStyle: {\n backgroundColor: primarySkinColor\n }\n };\n\n return (\n <div key=\"button-wrapper\" className={style.validateButtonWrapper}>\n <ButtonLink {...validateButtonProps} />\n </div>\n );\n};\n\nValidateButton.propTypes = {\n slideIndex: PropTypes.string,\n validateButton: propTypes.validateButton,\n primarySkinColor: PropTypes.string\n};\n\nconst QuestionContainer = props => {\n const {answerUI, questionText, questionOrigin, disableContent} = props;\n if (!answerUI || !questionText) return null;\n\n return (\n <div\n key=\"content-container\"\n className={classnames(\n style.slideContentContainer,\n disableContent ? style.disabledSlideContent : null\n )}\n >\n <div key=\"from-course\" className={style.questionOrigin}>\n {questionOrigin}\n </div>\n <div\n key=\"title\"\n className={style.question}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: questionText}}\n />\n <div key=\"help\" className={style.help}>\n {get('help', answerUI)}\n </div>\n <div key=\"answer-container\" className={style.answerContainer}>\n <Answer {...answerUI} key=\"answer\" />\n </div>\n </div>\n );\n};\n\nQuestionContainer.propTypes = {\n answerUI: PropTypes.shape(propTypes.slide.answerUI),\n questionText: PropTypes.string,\n questionOrigin: PropTypes.string,\n disableContent: PropTypes.bool\n};\n\nconst ReviewSlide = props => {\n const {slide, validateButton, correctionPopinProps, slideIndex = '0'} = props;\n\n const skin = GetSkinFromContext();\n const primarySkinColor = useMemo(() => getOr('#00B0FF', 'common.primary', skin), [skin]);\n const {\n loading,\n loadingAriaLabel,\n parentContentTitle,\n questionText,\n disabledContent,\n answerUI,\n showCorrectionPopin,\n animateCorrectionPopin\n } = slide;\n\n return (\n <div data-name={`slide-container`} className={style.slide}>\n {loading ? (\n <Loader className={style.loader} theme=\"default\" aria-label={loadingAriaLabel} />\n ) : (\n [\n <QuestionContainer\n questionOrigin={parentContentTitle}\n questionText={questionText}\n answerUI={answerUI}\n disableContent={disabledContent}\n key=\"question-container\"\n />,\n <ValidateButton\n slideIndex={slideIndex}\n validateButton={validateButton}\n primarySkinColor={primarySkinColor}\n key=\"validate-button\"\n />,\n <CorrectionPopin\n correctionPopinProps={correctionPopinProps}\n slideIndex={slideIndex}\n showCorrectionPopin={showCorrectionPopin}\n animateCorrectionPopin={animateCorrectionPopin}\n key=\"correction-popin\"\n />\n ]\n )}\n </div>\n );\n};\n\nReviewSlide.propTypes = propTypes;\n\nexport default ReviewSlide;\n"],"mappings":";;AAAA,OAAOA,KAAP,IAAeC,OAAf,QAA6B,OAA7B;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,OAAOC,GAAP,MAAgB,eAAhB;AACA,OAAOC,KAAP,MAAkB,iBAAlB;AACA,OAAOC,MAAP,MAAmB,uBAAnB;AACA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,MAAP,MAAmB,mBAAnB;AACA,OAAOC,qBAAP,MAAkC,wCAAlC;AACA,SAAQC,kBAAR,QAAiC,qBAAjC;AACA,OAAOC,SAAP,MAAsB,cAAtB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,eAAe,GAAG,CAAC;EACvBC,oBADuB;EAEvBC,UAFuB;EAGvBC,mBAHuB;EAIvBC;AAJuB,CAAD,KAKlB;EACJ,IAAI,CAACD,mBAAL,EAA0B,OAAO,IAAP;EAE1B,MAAME,GAAG,GAAGb,KAAK,CAAC,EAAD,EAAK,KAAL,EAAYS,oBAAZ,CAAjB;EACA,MAAMK,WAAW,GAAGd,KAAK,CAAC;IAACe,KAAK,EAAE,EAAR;IAAYC,OAAO,EAAE;EAArB,CAAD,EAA2B,aAA3B,EAA0CP,oBAA1C,CAAzB;EACA,MAAMQ,IAAI,GAAGlB,GAAG,CAAC,MAAD,EAASU,oBAAT,CAAhB;EACA,MAAMS,OAAO,GAAGnB,GAAG,CAAC,CAAC,MAAD,EAAS,SAAT,CAAD,EAAsBU,oBAAtB,CAAnB;EAEA,MAAMU,qBAAqB,GAAG;IAC5BF,IAAI,EAAE;MACJC,OADI;MAEJH,KAAK,EAAEE,IAAI,IAAIA,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AAEA,eAAe2C,WAAf"}
|
|
@@ -9,6 +9,7 @@ export declare const SlidePropsTypes: PropTypes.Requireable<PropTypes.InferProps
|
|
|
9
9
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
10
10
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
11
11
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
12
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
12
13
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
13
14
|
questionText: PropTypes.Requireable<string>;
|
|
14
15
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -85,6 +86,7 @@ declare const propTypes: {
|
|
|
85
86
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
86
87
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
87
88
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
89
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
88
90
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
89
91
|
questionText: PropTypes.Requireable<string>;
|
|
90
92
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/organism/review-slide/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAuC,EACrC,0BAA0B,EAC3B,MAAM,mDAAmD,CAAC;AAC3D,OAAwB,EAAC,WAAW,EAAC,MAAM,kCAAkC,CAAC;AAE9E,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/organism/review-slide/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAuC,EACrC,0BAA0B,EAC3B,MAAM,mDAAmD,CAAC;AAC3D,OAAwB,EAAC,WAAW,EAAC,MAAM,kCAAkC,CAAC;AAE9E,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAY1B,CAAC;AAEH,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,UAAU,GAAG;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IACtC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,WAAW,CAAC;CACxB,CAAC;AAEF,oBAAY,gBAAgB,GAAG;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,UAAU,CAAC;IAClB,oBAAoB,CAAC,EAAE,0BAA0B,CAAC;IAClD,cAAc,EAAE;QACd,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,IAAI,CAAC;QACpB,QAAQ,EAAE,OAAO,CAAC;KACnB,CAAC;CACH,CAAC"}
|
|
@@ -10,6 +10,7 @@ export const SlidePropsTypes = PropTypes.shape({
|
|
|
10
10
|
isCorrect: PropTypes.bool,
|
|
11
11
|
animateCorrectionPopin: PropTypes.bool,
|
|
12
12
|
showCorrectionPopin: PropTypes.bool,
|
|
13
|
+
disableContent: PropTypes.bool,
|
|
13
14
|
parentContentTitle: PropTypes.string,
|
|
14
15
|
questionText: PropTypes.string,
|
|
15
16
|
answerUI: PropTypes.shape(AnswerPropTypes)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-types.js","names":["PropTypes","ReviewCorrectionPopinPropTypes","AnswerPropTypes","SlidePropsTypes","shape","position","number","loading","bool","loadingAriaLabel","string","animationType","isCorrect","animateCorrectionPopin","showCorrectionPopin","parentContentTitle","questionText","answerUI","propTypes","slideIndex","slide","validateButton","label","isRequired","onClick","func","disabled","correctionPopinProps","klf","information","next","resultLabel","type"],"sources":["../../../src/organism/review-slide/prop-types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport ReviewCorrectionPopinPropTypes, {\n ReviewCorrectionPopinProps\n} from '../../molecule/review-correction-popin/prop-types';\nimport AnswerPropTypes, {AnswerProps} from '../../molecule/answer/prop-types';\n\nexport const SlidePropsTypes = PropTypes.shape({\n position: PropTypes.number,\n loading: PropTypes.bool,\n loadingAriaLabel: PropTypes.string,\n animationType: PropTypes.string, // 'unstack' | 'restack'\n isCorrect: PropTypes.bool,\n animateCorrectionPopin: PropTypes.bool,\n showCorrectionPopin: PropTypes.bool,\n parentContentTitle: PropTypes.string,\n questionText: PropTypes.string,\n answerUI: PropTypes.shape(AnswerPropTypes)\n});\n\nconst propTypes = {\n slideIndex: PropTypes.string,\n slide: SlidePropsTypes,\n validateButton: PropTypes.shape({\n label: PropTypes.string.isRequired,\n onClick: PropTypes.func.isRequired,\n disabled: PropTypes.bool\n }),\n correctionPopinProps: PropTypes.shape({\n klf: ReviewCorrectionPopinPropTypes.klf,\n information: ReviewCorrectionPopinPropTypes.information,\n next: PropTypes.shape({\n label: PropTypes.string,\n 'aria-label': PropTypes.string // Pourquoi le onClick du next n'est pas ici !\n // updateSlidesOnNext: PropTypes.func.isRequired ???\n }),\n resultLabel: ReviewCorrectionPopinPropTypes.resultLabel,\n type: ReviewCorrectionPopinPropTypes.type\n })\n};\n\nexport default propTypes;\n\nexport type SlideProps = {\n position: number;\n loading: boolean;\n loadingAriaLabel?: string;\n animationType?: 'unstack' | 'restack';\n isCorrect?: boolean;\n animateCorrectionPopin?: boolean;\n showCorrectionPopin?: boolean;\n parentContentTitle?: string;\n questionText?: string;\n answerUI?: AnswerProps;\n};\n\nexport type ReviewSlideProps = {\n slideIndex: string;\n num: number;\n slide: SlideProps;\n correctionPopinProps?: ReviewCorrectionPopinProps;\n validateButton: {\n label: string;\n onClick: () => void;\n disabled: boolean;\n };\n};\n"],"mappings":"AAAA,OAAOA,SAAP,MAAsB,YAAtB;AACA,OAAOC,8BAAP,MAEO,mDAFP;AAGA,OAAOC,eAAP,MAA2C,kCAA3C;AAEA,OAAO,MAAMC,eAAe,GAAGH,SAAS,CAACI,KAAV,CAAgB;EAC7CC,QAAQ,EAAEL,SAAS,CAACM,MADyB;EAE7CC,OAAO,EAAEP,SAAS,CAACQ,IAF0B;EAG7CC,gBAAgB,EAAET,SAAS,CAACU,MAHiB;EAI7CC,aAAa,EAAEX,SAAS,CAACU,MAJoB;EAIZ;EACjCE,SAAS,EAAEZ,SAAS,CAACQ,IALwB;EAM7CK,sBAAsB,EAAEb,SAAS,CAACQ,IANW;EAO7CM,mBAAmB,EAAEd,SAAS,CAACQ,IAPc;EAQ7CO,
|
|
1
|
+
{"version":3,"file":"prop-types.js","names":["PropTypes","ReviewCorrectionPopinPropTypes","AnswerPropTypes","SlidePropsTypes","shape","position","number","loading","bool","loadingAriaLabel","string","animationType","isCorrect","animateCorrectionPopin","showCorrectionPopin","disableContent","parentContentTitle","questionText","answerUI","propTypes","slideIndex","slide","validateButton","label","isRequired","onClick","func","disabled","correctionPopinProps","klf","information","next","resultLabel","type"],"sources":["../../../src/organism/review-slide/prop-types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport ReviewCorrectionPopinPropTypes, {\n ReviewCorrectionPopinProps\n} from '../../molecule/review-correction-popin/prop-types';\nimport AnswerPropTypes, {AnswerProps} from '../../molecule/answer/prop-types';\n\nexport const SlidePropsTypes = PropTypes.shape({\n position: PropTypes.number,\n loading: PropTypes.bool,\n loadingAriaLabel: PropTypes.string,\n animationType: PropTypes.string, // 'unstack' | 'restack'\n isCorrect: PropTypes.bool,\n animateCorrectionPopin: PropTypes.bool,\n showCorrectionPopin: PropTypes.bool,\n disableContent: PropTypes.bool,\n parentContentTitle: PropTypes.string,\n questionText: PropTypes.string,\n answerUI: PropTypes.shape(AnswerPropTypes)\n});\n\nconst propTypes = {\n slideIndex: PropTypes.string,\n slide: SlidePropsTypes,\n validateButton: PropTypes.shape({\n label: PropTypes.string.isRequired,\n onClick: PropTypes.func.isRequired,\n disabled: PropTypes.bool\n }),\n correctionPopinProps: PropTypes.shape({\n klf: ReviewCorrectionPopinPropTypes.klf,\n information: ReviewCorrectionPopinPropTypes.information,\n next: PropTypes.shape({\n label: PropTypes.string,\n 'aria-label': PropTypes.string // Pourquoi le onClick du next n'est pas ici !\n // updateSlidesOnNext: PropTypes.func.isRequired ???\n }),\n resultLabel: ReviewCorrectionPopinPropTypes.resultLabel,\n type: ReviewCorrectionPopinPropTypes.type\n })\n};\n\nexport default propTypes;\n\nexport type SlideProps = {\n position: number;\n loading: boolean;\n loadingAriaLabel?: string;\n animationType?: 'unstack' | 'restack';\n isCorrect?: boolean;\n animateCorrectionPopin?: boolean;\n showCorrectionPopin?: boolean;\n parentContentTitle?: string;\n questionText?: string;\n answerUI?: AnswerProps;\n};\n\nexport type ReviewSlideProps = {\n slideIndex: string;\n num: number;\n slide: SlideProps;\n correctionPopinProps?: ReviewCorrectionPopinProps;\n validateButton: {\n label: string;\n onClick: () => void;\n disabled: boolean;\n };\n};\n"],"mappings":"AAAA,OAAOA,SAAP,MAAsB,YAAtB;AACA,OAAOC,8BAAP,MAEO,mDAFP;AAGA,OAAOC,eAAP,MAA2C,kCAA3C;AAEA,OAAO,MAAMC,eAAe,GAAGH,SAAS,CAACI,KAAV,CAAgB;EAC7CC,QAAQ,EAAEL,SAAS,CAACM,MADyB;EAE7CC,OAAO,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
32
32
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
33
33
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
34
34
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
35
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
35
36
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
36
37
|
questionText: PropTypes.Requireable<string>;
|
|
37
38
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -106,6 +107,7 @@ declare const propTypes: {
|
|
|
106
107
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
107
108
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
108
109
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
110
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
109
111
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
110
112
|
questionText: PropTypes.Requireable<string>;
|
|
111
113
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -180,6 +182,7 @@ declare const propTypes: {
|
|
|
180
182
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
181
183
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
182
184
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
185
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
183
186
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
184
187
|
questionText: PropTypes.Requireable<string>;
|
|
185
188
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -254,6 +257,7 @@ declare const propTypes: {
|
|
|
254
257
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
255
258
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
256
259
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
260
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
257
261
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
258
262
|
questionText: PropTypes.Requireable<string>;
|
|
259
263
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -328,6 +332,7 @@ declare const propTypes: {
|
|
|
328
332
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
329
333
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
330
334
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
335
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
331
336
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
332
337
|
questionText: PropTypes.Requireable<string>;
|
|
333
338
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/organism/review-stacked-slides/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAC,0BAA0B,EAAC,MAAM,mDAAmD,CAAC;AAE7F,OAA6B,EAC3B,gBAAgB,EAChB,UAAU,EAEX,MAAM,4BAA4B,CAAC;AAEpC,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/organism/review-stacked-slides/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAC,0BAA0B,EAAC,MAAM,mDAAmD,CAAC;AAE7F,OAA6B,EAC3B,gBAAgB,EAChB,UAAU,EAEX,MAAM,4BAA4B,CAAC;AAEpC,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,gBAAgB,GAAG;IAC7B,cAAc,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;IACnD,oBAAoB,CAAC,EAAE,0BAA0B,CAAC;IAClD,MAAM,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAA;KAAC,CAAC;IACpC,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC"}
|
|
@@ -92,6 +92,7 @@ declare const AppReview: {
|
|
|
92
92
|
isCorrect: import("prop-types").Requireable<boolean>;
|
|
93
93
|
animateCorrectionPopin: import("prop-types").Requireable<boolean>;
|
|
94
94
|
showCorrectionPopin: import("prop-types").Requireable<boolean>;
|
|
95
|
+
disableContent: import("prop-types").Requireable<boolean>;
|
|
95
96
|
parentContentTitle: import("prop-types").Requireable<string>;
|
|
96
97
|
questionText: import("prop-types").Requireable<string>;
|
|
97
98
|
answerUI: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
@@ -166,6 +167,7 @@ declare const AppReview: {
|
|
|
166
167
|
isCorrect: import("prop-types").Requireable<boolean>;
|
|
167
168
|
animateCorrectionPopin: import("prop-types").Requireable<boolean>;
|
|
168
169
|
showCorrectionPopin: import("prop-types").Requireable<boolean>;
|
|
170
|
+
disableContent: import("prop-types").Requireable<boolean>;
|
|
169
171
|
parentContentTitle: import("prop-types").Requireable<string>;
|
|
170
172
|
questionText: import("prop-types").Requireable<string>;
|
|
171
173
|
answerUI: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
@@ -240,6 +242,7 @@ declare const AppReview: {
|
|
|
240
242
|
isCorrect: import("prop-types").Requireable<boolean>;
|
|
241
243
|
animateCorrectionPopin: import("prop-types").Requireable<boolean>;
|
|
242
244
|
showCorrectionPopin: import("prop-types").Requireable<boolean>;
|
|
245
|
+
disableContent: import("prop-types").Requireable<boolean>;
|
|
243
246
|
parentContentTitle: import("prop-types").Requireable<string>;
|
|
244
247
|
questionText: import("prop-types").Requireable<string>;
|
|
245
248
|
answerUI: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
@@ -314,6 +317,7 @@ declare const AppReview: {
|
|
|
314
317
|
isCorrect: import("prop-types").Requireable<boolean>;
|
|
315
318
|
animateCorrectionPopin: import("prop-types").Requireable<boolean>;
|
|
316
319
|
showCorrectionPopin: import("prop-types").Requireable<boolean>;
|
|
320
|
+
disableContent: import("prop-types").Requireable<boolean>;
|
|
317
321
|
parentContentTitle: import("prop-types").Requireable<string>;
|
|
318
322
|
questionText: import("prop-types").Requireable<string>;
|
|
319
323
|
answerUI: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
@@ -388,6 +392,7 @@ declare const AppReview: {
|
|
|
388
392
|
isCorrect: import("prop-types").Requireable<boolean>;
|
|
389
393
|
animateCorrectionPopin: import("prop-types").Requireable<boolean>;
|
|
390
394
|
showCorrectionPopin: import("prop-types").Requireable<boolean>;
|
|
395
|
+
disableContent: import("prop-types").Requireable<boolean>;
|
|
391
396
|
parentContentTitle: import("prop-types").Requireable<string>;
|
|
392
397
|
questionText: import("prop-types").Requireable<string>;
|
|
393
398
|
answerUI: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/index.tsx"],"names":[],"mappings":";AAKA,OAAkB,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEvD,QAAA,MAAM,SAAS;+CAA4C,cAAc
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/index.tsx"],"names":[],"mappings":";AAKA,OAAkB,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEvD,QAAA,MAAM,SAAS;+CAA4C,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWxE,CAAC;AAIF,eAAe,SAAS,CAAC"}
|
|
@@ -48,6 +48,7 @@ declare const propTypes: {
|
|
|
48
48
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
49
49
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
50
50
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
51
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
51
52
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
52
53
|
questionText: PropTypes.Requireable<string>;
|
|
53
54
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -122,6 +123,7 @@ declare const propTypes: {
|
|
|
122
123
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
123
124
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
124
125
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
126
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
125
127
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
126
128
|
questionText: PropTypes.Requireable<string>;
|
|
127
129
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -196,6 +198,7 @@ declare const propTypes: {
|
|
|
196
198
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
197
199
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
198
200
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
201
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
199
202
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
200
203
|
questionText: PropTypes.Requireable<string>;
|
|
201
204
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -270,6 +273,7 @@ declare const propTypes: {
|
|
|
270
273
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
271
274
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
272
275
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
276
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
273
277
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
274
278
|
questionText: PropTypes.Requireable<string>;
|
|
275
279
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -344,6 +348,7 @@ declare const propTypes: {
|
|
|
344
348
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
345
349
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
346
350
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
351
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
347
352
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
348
353
|
questionText: PropTypes.Requireable<string>;
|
|
349
354
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../../src/template/app-review/player/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAgC,EAC9B,mBAAmB,EACpB,MAAM,8CAA8C,CAAC;AAGtD,OAA8B,EAAC,WAAW,EAAC,MAAM,uCAAuC,CAAC;AAEzF,OAA+B,EAC7B,gBAAgB,EACjB,MAAM,oDAAoD,CAAC;AAE5D,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../../src/template/app-review/player/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAgC,EAC9B,mBAAmB,EACpB,MAAM,8CAA8C,CAAC;AAGtD,OAA8B,EAAC,WAAW,EAAC,MAAM,uCAAuC,CAAC;AAEzF,OAA+B,EAC7B,gBAAgB,EACjB,MAAM,oDAAoD,CAAC;AAE5D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,iBAAiB,GAAG;IAC9B,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,gBAAgB,CAAC;IACxB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,SAAS,CAAC,EAAE,YAAY,CAAC;CAC1B,CAAC"}
|
|
@@ -100,6 +100,7 @@ declare const propTypes: {
|
|
|
100
100
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
101
101
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
102
102
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
103
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
103
104
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
104
105
|
questionText: PropTypes.Requireable<string>;
|
|
105
106
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -174,6 +175,7 @@ declare const propTypes: {
|
|
|
174
175
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
175
176
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
176
177
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
178
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
177
179
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
178
180
|
questionText: PropTypes.Requireable<string>;
|
|
179
181
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -248,6 +250,7 @@ declare const propTypes: {
|
|
|
248
250
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
249
251
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
250
252
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
253
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
251
254
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
252
255
|
questionText: PropTypes.Requireable<string>;
|
|
253
256
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -322,6 +325,7 @@ declare const propTypes: {
|
|
|
322
325
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
323
326
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
324
327
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
328
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
325
329
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
326
330
|
questionText: PropTypes.Requireable<string>;
|
|
327
331
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -396,6 +400,7 @@ declare const propTypes: {
|
|
|
396
400
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
397
401
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
398
402
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
403
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
399
404
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
400
405
|
questionText: PropTypes.Requireable<string>;
|
|
401
406
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,UAAU,MAAM,cAAc,CAAC;AAGtC,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAEtD,oBAAY,QAAQ,GAAG,QAAQ,GAAG,YAAY,GAAG,QAAQ,G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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/review-slide/index.js"],"names":[],"mappings":";AA4HA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/review-slide/index.js"],"names":[],"mappings":";AA4HA,sDA8CC"}
|
|
@@ -160,6 +160,7 @@ const ReviewSlide = props => {
|
|
|
160
160
|
loadingAriaLabel,
|
|
161
161
|
parentContentTitle,
|
|
162
162
|
questionText,
|
|
163
|
+
disabledContent,
|
|
163
164
|
answerUI,
|
|
164
165
|
showCorrectionPopin,
|
|
165
166
|
animateCorrectionPopin
|
|
@@ -175,7 +176,7 @@ const ReviewSlide = props => {
|
|
|
175
176
|
questionOrigin: parentContentTitle,
|
|
176
177
|
questionText: questionText,
|
|
177
178
|
answerUI: answerUI,
|
|
178
|
-
disableContent:
|
|
179
|
+
disableContent: disabledContent,
|
|
179
180
|
key: "question-container"
|
|
180
181
|
}), /*#__PURE__*/_react.default.createElement(ValidateButton, {
|
|
181
182
|
slideIndex: slideIndex,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["CorrectionPopin","correctionPopinProps","slideIndex","showCorrectionPopin","animateCorrectionPopin","klf","getOr","information","label","message","next","get","onClick","_correctionPopinProps","type","resultLabel","classnames","style","correctionPopinWrapper","popinAnimation","propTypes","PropTypes","string","bool","ValidateButton","validateButton","primarySkinColor","disabled","validateButtonProps","className","customStyle","backgroundColor","validateButtonWrapper","QuestionContainer","props","answerUI","questionText","questionOrigin","disableContent","slideContentContainer","disabledSlideContent","question","__html","help","answerContainer","shape","slide","ReviewSlide","skin","GetSkinFromContext","useMemo","loading","loadingAriaLabel","parentContentTitle","loader"],"sources":["../../../src/organism/review-slide/index.js"],"sourcesContent":["import React, {useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport get from 'lodash/fp/get';\nimport getOr from 'lodash/fp/getOr';\nimport Answer from '../../molecule/answer';\nimport ButtonLink from '../../atom/button-link';\nimport Loader from '../../atom/loader';\nimport ReviewCorrectionPopin from '../../molecule/review-correction-popin';\nimport {GetSkinFromContext} from '../../atom/provider';\nimport propTypes from './prop-types';\nimport style from './style.css';\n\nconst CorrectionPopin = ({\n correctionPopinProps,\n slideIndex,\n showCorrectionPopin,\n animateCorrectionPopin\n}) => {\n if (!showCorrectionPopin) return null;\n\n const klf = getOr({}, 'klf', correctionPopinProps);\n const information = getOr({label: '', message: ''}, 'information', correctionPopinProps);\n const next = get('next', correctionPopinProps);\n const onClick = get(['next', 'onClick'], correctionPopinProps);\n\n const _correctionPopinProps = {\n next: {\n onClick,\n label: next && next.label,\n 'data-name': `next-question-button-${slideIndex}`,\n 'aria-label': next && next['aria-label']\n },\n klf,\n information,\n type: correctionPopinProps.type,\n resultLabel: correctionPopinProps.resultLabel\n };\n\n return (\n <div\n className={classnames(\n style.correctionPopinWrapper,\n animateCorrectionPopin ? style.popinAnimation : null\n )}\n >\n <ReviewCorrectionPopin {..._correctionPopinProps} />\n </div>\n );\n};\n\nCorrectionPopin.propTypes = {\n slideIndex: PropTypes.string,\n showCorrectionPopin: PropTypes.bool,\n animateCorrectionPopin: PropTypes.bool,\n correctionPopinProps: propTypes.correctionPopinProps\n};\n\nconst ValidateButton = ({slideIndex, validateButton, primarySkinColor}) => {\n const {label, onClick, disabled} = validateButton;\n const validateButtonProps = {\n type: 'primary',\n label,\n 'aria-label': label,\n 'data-name': `slide-validate-button-${slideIndex}`,\n onClick,\n disabled,\n className: style.validateButton,\n customStyle: {\n backgroundColor: primarySkinColor\n }\n };\n\n return (\n <div key=\"button-wrapper\" className={style.validateButtonWrapper}>\n <ButtonLink {...validateButtonProps} />\n </div>\n );\n};\n\nValidateButton.propTypes = {\n slideIndex: PropTypes.string,\n validateButton: propTypes.validateButton,\n primarySkinColor: PropTypes.string\n};\n\nconst QuestionContainer = props => {\n const {answerUI, questionText, questionOrigin, disableContent} = props;\n if (!answerUI || !questionText) return null;\n\n return (\n <div\n key=\"content-container\"\n className={classnames(\n style.slideContentContainer,\n disableContent ? style.disabledSlideContent : null\n )}\n >\n <div key=\"from-course\" className={style.questionOrigin}>\n {questionOrigin}\n </div>\n <div\n key=\"title\"\n className={style.question}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: questionText}}\n />\n <div key=\"help\" className={style.help}>\n {get('help', answerUI)}\n </div>\n <div key=\"answer-container\" className={style.answerContainer}>\n <Answer {...answerUI} key=\"answer\" />\n </div>\n </div>\n );\n};\n\nQuestionContainer.propTypes = {\n answerUI: PropTypes.shape(propTypes.slide.answerUI),\n questionText: PropTypes.string,\n questionOrigin: PropTypes.string,\n disableContent: PropTypes.bool\n};\n\nconst ReviewSlide = props => {\n const {slide, validateButton, correctionPopinProps, slideIndex = '0'} = props;\n\n const skin = GetSkinFromContext();\n const primarySkinColor = useMemo(() => getOr('#00B0FF', 'common.primary', skin), [skin]);\n const {\n loading,\n loadingAriaLabel,\n parentContentTitle,\n questionText,\n answerUI,\n showCorrectionPopin,\n animateCorrectionPopin\n } = slide;\n\n return (\n <div data-name={`slide-container`} className={style.slide}>\n {loading ? (\n <Loader className={style.loader} theme=\"default\" aria-label={loadingAriaLabel} />\n ) : (\n [\n <QuestionContainer\n questionOrigin={parentContentTitle}\n questionText={questionText}\n answerUI={answerUI}\n disableContent={
|
|
1
|
+
{"version":3,"file":"index.js","names":["CorrectionPopin","correctionPopinProps","slideIndex","showCorrectionPopin","animateCorrectionPopin","klf","getOr","information","label","message","next","get","onClick","_correctionPopinProps","type","resultLabel","classnames","style","correctionPopinWrapper","popinAnimation","propTypes","PropTypes","string","bool","ValidateButton","validateButton","primarySkinColor","disabled","validateButtonProps","className","customStyle","backgroundColor","validateButtonWrapper","QuestionContainer","props","answerUI","questionText","questionOrigin","disableContent","slideContentContainer","disabledSlideContent","question","__html","help","answerContainer","shape","slide","ReviewSlide","skin","GetSkinFromContext","useMemo","loading","loadingAriaLabel","parentContentTitle","disabledContent","loader"],"sources":["../../../src/organism/review-slide/index.js"],"sourcesContent":["import React, {useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport get from 'lodash/fp/get';\nimport getOr from 'lodash/fp/getOr';\nimport Answer from '../../molecule/answer';\nimport ButtonLink from '../../atom/button-link';\nimport Loader from '../../atom/loader';\nimport ReviewCorrectionPopin from '../../molecule/review-correction-popin';\nimport {GetSkinFromContext} from '../../atom/provider';\nimport propTypes from './prop-types';\nimport style from './style.css';\n\nconst CorrectionPopin = ({\n correctionPopinProps,\n slideIndex,\n showCorrectionPopin,\n animateCorrectionPopin\n}) => {\n if (!showCorrectionPopin) return null;\n\n const klf = getOr({}, 'klf', correctionPopinProps);\n const information = getOr({label: '', message: ''}, 'information', correctionPopinProps);\n const next = get('next', correctionPopinProps);\n const onClick = get(['next', 'onClick'], correctionPopinProps);\n\n const _correctionPopinProps = {\n next: {\n onClick,\n label: next && next.label,\n 'data-name': `next-question-button-${slideIndex}`,\n 'aria-label': next && next['aria-label']\n },\n klf,\n information,\n type: correctionPopinProps.type,\n resultLabel: correctionPopinProps.resultLabel\n };\n\n return (\n <div\n className={classnames(\n style.correctionPopinWrapper,\n animateCorrectionPopin ? style.popinAnimation : null\n )}\n >\n <ReviewCorrectionPopin {..._correctionPopinProps} />\n </div>\n );\n};\n\nCorrectionPopin.propTypes = {\n slideIndex: PropTypes.string,\n showCorrectionPopin: PropTypes.bool,\n animateCorrectionPopin: PropTypes.bool,\n correctionPopinProps: propTypes.correctionPopinProps\n};\n\nconst ValidateButton = ({slideIndex, validateButton, primarySkinColor}) => {\n const {label, onClick, disabled} = validateButton;\n const validateButtonProps = {\n type: 'primary',\n label,\n 'aria-label': label,\n 'data-name': `slide-validate-button-${slideIndex}`,\n onClick,\n disabled,\n className: style.validateButton,\n customStyle: {\n backgroundColor: primarySkinColor\n }\n };\n\n return (\n <div key=\"button-wrapper\" className={style.validateButtonWrapper}>\n <ButtonLink {...validateButtonProps} />\n </div>\n );\n};\n\nValidateButton.propTypes = {\n slideIndex: PropTypes.string,\n validateButton: propTypes.validateButton,\n primarySkinColor: PropTypes.string\n};\n\nconst QuestionContainer = props => {\n const {answerUI, questionText, questionOrigin, disableContent} = props;\n if (!answerUI || !questionText) return null;\n\n return (\n <div\n key=\"content-container\"\n className={classnames(\n style.slideContentContainer,\n disableContent ? style.disabledSlideContent : null\n )}\n >\n <div key=\"from-course\" className={style.questionOrigin}>\n {questionOrigin}\n </div>\n <div\n key=\"title\"\n className={style.question}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: questionText}}\n />\n <div key=\"help\" className={style.help}>\n {get('help', answerUI)}\n </div>\n <div key=\"answer-container\" className={style.answerContainer}>\n <Answer {...answerUI} key=\"answer\" />\n </div>\n </div>\n );\n};\n\nQuestionContainer.propTypes = {\n answerUI: PropTypes.shape(propTypes.slide.answerUI),\n questionText: PropTypes.string,\n questionOrigin: PropTypes.string,\n disableContent: PropTypes.bool\n};\n\nconst ReviewSlide = props => {\n const {slide, validateButton, correctionPopinProps, slideIndex = '0'} = props;\n\n const skin = GetSkinFromContext();\n const primarySkinColor = useMemo(() => getOr('#00B0FF', 'common.primary', skin), [skin]);\n const {\n loading,\n loadingAriaLabel,\n parentContentTitle,\n questionText,\n disabledContent,\n answerUI,\n showCorrectionPopin,\n animateCorrectionPopin\n } = slide;\n\n return (\n <div data-name={`slide-container`} className={style.slide}>\n {loading ? (\n <Loader className={style.loader} theme=\"default\" aria-label={loadingAriaLabel} />\n ) : (\n [\n <QuestionContainer\n questionOrigin={parentContentTitle}\n questionText={questionText}\n answerUI={answerUI}\n disableContent={disabledContent}\n key=\"question-container\"\n />,\n <ValidateButton\n slideIndex={slideIndex}\n validateButton={validateButton}\n primarySkinColor={primarySkinColor}\n key=\"validate-button\"\n />,\n <CorrectionPopin\n correctionPopinProps={correctionPopinProps}\n slideIndex={slideIndex}\n showCorrectionPopin={showCorrectionPopin}\n animateCorrectionPopin={animateCorrectionPopin}\n key=\"correction-popin\"\n />\n ]\n )}\n </div>\n );\n};\n\nReviewSlide.propTypes = propTypes;\n\nexport default ReviewSlide;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;AAEA,MAAMA,eAAe,GAAG,CAAC;EACvBC,oBADuB;EAEvBC,UAFuB;EAGvBC,mBAHuB;EAIvBC;AAJuB,CAAD,KAKlB;EACJ,IAAI,CAACD,mBAAL,EAA0B,OAAO,IAAP;EAE1B,MAAME,GAAG,GAAG,IAAAC,cAAA,EAAM,EAAN,EAAU,KAAV,EAAiBL,oBAAjB,CAAZ;EACA,MAAMM,WAAW,GAAG,IAAAD,cAAA,EAAM;IAACE,KAAK,EAAE,EAAR;IAAYC,OAAO,EAAE;EAArB,CAAN,EAAgC,aAAhC,EAA+CR,oBAA/C,CAApB;EACA,MAAMS,IAAI,GAAG,IAAAC,YAAA,EAAI,MAAJ,EAAYV,oBAAZ,CAAb;EACA,MAAMW,OAAO,GAAG,IAAAD,YAAA,EAAI,CAAC,MAAD,EAAS,SAAT,CAAJ,EAAyBV,oB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AmB,EAAEC,mBAHvB;IAIE,sBAAsB,EAAEC,sBAJ1B;IAKE,GAAG,EAAC;EALN,EAdF,CAJJ,CADF;AA8BD,CA9CD;;AAgDA2C,WAAW,CAAC3B,SAAZ,2CAAwBA,mBAAxB;eAEe2B,W"}
|
|
@@ -9,6 +9,7 @@ export declare const SlidePropsTypes: PropTypes.Requireable<PropTypes.InferProps
|
|
|
9
9
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
10
10
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
11
11
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
12
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
12
13
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
13
14
|
questionText: PropTypes.Requireable<string>;
|
|
14
15
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -85,6 +86,7 @@ declare const propTypes: {
|
|
|
85
86
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
86
87
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
87
88
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
89
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
88
90
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
89
91
|
questionText: PropTypes.Requireable<string>;
|
|
90
92
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/organism/review-slide/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAuC,EACrC,0BAA0B,EAC3B,MAAM,mDAAmD,CAAC;AAC3D,OAAwB,EAAC,WAAW,EAAC,MAAM,kCAAkC,CAAC;AAE9E,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/organism/review-slide/prop-types.ts"],"names":[],"mappings":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orrect: _propTypes.default.bool,
|
|
21
21
|
animateCorrectionPopin: _propTypes.default.bool,
|
|
22
22
|
showCorrectionPopin: _propTypes.default.bool,
|
|
23
|
+
disableContent: _propTypes.default.bool,
|
|
23
24
|
parentContentTitle: _propTypes.default.string,
|
|
24
25
|
questionText: _propTypes.default.string,
|
|
25
26
|
answerUI: _propTypes.default.shape(_propTypes3.default)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-types.js","names":["SlidePropsTypes","PropTypes","shape","position","number","loading","bool","loadingAriaLabel","string","animationType","isCorrect","animateCorrectionPopin","showCorrectionPopin","parentContentTitle","questionText","answerUI","AnswerPropTypes","propTypes","slideIndex","slide","validateButton","label","isRequired","onClick","func","disabled","correctionPopinProps","klf","ReviewCorrectionPopinPropTypes","information","next","resultLabel","type"],"sources":["../../../src/organism/review-slide/prop-types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport ReviewCorrectionPopinPropTypes, {\n ReviewCorrectionPopinProps\n} from '../../molecule/review-correction-popin/prop-types';\nimport AnswerPropTypes, {AnswerProps} from '../../molecule/answer/prop-types';\n\nexport const SlidePropsTypes = PropTypes.shape({\n position: PropTypes.number,\n loading: PropTypes.bool,\n loadingAriaLabel: PropTypes.string,\n animationType: PropTypes.string, // 'unstack' | 'restack'\n isCorrect: PropTypes.bool,\n animateCorrectionPopin: PropTypes.bool,\n showCorrectionPopin: PropTypes.bool,\n parentContentTitle: PropTypes.string,\n questionText: PropTypes.string,\n answerUI: PropTypes.shape(AnswerPropTypes)\n});\n\nconst propTypes = {\n slideIndex: PropTypes.string,\n slide: SlidePropsTypes,\n validateButton: PropTypes.shape({\n label: PropTypes.string.isRequired,\n onClick: PropTypes.func.isRequired,\n disabled: PropTypes.bool\n }),\n correctionPopinProps: PropTypes.shape({\n klf: ReviewCorrectionPopinPropTypes.klf,\n information: ReviewCorrectionPopinPropTypes.information,\n next: PropTypes.shape({\n label: PropTypes.string,\n 'aria-label': PropTypes.string // Pourquoi le onClick du next n'est pas ici !\n // updateSlidesOnNext: PropTypes.func.isRequired ???\n }),\n resultLabel: ReviewCorrectionPopinPropTypes.resultLabel,\n type: ReviewCorrectionPopinPropTypes.type\n })\n};\n\nexport default propTypes;\n\nexport type SlideProps = {\n position: number;\n loading: boolean;\n loadingAriaLabel?: string;\n animationType?: 'unstack' | 'restack';\n isCorrect?: boolean;\n animateCorrectionPopin?: boolean;\n showCorrectionPopin?: boolean;\n parentContentTitle?: string;\n questionText?: string;\n answerUI?: AnswerProps;\n};\n\nexport type ReviewSlideProps = {\n slideIndex: string;\n num: number;\n slide: SlideProps;\n correctionPopinProps?: ReviewCorrectionPopinProps;\n validateButton: {\n label: string;\n onClick: () => void;\n disabled: boolean;\n };\n};\n"],"mappings":";;;;;AAAA;;AACA;;AAGA;;;;AAEO,MAAMA,eAAe,GAAGC,kBAAA,CAAUC,KAAV,CAAgB;EAC7CC,QAAQ,EAAEF,kBAAA,CAAUG,MADyB;EAE7CC,OAAO,EAAEJ,kBAAA,CAAUK,IAF0B;EAG7CC,gBAAgB,EAAEN,kBAAA,CAAUO,MAHiB;EAI7CC,aAAa,EAAER,kBAAA,CAAUO,MAJoB;EAIZ;EACjCE,SAAS,EAAET,kBAAA,CAAUK,IALwB;EAM7CK,sBAAsB,EAAEV,kBAAA,CAAUK,IANW;EAO7CM,mBAAmB,EAAEX,kBAAA,CAAUK,IAPc;EAQ7CO,
|
|
1
|
+
{"version":3,"file":"prop-types.js","names":["SlidePropsTypes","PropTypes","shape","position","number","loading","bool","loadingAriaLabel","string","animationType","isCorrect","animateCorrectionPopin","showCorrectionPopin","disableContent","parentContentTitle","questionText","answerUI","AnswerPropTypes","propTypes","slideIndex","slide","validateButton","label","isRequired","onClick","func","disabled","correctionPopinProps","klf","ReviewCorrectionPopinPropTypes","information","next","resultLabel","type"],"sources":["../../../src/organism/review-slide/prop-types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\nimport ReviewCorrectionPopinPropTypes, {\n ReviewCorrectionPopinProps\n} from '../../molecule/review-correction-popin/prop-types';\nimport AnswerPropTypes, {AnswerProps} from '../../molecule/answer/prop-types';\n\nexport const SlidePropsTypes = PropTypes.shape({\n position: PropTypes.number,\n loading: PropTypes.bool,\n loadingAriaLabel: PropTypes.string,\n animationType: PropTypes.string, // 'unstack' | 'restack'\n isCorrect: PropTypes.bool,\n animateCorrectionPopin: PropTypes.bool,\n showCorrectionPopin: PropTypes.bool,\n disableContent: PropTypes.bool,\n parentContentTitle: PropTypes.string,\n questionText: PropTypes.string,\n answerUI: PropTypes.shape(AnswerPropTypes)\n});\n\nconst propTypes = {\n slideIndex: PropTypes.string,\n slide: SlidePropsTypes,\n validateButton: PropTypes.shape({\n label: PropTypes.string.isRequired,\n onClick: PropTypes.func.isRequired,\n disabled: PropTypes.bool\n }),\n correctionPopinProps: PropTypes.shape({\n klf: ReviewCorrectionPopinPropTypes.klf,\n information: ReviewCorrectionPopinPropTypes.information,\n next: PropTypes.shape({\n label: PropTypes.string,\n 'aria-label': PropTypes.string // Pourquoi le onClick du next n'est pas ici !\n // updateSlidesOnNext: PropTypes.func.isRequired ???\n }),\n resultLabel: ReviewCorrectionPopinPropTypes.resultLabel,\n type: ReviewCorrectionPopinPropTypes.type\n })\n};\n\nexport default propTypes;\n\nexport type SlideProps = {\n position: number;\n loading: boolean;\n loadingAriaLabel?: string;\n animationType?: 'unstack' | 'restack';\n isCorrect?: boolean;\n animateCorrectionPopin?: boolean;\n showCorrectionPopin?: boolean;\n parentContentTitle?: string;\n questionText?: string;\n answerUI?: AnswerProps;\n};\n\nexport type ReviewSlideProps = {\n slideIndex: string;\n num: number;\n slide: SlideProps;\n correctionPopinProps?: ReviewCorrectionPopinProps;\n validateButton: {\n label: string;\n onClick: () => void;\n disabled: boolean;\n };\n};\n"],"mappings":";;;;;AAAA;;AACA;;AAGA;;;;AAEO,MAAMA,eAAe,GAAGC,kBAAA,CAAUC,KAAV,CAAgB;EAC7CC,QAAQ,EAAEF,kBAAA,CAA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
|
@@ -32,6 +32,7 @@ declare const propTypes: {
|
|
|
32
32
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
33
33
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
34
34
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
35
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
35
36
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
36
37
|
questionText: PropTypes.Requireable<string>;
|
|
37
38
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -106,6 +107,7 @@ declare const propTypes: {
|
|
|
106
107
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
107
108
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
108
109
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
110
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
109
111
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
110
112
|
questionText: PropTypes.Requireable<string>;
|
|
111
113
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -180,6 +182,7 @@ declare const propTypes: {
|
|
|
180
182
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
181
183
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
182
184
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
185
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
183
186
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
184
187
|
questionText: PropTypes.Requireable<string>;
|
|
185
188
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -254,6 +257,7 @@ declare const propTypes: {
|
|
|
254
257
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
255
258
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
256
259
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
260
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
257
261
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
258
262
|
questionText: PropTypes.Requireable<string>;
|
|
259
263
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -328,6 +332,7 @@ declare const propTypes: {
|
|
|
328
332
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
329
333
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
330
334
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
335
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
331
336
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
332
337
|
questionText: PropTypes.Requireable<string>;
|
|
333
338
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/organism/review-stacked-slides/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAC,0BAA0B,EAAC,MAAM,mDAAmD,CAAC;AAE7F,OAA6B,EAC3B,gBAAgB,EAChB,UAAU,EAEX,MAAM,4BAA4B,CAAC;AAEpC,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/organism/review-stacked-slides/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAC,0BAA0B,EAAC,MAAM,mDAAmD,CAAC;AAE7F,OAA6B,EAC3B,gBAAgB,EAChB,UAAU,EAEX,MAAM,4BAA4B,CAAC;AAEpC,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,gBAAgB,GAAG;IAC7B,cAAc,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;IACnD,oBAAoB,CAAC,EAAE,0BAA0B,CAAC;IAClD,MAAM,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAA;KAAC,CAAC;IACpC,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC"}
|
|
@@ -92,6 +92,7 @@ declare const AppReview: {
|
|
|
92
92
|
isCorrect: import("prop-types").Requireable<boolean>;
|
|
93
93
|
animateCorrectionPopin: import("prop-types").Requireable<boolean>;
|
|
94
94
|
showCorrectionPopin: import("prop-types").Requireable<boolean>;
|
|
95
|
+
disableContent: import("prop-types").Requireable<boolean>;
|
|
95
96
|
parentContentTitle: import("prop-types").Requireable<string>;
|
|
96
97
|
questionText: import("prop-types").Requireable<string>;
|
|
97
98
|
answerUI: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
@@ -166,6 +167,7 @@ declare const AppReview: {
|
|
|
166
167
|
isCorrect: import("prop-types").Requireable<boolean>;
|
|
167
168
|
animateCorrectionPopin: import("prop-types").Requireable<boolean>;
|
|
168
169
|
showCorrectionPopin: import("prop-types").Requireable<boolean>;
|
|
170
|
+
disableContent: import("prop-types").Requireable<boolean>;
|
|
169
171
|
parentContentTitle: import("prop-types").Requireable<string>;
|
|
170
172
|
questionText: import("prop-types").Requireable<string>;
|
|
171
173
|
answerUI: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
@@ -240,6 +242,7 @@ declare const AppReview: {
|
|
|
240
242
|
isCorrect: import("prop-types").Requireable<boolean>;
|
|
241
243
|
animateCorrectionPopin: import("prop-types").Requireable<boolean>;
|
|
242
244
|
showCorrectionPopin: import("prop-types").Requireable<boolean>;
|
|
245
|
+
disableContent: import("prop-types").Requireable<boolean>;
|
|
243
246
|
parentContentTitle: import("prop-types").Requireable<string>;
|
|
244
247
|
questionText: import("prop-types").Requireable<string>;
|
|
245
248
|
answerUI: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
@@ -314,6 +317,7 @@ declare const AppReview: {
|
|
|
314
317
|
isCorrect: import("prop-types").Requireable<boolean>;
|
|
315
318
|
animateCorrectionPopin: import("prop-types").Requireable<boolean>;
|
|
316
319
|
showCorrectionPopin: import("prop-types").Requireable<boolean>;
|
|
320
|
+
disableContent: import("prop-types").Requireable<boolean>;
|
|
317
321
|
parentContentTitle: import("prop-types").Requireable<string>;
|
|
318
322
|
questionText: import("prop-types").Requireable<string>;
|
|
319
323
|
answerUI: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
@@ -388,6 +392,7 @@ declare const AppReview: {
|
|
|
388
392
|
isCorrect: import("prop-types").Requireable<boolean>;
|
|
389
393
|
animateCorrectionPopin: import("prop-types").Requireable<boolean>;
|
|
390
394
|
showCorrectionPopin: import("prop-types").Requireable<boolean>;
|
|
395
|
+
disableContent: import("prop-types").Requireable<boolean>;
|
|
391
396
|
parentContentTitle: import("prop-types").Requireable<string>;
|
|
392
397
|
questionText: import("prop-types").Requireable<string>;
|
|
393
398
|
answerUI: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/index.tsx"],"names":[],"mappings":";AAKA,OAAkB,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEvD,QAAA,MAAM,SAAS;+CAA4C,cAAc
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/index.tsx"],"names":[],"mappings":";AAKA,OAAkB,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEvD,QAAA,MAAM,SAAS;+CAA4C,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWxE,CAAC;AAIF,eAAe,SAAS,CAAC"}
|
|
@@ -48,6 +48,7 @@ declare const propTypes: {
|
|
|
48
48
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
49
49
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
50
50
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
51
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
51
52
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
52
53
|
questionText: PropTypes.Requireable<string>;
|
|
53
54
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -122,6 +123,7 @@ declare const propTypes: {
|
|
|
122
123
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
123
124
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
124
125
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
126
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
125
127
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
126
128
|
questionText: PropTypes.Requireable<string>;
|
|
127
129
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -196,6 +198,7 @@ declare const propTypes: {
|
|
|
196
198
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
197
199
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
198
200
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
201
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
199
202
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
200
203
|
questionText: PropTypes.Requireable<string>;
|
|
201
204
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -270,6 +273,7 @@ declare const propTypes: {
|
|
|
270
273
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
271
274
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
272
275
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
276
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
273
277
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
274
278
|
questionText: PropTypes.Requireable<string>;
|
|
275
279
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -344,6 +348,7 @@ declare const propTypes: {
|
|
|
344
348
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
345
349
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
346
350
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
351
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
347
352
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
348
353
|
questionText: PropTypes.Requireable<string>;
|
|
349
354
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../../src/template/app-review/player/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAgC,EAC9B,mBAAmB,EACpB,MAAM,8CAA8C,CAAC;AAGtD,OAA8B,EAAC,WAAW,EAAC,MAAM,uCAAuC,CAAC;AAEzF,OAA+B,EAC7B,gBAAgB,EACjB,MAAM,oDAAoD,CAAC;AAE5D,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../../src/template/app-review/player/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAgC,EAC9B,mBAAmB,EACpB,MAAM,8CAA8C,CAAC;AAGtD,OAA8B,EAAC,WAAW,EAAC,MAAM,uCAAuC,CAAC;AAEzF,OAA+B,EAC7B,gBAAgB,EACjB,MAAM,oDAAoD,CAAC;AAE5D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,iBAAiB,GAAG;IAC9B,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,gBAAgB,CAAC;IACxB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,SAAS,CAAC,EAAE,YAAY,CAAC;CAC1B,CAAC"}
|
|
@@ -100,6 +100,7 @@ declare const propTypes: {
|
|
|
100
100
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
101
101
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
102
102
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
103
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
103
104
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
104
105
|
questionText: PropTypes.Requireable<string>;
|
|
105
106
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -174,6 +175,7 @@ declare const propTypes: {
|
|
|
174
175
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
175
176
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
176
177
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
178
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
177
179
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
178
180
|
questionText: PropTypes.Requireable<string>;
|
|
179
181
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -248,6 +250,7 @@ declare const propTypes: {
|
|
|
248
250
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
249
251
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
250
252
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
253
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
251
254
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
252
255
|
questionText: PropTypes.Requireable<string>;
|
|
253
256
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -322,6 +325,7 @@ declare const propTypes: {
|
|
|
322
325
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
323
326
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
324
327
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
328
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
325
329
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
326
330
|
questionText: PropTypes.Requireable<string>;
|
|
327
331
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -396,6 +400,7 @@ declare const propTypes: {
|
|
|
396
400
|
isCorrect: PropTypes.Requireable<boolean>;
|
|
397
401
|
animateCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
398
402
|
showCorrectionPopin: PropTypes.Requireable<boolean>;
|
|
403
|
+
disableContent: PropTypes.Requireable<boolean>;
|
|
399
404
|
parentContentTitle: PropTypes.Requireable<string>;
|
|
400
405
|
questionText: PropTypes.Requireable<string>;
|
|
401
406
|
answerUI: PropTypes.Requireable<PropTypes.InferProps<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,UAAU,MAAM,cAAc,CAAC;AAGtC,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAEtD,oBAAY,QAAQ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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coorpacademy/components",
|
|
3
|
-
"version": "10.29.
|
|
3
|
+
"version": "10.29.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -157,5 +157,5 @@
|
|
|
157
157
|
"last 2 versions",
|
|
158
158
|
"IE 11"
|
|
159
159
|
],
|
|
160
|
-
"gitHead": "
|
|
160
|
+
"gitHead": "6c47db2b4f14131249c57d399e67b5e01b4c0593"
|
|
161
161
|
}
|