@pie-element/extended-text-entry 15.1.1-next.0 → 15.1.1-next.29

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.
Files changed (195) hide show
  1. package/CHANGELOG.json +1282 -0
  2. package/CHANGELOG.md +2260 -0
  3. package/LICENSE.md +5 -0
  4. package/README.md +1 -0
  5. package/configure/CHANGELOG.json +922 -0
  6. package/configure/CHANGELOG.md +1949 -0
  7. package/configure/lib/defaults.js +224 -0
  8. package/configure/lib/defaults.js.map +1 -0
  9. package/configure/lib/index.js +125 -0
  10. package/configure/lib/index.js.map +1 -0
  11. package/configure/lib/main.js +247 -0
  12. package/configure/lib/main.js.map +1 -0
  13. package/configure/package.json +23 -0
  14. package/controller/CHANGELOG.json +362 -0
  15. package/controller/CHANGELOG.md +1179 -0
  16. package/controller/lib/defaults.js +91 -0
  17. package/controller/lib/defaults.js.map +1 -0
  18. package/controller/lib/index.js +101 -0
  19. package/controller/lib/index.js.map +1 -0
  20. package/controller/package.json +16 -0
  21. package/docs/config-schema.json +1782 -0
  22. package/docs/config-schema.json.md +1333 -0
  23. package/docs/demo/config.js +7 -0
  24. package/docs/demo/generate.js +14 -0
  25. package/docs/demo/index.html +3 -0
  26. package/docs/demo/session.js +7 -0
  27. package/docs/pie-schema.json +954 -0
  28. package/docs/pie-schema.json.md +717 -0
  29. package/lib/annotation/annotation-editor.js +636 -0
  30. package/lib/annotation/annotation-editor.js.map +1 -0
  31. package/lib/annotation/annotation-menu.js +147 -0
  32. package/lib/annotation/annotation-menu.js.map +1 -0
  33. package/lib/annotation/annotation-utils.js +205 -0
  34. package/lib/annotation/annotation-utils.js.map +1 -0
  35. package/lib/annotation/freeform-editor.js +241 -0
  36. package/lib/annotation/freeform-editor.js.map +1 -0
  37. package/lib/index.js +108 -0
  38. package/lib/index.js.map +1 -0
  39. package/lib/main.js +205 -0
  40. package/lib/main.js.map +1 -0
  41. package/lib/print.js +86 -0
  42. package/lib/print.js.map +1 -0
  43. package/module/configure.js +1 -0
  44. package/module/controller.js +139 -0
  45. package/module/demo.js +38 -0
  46. package/module/element.js +1 -0
  47. package/module/index.html +21 -0
  48. package/module/manifest.json +22 -0
  49. package/module/print-demo.js +76 -0
  50. package/module/print.html +18 -0
  51. package/module/print.js +1 -0
  52. package/package.json +21 -56
  53. package/dist/author/defaults.d.ts +0 -166
  54. package/dist/author/defaults.js +0 -209
  55. package/dist/author/index.d.ts +0 -52
  56. package/dist/author/index.js +0 -74
  57. package/dist/author/main.d.ts +0 -26
  58. package/dist/author/main.js +0 -166
  59. package/dist/controller/defaults.d.ts +0 -33
  60. package/dist/controller/defaults.js +0 -104
  61. package/dist/controller/index.d.ts +0 -59
  62. package/dist/controller/index.js +0 -72
  63. package/dist/delivery/annotation/annotation-editor.d.ts +0 -47
  64. package/dist/delivery/annotation/annotation-editor.js +0 -296
  65. package/dist/delivery/annotation/annotation-menu.d.ts +0 -25
  66. package/dist/delivery/annotation/annotation-menu.js +0 -113
  67. package/dist/delivery/annotation/annotation-utils.d.ts +0 -20
  68. package/dist/delivery/annotation/annotation-utils.js +0 -65
  69. package/dist/delivery/annotation/freeform-editor.d.ts +0 -30
  70. package/dist/delivery/annotation/freeform-editor.js +0 -143
  71. package/dist/delivery/index.d.ts +0 -23
  72. package/dist/delivery/index.js +0 -68
  73. package/dist/delivery/main.d.ts +0 -27
  74. package/dist/delivery/main.js +0 -134
  75. package/dist/extended-text-entry.css +0 -2
  76. package/dist/index.d.ts +0 -1
  77. package/dist/index.iife.d.ts +0 -8
  78. package/dist/index.iife.js +0 -404
  79. package/dist/index.js +0 -2
  80. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +0 -6
  81. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +0 -16
  82. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +0 -16
  83. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +0 -6
  84. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +0 -16
  85. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +0 -6
  86. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +0 -6
  87. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +0 -14
  88. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +0 -5
  89. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +0 -5
  90. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +0 -6
  91. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +0 -7
  92. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +0 -10
  93. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +0 -15
  94. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +0 -7
  95. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +0 -10
  96. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +0 -8
  97. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +0 -8
  98. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +0 -8
  99. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +0 -12
  100. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +0 -57
  101. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +0 -14
  102. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +0 -9
  103. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +0 -10
  104. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +0 -9
  105. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +0 -9
  106. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +0 -11
  107. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +0 -9
  108. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +0 -11
  109. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +0 -12
  110. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +0 -13
  111. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +0 -7
  112. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTrim.js +0 -8
  113. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +0 -8
  114. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +0 -8
  115. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +0 -10
  116. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +0 -8
  117. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +0 -8
  118. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +0 -8
  119. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +0 -8
  120. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +0 -8
  121. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +0 -14
  122. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +0 -8
  123. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +0 -8
  124. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +0 -5
  125. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +0 -10
  126. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +0 -4
  127. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +0 -9
  128. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +0 -9
  129. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +0 -8
  130. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +0 -9
  131. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +0 -5
  132. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +0 -14
  133. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +0 -10
  134. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +0 -11
  135. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +0 -23
  136. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +0 -6
  137. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +0 -7
  138. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +0 -7
  139. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +0 -13
  140. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +0 -9
  141. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +0 -9
  142. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +0 -8
  143. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +0 -33
  144. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +0 -9
  145. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +0 -8
  146. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +0 -7
  147. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +0 -11
  148. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +0 -8
  149. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +0 -6
  150. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +0 -9
  151. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +0 -8
  152. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +0 -7
  153. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +0 -8
  154. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +0 -13
  155. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +0 -8
  156. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +0 -7
  157. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +0 -7
  158. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +0 -8
  159. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +0 -5
  160. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +0 -5
  161. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +0 -8
  162. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +0 -9
  163. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +0 -7
  164. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +0 -8
  165. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +0 -5
  166. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +0 -7
  167. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +0 -7
  168. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +0 -6
  169. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +0 -6
  170. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +0 -16
  171. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +0 -15
  172. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_trimmedEndIndex.js +0 -8
  173. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +0 -8
  174. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/debounce.js +0 -50
  175. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +0 -6
  176. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +0 -10
  177. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +0 -4
  178. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +0 -8
  179. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +0 -6
  180. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +0 -11
  181. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +0 -7
  182. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +0 -7
  183. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +0 -7
  184. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +0 -6
  185. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +0 -7
  186. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +0 -9
  187. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +0 -7
  188. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +0 -9
  189. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +0 -9
  190. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/now.js +0 -7
  191. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +0 -6
  192. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +0 -6
  193. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js +0 -19
  194. package/dist/print/index.d.ts +0 -15
  195. package/dist/print/index.js +0 -49
@@ -0,0 +1 @@
1
+ {"version":3,"file":"main.js","names":["_react","_interopRequireDefault","require","_configUi","_propTypes","_Typography","_styles","_editableHtmlTipTap","_interopRequireWildcard","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","Panel","toggle","numberFields","dropdown","settings","defaultFeedback","type","StyledHeader","styled","Typography","theme","paddingBottom","spacing","PromptContainer","InputContainer","paddingTop","marginTop","marginBottom","width","ErrorText","fontSize","typography","color","palette","error","main","Main","React","Component","constructor","props","_defineProperty2","markup","onModelChanged","model","prompt","feedback","update","teacherInstructions","state","setDimensions","render","configuration","imageSupport","onConfigurationChanged","uploadSoundSupport","annotations","contentDimensions","dimensions","equationEditor","playerSpellCheck","settingsPanelDisabled","spanishInput","specialInput","spellCheck","studentInstructions","mathInput","maxImageWidth","maxImageHeight","multiple","withRubric","mathMlOptions","baseInputConfiguration","errors","extraCSSRules","feedbackEnabled","promptEnabled","spellCheckEnabled","teacherInstructionsEnabled","toolbarEditorPosition","promptError","teacherInstructionsError","defaultImageMaxWidth","defaultImageMaxHeight","toolbarOpts","position","panelSettings","label","enabled","suffix","min","max","height","annotationsEnabled","playerSpellCheckDisabled","panelProperties","studentInstructionsEnabled","rubricEnabled","getPluginProps","assign","createElement","layout","ConfigLayout","hideSettings","onChangeModel","onChangeConfiguration","config","groups","Settings","Properties","className","onChange","changeTeacherInstructions","nonEmpty","languageCharactersProps","language","pluginProps","inputConfiguration","activePlugins","ALL_PLUGINS","onPromptChange","Fragment","variant","FeedbackSelector","changeFeedback","exports","PropTypes","func","isRequired","object","_default"],"sources":["../src/main.jsx"],"sourcesContent":["import React from 'react';\nimport { FeedbackSelector, InputContainer, settings, layout } from '@pie-lib/config-ui';\nimport PropTypes from 'prop-types';\nimport Typography from '@mui/material/Typography';\nimport { styled } from '@mui/material/styles';\nimport EditableHtml, { ALL_PLUGINS } from '@pie-lib/editable-html-tip-tap';\n\nconst { Panel, toggle, numberFields, dropdown } = settings;\n\nconst defaultFeedback = {\n type: 'default',\n default: 'Your answer has been submitted',\n};\n\nconst StyledHeader = styled(Typography)(({ theme }) => ({\n paddingBottom: theme.spacing(1),\n}));\n\nconst PromptContainer = styled(InputContainer)(({ theme }) => ({\n paddingTop: theme.spacing(1),\n marginTop: theme.spacing(2),\n marginBottom: theme.spacing(2),\n width: '100%',\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\nexport class Main extends React.Component {\n static propTypes = {\n onModelChanged: PropTypes.func.isRequired,\n onConfigurationChanged: PropTypes.func,\n model: PropTypes.object.isRequired,\n configuration: PropTypes.object.isRequired,\n imageSupport: PropTypes.object.isRequired,\n uploadSoundSupport: PropTypes.object.isRequired,\n };\n\n constructor(props) {\n super(props);\n this.state = { setDimensions: true };\n }\n\n onPromptChange = (markup) => {\n const { onModelChanged, model } = this.props;\n\n onModelChanged({ ...model, prompt: markup });\n };\n\n changeFeedback = (feedback) => {\n const { model, onModelChanged } = this.props;\n const update = { ...model, feedback };\n\n onModelChanged(update);\n };\n\n changeTeacherInstructions = (teacherInstructions) => {\n const { model, onModelChanged } = this.props;\n const update = { ...model, teacherInstructions };\n\n onModelChanged(update);\n };\n\n render() {\n const { model, configuration, imageSupport, onConfigurationChanged, onModelChanged, uploadSoundSupport } =\n this.props;\n const {\n annotations = {},\n contentDimensions = {},\n dimensions = {},\n equationEditor = {},\n feedback = {},\n playerSpellCheck = {},\n prompt = {},\n settingsPanelDisabled,\n spanishInput = {},\n specialInput = {},\n spellCheck = {},\n studentInstructions = {},\n teacherInstructions = {},\n mathInput = {},\n maxImageWidth = {},\n maxImageHeight = {},\n multiple = {},\n withRubric = {},\n mathMlOptions = {},\n baseInputConfiguration = {},\n } = configuration || {};\n const {\n errors = {},\n extraCSSRules,\n feedbackEnabled,\n promptEnabled,\n spellCheckEnabled,\n teacherInstructionsEnabled,\n toolbarEditorPosition,\n } = model || {};\n const { prompt: promptError, teacherInstructions: teacherInstructionsError } = errors;\n\n const defaultImageMaxWidth = maxImageWidth && maxImageWidth.prompt;\n const defaultImageMaxHeight = maxImageHeight && maxImageHeight.prompt;\n\n const toolbarOpts = {\n position: toolbarEditorPosition === 'top' ? 'top' : 'bottom',\n };\n\n const panelSettings = {\n mathInput: mathInput.settings && toggle(mathInput.label),\n equationEditor:\n equationEditor.enabled &&\n model.mathInput &&\n dropdown(equationEditor.label, [\n 'non-negative-integers',\n 'integers',\n 'decimals',\n 'fractions',\n 'Grade 1 - 2',\n 'Grade 3 - 5',\n 'Grade 6 - 7',\n 'Grade 8 - HS',\n 'geometry',\n 'advanced-algebra',\n 'statistics',\n 'item-authoring',\n ]),\n spanishInput: spanishInput.settings && toggle(spanishInput.label),\n specialInput: specialInput.settings && toggle(specialInput.label),\n dimensions:\n dimensions.settings &&\n numberFields(dimensions.label, {\n width: { label: 'Width (px)', suffix: 'px', min: 100, max: 1200 },\n height: { label: 'Height (px)', suffix: 'px', min: 100, max: 500 },\n }),\n 'multiple.enabled': multiple.settings && toggle(multiple.label, true),\n promptEnabled: prompt.settings && toggle(prompt.label),\n feedbackEnabled: feedback.settings && toggle(feedback.label),\n annotationsEnabled: annotations.settings && toggle(annotations.label),\n spellCheckEnabled: spellCheck.settings && toggle(spellCheck.label),\n playerSpellCheckDisabled: playerSpellCheck.settings && toggle(playerSpellCheck.label),\n };\n const panelProperties = {\n teacherInstructionsEnabled: teacherInstructions.settings && toggle(teacherInstructions.label),\n studentInstructionsEnabled: studentInstructions.settings && toggle(studentInstructions.label),\n rubricEnabled: withRubric?.settings && toggle(withRubric?.label),\n };\n\n const getPluginProps = (props) => {\n return Object.assign(\n {\n ...baseInputConfiguration,\n },\n props || {},\n );\n };\n\n return (\n <layout.ConfigLayout\n extraCSSRules={extraCSSRules}\n dimensions={contentDimensions}\n hideSettings={settingsPanelDisabled}\n settings={\n <Panel\n model={model}\n configuration={configuration}\n onChangeModel={(model) => onModelChanged(model)}\n onChangeConfiguration={(config) => onConfigurationChanged(config)}\n groups={{\n Settings: panelSettings,\n Properties: panelProperties,\n }}\n />\n }\n >\n {teacherInstructionsEnabled && (\n <PromptContainer label={teacherInstructions.label}>\n <EditableHtml\n className=\"prompt\"\n markup={model.teacherInstructions || ''}\n onChange={this.changeTeacherInstructions}\n imageSupport={imageSupport}\n nonEmpty={false}\n error={teacherInstructionsError}\n toolbarOpts={toolbarOpts}\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 pluginProps={getPluginProps(teacherInstructions?.inputConfiguration)}\n />\n {teacherInstructionsError && <ErrorText>{teacherInstructionsError}</ErrorText>}\n </PromptContainer>\n )}\n\n {promptEnabled && (\n <PromptContainer label={prompt.label}>\n <EditableHtml\n activePlugins={ALL_PLUGINS}\n className=\"prompt\"\n markup={model.prompt || ''}\n onChange={this.onPromptChange}\n imageSupport={imageSupport}\n nonEmpty={false}\n error={promptError}\n toolbarOpts={toolbarOpts}\n spellCheck={spellCheckEnabled}\n maxImageWidth={defaultImageMaxWidth}\n maxImageHeight={defaultImageMaxHeight}\n uploadSoundSupport={uploadSoundSupport}\n languageCharactersProps={[{ language: 'spanish' }, { language: 'special' }]}\n mathMlOptions={mathMlOptions}\n pluginProps={getPluginProps(prompt?.inputConfiguration)}\n />\n {promptError && <ErrorText>{promptError}</ErrorText>}\n </PromptContainer>\n )}\n\n {feedbackEnabled && (\n <React.Fragment>\n <StyledHeader variant=\"h6\">\n Feedback\n </StyledHeader>\n\n <FeedbackSelector\n label=\"When submitted, show\"\n feedback={model.feedback || defaultFeedback}\n onChange={this.changeFeedback}\n toolbarOpts={toolbarOpts}\n />\n </React.Fragment>\n )}\n </layout.ConfigLayout>\n );\n }\n}\n\nexport default Main;\n"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AACA,IAAAE,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OAAK,CAACwH,QAAQ,qBACb3I,MAAA,CAAAmB,OAAA,CAAAmG,aAAA,CAACnF,YAAY;MAACyG,OAAO,EAAC;IAAI,GAAC,UAEb,CAAC,eAEf5I,MAAA,CAAAmB,OAAA,CAAAmG,aAAA,CAACnH,SAAA,CAAA0I,gBAAgB;MACfpC,KAAK,EAAC,sBAAsB;MAC5BzC,QAAQ,EAAEF,KAAK,CAACE,QAAQ,IAAI/B,eAAgB;MAC5CgG,QAAQ,EAAE,IAAI,CAACa,cAAe;MAC9BxC,WAAW,EAAEA;IAAY,CAC1B,CACa,CAEC,CAAC;EAE1B;AACF;AAACyC,OAAA,CAAAzF,IAAA,GAAAA,IAAA;AAAA,IAAAK,gBAAA,CAAAxC,OAAA,EA/MYmC,IAAI,eACI;EACjBO,cAAc,EAAEmF,kBAAS,CAACC,IAAI,CAACC,UAAU;EACzC1E,sBAAsB,EAAEwE,kBAAS,CAACC,IAAI;EACtCnF,KAAK,EAAEkF,kBAAS,CAACG,MAAM,CAACD,UAAU;EAClC5E,aAAa,EAAE0E,kBAAS,CAACG,MAAM,CAACD,UAAU;EAC1C3E,YAAY,EAAEyE,kBAAS,CAACG,MAAM,CAACD,UAAU;EACzCzE,kBAAkB,EAAEuE,kBAAS,CAACG,MAAM,CAACD;AACvC,CAAC;AAAA,IAAAE,QAAA,GAAAL,OAAA,CAAA5H,OAAA,GAyMYmC,IAAI","ignoreList":[]}
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "@pie-element/extended-text-entry-configure",
3
+ "private": true,
4
+ "version": "13.1.0",
5
+ "description": "",
6
+ "main": "lib/index.js",
7
+ "module": "src/index.js",
8
+ "author": "pie framework developers",
9
+ "license": "ISC",
10
+ "dependencies": {
11
+ "@emotion/react": "^11.14.0",
12
+ "@emotion/style": "^0.8.0",
13
+ "@mui/icons-material": "^7.3.4",
14
+ "@mui/material": "^7.3.4",
15
+ "@pie-framework/pie-configure-events": "^1.3.0",
16
+ "@pie-lib/config-ui": "13.0.7",
17
+ "@pie-lib/editable-html-tip-tap": "2.1.5",
18
+ "lodash-es": "^4.17.23",
19
+ "prop-types": "^15.8.1",
20
+ "react": "18.3.1",
21
+ "react-dom": "18.3.1"
22
+ }
23
+ }
@@ -0,0 +1,362 @@
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/extended-text-entry-controller@2.1.0"
16
+ },
17
+ {
18
+ "type": "fix",
19
+ "scope": null,
20
+ "subject": "build fixes",
21
+ "merge": null,
22
+ "header": "fix: build fixes",
23
+ "body": null,
24
+ "footer": null,
25
+ "notes": [],
26
+ "hash": "3c3a7f20ff7805fa1265eb7b187b80d77e1820ac",
27
+ "gitTags": "",
28
+ "committerDate": "2018-09-20 09:49:51 +0100",
29
+ "isTagged": true,
30
+ "tag": "@pie-element/extended-text-entry-controller@2.0.0"
31
+ },
32
+ {
33
+ "type": "feat",
34
+ "scope": "extended-text-entry",
35
+ "subject": "added prompt to model and display",
36
+ "merge": null,
37
+ "header": "feat(extended-text-entry): added prompt to model and display",
38
+ "body": null,
39
+ "footer": null,
40
+ "notes": [],
41
+ "hash": "9b3a5305c58fab16bb3d6aab07d216ca080b4930",
42
+ "gitTags": "",
43
+ "committerDate": "2018-09-10 14:55:17 +0300",
44
+ "isTagged": true,
45
+ "tag": "@pie-element/extended-text-entry-controller@2.0.0"
46
+ },
47
+ {
48
+ "type": "feat",
49
+ "scope": null,
50
+ "subject": "add outcome method to extended text-entry",
51
+ "merge": null,
52
+ "header": "feat: add outcome method to extended text-entry",
53
+ "body": null,
54
+ "footer": null,
55
+ "notes": [],
56
+ "hash": "c92c41d82004e316bc80c142aa43c8e950309ad0",
57
+ "gitTags": "",
58
+ "committerDate": "2018-09-07 15:03:28 +0100",
59
+ "isTagged": true,
60
+ "tag": "@pie-element/extended-text-entry-controller@2.0.0"
61
+ },
62
+ {
63
+ "type": "fix",
64
+ "scope": "dependencies",
65
+ "subject": "bump @pie-lib/feedback",
66
+ "merge": null,
67
+ "header": "fix(dependencies): bump @pie-lib/feedback",
68
+ "body": null,
69
+ "footer": null,
70
+ "notes": [],
71
+ "hash": "6fea7bb8bd678952103c1d6efb9d1e3d8ea4ef90",
72
+ "gitTags": "",
73
+ "committerDate": "2018-05-10 21:39:29 -0400",
74
+ "isTagged": true,
75
+ "tag": "@pie-element/extended-text-entry-controller@2.0.0"
76
+ },
77
+ {
78
+ "type": "chore",
79
+ "scope": "test",
80
+ "subject": "add tests",
81
+ "merge": null,
82
+ "header": "chore(test): add tests",
83
+ "body": null,
84
+ "footer": null,
85
+ "notes": [],
86
+ "hash": "fe8f4eebfe91e5cfa0f06ef525bbe252935779bf",
87
+ "gitTags": "",
88
+ "committerDate": "2018-05-10 21:23:31 -0400",
89
+ "isTagged": true,
90
+ "tag": "@pie-element/extended-text-entry-controller@2.0.0"
91
+ },
92
+ {
93
+ "type": "fix",
94
+ "scope": "dependecies",
95
+ "subject": "bump @pie-lib/feedback",
96
+ "merge": null,
97
+ "header": "fix(dependecies): bump @pie-lib/feedback",
98
+ "body": null,
99
+ "footer": null,
100
+ "notes": [],
101
+ "hash": "4be839f6f062d7457e46458a827c9d785b7ba8b0",
102
+ "gitTags": "",
103
+ "committerDate": "2018-05-10 21:23:16 -0400",
104
+ "isTagged": true,
105
+ "tag": "@pie-element/extended-text-entry-controller@2.0.0"
106
+ },
107
+ {
108
+ "type": "fix",
109
+ "scope": "controller",
110
+ "subject": "bump feedback version",
111
+ "merge": null,
112
+ "header": "fix(controller): bump feedback version",
113
+ "body": null,
114
+ "footer": null,
115
+ "notes": [],
116
+ "hash": "a07c9ecf3f44f94bdeb48e847cca52ac8e13f619",
117
+ "gitTags": "",
118
+ "committerDate": "2018-05-10 19:13:44 -0400",
119
+ "isTagged": true,
120
+ "tag": "@pie-element/extended-text-entry-controller@2.0.0"
121
+ },
122
+ {
123
+ "type": "feat",
124
+ "scope": "feedback",
125
+ "subject": "Use new feedback model",
126
+ "merge": null,
127
+ "header": "feat(feedback): Use new feedback model",
128
+ "body": null,
129
+ "footer": "BREAKING CHANGE:\n\nFeedback is now of the form: `{type,default?, custom?}`",
130
+ "notes": [
131
+ {
132
+ "title": "BREAKING CHANGE",
133
+ "text": "Feedback is now of the form: `{type,default?, custom?}`"
134
+ }
135
+ ],
136
+ "hash": "326f9b22ebc21e4b36988ca2be034ea781971fa8",
137
+ "gitTags": "",
138
+ "committerDate": "2018-05-10 09:57:42 -0400",
139
+ "isTagged": true,
140
+ "tag": "@pie-element/extended-text-entry-controller@2.0.0"
141
+ },
142
+ {
143
+ "type": "feat",
144
+ "scope": "model",
145
+ "subject": "discard legacy model - use streamlined model.",
146
+ "merge": null,
147
+ "header": "feat(model): discard legacy model - use streamlined model.",
148
+ "body": null,
149
+ "footer": "BREAKING CHANGE: The old corespring model is no longer supported.",
150
+ "notes": [
151
+ {
152
+ "title": "BREAKING CHANGE",
153
+ "text": "The old corespring model is no longer supported."
154
+ }
155
+ ],
156
+ "hash": "ed47b59efbad6b330413b468447d0d5742689cd3",
157
+ "gitTags": "",
158
+ "committerDate": "2018-05-09 14:44:07 -0400",
159
+ "isTagged": true,
160
+ "tag": "@pie-element/extended-text-entry-controller@2.0.0"
161
+ },
162
+ {
163
+ "type": "feat",
164
+ "scope": "ui",
165
+ "subject": "finalise config ui",
166
+ "merge": null,
167
+ "header": "feat(ui): finalise config ui",
168
+ "body": null,
169
+ "footer": null,
170
+ "notes": [],
171
+ "hash": "75bd3958f6c152c46e2655fb9cdd23073f1fa375",
172
+ "gitTags": "",
173
+ "committerDate": "2018-05-01 21:51:21 -0400",
174
+ "isTagged": true,
175
+ "tag": "@pie-element/extended-text-entry-controller@2.0.0"
176
+ },
177
+ {
178
+ "type": "fix",
179
+ "scope": "extended-text-entry",
180
+ "subject": "fixed updating dimensions (width & height).",
181
+ "merge": null,
182
+ "header": "fix(extended-text-entry): fixed updating dimensions (width & height).",
183
+ "body": null,
184
+ "footer": null,
185
+ "notes": [],
186
+ "hash": "5f16e2a6eac233dcf6d643cb58f706a9cce5e5be",
187
+ "gitTags": "",
188
+ "committerDate": "2019-03-21 10:03:12 +0200",
189
+ "isTagged": true,
190
+ "tag": "@pie-element/extended-text-entry-controller@2.1.5"
191
+ },
192
+ {
193
+ "type": "feat",
194
+ "scope": "extended-text-entry",
195
+ "subject": "Updated model structure with new established structure, integrated settings panel and updated tests.",
196
+ "merge": null,
197
+ "header": "feat(extended-text-entry): Updated model structure with new established structure, integrated settings panel and updated tests.",
198
+ "body": null,
199
+ "footer": null,
200
+ "notes": [],
201
+ "hash": "cdb29e41d8e6ea550f70fb4c719f3f18afffbed9",
202
+ "gitTags": "",
203
+ "committerDate": "2019-04-18 09:03:28 +0300",
204
+ "isTagged": true,
205
+ "tag": "@pie-element/extended-text-entry-controller@2.2.0"
206
+ },
207
+ {
208
+ "type": "fix",
209
+ "scope": "editable-html",
210
+ "subject": "fixed lots of stuff regarding the editable-html",
211
+ "merge": null,
212
+ "header": "fix(editable-html): fixed lots of stuff regarding the editable-html",
213
+ "body": null,
214
+ "footer": null,
215
+ "notes": [],
216
+ "hash": "12c112917e0b5065ec35efdbdc276703602a6c68",
217
+ "gitTags": " (origin/andrei/fixes)",
218
+ "committerDate": "2019-07-07 14:16:34 -0400",
219
+ "isTagged": true,
220
+ "tag": "@pie-element/extended-text-entry-controller@2.2.4"
221
+ },
222
+ {
223
+ "type": "feat",
224
+ "scope": null,
225
+ "subject": "Added a dropdown in settings panel with Equation Editor Types if mathInput is true.",
226
+ "merge": null,
227
+ "header": "feat: Added a dropdown in settings panel with Equation Editor Types if mathInput is true.",
228
+ "body": null,
229
+ "footer": null,
230
+ "notes": [],
231
+ "hash": "324c3d9a3b12ed9924d8d1a7e535419f1f6a9131",
232
+ "gitTags": "",
233
+ "committerDate": "2019-07-05 23:35:48 -0400",
234
+ "isTagged": true,
235
+ "tag": "@pie-element/extended-text-entry-controller@2.3.0"
236
+ },
237
+ {
238
+ "type": "feat",
239
+ "scope": null,
240
+ "subject": "Used mathInput value in order to hide/display math option in pie-ui/extended-text-entry. Moved width & height to settings panel. Added a dropdown in settings panel with Equation Editor Types if mathInput is true (functionality for it is WIP). Updated pie-models, pie-schemas & tests.",
241
+ "merge": null,
242
+ "header": "feat: Used mathInput value in order to hide/display math option in pie-ui/extended-text-entry. Moved width & height to settings panel. Added a dropdown in settings panel with Equation Editor Types if mathInput is true (functionality for it is WIP). Updated pie-models, pie-schemas & tests.",
243
+ "body": null,
244
+ "footer": null,
245
+ "notes": [],
246
+ "hash": "fd65b2294f25f3d56732f7f7e5e8c640bc518120",
247
+ "gitTags": "",
248
+ "committerDate": "2019-07-05 00:35:14 -0400",
249
+ "isTagged": true,
250
+ "tag": "@pie-element/extended-text-entry-controller@2.3.0"
251
+ },
252
+ {
253
+ "type": "feat",
254
+ "scope": null,
255
+ "subject": "Moved rationale, teacherInstructions and student instructions enabled flag in model because it's needed in controller.",
256
+ "merge": null,
257
+ "header": "feat: Moved rationale, teacherInstructions and student instructions enabled flag in model because it's needed in controller.",
258
+ "body": null,
259
+ "footer": "BREAKING CHANGE: `enabled` property from `configuration.rationale.enabled` moved to `model.rationaleEnabled`. Same applies to teacherInstructions/studentInstructions.",
260
+ "notes": [
261
+ {
262
+ "title": "BREAKING CHANGE",
263
+ "text": "`enabled` property from `configuration.rationale.enabled` moved to `model.rationaleEnabled`. Same applies to teacherInstructions/studentInstructions."
264
+ }
265
+ ],
266
+ "hash": "9238954fa611462ddd1397f9780fc1c3d08ecc6f",
267
+ "gitTags": "",
268
+ "committerDate": "2019-09-16 19:17:27 +0300",
269
+ "isTagged": true,
270
+ "tag": "@pie-element/extended-text-entry-controller@3.0.0"
271
+ },
272
+ {
273
+ "type": "fix",
274
+ "scope": null,
275
+ "subject": "added feedbackEnabled property to model, removed usage on config.feedback.enabled and removed usage of allowFeedback (replaced with feedbackEnabled).",
276
+ "merge": null,
277
+ "header": "fix: added feedbackEnabled property to model, removed usage on config.feedback.enabled and removed usage of allowFeedback (replaced with feedbackEnabled).",
278
+ "body": null,
279
+ "footer": null,
280
+ "notes": [],
281
+ "hash": "839aa3cf2ebba752865b9bc78e614fb48114c40b",
282
+ "gitTags": "",
283
+ "committerDate": "2019-09-27 11:34:43 +0300",
284
+ "isTagged": true,
285
+ "tag": "@pie-element/extended-text-entry-controller@3.1.0"
286
+ },
287
+ {
288
+ "type": "feat",
289
+ "scope": "extended-text-entry",
290
+ "subject": "model based prompt",
291
+ "merge": null,
292
+ "header": "feat(extended-text-entry): model based prompt",
293
+ "body": null,
294
+ "footer": null,
295
+ "notes": [],
296
+ "hash": "f39942573cf3a908312d0ad6d7530c05d9020433",
297
+ "gitTags": "",
298
+ "committerDate": "2019-09-24 17:49:47 +0300",
299
+ "isTagged": true,
300
+ "tag": "@pie-element/extended-text-entry-controller@3.1.0"
301
+ },
302
+ {
303
+ "type": "fix",
304
+ "scope": null,
305
+ "subject": "bump ui versions",
306
+ "merge": null,
307
+ "header": "fix: bump ui versions",
308
+ "body": null,
309
+ "footer": null,
310
+ "notes": [],
311
+ "hash": "5b9d99fe59c304bdd173c9336503eb558900d2a2",
312
+ "gitTags": "",
313
+ "committerDate": "2020-03-31 19:25:13 +0100",
314
+ "isTagged": true,
315
+ "tag": "@pie-element/extended-text-entry-controller@4.1.0"
316
+ },
317
+ {
318
+ "type": "fix",
319
+ "scope": null,
320
+ "subject": "bump lib and ui versions",
321
+ "merge": null,
322
+ "header": "fix: bump lib and ui versions",
323
+ "body": null,
324
+ "footer": null,
325
+ "notes": [],
326
+ "hash": "a882cbf4580098ce0e12c51cf6ad2879817e17e7",
327
+ "gitTags": "",
328
+ "committerDate": "2020-04-10 17:13:24 +0100",
329
+ "isTagged": true,
330
+ "tag": "@pie-element/extended-text-entry-controller@4.1.1"
331
+ },
332
+ {
333
+ "type": "fix",
334
+ "scope": null,
335
+ "subject": "bump all packages to avoid tag conflict",
336
+ "merge": null,
337
+ "header": "fix: bump all packages to avoid tag conflict",
338
+ "body": null,
339
+ "footer": null,
340
+ "notes": [],
341
+ "hash": "d9ec9a8689f0a391594b5e2f4ea958c6dc9f6d7b",
342
+ "gitTags": "",
343
+ "committerDate": "2020-04-10 20:01:37 +0100",
344
+ "isTagged": true,
345
+ "tag": "@pie-element/extended-text-entry-controller@4.1.1"
346
+ },
347
+ {
348
+ "type": "fix",
349
+ "scope": null,
350
+ "subject": "bump ui/lib versions",
351
+ "merge": null,
352
+ "header": "fix: bump ui/lib versions",
353
+ "body": null,
354
+ "footer": null,
355
+ "notes": [],
356
+ "hash": "3edb2321ebaefcaee70c3642aa6da8a50e8a99e5",
357
+ "gitTags": "",
358
+ "committerDate": "2020-04-14 15:36:44 +0100",
359
+ "isTagged": true,
360
+ "tag": "@pie-element/extended-text-entry-controller@4.1.3"
361
+ }
362
+ ]