@pie-element/drawing-response 12.1.0-next.19 → 12.1.1-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (308) hide show
  1. package/dist/author/button.d.ts +29 -0
  2. package/dist/author/button.js +25 -0
  3. package/dist/author/defaults.d.ts +118 -0
  4. package/dist/author/defaults.js +86 -0
  5. package/dist/author/image-container.d.ts +42 -0
  6. package/dist/author/image-container.js +183 -0
  7. package/dist/author/index.d.ts +37 -0
  8. package/dist/author/index.js +79 -0
  9. package/dist/author/root.d.ts +17 -0
  10. package/dist/author/root.js +142 -0
  11. package/dist/controller/defaults.d.ts +24 -0
  12. package/dist/controller/defaults.js +18 -0
  13. package/dist/controller/index.d.ts +13 -0
  14. package/dist/controller/index.js +46 -0
  15. package/dist/delivery/drawing-response/button.d.ts +31 -0
  16. package/dist/delivery/drawing-response/button.js +36 -0
  17. package/dist/delivery/drawing-response/constants.d.ts +16 -0
  18. package/dist/delivery/drawing-response/constants.js +40 -0
  19. package/dist/delivery/drawing-response/container.d.ts +32 -0
  20. package/dist/delivery/drawing-response/container.js +212 -0
  21. package/dist/delivery/drawing-response/drawable-circle.d.ts +18 -0
  22. package/dist/delivery/drawing-response/drawable-circle.js +51 -0
  23. package/dist/delivery/drawing-response/drawable-eraser.d.ts +17 -0
  24. package/dist/delivery/drawing-response/drawable-eraser.js +52 -0
  25. package/dist/delivery/drawing-response/drawable-free-path.d.ts +18 -0
  26. package/dist/delivery/drawing-response/drawable-free-path.js +52 -0
  27. package/dist/delivery/drawing-response/drawable-helper.d.ts +17 -0
  28. package/dist/delivery/drawing-response/drawable-helper.js +12 -0
  29. package/dist/delivery/drawing-response/drawable-image.d.ts +24 -0
  30. package/dist/delivery/drawing-response/drawable-image.js +28 -0
  31. package/dist/delivery/drawing-response/drawable-line.d.ts +18 -0
  32. package/dist/delivery/drawing-response/drawable-line.js +53 -0
  33. package/dist/delivery/drawing-response/drawable-main.d.ts +25 -0
  34. package/dist/delivery/drawing-response/drawable-main.js +212 -0
  35. package/dist/delivery/drawing-response/drawable-palette.d.ts +14 -0
  36. package/dist/delivery/drawing-response/drawable-palette.js +89 -0
  37. package/dist/delivery/drawing-response/drawable-rectangle.d.ts +18 -0
  38. package/dist/delivery/drawing-response/drawable-rectangle.js +49 -0
  39. package/dist/delivery/drawing-response/drawable-text.d.ts +30 -0
  40. package/dist/delivery/drawing-response/drawable-text.js +189 -0
  41. package/dist/delivery/drawing-response/drawable-transformer.d.ts +16 -0
  42. package/dist/delivery/drawing-response/drawable-transformer.js +35 -0
  43. package/dist/delivery/drawing-response/factory.d.ts +11 -0
  44. package/dist/delivery/drawing-response/factory.js +19 -0
  45. package/dist/delivery/drawing-response/icon.d.ts +19 -0
  46. package/dist/delivery/drawing-response/icon.js +52 -0
  47. package/dist/delivery/drawing-response/index.d.ts +18 -0
  48. package/dist/delivery/drawing-response/index.js +70 -0
  49. package/dist/delivery/index.d.ts +19 -0
  50. package/dist/delivery/index.js +47 -0
  51. package/dist/index.d.ts +1 -0
  52. package/dist/index.iife.d.ts +8 -0
  53. package/dist/index.iife.js +165 -0
  54. package/dist/index.js +2 -0
  55. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +6 -0
  56. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +16 -0
  57. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +16 -0
  58. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +6 -0
  59. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +16 -0
  60. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +6 -0
  61. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +6 -0
  62. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js +11 -0
  63. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +14 -0
  64. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +5 -0
  65. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +5 -0
  66. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +6 -0
  67. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_apply.js +12 -0
  68. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +7 -0
  69. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +10 -0
  70. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +15 -0
  71. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js +7 -0
  72. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +7 -0
  73. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js +7 -0
  74. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +10 -0
  75. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +8 -0
  76. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +8 -0
  77. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +8 -0
  78. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +12 -0
  79. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +57 -0
  80. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +14 -0
  81. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFlatten.js +13 -0
  82. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js +10 -0
  83. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +9 -0
  84. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +10 -0
  85. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +9 -0
  86. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js +8 -0
  87. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js +30 -0
  88. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +9 -0
  89. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +11 -0
  90. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +9 -0
  91. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +11 -0
  92. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +12 -0
  93. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +13 -0
  94. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js +14 -0
  95. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSlice.js +9 -0
  96. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +7 -0
  97. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js +15 -0
  98. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +8 -0
  99. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnset.js +19 -0
  100. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js +6 -0
  101. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js +10 -0
  102. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +8 -0
  103. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +10 -0
  104. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +8 -0
  105. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +8 -0
  106. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +8 -0
  107. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +8 -0
  108. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +8 -0
  109. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +14 -0
  110. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +8 -0
  111. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +8 -0
  112. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +5 -0
  113. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_customOmitClone.js +7 -0
  114. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +10 -0
  115. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js +35 -0
  116. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js +35 -0
  117. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js +32 -0
  118. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_flatRest.js +9 -0
  119. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +4 -0
  120. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +9 -0
  121. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +9 -0
  122. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +8 -0
  123. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +9 -0
  124. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +5 -0
  125. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +14 -0
  126. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +10 -0
  127. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +11 -0
  128. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +23 -0
  129. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +6 -0
  130. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +7 -0
  131. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +7 -0
  132. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +13 -0
  133. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +9 -0
  134. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +9 -0
  135. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +8 -0
  136. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +33 -0
  137. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +9 -0
  138. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isFlattenable.js +10 -0
  139. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +8 -0
  140. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js +11 -0
  141. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +7 -0
  142. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +11 -0
  143. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +8 -0
  144. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +6 -0
  145. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +9 -0
  146. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +8 -0
  147. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +7 -0
  148. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +8 -0
  149. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +13 -0
  150. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +8 -0
  151. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +7 -0
  152. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +7 -0
  153. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +8 -0
  154. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js +9 -0
  155. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js +11 -0
  156. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +5 -0
  157. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +5 -0
  158. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +8 -0
  159. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +9 -0
  160. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +7 -0
  161. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +8 -0
  162. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js +13 -0
  163. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_parent.js +8 -0
  164. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +5 -0
  165. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js +7 -0
  166. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js +6 -0
  167. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js +9 -0
  168. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js +6 -0
  169. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js +14 -0
  170. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +7 -0
  171. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +7 -0
  172. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +6 -0
  173. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +6 -0
  174. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +16 -0
  175. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js +10 -0
  176. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js +10 -0
  177. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +15 -0
  178. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +8 -0
  179. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js +8 -0
  180. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +6 -0
  181. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/flatten.js +7 -0
  182. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/identity.js +6 -0
  183. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +10 -0
  184. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +4 -0
  185. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +8 -0
  186. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +6 -0
  187. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +21 -0
  188. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js +7 -0
  189. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +11 -0
  190. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +7 -0
  191. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +7 -0
  192. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +7 -0
  193. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +6 -0
  194. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isPlainObject.js +14 -0
  195. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +7 -0
  196. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +9 -0
  197. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +7 -0
  198. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +9 -0
  199. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +9 -0
  200. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/last.js +7 -0
  201. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/memoize.js +16 -0
  202. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/omit.js +21 -0
  203. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +6 -0
  204. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +6 -0
  205. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toString.js +7 -0
  206. package/package.json +56 -20
  207. package/CHANGELOG.json +0 -547
  208. package/CHANGELOG.md +0 -1948
  209. package/LICENSE.md +0 -5
  210. package/README.md +0 -1
  211. package/configure/CHANGELOG.json +0 -367
  212. package/configure/CHANGELOG.md +0 -1749
  213. package/configure/lib/button.js +0 -37
  214. package/configure/lib/button.js.map +0 -1
  215. package/configure/lib/defaults.js +0 -116
  216. package/configure/lib/defaults.js.map +0 -1
  217. package/configure/lib/image-container.js +0 -307
  218. package/configure/lib/image-container.js.map +0 -1
  219. package/configure/lib/index.js +0 -147
  220. package/configure/lib/index.js.map +0 -1
  221. package/configure/lib/root.js +0 -219
  222. package/configure/lib/root.js.map +0 -1
  223. package/configure/package.json +0 -24
  224. package/configure/src/__tests__/image-container.test.jsx +0 -231
  225. package/configure/src/__tests__/index.test.js +0 -72
  226. package/configure/src/__tests__/root.test.jsx +0 -110
  227. package/configure/src/button.jsx +0 -33
  228. package/configure/src/defaults.js +0 -80
  229. package/configure/src/image-container.jsx +0 -316
  230. package/configure/src/index.js +0 -167
  231. package/configure/src/root.jsx +0 -198
  232. package/controller/CHANGELOG.json +0 -52
  233. package/controller/CHANGELOG.md +0 -253
  234. package/controller/lib/defaults.js +0 -22
  235. package/controller/lib/defaults.js.map +0 -1
  236. package/controller/lib/index.js +0 -84
  237. package/controller/lib/index.js.map +0 -1
  238. package/controller/package.json +0 -16
  239. package/controller/src/__tests__/index.test.js +0 -172
  240. package/controller/src/defaults.js +0 -12
  241. package/controller/src/index.js +0 -71
  242. package/docs/config-schema.json +0 -1766
  243. package/docs/config-schema.json.md +0 -1313
  244. package/docs/demo/config.js +0 -8
  245. package/docs/demo/generate.js +0 -14
  246. package/docs/demo/index.html +0 -1
  247. package/docs/demo/session.js +0 -37
  248. package/docs/pie-schema.json +0 -823
  249. package/docs/pie-schema.json.md +0 -606
  250. package/lib/drawing-response/button.js +0 -49
  251. package/lib/drawing-response/button.js.map +0 -1
  252. package/lib/drawing-response/constants.js +0 -43
  253. package/lib/drawing-response/constants.js.map +0 -1
  254. package/lib/drawing-response/container.js +0 -327
  255. package/lib/drawing-response/container.js.map +0 -1
  256. package/lib/drawing-response/drawable-circle.js +0 -80
  257. package/lib/drawing-response/drawable-circle.js.map +0 -1
  258. package/lib/drawing-response/drawable-eraser.js +0 -64
  259. package/lib/drawing-response/drawable-eraser.js.map +0 -1
  260. package/lib/drawing-response/drawable-free-path.js +0 -71
  261. package/lib/drawing-response/drawable-free-path.js.map +0 -1
  262. package/lib/drawing-response/drawable-helper.js +0 -34
  263. package/lib/drawing-response/drawable-helper.js.map +0 -1
  264. package/lib/drawing-response/drawable-image.js +0 -41
  265. package/lib/drawing-response/drawable-image.js.map +0 -1
  266. package/lib/drawing-response/drawable-line.js +0 -75
  267. package/lib/drawing-response/drawable-line.js.map +0 -1
  268. package/lib/drawing-response/drawable-main.js +0 -345
  269. package/lib/drawing-response/drawable-main.js.map +0 -1
  270. package/lib/drawing-response/drawable-palette.js +0 -140
  271. package/lib/drawing-response/drawable-palette.js.map +0 -1
  272. package/lib/drawing-response/drawable-rectangle.js +0 -80
  273. package/lib/drawing-response/drawable-rectangle.js.map +0 -1
  274. package/lib/drawing-response/drawable-text.js +0 -295
  275. package/lib/drawing-response/drawable-text.js.map +0 -1
  276. package/lib/drawing-response/drawable-transformer.js +0 -52
  277. package/lib/drawing-response/drawable-transformer.js.map +0 -1
  278. package/lib/drawing-response/factory.js +0 -22
  279. package/lib/drawing-response/factory.js.map +0 -1
  280. package/lib/drawing-response/icon.js +0 -55
  281. package/lib/drawing-response/icon.js.map +0 -1
  282. package/lib/drawing-response/index.js +0 -91
  283. package/lib/drawing-response/index.js.map +0 -1
  284. package/lib/index.js +0 -68
  285. package/lib/index.js.map +0 -1
  286. package/src/__tests__/drawing-index-test.jsx +0 -103
  287. package/src/drawing-response/__tests__/container.test.jsx +0 -82
  288. package/src/drawing-response/__tests__/drawable-helper.test.jsx +0 -24
  289. package/src/drawing-response/__tests__/drawing-main.test.jsx +0 -855
  290. package/src/drawing-response/__tests__/factory.test.js +0 -13
  291. package/src/drawing-response/button.jsx +0 -45
  292. package/src/drawing-response/constants.js +0 -44
  293. package/src/drawing-response/container.jsx +0 -301
  294. package/src/drawing-response/drawable-circle.jsx +0 -74
  295. package/src/drawing-response/drawable-eraser.jsx +0 -53
  296. package/src/drawing-response/drawable-free-path.jsx +0 -59
  297. package/src/drawing-response/drawable-helper.jsx +0 -21
  298. package/src/drawing-response/drawable-image.jsx +0 -36
  299. package/src/drawing-response/drawable-line.jsx +0 -62
  300. package/src/drawing-response/drawable-main.jsx +0 -333
  301. package/src/drawing-response/drawable-palette.jsx +0 -99
  302. package/src/drawing-response/drawable-rectangle.jsx +0 -69
  303. package/src/drawing-response/drawable-text.jsx +0 -318
  304. package/src/drawing-response/drawable-transformer.jsx +0 -52
  305. package/src/drawing-response/factory.js +0 -17
  306. package/src/drawing-response/icon.jsx +0 -52
  307. package/src/drawing-response/index.jsx +0 -92
  308. package/src/index.js +0 -72
@@ -1,606 +0,0 @@
1
- Model for the @pie-elements/drawing-response Interaction
2
-
3
- The schema defines the following properties:
4
-
5
- # `prompt` (string)
6
-
7
- The question prompt or item stem
8
-
9
- # `promptEnabled` (boolean)
10
-
11
- Indicates if the prompt is enabled
12
-
13
- # `imageUrl` (string)
14
-
15
- The image over which shapes, patterns and texts will be added
16
-
17
- # `imageDimensions` (array, required)
18
-
19
- The dimensions of the image
20
-
21
- The object is an array with all elements of the type `object`.
22
-
23
- The array object has the following properties:
24
-
25
- ## `height` (number, required)
26
-
27
- the height of the section
28
-
29
- ## `width` (number, required)
30
-
31
- the width of the section
32
-
33
- # `studentInstructions` (string)
34
-
35
- Indicates student instructions
36
-
37
- # `teacherInstructions` (string)
38
-
39
- Indicates teacher instructions
40
-
41
- # `studentInstructionsEnabled` (boolean, required)
42
-
43
- Indicates if Student Instructions are enabled
44
-
45
- # `teacherInstructionsEnabled` (boolean, required)
46
-
47
- Indicates if Teacher Instructions are enabled
48
-
49
- # `spellCheckEnabled` (boolean, required)
50
-
51
- Indicates if spellcheck is enabled for the author. Default value is true
52
-
53
- # `backgroundImageEnabled` (boolean, required)
54
-
55
- Indicates if Background Image is enabled
56
-
57
- # `toolbarEditorPosition` (string, enum)
58
-
59
- Indicates the editor's toolbar position which can be 'bottom' or 'top'
60
-
61
- This element must be one of the following enum values:
62
-
63
- * `bottom`
64
- * `top`
65
-
66
- Default: `": 'bottom'"`
67
-
68
- # `rubricEnabled` (boolean, required)
69
-
70
- Indicates if Rubric is enabled
71
-
72
- # `language` (string)
73
-
74
- Indicates the language of the component
75
- Supported options: en, es, en_US, en-US, es_ES, es-ES, es_MX, es-MX
76
-
77
- # `id` (string, required)
78
-
79
- Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.
80
-
81
- # `element` (string, required)
82
-
83
- The html Element tag name
84
-
85
- ---
86
-
87
- # Sub Schemas
88
-
89
- The schema defines the following additional types:
90
-
91
- ## `EditableHtmlConfigureProp` (object)
92
-
93
- Properties of the `EditableHtmlConfigureProp` object:
94
-
95
- ### `math` (object)
96
-
97
- Properties of the `math` object:
98
-
99
- #### `disabled` (boolean)
100
-
101
- Indicates if the plugin is disabled or not
102
-
103
- ### `audio` (object)
104
-
105
- Properties of the `audio` object:
106
-
107
- #### `disabled` (boolean)
108
-
109
- Indicates if the plugin is disabled or not
110
-
111
- ### `video` (object)
112
-
113
- Properties of the `video` object:
114
-
115
- #### `disabled` (boolean)
116
-
117
- Indicates if the plugin is disabled or not
118
-
119
- ### `image` (object)
120
-
121
- Properties of the `image` object:
122
-
123
- #### `disabled` (boolean)
124
-
125
- Indicates if the plugin is disabled or not
126
-
127
- ### `customPlugins` (array)
128
-
129
- An array of objects that determine custom plugins.
130
- 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).
131
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
132
-
133
- The object is an array with all elements of the type `object`.
134
-
135
- The array object has the following properties:
136
-
137
- #### `event` (string, required)
138
-
139
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
140
- PIE will emit the event prefixed with "PIE-".
141
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
142
-
143
- #### `iconAlt` (string, required)
144
-
145
- The alt for the custom button icon
146
-
147
- #### `iconType` (string, required)
148
-
149
- The icon type.
150
- Currently, only "SVG" is supported.
151
-
152
- #### `icon` (string, required)
153
-
154
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
155
-
156
- ### `blockquote` (object)
157
-
158
- Properties of the `blockquote` object:
159
-
160
- #### `disabled` (boolean)
161
-
162
- Indicates if the plugin is disabled or not
163
-
164
- ### `h3` (object)
165
-
166
- Properties of the `h3` object:
167
-
168
- #### `disabled` (boolean)
169
-
170
- Indicates if the plugin is disabled or not
171
-
172
- ### `characters` (object)
173
-
174
- Properties of the `characters` object:
175
-
176
- #### `disabled` (boolean)
177
-
178
- Indicates if the plugin is disabled or not
179
-
180
- ### `bold` (object)
181
-
182
- Properties of the `bold` object:
183
-
184
- #### `disabled` (boolean)
185
-
186
- Indicates if the plugin is disabled or not
187
-
188
- ### `html` (object)
189
-
190
- Properties of the `html` object:
191
-
192
- #### `disabled` (boolean)
193
-
194
- Indicates if the plugin is disabled or not
195
-
196
- ### `italic` (object)
197
-
198
- Properties of the `italic` object:
199
-
200
- #### `disabled` (boolean)
201
-
202
- Indicates if the plugin is disabled or not
203
-
204
- ### `ol_list` (object)
205
-
206
- Properties of the `ol_list` object:
207
-
208
- #### `disabled` (boolean)
209
-
210
- Indicates if the plugin is disabled or not
211
-
212
- ### `redo` (object)
213
-
214
- Properties of the `redo` object:
215
-
216
- #### `disabled` (boolean)
217
-
218
- Indicates if the plugin is disabled or not
219
-
220
- ### `strikethrough` (object)
221
-
222
- Properties of the `strikethrough` object:
223
-
224
- #### `disabled` (boolean)
225
-
226
- Indicates if the plugin is disabled or not
227
-
228
- ### `sub` (object)
229
-
230
- Properties of the `sub` object:
231
-
232
- #### `disabled` (boolean)
233
-
234
- Indicates if the plugin is disabled or not
235
-
236
- ### `sup` (object)
237
-
238
- Properties of the `sup` object:
239
-
240
- #### `disabled` (boolean)
241
-
242
- Indicates if the plugin is disabled or not
243
-
244
- ### `table` (object)
245
-
246
- Properties of the `table` object:
247
-
248
- #### `disabled` (boolean)
249
-
250
- Indicates if the plugin is disabled or not
251
-
252
- ### `ul_list` (object)
253
-
254
- Properties of the `ul_list` object:
255
-
256
- #### `disabled` (boolean)
257
-
258
- Indicates if the plugin is disabled or not
259
-
260
- ### `underline` (object)
261
-
262
- Properties of the `underline` object:
263
-
264
- #### `disabled` (boolean)
265
-
266
- Indicates if the plugin is disabled or not
267
-
268
- ### `undo` (object)
269
-
270
- Properties of the `undo` object:
271
-
272
- #### `disabled` (boolean)
273
-
274
- Indicates if the plugin is disabled or not
275
-
276
- ## `EditableHtmlButtonConfigure` (object)
277
-
278
- Properties of the `EditableHtmlButtonConfigure` object:
279
-
280
- ### `disabled` (boolean)
281
-
282
- Indicates if the plugin is disabled or not
283
-
284
- ## `CustomPlugin` (object)
285
-
286
- Properties of the `CustomPlugin` object:
287
-
288
- ### `event` (string, required)
289
-
290
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
291
- PIE will emit the event prefixed with "PIE-".
292
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
293
-
294
- ### `iconAlt` (string, required)
295
-
296
- The alt for the custom button icon
297
-
298
- ### `iconType` (string, required)
299
-
300
- The icon type.
301
- Currently, only "SVG" is supported.
302
-
303
- ### `icon` (string, required)
304
-
305
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
306
-
307
- ## `ConfigurePropWithEnabled` (object)
308
-
309
- Properties of the `ConfigurePropWithEnabled` object:
310
-
311
- ### `enabled` (boolean)
312
-
313
- Indicates the value of the item if it affects config-ui
314
- (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
315
-
316
- ### `settings` (boolean)
317
-
318
- Indicates if the item has to be displayed in the Settings Panel
319
-
320
- ### `label` (string)
321
-
322
- Indicates the label for the item that has to be displayed in the Settings Panel
323
-
324
- ## `ConfigureProp` (object)
325
-
326
- Properties of the `ConfigureProp` object:
327
-
328
- ### `settings` (boolean)
329
-
330
- Indicates if the item has to be displayed in the Settings Panel
331
-
332
- ### `label` (string)
333
-
334
- Indicates the label for the item that has to be displayed in the Settings Panel
335
-
336
- ## `EditableHtmlPluginConfigureRequired` (object)
337
-
338
- Properties of the `EditableHtmlPluginConfigureRequired` object:
339
-
340
- ### `inputConfiguration` (object)
341
-
342
- Properties of the `inputConfiguration` object:
343
-
344
- #### `math` (object)
345
-
346
- Properties of the `math` object:
347
-
348
- ##### `disabled` (boolean)
349
-
350
- Indicates if the plugin is disabled or not
351
-
352
- #### `audio` (object)
353
-
354
- Properties of the `audio` object:
355
-
356
- ##### `disabled` (boolean)
357
-
358
- Indicates if the plugin is disabled or not
359
-
360
- #### `video` (object)
361
-
362
- Properties of the `video` object:
363
-
364
- ##### `disabled` (boolean)
365
-
366
- Indicates if the plugin is disabled or not
367
-
368
- #### `image` (object)
369
-
370
- Properties of the `image` object:
371
-
372
- ##### `disabled` (boolean)
373
-
374
- Indicates if the plugin is disabled or not
375
-
376
- #### `customPlugins` (array)
377
-
378
- An array of objects that determine custom plugins.
379
- 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).
380
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
381
-
382
- The object is an array with all elements of the type `object`.
383
-
384
- The array object has the following properties:
385
-
386
- ##### `event` (string, required)
387
-
388
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
389
- PIE will emit the event prefixed with "PIE-".
390
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
391
-
392
- ##### `iconAlt` (string, required)
393
-
394
- The alt for the custom button icon
395
-
396
- ##### `iconType` (string, required)
397
-
398
- The icon type.
399
- Currently, only "SVG" is supported.
400
-
401
- ##### `icon` (string, required)
402
-
403
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
404
-
405
- #### `blockquote` (object)
406
-
407
- Properties of the `blockquote` object:
408
-
409
- ##### `disabled` (boolean)
410
-
411
- Indicates if the plugin is disabled or not
412
-
413
- #### `h3` (object)
414
-
415
- Properties of the `h3` object:
416
-
417
- ##### `disabled` (boolean)
418
-
419
- Indicates if the plugin is disabled or not
420
-
421
- #### `characters` (object)
422
-
423
- Properties of the `characters` object:
424
-
425
- ##### `disabled` (boolean)
426
-
427
- Indicates if the plugin is disabled or not
428
-
429
- #### `bold` (object)
430
-
431
- Properties of the `bold` object:
432
-
433
- ##### `disabled` (boolean)
434
-
435
- Indicates if the plugin is disabled or not
436
-
437
- #### `html` (object)
438
-
439
- Properties of the `html` object:
440
-
441
- ##### `disabled` (boolean)
442
-
443
- Indicates if the plugin is disabled or not
444
-
445
- #### `italic` (object)
446
-
447
- Properties of the `italic` object:
448
-
449
- ##### `disabled` (boolean)
450
-
451
- Indicates if the plugin is disabled or not
452
-
453
- #### `ol_list` (object)
454
-
455
- Properties of the `ol_list` object:
456
-
457
- ##### `disabled` (boolean)
458
-
459
- Indicates if the plugin is disabled or not
460
-
461
- #### `redo` (object)
462
-
463
- Properties of the `redo` object:
464
-
465
- ##### `disabled` (boolean)
466
-
467
- Indicates if the plugin is disabled or not
468
-
469
- #### `strikethrough` (object)
470
-
471
- Properties of the `strikethrough` object:
472
-
473
- ##### `disabled` (boolean)
474
-
475
- Indicates if the plugin is disabled or not
476
-
477
- #### `sub` (object)
478
-
479
- Properties of the `sub` object:
480
-
481
- ##### `disabled` (boolean)
482
-
483
- Indicates if the plugin is disabled or not
484
-
485
- #### `sup` (object)
486
-
487
- Properties of the `sup` object:
488
-
489
- ##### `disabled` (boolean)
490
-
491
- Indicates if the plugin is disabled or not
492
-
493
- #### `table` (object)
494
-
495
- Properties of the `table` object:
496
-
497
- ##### `disabled` (boolean)
498
-
499
- Indicates if the plugin is disabled or not
500
-
501
- #### `ul_list` (object)
502
-
503
- Properties of the `ul_list` object:
504
-
505
- ##### `disabled` (boolean)
506
-
507
- Indicates if the plugin is disabled or not
508
-
509
- #### `underline` (object)
510
-
511
- Properties of the `underline` object:
512
-
513
- ##### `disabled` (boolean)
514
-
515
- Indicates if the plugin is disabled or not
516
-
517
- #### `undo` (object)
518
-
519
- Properties of the `undo` object:
520
-
521
- ##### `disabled` (boolean)
522
-
523
- Indicates if the plugin is disabled or not
524
-
525
- ### `required` (boolean)
526
-
527
- Indicates if the item is required and the value cannot be empty
528
-
529
- ### `settings` (boolean)
530
-
531
- Indicates if the item has to be displayed in the Settings Panel
532
-
533
- ### `label` (string)
534
-
535
- Indicates the label for the item that has to be displayed in the Settings Panel
536
-
537
- ## `ConfigureMaxImageDimensionsProp` (object)
538
-
539
- Properties of the `ConfigureMaxImageDimensionsProp` object:
540
-
541
- ### `teacherInstructions` (number)
542
-
543
- Indicates the max dimension for images in teacher instructions
544
-
545
- ### `prompt` (number)
546
-
547
- Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
548
-
549
- ### `rationale` (number)
550
-
551
- Indicates the max dimension for images in rationale
552
-
553
- ## `ConfigureWithForceProp` (object)
554
-
555
- Properties of the `ConfigureWithForceProp` object:
556
-
557
- ### `forceEnabled` (boolean)
558
-
559
- Indicates the value for the toggle;
560
- if true:
561
- - this property will not be visible in Settings Panel (settings will become automatically false)
562
- - the model property afferent to it will become automatically false
563
-
564
- ### `settings` (boolean)
565
-
566
- Indicates if the item has to be displayed in the Settings Panel
567
-
568
- ### `label` (string)
569
-
570
- Indicates the label for the item that has to be displayed in the Settings Panel
571
-
572
- ## `ConfigureMathMLProp` (object)
573
-
574
- Properties of the `ConfigureMathMLProp` object:
575
-
576
- ### `mmlOutput` (number)
577
-
578
- Indicates if model should have mathML output instead of latex
579
-
580
- ### `mmlEditing` (number)
581
-
582
- Indicates if mathML that's already in model should be editable
583
-
584
- ## `ConfigureLanguageOptionsProp` (object)
585
-
586
- Properties of the `ConfigureLanguageOptionsProp` object:
587
-
588
- ### `value` (string, required)
589
-
590
- Value of the language option
591
-
592
- ### `label` (string, required)
593
-
594
- Label of the language option
595
-
596
- ## `Dimension` (object)
597
-
598
- Properties of the `Dimension` object:
599
-
600
- ### `height` (number, required)
601
-
602
- the height of the section
603
-
604
- ### `width` (number, required)
605
-
606
- the width of the section
@@ -1,49 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.default = void 0;
8
- var _react = _interopRequireDefault(require("react"));
9
- var _propTypes = _interopRequireDefault(require("prop-types"));
10
- var _styles = require("@mui/material/styles");
11
- var _Button = _interopRequireDefault(require("@mui/material/Button"));
12
- const StyledButton = (0, _styles.styled)(_Button.default)({
13
- fontSize: '0.9em',
14
- marginLeft: 8,
15
- minWidth: 32,
16
- height: 32,
17
- '& span': {
18
- '& svg': {
19
- width: '1.3em !important',
20
- height: '1.3em !important'
21
- }
22
- }
23
- });
24
- const CustomButton = ({
25
- label,
26
- onClick,
27
- disabled,
28
- title
29
- }) => /*#__PURE__*/_react.default.createElement(StyledButton, {
30
- title: title,
31
- onClick: onClick,
32
- disabled: disabled,
33
- size: "small",
34
- variant: "contained"
35
- }, label);
36
- CustomButton.propTypes = {
37
- disabled: _propTypes.default.bool,
38
- label: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object]),
39
- onClick: _propTypes.default.func,
40
- title: _propTypes.default.string
41
- };
42
- CustomButton.defaultProps = {
43
- disabled: false,
44
- label: 'Add',
45
- onClick: () => {},
46
- title: ''
47
- };
48
- var _default = exports.default = CustomButton;
49
- //# sourceMappingURL=button.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"button.js","names":["_react","_interopRequireDefault","require","_propTypes","_styles","_Button","StyledButton","styled","Button","fontSize","marginLeft","minWidth","height","width","CustomButton","label","onClick","disabled","title","default","createElement","size","variant","propTypes","PropTypes","bool","oneOfType","string","object","func","defaultProps","_default","exports"],"sources":["../../src/drawing-response/button.jsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { styled } from '@mui/material/styles';\nimport Button from '@mui/material/Button';\n\nconst StyledButton = styled(Button)({\n fontSize: '0.9em',\n marginLeft: 8,\n minWidth: 32,\n height: 32,\n\n '& span': {\n '& svg': {\n width: '1.3em !important',\n height: '1.3em !important',\n },\n },\n});\n\nconst CustomButton = ({ label, onClick, disabled, title }) => (\n <StyledButton\n title={title}\n onClick={onClick}\n disabled={disabled}\n size=\"small\"\n variant=\"contained\">\n {label}\n </StyledButton>\n);\n\nCustomButton.propTypes = {\n disabled: PropTypes.bool,\n label: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),\n onClick: PropTypes.func,\n title: PropTypes.string,\n};\n\nCustomButton.defaultProps = {\n disabled: false,\n label: 'Add',\n onClick: () => {},\n title: '',\n};\n\nexport default CustomButton;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAEA,MAAMI,YAAY,GAAG,IAAAC,cAAM,EAACC,eAAM,CAAC,CAAC;EAClCC,QAAQ,EAAE,OAAO;EACjBC,UAAU,EAAE,CAAC;EACbC,QAAQ,EAAE,EAAE;EACZC,MAAM,EAAE,EAAE;EAEV,QAAQ,EAAE;IACR,OAAO,EAAE;MACPC,KAAK,EAAE,kBAAkB;MACzBD,MAAM,EAAE;IACV;EACF;AACF,CAAC,CAAC;AAEF,MAAME,YAAY,GAAGA,CAAC;EAAEC,KAAK;EAAEC,OAAO;EAAEC,QAAQ;EAAEC;AAAM,CAAC,kBACvDlB,MAAA,CAAAmB,OAAA,CAAAC,aAAA,CAACd,YAAY;EACXY,KAAK,EAAEA,KAAM;EACbF,OAAO,EAAEA,OAAQ;EACjBC,QAAQ,EAAEA,QAAS;EACnBI,IAAI,EAAC,OAAO;EACZC,OAAO,EAAC;AAAW,GAClBP,KACW,CACf;AAEDD,YAAY,CAACS,SAAS,GAAG;EACvBN,QAAQ,EAAEO,kBAAS,CAACC,IAAI;EACxBV,KAAK,EAAES,kBAAS,CAACE,SAAS,CAAC,CAACF,kBAAS,CAACG,MAAM,EAAEH,kBAAS,CAACI,MAAM,CAAC,CAAC;EAChEZ,OAAO,EAAEQ,kBAAS,CAACK,IAAI;EACvBX,KAAK,EAAEM,kBAAS,CAACG;AACnB,CAAC;AAEDb,YAAY,CAACgB,YAAY,GAAG;EAC1Bb,QAAQ,EAAE,KAAK;EACfF,KAAK,EAAE,KAAK;EACZC,OAAO,EAAEA,CAAA,KAAM,CAAC,CAAC;EACjBE,KAAK,EAAE;AACT,CAAC;AAAC,IAAAa,QAAA,GAAAC,OAAA,CAAAb,OAAA,GAEaL,YAAY","ignoreList":[]}
@@ -1,43 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _default = exports.default = {
8
- tools: [{
9
- type: 'Select',
10
- label: 'Select',
11
- icon: 'mdiCursorDefault'
12
- }, {
13
- type: 'FreePathDrawable',
14
- label: 'Free Draw',
15
- icon: 'mdiPencil'
16
- }, {
17
- type: 'LineDrawable',
18
- label: 'Line',
19
- icon: 'mdiMinus'
20
- }, {
21
- type: 'RectangleDrawable',
22
- label: 'Rectangle',
23
- icon: 'mdiRectangle'
24
- }, {
25
- type: 'CircleDrawable',
26
- label: 'Circle',
27
- icon: 'mdiCircle'
28
- }, {
29
- type: 'Text',
30
- label: 'Text Entry',
31
- icon: 'mdiFormatColorText'
32
- }, {
33
- // ,{
34
- // type: 'PaintBucket',
35
- // label: 'Paint Bucket',
36
- // icon: 'mdiFormatColorFill'
37
- // },
38
- type: 'EraserDrawable',
39
- label: 'Eraser',
40
- icon: 'mdiEraser'
41
- }]
42
- };
43
- //# sourceMappingURL=constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","names":["tools","type","label","icon"],"sources":["../../src/drawing-response/constants.js"],"sourcesContent":["export default {\n tools: [\n {\n type: 'Select',\n label: 'Select',\n icon: 'mdiCursorDefault',\n },\n {\n type: 'FreePathDrawable',\n label: 'Free Draw',\n icon: 'mdiPencil',\n },\n {\n type: 'LineDrawable',\n label: 'Line',\n icon: 'mdiMinus',\n },\n {\n type: 'RectangleDrawable',\n label: 'Rectangle',\n icon: 'mdiRectangle',\n },\n {\n type: 'CircleDrawable',\n label: 'Circle',\n icon: 'mdiCircle',\n },\n {\n type: 'Text',\n label: 'Text Entry',\n icon: 'mdiFormatColorText',\n },\n {\n // ,{\n // type: 'PaintBucket',\n // label: 'Paint Bucket',\n // icon: 'mdiFormatColorFill'\n // },\n type: 'EraserDrawable',\n label: 'Eraser',\n icon: 'mdiEraser',\n },\n ],\n};\n"],"mappings":";;;;;;iCAAe;EACbA,KAAK,EAAE,CACL;IACEC,IAAI,EAAE,QAAQ;IACdC,KAAK,EAAE,QAAQ;IACfC,IAAI,EAAE;EACR,CAAC,EACD;IACEF,IAAI,EAAE,kBAAkB;IACxBC,KAAK,EAAE,WAAW;IAClBC,IAAI,EAAE;EACR,CAAC,EACD;IACEF,IAAI,EAAE,cAAc;IACpBC,KAAK,EAAE,MAAM;IACbC,IAAI,EAAE;EACR,CAAC,EACD;IACEF,IAAI,EAAE,mBAAmB;IACzBC,KAAK,EAAE,WAAW;IAClBC,IAAI,EAAE;EACR,CAAC,EACD;IACEF,IAAI,EAAE,gBAAgB;IACtBC,KAAK,EAAE,QAAQ;IACfC,IAAI,EAAE;EACR,CAAC,EACD;IACEF,IAAI,EAAE,MAAM;IACZC,KAAK,EAAE,YAAY;IACnBC,IAAI,EAAE;EACR,CAAC,EACD;IACE;IACA;IACA;IACA;IACA;IACAF,IAAI,EAAE,gBAAgB;IACtBC,KAAK,EAAE,QAAQ;IACfC,IAAI,EAAE;EACR,CAAC;AAEL,CAAC","ignoreList":[]}