@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,281 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.fixMathElements = exports.fixMathElement = exports["default"] = void 0;
7
-
8
- var _mathjax = require("mathjax-full/js/mathjax");
9
-
10
- var _mathml = require("mathjax-full/js/input/mathml");
11
-
12
- var _tex = require("mathjax-full/js/input/tex");
13
-
14
- var _chtml = require("mathjax-full/js/output/chtml");
15
-
16
- var _html = require("mathjax-full/js/handlers/html");
17
-
18
- var _browserAdaptor = require("mathjax-full/js/adaptors/browserAdaptor");
19
-
20
- var _AllPackages = require("mathjax-full/js/input/tex/AllPackages");
21
-
22
- var _package = _interopRequireDefault(require("../package.json"));
23
-
24
- var _mstack = require("./mstack");
25
-
26
- var _debug = _interopRequireDefault(require("debug"));
27
-
28
- var _normalization = require("./normalization");
29
-
30
- var _MmlFactory = require("mathjax-full/js/core/MmlTree/MmlFactory");
31
-
32
- var _SerializedMmlVisitor = require("mathjax-full/js/core/MmlTree/SerializedMmlVisitor");
33
-
34
- var _WrapperFactory = require("mathjax-full/js/output/chtml/WrapperFactory");
35
-
36
- var _mspace = require("mathjax-full/js/output/chtml/Wrappers/mspace");
37
-
38
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
39
-
40
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
41
-
42
- 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."); }
43
-
44
- 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); }
45
-
46
- function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
47
-
48
- function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
49
-
50
- 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; }
51
-
52
- 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); }
53
-
54
- 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; }
55
-
56
- 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; }
57
-
58
- 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; }
59
-
60
- if (typeof window !== 'undefined') {
61
- (0, _html.RegisterHTMLHandler)((0, _browserAdaptor.browserAdaptor)());
62
- }
63
-
64
- var visitor = new _SerializedMmlVisitor.SerializedMmlVisitor();
65
-
66
- var toMMl = function toMMl(node) {
67
- return visitor.visitTree(node);
68
- };
69
-
70
- var log = (0, _debug["default"])('pie-lib:math-rendering');
71
- var NEWLINE_BLOCK_REGEX = /\\embed\{newLine\}\[\]/g;
72
- var NEWLINE_LATEX = '\\newline ';
73
-
74
- var getGlobal = function getGlobal() {
75
- var key = "".concat(_package["default"].name, "@").concat(_package["default"].version.split('.')[0]);
76
-
77
- if (typeof window !== 'undefined') {
78
- if (!window[key]) {
79
- window[key] = {};
80
- }
81
-
82
- return window[key];
83
- } else {
84
- return {};
85
- }
86
- };
87
- /** Add temporary support for a global singleDollar override
88
- * <code>
89
- * // This will enable single dollar rendering
90
- * window.pie = window.pie || {};
91
- * window.pie.mathRendering = {useSingleDollar: true };
92
- * </code>
93
- */
94
-
95
-
96
- var defaultOpts = function defaultOpts() {
97
- return getGlobal().opts || {};
98
- };
99
-
100
- var fixMathElement = function fixMathElement(element) {
101
- if (element.dataset.mathHandled) {
102
- return;
103
- }
104
-
105
- var property = 'innerText';
106
-
107
- if (element.textContent) {
108
- property = 'textContent';
109
- }
110
-
111
- if (element[property]) {
112
- element[property] = (0, _normalization.wrapMath)((0, _normalization.unWrapMath)(element[property]).unwrapped); // because mathquill doesn't understand line breaks, sometimes we end up with custom elements on prompts/rationale/etc.
113
- // we need to replace the custom embedded elements with valid latex that Mathjax can understand
114
-
115
- element[property] = element[property].replace(NEWLINE_BLOCK_REGEX, NEWLINE_LATEX);
116
- element.dataset.mathHandled = true;
117
- }
118
- };
119
-
120
- exports.fixMathElement = fixMathElement;
121
-
122
- var fixMathElements = function fixMathElements() {
123
- var mathElements = document.querySelectorAll('[data-latex]');
124
- mathElements.forEach(function (item) {
125
- return fixMathElement(item);
126
- });
127
- };
128
-
129
- exports.fixMathElements = fixMathElements;
130
-
131
- var adjustMathMLStyle = function adjustMathMLStyle() {
132
- var nodes = document.querySelectorAll('math');
133
- nodes.forEach(function (node) {
134
- return node.setAttribute('displaystyle', 'true');
135
- });
136
- };
137
-
138
- var bootstrap = function bootstrap(opts) {
139
- if (typeof window === 'undefined') {
140
- return {
141
- Typeset: function Typeset() {
142
- return {};
143
- }
144
- };
145
- }
146
-
147
- opts = opts || defaultOpts();
148
-
149
- if (opts.useSingleDollar) {
150
- // eslint-disable-next-line
151
- console.warn('[math-rendering] using $ is not advisable, please use $$..$$ or \\(...\\)');
152
- }
153
-
154
- var packages = _AllPackages.AllPackages.filter(function (name) {
155
- return name !== 'bussproofs';
156
- }); // Bussproofs needs an output jax
157
- // The autoload extension predefines all the macros from the extensions that haven't been loaded already
158
- // so that they automatically load the needed extension when they are first used
159
-
160
-
161
- packages.push('autoload');
162
- var macros = {
163
- parallelogram: "\\lower.2em{\\Huge\\unicode{x25B1}}",
164
- overarc: '\\overparen',
165
- napprox: '\\not\\approx',
166
- longdiv: '\\enclose{longdiv}'
167
- };
168
- var texConfig = opts.useSingleDollar ? {
169
- packages: packages,
170
- macros: macros,
171
- inlineMath: [['$', '$'], ['\\(', '\\)']],
172
- processEscapes: true
173
- } : {
174
- packages: packages,
175
- macros: macros
176
- };
177
- var mmlConfig = {
178
- parseError: function parseError(node) {
179
- // function to process parsing errors
180
- console.log('error:', node);
181
- this.error(this.adaptor.textContent(node).replace(/\n.*/g, ''));
182
- }
183
- };
184
- var fontURL = "https://unpkg.com/mathjax-full@".concat(_mathjax.mathjax.version, "/ts/output/chtml/fonts/tex-woff-v2");
185
- var htmlConfig = {
186
- fontURL: fontURL,
187
- wrapperFactory: new _WrapperFactory.CHTMLWrapperFactory(_objectSpread(_objectSpread({}, _WrapperFactory.CHTMLWrapperFactory.defaultNodes), _mstack.chtmlNodes))
188
- };
189
- var mml = new _mathml.MathML(mmlConfig);
190
- var customMmlFactory = new _MmlFactory.MmlFactory(_objectSpread(_objectSpread({}, _MmlFactory.MmlFactory.defaultNodes), _mstack.mmlNodes));
191
-
192
- var html = _mathjax.mathjax.document(document, {
193
- compileError: function compileError(mj, math, err) {
194
- console.log('bad math?:', math);
195
- console.error(err);
196
- },
197
- typesetError: function typesetError(doc, math, err) {
198
- console.log('typeset error');
199
- console.error(err);
200
- doc.typesetError(math, err);
201
- },
202
- InputJax: [new _tex.TeX(texConfig), mml],
203
- OutputJax: new _chtml.CHTML(htmlConfig)
204
- }); // Note: we must set this *after* mathjax.document (no idea why)
205
-
206
-
207
- mml.setMmlFactory(customMmlFactory);
208
- return {
209
- version: _mathjax.mathjax.version,
210
- html: html,
211
- Typeset: function Typeset() {
212
- for (var _len = arguments.length, elements = new Array(_len), _key = 0; _key < _len; _key++) {
213
- elements[_key] = arguments[_key];
214
- }
215
-
216
- var updatedDocument = this.html.findMath(elements.length ? {
217
- elements: elements
218
- } : {}).compile().getMetrics().typeset().updateDocument();
219
-
220
- try {
221
- var list = updatedDocument.math.list;
222
-
223
- for (var item = list.next; _typeof(item.data) !== 'symbol'; item = item.next) {
224
- var mathMl = toMMl(item.data.root);
225
- var parsedMathMl = mathMl.replaceAll('\n', '');
226
- item.data.typesetRoot.setAttribute('data-mathml', parsedMathMl);
227
- }
228
- } catch (e) {
229
- console.error(e.toString());
230
- }
231
-
232
- updatedDocument.clear();
233
- }
234
- };
235
- };
236
-
237
- var renderMath = function renderMath(el, renderOpts) {
238
- //TODO: remove this - has nothing to do with math-rendering (it's from editable-html)
239
- fixMathElements();
240
- adjustMathMLStyle();
241
-
242
- if (!getGlobal().instance) {
243
- getGlobal().instance = bootstrap(renderOpts);
244
- }
245
-
246
- if (!el) {
247
- log('el is undefined');
248
- return;
249
- }
250
-
251
- if (el instanceof Element) {
252
- getGlobal().instance.Typeset(el);
253
- } else if (el.length) {
254
- var _getGlobal$instance;
255
-
256
- var arr = Array.from(el);
257
-
258
- (_getGlobal$instance = getGlobal().instance).Typeset.apply(_getGlobal$instance, _toConsumableArray(arr));
259
- }
260
- };
261
- /**
262
- * This style is added to overried default styling of mjx-mspace Mathjax tag
263
- * In mathjax src code \newline latex gets parsed to <mjx-mspace></mjx-mspace>,
264
- * but has the default style
265
- * 'mjx-mspace': {
266
- "display": 'in-line',
267
- "text-align": 'left'
268
- } which prevents it from showing as a newline value
269
- */
270
-
271
-
272
- _mspace.CHTMLmspace.styles = {
273
- 'mjx-mspace': {
274
- display: 'block',
275
- 'text-align': 'center',
276
- height: '5px'
277
- }
278
- };
279
- var _default = renderMath;
280
- exports["default"] = _default;
281
- //# sourceMappingURL=render-math.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/render-math.js"],"names":["window","visitor","SerializedMmlVisitor","toMMl","node","visitTree","log","NEWLINE_BLOCK_REGEX","NEWLINE_LATEX","getGlobal","key","pkg","name","version","split","defaultOpts","opts","fixMathElement","element","dataset","mathHandled","property","textContent","unwrapped","replace","fixMathElements","mathElements","document","querySelectorAll","forEach","item","adjustMathMLStyle","nodes","setAttribute","bootstrap","Typeset","useSingleDollar","console","warn","packages","AllPackages","filter","push","macros","parallelogram","overarc","napprox","longdiv","texConfig","inlineMath","processEscapes","mmlConfig","parseError","error","adaptor","fontURL","mathjax","htmlConfig","wrapperFactory","CHTMLWrapperFactory","defaultNodes","chtmlNodes","mml","MathML","customMmlFactory","MmlFactory","mmlNodes","html","compileError","mj","math","err","typesetError","doc","InputJax","TeX","OutputJax","CHTML","setMmlFactory","elements","updatedDocument","findMath","length","compile","getMetrics","typeset","updateDocument","list","next","data","mathMl","root","parsedMathMl","replaceAll","typesetRoot","e","toString","clear","renderMath","el","renderOpts","instance","Element","arr","Array","from","CHTMLmspace","styles","display","height"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AAMA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;;;AAXA,IAAI,OAAOA,MAAP,KAAkB,WAAtB,EAAmC;AACjC,iCAAoB,qCAApB;AACD;;AAWD,IAAMC,OAAO,GAAG,IAAIC,0CAAJ,EAAhB;;AACA,IAAMC,KAAK,GAAG,SAARA,KAAQ,CAAAC,IAAI;AAAA,SAAIH,OAAO,CAACI,SAAR,CAAkBD,IAAlB,CAAJ;AAAA,CAAlB;;AAEA,IAAME,GAAG,GAAG,uBAAM,wBAAN,CAAZ;AAEA,IAAMC,mBAAmB,GAAG,yBAA5B;AACA,IAAMC,aAAa,GAAG,YAAtB;;AAEA,IAAMC,SAAS,GAAG,SAAZA,SAAY,GAAM;AACtB,MAAMC,GAAG,aAAMC,oBAAIC,IAAV,cAAkBD,oBAAIE,OAAJ,CAAYC,KAAZ,CAAkB,GAAlB,EAAuB,CAAvB,CAAlB,CAAT;;AAEA,MAAI,OAAOd,MAAP,KAAkB,WAAtB,EAAmC;AACjC,QAAI,CAACA,MAAM,CAACU,GAAD,CAAX,EAAkB;AAChBV,MAAAA,MAAM,CAACU,GAAD,CAAN,GAAc,EAAd;AACD;;AACD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,MAAI,CAACtB,SAAS,GAAG4F,QAAjB,EAA2B;AACzB5F,IAAAA,SAAS,GAAG4F,QAAZ,GAAuBnE,SAAS,CAACkE,UAAD,CAAhC;AACD;;AAED,MAAI,CAACD,EAAL,EAAS;AACP7F,IAAAA,GAAG,CAAC,iBAAD,CAAH;AACA;AACD;;AAED,MAAI6F,EAAE,YAAYG,OAAlB,EAA2B;AACzB7F,IAAAA,SAAS,GAAG4F,QAAZ,CAAqBlE,OAArB,CAA6BgE,EAA7B;AACD,GAFD,MAEO,IAAIA,EAAE,CAACjB,MAAP,EAAe;AAAA;;AACpB,QAAMqB,GAAG,GAAGC,KAAK,CAACC,IAAN,CAAWN,EAAX,CAAZ;;AACA,2BAAA1F,SAAS,GAAG4F,QAAZ,EAAqBlE,OAArB,+CAAgCoE,GAAhC;AACD;AACF,CApBD;AAsBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACAG,oBAAYC,MAAZ,GAAqB;AACnB,gBAAc;AACZC,IAAAA,OAAO,EAAE,OADG;AAEZ,kBAAc,QAFF;AAGZC,IAAAA,MAAM,EAAE;AAHI;AADK,CAArB;eAQeX,U","sourcesContent":["import { mathjax } from 'mathjax-full/js/mathjax';\nimport { MathML } from 'mathjax-full/js/input/mathml';\nimport { TeX } from 'mathjax-full/js/input/tex';\n\nimport { CHTML } from 'mathjax-full/js/output/chtml';\nimport { RegisterHTMLHandler } from 'mathjax-full/js/handlers/html';\nimport { browserAdaptor } from 'mathjax-full/js/adaptors/browserAdaptor';\nimport { AllPackages } from 'mathjax-full/js/input/tex/AllPackages';\n\nif (typeof window !== 'undefined') {\n RegisterHTMLHandler(browserAdaptor());\n}\n\nimport pkg from '../package.json';\nimport { mmlNodes, chtmlNodes } from './mstack';\nimport debug from 'debug';\nimport { wrapMath, unWrapMath } from './normalization';\nimport { MmlFactory } from 'mathjax-full/js/core/MmlTree/MmlFactory';\nimport { SerializedMmlVisitor } from 'mathjax-full/js/core/MmlTree/SerializedMmlVisitor';\nimport { CHTMLWrapperFactory } from 'mathjax-full/js/output/chtml/WrapperFactory';\nimport { CHTMLmspace } from 'mathjax-full/js/output/chtml/Wrappers/mspace';\n\nconst visitor = new SerializedMmlVisitor();\nconst toMMl = node => visitor.visitTree(node);\n\nconst log = debug('pie-lib:math-rendering');\n\nconst NEWLINE_BLOCK_REGEX = /\\\\embed\\{newLine\\}\\[\\]/g;\nconst NEWLINE_LATEX = '\\\\newline ';\n\nconst getGlobal = () => {\n const key = `${pkg.name}@${pkg.version.split('.')[0]}`;\n\n if (typeof window !== 'undefined') {\n if (!window[key]) {\n window[key] = {};\n }\n return window[key];\n } else {\n return {};\n }\n};\n\n/** Add temporary support for a global singleDollar override\n * <code>\n * // This will enable single dollar rendering\n * window.pie = window.pie || {};\n * window.pie.mathRendering = {useSingleDollar: true };\n * </code>\n */\nconst defaultOpts = () => getGlobal().opts || {};\n\nexport const fixMathElement = element => {\n if (element.dataset.mathHandled) {\n return;\n }\n\n let property = 'innerText';\n\n if (element.textContent) {\n property = 'textContent';\n }\n\n if (element[property]) {\n element[property] = wrapMath(unWrapMath(element[property]).unwrapped);\n // because mathquill doesn't understand line breaks, sometimes we end up with custom elements on prompts/rationale/etc.\n // we need to replace the custom embedded elements with valid latex that Mathjax can understand\n element[property] = element[property].replace(NEWLINE_BLOCK_REGEX, NEWLINE_LATEX);\n element.dataset.mathHandled = true;\n }\n};\n\nexport const fixMathElements = () => {\n const mathElements = document.querySelectorAll('[data-latex]');\n\n mathElements.forEach(item => fixMathElement(item));\n};\n\nconst adjustMathMLStyle = () => {\n const nodes = document.querySelectorAll('math');\n nodes.forEach(node => node.setAttribute('displaystyle', 'true'));\n};\n\nconst bootstrap = opts => {\n if (typeof window === 'undefined') {\n return { Typeset: () => ({}) };\n }\n\n opts = opts || defaultOpts();\n\n if (opts.useSingleDollar) {\n // eslint-disable-next-line\n console.warn('[math-rendering] using $ is not advisable, please use $$..$$ or \\\\(...\\\\)');\n }\n\n const packages = AllPackages.filter(name => name !== 'bussproofs'); // Bussproofs needs an output jax\n\n // The autoload extension predefines all the macros from the extensions that haven't been loaded already\n // so that they automatically load the needed extension when they are first used\n packages.push('autoload');\n\n const macros = {\n parallelogram: '\\\\lower.2em{\\\\Huge\\\\unicode{x25B1}}',\n overarc: '\\\\overparen',\n napprox: '\\\\not\\\\approx',\n longdiv: '\\\\enclose{longdiv}'\n };\n\n const texConfig = opts.useSingleDollar\n ? {\n packages,\n macros,\n inlineMath: [\n ['$', '$'],\n ['\\\\(', '\\\\)']\n ],\n processEscapes: true\n }\n : {\n packages,\n macros\n };\n\n const mmlConfig = {\n parseError: function(node) {\n // function to process parsing errors\n console.log('error:', node);\n this.error(this.adaptor.textContent(node).replace(/\\n.*/g, ''));\n }\n };\n\n const fontURL = `https://unpkg.com/mathjax-full@${mathjax.version}/ts/output/chtml/fonts/tex-woff-v2`;\n const htmlConfig = {\n fontURL,\n\n wrapperFactory: new CHTMLWrapperFactory({\n ...CHTMLWrapperFactory.defaultNodes,\n ...chtmlNodes\n })\n };\n\n const mml = new MathML(mmlConfig);\n\n const customMmlFactory = new MmlFactory({\n ...MmlFactory.defaultNodes,\n ...mmlNodes\n });\n\n const html = mathjax.document(document, {\n compileError: (mj, math, err) => {\n console.log('bad math?:', math);\n console.error(err);\n },\n typesetError: function(doc, math, err) {\n console.log('typeset error');\n console.error(err);\n doc.typesetError(math, err);\n },\n\n InputJax: [new TeX(texConfig), mml],\n OutputJax: new CHTML(htmlConfig)\n });\n\n // Note: we must set this *after* mathjax.document (no idea why)\n mml.setMmlFactory(customMmlFactory);\n\n return {\n version: mathjax.version,\n html: html,\n Typeset: function(...elements) {\n const updatedDocument = this.html\n .findMath(elements.length ? { elements } : {})\n .compile()\n .getMetrics()\n .typeset()\n .updateDocument();\n\n try {\n const list = updatedDocument.math.list;\n\n for (let item = list.next; typeof item.data !== 'symbol'; item = item.next) {\n const mathMl = toMMl(item.data.root);\n const parsedMathMl = mathMl.replaceAll('\\n', '');\n\n item.data.typesetRoot.setAttribute('data-mathml', parsedMathMl);\n }\n } catch (e) {\n console.error(e.toString());\n }\n\n updatedDocument.clear();\n }\n };\n};\n\nconst renderMath = (el, renderOpts) => {\n //TODO: remove this - has nothing to do with math-rendering (it's from editable-html)\n fixMathElements();\n adjustMathMLStyle();\n\n if (!getGlobal().instance) {\n getGlobal().instance = bootstrap(renderOpts);\n }\n\n if (!el) {\n log('el is undefined');\n return;\n }\n\n if (el instanceof Element) {\n getGlobal().instance.Typeset(el);\n } else if (el.length) {\n const arr = Array.from(el);\n getGlobal().instance.Typeset(...arr);\n }\n};\n\n/**\n * This style is added to overried default styling of mjx-mspace Mathjax tag\n * In mathjax src code \\newline latex gets parsed to <mjx-mspace></mjx-mspace>,\n * but has the default style\n * 'mjx-mspace': {\n \"display\": 'in-line',\n \"text-align\": 'left'\n} which prevents it from showing as a newline value\n */\nCHTMLmspace.styles = {\n 'mjx-mspace': {\n display: 'block',\n 'text-align': 'center',\n height: '5px'\n }\n};\n\nexport default renderMath;\n"],"file":"render-math.js"}
@@ -1,19 +0,0 @@
1
- {
2
- "name": "@pie-lib/math-rendering",
3
- "version": "2.4.3",
4
- "description": "math rendering utilities",
5
- "publishConfig": {
6
- "access": "public"
7
- },
8
- "main": "lib/index.js",
9
- "module": "src/index.js",
10
- "author": "pie-framework developers",
11
- "license": "ISC",
12
- "dependencies": {
13
- "debug": "^4.1.1",
14
- "lodash": "^4.17.11",
15
- "mathjax-full": "3.2.0"
16
- },
17
- "gitHead": "531a7f4895323a9d524cfb96f7e26a5f1ab9f7c1",
18
- "scripts": {}
19
- }