@pie-element/drawing-response 12.1.0-next.19 → 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,1766 +0,0 @@
1
- {
2
- "description": "Config Object for @pie-elements/drawing-response",
3
- "additionalProperties": false,
4
- "type": "object",
5
- "properties": {
6
- "baseInputConfiguration": {
7
- "title": "EditableHtmlConfigureProp",
8
- "type": "object",
9
- "properties": {
10
- "math": {
11
- "title": "EditableHtmlButtonConfigure",
12
- "type": "object",
13
- "properties": {
14
- "disabled": {
15
- "description": "Indicates if the plugin is disabled or not",
16
- "type": "boolean",
17
- "title": "disabled"
18
- }
19
- }
20
- },
21
- "audio": {
22
- "title": "EditableHtmlButtonConfigure",
23
- "type": "object",
24
- "properties": {
25
- "disabled": {
26
- "description": "Indicates if the plugin is disabled or not",
27
- "type": "boolean",
28
- "title": "disabled"
29
- }
30
- }
31
- },
32
- "video": {
33
- "title": "EditableHtmlButtonConfigure",
34
- "type": "object",
35
- "properties": {
36
- "disabled": {
37
- "description": "Indicates if the plugin is disabled or not",
38
- "type": "boolean",
39
- "title": "disabled"
40
- }
41
- }
42
- },
43
- "image": {
44
- "title": "EditableHtmlButtonConfigure",
45
- "type": "object",
46
- "properties": {
47
- "disabled": {
48
- "description": "Indicates if the plugin is disabled or not",
49
- "type": "boolean",
50
- "title": "disabled"
51
- }
52
- }
53
- },
54
- "customPlugins": {
55
- "description": "An array of objects that determine custom plugins.\nA 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).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
56
- "type": "array",
57
- "items": {
58
- "title": "CustomPlugin",
59
- "type": "object",
60
- "properties": {
61
- "event": {
62
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
63
- "type": "string",
64
- "title": "event"
65
- },
66
- "iconAlt": {
67
- "description": "The alt for the custom button icon",
68
- "type": "string",
69
- "title": "iconAlt"
70
- },
71
- "iconType": {
72
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
73
- "type": "string",
74
- "title": "iconType"
75
- },
76
- "icon": {
77
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
78
- "type": "string",
79
- "title": "icon"
80
- }
81
- },
82
- "required": [
83
- "event",
84
- "icon",
85
- "iconAlt",
86
- "iconType"
87
- ]
88
- },
89
- "title": "customPlugins"
90
- },
91
- "blockquote": {
92
- "title": "EditableHtmlButtonConfigure",
93
- "type": "object",
94
- "properties": {
95
- "disabled": {
96
- "description": "Indicates if the plugin is disabled or not",
97
- "type": "boolean",
98
- "title": "disabled"
99
- }
100
- }
101
- },
102
- "h3": {
103
- "title": "EditableHtmlButtonConfigure",
104
- "type": "object",
105
- "properties": {
106
- "disabled": {
107
- "description": "Indicates if the plugin is disabled or not",
108
- "type": "boolean",
109
- "title": "disabled"
110
- }
111
- }
112
- },
113
- "characters": {
114
- "title": "EditableHtmlButtonConfigure",
115
- "type": "object",
116
- "properties": {
117
- "disabled": {
118
- "description": "Indicates if the plugin is disabled or not",
119
- "type": "boolean",
120
- "title": "disabled"
121
- }
122
- }
123
- },
124
- "bold": {
125
- "title": "EditableHtmlButtonConfigure",
126
- "type": "object",
127
- "properties": {
128
- "disabled": {
129
- "description": "Indicates if the plugin is disabled or not",
130
- "type": "boolean",
131
- "title": "disabled"
132
- }
133
- }
134
- },
135
- "html": {
136
- "title": "EditableHtmlButtonConfigure",
137
- "type": "object",
138
- "properties": {
139
- "disabled": {
140
- "description": "Indicates if the plugin is disabled or not",
141
- "type": "boolean",
142
- "title": "disabled"
143
- }
144
- }
145
- },
146
- "italic": {
147
- "title": "EditableHtmlButtonConfigure",
148
- "type": "object",
149
- "properties": {
150
- "disabled": {
151
- "description": "Indicates if the plugin is disabled or not",
152
- "type": "boolean",
153
- "title": "disabled"
154
- }
155
- }
156
- },
157
- "ol_list": {
158
- "title": "EditableHtmlButtonConfigure",
159
- "type": "object",
160
- "properties": {
161
- "disabled": {
162
- "description": "Indicates if the plugin is disabled or not",
163
- "type": "boolean",
164
- "title": "disabled"
165
- }
166
- }
167
- },
168
- "redo": {
169
- "title": "EditableHtmlButtonConfigure",
170
- "type": "object",
171
- "properties": {
172
- "disabled": {
173
- "description": "Indicates if the plugin is disabled or not",
174
- "type": "boolean",
175
- "title": "disabled"
176
- }
177
- }
178
- },
179
- "strikethrough": {
180
- "title": "EditableHtmlButtonConfigure",
181
- "type": "object",
182
- "properties": {
183
- "disabled": {
184
- "description": "Indicates if the plugin is disabled or not",
185
- "type": "boolean",
186
- "title": "disabled"
187
- }
188
- }
189
- },
190
- "sub": {
191
- "title": "EditableHtmlButtonConfigure",
192
- "type": "object",
193
- "properties": {
194
- "disabled": {
195
- "description": "Indicates if the plugin is disabled or not",
196
- "type": "boolean",
197
- "title": "disabled"
198
- }
199
- }
200
- },
201
- "sup": {
202
- "title": "EditableHtmlButtonConfigure",
203
- "type": "object",
204
- "properties": {
205
- "disabled": {
206
- "description": "Indicates if the plugin is disabled or not",
207
- "type": "boolean",
208
- "title": "disabled"
209
- }
210
- }
211
- },
212
- "table": {
213
- "title": "EditableHtmlButtonConfigure",
214
- "type": "object",
215
- "properties": {
216
- "disabled": {
217
- "description": "Indicates if the plugin is disabled or not",
218
- "type": "boolean",
219
- "title": "disabled"
220
- }
221
- }
222
- },
223
- "ul_list": {
224
- "title": "EditableHtmlButtonConfigure",
225
- "type": "object",
226
- "properties": {
227
- "disabled": {
228
- "description": "Indicates if the plugin is disabled or not",
229
- "type": "boolean",
230
- "title": "disabled"
231
- }
232
- }
233
- },
234
- "underline": {
235
- "title": "EditableHtmlButtonConfigure",
236
- "type": "object",
237
- "properties": {
238
- "disabled": {
239
- "description": "Indicates if the plugin is disabled or not",
240
- "type": "boolean",
241
- "title": "disabled"
242
- }
243
- }
244
- },
245
- "undo": {
246
- "title": "EditableHtmlButtonConfigure",
247
- "type": "object",
248
- "properties": {
249
- "disabled": {
250
- "description": "Indicates if the plugin is disabled or not",
251
- "type": "boolean",
252
- "title": "disabled"
253
- }
254
- }
255
- }
256
- }
257
- },
258
- "backgroundImage": {
259
- "title": "ConfigurePropWithEnabled",
260
- "type": "object",
261
- "properties": {
262
- "enabled": {
263
- "description": "Indicates the value of the item if it affects config-ui\n(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)",
264
- "type": "boolean",
265
- "title": "enabled"
266
- },
267
- "settings": {
268
- "description": "Indicates if the item has to be displayed in the Settings Panel",
269
- "type": "boolean",
270
- "title": "settings"
271
- },
272
- "label": {
273
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
274
- "type": "string",
275
- "title": "label"
276
- }
277
- }
278
- },
279
- "partialScoring": {
280
- "title": "ConfigureProp",
281
- "type": "object",
282
- "properties": {
283
- "settings": {
284
- "description": "Indicates if the item has to be displayed in the Settings Panel",
285
- "type": "boolean",
286
- "title": "settings"
287
- },
288
- "label": {
289
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
290
- "type": "string",
291
- "title": "label"
292
- }
293
- }
294
- },
295
- "settingsPanelDisabled": {
296
- "description": "Indicates if the settings panel is not available",
297
- "type": "boolean",
298
- "title": "settingsPanelDisabled"
299
- },
300
- "spellCheck": {
301
- "title": "ConfigureProp",
302
- "type": "object",
303
- "properties": {
304
- "settings": {
305
- "description": "Indicates if the item has to be displayed in the Settings Panel",
306
- "type": "boolean",
307
- "title": "settings"
308
- },
309
- "label": {
310
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
311
- "type": "string",
312
- "title": "label"
313
- }
314
- }
315
- },
316
- "studentInstructions": {
317
- "title": "ConfigureProp",
318
- "type": "object",
319
- "properties": {
320
- "settings": {
321
- "description": "Indicates if the item has to be displayed in the Settings Panel",
322
- "type": "boolean",
323
- "title": "settings"
324
- },
325
- "label": {
326
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
327
- "type": "string",
328
- "title": "label"
329
- }
330
- }
331
- },
332
- "teacherInstructions": {
333
- "title": "EditableHtmlPluginConfigureRequired",
334
- "type": "object",
335
- "properties": {
336
- "inputConfiguration": {
337
- "title": "EditableHtmlConfigureProp",
338
- "type": "object",
339
- "properties": {
340
- "math": {
341
- "title": "EditableHtmlButtonConfigure",
342
- "type": "object",
343
- "properties": {
344
- "disabled": {
345
- "description": "Indicates if the plugin is disabled or not",
346
- "type": "boolean",
347
- "title": "disabled"
348
- }
349
- }
350
- },
351
- "audio": {
352
- "title": "EditableHtmlButtonConfigure",
353
- "type": "object",
354
- "properties": {
355
- "disabled": {
356
- "description": "Indicates if the plugin is disabled or not",
357
- "type": "boolean",
358
- "title": "disabled"
359
- }
360
- }
361
- },
362
- "video": {
363
- "title": "EditableHtmlButtonConfigure",
364
- "type": "object",
365
- "properties": {
366
- "disabled": {
367
- "description": "Indicates if the plugin is disabled or not",
368
- "type": "boolean",
369
- "title": "disabled"
370
- }
371
- }
372
- },
373
- "image": {
374
- "title": "EditableHtmlButtonConfigure",
375
- "type": "object",
376
- "properties": {
377
- "disabled": {
378
- "description": "Indicates if the plugin is disabled or not",
379
- "type": "boolean",
380
- "title": "disabled"
381
- }
382
- }
383
- },
384
- "customPlugins": {
385
- "description": "An array of objects that determine custom plugins.\nA 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).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
386
- "type": "array",
387
- "items": {
388
- "title": "CustomPlugin",
389
- "type": "object",
390
- "properties": {
391
- "event": {
392
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
393
- "type": "string",
394
- "title": "event"
395
- },
396
- "iconAlt": {
397
- "description": "The alt for the custom button icon",
398
- "type": "string",
399
- "title": "iconAlt"
400
- },
401
- "iconType": {
402
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
403
- "type": "string",
404
- "title": "iconType"
405
- },
406
- "icon": {
407
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
408
- "type": "string",
409
- "title": "icon"
410
- }
411
- },
412
- "required": [
413
- "event",
414
- "icon",
415
- "iconAlt",
416
- "iconType"
417
- ]
418
- },
419
- "title": "customPlugins"
420
- },
421
- "blockquote": {
422
- "title": "EditableHtmlButtonConfigure",
423
- "type": "object",
424
- "properties": {
425
- "disabled": {
426
- "description": "Indicates if the plugin is disabled or not",
427
- "type": "boolean",
428
- "title": "disabled"
429
- }
430
- }
431
- },
432
- "h3": {
433
- "title": "EditableHtmlButtonConfigure",
434
- "type": "object",
435
- "properties": {
436
- "disabled": {
437
- "description": "Indicates if the plugin is disabled or not",
438
- "type": "boolean",
439
- "title": "disabled"
440
- }
441
- }
442
- },
443
- "characters": {
444
- "title": "EditableHtmlButtonConfigure",
445
- "type": "object",
446
- "properties": {
447
- "disabled": {
448
- "description": "Indicates if the plugin is disabled or not",
449
- "type": "boolean",
450
- "title": "disabled"
451
- }
452
- }
453
- },
454
- "bold": {
455
- "title": "EditableHtmlButtonConfigure",
456
- "type": "object",
457
- "properties": {
458
- "disabled": {
459
- "description": "Indicates if the plugin is disabled or not",
460
- "type": "boolean",
461
- "title": "disabled"
462
- }
463
- }
464
- },
465
- "html": {
466
- "title": "EditableHtmlButtonConfigure",
467
- "type": "object",
468
- "properties": {
469
- "disabled": {
470
- "description": "Indicates if the plugin is disabled or not",
471
- "type": "boolean",
472
- "title": "disabled"
473
- }
474
- }
475
- },
476
- "italic": {
477
- "title": "EditableHtmlButtonConfigure",
478
- "type": "object",
479
- "properties": {
480
- "disabled": {
481
- "description": "Indicates if the plugin is disabled or not",
482
- "type": "boolean",
483
- "title": "disabled"
484
- }
485
- }
486
- },
487
- "ol_list": {
488
- "title": "EditableHtmlButtonConfigure",
489
- "type": "object",
490
- "properties": {
491
- "disabled": {
492
- "description": "Indicates if the plugin is disabled or not",
493
- "type": "boolean",
494
- "title": "disabled"
495
- }
496
- }
497
- },
498
- "redo": {
499
- "title": "EditableHtmlButtonConfigure",
500
- "type": "object",
501
- "properties": {
502
- "disabled": {
503
- "description": "Indicates if the plugin is disabled or not",
504
- "type": "boolean",
505
- "title": "disabled"
506
- }
507
- }
508
- },
509
- "strikethrough": {
510
- "title": "EditableHtmlButtonConfigure",
511
- "type": "object",
512
- "properties": {
513
- "disabled": {
514
- "description": "Indicates if the plugin is disabled or not",
515
- "type": "boolean",
516
- "title": "disabled"
517
- }
518
- }
519
- },
520
- "sub": {
521
- "title": "EditableHtmlButtonConfigure",
522
- "type": "object",
523
- "properties": {
524
- "disabled": {
525
- "description": "Indicates if the plugin is disabled or not",
526
- "type": "boolean",
527
- "title": "disabled"
528
- }
529
- }
530
- },
531
- "sup": {
532
- "title": "EditableHtmlButtonConfigure",
533
- "type": "object",
534
- "properties": {
535
- "disabled": {
536
- "description": "Indicates if the plugin is disabled or not",
537
- "type": "boolean",
538
- "title": "disabled"
539
- }
540
- }
541
- },
542
- "table": {
543
- "title": "EditableHtmlButtonConfigure",
544
- "type": "object",
545
- "properties": {
546
- "disabled": {
547
- "description": "Indicates if the plugin is disabled or not",
548
- "type": "boolean",
549
- "title": "disabled"
550
- }
551
- }
552
- },
553
- "ul_list": {
554
- "title": "EditableHtmlButtonConfigure",
555
- "type": "object",
556
- "properties": {
557
- "disabled": {
558
- "description": "Indicates if the plugin is disabled or not",
559
- "type": "boolean",
560
- "title": "disabled"
561
- }
562
- }
563
- },
564
- "underline": {
565
- "title": "EditableHtmlButtonConfigure",
566
- "type": "object",
567
- "properties": {
568
- "disabled": {
569
- "description": "Indicates if the plugin is disabled or not",
570
- "type": "boolean",
571
- "title": "disabled"
572
- }
573
- }
574
- },
575
- "undo": {
576
- "title": "EditableHtmlButtonConfigure",
577
- "type": "object",
578
- "properties": {
579
- "disabled": {
580
- "description": "Indicates if the plugin is disabled or not",
581
- "type": "boolean",
582
- "title": "disabled"
583
- }
584
- }
585
- }
586
- }
587
- },
588
- "required": {
589
- "description": "Indicates if the item is required and the value cannot be empty",
590
- "type": "boolean",
591
- "title": "required"
592
- },
593
- "settings": {
594
- "description": "Indicates if the item has to be displayed in the Settings Panel",
595
- "type": "boolean",
596
- "title": "settings"
597
- },
598
- "label": {
599
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
600
- "type": "string",
601
- "title": "label"
602
- }
603
- }
604
- },
605
- "prompt": {
606
- "title": "EditableHtmlPluginConfigureRequired",
607
- "type": "object",
608
- "properties": {
609
- "inputConfiguration": {
610
- "title": "EditableHtmlConfigureProp",
611
- "type": "object",
612
- "properties": {
613
- "math": {
614
- "title": "EditableHtmlButtonConfigure",
615
- "type": "object",
616
- "properties": {
617
- "disabled": {
618
- "description": "Indicates if the plugin is disabled or not",
619
- "type": "boolean",
620
- "title": "disabled"
621
- }
622
- }
623
- },
624
- "audio": {
625
- "title": "EditableHtmlButtonConfigure",
626
- "type": "object",
627
- "properties": {
628
- "disabled": {
629
- "description": "Indicates if the plugin is disabled or not",
630
- "type": "boolean",
631
- "title": "disabled"
632
- }
633
- }
634
- },
635
- "video": {
636
- "title": "EditableHtmlButtonConfigure",
637
- "type": "object",
638
- "properties": {
639
- "disabled": {
640
- "description": "Indicates if the plugin is disabled or not",
641
- "type": "boolean",
642
- "title": "disabled"
643
- }
644
- }
645
- },
646
- "image": {
647
- "title": "EditableHtmlButtonConfigure",
648
- "type": "object",
649
- "properties": {
650
- "disabled": {
651
- "description": "Indicates if the plugin is disabled or not",
652
- "type": "boolean",
653
- "title": "disabled"
654
- }
655
- }
656
- },
657
- "customPlugins": {
658
- "description": "An array of objects that determine custom plugins.\nA 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).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
659
- "type": "array",
660
- "items": {
661
- "title": "CustomPlugin",
662
- "type": "object",
663
- "properties": {
664
- "event": {
665
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
666
- "type": "string",
667
- "title": "event"
668
- },
669
- "iconAlt": {
670
- "description": "The alt for the custom button icon",
671
- "type": "string",
672
- "title": "iconAlt"
673
- },
674
- "iconType": {
675
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
676
- "type": "string",
677
- "title": "iconType"
678
- },
679
- "icon": {
680
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
681
- "type": "string",
682
- "title": "icon"
683
- }
684
- },
685
- "required": [
686
- "event",
687
- "icon",
688
- "iconAlt",
689
- "iconType"
690
- ]
691
- },
692
- "title": "customPlugins"
693
- },
694
- "blockquote": {
695
- "title": "EditableHtmlButtonConfigure",
696
- "type": "object",
697
- "properties": {
698
- "disabled": {
699
- "description": "Indicates if the plugin is disabled or not",
700
- "type": "boolean",
701
- "title": "disabled"
702
- }
703
- }
704
- },
705
- "h3": {
706
- "title": "EditableHtmlButtonConfigure",
707
- "type": "object",
708
- "properties": {
709
- "disabled": {
710
- "description": "Indicates if the plugin is disabled or not",
711
- "type": "boolean",
712
- "title": "disabled"
713
- }
714
- }
715
- },
716
- "characters": {
717
- "title": "EditableHtmlButtonConfigure",
718
- "type": "object",
719
- "properties": {
720
- "disabled": {
721
- "description": "Indicates if the plugin is disabled or not",
722
- "type": "boolean",
723
- "title": "disabled"
724
- }
725
- }
726
- },
727
- "bold": {
728
- "title": "EditableHtmlButtonConfigure",
729
- "type": "object",
730
- "properties": {
731
- "disabled": {
732
- "description": "Indicates if the plugin is disabled or not",
733
- "type": "boolean",
734
- "title": "disabled"
735
- }
736
- }
737
- },
738
- "html": {
739
- "title": "EditableHtmlButtonConfigure",
740
- "type": "object",
741
- "properties": {
742
- "disabled": {
743
- "description": "Indicates if the plugin is disabled or not",
744
- "type": "boolean",
745
- "title": "disabled"
746
- }
747
- }
748
- },
749
- "italic": {
750
- "title": "EditableHtmlButtonConfigure",
751
- "type": "object",
752
- "properties": {
753
- "disabled": {
754
- "description": "Indicates if the plugin is disabled or not",
755
- "type": "boolean",
756
- "title": "disabled"
757
- }
758
- }
759
- },
760
- "ol_list": {
761
- "title": "EditableHtmlButtonConfigure",
762
- "type": "object",
763
- "properties": {
764
- "disabled": {
765
- "description": "Indicates if the plugin is disabled or not",
766
- "type": "boolean",
767
- "title": "disabled"
768
- }
769
- }
770
- },
771
- "redo": {
772
- "title": "EditableHtmlButtonConfigure",
773
- "type": "object",
774
- "properties": {
775
- "disabled": {
776
- "description": "Indicates if the plugin is disabled or not",
777
- "type": "boolean",
778
- "title": "disabled"
779
- }
780
- }
781
- },
782
- "strikethrough": {
783
- "title": "EditableHtmlButtonConfigure",
784
- "type": "object",
785
- "properties": {
786
- "disabled": {
787
- "description": "Indicates if the plugin is disabled or not",
788
- "type": "boolean",
789
- "title": "disabled"
790
- }
791
- }
792
- },
793
- "sub": {
794
- "title": "EditableHtmlButtonConfigure",
795
- "type": "object",
796
- "properties": {
797
- "disabled": {
798
- "description": "Indicates if the plugin is disabled or not",
799
- "type": "boolean",
800
- "title": "disabled"
801
- }
802
- }
803
- },
804
- "sup": {
805
- "title": "EditableHtmlButtonConfigure",
806
- "type": "object",
807
- "properties": {
808
- "disabled": {
809
- "description": "Indicates if the plugin is disabled or not",
810
- "type": "boolean",
811
- "title": "disabled"
812
- }
813
- }
814
- },
815
- "table": {
816
- "title": "EditableHtmlButtonConfigure",
817
- "type": "object",
818
- "properties": {
819
- "disabled": {
820
- "description": "Indicates if the plugin is disabled or not",
821
- "type": "boolean",
822
- "title": "disabled"
823
- }
824
- }
825
- },
826
- "ul_list": {
827
- "title": "EditableHtmlButtonConfigure",
828
- "type": "object",
829
- "properties": {
830
- "disabled": {
831
- "description": "Indicates if the plugin is disabled or not",
832
- "type": "boolean",
833
- "title": "disabled"
834
- }
835
- }
836
- },
837
- "underline": {
838
- "title": "EditableHtmlButtonConfigure",
839
- "type": "object",
840
- "properties": {
841
- "disabled": {
842
- "description": "Indicates if the plugin is disabled or not",
843
- "type": "boolean",
844
- "title": "disabled"
845
- }
846
- }
847
- },
848
- "undo": {
849
- "title": "EditableHtmlButtonConfigure",
850
- "type": "object",
851
- "properties": {
852
- "disabled": {
853
- "description": "Indicates if the plugin is disabled or not",
854
- "type": "boolean",
855
- "title": "disabled"
856
- }
857
- }
858
- }
859
- }
860
- },
861
- "required": {
862
- "description": "Indicates if the item is required and the value cannot be empty",
863
- "type": "boolean",
864
- "title": "required"
865
- },
866
- "settings": {
867
- "description": "Indicates if the item has to be displayed in the Settings Panel",
868
- "type": "boolean",
869
- "title": "settings"
870
- },
871
- "label": {
872
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
873
- "type": "string",
874
- "title": "label"
875
- }
876
- }
877
- },
878
- "maxImageWidth": {
879
- "title": "ConfigureMaxImageDimensionsProp",
880
- "type": "object",
881
- "properties": {
882
- "teacherInstructions": {
883
- "description": "Indicates the max dimension for images in teacher instructions",
884
- "type": "number",
885
- "title": "teacherInstructions"
886
- },
887
- "prompt": {
888
- "description": "Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified",
889
- "type": "number",
890
- "title": "prompt"
891
- },
892
- "rationale": {
893
- "description": "Indicates the max dimension for images in rationale",
894
- "type": "number",
895
- "title": "rationale"
896
- }
897
- }
898
- },
899
- "maxImageHeight": {
900
- "title": "ConfigureMaxImageDimensionsProp",
901
- "type": "object",
902
- "properties": {
903
- "teacherInstructions": {
904
- "description": "Indicates the max dimension for images in teacher instructions",
905
- "type": "number",
906
- "title": "teacherInstructions"
907
- },
908
- "prompt": {
909
- "description": "Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified",
910
- "type": "number",
911
- "title": "prompt"
912
- },
913
- "rationale": {
914
- "description": "Indicates the max dimension for images in rationale",
915
- "type": "number",
916
- "title": "rationale"
917
- }
918
- }
919
- },
920
- "withRubric": {
921
- "title": "ConfigureWithForceProp",
922
- "type": "object",
923
- "properties": {
924
- "forceEnabled": {
925
- "description": "Indicates the value for the toggle;\nif true:\n- this property will not be visible in Settings Panel (settings will become automatically false)\n- the model property afferent to it will become automatically false",
926
- "type": "boolean",
927
- "title": "forceEnabled"
928
- },
929
- "settings": {
930
- "description": "Indicates if the item has to be displayed in the Settings Panel",
931
- "type": "boolean",
932
- "title": "settings"
933
- },
934
- "label": {
935
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
936
- "type": "string",
937
- "title": "label"
938
- }
939
- }
940
- },
941
- "mathMlOptions": {
942
- "title": "ConfigureMathMLProp",
943
- "type": "object",
944
- "properties": {
945
- "mmlOutput": {
946
- "description": "Indicates if model should have mathML output instead of latex",
947
- "type": "number",
948
- "title": "mmlOutput"
949
- },
950
- "mmlEditing": {
951
- "description": "Indicates if mathML that's already in model should be editable",
952
- "type": "number",
953
- "title": "mmlEditing"
954
- }
955
- }
956
- },
957
- "language": {
958
- "title": "ConfigurePropWithEnabled",
959
- "type": "object",
960
- "properties": {
961
- "enabled": {
962
- "description": "Indicates the value of the item if it affects config-ui\n(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)",
963
- "type": "boolean",
964
- "title": "enabled"
965
- },
966
- "settings": {
967
- "description": "Indicates if the item has to be displayed in the Settings Panel",
968
- "type": "boolean",
969
- "title": "settings"
970
- },
971
- "label": {
972
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
973
- "type": "string",
974
- "title": "label"
975
- }
976
- }
977
- },
978
- "languageChoices": {
979
- "description": "Language choices configuration\nOnly available if language is enabled",
980
- "type": "object",
981
- "properties": {
982
- "label": {
983
- "type": "string",
984
- "title": "label"
985
- },
986
- "options": {
987
- "type": "array",
988
- "items": {
989
- "title": "ConfigureLanguageOptionsProp",
990
- "type": "object",
991
- "properties": {
992
- "value": {
993
- "description": "Value of the language option",
994
- "type": "string",
995
- "title": "value"
996
- },
997
- "label": {
998
- "description": "Label of the language option",
999
- "type": "string",
1000
- "title": "label"
1001
- }
1002
- },
1003
- "required": [
1004
- "label",
1005
- "value"
1006
- ]
1007
- },
1008
- "title": "options"
1009
- }
1010
- },
1011
- "required": [
1012
- "label",
1013
- "options"
1014
- ],
1015
- "title": "languageChoices"
1016
- },
1017
- "showPrompt": {
1018
- "description": "Determines whether prompt field will be displayed or not",
1019
- "default": true,
1020
- "type": "boolean",
1021
- "title": "showPrompt"
1022
- },
1023
- "promptLabel": {
1024
- "description": "The label for the item stem/prompt field",
1025
- "default": "Item Stemm",
1026
- "type": "string",
1027
- "title": "promptLabel"
1028
- },
1029
- "contentDimensions": {
1030
- "description": "Indicates the dimensions configuration for the authoring container\nNote: Some items have a default minimum width because of their content, but if\nthe minWidth is lower than this, the overflow behavior will take care of that",
1031
- "default": ": {}",
1032
- "type": "object",
1033
- "properties": {
1034
- "maxHeight": {
1035
- "description": "Indicates the max height of the authoring container",
1036
- "default": "undefined",
1037
- "type": [
1038
- "string",
1039
- "number"
1040
- ],
1041
- "title": "maxHeight"
1042
- },
1043
- "maxWidth": {
1044
- "description": "Indicates the max width of the authoring container",
1045
- "default": "undefined",
1046
- "type": [
1047
- "string",
1048
- "number"
1049
- ],
1050
- "title": "maxWidth"
1051
- },
1052
- "minHeight": {
1053
- "description": "Indicates the min height of the authoring container",
1054
- "default": "undefined",
1055
- "type": [
1056
- "string",
1057
- "number"
1058
- ],
1059
- "title": "minHeight"
1060
- },
1061
- "minWidth": {
1062
- "description": "Indicates the min width of the authoring container",
1063
- "default": "undefined",
1064
- "type": [
1065
- "string",
1066
- "number"
1067
- ],
1068
- "title": "minWidth"
1069
- }
1070
- },
1071
- "title": "contentDimensions"
1072
- },
1073
- "settingsPartialScoring": {
1074
- "description": "Indicates whether the settings panel wil allow the author to modify settings for partial scoring",
1075
- "default": true,
1076
- "type": "boolean",
1077
- "title": "settingsPartialScoring"
1078
- }
1079
- },
1080
- "definitions": {
1081
- "EditableHtmlConfigureProp": {
1082
- "title": "EditableHtmlConfigureProp",
1083
- "type": "object",
1084
- "properties": {
1085
- "math": {
1086
- "title": "EditableHtmlButtonConfigure",
1087
- "type": "object",
1088
- "properties": {
1089
- "disabled": {
1090
- "description": "Indicates if the plugin is disabled or not",
1091
- "type": "boolean",
1092
- "title": "disabled"
1093
- }
1094
- }
1095
- },
1096
- "audio": {
1097
- "title": "EditableHtmlButtonConfigure",
1098
- "type": "object",
1099
- "properties": {
1100
- "disabled": {
1101
- "description": "Indicates if the plugin is disabled or not",
1102
- "type": "boolean",
1103
- "title": "disabled"
1104
- }
1105
- }
1106
- },
1107
- "video": {
1108
- "title": "EditableHtmlButtonConfigure",
1109
- "type": "object",
1110
- "properties": {
1111
- "disabled": {
1112
- "description": "Indicates if the plugin is disabled or not",
1113
- "type": "boolean",
1114
- "title": "disabled"
1115
- }
1116
- }
1117
- },
1118
- "image": {
1119
- "title": "EditableHtmlButtonConfigure",
1120
- "type": "object",
1121
- "properties": {
1122
- "disabled": {
1123
- "description": "Indicates if the plugin is disabled or not",
1124
- "type": "boolean",
1125
- "title": "disabled"
1126
- }
1127
- }
1128
- },
1129
- "customPlugins": {
1130
- "description": "An array of objects that determine custom plugins.\nA 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).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
1131
- "type": "array",
1132
- "items": {
1133
- "title": "CustomPlugin",
1134
- "type": "object",
1135
- "properties": {
1136
- "event": {
1137
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
1138
- "type": "string",
1139
- "title": "event"
1140
- },
1141
- "iconAlt": {
1142
- "description": "The alt for the custom button icon",
1143
- "type": "string",
1144
- "title": "iconAlt"
1145
- },
1146
- "iconType": {
1147
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1148
- "type": "string",
1149
- "title": "iconType"
1150
- },
1151
- "icon": {
1152
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1153
- "type": "string",
1154
- "title": "icon"
1155
- }
1156
- },
1157
- "required": [
1158
- "event",
1159
- "icon",
1160
- "iconAlt",
1161
- "iconType"
1162
- ]
1163
- },
1164
- "title": "customPlugins"
1165
- },
1166
- "blockquote": {
1167
- "title": "EditableHtmlButtonConfigure",
1168
- "type": "object",
1169
- "properties": {
1170
- "disabled": {
1171
- "description": "Indicates if the plugin is disabled or not",
1172
- "type": "boolean",
1173
- "title": "disabled"
1174
- }
1175
- }
1176
- },
1177
- "h3": {
1178
- "title": "EditableHtmlButtonConfigure",
1179
- "type": "object",
1180
- "properties": {
1181
- "disabled": {
1182
- "description": "Indicates if the plugin is disabled or not",
1183
- "type": "boolean",
1184
- "title": "disabled"
1185
- }
1186
- }
1187
- },
1188
- "characters": {
1189
- "title": "EditableHtmlButtonConfigure",
1190
- "type": "object",
1191
- "properties": {
1192
- "disabled": {
1193
- "description": "Indicates if the plugin is disabled or not",
1194
- "type": "boolean",
1195
- "title": "disabled"
1196
- }
1197
- }
1198
- },
1199
- "bold": {
1200
- "title": "EditableHtmlButtonConfigure",
1201
- "type": "object",
1202
- "properties": {
1203
- "disabled": {
1204
- "description": "Indicates if the plugin is disabled or not",
1205
- "type": "boolean",
1206
- "title": "disabled"
1207
- }
1208
- }
1209
- },
1210
- "html": {
1211
- "title": "EditableHtmlButtonConfigure",
1212
- "type": "object",
1213
- "properties": {
1214
- "disabled": {
1215
- "description": "Indicates if the plugin is disabled or not",
1216
- "type": "boolean",
1217
- "title": "disabled"
1218
- }
1219
- }
1220
- },
1221
- "italic": {
1222
- "title": "EditableHtmlButtonConfigure",
1223
- "type": "object",
1224
- "properties": {
1225
- "disabled": {
1226
- "description": "Indicates if the plugin is disabled or not",
1227
- "type": "boolean",
1228
- "title": "disabled"
1229
- }
1230
- }
1231
- },
1232
- "ol_list": {
1233
- "title": "EditableHtmlButtonConfigure",
1234
- "type": "object",
1235
- "properties": {
1236
- "disabled": {
1237
- "description": "Indicates if the plugin is disabled or not",
1238
- "type": "boolean",
1239
- "title": "disabled"
1240
- }
1241
- }
1242
- },
1243
- "redo": {
1244
- "title": "EditableHtmlButtonConfigure",
1245
- "type": "object",
1246
- "properties": {
1247
- "disabled": {
1248
- "description": "Indicates if the plugin is disabled or not",
1249
- "type": "boolean",
1250
- "title": "disabled"
1251
- }
1252
- }
1253
- },
1254
- "strikethrough": {
1255
- "title": "EditableHtmlButtonConfigure",
1256
- "type": "object",
1257
- "properties": {
1258
- "disabled": {
1259
- "description": "Indicates if the plugin is disabled or not",
1260
- "type": "boolean",
1261
- "title": "disabled"
1262
- }
1263
- }
1264
- },
1265
- "sub": {
1266
- "title": "EditableHtmlButtonConfigure",
1267
- "type": "object",
1268
- "properties": {
1269
- "disabled": {
1270
- "description": "Indicates if the plugin is disabled or not",
1271
- "type": "boolean",
1272
- "title": "disabled"
1273
- }
1274
- }
1275
- },
1276
- "sup": {
1277
- "title": "EditableHtmlButtonConfigure",
1278
- "type": "object",
1279
- "properties": {
1280
- "disabled": {
1281
- "description": "Indicates if the plugin is disabled or not",
1282
- "type": "boolean",
1283
- "title": "disabled"
1284
- }
1285
- }
1286
- },
1287
- "table": {
1288
- "title": "EditableHtmlButtonConfigure",
1289
- "type": "object",
1290
- "properties": {
1291
- "disabled": {
1292
- "description": "Indicates if the plugin is disabled or not",
1293
- "type": "boolean",
1294
- "title": "disabled"
1295
- }
1296
- }
1297
- },
1298
- "ul_list": {
1299
- "title": "EditableHtmlButtonConfigure",
1300
- "type": "object",
1301
- "properties": {
1302
- "disabled": {
1303
- "description": "Indicates if the plugin is disabled or not",
1304
- "type": "boolean",
1305
- "title": "disabled"
1306
- }
1307
- }
1308
- },
1309
- "underline": {
1310
- "title": "EditableHtmlButtonConfigure",
1311
- "type": "object",
1312
- "properties": {
1313
- "disabled": {
1314
- "description": "Indicates if the plugin is disabled or not",
1315
- "type": "boolean",
1316
- "title": "disabled"
1317
- }
1318
- }
1319
- },
1320
- "undo": {
1321
- "title": "EditableHtmlButtonConfigure",
1322
- "type": "object",
1323
- "properties": {
1324
- "disabled": {
1325
- "description": "Indicates if the plugin is disabled or not",
1326
- "type": "boolean",
1327
- "title": "disabled"
1328
- }
1329
- }
1330
- }
1331
- }
1332
- },
1333
- "EditableHtmlButtonConfigure": {
1334
- "title": "EditableHtmlButtonConfigure",
1335
- "type": "object",
1336
- "properties": {
1337
- "disabled": {
1338
- "description": "Indicates if the plugin is disabled or not",
1339
- "type": "boolean",
1340
- "title": "disabled"
1341
- }
1342
- }
1343
- },
1344
- "CustomPlugin": {
1345
- "title": "CustomPlugin",
1346
- "type": "object",
1347
- "properties": {
1348
- "event": {
1349
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
1350
- "type": "string",
1351
- "title": "event"
1352
- },
1353
- "iconAlt": {
1354
- "description": "The alt for the custom button icon",
1355
- "type": "string",
1356
- "title": "iconAlt"
1357
- },
1358
- "iconType": {
1359
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1360
- "type": "string",
1361
- "title": "iconType"
1362
- },
1363
- "icon": {
1364
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1365
- "type": "string",
1366
- "title": "icon"
1367
- }
1368
- },
1369
- "required": [
1370
- "event",
1371
- "icon",
1372
- "iconAlt",
1373
- "iconType"
1374
- ]
1375
- },
1376
- "ConfigurePropWithEnabled": {
1377
- "title": "ConfigurePropWithEnabled",
1378
- "type": "object",
1379
- "properties": {
1380
- "enabled": {
1381
- "description": "Indicates the value of the item if it affects config-ui\n(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)",
1382
- "type": "boolean",
1383
- "title": "enabled"
1384
- },
1385
- "settings": {
1386
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1387
- "type": "boolean",
1388
- "title": "settings"
1389
- },
1390
- "label": {
1391
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1392
- "type": "string",
1393
- "title": "label"
1394
- }
1395
- }
1396
- },
1397
- "ConfigureProp": {
1398
- "title": "ConfigureProp",
1399
- "type": "object",
1400
- "properties": {
1401
- "settings": {
1402
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1403
- "type": "boolean",
1404
- "title": "settings"
1405
- },
1406
- "label": {
1407
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1408
- "type": "string",
1409
- "title": "label"
1410
- }
1411
- }
1412
- },
1413
- "EditableHtmlPluginConfigureRequired": {
1414
- "title": "EditableHtmlPluginConfigureRequired",
1415
- "type": "object",
1416
- "properties": {
1417
- "inputConfiguration": {
1418
- "title": "EditableHtmlConfigureProp",
1419
- "type": "object",
1420
- "properties": {
1421
- "math": {
1422
- "title": "EditableHtmlButtonConfigure",
1423
- "type": "object",
1424
- "properties": {
1425
- "disabled": {
1426
- "description": "Indicates if the plugin is disabled or not",
1427
- "type": "boolean",
1428
- "title": "disabled"
1429
- }
1430
- }
1431
- },
1432
- "audio": {
1433
- "title": "EditableHtmlButtonConfigure",
1434
- "type": "object",
1435
- "properties": {
1436
- "disabled": {
1437
- "description": "Indicates if the plugin is disabled or not",
1438
- "type": "boolean",
1439
- "title": "disabled"
1440
- }
1441
- }
1442
- },
1443
- "video": {
1444
- "title": "EditableHtmlButtonConfigure",
1445
- "type": "object",
1446
- "properties": {
1447
- "disabled": {
1448
- "description": "Indicates if the plugin is disabled or not",
1449
- "type": "boolean",
1450
- "title": "disabled"
1451
- }
1452
- }
1453
- },
1454
- "image": {
1455
- "title": "EditableHtmlButtonConfigure",
1456
- "type": "object",
1457
- "properties": {
1458
- "disabled": {
1459
- "description": "Indicates if the plugin is disabled or not",
1460
- "type": "boolean",
1461
- "title": "disabled"
1462
- }
1463
- }
1464
- },
1465
- "customPlugins": {
1466
- "description": "An array of objects that determine custom plugins.\nA 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).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
1467
- "type": "array",
1468
- "items": {
1469
- "title": "CustomPlugin",
1470
- "type": "object",
1471
- "properties": {
1472
- "event": {
1473
- "description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
1474
- "type": "string",
1475
- "title": "event"
1476
- },
1477
- "iconAlt": {
1478
- "description": "The alt for the custom button icon",
1479
- "type": "string",
1480
- "title": "iconAlt"
1481
- },
1482
- "iconType": {
1483
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
1484
- "type": "string",
1485
- "title": "iconType"
1486
- },
1487
- "icon": {
1488
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
1489
- "type": "string",
1490
- "title": "icon"
1491
- }
1492
- },
1493
- "required": [
1494
- "event",
1495
- "icon",
1496
- "iconAlt",
1497
- "iconType"
1498
- ]
1499
- },
1500
- "title": "customPlugins"
1501
- },
1502
- "blockquote": {
1503
- "title": "EditableHtmlButtonConfigure",
1504
- "type": "object",
1505
- "properties": {
1506
- "disabled": {
1507
- "description": "Indicates if the plugin is disabled or not",
1508
- "type": "boolean",
1509
- "title": "disabled"
1510
- }
1511
- }
1512
- },
1513
- "h3": {
1514
- "title": "EditableHtmlButtonConfigure",
1515
- "type": "object",
1516
- "properties": {
1517
- "disabled": {
1518
- "description": "Indicates if the plugin is disabled or not",
1519
- "type": "boolean",
1520
- "title": "disabled"
1521
- }
1522
- }
1523
- },
1524
- "characters": {
1525
- "title": "EditableHtmlButtonConfigure",
1526
- "type": "object",
1527
- "properties": {
1528
- "disabled": {
1529
- "description": "Indicates if the plugin is disabled or not",
1530
- "type": "boolean",
1531
- "title": "disabled"
1532
- }
1533
- }
1534
- },
1535
- "bold": {
1536
- "title": "EditableHtmlButtonConfigure",
1537
- "type": "object",
1538
- "properties": {
1539
- "disabled": {
1540
- "description": "Indicates if the plugin is disabled or not",
1541
- "type": "boolean",
1542
- "title": "disabled"
1543
- }
1544
- }
1545
- },
1546
- "html": {
1547
- "title": "EditableHtmlButtonConfigure",
1548
- "type": "object",
1549
- "properties": {
1550
- "disabled": {
1551
- "description": "Indicates if the plugin is disabled or not",
1552
- "type": "boolean",
1553
- "title": "disabled"
1554
- }
1555
- }
1556
- },
1557
- "italic": {
1558
- "title": "EditableHtmlButtonConfigure",
1559
- "type": "object",
1560
- "properties": {
1561
- "disabled": {
1562
- "description": "Indicates if the plugin is disabled or not",
1563
- "type": "boolean",
1564
- "title": "disabled"
1565
- }
1566
- }
1567
- },
1568
- "ol_list": {
1569
- "title": "EditableHtmlButtonConfigure",
1570
- "type": "object",
1571
- "properties": {
1572
- "disabled": {
1573
- "description": "Indicates if the plugin is disabled or not",
1574
- "type": "boolean",
1575
- "title": "disabled"
1576
- }
1577
- }
1578
- },
1579
- "redo": {
1580
- "title": "EditableHtmlButtonConfigure",
1581
- "type": "object",
1582
- "properties": {
1583
- "disabled": {
1584
- "description": "Indicates if the plugin is disabled or not",
1585
- "type": "boolean",
1586
- "title": "disabled"
1587
- }
1588
- }
1589
- },
1590
- "strikethrough": {
1591
- "title": "EditableHtmlButtonConfigure",
1592
- "type": "object",
1593
- "properties": {
1594
- "disabled": {
1595
- "description": "Indicates if the plugin is disabled or not",
1596
- "type": "boolean",
1597
- "title": "disabled"
1598
- }
1599
- }
1600
- },
1601
- "sub": {
1602
- "title": "EditableHtmlButtonConfigure",
1603
- "type": "object",
1604
- "properties": {
1605
- "disabled": {
1606
- "description": "Indicates if the plugin is disabled or not",
1607
- "type": "boolean",
1608
- "title": "disabled"
1609
- }
1610
- }
1611
- },
1612
- "sup": {
1613
- "title": "EditableHtmlButtonConfigure",
1614
- "type": "object",
1615
- "properties": {
1616
- "disabled": {
1617
- "description": "Indicates if the plugin is disabled or not",
1618
- "type": "boolean",
1619
- "title": "disabled"
1620
- }
1621
- }
1622
- },
1623
- "table": {
1624
- "title": "EditableHtmlButtonConfigure",
1625
- "type": "object",
1626
- "properties": {
1627
- "disabled": {
1628
- "description": "Indicates if the plugin is disabled or not",
1629
- "type": "boolean",
1630
- "title": "disabled"
1631
- }
1632
- }
1633
- },
1634
- "ul_list": {
1635
- "title": "EditableHtmlButtonConfigure",
1636
- "type": "object",
1637
- "properties": {
1638
- "disabled": {
1639
- "description": "Indicates if the plugin is disabled or not",
1640
- "type": "boolean",
1641
- "title": "disabled"
1642
- }
1643
- }
1644
- },
1645
- "underline": {
1646
- "title": "EditableHtmlButtonConfigure",
1647
- "type": "object",
1648
- "properties": {
1649
- "disabled": {
1650
- "description": "Indicates if the plugin is disabled or not",
1651
- "type": "boolean",
1652
- "title": "disabled"
1653
- }
1654
- }
1655
- },
1656
- "undo": {
1657
- "title": "EditableHtmlButtonConfigure",
1658
- "type": "object",
1659
- "properties": {
1660
- "disabled": {
1661
- "description": "Indicates if the plugin is disabled or not",
1662
- "type": "boolean",
1663
- "title": "disabled"
1664
- }
1665
- }
1666
- }
1667
- }
1668
- },
1669
- "required": {
1670
- "description": "Indicates if the item is required and the value cannot be empty",
1671
- "type": "boolean",
1672
- "title": "required"
1673
- },
1674
- "settings": {
1675
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1676
- "type": "boolean",
1677
- "title": "settings"
1678
- },
1679
- "label": {
1680
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1681
- "type": "string",
1682
- "title": "label"
1683
- }
1684
- }
1685
- },
1686
- "ConfigureMaxImageDimensionsProp": {
1687
- "title": "ConfigureMaxImageDimensionsProp",
1688
- "type": "object",
1689
- "properties": {
1690
- "teacherInstructions": {
1691
- "description": "Indicates the max dimension for images in teacher instructions",
1692
- "type": "number",
1693
- "title": "teacherInstructions"
1694
- },
1695
- "prompt": {
1696
- "description": "Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified",
1697
- "type": "number",
1698
- "title": "prompt"
1699
- },
1700
- "rationale": {
1701
- "description": "Indicates the max dimension for images in rationale",
1702
- "type": "number",
1703
- "title": "rationale"
1704
- }
1705
- }
1706
- },
1707
- "ConfigureWithForceProp": {
1708
- "title": "ConfigureWithForceProp",
1709
- "type": "object",
1710
- "properties": {
1711
- "forceEnabled": {
1712
- "description": "Indicates the value for the toggle;\nif true:\n- this property will not be visible in Settings Panel (settings will become automatically false)\n- the model property afferent to it will become automatically false",
1713
- "type": "boolean",
1714
- "title": "forceEnabled"
1715
- },
1716
- "settings": {
1717
- "description": "Indicates if the item has to be displayed in the Settings Panel",
1718
- "type": "boolean",
1719
- "title": "settings"
1720
- },
1721
- "label": {
1722
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
1723
- "type": "string",
1724
- "title": "label"
1725
- }
1726
- }
1727
- },
1728
- "ConfigureMathMLProp": {
1729
- "title": "ConfigureMathMLProp",
1730
- "type": "object",
1731
- "properties": {
1732
- "mmlOutput": {
1733
- "description": "Indicates if model should have mathML output instead of latex",
1734
- "type": "number",
1735
- "title": "mmlOutput"
1736
- },
1737
- "mmlEditing": {
1738
- "description": "Indicates if mathML that's already in model should be editable",
1739
- "type": "number",
1740
- "title": "mmlEditing"
1741
- }
1742
- }
1743
- },
1744
- "ConfigureLanguageOptionsProp": {
1745
- "title": "ConfigureLanguageOptionsProp",
1746
- "type": "object",
1747
- "properties": {
1748
- "value": {
1749
- "description": "Value of the language option",
1750
- "type": "string",
1751
- "title": "value"
1752
- },
1753
- "label": {
1754
- "description": "Label of the language option",
1755
- "type": "string",
1756
- "title": "label"
1757
- }
1758
- },
1759
- "required": [
1760
- "label",
1761
- "value"
1762
- ]
1763
- }
1764
- },
1765
- "$schema": "http://json-schema.org/draft-07/schema#"
1766
- }