@pie-element/hotspot 11.1.0-next.5 → 11.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 (339) hide show
  1. package/dist/author/DeleteWidget.d.ts +38 -0
  2. package/dist/author/DeleteWidget.js +46 -0
  3. package/dist/author/button.d.ts +31 -0
  4. package/dist/author/button.js +27 -0
  5. package/dist/author/buttons/circle.d.ts +18 -0
  6. package/dist/author/buttons/circle.js +25 -0
  7. package/dist/author/buttons/polygon.d.ts +18 -0
  8. package/dist/author/buttons/polygon.js +36 -0
  9. package/dist/author/buttons/rectangle.d.ts +18 -0
  10. package/dist/author/buttons/rectangle.js +36 -0
  11. package/dist/author/defaults.d.ts +157 -0
  12. package/dist/author/defaults.js +119 -0
  13. package/dist/author/hotspot-circle.d.ts +21 -0
  14. package/dist/author/hotspot-circle.js +124 -0
  15. package/dist/author/hotspot-container.d.ts +29 -0
  16. package/dist/author/hotspot-container.js +210 -0
  17. package/dist/author/hotspot-drawable.d.ts +31 -0
  18. package/dist/author/hotspot-drawable.js +312 -0
  19. package/dist/author/hotspot-palette.d.ts +14 -0
  20. package/dist/author/hotspot-palette.js +72 -0
  21. package/dist/author/hotspot-polygon.d.ts +38 -0
  22. package/dist/author/hotspot-polygon.js +200 -0
  23. package/dist/author/hotspot-rectangle.d.ts +20 -0
  24. package/dist/author/hotspot-rectangle.js +119 -0
  25. package/dist/author/icons.d.ts +9 -0
  26. package/dist/author/icons.js +4 -0
  27. package/dist/author/image-konva.d.ts +19 -0
  28. package/dist/author/image-konva.js +49 -0
  29. package/dist/author/index.d.ts +52 -0
  30. package/dist/author/index.js +143 -0
  31. package/dist/author/root.d.ts +15 -0
  32. package/dist/author/root.js +215 -0
  33. package/dist/author/shapes/circle.d.ts +18 -0
  34. package/dist/author/shapes/circle.js +47 -0
  35. package/dist/author/shapes/index.d.ts +12 -0
  36. package/dist/author/shapes/polygon.d.ts +19 -0
  37. package/dist/author/shapes/polygon.js +51 -0
  38. package/dist/author/shapes/rectagle.d.ts +18 -0
  39. package/dist/author/shapes/rectagle.js +57 -0
  40. package/dist/author/shapes/utils.d.ts +19 -0
  41. package/dist/author/shapes/utils.js +16 -0
  42. package/dist/author/upload-control.d.ts +29 -0
  43. package/dist/author/upload-control.js +28 -0
  44. package/dist/author/utils.d.ts +24 -0
  45. package/dist/author/utils.js +83 -0
  46. package/dist/controller/defaults.d.ts +35 -0
  47. package/dist/controller/defaults.js +29 -0
  48. package/dist/controller/index.d.ts +22 -0
  49. package/dist/controller/index.js +154 -0
  50. package/dist/controller/utils.d.ts +10 -0
  51. package/dist/controller/utils.js +13 -0
  52. package/dist/delivery/hotspot/circle.d.ts +19 -0
  53. package/dist/delivery/hotspot/circle.js +100 -0
  54. package/dist/delivery/hotspot/container.d.ts +16 -0
  55. package/dist/delivery/hotspot/container.js +150 -0
  56. package/dist/delivery/hotspot/icons.d.ts +10 -0
  57. package/dist/delivery/hotspot/icons.js +4 -0
  58. package/dist/delivery/hotspot/image-konva-tooltip.d.ts +19 -0
  59. package/dist/delivery/hotspot/image-konva-tooltip.js +66 -0
  60. package/dist/delivery/hotspot/index.d.ts +17 -0
  61. package/dist/delivery/hotspot/index.js +114 -0
  62. package/dist/delivery/hotspot/polygon.d.ts +21 -0
  63. package/dist/delivery/hotspot/polygon.js +108 -0
  64. package/dist/delivery/hotspot/rectangle.d.ts +19 -0
  65. package/dist/delivery/hotspot/rectangle.js +104 -0
  66. package/dist/delivery/index.d.ts +20 -0
  67. package/dist/delivery/index.js +107 -0
  68. package/dist/delivery/session-updater.d.ts +10 -0
  69. package/dist/delivery/session-updater.js +14 -0
  70. package/dist/index.d.ts +1 -0
  71. package/dist/index.iife.d.ts +8 -0
  72. package/dist/index.iife.js +169 -0
  73. package/dist/index.js +2 -0
  74. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +6 -0
  75. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +16 -0
  76. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +16 -0
  77. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +6 -0
  78. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +16 -0
  79. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +6 -0
  80. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +6 -0
  81. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js +11 -0
  82. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +14 -0
  83. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +5 -0
  84. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +5 -0
  85. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +6 -0
  86. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +7 -0
  87. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +10 -0
  88. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +15 -0
  89. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +7 -0
  90. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js +7 -0
  91. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +10 -0
  92. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +8 -0
  93. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +8 -0
  94. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +8 -0
  95. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +12 -0
  96. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +57 -0
  97. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +14 -0
  98. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +9 -0
  99. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +10 -0
  100. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +9 -0
  101. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js +8 -0
  102. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js +30 -0
  103. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +9 -0
  104. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +11 -0
  105. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +9 -0
  106. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +11 -0
  107. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +12 -0
  108. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +13 -0
  109. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +7 -0
  110. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +8 -0
  111. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js +6 -0
  112. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +8 -0
  113. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +10 -0
  114. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +8 -0
  115. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +8 -0
  116. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +8 -0
  117. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +8 -0
  118. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +8 -0
  119. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +14 -0
  120. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +8 -0
  121. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +8 -0
  122. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +5 -0
  123. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +10 -0
  124. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js +35 -0
  125. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js +35 -0
  126. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js +32 -0
  127. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +4 -0
  128. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +9 -0
  129. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +9 -0
  130. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +8 -0
  131. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +9 -0
  132. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +5 -0
  133. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +14 -0
  134. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +10 -0
  135. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +11 -0
  136. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +23 -0
  137. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +6 -0
  138. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +7 -0
  139. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +7 -0
  140. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +13 -0
  141. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +9 -0
  142. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +9 -0
  143. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +8 -0
  144. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +33 -0
  145. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +9 -0
  146. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +8 -0
  147. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +7 -0
  148. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +11 -0
  149. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +8 -0
  150. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +6 -0
  151. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +9 -0
  152. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +8 -0
  153. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +7 -0
  154. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +8 -0
  155. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +13 -0
  156. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +8 -0
  157. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +7 -0
  158. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +7 -0
  159. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +8 -0
  160. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js +9 -0
  161. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +5 -0
  162. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +5 -0
  163. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +8 -0
  164. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +9 -0
  165. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +7 -0
  166. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +8 -0
  167. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +5 -0
  168. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js +7 -0
  169. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js +6 -0
  170. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js +9 -0
  171. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +7 -0
  172. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +7 -0
  173. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +6 -0
  174. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +6 -0
  175. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +16 -0
  176. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +15 -0
  177. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +8 -0
  178. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +6 -0
  179. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +10 -0
  180. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +4 -0
  181. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +8 -0
  182. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +6 -0
  183. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +21 -0
  184. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js +7 -0
  185. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +11 -0
  186. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +7 -0
  187. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +7 -0
  188. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +7 -0
  189. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +6 -0
  190. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +7 -0
  191. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +7 -0
  192. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +9 -0
  193. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +9 -0
  194. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +6 -0
  195. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +6 -0
  196. package/package.json +58 -20
  197. package/CHANGELOG.json +0 -997
  198. package/CHANGELOG.md +0 -2201
  199. package/LICENSE.md +0 -5
  200. package/README.md +0 -1
  201. package/configure/CHANGELOG.json +0 -682
  202. package/configure/CHANGELOG.md +0 -1940
  203. package/configure/lib/DeleteWidget.js +0 -64
  204. package/configure/lib/DeleteWidget.js.map +0 -1
  205. package/configure/lib/button.js +0 -42
  206. package/configure/lib/button.js.map +0 -1
  207. package/configure/lib/buttons/circle.js +0 -33
  208. package/configure/lib/buttons/circle.js.map +0 -1
  209. package/configure/lib/buttons/polygon.js +0 -39
  210. package/configure/lib/buttons/polygon.js.map +0 -1
  211. package/configure/lib/buttons/rectangle.js +0 -39
  212. package/configure/lib/buttons/rectangle.js.map +0 -1
  213. package/configure/lib/defaults.js +0 -155
  214. package/configure/lib/defaults.js.map +0 -1
  215. package/configure/lib/hotspot-circle.js +0 -192
  216. package/configure/lib/hotspot-circle.js.map +0 -1
  217. package/configure/lib/hotspot-container.js +0 -320
  218. package/configure/lib/hotspot-container.js.map +0 -1
  219. package/configure/lib/hotspot-drawable.js +0 -519
  220. package/configure/lib/hotspot-drawable.js.map +0 -1
  221. package/configure/lib/hotspot-palette.js +0 -107
  222. package/configure/lib/hotspot-palette.js.map +0 -1
  223. package/configure/lib/hotspot-polygon.js +0 -293
  224. package/configure/lib/hotspot-polygon.js.map +0 -1
  225. package/configure/lib/hotspot-rectangle.js +0 -190
  226. package/configure/lib/hotspot-rectangle.js.map +0 -1
  227. package/configure/lib/icons.js +0 -7
  228. package/configure/lib/icons.js.map +0 -1
  229. package/configure/lib/image-konva.js +0 -66
  230. package/configure/lib/image-konva.js.map +0 -1
  231. package/configure/lib/index.js +0 -194
  232. package/configure/lib/index.js.map +0 -1
  233. package/configure/lib/root.js +0 -330
  234. package/configure/lib/root.js.map +0 -1
  235. package/configure/lib/shapes/circle.js +0 -84
  236. package/configure/lib/shapes/circle.js.map +0 -1
  237. package/configure/lib/shapes/index.js +0 -50
  238. package/configure/lib/shapes/index.js.map +0 -1
  239. package/configure/lib/shapes/polygon.js +0 -82
  240. package/configure/lib/shapes/polygon.js.map +0 -1
  241. package/configure/lib/shapes/rectagle.js +0 -84
  242. package/configure/lib/shapes/rectagle.js.map +0 -1
  243. package/configure/lib/shapes/utils.js +0 -21
  244. package/configure/lib/shapes/utils.js.map +0 -1
  245. package/configure/lib/upload-control.js +0 -41
  246. package/configure/lib/upload-control.js.map +0 -1
  247. package/configure/lib/utils.js +0 -185
  248. package/configure/lib/utils.js.map +0 -1
  249. package/configure/package.json +0 -26
  250. package/configure/src/DeleteWidget.jsx +0 -51
  251. package/configure/src/__tests__/DeleteWidget.test.jsx +0 -366
  252. package/configure/src/__tests__/button.test.jsx +0 -198
  253. package/configure/src/__tests__/hotspot-circle.test.jsx +0 -259
  254. package/configure/src/__tests__/hotspot-container.test.js +0 -366
  255. package/configure/src/__tests__/hotspot-drawable.test.js +0 -271
  256. package/configure/src/__tests__/hotspot-palette.test.jsx +0 -71
  257. package/configure/src/__tests__/image-konva.test.jsx +0 -226
  258. package/configure/src/__tests__/index.test.js +0 -329
  259. package/configure/src/__tests__/root.test.js +0 -400
  260. package/configure/src/__tests__/utils.test.js +0 -241
  261. package/configure/src/button.jsx +0 -35
  262. package/configure/src/buttons/circle.jsx +0 -18
  263. package/configure/src/buttons/polygon.jsx +0 -29
  264. package/configure/src/buttons/rectangle.jsx +0 -29
  265. package/configure/src/defaults.js +0 -109
  266. package/configure/src/hotspot-circle.jsx +0 -183
  267. package/configure/src/hotspot-container.jsx +0 -330
  268. package/configure/src/hotspot-drawable.jsx +0 -527
  269. package/configure/src/hotspot-palette.jsx +0 -90
  270. package/configure/src/hotspot-polygon.jsx +0 -294
  271. package/configure/src/hotspot-rectangle.jsx +0 -169
  272. package/configure/src/icons.js +0 -5
  273. package/configure/src/image-konva.jsx +0 -63
  274. package/configure/src/index.js +0 -208
  275. package/configure/src/root.jsx +0 -346
  276. package/configure/src/shapes/circle.js +0 -81
  277. package/configure/src/shapes/index.js +0 -4
  278. package/configure/src/shapes/polygon.js +0 -81
  279. package/configure/src/shapes/rectagle.js +0 -82
  280. package/configure/src/shapes/utils.js +0 -16
  281. package/configure/src/upload-control.jsx +0 -33
  282. package/configure/src/utils.js +0 -210
  283. package/controller/CHANGELOG.json +0 -362
  284. package/controller/CHANGELOG.md +0 -1293
  285. package/controller/lib/defaults.js +0 -33
  286. package/controller/lib/defaults.js.map +0 -1
  287. package/controller/lib/index.js +0 -341
  288. package/controller/lib/index.js.map +0 -1
  289. package/controller/lib/utils.js +0 -32
  290. package/controller/lib/utils.js.map +0 -1
  291. package/controller/package.json +0 -18
  292. package/controller/src/__tests__/index.test.js +0 -419
  293. package/controller/src/__tests__/utils.test.js +0 -5
  294. package/controller/src/defaults.js +0 -19
  295. package/controller/src/index.js +0 -328
  296. package/controller/src/utils.js +0 -29
  297. package/docs/config-schema.json +0 -2023
  298. package/docs/config-schema.json.md +0 -1495
  299. package/docs/demo/config.js +0 -8
  300. package/docs/demo/generate.js +0 -118
  301. package/docs/demo/index.html +0 -1
  302. package/docs/demo/session.js +0 -11
  303. package/docs/pie-schema.json +0 -1204
  304. package/docs/pie-schema.json.md +0 -851
  305. package/lib/hotspot/circle.js +0 -156
  306. package/lib/hotspot/circle.js.map +0 -1
  307. package/lib/hotspot/container.js +0 -206
  308. package/lib/hotspot/container.js.map +0 -1
  309. package/lib/hotspot/icons.js +0 -8
  310. package/lib/hotspot/icons.js.map +0 -1
  311. package/lib/hotspot/image-konva-tooltip.js +0 -86
  312. package/lib/hotspot/image-konva-tooltip.js.map +0 -1
  313. package/lib/hotspot/index.js +0 -163
  314. package/lib/hotspot/index.js.map +0 -1
  315. package/lib/hotspot/polygon.js +0 -203
  316. package/lib/hotspot/polygon.js.map +0 -1
  317. package/lib/hotspot/rectangle.js +0 -175
  318. package/lib/hotspot/rectangle.js.map +0 -1
  319. package/lib/index.js +0 -213
  320. package/lib/index.js.map +0 -1
  321. package/lib/session-updater.js +0 -42
  322. package/lib/session-updater.js.map +0 -1
  323. package/src/__tests__/container.test.jsx +0 -58
  324. package/src/__tests__/index.test.js +0 -123
  325. package/src/__tests__/session-updater.test.jsx +0 -69
  326. package/src/hotspot/__tests__/circle.test.jsx +0 -464
  327. package/src/hotspot/__tests__/container.test.jsx +0 -546
  328. package/src/hotspot/__tests__/image-konva-tooltip.test.jsx +0 -510
  329. package/src/hotspot/__tests__/polygon.test.jsx +0 -502
  330. package/src/hotspot/__tests__/rectangle.test.jsx +0 -418
  331. package/src/hotspot/circle.jsx +0 -152
  332. package/src/hotspot/container.jsx +0 -217
  333. package/src/hotspot/icons.js +0 -7
  334. package/src/hotspot/image-konva-tooltip.jsx +0 -76
  335. package/src/hotspot/index.jsx +0 -165
  336. package/src/hotspot/polygon.jsx +0 -195
  337. package/src/hotspot/rectangle.jsx +0 -171
  338. package/src/index.js +0 -226
  339. package/src/session-updater.js +0 -29
@@ -1,1204 +0,0 @@
1
- {
2
- "description": "Model for the @pie-elements/hotspot Interaction",
3
- "additionalProperties": false,
4
- "type": "object",
5
- "properties": {
6
- "prompt": {
7
- "description": "The question prompt or item stem",
8
- "type": "string",
9
- "title": "prompt"
10
- },
11
- "promptEnabled": {
12
- "description": "Indicates if the prompt is enabled",
13
- "type": "boolean",
14
- "title": "promptEnabled"
15
- },
16
- "imageUrl": {
17
- "description": "The image over which hotspots will be drawn",
18
- "type": "string",
19
- "title": "imageUrl"
20
- },
21
- "shapes": {
22
- "title": "Shape",
23
- "type": "object",
24
- "properties": {
25
- "rectangles": {
26
- "description": "the rectangles of the shape",
27
- "type": "array",
28
- "items": {
29
- "title": "Rectangle",
30
- "type": "object",
31
- "properties": {
32
- "id": {
33
- "description": "the id of the rectangle",
34
- "type": "string",
35
- "title": "id"
36
- },
37
- "correct": {
38
- "description": "indicates if the rectangle is correct",
39
- "type": "boolean",
40
- "title": "correct"
41
- },
42
- "height": {
43
- "description": "the height of the rectangle",
44
- "type": "number",
45
- "title": "height"
46
- },
47
- "width": {
48
- "description": "the width of the rectangle",
49
- "type": "number",
50
- "title": "width"
51
- },
52
- "x": {
53
- "description": "the x position of the rectangle",
54
- "type": "number",
55
- "title": "x"
56
- },
57
- "y": {
58
- "description": "the y position of the rectangle",
59
- "type": "number",
60
- "title": "y"
61
- }
62
- },
63
- "required": [
64
- "height",
65
- "width",
66
- "x",
67
- "y"
68
- ]
69
- },
70
- "title": "rectangles"
71
- },
72
- "polygons": {
73
- "description": "the polygons of the shape",
74
- "type": "array",
75
- "items": {
76
- "title": "Polygon",
77
- "type": "object",
78
- "properties": {
79
- "id": {
80
- "description": "the id of the polygon",
81
- "type": "string",
82
- "title": "id"
83
- },
84
- "correct": {
85
- "description": "indicates if the polygon is correct",
86
- "type": "boolean",
87
- "title": "correct"
88
- },
89
- "points": {
90
- "description": "the points of the polygon",
91
- "type": "array",
92
- "items": {
93
- "title": "Point",
94
- "type": "object",
95
- "properties": {
96
- "x": {
97
- "description": "the x position",
98
- "type": "number",
99
- "title": "x"
100
- },
101
- "y": {
102
- "description": "the y position",
103
- "type": "number",
104
- "title": "y"
105
- }
106
- },
107
- "required": [
108
- "x",
109
- "y"
110
- ]
111
- },
112
- "title": "points"
113
- }
114
- },
115
- "required": [
116
- "points"
117
- ]
118
- },
119
- "title": "polygons"
120
- }
121
- },
122
- "required": [
123
- "polygons",
124
- "rectangles"
125
- ]
126
- },
127
- "multipleCorrect": {
128
- "description": "Indicates if the item supports multiple correct answers",
129
- "type": "boolean",
130
- "title": "multipleCorrect"
131
- },
132
- "partialScoring": {
133
- "description": "Indicates if the item should use partial scoring",
134
- "type": "boolean",
135
- "title": "partialScoring"
136
- },
137
- "dimensions": {
138
- "description": "The dimensions of the drawable section",
139
- "type": "array",
140
- "items": {
141
- "title": "Dimension",
142
- "type": "object",
143
- "properties": {
144
- "height": {
145
- "description": "the height of the section",
146
- "type": "number",
147
- "title": "height"
148
- },
149
- "width": {
150
- "description": "the width of the section",
151
- "type": "number",
152
- "title": "width"
153
- }
154
- },
155
- "required": [
156
- "height",
157
- "width"
158
- ]
159
- },
160
- "title": "dimensions"
161
- },
162
- "hotspotColor": {
163
- "description": "The color that fills the hotspot",
164
- "type": "string",
165
- "title": "hotspotColor"
166
- },
167
- "selectedHotspotColor": {
168
- "description": "The color that fills the hotspot",
169
- "type": "string",
170
- "title": "selectedHotspotColor"
171
- },
172
- "hoverOutlineColor": {
173
- "description": "The color of the rectangular outline",
174
- "type": "string",
175
- "title": "hoverOutlineColor"
176
- },
177
- "hotspotList": {
178
- "description": "The filling hotspot color options",
179
- "type": "array",
180
- "items": {
181
- "type": "string"
182
- },
183
- "title": "hotspotList"
184
- },
185
- "outlineColor": {
186
- "description": "The outline color of the hotspot",
187
- "type": "string",
188
- "title": "outlineColor"
189
- },
190
- "outlineList": {
191
- "description": "The outline hotspot color options",
192
- "type": "array",
193
- "items": {
194
- "type": "string"
195
- },
196
- "title": "outlineList"
197
- },
198
- "rationale": {
199
- "description": "Indicates the value for rationale",
200
- "type": "string",
201
- "title": "rationale"
202
- },
203
- "rationaleEnabled": {
204
- "description": "Indicates if Rationale are enabled",
205
- "type": "boolean",
206
- "title": "rationaleEnabled"
207
- },
208
- "studentInstructionsEnabled": {
209
- "description": "Indicates if Student Instructions are enabled",
210
- "type": "boolean",
211
- "title": "studentInstructionsEnabled"
212
- },
213
- "spellCheckEnabled": {
214
- "description": "Indicates if spellcheck is enabled for the author. Default value is true",
215
- "type": "boolean",
216
- "title": "spellCheckEnabled"
217
- },
218
- "strokeWidth": {
219
- "description": "Indicates the width of the outline for a selection",
220
- "type": "number",
221
- "title": "strokeWidth"
222
- },
223
- "teacherInstructionsEnabled": {
224
- "description": "Indicates if Teacher Instructions are enabled",
225
- "type": "boolean",
226
- "title": "teacherInstructionsEnabled"
227
- },
228
- "toolbarEditorPosition": {
229
- "description": "Indicates the editor's toolbar position which can be 'bottom' or 'top'",
230
- "default": ": 'bottom'",
231
- "enum": [
232
- "bottom",
233
- "top"
234
- ],
235
- "type": "string",
236
- "title": "toolbarEditorPosition"
237
- },
238
- "rubricEnabled": {
239
- "description": "Indicates if Rubric is enabled",
240
- "type": "boolean",
241
- "title": "rubricEnabled"
242
- },
243
- "language": {
244
- "description": "Indicates the language of the component\nSupported options: en, es, en_US, en-US, es_ES, es-ES, es_MX, es-MX",
245
- "type": "string",
246
- "title": "language"
247
- },
248
- "fontSizeFactor": {
249
- "description": "Indicates font size adjustment factor",
250
- "type": "number",
251
- "title": "fontSizeFactor"
252
- },
253
- "autoplayAudioEnabled": {
254
- "description": "Indicates if the audio for the prompt should autoplay",
255
- "type": "boolean",
256
- "title": "autoplayAudioEnabled"
257
- },
258
- "completeAudioEnabled": {
259
- "description": "Indicates if the audio should reach the end before the item can be marked as 'complete'",
260
- "type": "boolean",
261
- "title": "completeAudioEnabled"
262
- },
263
- "customAudioButton": {
264
- "description": "Indicates if the audio should be replaced with a custom audio button\n playImage: image url for the play state\n pauseImage: image url for the pause state",
265
- "type": "object",
266
- "properties": {
267
- "playImage": {
268
- "type": "string",
269
- "title": "playImage"
270
- },
271
- "pauseImage": {
272
- "type": "string",
273
- "title": "pauseImage"
274
- }
275
- },
276
- "required": [
277
- "pauseImage",
278
- "playImage"
279
- ],
280
- "title": "customAudioButton"
281
- },
282
- "id": {
283
- "description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
284
- "type": "string",
285
- "title": "id"
286
- },
287
- "element": {
288
- "description": "The html Element tag name",
289
- "type": "string",
290
- "title": "element"
291
- }
292
- },
293
- "required": [
294
- "dimensions",
295
- "element",
296
- "id",
297
- "multipleCorrect",
298
- "partialScoring",
299
- "rationaleEnabled",
300
- "rubricEnabled",
301
- "shapes",
302
- "spellCheckEnabled",
303
- "strokeWidth",
304
- "studentInstructionsEnabled",
305
- "teacherInstructionsEnabled"
306
- ],
307
- "definitions": {
308
- "EditableHtmlConfigureProp": {
309
- "title": "EditableHtmlConfigureProp",
310
- "type": "object",
311
- "properties": {
312
- "math": {
313
- "title": "EditableHtmlButtonConfigure",
314
- "type": "object",
315
- "properties": {
316
- "disabled": {
317
- "description": "Indicates if the plugin is disabled or not",
318
- "type": "boolean",
319
- "title": "disabled"
320
- }
321
- }
322
- },
323
- "audio": {
324
- "title": "EditableHtmlButtonConfigure",
325
- "type": "object",
326
- "properties": {
327
- "disabled": {
328
- "description": "Indicates if the plugin is disabled or not",
329
- "type": "boolean",
330
- "title": "disabled"
331
- }
332
- }
333
- },
334
- "video": {
335
- "title": "EditableHtmlButtonConfigure",
336
- "type": "object",
337
- "properties": {
338
- "disabled": {
339
- "description": "Indicates if the plugin is disabled or not",
340
- "type": "boolean",
341
- "title": "disabled"
342
- }
343
- }
344
- },
345
- "image": {
346
- "title": "EditableHtmlButtonConfigure",
347
- "type": "object",
348
- "properties": {
349
- "disabled": {
350
- "description": "Indicates if the plugin is disabled or not",
351
- "type": "boolean",
352
- "title": "disabled"
353
- }
354
- }
355
- },
356
- "customPlugins": {
357
- "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.",
358
- "type": "array",
359
- "items": {
360
- "title": "CustomPlugin",
361
- "type": "object",
362
- "properties": {
363
- "event": {
364
- "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\"",
365
- "type": "string",
366
- "title": "event"
367
- },
368
- "iconAlt": {
369
- "description": "The alt for the custom button icon",
370
- "type": "string",
371
- "title": "iconAlt"
372
- },
373
- "iconType": {
374
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
375
- "type": "string",
376
- "title": "iconType"
377
- },
378
- "icon": {
379
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
380
- "type": "string",
381
- "title": "icon"
382
- }
383
- },
384
- "required": [
385
- "event",
386
- "icon",
387
- "iconAlt",
388
- "iconType"
389
- ]
390
- },
391
- "title": "customPlugins"
392
- },
393
- "blockquote": {
394
- "title": "EditableHtmlButtonConfigure",
395
- "type": "object",
396
- "properties": {
397
- "disabled": {
398
- "description": "Indicates if the plugin is disabled or not",
399
- "type": "boolean",
400
- "title": "disabled"
401
- }
402
- }
403
- },
404
- "h3": {
405
- "title": "EditableHtmlButtonConfigure",
406
- "type": "object",
407
- "properties": {
408
- "disabled": {
409
- "description": "Indicates if the plugin is disabled or not",
410
- "type": "boolean",
411
- "title": "disabled"
412
- }
413
- }
414
- },
415
- "characters": {
416
- "title": "EditableHtmlButtonConfigure",
417
- "type": "object",
418
- "properties": {
419
- "disabled": {
420
- "description": "Indicates if the plugin is disabled or not",
421
- "type": "boolean",
422
- "title": "disabled"
423
- }
424
- }
425
- },
426
- "bold": {
427
- "title": "EditableHtmlButtonConfigure",
428
- "type": "object",
429
- "properties": {
430
- "disabled": {
431
- "description": "Indicates if the plugin is disabled or not",
432
- "type": "boolean",
433
- "title": "disabled"
434
- }
435
- }
436
- },
437
- "html": {
438
- "title": "EditableHtmlButtonConfigure",
439
- "type": "object",
440
- "properties": {
441
- "disabled": {
442
- "description": "Indicates if the plugin is disabled or not",
443
- "type": "boolean",
444
- "title": "disabled"
445
- }
446
- }
447
- },
448
- "italic": {
449
- "title": "EditableHtmlButtonConfigure",
450
- "type": "object",
451
- "properties": {
452
- "disabled": {
453
- "description": "Indicates if the plugin is disabled or not",
454
- "type": "boolean",
455
- "title": "disabled"
456
- }
457
- }
458
- },
459
- "ol_list": {
460
- "title": "EditableHtmlButtonConfigure",
461
- "type": "object",
462
- "properties": {
463
- "disabled": {
464
- "description": "Indicates if the plugin is disabled or not",
465
- "type": "boolean",
466
- "title": "disabled"
467
- }
468
- }
469
- },
470
- "redo": {
471
- "title": "EditableHtmlButtonConfigure",
472
- "type": "object",
473
- "properties": {
474
- "disabled": {
475
- "description": "Indicates if the plugin is disabled or not",
476
- "type": "boolean",
477
- "title": "disabled"
478
- }
479
- }
480
- },
481
- "strikethrough": {
482
- "title": "EditableHtmlButtonConfigure",
483
- "type": "object",
484
- "properties": {
485
- "disabled": {
486
- "description": "Indicates if the plugin is disabled or not",
487
- "type": "boolean",
488
- "title": "disabled"
489
- }
490
- }
491
- },
492
- "sub": {
493
- "title": "EditableHtmlButtonConfigure",
494
- "type": "object",
495
- "properties": {
496
- "disabled": {
497
- "description": "Indicates if the plugin is disabled or not",
498
- "type": "boolean",
499
- "title": "disabled"
500
- }
501
- }
502
- },
503
- "sup": {
504
- "title": "EditableHtmlButtonConfigure",
505
- "type": "object",
506
- "properties": {
507
- "disabled": {
508
- "description": "Indicates if the plugin is disabled or not",
509
- "type": "boolean",
510
- "title": "disabled"
511
- }
512
- }
513
- },
514
- "table": {
515
- "title": "EditableHtmlButtonConfigure",
516
- "type": "object",
517
- "properties": {
518
- "disabled": {
519
- "description": "Indicates if the plugin is disabled or not",
520
- "type": "boolean",
521
- "title": "disabled"
522
- }
523
- }
524
- },
525
- "ul_list": {
526
- "title": "EditableHtmlButtonConfigure",
527
- "type": "object",
528
- "properties": {
529
- "disabled": {
530
- "description": "Indicates if the plugin is disabled or not",
531
- "type": "boolean",
532
- "title": "disabled"
533
- }
534
- }
535
- },
536
- "underline": {
537
- "title": "EditableHtmlButtonConfigure",
538
- "type": "object",
539
- "properties": {
540
- "disabled": {
541
- "description": "Indicates if the plugin is disabled or not",
542
- "type": "boolean",
543
- "title": "disabled"
544
- }
545
- }
546
- },
547
- "undo": {
548
- "title": "EditableHtmlButtonConfigure",
549
- "type": "object",
550
- "properties": {
551
- "disabled": {
552
- "description": "Indicates if the plugin is disabled or not",
553
- "type": "boolean",
554
- "title": "disabled"
555
- }
556
- }
557
- }
558
- }
559
- },
560
- "EditableHtmlButtonConfigure": {
561
- "title": "EditableHtmlButtonConfigure",
562
- "type": "object",
563
- "properties": {
564
- "disabled": {
565
- "description": "Indicates if the plugin is disabled or not",
566
- "type": "boolean",
567
- "title": "disabled"
568
- }
569
- }
570
- },
571
- "CustomPlugin": {
572
- "title": "CustomPlugin",
573
- "type": "object",
574
- "properties": {
575
- "event": {
576
- "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\"",
577
- "type": "string",
578
- "title": "event"
579
- },
580
- "iconAlt": {
581
- "description": "The alt for the custom button icon",
582
- "type": "string",
583
- "title": "iconAlt"
584
- },
585
- "iconType": {
586
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
587
- "type": "string",
588
- "title": "iconType"
589
- },
590
- "icon": {
591
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
592
- "type": "string",
593
- "title": "icon"
594
- }
595
- },
596
- "required": [
597
- "event",
598
- "icon",
599
- "iconAlt",
600
- "iconType"
601
- ]
602
- },
603
- "ConfigureProp": {
604
- "title": "ConfigureProp",
605
- "type": "object",
606
- "properties": {
607
- "settings": {
608
- "description": "Indicates if the item has to be displayed in the Settings Panel",
609
- "type": "boolean",
610
- "title": "settings"
611
- },
612
- "label": {
613
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
614
- "type": "string",
615
- "title": "label"
616
- }
617
- }
618
- },
619
- "EditableHtmlPluginConfigureRequired": {
620
- "title": "EditableHtmlPluginConfigureRequired",
621
- "type": "object",
622
- "properties": {
623
- "inputConfiguration": {
624
- "title": "EditableHtmlConfigureProp",
625
- "type": "object",
626
- "properties": {
627
- "math": {
628
- "title": "EditableHtmlButtonConfigure",
629
- "type": "object",
630
- "properties": {
631
- "disabled": {
632
- "description": "Indicates if the plugin is disabled or not",
633
- "type": "boolean",
634
- "title": "disabled"
635
- }
636
- }
637
- },
638
- "audio": {
639
- "title": "EditableHtmlButtonConfigure",
640
- "type": "object",
641
- "properties": {
642
- "disabled": {
643
- "description": "Indicates if the plugin is disabled or not",
644
- "type": "boolean",
645
- "title": "disabled"
646
- }
647
- }
648
- },
649
- "video": {
650
- "title": "EditableHtmlButtonConfigure",
651
- "type": "object",
652
- "properties": {
653
- "disabled": {
654
- "description": "Indicates if the plugin is disabled or not",
655
- "type": "boolean",
656
- "title": "disabled"
657
- }
658
- }
659
- },
660
- "image": {
661
- "title": "EditableHtmlButtonConfigure",
662
- "type": "object",
663
- "properties": {
664
- "disabled": {
665
- "description": "Indicates if the plugin is disabled or not",
666
- "type": "boolean",
667
- "title": "disabled"
668
- }
669
- }
670
- },
671
- "customPlugins": {
672
- "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.",
673
- "type": "array",
674
- "items": {
675
- "title": "CustomPlugin",
676
- "type": "object",
677
- "properties": {
678
- "event": {
679
- "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\"",
680
- "type": "string",
681
- "title": "event"
682
- },
683
- "iconAlt": {
684
- "description": "The alt for the custom button icon",
685
- "type": "string",
686
- "title": "iconAlt"
687
- },
688
- "iconType": {
689
- "description": "The icon type.\nCurrently, only \"SVG\" is supported.",
690
- "type": "string",
691
- "title": "iconType"
692
- },
693
- "icon": {
694
- "description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
695
- "type": "string",
696
- "title": "icon"
697
- }
698
- },
699
- "required": [
700
- "event",
701
- "icon",
702
- "iconAlt",
703
- "iconType"
704
- ]
705
- },
706
- "title": "customPlugins"
707
- },
708
- "blockquote": {
709
- "title": "EditableHtmlButtonConfigure",
710
- "type": "object",
711
- "properties": {
712
- "disabled": {
713
- "description": "Indicates if the plugin is disabled or not",
714
- "type": "boolean",
715
- "title": "disabled"
716
- }
717
- }
718
- },
719
- "h3": {
720
- "title": "EditableHtmlButtonConfigure",
721
- "type": "object",
722
- "properties": {
723
- "disabled": {
724
- "description": "Indicates if the plugin is disabled or not",
725
- "type": "boolean",
726
- "title": "disabled"
727
- }
728
- }
729
- },
730
- "characters": {
731
- "title": "EditableHtmlButtonConfigure",
732
- "type": "object",
733
- "properties": {
734
- "disabled": {
735
- "description": "Indicates if the plugin is disabled or not",
736
- "type": "boolean",
737
- "title": "disabled"
738
- }
739
- }
740
- },
741
- "bold": {
742
- "title": "EditableHtmlButtonConfigure",
743
- "type": "object",
744
- "properties": {
745
- "disabled": {
746
- "description": "Indicates if the plugin is disabled or not",
747
- "type": "boolean",
748
- "title": "disabled"
749
- }
750
- }
751
- },
752
- "html": {
753
- "title": "EditableHtmlButtonConfigure",
754
- "type": "object",
755
- "properties": {
756
- "disabled": {
757
- "description": "Indicates if the plugin is disabled or not",
758
- "type": "boolean",
759
- "title": "disabled"
760
- }
761
- }
762
- },
763
- "italic": {
764
- "title": "EditableHtmlButtonConfigure",
765
- "type": "object",
766
- "properties": {
767
- "disabled": {
768
- "description": "Indicates if the plugin is disabled or not",
769
- "type": "boolean",
770
- "title": "disabled"
771
- }
772
- }
773
- },
774
- "ol_list": {
775
- "title": "EditableHtmlButtonConfigure",
776
- "type": "object",
777
- "properties": {
778
- "disabled": {
779
- "description": "Indicates if the plugin is disabled or not",
780
- "type": "boolean",
781
- "title": "disabled"
782
- }
783
- }
784
- },
785
- "redo": {
786
- "title": "EditableHtmlButtonConfigure",
787
- "type": "object",
788
- "properties": {
789
- "disabled": {
790
- "description": "Indicates if the plugin is disabled or not",
791
- "type": "boolean",
792
- "title": "disabled"
793
- }
794
- }
795
- },
796
- "strikethrough": {
797
- "title": "EditableHtmlButtonConfigure",
798
- "type": "object",
799
- "properties": {
800
- "disabled": {
801
- "description": "Indicates if the plugin is disabled or not",
802
- "type": "boolean",
803
- "title": "disabled"
804
- }
805
- }
806
- },
807
- "sub": {
808
- "title": "EditableHtmlButtonConfigure",
809
- "type": "object",
810
- "properties": {
811
- "disabled": {
812
- "description": "Indicates if the plugin is disabled or not",
813
- "type": "boolean",
814
- "title": "disabled"
815
- }
816
- }
817
- },
818
- "sup": {
819
- "title": "EditableHtmlButtonConfigure",
820
- "type": "object",
821
- "properties": {
822
- "disabled": {
823
- "description": "Indicates if the plugin is disabled or not",
824
- "type": "boolean",
825
- "title": "disabled"
826
- }
827
- }
828
- },
829
- "table": {
830
- "title": "EditableHtmlButtonConfigure",
831
- "type": "object",
832
- "properties": {
833
- "disabled": {
834
- "description": "Indicates if the plugin is disabled or not",
835
- "type": "boolean",
836
- "title": "disabled"
837
- }
838
- }
839
- },
840
- "ul_list": {
841
- "title": "EditableHtmlButtonConfigure",
842
- "type": "object",
843
- "properties": {
844
- "disabled": {
845
- "description": "Indicates if the plugin is disabled or not",
846
- "type": "boolean",
847
- "title": "disabled"
848
- }
849
- }
850
- },
851
- "underline": {
852
- "title": "EditableHtmlButtonConfigure",
853
- "type": "object",
854
- "properties": {
855
- "disabled": {
856
- "description": "Indicates if the plugin is disabled or not",
857
- "type": "boolean",
858
- "title": "disabled"
859
- }
860
- }
861
- },
862
- "undo": {
863
- "title": "EditableHtmlButtonConfigure",
864
- "type": "object",
865
- "properties": {
866
- "disabled": {
867
- "description": "Indicates if the plugin is disabled or not",
868
- "type": "boolean",
869
- "title": "disabled"
870
- }
871
- }
872
- }
873
- }
874
- },
875
- "required": {
876
- "description": "Indicates if the item is required and the value cannot be empty",
877
- "type": "boolean",
878
- "title": "required"
879
- },
880
- "settings": {
881
- "description": "Indicates if the item has to be displayed in the Settings Panel",
882
- "type": "boolean",
883
- "title": "settings"
884
- },
885
- "label": {
886
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
887
- "type": "string",
888
- "title": "label"
889
- }
890
- }
891
- },
892
- "ConfigureMaxImageDimensionsProp": {
893
- "title": "ConfigureMaxImageDimensionsProp",
894
- "type": "object",
895
- "properties": {
896
- "teacherInstructions": {
897
- "description": "Indicates the max dimension for images in teacher instructions",
898
- "type": "number",
899
- "title": "teacherInstructions"
900
- },
901
- "prompt": {
902
- "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",
903
- "type": "number",
904
- "title": "prompt"
905
- },
906
- "rationale": {
907
- "description": "Indicates the max dimension for images in rationale",
908
- "type": "number",
909
- "title": "rationale"
910
- }
911
- }
912
- },
913
- "ConfigureMathMLProp": {
914
- "title": "ConfigureMathMLProp",
915
- "type": "object",
916
- "properties": {
917
- "mmlOutput": {
918
- "description": "Indicates if model should have mathML output instead of latex",
919
- "type": "number",
920
- "title": "mmlOutput"
921
- },
922
- "mmlEditing": {
923
- "description": "Indicates if mathML that's already in model should be editable",
924
- "type": "number",
925
- "title": "mmlEditing"
926
- }
927
- }
928
- },
929
- "ConfigurePropWithEnabled": {
930
- "title": "ConfigurePropWithEnabled",
931
- "type": "object",
932
- "properties": {
933
- "enabled": {
934
- "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)",
935
- "type": "boolean",
936
- "title": "enabled"
937
- },
938
- "settings": {
939
- "description": "Indicates if the item has to be displayed in the Settings Panel",
940
- "type": "boolean",
941
- "title": "settings"
942
- },
943
- "label": {
944
- "description": "Indicates the label for the item that has to be displayed in the Settings Panel",
945
- "type": "string",
946
- "title": "label"
947
- }
948
- }
949
- },
950
- "ConfigureLanguageOptionsProp": {
951
- "title": "ConfigureLanguageOptionsProp",
952
- "type": "object",
953
- "properties": {
954
- "value": {
955
- "description": "Value of the language option",
956
- "type": "string",
957
- "title": "value"
958
- },
959
- "label": {
960
- "description": "Label of the language option",
961
- "type": "string",
962
- "title": "label"
963
- }
964
- },
965
- "required": [
966
- "label",
967
- "value"
968
- ]
969
- },
970
- "Shape": {
971
- "title": "Shape",
972
- "type": "object",
973
- "properties": {
974
- "rectangles": {
975
- "description": "the rectangles of the shape",
976
- "type": "array",
977
- "items": {
978
- "title": "Rectangle",
979
- "type": "object",
980
- "properties": {
981
- "id": {
982
- "description": "the id of the rectangle",
983
- "type": "string",
984
- "title": "id"
985
- },
986
- "correct": {
987
- "description": "indicates if the rectangle is correct",
988
- "type": "boolean",
989
- "title": "correct"
990
- },
991
- "height": {
992
- "description": "the height of the rectangle",
993
- "type": "number",
994
- "title": "height"
995
- },
996
- "width": {
997
- "description": "the width of the rectangle",
998
- "type": "number",
999
- "title": "width"
1000
- },
1001
- "x": {
1002
- "description": "the x position of the rectangle",
1003
- "type": "number",
1004
- "title": "x"
1005
- },
1006
- "y": {
1007
- "description": "the y position of the rectangle",
1008
- "type": "number",
1009
- "title": "y"
1010
- }
1011
- },
1012
- "required": [
1013
- "height",
1014
- "width",
1015
- "x",
1016
- "y"
1017
- ]
1018
- },
1019
- "title": "rectangles"
1020
- },
1021
- "polygons": {
1022
- "description": "the polygons of the shape",
1023
- "type": "array",
1024
- "items": {
1025
- "title": "Polygon",
1026
- "type": "object",
1027
- "properties": {
1028
- "id": {
1029
- "description": "the id of the polygon",
1030
- "type": "string",
1031
- "title": "id"
1032
- },
1033
- "correct": {
1034
- "description": "indicates if the polygon is correct",
1035
- "type": "boolean",
1036
- "title": "correct"
1037
- },
1038
- "points": {
1039
- "description": "the points of the polygon",
1040
- "type": "array",
1041
- "items": {
1042
- "title": "Point",
1043
- "type": "object",
1044
- "properties": {
1045
- "x": {
1046
- "description": "the x position",
1047
- "type": "number",
1048
- "title": "x"
1049
- },
1050
- "y": {
1051
- "description": "the y position",
1052
- "type": "number",
1053
- "title": "y"
1054
- }
1055
- },
1056
- "required": [
1057
- "x",
1058
- "y"
1059
- ]
1060
- },
1061
- "title": "points"
1062
- }
1063
- },
1064
- "required": [
1065
- "points"
1066
- ]
1067
- },
1068
- "title": "polygons"
1069
- }
1070
- },
1071
- "required": [
1072
- "polygons",
1073
- "rectangles"
1074
- ]
1075
- },
1076
- "Rectangle": {
1077
- "title": "Rectangle",
1078
- "type": "object",
1079
- "properties": {
1080
- "id": {
1081
- "description": "the id of the rectangle",
1082
- "type": "string",
1083
- "title": "id"
1084
- },
1085
- "correct": {
1086
- "description": "indicates if the rectangle is correct",
1087
- "type": "boolean",
1088
- "title": "correct"
1089
- },
1090
- "height": {
1091
- "description": "the height of the rectangle",
1092
- "type": "number",
1093
- "title": "height"
1094
- },
1095
- "width": {
1096
- "description": "the width of the rectangle",
1097
- "type": "number",
1098
- "title": "width"
1099
- },
1100
- "x": {
1101
- "description": "the x position of the rectangle",
1102
- "type": "number",
1103
- "title": "x"
1104
- },
1105
- "y": {
1106
- "description": "the y position of the rectangle",
1107
- "type": "number",
1108
- "title": "y"
1109
- }
1110
- },
1111
- "required": [
1112
- "height",
1113
- "width",
1114
- "x",
1115
- "y"
1116
- ]
1117
- },
1118
- "Polygon": {
1119
- "title": "Polygon",
1120
- "type": "object",
1121
- "properties": {
1122
- "id": {
1123
- "description": "the id of the polygon",
1124
- "type": "string",
1125
- "title": "id"
1126
- },
1127
- "correct": {
1128
- "description": "indicates if the polygon is correct",
1129
- "type": "boolean",
1130
- "title": "correct"
1131
- },
1132
- "points": {
1133
- "description": "the points of the polygon",
1134
- "type": "array",
1135
- "items": {
1136
- "title": "Point",
1137
- "type": "object",
1138
- "properties": {
1139
- "x": {
1140
- "description": "the x position",
1141
- "type": "number",
1142
- "title": "x"
1143
- },
1144
- "y": {
1145
- "description": "the y position",
1146
- "type": "number",
1147
- "title": "y"
1148
- }
1149
- },
1150
- "required": [
1151
- "x",
1152
- "y"
1153
- ]
1154
- },
1155
- "title": "points"
1156
- }
1157
- },
1158
- "required": [
1159
- "points"
1160
- ]
1161
- },
1162
- "Point": {
1163
- "title": "Point",
1164
- "type": "object",
1165
- "properties": {
1166
- "x": {
1167
- "description": "the x position",
1168
- "type": "number",
1169
- "title": "x"
1170
- },
1171
- "y": {
1172
- "description": "the y position",
1173
- "type": "number",
1174
- "title": "y"
1175
- }
1176
- },
1177
- "required": [
1178
- "x",
1179
- "y"
1180
- ]
1181
- },
1182
- "Dimension": {
1183
- "title": "Dimension",
1184
- "type": "object",
1185
- "properties": {
1186
- "height": {
1187
- "description": "the height of the section",
1188
- "type": "number",
1189
- "title": "height"
1190
- },
1191
- "width": {
1192
- "description": "the width of the section",
1193
- "type": "number",
1194
- "title": "width"
1195
- }
1196
- },
1197
- "required": [
1198
- "height",
1199
- "width"
1200
- ]
1201
- }
1202
- },
1203
- "$schema": "http://json-schema.org/draft-07/schema#"
1204
- }