@pie-element/explicit-constructed-response 11.1.1-next.1 → 11.1.1-next.11

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 (280) hide show
  1. package/CHANGELOG.json +1102 -0
  2. package/CHANGELOG.md +2183 -0
  3. package/LICENSE.md +5 -0
  4. package/README.md +1 -0
  5. package/configure/CHANGELOG.json +652 -0
  6. package/configure/CHANGELOG.md +1924 -0
  7. package/configure/lib/alternateResponses.js +199 -0
  8. package/configure/lib/alternateResponses.js.map +1 -0
  9. package/configure/lib/alternateSection.js +329 -0
  10. package/configure/lib/alternateSection.js.map +1 -0
  11. package/configure/lib/defaults.js +184 -0
  12. package/configure/lib/defaults.js.map +1 -0
  13. package/configure/lib/ecr-toolbar.js +181 -0
  14. package/configure/lib/ecr-toolbar.js.map +1 -0
  15. package/configure/lib/index.js +161 -0
  16. package/configure/lib/index.js.map +1 -0
  17. package/configure/lib/main.js +501 -0
  18. package/configure/lib/main.js.map +1 -0
  19. package/configure/lib/markupUtils.js +70 -0
  20. package/configure/lib/markupUtils.js.map +1 -0
  21. package/configure/lib/utils.js +15 -0
  22. package/configure/lib/utils.js.map +1 -0
  23. package/configure/package.json +22 -0
  24. package/controller/CHANGELOG.json +517 -0
  25. package/controller/CHANGELOG.md +1340 -0
  26. package/controller/lib/defaults.js +23 -0
  27. package/controller/lib/defaults.js.map +1 -0
  28. package/controller/lib/index.js +368 -0
  29. package/controller/lib/index.js.map +1 -0
  30. package/controller/package.json +18 -0
  31. package/docs/config-schema.json +2629 -0
  32. package/docs/config-schema.json.md +1941 -0
  33. package/docs/demo/config.js +8 -0
  34. package/docs/demo/generate.js +20 -0
  35. package/docs/demo/index.html +1 -0
  36. package/docs/demo/session.js +10 -0
  37. package/docs/pie-schema.json +1130 -0
  38. package/docs/pie-schema.json.md +814 -0
  39. package/lib/index.js +91 -0
  40. package/lib/index.js.map +1 -0
  41. package/lib/main.js +205 -0
  42. package/lib/main.js.map +1 -0
  43. package/lib/print.js +71 -0
  44. package/lib/print.js.map +1 -0
  45. package/module/configure.js +1 -0
  46. package/module/controller.js +6534 -0
  47. package/module/demo.js +45 -0
  48. package/module/element.js +1 -0
  49. package/module/index.html +21 -0
  50. package/module/manifest.json +18 -0
  51. package/module/print-demo.js +83 -0
  52. package/module/print.html +18 -0
  53. package/module/print.js +1 -0
  54. package/package.json +24 -61
  55. package/dist/_virtual/_rolldown/runtime.js +0 -4
  56. package/dist/author/alternateResponses.d.ts +0 -34
  57. package/dist/author/alternateResponses.js +0 -116
  58. package/dist/author/alternateSection.d.ts +0 -58
  59. package/dist/author/alternateSection.js +0 -215
  60. package/dist/author/defaults.d.ts +0 -186
  61. package/dist/author/defaults.js +0 -128
  62. package/dist/author/ecr-toolbar.d.ts +0 -41
  63. package/dist/author/ecr-toolbar.js +0 -100
  64. package/dist/author/index.d.ts +0 -42
  65. package/dist/author/index.js +0 -94
  66. package/dist/author/main.d.ts +0 -38
  67. package/dist/author/main.js +0 -323
  68. package/dist/author/markupUtils.d.ts +0 -14
  69. package/dist/author/markupUtils.js +0 -13
  70. package/dist/author/utils.d.ts +0 -9
  71. package/dist/author/utils.js +0 -7
  72. package/dist/controller/defaults.d.ts +0 -25
  73. package/dist/controller/defaults.js +0 -19
  74. package/dist/controller/index.d.ts +0 -64
  75. package/dist/controller/index.js +0 -142
  76. package/dist/delivery/index.d.ts +0 -20
  77. package/dist/delivery/index.js +0 -66
  78. package/dist/delivery/main.d.ts +0 -48
  79. package/dist/delivery/main.js +0 -117
  80. package/dist/explicit-constructed-response.css +0 -2
  81. package/dist/index.d.ts +0 -1
  82. package/dist/index.iife.d.ts +0 -8
  83. package/dist/index.iife.js +0 -364
  84. package/dist/index.js +0 -2
  85. package/dist/node_modules/.bun/he@1.2.0/node_modules/he/he.js +0 -3993
  86. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +0 -6
  87. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +0 -16
  88. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +0 -16
  89. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +0 -6
  90. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +0 -16
  91. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +0 -6
  92. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +0 -6
  93. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js +0 -11
  94. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +0 -14
  95. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +0 -5
  96. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +0 -5
  97. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +0 -6
  98. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_apply.js +0 -12
  99. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +0 -7
  100. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +0 -10
  101. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +0 -15
  102. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js +0 -7
  103. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +0 -7
  104. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayReduce.js +0 -8
  105. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js +0 -7
  106. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +0 -10
  107. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +0 -8
  108. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +0 -8
  109. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +0 -8
  110. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +0 -12
  111. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +0 -57
  112. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +0 -14
  113. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseEach.js +0 -6
  114. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseExtremum.js +0 -11
  115. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFindIndex.js +0 -7
  116. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFlatten.js +0 -13
  117. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFor.js +0 -5
  118. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseForOwn.js +0 -8
  119. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js +0 -10
  120. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +0 -9
  121. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +0 -10
  122. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGt.js +0 -6
  123. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseHasIn.js +0 -6
  124. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +0 -9
  125. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js +0 -8
  126. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js +0 -30
  127. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +0 -9
  128. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMatch.js +0 -26
  129. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +0 -11
  130. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +0 -9
  131. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +0 -11
  132. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIteratee.js +0 -11
  133. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +0 -12
  134. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +0 -13
  135. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMap.js +0 -11
  136. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMatches.js +0 -12
  137. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMatchesProperty.js +0 -17
  138. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePick.js +0 -10
  139. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePickBy.js +0 -13
  140. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseProperty.js +0 -8
  141. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyDeep.js +0 -9
  142. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyOf.js +0 -8
  143. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseReduce.js +0 -8
  144. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js +0 -9
  145. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSet.js +0 -22
  146. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js +0 -14
  147. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +0 -7
  148. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js +0 -15
  149. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTrim.js +0 -8
  150. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +0 -8
  151. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js +0 -6
  152. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js +0 -10
  153. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +0 -8
  154. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +0 -10
  155. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +0 -8
  156. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +0 -8
  157. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +0 -8
  158. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +0 -8
  159. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +0 -8
  160. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +0 -14
  161. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +0 -8
  162. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +0 -8
  163. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +0 -5
  164. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createBaseEach.js +0 -12
  165. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createBaseFor.js +0 -12
  166. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createFind.js +0 -19
  167. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +0 -10
  168. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js +0 -35
  169. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js +0 -35
  170. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js +0 -32
  171. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_escapeHtmlChar.js +0 -11
  172. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_flatRest.js +0 -9
  173. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +0 -4
  174. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +0 -9
  175. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +0 -9
  176. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +0 -8
  177. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMatchData.js +0 -16
  178. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +0 -9
  179. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +0 -5
  180. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +0 -14
  181. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +0 -10
  182. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +0 -11
  183. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +0 -23
  184. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +0 -6
  185. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hasPath.js +0 -18
  186. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +0 -7
  187. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +0 -7
  188. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +0 -13
  189. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +0 -9
  190. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +0 -9
  191. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +0 -8
  192. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +0 -33
  193. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +0 -9
  194. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isFlattenable.js +0 -10
  195. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +0 -8
  196. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js +0 -12
  197. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js +0 -11
  198. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +0 -7
  199. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +0 -11
  200. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +0 -8
  201. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isStrictComparable.js +0 -7
  202. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +0 -6
  203. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +0 -9
  204. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +0 -8
  205. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +0 -7
  206. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +0 -8
  207. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +0 -13
  208. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +0 -8
  209. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +0 -7
  210. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +0 -7
  211. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +0 -8
  212. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js +0 -9
  213. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_matchesStrictComparable.js +0 -8
  214. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js +0 -11
  215. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +0 -5
  216. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +0 -5
  217. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +0 -8
  218. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +0 -9
  219. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +0 -7
  220. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +0 -8
  221. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js +0 -13
  222. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +0 -5
  223. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js +0 -7
  224. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js +0 -6
  225. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js +0 -9
  226. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js +0 -6
  227. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js +0 -14
  228. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +0 -7
  229. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +0 -7
  230. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +0 -6
  231. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +0 -6
  232. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +0 -16
  233. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js +0 -10
  234. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js +0 -10
  235. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +0 -15
  236. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_trimmedEndIndex.js +0 -8
  237. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +0 -8
  238. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js +0 -8
  239. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/debounce.js +0 -50
  240. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/defaults.js +0 -16
  241. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +0 -6
  242. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/escape.js +0 -9
  243. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/find.js +0 -6
  244. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/findIndex.js +0 -13
  245. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/flatten.js +0 -7
  246. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/get.js +0 -8
  247. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/hasIn.js +0 -8
  248. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/identity.js +0 -6
  249. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +0 -10
  250. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +0 -4
  251. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +0 -8
  252. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +0 -6
  253. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +0 -21
  254. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js +0 -7
  255. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +0 -11
  256. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +0 -7
  257. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +0 -7
  258. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +0 -7
  259. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +0 -6
  260. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +0 -7
  261. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +0 -9
  262. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +0 -7
  263. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +0 -9
  264. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +0 -9
  265. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/map.js +0 -10
  266. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/max.js +0 -9
  267. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/memoize.js +0 -16
  268. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/now.js +0 -7
  269. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/pick.js +0 -8
  270. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/property.js +0 -10
  271. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/reduce.js +0 -12
  272. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +0 -6
  273. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +0 -6
  274. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/throttle.js +0 -15
  275. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toFinite.js +0 -8
  276. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toInteger.js +0 -8
  277. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js +0 -19
  278. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toString.js +0 -7
  279. package/dist/print/index.d.ts +0 -15
  280. package/dist/print/index.js +0 -40
@@ -1,116 +0,0 @@
1
- import e from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js";
2
- import t from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/map.js";
3
- import n from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js";
4
- import r from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/reduce.js";
5
- import i from "./alternateSection.js";
6
- import a from "react";
7
- import o from "prop-types";
8
- import { jsx as s, jsxs as c } from "react/jsx-runtime";
9
- //#region src/author/alternateResponses.tsx
10
- var l = class extends a.Component {
11
- static propTypes = {
12
- choicesErrors: o.object,
13
- model: o.object.isRequired,
14
- onChange: o.func.isRequired,
15
- onLengthChange: o.func.isRequired,
16
- maxLengthPerChoiceEnabled: o.bool.isRequired,
17
- spellCheck: o.bool,
18
- pluginProps: o.object
19
- };
20
- state = { maxLengthPerChoice: e(this.props.model.maxLengthPerChoice) };
21
- UNSAFE_componentWillReceiveProps(e) {
22
- this.updateChoicesIfNeeded(e);
23
- }
24
- componentDidMount() {
25
- this.updateChoicesIfNeeded(this.props);
26
- }
27
- updateChoicesIfNeeded = (t) => {
28
- if (!this.state.choices || !n(this.state.choices, t.model.choices) || !n(t.model.choices, this.props.model.choices) || this.state.values && Object.keys(this.state.values).length !== Object.keys(this.props.model.choices).length || t.maxLengthPerChoiceEnabled !== this.props.maxLengthPerChoiceEnabled) {
29
- let { choices: n, maxLengthPerChoice: i } = t.model, a = r(n, (e, n, r) => (n && (t.maxLengthPerChoiceEnabled || n.length > 1) && (e[r] = n[0]), e), {});
30
- this.setState({
31
- choices: t.model.choices,
32
- values: a,
33
- maxLengthPerChoice: e(i)
34
- });
35
- }
36
- };
37
- getRemainingChoices = (e) => {
38
- let { choices: t } = this.state;
39
- return r(t, (t, n, r) => (n && n.length === 1 && !e && t.push({
40
- label: n[0].label,
41
- value: r
42
- }), t), []);
43
- };
44
- onChoiceChanged = (e, t) => {
45
- let { onChange: n } = this.props, { choices: r } = this.state, i = r[t] || [], a = !i.find((t) => t.value === e.value), o = i.reduce((t, n) => {
46
- let r = n.value === e.value ? e : n;
47
- return t.push(r), t;
48
- }, []);
49
- a && o.push(e), n({
50
- ...r,
51
- [t]: o
52
- });
53
- };
54
- onChoiceRemoved = (e, t) => {
55
- let { onChange: n } = this.props, { choices: r } = this.state, i = (r[t] || []).reduce((t, n) => (n.value === e || t.push(n), t), []);
56
- n({
57
- ...r,
58
- [t]: i
59
- });
60
- };
61
- onSectionSelect = (e, t) => {
62
- let { onChange: n } = this.props, { choices: r, values: i } = this.state;
63
- r[t] && r[t].length > 1 ? e || n({
64
- ...r,
65
- [t]: [r[t][0]]
66
- }) : this.setState({
67
- choices: {
68
- ...r,
69
- [t]: [...r[t], {
70
- label: "",
71
- value: "1"
72
- }]
73
- },
74
- values: {
75
- ...i,
76
- [t]: r[t][0]
77
- }
78
- });
79
- };
80
- onLengthChanged = (e, t) => {
81
- let { model: n, onLengthChange: r } = this.props, { maxLengthPerChoice: i } = n;
82
- i[t] = e, r(i);
83
- };
84
- render() {
85
- let { choices: e } = this.state, { model: { maxLengthPerChoice: n, maxLengthPerChoiceEnabled: r }, spellCheck: a, choicesErrors: o, pluginProps: l } = this.props;
86
- return /* @__PURE__ */ c("div", { children: [t(e, (e, t) => {
87
- if (e && (r || e.length > 1)) {
88
- let c = this.state.values[t];
89
- return /* @__PURE__ */ s(i, {
90
- value: c && c.value,
91
- errors: o && o[t],
92
- onSelect: (e) => this.onSectionSelect(e, t),
93
- choiceChanged: (e) => this.onChoiceChanged(e, t),
94
- choiceRemoved: (e) => this.onChoiceRemoved(e, t),
95
- lengthChanged: (e) => this.onLengthChanged(e, t),
96
- selectChoices: [c],
97
- choices: e,
98
- maxLength: n[t],
99
- showMaxLength: r,
100
- spellCheck: a,
101
- pluginProps: l
102
- }, t);
103
- }
104
- }), e && Object.keys(this.state.values).length !== Object.keys(e).length && /* @__PURE__ */ s(i, {
105
- value: "",
106
- onSelect: (e) => this.onSectionSelect(e, e.value),
107
- choiceChanged: (e) => this.onChoiceChanged(e),
108
- choiceRemoved: (e) => this.onChoiceRemoved(e),
109
- selectChoices: this.getRemainingChoices(),
110
- spellCheck: a,
111
- pluginProps: l
112
- })] });
113
- }
114
- };
115
- //#endregion
116
- export { l as default };
@@ -1,58 +0,0 @@
1
- /**
2
- * @synced-from pie-elements/packages/explicit-constructed-response/configure/src/alternateSection.jsx
3
- * @auto-generated
4
- *
5
- * This file is automatically synced from pie-elements and converted to TypeScript.
6
- * Manual edits will be overwritten on next sync.
7
- * To make changes, edit the upstream JavaScript file and run sync again.
8
- */
9
- import React from 'react';
10
- import PropTypes from 'prop-types';
11
- export declare class Choice extends React.Component {
12
- static propTypes: {
13
- error: PropTypes.Requireable<string>;
14
- markup: PropTypes.Requireable<string>;
15
- onChange: PropTypes.Validator<(...args: any[]) => any>;
16
- onDelete: PropTypes.Validator<(...args: any[]) => any>;
17
- value: PropTypes.Requireable<string>;
18
- spellCheck: PropTypes.Requireable<boolean>;
19
- showMaxLength: PropTypes.Requireable<boolean>;
20
- pluginProps: PropTypes.Requireable<object>;
21
- };
22
- state: {
23
- value: any;
24
- };
25
- updateText: any;
26
- UNSAFE_componentWillReceiveProps(nextProps: any): void;
27
- onChange: any;
28
- onKeyDown: any;
29
- render(): React.JSX.Element;
30
- }
31
- export declare class AlternateSection extends React.Component {
32
- static propTypes: {
33
- choices: PropTypes.Requireable<any[]>;
34
- selectChoices: PropTypes.Validator<any[]>;
35
- errors: PropTypes.Requireable<object>;
36
- onSelect: PropTypes.Validator<(...args: any[]) => any>;
37
- choiceChanged: PropTypes.Validator<(...args: any[]) => any>;
38
- lengthChanged: PropTypes.Requireable<(...args: any[]) => any>;
39
- choiceRemoved: PropTypes.Validator<(...args: any[]) => any>;
40
- value: PropTypes.Requireable<string>;
41
- maxLength: PropTypes.Requireable<number>;
42
- showMaxLength: PropTypes.Requireable<boolean>;
43
- spellCheck: PropTypes.Requireable<boolean>;
44
- pluginProps: PropTypes.Requireable<object>;
45
- };
46
- state: {};
47
- UNSAFE_componentWillReceiveProps(nextProps: any): void;
48
- componentDidMount(): void;
49
- updateChoicesIfNeeded: any;
50
- handleSelect: any;
51
- onAddChoice: any;
52
- onChoiceChanged: any;
53
- onRemoveChoice: any;
54
- getChoicesMaxLength: any;
55
- changeLength: any;
56
- render(): React.JSX.Element;
57
- }
58
- export default AlternateSection;
@@ -1,215 +0,0 @@
1
- import e from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/debounce.js";
2
- import t from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js";
3
- import n from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/max.js";
4
- import { decodeHTML as r, getAdjustedLength as i, stripHtmlTags as a } from "./markupUtils.js";
5
- import o from "react";
6
- import s from "prop-types";
7
- import { jsx as c, jsxs as l } from "react/jsx-runtime";
8
- import { styled as u } from "@mui/material/styles";
9
- import d from "@pie-lib/editable-html-tip-tap";
10
- import f from "@mui/material/Button";
11
- import p from "@mui/icons-material/Delete";
12
- import m from "@mui/material/IconButton";
13
- import h from "@mui/material/MenuItem";
14
- import g from "@mui/material/Select";
15
- import _ from "@mui/material/TextField";
16
- //#region src/author/alternateSection.tsx
17
- var v = u("div")(({ theme: e }) => ({ marginBottom: e.spacing(.5) })), y = u("div")(({ theme: e }) => ({
18
- alignItems: "flex-start",
19
- flexDirection: "column",
20
- display: "flex",
21
- paddingTop: e.spacing(2.5),
22
- "& > *": {
23
- marginBottom: e.spacing(2.5),
24
- width: "100%"
25
- }
26
- })), b = u(d)(({ theme: e, hasError: t }) => ({
27
- flex: "1",
28
- marginRight: e.spacing(2.5),
29
- ...t && {
30
- border: `2px solid ${e.palette.error.main}`,
31
- borderRadius: "6px"
32
- }
33
- })), x = u(m)(({ theme: e }) => ({ "& svg": { fill: e.palette.grey[600] } })), S = u("div")({
34
- alignItems: "flex-end",
35
- display: "flex",
36
- justifyContent: "space-between",
37
- width: "100%"
38
- }), C = u("div")({
39
- alignItems: "center",
40
- display: "flex"
41
- }), w = u(_)(({ theme: e }) => ({
42
- width: "230px",
43
- marginRight: e.spacing(2.5),
44
- "& .MuiInput-underline:before": { borderBottomColor: e.palette.divider },
45
- "& .MuiInput-underline:hover:not(.Mui-disabled):before": { borderBottomColor: e.palette.text.primary },
46
- "& .MuiInput-underline:after": { borderBottomColor: e.palette.primary.main }
47
- })), T = u("div")(({ theme: e }) => ({
48
- fontSize: e.typography.fontSize - 2,
49
- color: e.palette.error.main,
50
- paddingTop: e.spacing(.5)
51
- })), E = u("div")({
52
- alignItems: "center",
53
- display: "flex",
54
- justifyContent: "space-between"
55
- }), D = class extends o.Component {
56
- static propTypes = {
57
- error: s.string,
58
- markup: s.string,
59
- onChange: s.func.isRequired,
60
- onDelete: s.func.isRequired,
61
- value: s.string,
62
- spellCheck: s.bool,
63
- showMaxLength: s.bool,
64
- pluginProps: s.object
65
- };
66
- state = { value: this.props.markup };
67
- updateText = e(this.props.onChange, 300);
68
- UNSAFE_componentWillReceiveProps(e) {
69
- e.markup && this.setState({ value: e.markup });
70
- }
71
- onChange = (e) => {
72
- let t = a(e);
73
- this.setState({ value: t }), this.updateText(t);
74
- };
75
- onKeyDown = (e) => {
76
- if (e.key === "Enter") return !0;
77
- };
78
- render() {
79
- let { value: e } = this.state, { onDelete: t, spellCheck: n, error: r, showMaxLength: i, pluginProps: a } = this.props, s = i ? {} : { maxLength: 25 };
80
- return /* @__PURE__ */ l(o.Fragment, { children: [/* @__PURE__ */ l(E, { children: [/* @__PURE__ */ c(b, {
81
- hasError: !!r,
82
- disableUnderline: !0,
83
- onChange: this.onChange,
84
- onKeyDown: this.onKeyDown,
85
- markup: e || "",
86
- activePlugins: ["languageCharacters"],
87
- pluginProps: a,
88
- languageCharactersProps: [{ language: "spanish" }],
89
- spellCheck: n,
90
- autoWidthToolbar: !0,
91
- toolbarOpts: {
92
- minWidth: "auto",
93
- isHidden: !!a?.characters?.disabled
94
- },
95
- ...s
96
- }), /* @__PURE__ */ c(x, {
97
- "aria-label": "delete",
98
- onClick: t,
99
- size: "large",
100
- children: /* @__PURE__ */ c(p, {})
101
- })] }), r && /* @__PURE__ */ c(T, { children: r })] });
102
- }
103
- }, O = class extends o.Component {
104
- static propTypes = {
105
- choices: s.array,
106
- selectChoices: s.array.isRequired,
107
- errors: s.object,
108
- onSelect: s.func.isRequired,
109
- choiceChanged: s.func.isRequired,
110
- lengthChanged: s.func,
111
- choiceRemoved: s.func.isRequired,
112
- value: s.string,
113
- maxLength: s.number,
114
- showMaxLength: s.bool,
115
- spellCheck: s.bool,
116
- pluginProps: s.object
117
- };
118
- state = {};
119
- UNSAFE_componentWillReceiveProps(e) {
120
- this.updateChoicesIfNeeded(e);
121
- }
122
- componentDidMount() {
123
- this.updateChoicesIfNeeded(this.props);
124
- }
125
- updateChoicesIfNeeded = (e) => {
126
- (!this.state.choices || !t(e.choices, this.state.choices) || !t(e.choices, this.props.choices)) && this.setState({ choices: e.choices });
127
- };
128
- handleSelect = (e) => {
129
- let { onSelect: t, selectChoices: n } = this.props, { value: r } = e.target;
130
- t(n.find((e) => e.value === r));
131
- };
132
- onAddChoice = () => {
133
- let { choices: e } = this.state;
134
- if (e.length && e[e.length - 1].label !== "") {
135
- let t = n(e.map((e) => parseInt(e.value)).filter((e) => !isNaN(e))) || 0;
136
- this.setState({ choices: [...e, {
137
- value: `${t + 1}`,
138
- label: ""
139
- }] });
140
- }
141
- };
142
- onChoiceChanged = (e, t, n) => {
143
- let { choiceChanged: a, lengthChanged: o, maxLength: s, choices: c } = this.props, l = c.map((e) => r(e.label || "").length);
144
- l[n] = r(t).length;
145
- let u = Math.max(...l);
146
- a({
147
- ...e,
148
- label: t
149
- }), (u > s || u + 10 <= s) && o(i(u));
150
- };
151
- onRemoveChoice = (e) => {
152
- let { choiceRemoved: t } = this.props;
153
- t(e.value);
154
- };
155
- getChoicesMaxLength = () => {
156
- let { choices: e } = this.state;
157
- if (!e) return 1;
158
- let t = e.map((e) => r(e.label || "").length);
159
- return Math.max(...t);
160
- };
161
- changeLength = (e) => {
162
- let { lengthChanged: t } = this.props, n = parseInt(e.target.value, 10), r = this.getChoicesMaxLength();
163
- n && n >= r && n <= r + 10 && t(n);
164
- };
165
- render() {
166
- let { selectChoices: e, maxLength: t, showMaxLength: n, value: i, spellCheck: a, errors: o, pluginProps: s } = this.props, { choices: u } = this.state, d = this.getChoicesMaxLength();
167
- return /* @__PURE__ */ l(v, { children: [
168
- /* @__PURE__ */ l(S, { children: [/* @__PURE__ */ l(g, {
169
- variant: "standard",
170
- displayEmpty: !0,
171
- onChange: this.handleSelect,
172
- value: i || "",
173
- readOnly: n,
174
- MenuProps: { transitionDuration: {
175
- enter: 225,
176
- exit: 195
177
- } },
178
- children: [/* @__PURE__ */ c(h, {
179
- value: "",
180
- children: /* @__PURE__ */ c("em", { children: i ? "Remove selection" : "Select a response" })
181
- }), e.map((e, t) => /* @__PURE__ */ c(h, {
182
- value: e?.value,
183
- children: r(e?.label)
184
- }, t))]
185
- }), u && u.length > 0 && /* @__PURE__ */ l(C, { children: [t && n && /* @__PURE__ */ c(w, {
186
- variant: "standard",
187
- label: "Maximum length (characters)",
188
- type: "number",
189
- inputProps: {
190
- min: d,
191
- max: d + 10
192
- },
193
- value: t,
194
- onChange: this.changeLength
195
- }), /* @__PURE__ */ c(f, {
196
- variant: "contained",
197
- color: "primary",
198
- onClick: this.onAddChoice,
199
- children: "Add"
200
- })] })] }),
201
- o && o[0] && /* @__PURE__ */ c(T, { children: o[0] }),
202
- /* @__PURE__ */ c(y, { children: u && u.map((e, t) => t > 0 && /* @__PURE__ */ c(D, {
203
- markup: e.label,
204
- onChange: (n) => this.onChoiceChanged(e, n, t),
205
- onDelete: () => this.onRemoveChoice(e),
206
- spellCheck: a,
207
- error: o && o[t],
208
- showMaxLength: n,
209
- pluginProps: s
210
- }, t)) })
211
- ] });
212
- }
213
- };
214
- //#endregion
215
- export { O as default };
@@ -1,186 +0,0 @@
1
- /**
2
- * @synced-from pie-elements/packages/explicit-constructed-response/configure/src/defaults.js
3
- * @auto-generated
4
- *
5
- * This file is automatically synced from pie-elements and converted to TypeScript.
6
- * Manual edits will be overwritten on next sync.
7
- * To make changes, edit the upstream JavaScript file and run sync again.
8
- */
9
- declare const _default: {
10
- model: {
11
- choices: {};
12
- displayType: string;
13
- markup: string;
14
- maxLengthPerChoiceEnabled: boolean;
15
- playerSpellCheckEnabled: boolean;
16
- prompt: string;
17
- promptEnabled: boolean;
18
- rationale: string;
19
- rationaleEnabled: boolean;
20
- spellCheckEnabled: boolean;
21
- studentInstructionsEnabled: boolean;
22
- teacherInstructions: string;
23
- teacherInstructionsEnabled: boolean;
24
- toolbarEditorPosition: string;
25
- responseAreaInputConfiguration: {};
26
- };
27
- configuration: {
28
- baseInputConfiguration: {
29
- h3: {
30
- disabled: boolean;
31
- };
32
- html: {
33
- disabled: boolean;
34
- };
35
- audio: {
36
- disabled: boolean;
37
- };
38
- video: {
39
- disabled: boolean;
40
- };
41
- image: {
42
- disabled: boolean;
43
- };
44
- textAlign: {
45
- disabled: boolean;
46
- };
47
- showParagraphs: {
48
- disabled: boolean;
49
- };
50
- separateParagraphs: {
51
- disabled: boolean;
52
- };
53
- };
54
- prompt: {
55
- settings: boolean;
56
- label: string;
57
- inputConfiguration: {
58
- audio: {
59
- disabled: boolean;
60
- };
61
- video: {
62
- disabled: boolean;
63
- };
64
- image: {
65
- disabled: boolean;
66
- };
67
- };
68
- required: boolean;
69
- };
70
- partialScoring: {
71
- settings: boolean;
72
- label: string;
73
- };
74
- rationale: {
75
- settings: boolean;
76
- label: string;
77
- inputConfiguration: {
78
- audio: {
79
- disabled: boolean;
80
- };
81
- video: {
82
- disabled: boolean;
83
- };
84
- image: {
85
- disabled: boolean;
86
- };
87
- };
88
- required: boolean;
89
- };
90
- settingsPanelDisabled: boolean;
91
- spellCheck: {
92
- label: string;
93
- settings: boolean;
94
- enabled: boolean;
95
- };
96
- editSource: {
97
- label: string;
98
- settings: boolean;
99
- enabled: boolean;
100
- };
101
- playerSpellCheck: {
102
- label: string;
103
- settings: boolean;
104
- enabled: boolean;
105
- };
106
- teacherInstructions: {
107
- settings: boolean;
108
- label: string;
109
- inputConfiguration: {
110
- audio: {
111
- disabled: boolean;
112
- };
113
- video: {
114
- disabled: boolean;
115
- };
116
- image: {
117
- disabled: boolean;
118
- };
119
- };
120
- required: boolean;
121
- };
122
- template: {
123
- inputConfiguration: {
124
- audio: {
125
- disabled: boolean;
126
- };
127
- video: {
128
- disabled: boolean;
129
- };
130
- image: {
131
- disabled: boolean;
132
- };
133
- h3: {
134
- disabled: boolean;
135
- };
136
- blockquote: {
137
- disabled: boolean;
138
- };
139
- };
140
- };
141
- maxLengthPerChoice: {
142
- settings: boolean;
143
- label: string;
144
- };
145
- maxResponseAreas: number;
146
- maxImageWidth: {
147
- teacherInstructions: number;
148
- prompt: number;
149
- rationale: number;
150
- };
151
- maxImageHeight: {
152
- teacherInstructions: number;
153
- prompt: number;
154
- rationale: number;
155
- };
156
- withRubric: {
157
- settings: boolean;
158
- label: string;
159
- };
160
- mathMlOptions: {
161
- mmlOutput: boolean;
162
- mmlEditing: boolean;
163
- };
164
- language: {
165
- settings: boolean;
166
- label: string;
167
- enabled: boolean;
168
- };
169
- languageChoices: {
170
- label: string;
171
- options: never[];
172
- };
173
- responseAreaInputConfiguration: {
174
- inputConfiguration: {
175
- characters: {
176
- disabled: boolean;
177
- };
178
- };
179
- };
180
- spanishButton: {
181
- settings: boolean;
182
- label: string;
183
- };
184
- };
185
- };
186
- export default _default;
@@ -1,128 +0,0 @@
1
- //#region src/author/defaults.ts
2
- var e = {
3
- model: {
4
- choices: {},
5
- displayType: "block",
6
- markup: "",
7
- maxLengthPerChoiceEnabled: !0,
8
- playerSpellCheckEnabled: !0,
9
- prompt: "",
10
- promptEnabled: !0,
11
- rationale: "",
12
- rationaleEnabled: !0,
13
- spellCheckEnabled: !0,
14
- studentInstructionsEnabled: !0,
15
- teacherInstructions: "",
16
- teacherInstructionsEnabled: !0,
17
- toolbarEditorPosition: "bottom",
18
- responseAreaInputConfiguration: {}
19
- },
20
- configuration: {
21
- baseInputConfiguration: {
22
- h3: { disabled: !0 },
23
- html: { disabled: !0 },
24
- audio: { disabled: !1 },
25
- video: { disabled: !1 },
26
- image: { disabled: !1 },
27
- textAlign: { disabled: !0 },
28
- showParagraphs: { disabled: !1 },
29
- separateParagraphs: { disabled: !0 }
30
- },
31
- prompt: {
32
- settings: !0,
33
- label: "Prompt",
34
- inputConfiguration: {
35
- audio: { disabled: !1 },
36
- video: { disabled: !1 },
37
- image: { disabled: !1 }
38
- },
39
- required: !1
40
- },
41
- partialScoring: {
42
- settings: !1,
43
- label: "Allow Partial Scoring"
44
- },
45
- rationale: {
46
- settings: !0,
47
- label: "Rationale",
48
- inputConfiguration: {
49
- audio: { disabled: !1 },
50
- video: { disabled: !1 },
51
- image: { disabled: !1 }
52
- },
53
- required: !1
54
- },
55
- settingsPanelDisabled: !1,
56
- spellCheck: {
57
- label: "Spellcheck",
58
- settings: !1,
59
- enabled: !0
60
- },
61
- editSource: {
62
- label: "Edit Source",
63
- settings: !1,
64
- enabled: !1
65
- },
66
- playerSpellCheck: {
67
- label: "Student Spellcheck",
68
- settings: !0,
69
- enabled: !0
70
- },
71
- teacherInstructions: {
72
- settings: !0,
73
- label: "Teacher Instructions",
74
- inputConfiguration: {
75
- audio: { disabled: !1 },
76
- video: { disabled: !1 },
77
- image: { disabled: !1 }
78
- },
79
- required: !1
80
- },
81
- template: { inputConfiguration: {
82
- audio: { disabled: !1 },
83
- video: { disabled: !1 },
84
- image: { disabled: !1 },
85
- h3: { disabled: !0 },
86
- blockquote: { disabled: !0 }
87
- } },
88
- maxLengthPerChoice: {
89
- settings: !0,
90
- label: "Maximum Length Per Choice"
91
- },
92
- maxResponseAreas: 10,
93
- maxImageWidth: {
94
- teacherInstructions: 300,
95
- prompt: 300,
96
- rationale: 300
97
- },
98
- maxImageHeight: {
99
- teacherInstructions: 300,
100
- prompt: 300,
101
- rationale: 300
102
- },
103
- withRubric: {
104
- settings: !1,
105
- label: "Add Rubric"
106
- },
107
- mathMlOptions: {
108
- mmlOutput: !1,
109
- mmlEditing: !1
110
- },
111
- language: {
112
- settings: !1,
113
- label: "Specify Language",
114
- enabled: !1
115
- },
116
- languageChoices: {
117
- label: "Language Choices",
118
- options: []
119
- },
120
- responseAreaInputConfiguration: { inputConfiguration: { characters: { disabled: !0 } } },
121
- spanishButton: {
122
- settings: !0,
123
- label: "Disable Spanish Characters"
124
- }
125
- }
126
- };
127
- //#endregion
128
- export { e as default };