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