@pie-element/ebsr 6.6.3-next.1089 → 6.6.3-next.1092

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 (505) hide show
  1. package/CHANGELOG.md +77 -0
  2. package/configure/CHANGELOG.md +77 -0
  3. package/configure/package.json +2 -2
  4. package/controller/CHANGELOG.md +8 -0
  5. package/controller/package.json +1 -1
  6. package/package.json +3 -3
  7. package/configure/node_modules/@pie-element/multiple-choice/CHANGELOG.json +0 -1972
  8. package/configure/node_modules/@pie-element/multiple-choice/CHANGELOG.md +0 -1826
  9. package/configure/node_modules/@pie-element/multiple-choice/LICENSE.md +0 -5
  10. package/configure/node_modules/@pie-element/multiple-choice/PRINT.md +0 -35
  11. package/configure/node_modules/@pie-element/multiple-choice/README.md +0 -56
  12. package/configure/node_modules/@pie-element/multiple-choice/choice.png +0 -0
  13. package/configure/node_modules/@pie-element/multiple-choice/configure/CHANGELOG.json +0 -1387
  14. package/configure/node_modules/@pie-element/multiple-choice/configure/CHANGELOG.md +0 -1367
  15. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/defaults.js +0 -116
  16. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/defaults.js.map +0 -1
  17. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/index.js +0 -198
  18. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/index.js.map +0 -1
  19. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/main.js +0 -615
  20. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/main.js.map +0 -1
  21. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/utils.js +0 -18
  22. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/utils.js.map +0 -1
  23. package/configure/node_modules/@pie-element/multiple-choice/configure/package.json +0 -20
  24. package/configure/node_modules/@pie-element/multiple-choice/controller/CHANGELOG.json +0 -527
  25. package/configure/node_modules/@pie-element/multiple-choice/controller/CHANGELOG.md +0 -768
  26. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/defaults.js +0 -18
  27. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/defaults.js.map +0 -1
  28. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/index.js +0 -305
  29. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/index.js.map +0 -1
  30. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/utils.js +0 -36
  31. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/utils.js.map +0 -1
  32. package/configure/node_modules/@pie-element/multiple-choice/controller/package.json +0 -15
  33. package/configure/node_modules/@pie-element/multiple-choice/docs/config-schema.json +0 -431
  34. package/configure/node_modules/@pie-element/multiple-choice/docs/config-schema.json.md +0 -337
  35. package/configure/node_modules/@pie-element/multiple-choice/docs/demo/config.js +0 -8
  36. package/configure/node_modules/@pie-element/multiple-choice/docs/demo/generate.js +0 -52
  37. package/configure/node_modules/@pie-element/multiple-choice/docs/demo/index.html +0 -1
  38. package/configure/node_modules/@pie-element/multiple-choice/docs/demo/session.js +0 -7
  39. package/configure/node_modules/@pie-element/multiple-choice/docs/pie-schema.json +0 -364
  40. package/configure/node_modules/@pie-element/multiple-choice/docs/pie-schema.json.md +0 -294
  41. package/configure/node_modules/@pie-element/multiple-choice/lib/choice-input.js +0 -298
  42. package/configure/node_modules/@pie-element/multiple-choice/lib/choice-input.js.map +0 -1
  43. package/configure/node_modules/@pie-element/multiple-choice/lib/choice.js +0 -157
  44. package/configure/node_modules/@pie-element/multiple-choice/lib/choice.js.map +0 -1
  45. package/configure/node_modules/@pie-element/multiple-choice/lib/feedback-tick.js +0 -174
  46. package/configure/node_modules/@pie-element/multiple-choice/lib/feedback-tick.js.map +0 -1
  47. package/configure/node_modules/@pie-element/multiple-choice/lib/index.js +0 -151
  48. package/configure/node_modules/@pie-element/multiple-choice/lib/index.js.map +0 -1
  49. package/configure/node_modules/@pie-element/multiple-choice/lib/main.js +0 -97
  50. package/configure/node_modules/@pie-element/multiple-choice/lib/main.js.map +0 -1
  51. package/configure/node_modules/@pie-element/multiple-choice/lib/multiple-choice.js +0 -254
  52. package/configure/node_modules/@pie-element/multiple-choice/lib/multiple-choice.js.map +0 -1
  53. package/configure/node_modules/@pie-element/multiple-choice/lib/print.js +0 -129
  54. package/configure/node_modules/@pie-element/multiple-choice/lib/print.js.map +0 -1
  55. package/configure/node_modules/@pie-element/multiple-choice/lib/session-updater.js +0 -35
  56. package/configure/node_modules/@pie-element/multiple-choice/lib/session-updater.js.map +0 -1
  57. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/CHANGELOG.json +0 -1677
  58. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/CHANGELOG.md +0 -1695
  59. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/LICENSE.md +0 -5
  60. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/README.md +0 -12
  61. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/alert-dialog.js +0 -44
  62. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/alert-dialog.js.map +0 -1
  63. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/checkbox.js +0 -86
  64. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/checkbox.js.map +0 -1
  65. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/choice-configuration/feedback-menu.js +0 -164
  66. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/choice-configuration/feedback-menu.js.map +0 -1
  67. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/choice-configuration/index.js +0 -398
  68. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/choice-configuration/index.js.map +0 -1
  69. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/choice-utils.js +0 -54
  70. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/choice-utils.js.map +0 -1
  71. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/feedback-config/feedback-selector.js +0 -185
  72. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/feedback-config/feedback-selector.js.map +0 -1
  73. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/feedback-config/group.js +0 -75
  74. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/feedback-config/group.js.map +0 -1
  75. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/feedback-config/index.js +0 -178
  76. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/feedback-config/index.js.map +0 -1
  77. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/form-section.js +0 -46
  78. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/form-section.js.map +0 -1
  79. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/help.js +0 -145
  80. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/help.js.map +0 -1
  81. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/index.js +0 -216
  82. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/index.js.map +0 -1
  83. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/input.js +0 -139
  84. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/input.js.map +0 -1
  85. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/inputs.js +0 -131
  86. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/inputs.js.map +0 -1
  87. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/langs.js +0 -179
  88. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/langs.js.map +0 -1
  89. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/layout/config-layout.js +0 -101
  90. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/layout/config-layout.js.map +0 -1
  91. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/layout/index.js +0 -24
  92. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/layout/index.js.map +0 -1
  93. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/layout/layout-contents.js +0 -105
  94. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/layout/layout-contents.js.map +0 -1
  95. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/layout/settings-box.js +0 -87
  96. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/layout/settings-box.js.map +0 -1
  97. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/mui-box/index.js +0 -79
  98. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/mui-box/index.js.map +0 -1
  99. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/number-text-field-custom.js +0 -364
  100. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/number-text-field-custom.js.map +0 -1
  101. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/number-text-field.js +0 -265
  102. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/number-text-field.js.map +0 -1
  103. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/radio-with-label.js +0 -41
  104. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/radio-with-label.js.map +0 -1
  105. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/display-size.js +0 -77
  106. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/display-size.js.map +0 -1
  107. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/index.js +0 -130
  108. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/index.js.map +0 -1
  109. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/panel.js +0 -412
  110. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/panel.js.map +0 -1
  111. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/settings-radio-label.js +0 -43
  112. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/settings-radio-label.js.map +0 -1
  113. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/toggle.js +0 -56
  114. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/toggle.js.map +0 -1
  115. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/tabs/index.js +0 -106
  116. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/tabs/index.js.map +0 -1
  117. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/tags-input/index.js +0 -198
  118. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/tags-input/index.js.map +0 -1
  119. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/two-choice.js +0 -180
  120. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/two-choice.js.map +0 -1
  121. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/with-stateful-model.js +0 -84
  122. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/with-stateful-model.js.map +0 -1
  123. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/package.json +0 -30
  124. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/alert-dialog.jsx +0 -43
  125. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/checkbox.jsx +0 -63
  126. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/choice-configuration/feedback-menu.jsx +0 -103
  127. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/choice-configuration/index.jsx +0 -319
  128. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/choice-utils.js +0 -30
  129. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/feedback-config/feedback-selector.jsx +0 -116
  130. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/feedback-config/group.jsx +0 -54
  131. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/feedback-config/index.jsx +0 -98
  132. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/form-section.jsx +0 -23
  133. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/help.jsx +0 -88
  134. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/index.js +0 -58
  135. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/input.jsx +0 -72
  136. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/inputs.jsx +0 -96
  137. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/langs.jsx +0 -122
  138. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/layout/config-layout.jsx +0 -64
  139. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/layout/index.js +0 -4
  140. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/layout/layout-contents.jsx +0 -60
  141. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/layout/settings-box.jsx +0 -31
  142. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/mui-box/index.jsx +0 -64
  143. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/number-text-field-custom.jsx +0 -276
  144. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/number-text-field.jsx +0 -196
  145. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/radio-with-label.jsx +0 -18
  146. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/settings/display-size.jsx +0 -52
  147. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/settings/index.js +0 -75
  148. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/settings/panel.jsx +0 -297
  149. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/settings/settings-radio-label.jsx +0 -20
  150. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/settings/toggle.jsx +0 -31
  151. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/tabs/index.jsx +0 -51
  152. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/tags-input/index.jsx +0 -121
  153. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/two-choice.jsx +0 -94
  154. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/with-stateful-model.jsx +0 -36
  155. package/configure/node_modules/@pie-element/multiple-choice/package.json +0 -34
  156. package/configure/node_modules/@pie-framework/mathquill/CHANGELOG.md +0 -218
  157. package/configure/node_modules/@pie-framework/mathquill/README.md +0 -43
  158. package/configure/node_modules/@pie-framework/mathquill/build/fonts/Symbola.eot +0 -0
  159. package/configure/node_modules/@pie-framework/mathquill/build/fonts/Symbola.svg +0 -2025
  160. package/configure/node_modules/@pie-framework/mathquill/build/fonts/Symbola.ttf +0 -0
  161. package/configure/node_modules/@pie-framework/mathquill/build/fonts/Symbola.woff +0 -0
  162. package/configure/node_modules/@pie-framework/mathquill/build/fonts/Symbola.woff2 +0 -0
  163. package/configure/node_modules/@pie-framework/mathquill/build/index-dev.js +0 -5
  164. package/configure/node_modules/@pie-framework/mathquill/build/index.js +0 -5
  165. package/configure/node_modules/@pie-framework/mathquill/build/jquery.global.js +0 -5
  166. package/configure/node_modules/@pie-framework/mathquill/build/mathquill.css +0 -847
  167. package/configure/node_modules/@pie-framework/mathquill/build/mathquill.js +0 -6396
  168. package/configure/node_modules/@pie-framework/mathquill/build/mathquill.min.js +0 -13
  169. package/configure/node_modules/@pie-framework/mathquill/package.json +0 -34
  170. package/configure/node_modules/@pie-lib/correct-answer-toggle/CHANGELOG.json +0 -547
  171. package/configure/node_modules/@pie-lib/correct-answer-toggle/CHANGELOG.md +0 -524
  172. package/configure/node_modules/@pie-lib/correct-answer-toggle/LICENSE.md +0 -5
  173. package/configure/node_modules/@pie-lib/correct-answer-toggle/README.md +0 -64
  174. package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/expander.js +0 -86
  175. package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/expander.js.map +0 -1
  176. package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/index.js +0 -155
  177. package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/index.js.map +0 -1
  178. package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/styles.js +0 -65
  179. package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/styles.js.map +0 -1
  180. package/configure/node_modules/@pie-lib/correct-answer-toggle/package.json +0 -36
  181. package/configure/node_modules/@pie-lib/correct-answer-toggle/preview.png +0 -0
  182. package/configure/node_modules/@pie-lib/correct-answer-toggle/src/expander.jsx +0 -65
  183. package/configure/node_modules/@pie-lib/correct-answer-toggle/src/index.jsx +0 -75
  184. package/configure/node_modules/@pie-lib/correct-answer-toggle/src/styles.js +0 -60
  185. package/configure/node_modules/@pie-lib/editable-html/CHANGELOG.json +0 -3327
  186. package/configure/node_modules/@pie-lib/editable-html/CHANGELOG.md +0 -1676
  187. package/configure/node_modules/@pie-lib/editable-html/LICENSE.md +0 -5
  188. package/configure/node_modules/@pie-lib/editable-html/README.md +0 -45
  189. package/configure/node_modules/@pie-lib/editable-html/deploy.sh +0 -16
  190. package/configure/node_modules/@pie-lib/editable-html/lib/editor.js +0 -837
  191. package/configure/node_modules/@pie-lib/editable-html/lib/editor.js.map +0 -1
  192. package/configure/node_modules/@pie-lib/editable-html/lib/index.js +0 -224
  193. package/configure/node_modules/@pie-lib/editable-html/lib/index.js.map +0 -1
  194. package/configure/node_modules/@pie-lib/editable-html/lib/parse-html.js +0 -16
  195. package/configure/node_modules/@pie-lib/editable-html/lib/parse-html.js.map +0 -1
  196. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/characters/custom-popover.js +0 -70
  197. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/characters/custom-popover.js.map +0 -1
  198. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/characters/index.js +0 -261
  199. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/characters/index.js.map +0 -1
  200. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/characters/utils.js +0 -362
  201. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/characters/utils.js.map +0 -1
  202. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/component.js +0 -393
  203. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/component.js.map +0 -1
  204. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/image-toolbar.js +0 -78
  205. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/image-toolbar.js.map +0 -1
  206. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/index.js +0 -221
  207. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/index.js.map +0 -1
  208. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/insert-image-handler.js +0 -135
  209. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/insert-image-handler.js.map +0 -1
  210. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/index.js +0 -141
  211. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/index.js.map +0 -1
  212. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/list/index.js +0 -204
  213. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/list/index.js.map +0 -1
  214. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/math/index.js +0 -347
  215. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/math/index.js.map +0 -1
  216. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/index.js +0 -339
  217. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/index.js.map +0 -1
  218. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/media-dialog.js +0 -434
  219. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/media-dialog.js.map +0 -1
  220. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/media-toolbar.js +0 -99
  221. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/media-toolbar.js.map +0 -1
  222. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/media-wrapper.js +0 -93
  223. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/media-wrapper.js.map +0 -1
  224. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/drag-in-the-blank/choice.js +0 -251
  225. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/drag-in-the-blank/choice.js.map +0 -1
  226. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/drag-in-the-blank/index.js +0 -97
  227. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/drag-in-the-blank/index.js.map +0 -1
  228. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/explicit-constructed-response/index.js +0 -54
  229. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/explicit-constructed-response/index.js.map +0 -1
  230. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/icons/index.js +0 -93
  231. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/icons/index.js.map +0 -1
  232. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/index.js +0 -288
  233. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/index.js.map +0 -1
  234. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/inline-dropdown/index.js +0 -70
  235. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/inline-dropdown/index.js.map +0 -1
  236. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/utils.js +0 -110
  237. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/utils.js.map +0 -1
  238. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/table/icons/index.js +0 -69
  239. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/table/icons/index.js.map +0 -1
  240. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/table/index.js +0 -497
  241. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/table/index.js.map +0 -1
  242. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/table/table-toolbar.js +0 -158
  243. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/table/table-toolbar.js.map +0 -1
  244. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/default-toolbar.js +0 -132
  245. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/default-toolbar.js.map +0 -1
  246. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/done-button.js +0 -50
  247. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/done-button.js.map +0 -1
  248. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/editor-and-toolbar.js +0 -263
  249. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/editor-and-toolbar.js.map +0 -1
  250. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/index.js +0 -32
  251. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/index.js.map +0 -1
  252. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/toolbar-buttons.js +0 -161
  253. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/toolbar-buttons.js.map +0 -1
  254. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/toolbar.js +0 -346
  255. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/toolbar.js.map +0 -1
  256. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/utils.js +0 -62
  257. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/utils.js.map +0 -1
  258. package/configure/node_modules/@pie-lib/editable-html/lib/serialization.js +0 -428
  259. package/configure/node_modules/@pie-lib/editable-html/lib/serialization.js.map +0 -1
  260. package/configure/node_modules/@pie-lib/editable-html/lib/theme.js +0 -9
  261. package/configure/node_modules/@pie-lib/editable-html/lib/theme.js.map +0 -1
  262. package/configure/node_modules/@pie-lib/editable-html/package.json +0 -51
  263. package/configure/node_modules/@pie-lib/editable-html/playground/image/data.js +0 -59
  264. package/configure/node_modules/@pie-lib/editable-html/playground/image/index.html +0 -24
  265. package/configure/node_modules/@pie-lib/editable-html/playground/image/index.jsx +0 -83
  266. package/configure/node_modules/@pie-lib/editable-html/playground/index.html +0 -27
  267. package/configure/node_modules/@pie-lib/editable-html/playground/mathquill/index.html +0 -25
  268. package/configure/node_modules/@pie-lib/editable-html/playground/mathquill/index.jsx +0 -151
  269. package/configure/node_modules/@pie-lib/editable-html/playground/package.json +0 -15
  270. package/configure/node_modules/@pie-lib/editable-html/playground/prod-test/index.html +0 -26
  271. package/configure/node_modules/@pie-lib/editable-html/playground/prod-test/index.jsx +0 -30
  272. package/configure/node_modules/@pie-lib/editable-html/playground/schema-override/data.js +0 -29
  273. package/configure/node_modules/@pie-lib/editable-html/playground/schema-override/image-plugin.jsx +0 -40
  274. package/configure/node_modules/@pie-lib/editable-html/playground/schema-override/index.html +0 -23
  275. package/configure/node_modules/@pie-lib/editable-html/playground/schema-override/index.jsx +0 -96
  276. package/configure/node_modules/@pie-lib/editable-html/playground/serialization/data.js +0 -29
  277. package/configure/node_modules/@pie-lib/editable-html/playground/serialization/image-plugin.jsx +0 -40
  278. package/configure/node_modules/@pie-lib/editable-html/playground/serialization/index.html +0 -24
  279. package/configure/node_modules/@pie-lib/editable-html/playground/serialization/index.jsx +0 -12
  280. package/configure/node_modules/@pie-lib/editable-html/playground/static.json +0 -3
  281. package/configure/node_modules/@pie-lib/editable-html/playground/table-examples.html +0 -67
  282. package/configure/node_modules/@pie-lib/editable-html/playground/webpack.config.js +0 -42
  283. package/configure/node_modules/@pie-lib/editable-html/src/editor.jsx +0 -724
  284. package/configure/node_modules/@pie-lib/editable-html/src/index.jsx +0 -145
  285. package/configure/node_modules/@pie-lib/editable-html/src/parse-html.js +0 -8
  286. package/configure/node_modules/@pie-lib/editable-html/src/plugins/README.md +0 -27
  287. package/configure/node_modules/@pie-lib/editable-html/src/plugins/characters/custom-popover.js +0 -45
  288. package/configure/node_modules/@pie-lib/editable-html/src/plugins/characters/index.jsx +0 -237
  289. package/configure/node_modules/@pie-lib/editable-html/src/plugins/characters/utils.js +0 -444
  290. package/configure/node_modules/@pie-lib/editable-html/src/plugins/image/component.jsx +0 -318
  291. package/configure/node_modules/@pie-lib/editable-html/src/plugins/image/image-toolbar.jsx +0 -32
  292. package/configure/node_modules/@pie-lib/editable-html/src/plugins/image/index.jsx +0 -182
  293. package/configure/node_modules/@pie-lib/editable-html/src/plugins/image/insert-image-handler.js +0 -93
  294. package/configure/node_modules/@pie-lib/editable-html/src/plugins/index.jsx +0 -115
  295. package/configure/node_modules/@pie-lib/editable-html/src/plugins/list/index.jsx +0 -175
  296. package/configure/node_modules/@pie-lib/editable-html/src/plugins/math/index.jsx +0 -283
  297. package/configure/node_modules/@pie-lib/editable-html/src/plugins/media/index.jsx +0 -284
  298. package/configure/node_modules/@pie-lib/editable-html/src/plugins/media/media-dialog.js +0 -372
  299. package/configure/node_modules/@pie-lib/editable-html/src/plugins/media/media-toolbar.jsx +0 -53
  300. package/configure/node_modules/@pie-lib/editable-html/src/plugins/media/media-wrapper.jsx +0 -43
  301. package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/drag-in-the-blank/choice.jsx +0 -187
  302. package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/drag-in-the-blank/index.jsx +0 -78
  303. package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/explicit-constructed-response/index.jsx +0 -45
  304. package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/icons/index.jsx +0 -68
  305. package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/index.jsx +0 -259
  306. package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/inline-dropdown/index.jsx +0 -63
  307. package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/utils.jsx +0 -77
  308. package/configure/node_modules/@pie-lib/editable-html/src/plugins/table/icons/index.jsx +0 -59
  309. package/configure/node_modules/@pie-lib/editable-html/src/plugins/table/index.jsx +0 -437
  310. package/configure/node_modules/@pie-lib/editable-html/src/plugins/table/table-toolbar.jsx +0 -104
  311. package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/default-toolbar.jsx +0 -111
  312. package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/done-button.jsx +0 -36
  313. package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/editor-and-toolbar.jsx +0 -225
  314. package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/index.jsx +0 -21
  315. package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/toolbar-buttons.jsx +0 -97
  316. package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/toolbar.jsx +0 -323
  317. package/configure/node_modules/@pie-lib/editable-html/src/plugins/utils.js +0 -32
  318. package/configure/node_modules/@pie-lib/editable-html/src/serialization.jsx +0 -385
  319. package/configure/node_modules/@pie-lib/editable-html/src/theme.js +0 -1
  320. package/configure/node_modules/@pie-lib/editable-html/static.json +0 -1
  321. package/configure/node_modules/@pie-lib/math-input/CHANGELOG.json +0 -1547
  322. package/configure/node_modules/@pie-lib/math-input/CHANGELOG.md +0 -765
  323. package/configure/node_modules/@pie-lib/math-input/LICENSE.md +0 -5
  324. package/configure/node_modules/@pie-lib/math-input/README.md +0 -27
  325. package/configure/node_modules/@pie-lib/math-input/lib/horizontal-keypad.js +0 -129
  326. package/configure/node_modules/@pie-lib/math-input/lib/horizontal-keypad.js.map +0 -1
  327. package/configure/node_modules/@pie-lib/math-input/lib/index.js +0 -80
  328. package/configure/node_modules/@pie-lib/math-input/lib/index.js.map +0 -1
  329. package/configure/node_modules/@pie-lib/math-input/lib/keypad/index.js +0 -440
  330. package/configure/node_modules/@pie-lib/math-input/lib/keypad/index.js.map +0 -1
  331. package/configure/node_modules/@pie-lib/math-input/lib/keypad/keys-layout.js +0 -34
  332. package/configure/node_modules/@pie-lib/math-input/lib/keypad/keys-layout.js.map +0 -1
  333. package/configure/node_modules/@pie-lib/math-input/lib/keys/basic-operators.js +0 -41
  334. package/configure/node_modules/@pie-lib/math-input/lib/keys/basic-operators.js.map +0 -1
  335. package/configure/node_modules/@pie-lib/math-input/lib/keys/chars.js +0 -17
  336. package/configure/node_modules/@pie-lib/math-input/lib/keys/chars.js.map +0 -1
  337. package/configure/node_modules/@pie-lib/math-input/lib/keys/comparison.js +0 -46
  338. package/configure/node_modules/@pie-lib/math-input/lib/keys/comparison.js.map +0 -1
  339. package/configure/node_modules/@pie-lib/math-input/lib/keys/constants.js +0 -43
  340. package/configure/node_modules/@pie-lib/math-input/lib/keys/constants.js.map +0 -1
  341. package/configure/node_modules/@pie-lib/math-input/lib/keys/digits.js +0 -53
  342. package/configure/node_modules/@pie-lib/math-input/lib/keys/digits.js.map +0 -1
  343. package/configure/node_modules/@pie-lib/math-input/lib/keys/edit.js +0 -16
  344. package/configure/node_modules/@pie-lib/math-input/lib/keys/edit.js.map +0 -1
  345. package/configure/node_modules/@pie-lib/math-input/lib/keys/exponent.js +0 -35
  346. package/configure/node_modules/@pie-lib/math-input/lib/keys/exponent.js.map +0 -1
  347. package/configure/node_modules/@pie-lib/math-input/lib/keys/fractions.js +0 -31
  348. package/configure/node_modules/@pie-lib/math-input/lib/keys/fractions.js.map +0 -1
  349. package/configure/node_modules/@pie-lib/math-input/lib/keys/geometry.js +0 -165
  350. package/configure/node_modules/@pie-lib/math-input/lib/keys/geometry.js.map +0 -1
  351. package/configure/node_modules/@pie-lib/math-input/lib/keys/grades.js +0 -295
  352. package/configure/node_modules/@pie-lib/math-input/lib/keys/grades.js.map +0 -1
  353. package/configure/node_modules/@pie-lib/math-input/lib/keys/index.js +0 -54
  354. package/configure/node_modules/@pie-lib/math-input/lib/keys/index.js.map +0 -1
  355. package/configure/node_modules/@pie-lib/math-input/lib/keys/log.js +0 -32
  356. package/configure/node_modules/@pie-lib/math-input/lib/keys/log.js.map +0 -1
  357. package/configure/node_modules/@pie-lib/math-input/lib/keys/logic.js +0 -23
  358. package/configure/node_modules/@pie-lib/math-input/lib/keys/logic.js.map +0 -1
  359. package/configure/node_modules/@pie-lib/math-input/lib/keys/matrices.js +0 -23
  360. package/configure/node_modules/@pie-lib/math-input/lib/keys/matrices.js.map +0 -1
  361. package/configure/node_modules/@pie-lib/math-input/lib/keys/misc.js +0 -69
  362. package/configure/node_modules/@pie-lib/math-input/lib/keys/misc.js.map +0 -1
  363. package/configure/node_modules/@pie-lib/math-input/lib/keys/navigation.js +0 -23
  364. package/configure/node_modules/@pie-lib/math-input/lib/keys/navigation.js.map +0 -1
  365. package/configure/node_modules/@pie-lib/math-input/lib/keys/operators.js +0 -17
  366. package/configure/node_modules/@pie-lib/math-input/lib/keys/operators.js.map +0 -1
  367. package/configure/node_modules/@pie-lib/math-input/lib/keys/statistics.js +0 -45
  368. package/configure/node_modules/@pie-lib/math-input/lib/keys/statistics.js.map +0 -1
  369. package/configure/node_modules/@pie-lib/math-input/lib/keys/sub-sup.js +0 -23
  370. package/configure/node_modules/@pie-lib/math-input/lib/keys/sub-sup.js.map +0 -1
  371. package/configure/node_modules/@pie-lib/math-input/lib/keys/trigonometry.js +0 -53
  372. package/configure/node_modules/@pie-lib/math-input/lib/keys/trigonometry.js.map +0 -1
  373. package/configure/node_modules/@pie-lib/math-input/lib/keys/utils.js +0 -130
  374. package/configure/node_modules/@pie-lib/math-input/lib/keys/utils.js.map +0 -1
  375. package/configure/node_modules/@pie-lib/math-input/lib/keys/vars.js +0 -29
  376. package/configure/node_modules/@pie-lib/math-input/lib/keys/vars.js.map +0 -1
  377. package/configure/node_modules/@pie-lib/math-input/lib/math-input.js +0 -206
  378. package/configure/node_modules/@pie-lib/math-input/lib/math-input.js.map +0 -1
  379. package/configure/node_modules/@pie-lib/math-input/lib/mq/custom-elements.js +0 -23
  380. package/configure/node_modules/@pie-lib/math-input/lib/mq/custom-elements.js.map +0 -1
  381. package/configure/node_modules/@pie-lib/math-input/lib/mq/index.js +0 -24
  382. package/configure/node_modules/@pie-lib/math-input/lib/mq/index.js.map +0 -1
  383. package/configure/node_modules/@pie-lib/math-input/lib/mq/input.js +0 -257
  384. package/configure/node_modules/@pie-lib/math-input/lib/mq/input.js.map +0 -1
  385. package/configure/node_modules/@pie-lib/math-input/lib/mq/static.js +0 -224
  386. package/configure/node_modules/@pie-lib/math-input/lib/mq/static.js.map +0 -1
  387. package/configure/node_modules/@pie-lib/math-input/package.json +0 -26
  388. package/configure/node_modules/@pie-lib/math-input/src/horizontal-keypad.jsx +0 -56
  389. package/configure/node_modules/@pie-lib/math-input/src/index.jsx +0 -27
  390. package/configure/node_modules/@pie-lib/math-input/src/keypad/index.jsx +0 -367
  391. package/configure/node_modules/@pie-lib/math-input/src/keypad/keys-layout.js +0 -17
  392. package/configure/node_modules/@pie-lib/math-input/src/keys/basic-operators.js +0 -32
  393. package/configure/node_modules/@pie-lib/math-input/src/keys/chars.js +0 -5
  394. package/configure/node_modules/@pie-lib/math-input/src/keys/comparison.js +0 -27
  395. package/configure/node_modules/@pie-lib/math-input/src/keys/constants.js +0 -35
  396. package/configure/node_modules/@pie-lib/math-input/src/keys/digits.js +0 -40
  397. package/configure/node_modules/@pie-lib/math-input/src/keys/edit.js +0 -3
  398. package/configure/node_modules/@pie-lib/math-input/src/keys/exponent.js +0 -27
  399. package/configure/node_modules/@pie-lib/math-input/src/keys/fractions.js +0 -23
  400. package/configure/node_modules/@pie-lib/math-input/src/keys/geometry.js +0 -140
  401. package/configure/node_modules/@pie-lib/math-input/src/keys/grades.js +0 -379
  402. package/configure/node_modules/@pie-lib/math-input/src/keys/index.js +0 -21
  403. package/configure/node_modules/@pie-lib/math-input/src/keys/log.js +0 -22
  404. package/configure/node_modules/@pie-lib/math-input/src/keys/logic.js +0 -15
  405. package/configure/node_modules/@pie-lib/math-input/src/keys/matrices.js +0 -15
  406. package/configure/node_modules/@pie-lib/math-input/src/keys/misc.js +0 -60
  407. package/configure/node_modules/@pie-lib/math-input/src/keys/navigation.js +0 -8
  408. package/configure/node_modules/@pie-lib/math-input/src/keys/operators.js +0 -9
  409. package/configure/node_modules/@pie-lib/math-input/src/keys/statistics.js +0 -36
  410. package/configure/node_modules/@pie-lib/math-input/src/keys/sub-sup.js +0 -15
  411. package/configure/node_modules/@pie-lib/math-input/src/keys/trigonometry.js +0 -15
  412. package/configure/node_modules/@pie-lib/math-input/src/keys/utils.js +0 -71
  413. package/configure/node_modules/@pie-lib/math-input/src/keys/vars.js +0 -19
  414. package/configure/node_modules/@pie-lib/math-input/src/math-input.jsx +0 -128
  415. package/configure/node_modules/@pie-lib/math-input/src/mq/custom-elements.js +0 -11
  416. package/configure/node_modules/@pie-lib/math-input/src/mq/index.js +0 -4
  417. package/configure/node_modules/@pie-lib/math-input/src/mq/input.jsx +0 -163
  418. package/configure/node_modules/@pie-lib/math-input/src/mq/static.jsx +0 -145
  419. package/configure/node_modules/@pie-lib/math-rendering/CHANGELOG.json +0 -672
  420. package/configure/node_modules/@pie-lib/math-rendering/CHANGELOG.md +0 -457
  421. package/configure/node_modules/@pie-lib/math-rendering/LICENSE.md +0 -5
  422. package/configure/node_modules/@pie-lib/math-rendering/lib/index.js +0 -30
  423. package/configure/node_modules/@pie-lib/math-rendering/lib/index.js.map +0 -1
  424. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/chtml.js +0 -316
  425. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/chtml.js.map +0 -1
  426. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/index.js +0 -23
  427. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/index.js.map +0 -1
  428. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/mml.js +0 -123
  429. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/mml.js.map +0 -1
  430. package/configure/node_modules/@pie-lib/math-rendering/lib/normalization.js +0 -103
  431. package/configure/node_modules/@pie-lib/math-rendering/lib/normalization.js.map +0 -1
  432. package/configure/node_modules/@pie-lib/math-rendering/lib/render-math.js +0 -281
  433. package/configure/node_modules/@pie-lib/math-rendering/lib/render-math.js.map +0 -1
  434. package/configure/node_modules/@pie-lib/math-rendering/package.json +0 -19
  435. package/configure/node_modules/@pie-lib/math-rendering/playground/demo.html +0 -872
  436. package/configure/node_modules/@pie-lib/math-rendering/playground/demo.js +0 -108
  437. package/configure/node_modules/@pie-lib/math-rendering/playground/main.html +0 -156
  438. package/configure/node_modules/@pie-lib/math-rendering/playground/main.js +0 -16
  439. package/configure/node_modules/@pie-lib/math-rendering/playground/webpack.config.js +0 -29
  440. package/configure/node_modules/@pie-lib/math-rendering/src/index.js +0 -4
  441. package/configure/node_modules/@pie-lib/math-rendering/src/mstack/chtml.js +0 -215
  442. package/configure/node_modules/@pie-lib/math-rendering/src/mstack/index.js +0 -13
  443. package/configure/node_modules/@pie-lib/math-rendering/src/mstack/mml.js +0 -24
  444. package/configure/node_modules/@pie-lib/math-rendering/src/normalization.js +0 -69
  445. package/configure/node_modules/@pie-lib/math-rendering/src/render-math.js +0 -235
  446. package/configure/node_modules/@pie-lib/math-toolbar/CHANGELOG.json +0 -862
  447. package/configure/node_modules/@pie-lib/math-toolbar/CHANGELOG.md +0 -639
  448. package/configure/node_modules/@pie-lib/math-toolbar/LICENSE.md +0 -5
  449. package/configure/node_modules/@pie-lib/math-toolbar/lib/done-button.js +0 -53
  450. package/configure/node_modules/@pie-lib/math-toolbar/lib/done-button.js.map +0 -1
  451. package/configure/node_modules/@pie-lib/math-toolbar/lib/editor-and-pad.js +0 -483
  452. package/configure/node_modules/@pie-lib/math-toolbar/lib/editor-and-pad.js.map +0 -1
  453. package/configure/node_modules/@pie-lib/math-toolbar/lib/index.js +0 -280
  454. package/configure/node_modules/@pie-lib/math-toolbar/lib/index.js.map +0 -1
  455. package/configure/node_modules/@pie-lib/math-toolbar/lib/math-preview.js +0 -173
  456. package/configure/node_modules/@pie-lib/math-toolbar/lib/math-preview.js.map +0 -1
  457. package/configure/node_modules/@pie-lib/math-toolbar/package.json +0 -37
  458. package/configure/node_modules/@pie-lib/math-toolbar/src/done-button.jsx +0 -39
  459. package/configure/node_modules/@pie-lib/math-toolbar/src/editor-and-pad.jsx +0 -388
  460. package/configure/node_modules/@pie-lib/math-toolbar/src/index.jsx +0 -202
  461. package/configure/node_modules/@pie-lib/math-toolbar/src/math-preview.jsx +0 -107
  462. package/configure/node_modules/@pie-lib/render-ui/CHANGELOG.json +0 -937
  463. package/configure/node_modules/@pie-lib/render-ui/CHANGELOG.md +0 -626
  464. package/configure/node_modules/@pie-lib/render-ui/LICENSE.md +0 -5
  465. package/configure/node_modules/@pie-lib/render-ui/README.md +0 -33
  466. package/configure/node_modules/@pie-lib/render-ui/lib/collapsible/index.js +0 -146
  467. package/configure/node_modules/@pie-lib/render-ui/lib/collapsible/index.js.map +0 -1
  468. package/configure/node_modules/@pie-lib/render-ui/lib/color.js +0 -134
  469. package/configure/node_modules/@pie-lib/render-ui/lib/color.js.map +0 -1
  470. package/configure/node_modules/@pie-lib/render-ui/lib/feedback.js +0 -160
  471. package/configure/node_modules/@pie-lib/render-ui/lib/feedback.js.map +0 -1
  472. package/configure/node_modules/@pie-lib/render-ui/lib/has-text.js +0 -24
  473. package/configure/node_modules/@pie-lib/render-ui/lib/has-text.js.map +0 -1
  474. package/configure/node_modules/@pie-lib/render-ui/lib/html-and-math.js +0 -102
  475. package/configure/node_modules/@pie-lib/render-ui/lib/html-and-math.js.map +0 -1
  476. package/configure/node_modules/@pie-lib/render-ui/lib/index.js +0 -104
  477. package/configure/node_modules/@pie-lib/render-ui/lib/index.js.map +0 -1
  478. package/configure/node_modules/@pie-lib/render-ui/lib/input-container.js +0 -60
  479. package/configure/node_modules/@pie-lib/render-ui/lib/input-container.js.map +0 -1
  480. package/configure/node_modules/@pie-lib/render-ui/lib/preview-layout.js +0 -133
  481. package/configure/node_modules/@pie-lib/render-ui/lib/preview-layout.js.map +0 -1
  482. package/configure/node_modules/@pie-lib/render-ui/lib/preview-prompt.js +0 -162
  483. package/configure/node_modules/@pie-lib/render-ui/lib/preview-prompt.js.map +0 -1
  484. package/configure/node_modules/@pie-lib/render-ui/lib/purpose.js +0 -28
  485. package/configure/node_modules/@pie-lib/render-ui/lib/purpose.js.map +0 -1
  486. package/configure/node_modules/@pie-lib/render-ui/lib/readable.js +0 -28
  487. package/configure/node_modules/@pie-lib/render-ui/lib/readable.js.map +0 -1
  488. package/configure/node_modules/@pie-lib/render-ui/lib/response-indicators.js +0 -160
  489. package/configure/node_modules/@pie-lib/render-ui/lib/response-indicators.js.map +0 -1
  490. package/configure/node_modules/@pie-lib/render-ui/lib/withUndoReset.js +0 -206
  491. package/configure/node_modules/@pie-lib/render-ui/lib/withUndoReset.js.map +0 -1
  492. package/configure/node_modules/@pie-lib/render-ui/package.json +0 -30
  493. package/configure/node_modules/@pie-lib/render-ui/src/collapsible/index.jsx +0 -68
  494. package/configure/node_modules/@pie-lib/render-ui/src/color.js +0 -48
  495. package/configure/node_modules/@pie-lib/render-ui/src/feedback.jsx +0 -100
  496. package/configure/node_modules/@pie-lib/render-ui/src/has-text.js +0 -14
  497. package/configure/node_modules/@pie-lib/render-ui/src/html-and-math.js +0 -40
  498. package/configure/node_modules/@pie-lib/render-ui/src/index.js +0 -27
  499. package/configure/node_modules/@pie-lib/render-ui/src/input-container.jsx +0 -41
  500. package/configure/node_modules/@pie-lib/render-ui/src/preview-layout.jsx +0 -77
  501. package/configure/node_modules/@pie-lib/render-ui/src/preview-prompt.jsx +0 -90
  502. package/configure/node_modules/@pie-lib/render-ui/src/purpose.jsx +0 -19
  503. package/configure/node_modules/@pie-lib/render-ui/src/readable.jsx +0 -19
  504. package/configure/node_modules/@pie-lib/render-ui/src/response-indicators.jsx +0 -89
  505. package/configure/node_modules/@pie-lib/render-ui/src/withUndoReset.jsx +0 -118
@@ -1,440 +0,0 @@
1
- "use strict";
2
-
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports["default"] = exports.KeyPad = void 0;
9
-
10
- var _react = _interopRequireDefault(require("react"));
11
-
12
- var _propTypes = _interopRequireDefault(require("prop-types"));
13
-
14
- var _Button = _interopRequireDefault(require("@material-ui/core/Button"));
15
-
16
- var _IconButton = _interopRequireDefault(require("@material-ui/core/IconButton"));
17
-
18
- var _styles = require("@material-ui/core/styles");
19
-
20
- var _classnames = _interopRequireDefault(require("classnames"));
21
-
22
- var _colorManipulator = require("@material-ui/core/styles/colorManipulator");
23
-
24
- var _green = _interopRequireDefault(require("@material-ui/core/colors/green"));
25
-
26
- var _keysLayout = require("./keys-layout");
27
-
28
- var mq = _interopRequireWildcard(require("../mq"));
29
-
30
- var _keys = require("../keys");
31
-
32
- var _debug = _interopRequireDefault(require("debug"));
33
-
34
- var _lodash = _interopRequireDefault(require("lodash"));
35
-
36
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
37
-
38
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
39
-
40
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
41
-
42
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
43
-
44
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
45
-
46
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
47
-
48
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
49
-
50
- function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
51
-
52
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
53
-
54
- function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
55
-
56
- function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
57
-
58
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
59
-
60
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
61
-
62
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
63
-
64
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
65
-
66
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
67
-
68
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
69
-
70
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
71
-
72
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
73
-
74
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
75
-
76
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
77
-
78
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
79
-
80
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
81
-
82
- var log = (0, _debug["default"])('pie-lib:math-inline:keypad');
83
- var LatexButton = (0, _styles.withStyles)(function (theme) {
84
- return {
85
- root: {
86
- textTransform: 'none',
87
- padding: 0,
88
- margin: 0,
89
- fontSize: '110% !important'
90
- },
91
- latexButton: {
92
- pointerEvents: 'none',
93
- textTransform: 'none !important',
94
- '& .mq-scaled.mq-sqrt-prefix': {
95
- transform: 'scale(1, 0.9) !important'
96
- },
97
- '& .mq-sup-only .mq-sup': {
98
- marginBottom: '0.9px !important'
99
- },
100
- '& .mq-empty': {
101
- backgroundColor: "".concat((0, _colorManipulator.fade)(theme.palette.secondary.main, 0.4), " !important")
102
- },
103
- '& .mq-overline .mq-overline-inner': {
104
- borderTop: '2px solid black'
105
- },
106
- '& .mq-overarrow': {
107
- width: '30px',
108
- marginTop: '0 !important',
109
- borderTop: '2px solid black',
110
- '&.mq-arrow-both': {
111
- '& *': {
112
- lineHeight: '1 !important'
113
- },
114
- '&:before': {
115
- fontSize: '80%',
116
- left: 'calc(-13%)',
117
- top: '-0.25em'
118
- },
119
- '&:after': {
120
- fontSize: '80% !important',
121
- right: 'calc(-13%) !important',
122
- top: '-1.5em'
123
- },
124
- '&.mq-empty:before': {
125
- fontSize: '80%',
126
- left: 'calc(-13%)',
127
- top: '-0.25em'
128
- },
129
- '&.mq-empty:after': {
130
- fontSize: '80%',
131
- right: 'calc(-13%)',
132
- top: '-0.25em'
133
- },
134
- '&.mq-empty': {
135
- minHeight: '1.4em'
136
- }
137
- },
138
- '&.mq-arrow-right:before': {
139
- fontSize: '80%',
140
- right: 'calc(-13%)',
141
- top: '-0.25em'
142
- },
143
- '& .mq-overarrow-inner': {
144
- border: 'none !important'
145
- },
146
- '& .mq-overarrow-inner .mq-overarrow-inner-right': {
147
- display: 'none !important'
148
- }
149
- },
150
- '& .mq-root-block': {
151
- padding: '5px'
152
- },
153
- '& .mq-overarrow.mq-arrow-both.mq-empty:after': {
154
- right: '-6px',
155
- fontSize: '80% !important',
156
- top: '-3px'
157
- },
158
- '& .mq-overarrow.mq-arrow-right.mq-empty:before': {
159
- right: '-5px',
160
- fontSize: '80% !important',
161
- top: '-3px'
162
- },
163
- '& .mq-overarrow.mq-arrow-both.mq-empty:before': {
164
- left: '-6px',
165
- fontSize: '80% !important',
166
- top: '-3px'
167
- },
168
- '& .mq-longdiv-inner': {
169
- borderTop: '1px solid !important',
170
- paddingTop: '1.5px !important'
171
- },
172
- '& .mq-parallelogram': {
173
- lineHeight: 0.85
174
- },
175
- '& .mq-overarc': {
176
- borderTop: '2px solid black !important',
177
- '& .mq-overline-inner': {
178
- borderTop: 'none !important',
179
- paddingTop: '0 !important'
180
- }
181
- }
182
- },
183
- parallelButton: {
184
- fontStyle: 'italic'
185
- },
186
- leftRightArrowButton: {
187
- '& .mq-overarrow.mq-arrow-both': {
188
- '& .mq-overline-inner': {
189
- borderTop: 'none !important',
190
- paddingTop: '0 !important'
191
- },
192
- '&:after': {
193
- top: '-1.64em !important'
194
- }
195
- }
196
- }
197
- };
198
- })(function (props) {
199
- var buttonClass;
200
-
201
- if (props.latex === '\\parallel') {
202
- buttonClass = (0, _classnames["default"])(props.classes.latexButton, props.mqClassName, props.classes.parallelButton);
203
- } else if (props.latex === '\\overleftrightarrow{\\overline{}}') {
204
- buttonClass = (0, _classnames["default"])(props.classes.latexButton, props.mqClassName, props.classes.leftRightArrowButton);
205
- } else {
206
- buttonClass = (0, _classnames["default"])(props.classes.latexButton, props.mqClassName);
207
- }
208
-
209
- try {
210
- var MQ = MathQuill.getInterface(2);
211
- var span = document.createElement('span');
212
- span.innerHTML = '';
213
- var mathField = MQ.StaticMath(span);
214
- mathField.parseLatex(props.latex);
215
- mathField.latex(props.latex);
216
- } catch (e) {
217
- // received latex has errors - do not create button
218
- return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null);
219
- }
220
-
221
- return /*#__PURE__*/_react["default"].createElement(_Button["default"], {
222
- className: (0, _classnames["default"])(props.classes.root, props.className),
223
- onClick: props.onClick
224
- }, /*#__PURE__*/_react["default"].createElement(mq.Static, {
225
- className: buttonClass,
226
- latex: props.latex
227
- }));
228
- });
229
-
230
- var createCustomLayout = function createCustomLayout(layoutObj) {
231
- if (layoutObj) {
232
- return {
233
- gridTemplateColumns: "repeat(".concat(layoutObj.columns, ", minmax(min-content, 150px))"),
234
- gridTemplateRows: "repeat(".concat(layoutObj.rows, ", minmax(40px, 60px))"),
235
- gridAutoFlow: 'initial'
236
- };
237
- }
238
-
239
- return {};
240
- };
241
-
242
- var KeyPad = /*#__PURE__*/function (_React$Component) {
243
- _inherits(KeyPad, _React$Component);
244
-
245
- var _super = _createSuper(KeyPad);
246
-
247
- function KeyPad() {
248
- var _this;
249
-
250
- _classCallCheck(this, KeyPad);
251
-
252
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
253
- args[_key] = arguments[_key];
254
- }
255
-
256
- _this = _super.call.apply(_super, [this].concat(args));
257
-
258
- _defineProperty(_assertThisInitialized(_this), "buttonClick", function (key) {
259
- log('[buttonClick]', key);
260
- var onPress = _this.props.onPress;
261
- onPress(key);
262
- });
263
-
264
- _defineProperty(_assertThisInitialized(_this), "flowKeys", function (base, extras) {
265
- var transposed = [].concat(_toConsumableArray((0, _keysLayout.sortKeys)(base)), _toConsumableArray((0, _keysLayout.sortKeys)(extras)));
266
- return _lodash["default"].flatten(transposed);
267
- });
268
-
269
- _defineProperty(_assertThisInitialized(_this), "keyIsNotAllowed", function (key) {
270
- var noDecimal = _this.props.noDecimal;
271
-
272
- if ((key.write === '.' && key.label === '.' || key.write === ',' && key.label === ',') && noDecimal) {
273
- return true;
274
- }
275
-
276
- return false;
277
- });
278
-
279
- return _this;
280
- }
281
-
282
- _createClass(KeyPad, [{
283
- key: "render",
284
- value: function render() {
285
- var _this2 = this;
286
-
287
- var _this$props = this.props,
288
- classes = _this$props.classes,
289
- className = _this$props.className,
290
- baseSet = _this$props.baseSet,
291
- additionalKeys = _this$props.additionalKeys,
292
- layoutForKeyPad = _this$props.layoutForKeyPad,
293
- onFocus = _this$props.onFocus,
294
- mode = _this$props.mode;
295
- var noBaseSet = ['non-negative-integers', 'integers', 'decimals', 'fractions', 'item-authoring', 'language'];
296
- var keysWithoutBaseSet = noBaseSet.includes(mode);
297
- var allKeys = keysWithoutBaseSet ? this.flowKeys([], additionalKeys || []) : this.flowKeys(baseSet, additionalKeys || []); //, ...sortKeys(additionalKeys)];
298
-
299
- var shift = allKeys.length % 5 ? 1 : 0;
300
-
301
- var style = _objectSpread({
302
- gridTemplateColumns: "repeat(".concat(Math.floor(allKeys.length / 5) + shift, ", minmax(min-content, 150px))")
303
- }, createCustomLayout(layoutForKeyPad));
304
-
305
- return /*#__PURE__*/_react["default"].createElement("div", {
306
- className: (0, _classnames["default"])(classes.keys, className, classes[mode]),
307
- style: style,
308
- onFocus: onFocus
309
- }, allKeys.map(function (k, index) {
310
- var onClick = _this2.buttonClick.bind(_this2, k);
311
-
312
- if (!k) {
313
- return /*#__PURE__*/_react["default"].createElement("span", {
314
- key: "empty-".concat(index)
315
- });
316
- }
317
-
318
- var common = _objectSpread({
319
- onClick: onClick,
320
- className: (0, _classnames["default"])(classes.labelButton, !keysWithoutBaseSet && classes[k.category], classes[k.extraClass], k.label === ',' && classes.comma, k.label === '.' && classes.dot),
321
- disabled: _this2.keyIsNotAllowed(k),
322
- key: "".concat(k.label || k.latex || k.command, "-").concat(index)
323
- }, k.actions || {});
324
-
325
- if (k.latex) {
326
- return /*#__PURE__*/_react["default"].createElement(LatexButton, _extends({
327
- latex: k.latex
328
- }, common, {
329
- className: classes.latexButton
330
- }));
331
- }
332
-
333
- if (k.label) {
334
- return /*#__PURE__*/_react["default"].createElement(_Button["default"], common, k.label);
335
- } else {
336
- var Icon = k.icon ? k.icon : 'div';
337
- return /*#__PURE__*/_react["default"].createElement(_IconButton["default"], _extends({
338
- tabIndex: '-1'
339
- }, common), /*#__PURE__*/_react["default"].createElement(Icon, {
340
- className: classes.icon
341
- }));
342
- }
343
- }));
344
- }
345
- }]);
346
-
347
- return KeyPad;
348
- }(_react["default"].Component);
349
-
350
- exports.KeyPad = KeyPad;
351
-
352
- _defineProperty(KeyPad, "propTypes", {
353
- classes: _propTypes["default"].object.isRequired,
354
- className: _propTypes["default"].string,
355
- baseSet: _propTypes["default"].array,
356
- additionalKeys: _propTypes["default"].array,
357
- layoutForKeyPad: _propTypes["default"].object,
358
- onPress: _propTypes["default"].func.isRequired,
359
- onFocus: _propTypes["default"].func,
360
- noDecimal: _propTypes["default"].bool,
361
- mode: _propTypes["default"].string
362
- });
363
-
364
- _defineProperty(KeyPad, "defaultProps", {
365
- baseSet: _keys.baseSet,
366
- noDecimal: false
367
- });
368
-
369
- var styles = function styles(theme) {
370
- return {
371
- keys: {
372
- '& *': {
373
- fontFamily: 'Roboto, Helvetica, Arial, sans-serif !important'
374
- },
375
- width: '100%',
376
- display: 'grid',
377
- gridTemplateRows: 'repeat(5, minmax(40px, 60px))',
378
- gridRowGap: '0px',
379
- gridColumnGap: '0px',
380
- gridAutoFlow: 'column'
381
- },
382
- character: {
383
- textTransform: 'initial !important'
384
- },
385
- holder: {
386
- position: 'relative',
387
- width: '100%',
388
- height: '100%',
389
- backgroundColor: '#cef',
390
- borderRadius: 0,
391
- padding: "".concat(theme.spacing.unit, "px 0 ").concat(theme.spacing.unit, "px 0")
392
- },
393
- labelButton: {
394
- minWidth: 'auto',
395
- fontSize: '140% !important',
396
- backgroundColor: (0, _colorManipulator.lighten)(theme.palette.primary.light, 0.5),
397
- '&:hover': {
398
- backgroundColor: (0, _colorManipulator.lighten)(theme.palette.primary.light, 0.7)
399
- },
400
- borderRadius: 0
401
- },
402
- latexButton: {
403
- minWidth: 'auto',
404
- borderRadius: 0,
405
- backgroundColor: (0, _colorManipulator.lighten)(theme.palette.primary.light, 0.5),
406
- '&:hover': {
407
- backgroundColor: (0, _colorManipulator.lighten)(theme.palette.primary.light, 0.7)
408
- }
409
- },
410
- base: {},
411
- operators: {
412
- backgroundColor: (0, _colorManipulator.lighten)(theme.palette.secondary.light, 0.5),
413
- '&:hover': {
414
- backgroundColor: (0, _colorManipulator.lighten)(theme.palette.secondary.light, 0.7)
415
- }
416
- },
417
- comparison: {
418
- backgroundColor: (0, _colorManipulator.lighten)(_green["default"][500], 0.5),
419
- '&:hover': {
420
- backgroundColor: (0, _colorManipulator.lighten)(_green["default"][500], 0.7)
421
- }
422
- },
423
- comma: {
424
- fontSize: '200% !important',
425
- lineHeight: '100%'
426
- },
427
- dot: {
428
- fontSize: '200% !important',
429
- lineHeight: '100%'
430
- },
431
- icon: {
432
- height: '30px'
433
- }
434
- };
435
- };
436
-
437
- var _default = (0, _styles.withStyles)(styles)(KeyPad);
438
-
439
- exports["default"] = _default;
440
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/keypad/index.jsx"],"names":["log","LatexButton","theme","root","textTransform","padding","margin","fontSize","latexButton","pointerEvents","transform","marginBottom","backgroundColor","palette","secondary","main","borderTop","width","marginTop","lineHeight","left","top","right","minHeight","border","display","paddingTop","parallelButton","fontStyle","leftRightArrowButton","props","buttonClass","latex","classes","mqClassName","MQ","MathQuill","getInterface","span","document","createElement","innerHTML","mathField","StaticMath","parseLatex","e","className","onClick","createCustomLayout","layoutObj","gridTemplateColumns","columns","gridTemplateRows","rows","gridAutoFlow","KeyPad","key","onPress","base","extras","transposed","_","flatten","noDecimal","write","label","baseSet","additionalKeys","layoutForKeyPad","onFocus","mode","noBaseSet","keysWithoutBaseSet","includes","allKeys","flowKeys","shift","length","style","Math","floor","keys","map","k","index","buttonClick","bind","common","labelButton","category","extraClass","comma","dot","disabled","keyIsNotAllowed","command","actions","Icon","icon","React","Component","PropTypes","object","isRequired","string","array","func","bool","styles","fontFamily","gridRowGap","gridColumnGap","character","holder","position","height","borderRadius","spacing","unit","minWidth","primary","light","operators","comparison","green"],"mappings":";;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,IAAMA,GAAG,GAAG,uBAAM,4BAAN,CAAZ;AAEA,IAAMC,WAAW,GAAG,wBAAW,UAAAC,KAAK;AAAA,SAAK;AACvCC,IAAAA,IAAI,EAAE;AACJC,MAAAA,aAAa,EAAE,MADX;AAEJC,MAAAA,OAAO,EAAE,CAFL;AAGJC,MAAAA,MAAM,EAAE,CAHJ;AAIJC,MAAAA,QAAQ,EAAE;AAJN,KADiC;AAOvCC,IAAAA,WAAW,EAAE;AACXC,MAAAA,aAAa,EAAE,MADJ;AAEXL,MAAAA,aAAa,EAAE,iBAFJ;AAGX,qCAA+B;AAC7BM,QAAAA,SAAS,EAAE;AADkB,OAHpB;AAMX,gCAA0B;AACxBC,QAAAA,YAAY,EAAE;AADU,OANf;AASX,qBAAe;AACbC,QAAAA,eAAe,YAAK,4BAAKV,KAAK,CAACW,OAAN,CAAcC,SAAd,CAAwBC,IAA7B,EAAmC,GAAnC,CAAL;AADF,OATJ;AAYX,2CAAqC;AACnCC,QAAAA,SAAS,EAAE;AADwB,OAZ1B;AAeX,yBAAmB;AACjBC,QAAAA,KAAK,EAAE,MADU;AAEjBC,QAAAA,SAAS,EAAE,cAFM;AAGjBF,QAAAA,SAAS,EAAE,iBAHM;AAIjB,2BAAmB;AACjB,iBAAO;AACLG,YAAAA,UAAU,EAAE;AADP,WADU;AAIjB,sBAAY;AACVZ,YAAAA,QAAQ,EAAE,KADA;AAEVa,YAAAA,IAAI,EAAE,YAFI;AAGVC,YAAAA,GAAG,EAAE;AAHK,WAJK;AASjB,qBAAW;AACTd,Y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C,SAAd,CAAwB2G,KAAhC,EAAuC,GAAvC,CADR;AAET,iBAAW;AACT7G,QAAAA,eAAe,EAAE,+BAAQV,KAAK,CAACW,OAAN,CAAcC,SAAd,CAAwB2G,KAAhC,EAAuC,GAAvC;AADR;AAFF,KAzCY;AA+CvBE,IAAAA,UAAU,EAAE;AACV/G,MAAAA,eAAe,EAAE,+BAAQgH,kBAAM,GAAN,CAAR,EAAoB,GAApB,CADP;AAEV,iBAAW;AACThH,QAAAA,eAAe,EAAE,+BAAQgH,kBAAM,GAAN,CAAR,EAAoB,GAApB;AADR;AAFD,KA/CW;AAqDvBjC,IAAAA,KAAK,EAAE;AACLpF,MAAAA,QAAQ,EAAE,iBADL;AAELY,MAAAA,UAAU,EAAE;AAFP,KArDgB;AAyDvByE,IAAAA,GAAG,EAAE;AACHrF,MAAAA,QAAQ,EAAE,iBADP;AAEHY,MAAAA,UAAU,EAAE;AAFT,KAzDkB;AA6DvB+E,IAAAA,IAAI,EAAE;AACJiB,MAAAA,MAAM,EAAE;AADJ;AA7DiB,GAAL;AAAA,CAApB;;eAkEe,wBAAWP,MAAX,EAAmBrD,MAAnB,C","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Button from '@material-ui/core/Button';\nimport IconButton from '@material-ui/core/IconButton';\nimport { withStyles } from '@material-ui/core/styles';\nimport classNames from 'classnames';\nimport { lighten, fade } from '@material-ui/core/styles/colorManipulator';\nimport green from '@material-ui/core/colors/green';\nimport { sortKeys } from './keys-layout';\nimport * as mq from '../mq';\nimport { baseSet } from '../keys';\nimport debug from 'debug';\nimport _ from 'lodash';\n\nconst log = debug('pie-lib:math-inline:keypad');\n\nconst LatexButton = withStyles(theme => ({\n root: {\n textTransform: 'none',\n padding: 0,\n margin: 0,\n fontSize: '110% !important'\n },\n latexButton: {\n pointerEvents: 'none',\n textTransform: 'none !important',\n '& .mq-scaled.mq-sqrt-prefix': {\n transform: 'scale(1, 0.9) !important'\n },\n '& .mq-sup-only .mq-sup': {\n marginBottom: '0.9px !important'\n },\n '& .mq-empty': {\n backgroundColor: `${fade(theme.palette.secondary.main, 0.4)} !important`\n },\n '& .mq-overline .mq-overline-inner': {\n borderTop: '2px solid black'\n },\n '& .mq-overarrow': {\n width: '30px',\n marginTop: '0 !important',\n borderTop: '2px solid black',\n '&.mq-arrow-both': {\n '& *': {\n lineHeight: '1 !important'\n },\n '&:before': {\n fontSize: '80%',\n left: 'calc(-13%)',\n top: '-0.25em'\n },\n '&:after': {\n fontSize: '80% !important',\n right: 'calc(-13%) !important',\n top: '-1.5em'\n },\n '&.mq-empty:before': {\n fontSize: '80%',\n left: 'calc(-13%)',\n top: '-0.25em'\n },\n '&.mq-empty:after': {\n fontSize: '80%',\n right: 'calc(-13%)',\n top: '-0.25em'\n },\n '&.mq-empty': {\n minHeight: '1.4em'\n }\n },\n '&.mq-arrow-right:before': {\n fontSize: '80%',\n right: 'calc(-13%)',\n top: '-0.25em'\n },\n '& .mq-overarrow-inner': {\n border: 'none !important'\n },\n '& .mq-overarrow-inner .mq-overarrow-inner-right': {\n display: 'none !important'\n }\n },\n '& .mq-root-block': {\n padding: '5px'\n },\n '& .mq-overarrow.mq-arrow-both.mq-empty:after': {\n right: '-6px',\n fontSize: '80% !important',\n top: '-3px'\n },\n '& .mq-overarrow.mq-arrow-right.mq-empty:before': {\n right: '-5px',\n fontSize: '80% !important',\n top: '-3px'\n },\n '& .mq-overarrow.mq-arrow-both.mq-empty:before': {\n left: '-6px',\n fontSize: '80% !important',\n top: '-3px'\n },\n '& .mq-longdiv-inner': {\n borderTop: '1px solid !important',\n paddingTop: '1.5px !important'\n },\n '& .mq-parallelogram': {\n lineHeight: 0.85\n },\n '& .mq-overarc': {\n borderTop: '2px solid black !important',\n '& .mq-overline-inner': {\n borderTop: 'none !important',\n paddingTop: '0 !important'\n }\n }\n },\n parallelButton: {\n fontStyle: 'italic'\n },\n leftRightArrowButton: {\n '& .mq-overarrow.mq-arrow-both': {\n '& .mq-overline-inner': {\n borderTop: 'none !important',\n paddingTop: '0 !important'\n },\n '&:after': {\n top: '-1.64em !important'\n }\n }\n }\n}))(props => {\n let buttonClass;\n\n if (props.latex === '\\\\parallel') {\n buttonClass = classNames(\n props.classes.latexButton,\n props.mqClassName,\n props.classes.parallelButton\n );\n } else if (props.latex === '\\\\overleftrightarrow{\\\\overline{}}') {\n buttonClass = classNames(\n props.classes.latexButton,\n props.mqClassName,\n props.classes.leftRightArrowButton\n );\n } else {\n buttonClass = classNames(props.classes.latexButton, props.mqClassName);\n }\n\n try {\n const MQ = MathQuill.getInterface(2);\n const span = document.createElement('span');\n span.innerHTML = '';\n const mathField = MQ.StaticMath(span);\n\n mathField.parseLatex(props.latex);\n mathField.latex(props.latex);\n } catch (e) {\n // received latex has errors - do not create button\n return <></>;\n }\n\n return (\n <Button className={classNames(props.classes.root, props.className)} onClick={props.onClick}>\n <mq.Static className={buttonClass} latex={props.latex} />\n </Button>\n );\n});\n\nconst createCustomLayout = layoutObj => {\n if (layoutObj) {\n return {\n gridTemplateColumns: `repeat(${layoutObj.columns}, minmax(min-content, 150px))`,\n gridTemplateRows: `repeat(${layoutObj.rows}, minmax(40px, 60px))`,\n gridAutoFlow: 'initial'\n };\n }\n\n return {};\n};\n\nexport class KeyPad extends React.Component {\n static propTypes = {\n classes: PropTypes.object.isRequired,\n className: PropTypes.string,\n baseSet: PropTypes.array,\n additionalKeys: PropTypes.array,\n layoutForKeyPad: PropTypes.object,\n onPress: PropTypes.func.isRequired,\n onFocus: PropTypes.func,\n noDecimal: PropTypes.bool,\n mode: PropTypes.string\n };\n static defaultProps = {\n baseSet: baseSet,\n noDecimal: false\n };\n\n buttonClick = key => {\n log('[buttonClick]', key);\n const { onPress } = this.props;\n onPress(key);\n };\n\n flowKeys = (base, extras) => {\n const transposed = [...sortKeys(base), ...sortKeys(extras)];\n return _.flatten(transposed);\n };\n\n keyIsNotAllowed = key => {\n const { noDecimal } = this.props;\n\n if (\n ((key.write === '.' && key.label === '.') || (key.write === ',' && key.label === ',')) &&\n noDecimal\n ) {\n return true;\n }\n\n return false;\n };\n\n render() {\n const {\n classes,\n className,\n baseSet,\n additionalKeys,\n layoutForKeyPad,\n onFocus,\n mode\n } = this.props;\n\n const noBaseSet = [\n 'non-negative-integers',\n 'integers',\n 'decimals',\n 'fractions',\n 'item-authoring',\n 'language'\n ];\n\n const keysWithoutBaseSet = noBaseSet.includes(mode);\n const allKeys = keysWithoutBaseSet\n ? this.flowKeys([], additionalKeys || [])\n : this.flowKeys(baseSet, additionalKeys || []); //, ...sortKeys(additionalKeys)];\n\n const shift = allKeys.length % 5 ? 1 : 0;\n const style = {\n gridTemplateColumns: `repeat(${Math.floor(allKeys.length / 5) +\n shift}, minmax(min-content, 150px))`,\n ...createCustomLayout(layoutForKeyPad)\n };\n return (\n <div\n className={classNames(classes.keys, className, classes[mode])}\n style={style}\n onFocus={onFocus}\n >\n {allKeys.map((k, index) => {\n const onClick = this.buttonClick.bind(this, k);\n\n if (!k) {\n return <span key={`empty-${index}`} />;\n }\n\n const common = {\n onClick,\n className: classNames(\n classes.labelButton,\n !keysWithoutBaseSet && classes[k.category],\n classes[k.extraClass],\n k.label === ',' && classes.comma,\n k.label === '.' && classes.dot\n ),\n disabled: this.keyIsNotAllowed(k),\n key: `${k.label || k.latex || k.command}-${index}`,\n ...(k.actions || {})\n };\n\n if (k.latex) {\n return <LatexButton latex={k.latex} {...common} className={classes.latexButton} />;\n }\n\n if (k.label) {\n return <Button {...common}>{k.label}</Button>;\n } else {\n const Icon = k.icon ? k.icon : 'div';\n\n return (\n <IconButton tabIndex={'-1'} {...common}>\n <Icon className={classes.icon} />\n </IconButton>\n );\n }\n })}\n </div>\n );\n }\n}\n\nconst styles = theme => ({\n keys: {\n '& *': {\n fontFamily: 'Roboto, Helvetica, Arial, sans-serif !important'\n },\n width: '100%',\n display: 'grid',\n gridTemplateRows: 'repeat(5, minmax(40px, 60px))',\n gridRowGap: '0px',\n gridColumnGap: '0px',\n gridAutoFlow: 'column'\n },\n character: {\n textTransform: 'initial !important'\n },\n holder: {\n position: 'relative',\n width: '100%',\n height: '100%',\n backgroundColor: '#cef',\n borderRadius: 0,\n padding: `${theme.spacing.unit}px 0 ${theme.spacing.unit}px 0`\n },\n labelButton: {\n minWidth: 'auto',\n fontSize: '140% !important',\n backgroundColor: lighten(theme.palette.primary.light, 0.5),\n '&:hover': {\n backgroundColor: lighten(theme.palette.primary.light, 0.7)\n },\n borderRadius: 0\n },\n latexButton: {\n minWidth: 'auto',\n borderRadius: 0,\n backgroundColor: lighten(theme.palette.primary.light, 0.5),\n '&:hover': {\n backgroundColor: lighten(theme.palette.primary.light, 0.7)\n }\n },\n base: {},\n operators: {\n backgroundColor: lighten(theme.palette.secondary.light, 0.5),\n '&:hover': {\n backgroundColor: lighten(theme.palette.secondary.light, 0.7)\n }\n },\n comparison: {\n backgroundColor: lighten(green[500], 0.5),\n '&:hover': {\n backgroundColor: lighten(green[500], 0.7)\n }\n },\n comma: {\n fontSize: '200% !important',\n lineHeight: '100%'\n },\n dot: {\n fontSize: '200% !important',\n lineHeight: '100%'\n },\n icon: {\n height: '30px'\n }\n});\n\nexport default withStyles(styles)(KeyPad);\n"],"file":"index.js"}
@@ -1,34 +0,0 @@
1
- "use strict";
2
-
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.sortKeys = void 0;
9
-
10
- var _ = _interopRequireWildcard(require("lodash"));
11
-
12
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
13
-
14
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
15
-
16
- /**
17
- * Sort additional keys.
18
- *
19
- * Expects an array of rows.
20
- * @param {} keys
21
- */
22
- var sortKeys = function sortKeys(keys) {
23
- // add any missing rows
24
- _.times(5 - keys.length, function () {
25
- keys.push([]);
26
- });
27
-
28
- var out = _.zip.apply(null, keys);
29
-
30
- return out;
31
- };
32
-
33
- exports.sortKeys = sortKeys;
34
- //# sourceMappingURL=keys-layout.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/keypad/keys-layout.js"],"names":["sortKeys","keys","_","times","length","push","out","zip","apply"],"mappings":";;;;;;;;;AAAA;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACO,IAAMA,QAAQ,GAAG,SAAXA,QAAW,CAAAC,IAAI,EAAI;AAC9B;AACAC,EAAAA,CAAC,CAACC,KAAF,CAAQ,IAAIF,IAAI,CAACG,MAAjB,EAAyB,YAAM;AAC7BH,IAAAA,IAAI,CAACI,IAAL,CAAU,EAAV;AACD,GAFD;;AAIA,MAAMC,GAAG,GAAGJ,CAAC,CAACK,GAAF,CAAMC,KAAN,CAAY,IAAZ,EAAkBP,IAAlB,CAAZ;;AACA,SAAOK,GAAP;AACD,CARM","sourcesContent":["import * as _ from 'lodash';\n\n/**\n * Sort additional keys.\n *\n * Expects an array of rows.\n * @param {} keys\n */\nexport const sortKeys = keys => {\n // add any missing rows\n _.times(5 - keys.length, () => {\n keys.push([]);\n });\n\n const out = _.zip.apply(null, keys);\n return out;\n};\n"],"file":"keys-layout.js"}
@@ -1,41 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.plus = exports.multiply = exports.minus = exports.equals = exports.divide = void 0;
7
-
8
- var _chars = require("./chars");
9
-
10
- var _utils = require("./utils");
11
-
12
- var set = (0, _utils.mkSet)('operators');
13
- var equals = set({
14
- write: '=',
15
- label: '='
16
- });
17
- exports.equals = equals;
18
- var plus = set({
19
- write: '+',
20
- label: '+'
21
- });
22
- exports.plus = plus;
23
- var minus = set({
24
- write: '−',
25
- label: '−'
26
- });
27
- exports.minus = minus;
28
- var divide = set({
29
- name: 'divide',
30
- label: _chars.DIVIDE,
31
- command: '\\divide',
32
- otherNotation: '\\div'
33
- });
34
- exports.divide = divide;
35
- var multiply = set({
36
- name: 'multiply',
37
- label: _chars.MULTIPLY,
38
- command: '\\times'
39
- });
40
- exports.multiply = multiply;
41
- //# sourceMappingURL=basic-operators.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/keys/basic-operators.js"],"names":["set","equals","write","label","plus","minus","divide","name","DIVIDE","command","otherNotation","multiply","MULTIPLY"],"mappings":";;;;;;;AAAA;;AACA;;AAEA,IAAMA,GAAG,GAAG,kBAAM,WAAN,CAAZ;AAEO,IAAMC,MAAM,GAAGD,GAAG,CAAC;AACxBE,EAAAA,KAAK,EAAE,GADiB;AAExBC,EAAAA,KAAK,EAAE;AAFiB,CAAD,CAAlB;;AAKA,IAAMC,IAAI,GAAGJ,GAAG,CAAC;AACtBE,EAAAA,KAAK,EAAE,GADe;AAEtBC,EAAAA,KAAK,EAAE;AAFe,CAAD,CAAhB;;AAKA,IAAME,KAAK,GAAGL,GAAG,CAAC;AACvBE,EAAAA,KAAK,EAAE,GADgB;AAEvBC,EAAAA,KAAK,EAAE;AAFgB,CAAD,CAAjB;;AAKA,IAAMG,MAAM,GAAGN,GAAG,CAAC;AACxBO,EAAAA,IAAI,EAAE,QADkB;AAExBJ,EAAAA,KAAK,EAAEK,aAFiB;AAGxBC,EAAAA,OAAO,EAAE,UAHe;AAIxBC,EAAAA,aAAa,EAAE;AAJS,CAAD,CAAlB;;AAOA,IAAMC,QAAQ,GAAGX,GAAG,CAAC;AAC1BO,EAAAA,IAAI,EAAE,UADoB;AAE1BJ,EAAAA,KAAK,EAAES,eAFmB;AAG1BH,EAAAA,OAAO,EAAE;AAHiB,CAAD,CAApB","sourcesContent":["import { DIVIDE, MULTIPLY } from './chars';\nimport { mkSet } from './utils';\n\nconst set = mkSet('operators');\n\nexport const equals = set({\n write: '=',\n label: '='\n});\n\nexport const plus = set({\n write: '+',\n label: '+'\n});\n\nexport const minus = set({\n write: '−',\n label: '−'\n});\n\nexport const divide = set({\n name: 'divide',\n label: DIVIDE,\n command: '\\\\divide',\n otherNotation: '\\\\div'\n});\n\nexport const multiply = set({\n name: 'multiply',\n label: MULTIPLY,\n command: '\\\\times'\n});\n"],"file":"basic-operators.js"}
@@ -1,17 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.RIGHT_ARROW = exports.MULTIPLY = exports.LEFT_ARROW = exports.DIVIDE = exports.DELETE = void 0;
7
- var DELETE = "\u232B";
8
- exports.DELETE = DELETE;
9
- var LEFT_ARROW = '◀';
10
- exports.LEFT_ARROW = LEFT_ARROW;
11
- var RIGHT_ARROW = '▶';
12
- exports.RIGHT_ARROW = RIGHT_ARROW;
13
- var DIVIDE = "\xF7";
14
- exports.DIVIDE = DIVIDE;
15
- var MULTIPLY = "\xD7";
16
- exports.MULTIPLY = MULTIPLY;
17
- //# sourceMappingURL=chars.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/keys/chars.js"],"names":["DELETE","LEFT_ARROW","RIGHT_ARROW","DIVIDE","MULTIPLY"],"mappings":";;;;;;AAAO,IAAMA,MAAM,GAAG,QAAf;;AACA,IAAMC,UAAU,GAAG,GAAnB;;AACA,IAAMC,WAAW,GAAG,GAApB;;AACA,IAAMC,MAAM,GAAG,MAAf;;AACA,IAAMC,QAAQ,GAAG,MAAjB","sourcesContent":["export const DELETE = '\\u232B';\nexport const LEFT_ARROW = '◀';\nexport const RIGHT_ARROW = '▶';\nexport const DIVIDE = '\\u00F7';\nexport const MULTIPLY = '\\u00D7';\n"],"file":"chars.js"}
@@ -1,46 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.lessThanEqual = exports.lessThan = exports.greaterThanEqual = exports.greaterThan = void 0;
7
-
8
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
9
-
10
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
11
-
12
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
13
-
14
- var set = function set(o) {
15
- return _objectSpread(_objectSpread({}, o), {}, {
16
- category: 'comparison'
17
- });
18
- };
19
-
20
- var lessThan = set({
21
- name: 'Less than',
22
- latex: '<',
23
- command: '\\lt'
24
- });
25
- exports.lessThan = lessThan;
26
- var greaterThan = set({
27
- name: 'Greater than',
28
- latex: '>',
29
- command: '\\gt'
30
- });
31
- exports.greaterThan = greaterThan;
32
- var lessThanEqual = set({
33
- name: 'Less than or equal',
34
- latex: '\\le',
35
- symbol: '<=',
36
- command: '\\le'
37
- });
38
- exports.lessThanEqual = lessThanEqual;
39
- var greaterThanEqual = set({
40
- name: 'Greater than or equal',
41
- symbol: '>=',
42
- command: '\\ge',
43
- latex: '\\ge'
44
- });
45
- exports.greaterThanEqual = greaterThanEqual;
46
- //# sourceMappingURL=comparison.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/keys/comparison.js"],"names":["set","o","category","lessThan","name","latex","command","greaterThan","lessThanEqual","symbol","greaterThanEqual"],"mappings":";;;;;;;;;;;;;AAAA,IAAMA,GAAG,GAAG,SAANA,GAAM,CAAAC,CAAC;AAAA,yCAAUA,CAAV;AAAaC,IAAAA,QAAQ,EAAE;AAAvB;AAAA,CAAb;;AAEO,IAAMC,QAAQ,GAAGH,GAAG,CAAC;AAC1BI,EAAAA,IAAI,EAAE,WADoB;AAE1BC,EAAAA,KAAK,EAAE,GAFmB;AAG1BC,EAAAA,OAAO,EAAE;AAHiB,CAAD,CAApB;;AAMA,IAAMC,WAAW,GAAGP,GAAG,CAAC;AAC7BI,EAAAA,IAAI,EAAE,cADuB;AAE7BC,EAAAA,KAAK,EAAE,GAFsB;AAG7BC,EAAAA,OAAO,EAAE;AAHoB,CAAD,CAAvB;;AAMA,IAAME,aAAa,GAAGR,GAAG,CAAC;AAC/BI,EAAAA,IAAI,EAAE,oBADyB;AAE/BC,EAAAA,KAAK,EAAE,MAFwB;AAG/BI,EAAAA,MAAM,EAAE,IAHuB;AAI/BH,EAAAA,OAAO,EAAE;AAJsB,CAAD,CAAzB;;AAOA,IAAMI,gBAAgB,GAAGV,GAAG,CAAC;AAClCI,EAAAA,IAAI,EAAE,uBAD4B;AAElCK,EAAAA,MAAM,EAAE,IAF0B;AAGlCH,EAAAA,OAAO,EAAE,MAHyB;AAIlCD,EAAAA,KAAK,EAAE;AAJ2B,CAAD,CAA5B","sourcesContent":["const set = o => ({ ...o, category: 'comparison' });\n\nexport const lessThan = set({\n name: 'Less than',\n latex: '<',\n command: '\\\\lt'\n});\n\nexport const greaterThan = set({\n name: 'Greater than',\n latex: '>',\n command: '\\\\gt'\n});\n\nexport const lessThanEqual = set({\n name: 'Less than or equal',\n latex: '\\\\le',\n symbol: '<=',\n command: '\\\\le'\n});\n\nexport const greaterThanEqual = set({\n name: 'Greater than or equal',\n symbol: '>=',\n command: '\\\\ge',\n latex: '\\\\ge'\n});\n"],"file":"comparison.js"}