@pie-element/ebsr 12.3.4-next.3 → 13.0.0-beta.0
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/configure/lib/defaults.js +23 -36
- package/configure/lib/defaults.js.map +1 -1
- package/configure/lib/index.js +114 -202
- package/configure/lib/index.js.map +1 -1
- package/configure/lib/main.js +188 -271
- package/configure/lib/main.js.map +1 -1
- package/configure/node_modules/@pie-element/multiple-choice/CHANGELOG.json +1972 -0
- package/configure/node_modules/@pie-element/multiple-choice/CHANGELOG.md +4213 -0
- package/configure/node_modules/@pie-element/multiple-choice/PRINT.md +35 -0
- package/configure/node_modules/@pie-element/multiple-choice/README.md +56 -0
- package/configure/node_modules/@pie-element/multiple-choice/choice.png +0 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/CHANGELOG.json +1387 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/CHANGELOG.md +3351 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/__tests__/root.test.js +248 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/defaults.js +200 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/defaults.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/index.js +211 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/index.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/main.js +477 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/main.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/utils.js +18 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/utils.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/package.json +22 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/CHANGELOG.json +527 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/CHANGELOG.md +2316 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/__tests__/index.test.js +520 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/__tests__/utils.test.js +8 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/defaults.js +33 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/defaults.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/index.js +251 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/index.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/utils.js +16 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/utils.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/controller/package.json +15 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/config-schema.json +2993 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/config-schema.json.md +2217 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/demo/config.js +8 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/demo/generate.js +61 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/demo/index.html +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/demo/pie.manifest.json +11 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/demo/session.js +7 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/pie-schema.json +1332 -0
- package/configure/node_modules/@pie-element/multiple-choice/docs/pie-schema.json.md +1015 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/__tests__/choice-input-test.js +117 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/__tests__/index-test.js +151 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/__tests__/key-events-test.js +95 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/__tests__/multiple-choice-test.js +223 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/__tests__/session-updater-test.js +70 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/choice-input.js +370 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/choice-input.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/choice.js +197 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/choice.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/feedback-tick.js +130 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/feedback-tick.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/index.js +292 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/index.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/main.js +54 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/main.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/multiple-choice.js +386 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/multiple-choice.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/print.js +92 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/print.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/session-updater.js +37 -0
- package/configure/node_modules/@pie-element/multiple-choice/lib/session-updater.js.map +1 -0
- package/configure/node_modules/@pie-element/multiple-choice/package.json +39 -0
- package/configure/package.json +9 -6
- package/configure/src/__tests__/index.test.js +99 -108
- package/configure/src/index.js +13 -6
- package/configure/src/main.jsx +14 -18
- package/controller/lib/defaults.js +20 -32
- package/controller/lib/defaults.js.map +1 -1
- package/controller/lib/index.js +224 -349
- package/controller/lib/index.js.map +1 -1
- package/controller/lib/utils.js +4 -18
- package/controller/lib/utils.js.map +1 -1
- package/controller/package.json +3 -3
- package/lib/index.js +113 -181
- package/lib/index.js.map +1 -1
- package/lib/print.js +120 -204
- package/lib/print.js.map +1 -1
- package/package.json +5 -13
- package/src/__tests__/index.test.js +18 -5
- package/configure/src/__tests__/__snapshots__/index.test.js.snap +0 -83
- package/esm/configure.js +0 -12003
- package/esm/configure.js.map +0 -1
- package/esm/controller.js +0 -3358
- package/esm/controller.js.map +0 -1
- package/esm/element.js +0 -2203
- package/esm/element.js.map +0 -1
- package/esm/package.json +0 -3
- package/esm/print.js +0 -4092
- package/esm/print.js.map +0 -1
- package/module/configure.js +0 -1
- package/module/controller.js +0 -6469
- package/module/demo.js +0 -77
- package/module/element.js +0 -1
- package/module/index.html +0 -21
- package/module/manifest.json +0 -14
- package/module/print-demo.js +0 -115
- package/module/print.html +0 -18
- package/module/print.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"main.js","names":["_react","_interopRequireDefault","require","_propTypes","_styles","_editableHtml","_configUi","_renderUi","_Button","_Tooltip","_Typography","_Box","_Info","_merge","_utils","Panel","toggle","radio","dropdown","settings","MAX_CHOICES","PromptHolder","styled","InputContainer","theme","width","paddingTop","spacing","marginBottom","RationaleHolder","flex","marginTop","marginLeft","ChoiceConfigurationHolder","display","flexDirection","AddButton","Button","float","DisableButton","cursor","pointerEvents","backgroundColor","color","disabled","FlexContainer","Box","alignItems","TitleText","Typography","fontSize","typography","marginRight","StyledTooltip","Tooltip","whiteSpace","maxWidth","ErrorText","palette","error","main","Design","props","model","configuration","onPromptChanged","onChoiceChanged","onRemoveChoice","onAddChoice","imageSupport","uploadSoundSupport","onChangeModel","onConfigurationChanged","onTeacherInstructionsChanged","addChoiceButton","contentDimensions","feedback","deleteChoice","choiceMode","choicePrefix","partialScoring","lockChoiceOrder","teacherInstructions","studentInstructions","rationale","scoringType","sequentialChoiceLabels","settingsPanelDisabled","choicesLayout","spellCheck","gridColumns","maxImageWidth","maxImageHeight","prompt","withRubric","mathMlOptions","language","languageChoices","maxAnswerChoices","limitChoicesNumber","teacherInstructionsEnabled","rationaleEnabled","feedbackEnabled","promptEnabled","spellCheckEnabled","choices","errors","toolbarEditorPosition","extraCSSRules","answerChoices","answerChoicesError","choicesErrors","correctResponse","correctResponseError","promptError","rationaleErrors","teacherInstructionsError","nrOfColumnsAvailable","length","Array","from","_","i","baseInputConfiguration","toolbarOpts","position","getPluginProps","validationMessage","generateValidationMessage","defaultImageMaxWidth","defaultImageMaxHeight","addChoiceButtonTooltip","panelSettings","label","enabled","options","panelProperties","studentInstructionsEnabled","rubricEnabled","default","createElement","layout","ConfigLayout","dimensions","hideSettings","classes","onChangeConfiguration","groups","Settings","Properties","markup","onChange","nonEmpty","disableUnderline","pluginProps","inputConfiguration","languageCharactersProps","component","disableFocusListener","disableTouchListener","placement","title","map","choice","index","key","ChoiceConfiguration","useLetterOrdering","mode","data","defaultFeedback","disableImageAlignmentButtons","onDelete","c","allowFeedBack","allowDelete","noLabels","pluginOpts","value","noCorrectAnswerError","variant","onClick","Main","React","Component","constructor","args","_defineProperty2","showWarning","onModelChanged","minAnswerChoices","setState","splice","push","utils","firstAvailableIndex","type","correct","merge","correctFound","render","state","Fragment","AlertDialog","open","text","onConfirm","_extends2","exports","PropTypes","object","isRequired","disableSidePanel","bool","func","shape","add","delete","_default"],"sources":["../src/main.jsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { styled } from '@mui/material/styles';\nimport EditableHtml from '@pie-lib/editable-html';\nimport {\n AlertDialog,\n InputContainer,\n ChoiceConfiguration,\n settings,\n layout,\n choiceUtils as utils,\n} from '@pie-lib/config-ui';\nimport { color } from '@pie-lib/render-ui';\nimport Button from '@mui/material/Button';\nimport Tooltip from '@mui/material/Tooltip';\nimport Typography from '@mui/material/Typography';\nimport Box from '@mui/material/Box';\nimport Info from '@mui/icons-material/Info';\nimport merge from 'lodash/merge';\nimport { generateValidationMessage } from './utils';\n\nconst { Panel, toggle, radio, dropdown } = settings;\n\nconst MAX_CHOICES = 9;\n\nconst PromptHolder = styled(InputContainer)(({ theme }) => ({\n width: '100%',\n paddingTop: theme.spacing(2),\n marginBottom: theme.spacing(2),\n}));\n\nconst RationaleHolder = styled(InputContainer)(({ theme }) => ({\n flex: 1,\n marginTop: theme.spacing(1.5),\n paddingTop: theme.spacing(2),\n marginLeft: theme.spacing(3.5),\n}));\n\nconst ChoiceConfigurationHolder = styled(InputContainer)(({ theme }) => ({\n display: 'flex',\n flexDirection: 'column',\n marginBottom: theme.spacing(1),\n width: '100%',\n}));\n\n\nconst AddButton = styled(Button)(({ theme }) => ({\n marginTop: theme.spacing(1),\n float: 'right',\n}));\n\nconst DisableButton = styled(AddButton)({\n cursor: 'not-allowed',\n pointerEvents: 'all',\n backgroundColor: color.disabled(),\n '&:hover': {\n backgroundColor: color.disabled(),\n },\n '&:focus': {\n backgroundColor: color.disabled(),\n },\n});\n\nconst FlexContainer = styled(Box)({\n display: 'flex',\n alignItems: 'center',\n});\n\nconst TitleText = styled(Typography)(({ theme }) => ({\n fontSize: theme.typography.fontSize + 2,\n marginRight: theme.spacing(1),\n}));\n\nconst StyledTooltip = styled(Tooltip)(({ theme }) => ({\n '& .MuiTooltip-tooltip': {\n fontSize: theme.typography.fontSize - 2,\n whiteSpace: 'pre',\n maxWidth: '500px',\n },\n}));\n\nconst ErrorText = styled('div')(({ theme }) => ({\n fontSize: theme.typography.fontSize - 2,\n color: theme.palette.error.main,\n paddingTop: theme.spacing(1),\n}));\n\nconst Design = (props) => {\n const {\n model,\n configuration,\n onPromptChanged,\n onChoiceChanged,\n onRemoveChoice,\n onAddChoice,\n imageSupport,\n uploadSoundSupport,\n onChangeModel,\n onConfigurationChanged,\n onTeacherInstructionsChanged,\n } = props;\n\n const {\n addChoiceButton = {},\n contentDimensions = {},\n feedback = {},\n deleteChoice = {},\n choiceMode = {},\n choicePrefix = {},\n partialScoring = {},\n lockChoiceOrder = {},\n teacherInstructions = {},\n studentInstructions = {},\n rationale = {},\n scoringType = {},\n sequentialChoiceLabels = {},\n settingsPanelDisabled,\n choicesLayout,\n spellCheck = {},\n gridColumns,\n maxImageWidth = {},\n maxImageHeight = {},\n prompt = {},\n withRubric = {},\n mathMlOptions = {},\n language = {},\n languageChoices = {},\n } = configuration || {};\n let { maxAnswerChoices } = configuration || {};\n const {\n limitChoicesNumber,\n teacherInstructionsEnabled,\n rationaleEnabled,\n feedbackEnabled,\n promptEnabled,\n spellCheckEnabled,\n choices,\n errors,\n toolbarEditorPosition,\n extraCSSRules,\n } = model || {};\n\n const {\n answerChoices: answerChoicesError,\n choices: choicesErrors,\n correctResponse: correctResponseError,\n prompt: promptError,\n rationale: rationaleErrors,\n teacherInstructions: teacherInstructionsError,\n } = errors || {};\n const nrOfColumnsAvailable = choices?.length ? Array.from({ length: choices.length }, (_, i) => `${i + 1}`) : [];\n\n const { baseInputConfiguration = {} } = configuration;\n const toolbarOpts = {\n position: toolbarEditorPosition === 'top' ? 'top' : 'bottom',\n };\n\n // if old property is used, set maxAnswerChoices to 9\n if (limitChoicesNumber) {\n maxAnswerChoices = MAX_CHOICES;\n }\n\n const getPluginProps = (props = {}) => ({\n ...baseInputConfiguration,\n ...props,\n });\n\n const validationMessage = generateValidationMessage(configuration);\n const defaultImageMaxWidth = maxImageWidth && maxImageWidth.prompt;\n const defaultImageMaxHeight = maxImageHeight && maxImageHeight.prompt;\n const addChoiceButtonTooltip =\n maxAnswerChoices && choices?.length >= maxAnswerChoices ? `Only ${maxAnswerChoices} allowed maximum` : '';\n\n const panelSettings = {\n choiceMode: choiceMode.settings && radio(choiceMode.label, ['checkbox', 'radio']),\n 'sequentialChoiceLabels.enabled': sequentialChoiceLabels.settings && toggle(sequentialChoiceLabels.label, true),\n choicePrefix: choicePrefix.settings && radio(choicePrefix.label, ['numbers', 'letters']),\n partialScoring: partialScoring.settings && toggle(partialScoring.label),\n lockChoiceOrder: lockChoiceOrder.settings && toggle(lockChoiceOrder.label),\n feedbackEnabled: feedback.settings && toggle(feedback.label),\n choicesLayout: choicesLayout.settings && dropdown(choicesLayout.label, ['vertical', 'grid', 'horizontal']),\n gridColumns:\n choicesLayout.settings &&\n model.choicesLayout === 'grid' &&\n nrOfColumnsAvailable.length > 0 &&\n dropdown(gridColumns.label, nrOfColumnsAvailable),\n 'language.enabled': language.settings && toggle(language.label, true),\n language: language.settings && language.enabled && dropdown(languageChoices.label, languageChoices.options),\n };\n\n const panelProperties = {\n teacherInstructionsEnabled: teacherInstructions.settings && toggle(teacherInstructions.label),\n studentInstructionsEnabled: studentInstructions.settings && toggle(studentInstructions.label),\n promptEnabled: prompt.settings && toggle(prompt.label),\n rationaleEnabled: rationale.settings && toggle(rationale.label),\n spellCheckEnabled: spellCheck.settings && toggle(spellCheck.label),\n scoringType: scoringType.settings && radio(scoringType.label, ['auto', 'rubric']),\n rubricEnabled: withRubric?.settings && toggle(withRubric?.label),\n };\n\n return (\n <layout.ConfigLayout\n dimensions={contentDimensions}\n hideSettings={settingsPanelDisabled}\n extraCSSRules={extraCSSRules}\n classes={{}}\n settings={\n <Panel\n model={model}\n onChangeModel={onChangeModel}\n configuration={configuration}\n onChangeConfiguration={onConfigurationChanged}\n groups={{\n Settings: panelSettings,\n Properties: panelProperties,\n }}\n />\n }\n >\n {teacherInstructionsEnabled && (\n <PromptHolder label={teacherInstructions.label}>\n <EditableHtml\n markup={model.teacherInstructions || ''}\n onChange={onTeacherInstructionsChanged}\n imageSupport={imageSupport}\n nonEmpty={false}\n disableUnderline\n error={teacherInstructionsError}\n toolbarOpts={toolbarOpts}\n pluginProps={getPluginProps(configuration?.teacherInstructions?.inputConfiguration)}\n spellCheck={spellCheckEnabled}\n maxImageWidth={(maxImageWidth && maxImageWidth.teacherInstructions) || defaultImageMaxWidth}\n maxImageHeight={(maxImageHeight && maxImageHeight.teacherInstructions) || defaultImageMaxHeight}\n uploadSoundSupport={uploadSoundSupport}\n languageCharactersProps={[{ language: 'spanish' }, { language: 'special' }]}\n mathMlOptions={mathMlOptions}\n />\n {teacherInstructionsError && <ErrorText>{teacherInstructionsError}</ErrorText>}\n </PromptHolder>\n )}\n\n {promptEnabled && (\n <PromptHolder label={prompt.label}>\n <EditableHtml\n markup={model.prompt}\n onChange={onPromptChanged}\n imageSupport={imageSupport}\n nonEmpty={false}\n disableUnderline\n error={promptError}\n toolbarOpts={toolbarOpts}\n pluginProps={getPluginProps(configuration?.prompt?.inputConfiguration)}\n spellCheck={spellCheckEnabled}\n maxImageWidth={maxImageWidth && maxImageWidth.prompt}\n maxImageHeight={maxImageHeight && maxImageHeight.prompt}\n uploadSoundSupport={uploadSoundSupport}\n languageCharactersProps={[{ language: 'spanish' }, { language: 'special' }]}\n mathMlOptions={mathMlOptions}\n />\n {promptError && <ErrorText>{promptError}</ErrorText>}\n </PromptHolder>\n )}\n\n <FlexContainer>\n <TitleText component={'div'}>\n Choices\n </TitleText>\n <StyledTooltip\n disableFocusListener\n disableTouchListener\n placement={'right'}\n title={validationMessage}\n >\n <Info fontSize={'small'} color={'primary'} />\n </StyledTooltip>\n </FlexContainer>\n\n {choices.map((choice, index) => (\n <ChoiceConfigurationHolder key={`choice-${index}`}>\n <ChoiceConfiguration\n key={index}\n index={index + 1}\n useLetterOrdering={model.choicePrefix === 'letters'}\n mode={model.choiceMode}\n data={choice}\n defaultFeedback={{}}\n imageSupport={imageSupport}\n disableImageAlignmentButtons={true}\n onDelete={() => onRemoveChoice(index)}\n onChange={(c) => onChoiceChanged(index, c)}\n allowFeedBack={feedbackEnabled}\n allowDelete={deleteChoice.settings}\n noLabels\n pluginOpts={getPluginProps(configuration?.choices?.inputConfiguration)}\n toolbarOpts={toolbarOpts}\n spellCheck={spellCheckEnabled}\n error={choicesErrors?.[choice.value] || null}\n noCorrectAnswerError={correctResponseError}\n maxImageWidth={(maxImageWidth && maxImageWidth.choices) || defaultImageMaxWidth}\n maxImageHeight={(maxImageHeight && maxImageHeight.choices) || defaultImageMaxHeight}\n uploadSoundSupport={uploadSoundSupport}\n mathMlOptions={mathMlOptions}\n />\n\n {rationaleEnabled && (\n <RationaleHolder key={`rationale-${index}`} label={rationale.label}>\n <EditableHtml\n markup={choice.rationale || ''}\n onChange={(c) => onChoiceChanged(index, { ...choice, rationale: c })}\n imageSupport={imageSupport}\n error={rationaleErrors?.[choice.value] || null}\n toolbarOpts={toolbarOpts}\n pluginProps={getPluginProps(configuration?.rationale?.inputConfiguration)}\n spellCheck={spellCheckEnabled}\n maxImageWidth={(maxImageWidth && maxImageWidth.rationale) || defaultImageMaxWidth}\n maxImageHeight={(maxImageHeight && maxImageHeight.rationale) || defaultImageMaxHeight}\n uploadSoundSupport={uploadSoundSupport}\n languageCharactersProps={[{ language: 'spanish' }, { language: 'special' }]}\n mathMlOptions={mathMlOptions}\n />\n {rationaleErrors?.[choice.value] && (\n <ErrorText>{rationaleErrors?.[choice.value]}</ErrorText>\n )}\n </RationaleHolder>\n )}\n </ChoiceConfigurationHolder>\n ))}\n\n {correctResponseError && <ErrorText>{correctResponseError}</ErrorText>}\n {answerChoicesError && <ErrorText>{answerChoicesError}</ErrorText>}\n\n {addChoiceButton.settings && (\n <StyledTooltip title={addChoiceButtonTooltip}>\n {maxAnswerChoices && choices?.length >= maxAnswerChoices ? (\n <DisableButton\n variant=\"contained\"\n color=\"primary\"\n onClick={onAddChoice}\n disabled\n >\n {addChoiceButton.label}\n </DisableButton>\n ) : (\n <AddButton\n variant=\"contained\"\n color=\"primary\"\n onClick={onAddChoice}\n >\n {addChoiceButton.label}\n </AddButton>\n )}\n </StyledTooltip>\n )}\n </layout.ConfigLayout>\n );\n};\n\nexport class Main extends React.Component {\n static propTypes = {\n model: PropTypes.object.isRequired,\n configuration: PropTypes.object.isRequired,\n disableSidePanel: PropTypes.bool,\n onModelChanged: PropTypes.func.isRequired,\n onConfigurationChanged: PropTypes.func.isRequired,\n imageSupport: PropTypes.shape({\n add: PropTypes.func.isRequired,\n delete: PropTypes.func.isRequired,\n }),\n };\n\n state = { showWarning: false };\n\n onRemoveChoice = (index) => {\n const { model, configuration, onModelChanged } = this.props;\n const { minAnswerChoices } = configuration || {};\n\n if (minAnswerChoices && model.choices.length === minAnswerChoices) {\n this.setState({ showWarning: true });\n\n return;\n }\n\n model.choices.splice(index, 1);\n onModelChanged(model);\n };\n\n onAddChoice = () => {\n const { model, configuration, onModelChanged } = this.props;\n let { maxAnswerChoices } = configuration || {};\n const { limitChoicesNumber } = model || {};\n\n // if old property is used, set maxAnswerChoices to 9\n if (limitChoicesNumber) {\n maxAnswerChoices = MAX_CHOICES;\n }\n\n if (maxAnswerChoices && model.choices.length >= maxAnswerChoices) {\n return;\n }\n\n model.choices.push({\n label: '',\n value: utils.firstAvailableIndex(\n model.choices.map((c) => c.value),\n 0,\n ),\n feedback: { type: 'none' },\n });\n\n onModelChanged(model);\n };\n\n onChoiceChanged = (index, choice) => {\n const { model, onModelChanged } = this.props;\n\n if (choice.correct && model.choiceMode === 'radio') {\n model.choices = model.choices.map((c) => merge({}, c, { correct: false }));\n }\n\n model.choices.splice(index, 1, choice);\n onModelChanged(model);\n };\n\n onPromptChanged = (prompt) => {\n this.props.onModelChanged({\n ...this.props.model,\n prompt,\n });\n };\n\n onTeacherInstructionsChanged = (teacherInstructions) => {\n this.props.onModelChanged({\n ...this.props.model,\n teacherInstructions,\n });\n };\n\n onModelChanged = (model, key) => {\n const { onModelChanged } = this.props;\n\n switch (key) {\n case 'choiceMode': {\n let value = model.choiceMode;\n\n if (value === 'radio') {\n let correctFound = false;\n\n model.choices = model.choices.map((c) => {\n if (correctFound) {\n c.correct = false;\n\n return c;\n }\n\n if (c.correct) {\n correctFound = true;\n }\n\n return c;\n });\n }\n\n onModelChanged(model, true);\n break;\n }\n\n default:\n onModelChanged(model);\n break;\n }\n };\n\n render() {\n const { configuration: { minAnswerChoices } = {} } = this.props;\n const { showWarning } = this.state;\n\n return (\n <React.Fragment>\n <AlertDialog\n open={showWarning}\n title=\"Warning\"\n text={`There can't be less than ${minAnswerChoices || 0} choices.`}\n onConfirm={() => this.setState({ showWarning: false })}\n />\n <Design\n {...this.props}\n onChangeModel={this.onModelChanged}\n onRemoveChoice={this.onRemoveChoice}\n onChoiceChanged={this.onChoiceChanged}\n onAddChoice={this.onAddChoice}\n onPromptChanged={this.onPromptChanged}\n onTeacherInstructionsChanged={this.onTeacherInstructionsChanged}\n />\n </React.Fragment>\n );\n }\n}\n\nexport default Main;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CA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C1CC,gBAAgB,EAAEH,kBAAS,CAACI,IAAI;EAChCxB,cAAc,EAAEoB,kBAAS,CAACK,IAAI,CAACH,UAAU;EACzC3I,sBAAsB,EAAEyI,kBAAS,CAACK,IAAI,CAACH,UAAU;EACjD9I,YAAY,EAAE4I,kBAAS,CAACM,KAAK,CAAC;IAC5BC,GAAG,EAAEP,kBAAS,CAACK,IAAI,CAACH,UAAU;IAC9BM,MAAM,EAAER,kBAAS,CAACK,IAAI,CAACH;EACzB,CAAC;AACH,CAAC;AAAA,IAAAO,QAAA,GAAAV,OAAA,CAAArE,OAAA,GAkIY2C,IAAI","ignoreList":[]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.generateValidationMessage = void 0;
|
|
7
|
+
const generateValidationMessage = config => {
|
|
8
|
+
const {
|
|
9
|
+
minAnswerChoices,
|
|
10
|
+
maxAnswerChoices
|
|
11
|
+
} = config;
|
|
12
|
+
const answerChoicesMessage = `\nThere should be at least ${minAnswerChoices} ` + (maxAnswerChoices ? `and at most ${maxAnswerChoices} ` : '') + 'answer choices defined.' + '\nEvery answer choice should be non-blank and unique.';
|
|
13
|
+
const correctAnswerMessage = '\nA correct answer must be defined.';
|
|
14
|
+
const message = 'Validation requirements:' + answerChoicesMessage + correctAnswerMessage;
|
|
15
|
+
return message;
|
|
16
|
+
};
|
|
17
|
+
exports.generateValidationMessage = generateValidationMessage;
|
|
18
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJnZW5lcmF0ZVZhbGlkYXRpb25NZXNzYWdlIiwiY29uZmlnIiwibWluQW5zd2VyQ2hvaWNlcyIsIm1heEFuc3dlckNob2ljZXMiLCJhbnN3ZXJDaG9pY2VzTWVzc2FnZSIsImNvcnJlY3RBbnN3ZXJNZXNzYWdl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WdCLEdBQUcsZUFBZUEsZ0JBQWdCLEdBQUcsR0FBRyxFQUFFLENBQUMsR0FDNUQseUJBQXlCLEdBQ3pCLHVEQUF1RDtFQUV6RCxNQUFNRSxvQkFBb0IsR0FBRyxxQ0FBcUM7RUFFbEUsTUFBTUMsT0FBTyxHQUFHLDBCQUEwQixHQUFHRixvQkFBb0IsR0FBR0Msb0JBQW9CO0VBRXhGLE9BQU9DLE9BQU87QUFDaEIsQ0FBQztBQUFDQyxPQUFBLENBQUFQLHlCQUFBLEdBQUFBLHlCQUFBIiwiaWdub3JlTGlzdCI6W119
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","names":["generateValidationMessage","config","minAnswerChoices","maxAnswerChoices","answerChoicesMessage","correctAnswerMessage","message","exports"],"sources":["../src/utils.js"],"sourcesContent":["export const generateValidationMessage = (config) => {\n const { minAnswerChoices, maxAnswerChoices } = config;\n\n const answerChoicesMessage =\n `\\nThere should be at least ${minAnswerChoices} ` +\n (maxAnswerChoices ? `and at most ${maxAnswerChoices} ` : '') +\n 'answer choices defined.' +\n '\\nEvery answer choice should be non-blank and unique.';\n\n const correctAnswerMessage = '\\nA correct answer must be defined.';\n\n const message = 'Validation requirements:' + answerChoicesMessage + correctAnswerMessage;\n\n return message;\n};\n"],"mappings":";;;;;;AAAO,MAAMA,yBAAyB,GAAIC,MAAM,IAAK;EACnD,MAAM;IAAEC,gBAAgB;IAAEC;EAAiB,CAAC,GAAGF,MAAM;EAErD,MAAMG,oBAAoB,GACxB,8BAA8BF,gBAAgB,GAAG,IAChDC,gBAAgB,GAAG,eAAeA,gBAAgB,GAAG,GAAG,EAAE,CAAC,GAC5D,yBAAyB,GACzB,uDAAuD;EAEzD,MAAME,oBAAoB,GAAG,qCAAqC;EAElE,MAAMC,OAAO,GAAG,0BAA0B,GAAGF,oBAAoB,GAAGC,oBAAoB;EAExF,OAAOC,OAAO;AAChB,CAAC;AAACC,OAAA,CAAAP,yBAAA,GAAAA,yBAAA","ignoreList":[]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pie-element/multiple-choice-configure",
|
|
3
|
+
"version": "8.2.0",
|
|
4
|
+
"private": true,
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"module": "src/index.js",
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"@emotion/react": "^11.14.0",
|
|
9
|
+
"@emotion/style": "^0.8.0",
|
|
10
|
+
"@mui/icons-material": "^7.3.4",
|
|
11
|
+
"@mui/material": "^7.3.4",
|
|
12
|
+
"@pie-framework/pie-configure-events": "^1.3.0",
|
|
13
|
+
"@pie-lib/config-ui": "11.36.1-mui-update.0",
|
|
14
|
+
"@pie-lib/editable-html": "11.28.1-mui-update.0",
|
|
15
|
+
"@pie-lib/render-ui": "4.42.1-mui-update.0",
|
|
16
|
+
"debug": "^3.1.0",
|
|
17
|
+
"lodash": "^4.17.15",
|
|
18
|
+
"prop-types": "^15.6.2",
|
|
19
|
+
"react": "18.2.0",
|
|
20
|
+
"react-dom": "18.2.0"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,527 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "feat",
|
|
4
|
+
"scope": "general",
|
|
5
|
+
"subject": "initialize default model (#129)",
|
|
6
|
+
"merge": null,
|
|
7
|
+
"header": "feat(general): initialize default model (#129)",
|
|
8
|
+
"body": "* feat: initialize empty README\n\n* feat: implement default-model-initialization method\n\n* feat: implement default-model-initialization method\n\n* feat: implement default-model-initialization method\n\n* feat: implement default-model-initialization method\n\n* feat: implement default-model-initialization method\n\n* feat: implement default-model-initialization method\n\n* feat: implement default-model-initialization method\n\n* feat: implement default-model-initialization method\n\n* feat: implement default-model-initialization method\n\n* feat: implement default-model-initialization method\n\n* feat: implement default-model-initialization method\n\n* feat: implement default-model-initialization method\n\n* feat: implement default-model-initialization method\n\n* fix: add babel-transform-runtime in order to support async/await\n\n* bump yarn lock\n\n* update snapshots",
|
|
9
|
+
"footer": null,
|
|
10
|
+
"notes": [],
|
|
11
|
+
"hash": "b62d0585a86c8e2fbe5a6181b869a28c1131756b",
|
|
12
|
+
"gitTags": "",
|
|
13
|
+
"committerDate": "2019-03-12 15:47:20 -0400",
|
|
14
|
+
"isTagged": true,
|
|
15
|
+
"tag": "@pie-element/multiple-choice-controller@1.4.0"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "feat",
|
|
19
|
+
"scope": "multiple-choice",
|
|
20
|
+
"subject": "refactored the code of the multiple-choice package in order to use the new layout",
|
|
21
|
+
"merge": null,
|
|
22
|
+
"header": "feat(multiple-choice): refactored the code of the multiple-choice package in order to use the new layout",
|
|
23
|
+
"body": null,
|
|
24
|
+
"footer": null,
|
|
25
|
+
"notes": [],
|
|
26
|
+
"hash": "b16b654ae8881e0af9d271c533a27510d751f54f",
|
|
27
|
+
"gitTags": "",
|
|
28
|
+
"committerDate": "2018-12-17 19:40:38 +0200",
|
|
29
|
+
"isTagged": true,
|
|
30
|
+
"tag": "@pie-element/multiple-choice-controller@1.3.0"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"type": "fix",
|
|
34
|
+
"scope": null,
|
|
35
|
+
"subject": "conflict",
|
|
36
|
+
"merge": null,
|
|
37
|
+
"header": "fix: conflict",
|
|
38
|
+
"body": null,
|
|
39
|
+
"footer": null,
|
|
40
|
+
"notes": [],
|
|
41
|
+
"hash": "b854c6bf9d8139161ae34c16556edf48eb7ba942",
|
|
42
|
+
"gitTags": "",
|
|
43
|
+
"committerDate": "2018-11-12 12:28:04 +0000",
|
|
44
|
+
"isTagged": true,
|
|
45
|
+
"tag": "@pie-element/multiple-choice-controller@1.2.2"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"type": "fix",
|
|
49
|
+
"scope": "dependencies-add",
|
|
50
|
+
"subject": "added dependencies where needed",
|
|
51
|
+
"merge": null,
|
|
52
|
+
"header": "fix(dependencies-add): added dependencies where needed",
|
|
53
|
+
"body": null,
|
|
54
|
+
"footer": null,
|
|
55
|
+
"notes": [],
|
|
56
|
+
"hash": "23df697120b76a227930c00a7976e79c33ccdcd7",
|
|
57
|
+
"gitTags": " (origin/fix/added-dependencies-where-needed)",
|
|
58
|
+
"committerDate": "2018-11-09 11:31:39 +0200",
|
|
59
|
+
"isTagged": true,
|
|
60
|
+
"tag": "@pie-element/multiple-choice-controller@1.2.2"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"type": "feat",
|
|
64
|
+
"scope": "choice-interaction-update",
|
|
65
|
+
"subject": "made the requested changes for the multiple-choice package",
|
|
66
|
+
"merge": null,
|
|
67
|
+
"header": "feat(choice-interaction-update): made the requested changes for the multiple-choice package",
|
|
68
|
+
"body": null,
|
|
69
|
+
"footer": null,
|
|
70
|
+
"notes": [],
|
|
71
|
+
"hash": "d03dc1a5b60c00d4c135e6ade1fce26c3612ff69",
|
|
72
|
+
"gitTags": "",
|
|
73
|
+
"committerDate": "2018-10-31 10:13:38 +0200",
|
|
74
|
+
"isTagged": true,
|
|
75
|
+
"tag": "@pie-element/multiple-choice-controller@1.2.0"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"type": "feat",
|
|
79
|
+
"scope": "ch497",
|
|
80
|
+
"subject": "updated the partial scoring for 3 packages: match, select-text and multiple-choice",
|
|
81
|
+
"merge": null,
|
|
82
|
+
"header": "feat(ch497): updated the partial scoring for 3 packages: match, select-text and multiple-choice",
|
|
83
|
+
"body": null,
|
|
84
|
+
"footer": null,
|
|
85
|
+
"notes": [],
|
|
86
|
+
"hash": "5a46b061aec68b46cd34f358d6bc239fa96df6fd",
|
|
87
|
+
"gitTags": "",
|
|
88
|
+
"committerDate": "2018-10-29 14:27:25 +0200",
|
|
89
|
+
"isTagged": true,
|
|
90
|
+
"tag": "@pie-element/multiple-choice-controller@1.2.0"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"type": "fix",
|
|
94
|
+
"scope": null,
|
|
95
|
+
"subject": "build fixes",
|
|
96
|
+
"merge": null,
|
|
97
|
+
"header": "fix: build fixes",
|
|
98
|
+
"body": null,
|
|
99
|
+
"footer": null,
|
|
100
|
+
"notes": [],
|
|
101
|
+
"hash": "3c3a7f20ff7805fa1265eb7b187b80d77e1820ac",
|
|
102
|
+
"gitTags": "",
|
|
103
|
+
"committerDate": "2018-09-20 09:49:51 +0100",
|
|
104
|
+
"isTagged": true,
|
|
105
|
+
"tag": "@pie-element/multiple-choice-controller@1.1.0"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"type": "feat",
|
|
109
|
+
"scope": null,
|
|
110
|
+
"subject": "add outcome method to controller",
|
|
111
|
+
"merge": null,
|
|
112
|
+
"header": "feat: add outcome method to controller",
|
|
113
|
+
"body": null,
|
|
114
|
+
"footer": null,
|
|
115
|
+
"notes": [],
|
|
116
|
+
"hash": "ec2853ed83ff977e55155dcd8aa3301f97bfcc67",
|
|
117
|
+
"gitTags": "",
|
|
118
|
+
"committerDate": "2018-08-15 21:36:45 -0400",
|
|
119
|
+
"isTagged": true,
|
|
120
|
+
"tag": "@pie-element/multiple-choice-controller@1.1.0"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"type": "feat",
|
|
124
|
+
"scope": "root",
|
|
125
|
+
"subject": "use @pie-lib/config-ui choiceUtils",
|
|
126
|
+
"merge": null,
|
|
127
|
+
"header": "feat(root): use @pie-lib/config-ui choiceUtils",
|
|
128
|
+
"body": null,
|
|
129
|
+
"footer": null,
|
|
130
|
+
"notes": [],
|
|
131
|
+
"hash": "2a3f180b41e7e9a36a0758dcbe4fdb86f253a50c",
|
|
132
|
+
"gitTags": "",
|
|
133
|
+
"committerDate": "2018-04-24 21:28:59 -0400",
|
|
134
|
+
"isTagged": true,
|
|
135
|
+
"tag": "@pie-element/multiple-choice-controller@1.1.0"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"type": "fix",
|
|
139
|
+
"scope": "dependencies",
|
|
140
|
+
"subject": "version bump",
|
|
141
|
+
"merge": null,
|
|
142
|
+
"header": "fix(dependencies): version bump",
|
|
143
|
+
"body": null,
|
|
144
|
+
"footer": null,
|
|
145
|
+
"notes": [],
|
|
146
|
+
"hash": "ee6d3d0cd4b0a1d87fd4ab4e161c3b686d7b05bb",
|
|
147
|
+
"gitTags": "",
|
|
148
|
+
"committerDate": "2018-04-24 11:34:37 -0400",
|
|
149
|
+
"isTagged": true,
|
|
150
|
+
"tag": "@pie-element/multiple-choice-controller@1.1.0"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"type": "chore",
|
|
154
|
+
"scope": "test",
|
|
155
|
+
"subject": "set up some tests",
|
|
156
|
+
"merge": null,
|
|
157
|
+
"header": "chore(test): set up some tests",
|
|
158
|
+
"body": null,
|
|
159
|
+
"footer": null,
|
|
160
|
+
"notes": [],
|
|
161
|
+
"hash": "37936ae5e2ad4427159cecb53e460f77a98a46bc",
|
|
162
|
+
"gitTags": "",
|
|
163
|
+
"committerDate": "2018-04-17 15:03:45 -0400",
|
|
164
|
+
"isTagged": true,
|
|
165
|
+
"tag": "@pie-element/multiple-choice-controller@1.1.0"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"type": "feat",
|
|
169
|
+
"scope": null,
|
|
170
|
+
"subject": "partial scoring",
|
|
171
|
+
"merge": null,
|
|
172
|
+
"header": "feat: partial scoring",
|
|
173
|
+
"body": null,
|
|
174
|
+
"footer": null,
|
|
175
|
+
"notes": [],
|
|
176
|
+
"hash": "928bcc3169dee6de905118acf53573a794611873",
|
|
177
|
+
"gitTags": "",
|
|
178
|
+
"committerDate": "2019-04-02 17:11:17 +0100",
|
|
179
|
+
"isTagged": true,
|
|
180
|
+
"tag": "@pie-element/multiple-choice-controller@1.5.0"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"type": "feat",
|
|
184
|
+
"scope": null,
|
|
185
|
+
"subject": "support env.partialScoring, disable for radio",
|
|
186
|
+
"merge": null,
|
|
187
|
+
"header": "feat: support env.partialScoring, disable for radio",
|
|
188
|
+
"body": null,
|
|
189
|
+
"footer": null,
|
|
190
|
+
"notes": [],
|
|
191
|
+
"hash": "40862cb9e50eac0d055c31c1349b7a94aa06475b",
|
|
192
|
+
"gitTags": "",
|
|
193
|
+
"committerDate": "2019-04-02 11:20:20 +0100",
|
|
194
|
+
"isTagged": true,
|
|
195
|
+
"tag": "@pie-element/multiple-choice-controller@1.5.0"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"type": "feat",
|
|
199
|
+
"scope": null,
|
|
200
|
+
"subject": "allow config to control the UI",
|
|
201
|
+
"merge": null,
|
|
202
|
+
"header": "feat: allow config to control the UI",
|
|
203
|
+
"body": null,
|
|
204
|
+
"footer": null,
|
|
205
|
+
"notes": [],
|
|
206
|
+
"hash": "70551b83c6ad216661e8699f944dd0fcfa630f07",
|
|
207
|
+
"gitTags": "",
|
|
208
|
+
"committerDate": "2019-03-19 12:46:28 +0200",
|
|
209
|
+
"isTagged": true,
|
|
210
|
+
"tag": "@pie-element/multiple-choice-controller@1.5.0"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"type": "fix",
|
|
214
|
+
"scope": "multiple-choice",
|
|
215
|
+
"subject": "Refactored using new established naming convention and updated tests.",
|
|
216
|
+
"merge": null,
|
|
217
|
+
"header": "fix(multiple-choice): Refactored using new established naming convention and updated tests.",
|
|
218
|
+
"body": null,
|
|
219
|
+
"footer": null,
|
|
220
|
+
"notes": [],
|
|
221
|
+
"hash": "78ffbaeb9cf4bbd4ef88a57addb9a1221089903c",
|
|
222
|
+
"gitTags": "",
|
|
223
|
+
"committerDate": "2019-04-17 06:50:02 +0300",
|
|
224
|
+
"isTagged": true,
|
|
225
|
+
"tag": "@pie-element/multiple-choice-controller@1.5.2"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"type": "feat",
|
|
229
|
+
"scope": null,
|
|
230
|
+
"subject": "added rationale support",
|
|
231
|
+
"merge": null,
|
|
232
|
+
"header": "feat: added rationale support",
|
|
233
|
+
"body": null,
|
|
234
|
+
"footer": null,
|
|
235
|
+
"notes": [],
|
|
236
|
+
"hash": "3c1edf3da6101d62f3cd4d06dc22c64ca2560205",
|
|
237
|
+
"gitTags": "",
|
|
238
|
+
"committerDate": "2019-05-14 16:45:35 +0300",
|
|
239
|
+
"isTagged": true,
|
|
240
|
+
"tag": "@pie-element/multiple-choice-controller@1.6.0"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"type": "feat",
|
|
244
|
+
"scope": null,
|
|
245
|
+
"subject": "added rationale support.",
|
|
246
|
+
"merge": null,
|
|
247
|
+
"header": "feat: added rationale support.",
|
|
248
|
+
"body": null,
|
|
249
|
+
"footer": null,
|
|
250
|
+
"notes": [],
|
|
251
|
+
"hash": "1ddc13742d8a585befca50702889c8c8fa47ad6c",
|
|
252
|
+
"gitTags": "",
|
|
253
|
+
"committerDate": "2019-05-09 16:57:00 +0300",
|
|
254
|
+
"isTagged": true,
|
|
255
|
+
"tag": "@pie-element/multiple-choice-controller@1.6.0"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"type": "chore",
|
|
259
|
+
"scope": null,
|
|
260
|
+
"subject": "downgrade console.error calls to TODO (#261)",
|
|
261
|
+
"merge": null,
|
|
262
|
+
"header": "chore: downgrade console.error calls to TODO (#261)",
|
|
263
|
+
"body": null,
|
|
264
|
+
"footer": null,
|
|
265
|
+
"notes": [],
|
|
266
|
+
"hash": "623e43fb29db0f2dc3c88a8711476689ea8e3969",
|
|
267
|
+
"gitTags": "",
|
|
268
|
+
"committerDate": "2019-07-01 18:02:20 -0400",
|
|
269
|
+
"isTagged": true,
|
|
270
|
+
"tag": "@pie-element/multiple-choice-controller@1.6.3"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"type": "fix",
|
|
274
|
+
"scope": "editable-html",
|
|
275
|
+
"subject": "fixed lots of stuff regarding the editable-html",
|
|
276
|
+
"merge": null,
|
|
277
|
+
"header": "fix(editable-html): fixed lots of stuff regarding the editable-html",
|
|
278
|
+
"body": null,
|
|
279
|
+
"footer": null,
|
|
280
|
+
"notes": [],
|
|
281
|
+
"hash": "12c112917e0b5065ec35efdbdc276703602a6c68",
|
|
282
|
+
"gitTags": " (origin/andrei/fixes)",
|
|
283
|
+
"committerDate": "2019-07-07 14:16:34 -0400",
|
|
284
|
+
"isTagged": true,
|
|
285
|
+
"tag": "@pie-element/multiple-choice-controller@1.6.7"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"type": "fix",
|
|
289
|
+
"scope": null,
|
|
290
|
+
"subject": "null choices were throwing 'choices.map is not a function' error.",
|
|
291
|
+
"merge": null,
|
|
292
|
+
"header": "fix: null choices were throwing 'choices.map is not a function' error.",
|
|
293
|
+
"body": null,
|
|
294
|
+
"footer": null,
|
|
295
|
+
"notes": [],
|
|
296
|
+
"hash": "54d0c8ccc7594665b7a8736d2497119f5d8c2533",
|
|
297
|
+
"gitTags": "",
|
|
298
|
+
"committerDate": "2019-08-21 13:55:48 +0300",
|
|
299
|
+
"isTagged": true,
|
|
300
|
+
"tag": "@pie-element/multiple-choice-controller@1.6.12"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"type": "feat",
|
|
304
|
+
"scope": null,
|
|
305
|
+
"subject": "Session null/empty check.",
|
|
306
|
+
"merge": null,
|
|
307
|
+
"header": "feat: Session null/empty check.",
|
|
308
|
+
"body": "Check for each interaction if: has outcome function, outcome function returns { score: 0, empty: true } if session null/empty/undefined, everywhere where session is used we handle if session is null/empty/undefined and test each function that uses session. [match-list, match, math-inline, multiple-choice, number-line, placement-ordering, point-intercept, select-text, text-entry]",
|
|
309
|
+
"footer": null,
|
|
310
|
+
"notes": [],
|
|
311
|
+
"hash": "f24dc8bfe6761d0c7bacf674f5ec30068bfd03d8",
|
|
312
|
+
"gitTags": "",
|
|
313
|
+
"committerDate": "2019-08-27 09:02:11 +0300",
|
|
314
|
+
"isTagged": true,
|
|
315
|
+
"tag": "@pie-element/multiple-choice-controller@1.7.0"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"type": "fix",
|
|
319
|
+
"scope": null,
|
|
320
|
+
"subject": "bump pie-lib/controller-utils",
|
|
321
|
+
"merge": null,
|
|
322
|
+
"header": "fix: bump pie-lib/controller-utils",
|
|
323
|
+
"body": null,
|
|
324
|
+
"footer": null,
|
|
325
|
+
"notes": [],
|
|
326
|
+
"hash": "ba3de006afa1ddaa582a531779be766c9715f64c",
|
|
327
|
+
"gitTags": "",
|
|
328
|
+
"committerDate": "2019-08-30 23:15:07 +0300",
|
|
329
|
+
"isTagged": true,
|
|
330
|
+
"tag": "@pie-element/multiple-choice-controller@1.8.0"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"type": "feat",
|
|
334
|
+
"scope": null,
|
|
335
|
+
"subject": "make use of updateSession callback",
|
|
336
|
+
"merge": null,
|
|
337
|
+
"header": "feat: make use of updateSession callback",
|
|
338
|
+
"body": null,
|
|
339
|
+
"footer": null,
|
|
340
|
+
"notes": [],
|
|
341
|
+
"hash": "c82de8804012bf1755430187426685d6c3eda329",
|
|
342
|
+
"gitTags": "",
|
|
343
|
+
"committerDate": "2019-08-22 15:54:34 +0100",
|
|
344
|
+
"isTagged": true,
|
|
345
|
+
"tag": "@pie-element/multiple-choice-controller@1.8.0"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"type": "fix",
|
|
349
|
+
"scope": null,
|
|
350
|
+
"subject": "Show Correct Answer was not working properly: replaced allowFeedback (used to send data to pie-ui) with feedbackEnabled (can be changed in settings panel).",
|
|
351
|
+
"merge": null,
|
|
352
|
+
"header": "fix: Show Correct Answer was not working properly: replaced allowFeedback (used to send data to pie-ui) with feedbackEnabled (can be changed in settings panel).",
|
|
353
|
+
"body": null,
|
|
354
|
+
"footer": null,
|
|
355
|
+
"notes": [],
|
|
356
|
+
"hash": "494bf3a471a90e704cbb5ffdb9f44a198646f276",
|
|
357
|
+
"gitTags": "",
|
|
358
|
+
"committerDate": "2019-09-27 09:22:59 +0300",
|
|
359
|
+
"isTagged": true,
|
|
360
|
+
"tag": "@pie-element/multiple-choice-controller@2.1.0"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"type": "feat",
|
|
364
|
+
"scope": "multiple-choice",
|
|
365
|
+
"subject": "model based prompt",
|
|
366
|
+
"merge": null,
|
|
367
|
+
"header": "feat(multiple-choice): model based prompt",
|
|
368
|
+
"body": null,
|
|
369
|
+
"footer": null,
|
|
370
|
+
"notes": [],
|
|
371
|
+
"hash": "d90c1a1c83f1efb2c941016812f7296f90ba1e57",
|
|
372
|
+
"gitTags": "",
|
|
373
|
+
"committerDate": "2019-09-25 18:24:54 +0300",
|
|
374
|
+
"isTagged": true,
|
|
375
|
+
"tag": "@pie-element/multiple-choice-controller@2.1.0"
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"type": "fix",
|
|
379
|
+
"scope": null,
|
|
380
|
+
"subject": "bump @pie-lib/controller-utils@^0.2.1 [ch4723]",
|
|
381
|
+
"merge": null,
|
|
382
|
+
"header": "fix: bump @pie-lib/controller-utils@^0.2.1 [ch4723]",
|
|
383
|
+
"body": null,
|
|
384
|
+
"footer": null,
|
|
385
|
+
"notes": [],
|
|
386
|
+
"hash": "0a33d688d6d9e5f239daba982bfbdeebb10ba4ab",
|
|
387
|
+
"gitTags": "",
|
|
388
|
+
"committerDate": "2019-10-11 12:38:26 +0100",
|
|
389
|
+
"isTagged": true,
|
|
390
|
+
"tag": "@pie-element/multiple-choice-controller@3.0.1"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"type": "fix",
|
|
394
|
+
"scope": null,
|
|
395
|
+
"subject": "bump @pie-lib/controller-utils@^0.2.2",
|
|
396
|
+
"merge": null,
|
|
397
|
+
"header": "fix: bump @pie-lib/controller-utils@^0.2.2",
|
|
398
|
+
"body": null,
|
|
399
|
+
"footer": null,
|
|
400
|
+
"notes": [],
|
|
401
|
+
"hash": "edae61cd4f686b2e1611cf0cad710112177fff2e",
|
|
402
|
+
"gitTags": "",
|
|
403
|
+
"committerDate": "2019-10-15 12:11:16 +0100",
|
|
404
|
+
"isTagged": true,
|
|
405
|
+
"tag": "@pie-element/multiple-choice-controller@3.0.2"
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"type": "fix",
|
|
409
|
+
"scope": null,
|
|
410
|
+
"subject": "ch2766 fix unresolved promise (#366)",
|
|
411
|
+
"merge": null,
|
|
412
|
+
"header": "fix: ch2766 fix unresolved promise (#366)",
|
|
413
|
+
"body": "* fix: resolve null when instructor is not role\n\n* chore: typo\n\n* chore: correct response resolve, match interaction\n\n* chore: correct response unresolved\n\n* chore: categorize resolve correct response\n\n* fix: createCorrectResponseSession unresolved promise\n\n* fix: createCorrectResponseSession resolve promise\n\n* fix: createCorrectResponseSession resolve promise\n\n* fix: ch2776 resolve createCorrectResponse promise",
|
|
414
|
+
"footer": "* fix: Fixed createCorrectResponseSession and added tests for it. (#365)",
|
|
415
|
+
"notes": [],
|
|
416
|
+
"hash": "9057b7fd08e4f5b07e953a5acd053e1945df57f2",
|
|
417
|
+
"gitTags": " (origin/develop, origin/HEAD)",
|
|
418
|
+
"committerDate": "2019-10-16 15:50:55 -0400",
|
|
419
|
+
"isTagged": true,
|
|
420
|
+
"tag": "@pie-element/multiple-choice-controller@3.0.4"
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"type": "fix",
|
|
424
|
+
"scope": null,
|
|
425
|
+
"subject": "feedbackEnabled should not be the property that decides whether the choice correctness is displayed or not.",
|
|
426
|
+
"merge": null,
|
|
427
|
+
"header": "fix: feedbackEnabled should not be the property that decides whether the choice correctness is displayed or not.",
|
|
428
|
+
"body": null,
|
|
429
|
+
"footer": null,
|
|
430
|
+
"notes": [],
|
|
431
|
+
"hash": "b69adfd687b185b39f030e5e5060d2219c8491d6",
|
|
432
|
+
"gitTags": "",
|
|
433
|
+
"committerDate": "2019-11-04 17:50:07 +0200",
|
|
434
|
+
"isTagged": true,
|
|
435
|
+
"tag": "@pie-element/multiple-choice-controller@3.0.6"
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"type": "fix",
|
|
439
|
+
"scope": null,
|
|
440
|
+
"subject": "PIE-201 - store prompts and answers in session, fix",
|
|
441
|
+
"merge": null,
|
|
442
|
+
"header": "fix: PIE-201 - store prompts and answers in session, fix",
|
|
443
|
+
"body": "controller-utils to use 0 as key",
|
|
444
|
+
"footer": null,
|
|
445
|
+
"notes": [],
|
|
446
|
+
"hash": "23802242e0bc647f929f6db4dfd4b03f0112f2fb",
|
|
447
|
+
"gitTags": "",
|
|
448
|
+
"committerDate": "2019-11-18 20:35:06 +0000",
|
|
449
|
+
"isTagged": true,
|
|
450
|
+
"tag": "@pie-element/multiple-choice-controller@3.0.7"
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"type": "feat",
|
|
454
|
+
"scope": "normalization",
|
|
455
|
+
"subject": "added a choicePrefix default value in case one is not given [ch6650]",
|
|
456
|
+
"merge": null,
|
|
457
|
+
"header": "feat(normalization): added a choicePrefix default value in case one is not given [ch6650]",
|
|
458
|
+
"body": null,
|
|
459
|
+
"footer": null,
|
|
460
|
+
"notes": [],
|
|
461
|
+
"hash": "955ff4040a4d5acc24fd8d8335b3557226a22396",
|
|
462
|
+
"gitTags": " (origin/ch6650/multiple-choice-no-prefix)",
|
|
463
|
+
"committerDate": "2019-12-24 13:43:07 +0200",
|
|
464
|
+
"isTagged": true,
|
|
465
|
+
"tag": "@pie-element/multiple-choice-controller@3.1.0"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"type": "fix",
|
|
469
|
+
"scope": null,
|
|
470
|
+
"subject": "bump ui versions",
|
|
471
|
+
"merge": null,
|
|
472
|
+
"header": "fix: bump ui versions",
|
|
473
|
+
"body": null,
|
|
474
|
+
"footer": null,
|
|
475
|
+
"notes": [],
|
|
476
|
+
"hash": "5b9d99fe59c304bdd173c9336503eb558900d2a2",
|
|
477
|
+
"gitTags": "",
|
|
478
|
+
"committerDate": "2020-03-31 19:25:13 +0100",
|
|
479
|
+
"isTagged": true,
|
|
480
|
+
"tag": "@pie-element/multiple-choice-controller@3.2.0"
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"type": "fix",
|
|
484
|
+
"scope": null,
|
|
485
|
+
"subject": "bump all packages to avoid tag conflict",
|
|
486
|
+
"merge": null,
|
|
487
|
+
"header": "fix: bump all packages to avoid tag conflict",
|
|
488
|
+
"body": null,
|
|
489
|
+
"footer": null,
|
|
490
|
+
"notes": [],
|
|
491
|
+
"hash": "d9ec9a8689f0a391594b5e2f4ea958c6dc9f6d7b",
|
|
492
|
+
"gitTags": " (develop)",
|
|
493
|
+
"committerDate": "2020-04-10 20:01:37 +0100",
|
|
494
|
+
"isTagged": true,
|
|
495
|
+
"tag": "@pie-element/multiple-choice-controller@3.2.1"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"type": "fix",
|
|
499
|
+
"scope": null,
|
|
500
|
+
"subject": "PD-127: MC Choice Prefix Issue (Set 'letters' as default choicePrefix)",
|
|
501
|
+
"merge": null,
|
|
502
|
+
"header": "fix: PD-127: MC Choice Prefix Issue (Set 'letters' as default choicePrefix)",
|
|
503
|
+
"body": null,
|
|
504
|
+
"footer": null,
|
|
505
|
+
"notes": [],
|
|
506
|
+
"hash": "27cd7adf01276ecd09094c4d7808807590a8c00a",
|
|
507
|
+
"gitTags": "",
|
|
508
|
+
"committerDate": "2020-04-13 09:47:09 +0300",
|
|
509
|
+
"isTagged": true,
|
|
510
|
+
"tag": "@pie-element/multiple-choice-controller@3.2.2"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"type": "fix",
|
|
514
|
+
"scope": null,
|
|
515
|
+
"subject": "bump ui/lib versions",
|
|
516
|
+
"merge": null,
|
|
517
|
+
"header": "fix: bump ui/lib versions",
|
|
518
|
+
"body": null,
|
|
519
|
+
"footer": null,
|
|
520
|
+
"notes": [],
|
|
521
|
+
"hash": "3edb2321ebaefcaee70c3642aa6da8a50e8a99e5",
|
|
522
|
+
"gitTags": "",
|
|
523
|
+
"committerDate": "2020-04-14 15:36:44 +0100",
|
|
524
|
+
"isTagged": true,
|
|
525
|
+
"tag": "@pie-element/multiple-choice-controller@3.2.3"
|
|
526
|
+
}
|
|
527
|
+
]
|