@pie-element/drawing-response 12.1.0-next.28 → 12.1.1-next.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.
Files changed (308) hide show
  1. package/dist/author/button.d.ts +29 -0
  2. package/dist/author/button.js +25 -0
  3. package/dist/author/defaults.d.ts +118 -0
  4. package/dist/author/defaults.js +86 -0
  5. package/dist/author/image-container.d.ts +42 -0
  6. package/dist/author/image-container.js +183 -0
  7. package/dist/author/index.d.ts +37 -0
  8. package/dist/author/index.js +79 -0
  9. package/dist/author/root.d.ts +17 -0
  10. package/dist/author/root.js +142 -0
  11. package/dist/controller/defaults.d.ts +24 -0
  12. package/dist/controller/defaults.js +18 -0
  13. package/dist/controller/index.d.ts +13 -0
  14. package/dist/controller/index.js +46 -0
  15. package/dist/delivery/drawing-response/button.d.ts +31 -0
  16. package/dist/delivery/drawing-response/button.js +36 -0
  17. package/dist/delivery/drawing-response/constants.d.ts +16 -0
  18. package/dist/delivery/drawing-response/constants.js +40 -0
  19. package/dist/delivery/drawing-response/container.d.ts +32 -0
  20. package/dist/delivery/drawing-response/container.js +212 -0
  21. package/dist/delivery/drawing-response/drawable-circle.d.ts +18 -0
  22. package/dist/delivery/drawing-response/drawable-circle.js +51 -0
  23. package/dist/delivery/drawing-response/drawable-eraser.d.ts +17 -0
  24. package/dist/delivery/drawing-response/drawable-eraser.js +52 -0
  25. package/dist/delivery/drawing-response/drawable-free-path.d.ts +18 -0
  26. package/dist/delivery/drawing-response/drawable-free-path.js +52 -0
  27. package/dist/delivery/drawing-response/drawable-helper.d.ts +17 -0
  28. package/dist/delivery/drawing-response/drawable-helper.js +12 -0
  29. package/dist/delivery/drawing-response/drawable-image.d.ts +24 -0
  30. package/dist/delivery/drawing-response/drawable-image.js +28 -0
  31. package/dist/delivery/drawing-response/drawable-line.d.ts +18 -0
  32. package/dist/delivery/drawing-response/drawable-line.js +53 -0
  33. package/dist/delivery/drawing-response/drawable-main.d.ts +25 -0
  34. package/dist/delivery/drawing-response/drawable-main.js +212 -0
  35. package/dist/delivery/drawing-response/drawable-palette.d.ts +14 -0
  36. package/dist/delivery/drawing-response/drawable-palette.js +89 -0
  37. package/dist/delivery/drawing-response/drawable-rectangle.d.ts +18 -0
  38. package/dist/delivery/drawing-response/drawable-rectangle.js +49 -0
  39. package/dist/delivery/drawing-response/drawable-text.d.ts +30 -0
  40. package/dist/delivery/drawing-response/drawable-text.js +189 -0
  41. package/dist/delivery/drawing-response/drawable-transformer.d.ts +16 -0
  42. package/dist/delivery/drawing-response/drawable-transformer.js +35 -0
  43. package/dist/delivery/drawing-response/factory.d.ts +11 -0
  44. package/dist/delivery/drawing-response/factory.js +19 -0
  45. package/dist/delivery/drawing-response/icon.d.ts +19 -0
  46. package/dist/delivery/drawing-response/icon.js +52 -0
  47. package/dist/delivery/drawing-response/index.d.ts +18 -0
  48. package/dist/delivery/drawing-response/index.js +70 -0
  49. package/dist/delivery/index.d.ts +19 -0
  50. package/dist/delivery/index.js +47 -0
  51. package/dist/index.d.ts +1 -0
  52. package/dist/index.iife.d.ts +8 -0
  53. package/dist/index.iife.js +165 -0
  54. package/dist/index.js +2 -0
  55. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +6 -0
  56. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +16 -0
  57. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +16 -0
  58. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +6 -0
  59. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +16 -0
  60. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +6 -0
  61. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +6 -0
  62. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js +11 -0
  63. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +14 -0
  64. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +5 -0
  65. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +5 -0
  66. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +6 -0
  67. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_apply.js +12 -0
  68. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +7 -0
  69. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +10 -0
  70. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +15 -0
  71. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js +7 -0
  72. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +7 -0
  73. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js +7 -0
  74. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +10 -0
  75. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +8 -0
  76. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +8 -0
  77. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +8 -0
  78. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +12 -0
  79. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +57 -0
  80. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +14 -0
  81. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFlatten.js +13 -0
  82. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js +10 -0
  83. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +9 -0
  84. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +10 -0
  85. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +9 -0
  86. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js +8 -0
  87. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js +30 -0
  88. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +9 -0
  89. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +11 -0
  90. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +9 -0
  91. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +11 -0
  92. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +12 -0
  93. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +13 -0
  94. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js +14 -0
  95. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSlice.js +9 -0
  96. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +7 -0
  97. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js +15 -0
  98. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +8 -0
  99. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnset.js +19 -0
  100. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js +6 -0
  101. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js +10 -0
  102. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +8 -0
  103. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +10 -0
  104. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +8 -0
  105. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +8 -0
  106. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +8 -0
  107. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +8 -0
  108. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +8 -0
  109. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +14 -0
  110. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +8 -0
  111. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +8 -0
  112. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +5 -0
  113. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_customOmitClone.js +7 -0
  114. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +10 -0
  115. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js +35 -0
  116. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js +35 -0
  117. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js +32 -0
  118. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_flatRest.js +9 -0
  119. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +4 -0
  120. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +9 -0
  121. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +9 -0
  122. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +8 -0
  123. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +9 -0
  124. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +5 -0
  125. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +14 -0
  126. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +10 -0
  127. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +11 -0
  128. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +23 -0
  129. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +6 -0
  130. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +7 -0
  131. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +7 -0
  132. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +13 -0
  133. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +9 -0
  134. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +9 -0
  135. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +8 -0
  136. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +33 -0
  137. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +9 -0
  138. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isFlattenable.js +10 -0
  139. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +8 -0
  140. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js +11 -0
  141. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +7 -0
  142. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +11 -0
  143. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +8 -0
  144. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +6 -0
  145. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +9 -0
  146. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +8 -0
  147. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +7 -0
  148. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +8 -0
  149. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +13 -0
  150. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +8 -0
  151. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +7 -0
  152. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +7 -0
  153. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +8 -0
  154. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js +9 -0
  155. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js +11 -0
  156. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +5 -0
  157. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +5 -0
  158. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +8 -0
  159. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +9 -0
  160. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +7 -0
  161. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +8 -0
  162. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js +13 -0
  163. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_parent.js +8 -0
  164. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +5 -0
  165. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js +7 -0
  166. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js +6 -0
  167. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js +9 -0
  168. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js +6 -0
  169. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js +14 -0
  170. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +7 -0
  171. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +7 -0
  172. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +6 -0
  173. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +6 -0
  174. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +16 -0
  175. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js +10 -0
  176. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js +10 -0
  177. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +15 -0
  178. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +8 -0
  179. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js +8 -0
  180. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +6 -0
  181. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/flatten.js +7 -0
  182. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/identity.js +6 -0
  183. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +10 -0
  184. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +4 -0
  185. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +8 -0
  186. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +6 -0
  187. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +21 -0
  188. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js +7 -0
  189. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +11 -0
  190. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +7 -0
  191. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +7 -0
  192. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +7 -0
  193. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +6 -0
  194. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isPlainObject.js +14 -0
  195. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +7 -0
  196. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +9 -0
  197. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +7 -0
  198. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +9 -0
  199. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +9 -0
  200. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/last.js +7 -0
  201. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/memoize.js +16 -0
  202. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/omit.js +21 -0
  203. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +6 -0
  204. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +6 -0
  205. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toString.js +7 -0
  206. package/package.json +56 -20
  207. package/CHANGELOG.json +0 -547
  208. package/CHANGELOG.md +0 -1948
  209. package/LICENSE.md +0 -5
  210. package/README.md +0 -1
  211. package/configure/CHANGELOG.json +0 -367
  212. package/configure/CHANGELOG.md +0 -1749
  213. package/configure/lib/button.js +0 -37
  214. package/configure/lib/button.js.map +0 -1
  215. package/configure/lib/defaults.js +0 -116
  216. package/configure/lib/defaults.js.map +0 -1
  217. package/configure/lib/image-container.js +0 -307
  218. package/configure/lib/image-container.js.map +0 -1
  219. package/configure/lib/index.js +0 -147
  220. package/configure/lib/index.js.map +0 -1
  221. package/configure/lib/root.js +0 -219
  222. package/configure/lib/root.js.map +0 -1
  223. package/configure/package.json +0 -24
  224. package/configure/src/__tests__/image-container.test.jsx +0 -231
  225. package/configure/src/__tests__/index.test.js +0 -72
  226. package/configure/src/__tests__/root.test.jsx +0 -110
  227. package/configure/src/button.jsx +0 -33
  228. package/configure/src/defaults.js +0 -80
  229. package/configure/src/image-container.jsx +0 -316
  230. package/configure/src/index.js +0 -167
  231. package/configure/src/root.jsx +0 -198
  232. package/controller/CHANGELOG.json +0 -52
  233. package/controller/CHANGELOG.md +0 -253
  234. package/controller/lib/defaults.js +0 -22
  235. package/controller/lib/defaults.js.map +0 -1
  236. package/controller/lib/index.js +0 -84
  237. package/controller/lib/index.js.map +0 -1
  238. package/controller/package.json +0 -16
  239. package/controller/src/__tests__/index.test.js +0 -172
  240. package/controller/src/defaults.js +0 -12
  241. package/controller/src/index.js +0 -71
  242. package/docs/config-schema.json +0 -1766
  243. package/docs/config-schema.json.md +0 -1313
  244. package/docs/demo/config.js +0 -8
  245. package/docs/demo/generate.js +0 -14
  246. package/docs/demo/index.html +0 -1
  247. package/docs/demo/session.js +0 -37
  248. package/docs/pie-schema.json +0 -823
  249. package/docs/pie-schema.json.md +0 -606
  250. package/lib/drawing-response/button.js +0 -49
  251. package/lib/drawing-response/button.js.map +0 -1
  252. package/lib/drawing-response/constants.js +0 -43
  253. package/lib/drawing-response/constants.js.map +0 -1
  254. package/lib/drawing-response/container.js +0 -327
  255. package/lib/drawing-response/container.js.map +0 -1
  256. package/lib/drawing-response/drawable-circle.js +0 -80
  257. package/lib/drawing-response/drawable-circle.js.map +0 -1
  258. package/lib/drawing-response/drawable-eraser.js +0 -64
  259. package/lib/drawing-response/drawable-eraser.js.map +0 -1
  260. package/lib/drawing-response/drawable-free-path.js +0 -71
  261. package/lib/drawing-response/drawable-free-path.js.map +0 -1
  262. package/lib/drawing-response/drawable-helper.js +0 -34
  263. package/lib/drawing-response/drawable-helper.js.map +0 -1
  264. package/lib/drawing-response/drawable-image.js +0 -41
  265. package/lib/drawing-response/drawable-image.js.map +0 -1
  266. package/lib/drawing-response/drawable-line.js +0 -75
  267. package/lib/drawing-response/drawable-line.js.map +0 -1
  268. package/lib/drawing-response/drawable-main.js +0 -345
  269. package/lib/drawing-response/drawable-main.js.map +0 -1
  270. package/lib/drawing-response/drawable-palette.js +0 -140
  271. package/lib/drawing-response/drawable-palette.js.map +0 -1
  272. package/lib/drawing-response/drawable-rectangle.js +0 -80
  273. package/lib/drawing-response/drawable-rectangle.js.map +0 -1
  274. package/lib/drawing-response/drawable-text.js +0 -295
  275. package/lib/drawing-response/drawable-text.js.map +0 -1
  276. package/lib/drawing-response/drawable-transformer.js +0 -52
  277. package/lib/drawing-response/drawable-transformer.js.map +0 -1
  278. package/lib/drawing-response/factory.js +0 -22
  279. package/lib/drawing-response/factory.js.map +0 -1
  280. package/lib/drawing-response/icon.js +0 -55
  281. package/lib/drawing-response/icon.js.map +0 -1
  282. package/lib/drawing-response/index.js +0 -91
  283. package/lib/drawing-response/index.js.map +0 -1
  284. package/lib/index.js +0 -68
  285. package/lib/index.js.map +0 -1
  286. package/src/__tests__/drawing-index-test.jsx +0 -103
  287. package/src/drawing-response/__tests__/container.test.jsx +0 -82
  288. package/src/drawing-response/__tests__/drawable-helper.test.jsx +0 -24
  289. package/src/drawing-response/__tests__/drawing-main.test.jsx +0 -855
  290. package/src/drawing-response/__tests__/factory.test.js +0 -13
  291. package/src/drawing-response/button.jsx +0 -45
  292. package/src/drawing-response/constants.js +0 -44
  293. package/src/drawing-response/container.jsx +0 -301
  294. package/src/drawing-response/drawable-circle.jsx +0 -74
  295. package/src/drawing-response/drawable-eraser.jsx +0 -53
  296. package/src/drawing-response/drawable-free-path.jsx +0 -59
  297. package/src/drawing-response/drawable-helper.jsx +0 -21
  298. package/src/drawing-response/drawable-image.jsx +0 -36
  299. package/src/drawing-response/drawable-line.jsx +0 -62
  300. package/src/drawing-response/drawable-main.jsx +0 -333
  301. package/src/drawing-response/drawable-palette.jsx +0 -99
  302. package/src/drawing-response/drawable-rectangle.jsx +0 -69
  303. package/src/drawing-response/drawable-text.jsx +0 -318
  304. package/src/drawing-response/drawable-transformer.jsx +0 -52
  305. package/src/drawing-response/factory.js +0 -17
  306. package/src/drawing-response/icon.jsx +0 -52
  307. package/src/drawing-response/index.jsx +0 -92
  308. package/src/index.js +0 -72
@@ -1,1313 +0,0 @@
1
- Config Object for @pie-elements/drawing-response
2
-
3
- The schema defines the following properties:
4
-
5
- # `baseInputConfiguration` (object)
6
-
7
- Properties of the `baseInputConfiguration` object:
8
-
9
- ## `math` (object)
10
-
11
- Properties of the `math` object:
12
-
13
- ### `disabled` (boolean)
14
-
15
- Indicates if the plugin is disabled or not
16
-
17
- ## `audio` (object)
18
-
19
- Properties of the `audio` object:
20
-
21
- ### `disabled` (boolean)
22
-
23
- Indicates if the plugin is disabled or not
24
-
25
- ## `video` (object)
26
-
27
- Properties of the `video` object:
28
-
29
- ### `disabled` (boolean)
30
-
31
- Indicates if the plugin is disabled or not
32
-
33
- ## `image` (object)
34
-
35
- Properties of the `image` object:
36
-
37
- ### `disabled` (boolean)
38
-
39
- Indicates if the plugin is disabled or not
40
-
41
- ## `customPlugins` (array)
42
-
43
- An array of objects that determine custom plugins.
44
- A custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).
45
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
46
-
47
- The object is an array with all elements of the type `object`.
48
-
49
- The array object has the following properties:
50
-
51
- ### `event` (string, required)
52
-
53
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
54
- PIE will emit the event prefixed with "PIE-".
55
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
56
-
57
- ### `iconAlt` (string, required)
58
-
59
- The alt for the custom button icon
60
-
61
- ### `iconType` (string, required)
62
-
63
- The icon type.
64
- Currently, only "SVG" is supported.
65
-
66
- ### `icon` (string, required)
67
-
68
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
69
-
70
- ## `blockquote` (object)
71
-
72
- Properties of the `blockquote` object:
73
-
74
- ### `disabled` (boolean)
75
-
76
- Indicates if the plugin is disabled or not
77
-
78
- ## `h3` (object)
79
-
80
- Properties of the `h3` object:
81
-
82
- ### `disabled` (boolean)
83
-
84
- Indicates if the plugin is disabled or not
85
-
86
- ## `characters` (object)
87
-
88
- Properties of the `characters` object:
89
-
90
- ### `disabled` (boolean)
91
-
92
- Indicates if the plugin is disabled or not
93
-
94
- ## `bold` (object)
95
-
96
- Properties of the `bold` object:
97
-
98
- ### `disabled` (boolean)
99
-
100
- Indicates if the plugin is disabled or not
101
-
102
- ## `html` (object)
103
-
104
- Properties of the `html` object:
105
-
106
- ### `disabled` (boolean)
107
-
108
- Indicates if the plugin is disabled or not
109
-
110
- ## `italic` (object)
111
-
112
- Properties of the `italic` object:
113
-
114
- ### `disabled` (boolean)
115
-
116
- Indicates if the plugin is disabled or not
117
-
118
- ## `ol_list` (object)
119
-
120
- Properties of the `ol_list` object:
121
-
122
- ### `disabled` (boolean)
123
-
124
- Indicates if the plugin is disabled or not
125
-
126
- ## `redo` (object)
127
-
128
- Properties of the `redo` object:
129
-
130
- ### `disabled` (boolean)
131
-
132
- Indicates if the plugin is disabled or not
133
-
134
- ## `strikethrough` (object)
135
-
136
- Properties of the `strikethrough` object:
137
-
138
- ### `disabled` (boolean)
139
-
140
- Indicates if the plugin is disabled or not
141
-
142
- ## `sub` (object)
143
-
144
- Properties of the `sub` object:
145
-
146
- ### `disabled` (boolean)
147
-
148
- Indicates if the plugin is disabled or not
149
-
150
- ## `sup` (object)
151
-
152
- Properties of the `sup` object:
153
-
154
- ### `disabled` (boolean)
155
-
156
- Indicates if the plugin is disabled or not
157
-
158
- ## `table` (object)
159
-
160
- Properties of the `table` object:
161
-
162
- ### `disabled` (boolean)
163
-
164
- Indicates if the plugin is disabled or not
165
-
166
- ## `ul_list` (object)
167
-
168
- Properties of the `ul_list` object:
169
-
170
- ### `disabled` (boolean)
171
-
172
- Indicates if the plugin is disabled or not
173
-
174
- ## `underline` (object)
175
-
176
- Properties of the `underline` object:
177
-
178
- ### `disabled` (boolean)
179
-
180
- Indicates if the plugin is disabled or not
181
-
182
- ## `undo` (object)
183
-
184
- Properties of the `undo` object:
185
-
186
- ### `disabled` (boolean)
187
-
188
- Indicates if the plugin is disabled or not
189
-
190
- # `backgroundImage` (object)
191
-
192
- Properties of the `backgroundImage` object:
193
-
194
- ## `enabled` (boolean)
195
-
196
- Indicates the value of the item if it affects config-ui
197
- (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
198
-
199
- ## `settings` (boolean)
200
-
201
- Indicates if the item has to be displayed in the Settings Panel
202
-
203
- ## `label` (string)
204
-
205
- Indicates the label for the item that has to be displayed in the Settings Panel
206
-
207
- # `partialScoring` (object)
208
-
209
- Properties of the `partialScoring` object:
210
-
211
- ## `settings` (boolean)
212
-
213
- Indicates if the item has to be displayed in the Settings Panel
214
-
215
- ## `label` (string)
216
-
217
- Indicates the label for the item that has to be displayed in the Settings Panel
218
-
219
- # `settingsPanelDisabled` (boolean)
220
-
221
- Indicates if the settings panel is not available
222
-
223
- # `spellCheck` (object)
224
-
225
- Properties of the `spellCheck` object:
226
-
227
- ## `settings` (boolean)
228
-
229
- Indicates if the item has to be displayed in the Settings Panel
230
-
231
- ## `label` (string)
232
-
233
- Indicates the label for the item that has to be displayed in the Settings Panel
234
-
235
- # `studentInstructions` (object)
236
-
237
- Properties of the `studentInstructions` object:
238
-
239
- ## `settings` (boolean)
240
-
241
- Indicates if the item has to be displayed in the Settings Panel
242
-
243
- ## `label` (string)
244
-
245
- Indicates the label for the item that has to be displayed in the Settings Panel
246
-
247
- # `teacherInstructions` (object)
248
-
249
- Properties of the `teacherInstructions` object:
250
-
251
- ## `inputConfiguration` (object)
252
-
253
- Properties of the `inputConfiguration` object:
254
-
255
- ### `math` (object)
256
-
257
- Properties of the `math` object:
258
-
259
- #### `disabled` (boolean)
260
-
261
- Indicates if the plugin is disabled or not
262
-
263
- ### `audio` (object)
264
-
265
- Properties of the `audio` object:
266
-
267
- #### `disabled` (boolean)
268
-
269
- Indicates if the plugin is disabled or not
270
-
271
- ### `video` (object)
272
-
273
- Properties of the `video` object:
274
-
275
- #### `disabled` (boolean)
276
-
277
- Indicates if the plugin is disabled or not
278
-
279
- ### `image` (object)
280
-
281
- Properties of the `image` object:
282
-
283
- #### `disabled` (boolean)
284
-
285
- Indicates if the plugin is disabled or not
286
-
287
- ### `customPlugins` (array)
288
-
289
- An array of objects that determine custom plugins.
290
- A custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).
291
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
292
-
293
- The object is an array with all elements of the type `object`.
294
-
295
- The array object has the following properties:
296
-
297
- #### `event` (string, required)
298
-
299
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
300
- PIE will emit the event prefixed with "PIE-".
301
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
302
-
303
- #### `iconAlt` (string, required)
304
-
305
- The alt for the custom button icon
306
-
307
- #### `iconType` (string, required)
308
-
309
- The icon type.
310
- Currently, only "SVG" is supported.
311
-
312
- #### `icon` (string, required)
313
-
314
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
315
-
316
- ### `blockquote` (object)
317
-
318
- Properties of the `blockquote` object:
319
-
320
- #### `disabled` (boolean)
321
-
322
- Indicates if the plugin is disabled or not
323
-
324
- ### `h3` (object)
325
-
326
- Properties of the `h3` object:
327
-
328
- #### `disabled` (boolean)
329
-
330
- Indicates if the plugin is disabled or not
331
-
332
- ### `characters` (object)
333
-
334
- Properties of the `characters` object:
335
-
336
- #### `disabled` (boolean)
337
-
338
- Indicates if the plugin is disabled or not
339
-
340
- ### `bold` (object)
341
-
342
- Properties of the `bold` object:
343
-
344
- #### `disabled` (boolean)
345
-
346
- Indicates if the plugin is disabled or not
347
-
348
- ### `html` (object)
349
-
350
- Properties of the `html` object:
351
-
352
- #### `disabled` (boolean)
353
-
354
- Indicates if the plugin is disabled or not
355
-
356
- ### `italic` (object)
357
-
358
- Properties of the `italic` object:
359
-
360
- #### `disabled` (boolean)
361
-
362
- Indicates if the plugin is disabled or not
363
-
364
- ### `ol_list` (object)
365
-
366
- Properties of the `ol_list` object:
367
-
368
- #### `disabled` (boolean)
369
-
370
- Indicates if the plugin is disabled or not
371
-
372
- ### `redo` (object)
373
-
374
- Properties of the `redo` object:
375
-
376
- #### `disabled` (boolean)
377
-
378
- Indicates if the plugin is disabled or not
379
-
380
- ### `strikethrough` (object)
381
-
382
- Properties of the `strikethrough` object:
383
-
384
- #### `disabled` (boolean)
385
-
386
- Indicates if the plugin is disabled or not
387
-
388
- ### `sub` (object)
389
-
390
- Properties of the `sub` object:
391
-
392
- #### `disabled` (boolean)
393
-
394
- Indicates if the plugin is disabled or not
395
-
396
- ### `sup` (object)
397
-
398
- Properties of the `sup` object:
399
-
400
- #### `disabled` (boolean)
401
-
402
- Indicates if the plugin is disabled or not
403
-
404
- ### `table` (object)
405
-
406
- Properties of the `table` object:
407
-
408
- #### `disabled` (boolean)
409
-
410
- Indicates if the plugin is disabled or not
411
-
412
- ### `ul_list` (object)
413
-
414
- Properties of the `ul_list` object:
415
-
416
- #### `disabled` (boolean)
417
-
418
- Indicates if the plugin is disabled or not
419
-
420
- ### `underline` (object)
421
-
422
- Properties of the `underline` object:
423
-
424
- #### `disabled` (boolean)
425
-
426
- Indicates if the plugin is disabled or not
427
-
428
- ### `undo` (object)
429
-
430
- Properties of the `undo` object:
431
-
432
- #### `disabled` (boolean)
433
-
434
- Indicates if the plugin is disabled or not
435
-
436
- ## `required` (boolean)
437
-
438
- Indicates if the item is required and the value cannot be empty
439
-
440
- ## `settings` (boolean)
441
-
442
- Indicates if the item has to be displayed in the Settings Panel
443
-
444
- ## `label` (string)
445
-
446
- Indicates the label for the item that has to be displayed in the Settings Panel
447
-
448
- # `prompt` (object)
449
-
450
- Properties of the `prompt` object:
451
-
452
- ## `inputConfiguration` (object)
453
-
454
- Properties of the `inputConfiguration` object:
455
-
456
- ### `math` (object)
457
-
458
- Properties of the `math` object:
459
-
460
- #### `disabled` (boolean)
461
-
462
- Indicates if the plugin is disabled or not
463
-
464
- ### `audio` (object)
465
-
466
- Properties of the `audio` object:
467
-
468
- #### `disabled` (boolean)
469
-
470
- Indicates if the plugin is disabled or not
471
-
472
- ### `video` (object)
473
-
474
- Properties of the `video` object:
475
-
476
- #### `disabled` (boolean)
477
-
478
- Indicates if the plugin is disabled or not
479
-
480
- ### `image` (object)
481
-
482
- Properties of the `image` object:
483
-
484
- #### `disabled` (boolean)
485
-
486
- Indicates if the plugin is disabled or not
487
-
488
- ### `customPlugins` (array)
489
-
490
- An array of objects that determine custom plugins.
491
- A custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).
492
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
493
-
494
- The object is an array with all elements of the type `object`.
495
-
496
- The array object has the following properties:
497
-
498
- #### `event` (string, required)
499
-
500
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
501
- PIE will emit the event prefixed with "PIE-".
502
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
503
-
504
- #### `iconAlt` (string, required)
505
-
506
- The alt for the custom button icon
507
-
508
- #### `iconType` (string, required)
509
-
510
- The icon type.
511
- Currently, only "SVG" is supported.
512
-
513
- #### `icon` (string, required)
514
-
515
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
516
-
517
- ### `blockquote` (object)
518
-
519
- Properties of the `blockquote` object:
520
-
521
- #### `disabled` (boolean)
522
-
523
- Indicates if the plugin is disabled or not
524
-
525
- ### `h3` (object)
526
-
527
- Properties of the `h3` object:
528
-
529
- #### `disabled` (boolean)
530
-
531
- Indicates if the plugin is disabled or not
532
-
533
- ### `characters` (object)
534
-
535
- Properties of the `characters` object:
536
-
537
- #### `disabled` (boolean)
538
-
539
- Indicates if the plugin is disabled or not
540
-
541
- ### `bold` (object)
542
-
543
- Properties of the `bold` object:
544
-
545
- #### `disabled` (boolean)
546
-
547
- Indicates if the plugin is disabled or not
548
-
549
- ### `html` (object)
550
-
551
- Properties of the `html` object:
552
-
553
- #### `disabled` (boolean)
554
-
555
- Indicates if the plugin is disabled or not
556
-
557
- ### `italic` (object)
558
-
559
- Properties of the `italic` object:
560
-
561
- #### `disabled` (boolean)
562
-
563
- Indicates if the plugin is disabled or not
564
-
565
- ### `ol_list` (object)
566
-
567
- Properties of the `ol_list` object:
568
-
569
- #### `disabled` (boolean)
570
-
571
- Indicates if the plugin is disabled or not
572
-
573
- ### `redo` (object)
574
-
575
- Properties of the `redo` object:
576
-
577
- #### `disabled` (boolean)
578
-
579
- Indicates if the plugin is disabled or not
580
-
581
- ### `strikethrough` (object)
582
-
583
- Properties of the `strikethrough` object:
584
-
585
- #### `disabled` (boolean)
586
-
587
- Indicates if the plugin is disabled or not
588
-
589
- ### `sub` (object)
590
-
591
- Properties of the `sub` object:
592
-
593
- #### `disabled` (boolean)
594
-
595
- Indicates if the plugin is disabled or not
596
-
597
- ### `sup` (object)
598
-
599
- Properties of the `sup` object:
600
-
601
- #### `disabled` (boolean)
602
-
603
- Indicates if the plugin is disabled or not
604
-
605
- ### `table` (object)
606
-
607
- Properties of the `table` object:
608
-
609
- #### `disabled` (boolean)
610
-
611
- Indicates if the plugin is disabled or not
612
-
613
- ### `ul_list` (object)
614
-
615
- Properties of the `ul_list` object:
616
-
617
- #### `disabled` (boolean)
618
-
619
- Indicates if the plugin is disabled or not
620
-
621
- ### `underline` (object)
622
-
623
- Properties of the `underline` object:
624
-
625
- #### `disabled` (boolean)
626
-
627
- Indicates if the plugin is disabled or not
628
-
629
- ### `undo` (object)
630
-
631
- Properties of the `undo` object:
632
-
633
- #### `disabled` (boolean)
634
-
635
- Indicates if the plugin is disabled or not
636
-
637
- ## `required` (boolean)
638
-
639
- Indicates if the item is required and the value cannot be empty
640
-
641
- ## `settings` (boolean)
642
-
643
- Indicates if the item has to be displayed in the Settings Panel
644
-
645
- ## `label` (string)
646
-
647
- Indicates the label for the item that has to be displayed in the Settings Panel
648
-
649
- # `maxImageWidth` (object)
650
-
651
- Properties of the `maxImageWidth` object:
652
-
653
- ## `teacherInstructions` (number)
654
-
655
- Indicates the max dimension for images in teacher instructions
656
-
657
- ## `prompt` (number)
658
-
659
- Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
660
-
661
- ## `rationale` (number)
662
-
663
- Indicates the max dimension for images in rationale
664
-
665
- # `maxImageHeight` (object)
666
-
667
- Properties of the `maxImageHeight` object:
668
-
669
- ## `teacherInstructions` (number)
670
-
671
- Indicates the max dimension for images in teacher instructions
672
-
673
- ## `prompt` (number)
674
-
675
- Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
676
-
677
- ## `rationale` (number)
678
-
679
- Indicates the max dimension for images in rationale
680
-
681
- # `withRubric` (object)
682
-
683
- Properties of the `withRubric` object:
684
-
685
- ## `forceEnabled` (boolean)
686
-
687
- Indicates the value for the toggle;
688
- if true:
689
- - this property will not be visible in Settings Panel (settings will become automatically false)
690
- - the model property afferent to it will become automatically false
691
-
692
- ## `settings` (boolean)
693
-
694
- Indicates if the item has to be displayed in the Settings Panel
695
-
696
- ## `label` (string)
697
-
698
- Indicates the label for the item that has to be displayed in the Settings Panel
699
-
700
- # `mathMlOptions` (object)
701
-
702
- Properties of the `mathMlOptions` object:
703
-
704
- ## `mmlOutput` (number)
705
-
706
- Indicates if model should have mathML output instead of latex
707
-
708
- ## `mmlEditing` (number)
709
-
710
- Indicates if mathML that's already in model should be editable
711
-
712
- # `language` (object)
713
-
714
- Properties of the `language` object:
715
-
716
- ## `enabled` (boolean)
717
-
718
- Indicates the value of the item if it affects config-ui
719
- (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
720
-
721
- ## `settings` (boolean)
722
-
723
- Indicates if the item has to be displayed in the Settings Panel
724
-
725
- ## `label` (string)
726
-
727
- Indicates the label for the item that has to be displayed in the Settings Panel
728
-
729
- # `languageChoices` (object)
730
-
731
- Language choices configuration
732
- Only available if language is enabled
733
-
734
- Properties of the `languageChoices` object:
735
-
736
- ## `label` (string, required)
737
-
738
- ## `options` (array, required)
739
-
740
- The object is an array with all elements of the type `object`.
741
-
742
- The array object has the following properties:
743
-
744
- ### `value` (string, required)
745
-
746
- Value of the language option
747
-
748
- ### `label` (string, required)
749
-
750
- Label of the language option
751
-
752
- # `showPrompt` (boolean)
753
-
754
- Determines whether prompt field will be displayed or not
755
-
756
- Default: `true`
757
-
758
- # `promptLabel` (string)
759
-
760
- The label for the item stem/prompt field
761
-
762
- Default: `"Item Stemm"`
763
-
764
- # `contentDimensions` (object)
765
-
766
- Indicates the dimensions configuration for the authoring container
767
- Note: Some items have a default minimum width because of their content, but if
768
- the minWidth is lower than this, the overflow behavior will take care of that
769
-
770
- Properties of the `contentDimensions` object:
771
-
772
- ## `maxHeight` (string,number)
773
-
774
- Indicates the max height of the authoring container
775
-
776
- Default: `"undefined"`
777
-
778
- ## `maxWidth` (string,number)
779
-
780
- Indicates the max width of the authoring container
781
-
782
- Default: `"undefined"`
783
-
784
- ## `minHeight` (string,number)
785
-
786
- Indicates the min height of the authoring container
787
-
788
- Default: `"undefined"`
789
-
790
- ## `minWidth` (string,number)
791
-
792
- Indicates the min width of the authoring container
793
-
794
- Default: `"undefined"`
795
-
796
- Default: `": {}"`
797
-
798
- # `settingsPartialScoring` (boolean)
799
-
800
- Indicates whether the settings panel wil allow the author to modify settings for partial scoring
801
-
802
- Default: `true`
803
-
804
- ---
805
-
806
- # Sub Schemas
807
-
808
- The schema defines the following additional types:
809
-
810
- ## `EditableHtmlConfigureProp` (object)
811
-
812
- Properties of the `EditableHtmlConfigureProp` object:
813
-
814
- ### `math` (object)
815
-
816
- Properties of the `math` object:
817
-
818
- #### `disabled` (boolean)
819
-
820
- Indicates if the plugin is disabled or not
821
-
822
- ### `audio` (object)
823
-
824
- Properties of the `audio` object:
825
-
826
- #### `disabled` (boolean)
827
-
828
- Indicates if the plugin is disabled or not
829
-
830
- ### `video` (object)
831
-
832
- Properties of the `video` object:
833
-
834
- #### `disabled` (boolean)
835
-
836
- Indicates if the plugin is disabled or not
837
-
838
- ### `image` (object)
839
-
840
- Properties of the `image` object:
841
-
842
- #### `disabled` (boolean)
843
-
844
- Indicates if the plugin is disabled or not
845
-
846
- ### `customPlugins` (array)
847
-
848
- An array of objects that determine custom plugins.
849
- A custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).
850
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
851
-
852
- The object is an array with all elements of the type `object`.
853
-
854
- The array object has the following properties:
855
-
856
- #### `event` (string, required)
857
-
858
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
859
- PIE will emit the event prefixed with "PIE-".
860
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
861
-
862
- #### `iconAlt` (string, required)
863
-
864
- The alt for the custom button icon
865
-
866
- #### `iconType` (string, required)
867
-
868
- The icon type.
869
- Currently, only "SVG" is supported.
870
-
871
- #### `icon` (string, required)
872
-
873
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
874
-
875
- ### `blockquote` (object)
876
-
877
- Properties of the `blockquote` object:
878
-
879
- #### `disabled` (boolean)
880
-
881
- Indicates if the plugin is disabled or not
882
-
883
- ### `h3` (object)
884
-
885
- Properties of the `h3` object:
886
-
887
- #### `disabled` (boolean)
888
-
889
- Indicates if the plugin is disabled or not
890
-
891
- ### `characters` (object)
892
-
893
- Properties of the `characters` object:
894
-
895
- #### `disabled` (boolean)
896
-
897
- Indicates if the plugin is disabled or not
898
-
899
- ### `bold` (object)
900
-
901
- Properties of the `bold` object:
902
-
903
- #### `disabled` (boolean)
904
-
905
- Indicates if the plugin is disabled or not
906
-
907
- ### `html` (object)
908
-
909
- Properties of the `html` object:
910
-
911
- #### `disabled` (boolean)
912
-
913
- Indicates if the plugin is disabled or not
914
-
915
- ### `italic` (object)
916
-
917
- Properties of the `italic` object:
918
-
919
- #### `disabled` (boolean)
920
-
921
- Indicates if the plugin is disabled or not
922
-
923
- ### `ol_list` (object)
924
-
925
- Properties of the `ol_list` object:
926
-
927
- #### `disabled` (boolean)
928
-
929
- Indicates if the plugin is disabled or not
930
-
931
- ### `redo` (object)
932
-
933
- Properties of the `redo` object:
934
-
935
- #### `disabled` (boolean)
936
-
937
- Indicates if the plugin is disabled or not
938
-
939
- ### `strikethrough` (object)
940
-
941
- Properties of the `strikethrough` object:
942
-
943
- #### `disabled` (boolean)
944
-
945
- Indicates if the plugin is disabled or not
946
-
947
- ### `sub` (object)
948
-
949
- Properties of the `sub` object:
950
-
951
- #### `disabled` (boolean)
952
-
953
- Indicates if the plugin is disabled or not
954
-
955
- ### `sup` (object)
956
-
957
- Properties of the `sup` object:
958
-
959
- #### `disabled` (boolean)
960
-
961
- Indicates if the plugin is disabled or not
962
-
963
- ### `table` (object)
964
-
965
- Properties of the `table` object:
966
-
967
- #### `disabled` (boolean)
968
-
969
- Indicates if the plugin is disabled or not
970
-
971
- ### `ul_list` (object)
972
-
973
- Properties of the `ul_list` object:
974
-
975
- #### `disabled` (boolean)
976
-
977
- Indicates if the plugin is disabled or not
978
-
979
- ### `underline` (object)
980
-
981
- Properties of the `underline` object:
982
-
983
- #### `disabled` (boolean)
984
-
985
- Indicates if the plugin is disabled or not
986
-
987
- ### `undo` (object)
988
-
989
- Properties of the `undo` object:
990
-
991
- #### `disabled` (boolean)
992
-
993
- Indicates if the plugin is disabled or not
994
-
995
- ## `EditableHtmlButtonConfigure` (object)
996
-
997
- Properties of the `EditableHtmlButtonConfigure` object:
998
-
999
- ### `disabled` (boolean)
1000
-
1001
- Indicates if the plugin is disabled or not
1002
-
1003
- ## `CustomPlugin` (object)
1004
-
1005
- Properties of the `CustomPlugin` object:
1006
-
1007
- ### `event` (string, required)
1008
-
1009
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1010
- PIE will emit the event prefixed with "PIE-".
1011
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1012
-
1013
- ### `iconAlt` (string, required)
1014
-
1015
- The alt for the custom button icon
1016
-
1017
- ### `iconType` (string, required)
1018
-
1019
- The icon type.
1020
- Currently, only "SVG" is supported.
1021
-
1022
- ### `icon` (string, required)
1023
-
1024
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1025
-
1026
- ## `ConfigurePropWithEnabled` (object)
1027
-
1028
- Properties of the `ConfigurePropWithEnabled` object:
1029
-
1030
- ### `enabled` (boolean)
1031
-
1032
- Indicates the value of the item if it affects config-ui
1033
- (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
1034
-
1035
- ### `settings` (boolean)
1036
-
1037
- Indicates if the item has to be displayed in the Settings Panel
1038
-
1039
- ### `label` (string)
1040
-
1041
- Indicates the label for the item that has to be displayed in the Settings Panel
1042
-
1043
- ## `ConfigureProp` (object)
1044
-
1045
- Properties of the `ConfigureProp` object:
1046
-
1047
- ### `settings` (boolean)
1048
-
1049
- Indicates if the item has to be displayed in the Settings Panel
1050
-
1051
- ### `label` (string)
1052
-
1053
- Indicates the label for the item that has to be displayed in the Settings Panel
1054
-
1055
- ## `EditableHtmlPluginConfigureRequired` (object)
1056
-
1057
- Properties of the `EditableHtmlPluginConfigureRequired` object:
1058
-
1059
- ### `inputConfiguration` (object)
1060
-
1061
- Properties of the `inputConfiguration` object:
1062
-
1063
- #### `math` (object)
1064
-
1065
- Properties of the `math` object:
1066
-
1067
- ##### `disabled` (boolean)
1068
-
1069
- Indicates if the plugin is disabled or not
1070
-
1071
- #### `audio` (object)
1072
-
1073
- Properties of the `audio` object:
1074
-
1075
- ##### `disabled` (boolean)
1076
-
1077
- Indicates if the plugin is disabled or not
1078
-
1079
- #### `video` (object)
1080
-
1081
- Properties of the `video` object:
1082
-
1083
- ##### `disabled` (boolean)
1084
-
1085
- Indicates if the plugin is disabled or not
1086
-
1087
- #### `image` (object)
1088
-
1089
- Properties of the `image` object:
1090
-
1091
- ##### `disabled` (boolean)
1092
-
1093
- Indicates if the plugin is disabled or not
1094
-
1095
- #### `customPlugins` (array)
1096
-
1097
- An array of objects that determine custom plugins.
1098
- A custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).
1099
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
1100
-
1101
- The object is an array with all elements of the type `object`.
1102
-
1103
- The array object has the following properties:
1104
-
1105
- ##### `event` (string, required)
1106
-
1107
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1108
- PIE will emit the event prefixed with "PIE-".
1109
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1110
-
1111
- ##### `iconAlt` (string, required)
1112
-
1113
- The alt for the custom button icon
1114
-
1115
- ##### `iconType` (string, required)
1116
-
1117
- The icon type.
1118
- Currently, only "SVG" is supported.
1119
-
1120
- ##### `icon` (string, required)
1121
-
1122
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1123
-
1124
- #### `blockquote` (object)
1125
-
1126
- Properties of the `blockquote` object:
1127
-
1128
- ##### `disabled` (boolean)
1129
-
1130
- Indicates if the plugin is disabled or not
1131
-
1132
- #### `h3` (object)
1133
-
1134
- Properties of the `h3` object:
1135
-
1136
- ##### `disabled` (boolean)
1137
-
1138
- Indicates if the plugin is disabled or not
1139
-
1140
- #### `characters` (object)
1141
-
1142
- Properties of the `characters` object:
1143
-
1144
- ##### `disabled` (boolean)
1145
-
1146
- Indicates if the plugin is disabled or not
1147
-
1148
- #### `bold` (object)
1149
-
1150
- Properties of the `bold` object:
1151
-
1152
- ##### `disabled` (boolean)
1153
-
1154
- Indicates if the plugin is disabled or not
1155
-
1156
- #### `html` (object)
1157
-
1158
- Properties of the `html` object:
1159
-
1160
- ##### `disabled` (boolean)
1161
-
1162
- Indicates if the plugin is disabled or not
1163
-
1164
- #### `italic` (object)
1165
-
1166
- Properties of the `italic` object:
1167
-
1168
- ##### `disabled` (boolean)
1169
-
1170
- Indicates if the plugin is disabled or not
1171
-
1172
- #### `ol_list` (object)
1173
-
1174
- Properties of the `ol_list` object:
1175
-
1176
- ##### `disabled` (boolean)
1177
-
1178
- Indicates if the plugin is disabled or not
1179
-
1180
- #### `redo` (object)
1181
-
1182
- Properties of the `redo` object:
1183
-
1184
- ##### `disabled` (boolean)
1185
-
1186
- Indicates if the plugin is disabled or not
1187
-
1188
- #### `strikethrough` (object)
1189
-
1190
- Properties of the `strikethrough` object:
1191
-
1192
- ##### `disabled` (boolean)
1193
-
1194
- Indicates if the plugin is disabled or not
1195
-
1196
- #### `sub` (object)
1197
-
1198
- Properties of the `sub` object:
1199
-
1200
- ##### `disabled` (boolean)
1201
-
1202
- Indicates if the plugin is disabled or not
1203
-
1204
- #### `sup` (object)
1205
-
1206
- Properties of the `sup` object:
1207
-
1208
- ##### `disabled` (boolean)
1209
-
1210
- Indicates if the plugin is disabled or not
1211
-
1212
- #### `table` (object)
1213
-
1214
- Properties of the `table` object:
1215
-
1216
- ##### `disabled` (boolean)
1217
-
1218
- Indicates if the plugin is disabled or not
1219
-
1220
- #### `ul_list` (object)
1221
-
1222
- Properties of the `ul_list` object:
1223
-
1224
- ##### `disabled` (boolean)
1225
-
1226
- Indicates if the plugin is disabled or not
1227
-
1228
- #### `underline` (object)
1229
-
1230
- Properties of the `underline` object:
1231
-
1232
- ##### `disabled` (boolean)
1233
-
1234
- Indicates if the plugin is disabled or not
1235
-
1236
- #### `undo` (object)
1237
-
1238
- Properties of the `undo` object:
1239
-
1240
- ##### `disabled` (boolean)
1241
-
1242
- Indicates if the plugin is disabled or not
1243
-
1244
- ### `required` (boolean)
1245
-
1246
- Indicates if the item is required and the value cannot be empty
1247
-
1248
- ### `settings` (boolean)
1249
-
1250
- Indicates if the item has to be displayed in the Settings Panel
1251
-
1252
- ### `label` (string)
1253
-
1254
- Indicates the label for the item that has to be displayed in the Settings Panel
1255
-
1256
- ## `ConfigureMaxImageDimensionsProp` (object)
1257
-
1258
- Properties of the `ConfigureMaxImageDimensionsProp` object:
1259
-
1260
- ### `teacherInstructions` (number)
1261
-
1262
- Indicates the max dimension for images in teacher instructions
1263
-
1264
- ### `prompt` (number)
1265
-
1266
- Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
1267
-
1268
- ### `rationale` (number)
1269
-
1270
- Indicates the max dimension for images in rationale
1271
-
1272
- ## `ConfigureWithForceProp` (object)
1273
-
1274
- Properties of the `ConfigureWithForceProp` object:
1275
-
1276
- ### `forceEnabled` (boolean)
1277
-
1278
- Indicates the value for the toggle;
1279
- if true:
1280
- - this property will not be visible in Settings Panel (settings will become automatically false)
1281
- - the model property afferent to it will become automatically false
1282
-
1283
- ### `settings` (boolean)
1284
-
1285
- Indicates if the item has to be displayed in the Settings Panel
1286
-
1287
- ### `label` (string)
1288
-
1289
- Indicates the label for the item that has to be displayed in the Settings Panel
1290
-
1291
- ## `ConfigureMathMLProp` (object)
1292
-
1293
- Properties of the `ConfigureMathMLProp` object:
1294
-
1295
- ### `mmlOutput` (number)
1296
-
1297
- Indicates if model should have mathML output instead of latex
1298
-
1299
- ### `mmlEditing` (number)
1300
-
1301
- Indicates if mathML that's already in model should be editable
1302
-
1303
- ## `ConfigureLanguageOptionsProp` (object)
1304
-
1305
- Properties of the `ConfigureLanguageOptionsProp` object:
1306
-
1307
- ### `value` (string, required)
1308
-
1309
- Value of the language option
1310
-
1311
- ### `label` (string, required)
1312
-
1313
- Label of the language option