@pie-element/hotspot 9.0.2-esm.0 → 11.0.5-esm.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (746) hide show
  1. package/configure/node_modules/@pie-lib/config-ui/CHANGELOG.json +32 -0
  2. package/configure/node_modules/@pie-lib/config-ui/CHANGELOG.md +2198 -0
  3. package/configure/node_modules/@pie-lib/config-ui/NEXT.CHANGELOG.json +1 -0
  4. package/configure/node_modules/@pie-lib/config-ui/esm/index.js +3808 -0
  5. package/configure/node_modules/@pie-lib/config-ui/esm/index.js.map +1 -0
  6. package/configure/node_modules/@pie-lib/config-ui/lib/alert-dialog.js +75 -0
  7. package/configure/node_modules/@pie-lib/config-ui/lib/alert-dialog.js.map +1 -0
  8. package/configure/node_modules/@pie-lib/config-ui/lib/checkbox.js +99 -0
  9. package/configure/node_modules/@pie-lib/config-ui/lib/checkbox.js.map +1 -0
  10. package/configure/node_modules/@pie-lib/config-ui/lib/choice-configuration/feedback-menu.js +164 -0
  11. package/configure/node_modules/@pie-lib/config-ui/lib/choice-configuration/feedback-menu.js.map +1 -0
  12. package/configure/node_modules/@pie-lib/config-ui/lib/choice-configuration/index.js +445 -0
  13. package/configure/node_modules/@pie-lib/config-ui/lib/choice-configuration/index.js.map +1 -0
  14. package/configure/node_modules/@pie-lib/config-ui/lib/choice-utils.js +54 -0
  15. package/configure/node_modules/@pie-lib/config-ui/lib/choice-utils.js.map +1 -0
  16. package/configure/node_modules/@pie-lib/config-ui/lib/feedback-config/feedback-selector.js +195 -0
  17. package/configure/node_modules/@pie-lib/config-ui/lib/feedback-config/feedback-selector.js.map +1 -0
  18. package/configure/node_modules/@pie-lib/config-ui/lib/feedback-config/group.js +75 -0
  19. package/configure/node_modules/@pie-lib/config-ui/lib/feedback-config/group.js.map +1 -0
  20. package/configure/node_modules/@pie-lib/config-ui/lib/feedback-config/index.js +189 -0
  21. package/configure/node_modules/@pie-lib/config-ui/lib/feedback-config/index.js.map +1 -0
  22. package/configure/node_modules/@pie-lib/config-ui/lib/form-section.js +46 -0
  23. package/configure/node_modules/@pie-lib/config-ui/lib/form-section.js.map +1 -0
  24. package/configure/node_modules/@pie-lib/config-ui/lib/help.js +147 -0
  25. package/configure/node_modules/@pie-lib/config-ui/lib/help.js.map +1 -0
  26. package/configure/node_modules/@pie-lib/config-ui/lib/index.js +216 -0
  27. package/configure/node_modules/@pie-lib/config-ui/lib/index.js.map +1 -0
  28. package/configure/node_modules/@pie-lib/config-ui/lib/input.js +139 -0
  29. package/configure/node_modules/@pie-lib/config-ui/lib/input.js.map +1 -0
  30. package/configure/node_modules/@pie-lib/config-ui/lib/inputs.js +139 -0
  31. package/configure/node_modules/@pie-lib/config-ui/lib/inputs.js.map +1 -0
  32. package/configure/node_modules/@pie-lib/config-ui/lib/langs.js +179 -0
  33. package/configure/node_modules/@pie-lib/config-ui/lib/langs.js.map +1 -0
  34. package/configure/node_modules/@pie-lib/config-ui/lib/layout/config-layout.js +143 -0
  35. package/configure/node_modules/@pie-lib/config-ui/lib/layout/config-layout.js.map +1 -0
  36. package/configure/node_modules/@pie-lib/config-ui/lib/layout/index.js +24 -0
  37. package/configure/node_modules/@pie-lib/config-ui/lib/layout/index.js.map +1 -0
  38. package/configure/node_modules/@pie-lib/config-ui/lib/layout/layout-contents.js +191 -0
  39. package/configure/node_modules/@pie-lib/config-ui/lib/layout/layout-contents.js.map +1 -0
  40. package/configure/node_modules/@pie-lib/config-ui/lib/layout/settings-box.js +86 -0
  41. package/configure/node_modules/@pie-lib/config-ui/lib/layout/settings-box.js.map +1 -0
  42. package/configure/node_modules/@pie-lib/config-ui/lib/mui-box/index.js +79 -0
  43. package/configure/node_modules/@pie-lib/config-ui/lib/mui-box/index.js.map +1 -0
  44. package/configure/node_modules/@pie-lib/config-ui/lib/number-text-field-custom.js +458 -0
  45. package/configure/node_modules/@pie-lib/config-ui/lib/number-text-field-custom.js.map +1 -0
  46. package/configure/node_modules/@pie-lib/config-ui/lib/number-text-field.js +267 -0
  47. package/configure/node_modules/@pie-lib/config-ui/lib/number-text-field.js.map +1 -0
  48. package/configure/node_modules/@pie-lib/config-ui/lib/radio-with-label.js +49 -0
  49. package/configure/node_modules/@pie-lib/config-ui/lib/radio-with-label.js.map +1 -0
  50. package/configure/node_modules/@pie-lib/config-ui/lib/settings/display-size.js +77 -0
  51. package/configure/node_modules/@pie-lib/config-ui/lib/settings/display-size.js.map +1 -0
  52. package/configure/node_modules/@pie-lib/config-ui/lib/settings/index.js +143 -0
  53. package/configure/node_modules/@pie-lib/config-ui/lib/settings/index.js.map +1 -0
  54. package/configure/node_modules/@pie-lib/config-ui/lib/settings/panel.js +463 -0
  55. package/configure/node_modules/@pie-lib/config-ui/lib/settings/panel.js.map +1 -0
  56. package/configure/node_modules/@pie-lib/config-ui/lib/settings/settings-radio-label.js +53 -0
  57. package/configure/node_modules/@pie-lib/config-ui/lib/settings/settings-radio-label.js.map +1 -0
  58. package/configure/node_modules/@pie-lib/config-ui/lib/settings/toggle.js +74 -0
  59. package/configure/node_modules/@pie-lib/config-ui/lib/settings/toggle.js.map +1 -0
  60. package/configure/node_modules/@pie-lib/config-ui/lib/tabs/index.js +110 -0
  61. package/configure/node_modules/@pie-lib/config-ui/lib/tabs/index.js.map +1 -0
  62. package/configure/node_modules/@pie-lib/config-ui/lib/tags-input/index.js +198 -0
  63. package/configure/node_modules/@pie-lib/config-ui/lib/tags-input/index.js.map +1 -0
  64. package/configure/node_modules/@pie-lib/config-ui/lib/two-choice.js +180 -0
  65. package/configure/node_modules/@pie-lib/config-ui/lib/two-choice.js.map +1 -0
  66. package/configure/node_modules/@pie-lib/config-ui/lib/with-stateful-model.js +84 -0
  67. package/configure/node_modules/@pie-lib/config-ui/lib/with-stateful-model.js.map +1 -0
  68. package/configure/node_modules/@pie-lib/config-ui/node_modules/debug/LICENSE +20 -0
  69. package/configure/node_modules/@pie-lib/config-ui/node_modules/debug/README.md +481 -0
  70. package/configure/node_modules/@pie-lib/config-ui/node_modules/debug/package.json +59 -0
  71. package/configure/node_modules/@pie-lib/config-ui/node_modules/debug/src/browser.js +269 -0
  72. package/configure/node_modules/@pie-lib/config-ui/node_modules/debug/src/common.js +274 -0
  73. package/configure/node_modules/@pie-lib/config-ui/node_modules/debug/src/index.js +10 -0
  74. package/configure/node_modules/@pie-lib/config-ui/node_modules/debug/src/node.js +263 -0
  75. package/configure/node_modules/@pie-lib/config-ui/node_modules/ms/index.js +162 -0
  76. package/configure/node_modules/@pie-lib/config-ui/node_modules/ms/license.md +21 -0
  77. package/configure/node_modules/@pie-lib/config-ui/node_modules/ms/package.json +37 -0
  78. package/configure/node_modules/@pie-lib/config-ui/node_modules/ms/readme.md +60 -0
  79. package/configure/node_modules/@pie-lib/config-ui/package.json +40 -0
  80. package/configure/node_modules/@pie-lib/config-ui/src/__tests__/__snapshots__/langs.test.jsx.snap +32 -0
  81. package/configure/node_modules/@pie-lib/config-ui/src/__tests__/__snapshots__/settings-panel.test.js.snap +115 -0
  82. package/configure/node_modules/@pie-lib/config-ui/src/__tests__/__snapshots__/two-choice.test.js.snap +171 -0
  83. package/configure/node_modules/@pie-lib/config-ui/src/__tests__/choice-utils.test.js +12 -0
  84. package/configure/node_modules/@pie-lib/config-ui/src/__tests__/langs.test.jsx +37 -0
  85. package/configure/node_modules/@pie-lib/config-ui/src/__tests__/number-text-field.test.jsx +148 -0
  86. package/configure/node_modules/@pie-lib/config-ui/src/__tests__/settings-panel.test.js +204 -0
  87. package/configure/node_modules/@pie-lib/config-ui/src/__tests__/two-choice.test.js +24 -0
  88. package/configure/node_modules/@pie-lib/config-ui/src/alert-dialog.jsx +56 -0
  89. package/configure/node_modules/@pie-lib/config-ui/src/checkbox.jsx +73 -0
  90. package/configure/node_modules/@pie-lib/config-ui/src/choice-configuration/__tests__/__snapshots__/feedback-menu.test.jsx.snap +51 -0
  91. package/configure/node_modules/@pie-lib/config-ui/src/choice-configuration/__tests__/__snapshots__/index.test.jsx.snap +519 -0
  92. package/configure/node_modules/@pie-lib/config-ui/src/choice-configuration/__tests__/feedback-menu.test.jsx +10 -0
  93. package/configure/node_modules/@pie-lib/config-ui/src/choice-configuration/__tests__/index.test.jsx +92 -0
  94. package/configure/node_modules/@pie-lib/config-ui/src/choice-configuration/feedback-menu.jsx +90 -0
  95. package/configure/node_modules/@pie-lib/config-ui/src/choice-configuration/index.jsx +365 -0
  96. package/configure/node_modules/@pie-lib/config-ui/src/choice-utils.js +30 -0
  97. package/configure/node_modules/@pie-lib/config-ui/src/feedback-config/__tests__/__snapshots__/feedback-config.test.jsx.snap +27 -0
  98. package/configure/node_modules/@pie-lib/config-ui/src/feedback-config/__tests__/__snapshots__/feedback-selector.test.jsx.snap +38 -0
  99. package/configure/node_modules/@pie-lib/config-ui/src/feedback-config/__tests__/feedback-config.test.jsx +71 -0
  100. package/configure/node_modules/@pie-lib/config-ui/src/feedback-config/__tests__/feedback-selector.test.jsx +60 -0
  101. package/configure/node_modules/@pie-lib/config-ui/src/feedback-config/feedback-selector.jsx +122 -0
  102. package/configure/node_modules/@pie-lib/config-ui/src/feedback-config/group.jsx +52 -0
  103. package/configure/node_modules/@pie-lib/config-ui/src/feedback-config/index.jsx +112 -0
  104. package/configure/node_modules/@pie-lib/config-ui/src/form-section.jsx +23 -0
  105. package/configure/node_modules/@pie-lib/config-ui/src/help.jsx +87 -0
  106. package/configure/node_modules/@pie-lib/config-ui/src/index.js +55 -0
  107. package/configure/node_modules/@pie-lib/config-ui/src/input.jsx +72 -0
  108. package/configure/node_modules/@pie-lib/config-ui/src/inputs.jsx +98 -0
  109. package/configure/node_modules/@pie-lib/config-ui/src/langs.jsx +111 -0
  110. package/configure/node_modules/@pie-lib/config-ui/src/layout/__tests__/__snapshots__/config.layout.test.jsx.snap +59 -0
  111. package/configure/node_modules/@pie-lib/config-ui/src/layout/__tests__/config.layout.test.jsx +42 -0
  112. package/configure/node_modules/@pie-lib/config-ui/src/layout/__tests__/layout-content.test.jsx +3 -0
  113. package/configure/node_modules/@pie-lib/config-ui/src/layout/config-layout.jsx +75 -0
  114. package/configure/node_modules/@pie-lib/config-ui/src/layout/index.js +4 -0
  115. package/configure/node_modules/@pie-lib/config-ui/src/layout/layout-contents.jsx +118 -0
  116. package/configure/node_modules/@pie-lib/config-ui/src/layout/settings-box.jsx +35 -0
  117. package/configure/node_modules/@pie-lib/config-ui/src/mui-box/index.jsx +64 -0
  118. package/configure/node_modules/@pie-lib/config-ui/src/number-text-field-custom.jsx +337 -0
  119. package/configure/node_modules/@pie-lib/config-ui/src/number-text-field.jsx +202 -0
  120. package/configure/node_modules/@pie-lib/config-ui/src/radio-with-label.jsx +22 -0
  121. package/configure/node_modules/@pie-lib/config-ui/src/settings/display-size.jsx +52 -0
  122. package/configure/node_modules/@pie-lib/config-ui/src/settings/index.js +83 -0
  123. package/configure/node_modules/@pie-lib/config-ui/src/settings/panel.jsx +328 -0
  124. package/configure/node_modules/@pie-lib/config-ui/src/settings/settings-radio-label.jsx +24 -0
  125. package/configure/node_modules/@pie-lib/config-ui/src/settings/toggle.jsx +49 -0
  126. package/configure/node_modules/@pie-lib/config-ui/src/tabs/index.jsx +47 -0
  127. package/configure/node_modules/@pie-lib/config-ui/src/tags-input/__tests__/__snapshots__/index.test.jsx.snap +170 -0
  128. package/configure/node_modules/@pie-lib/config-ui/src/tags-input/__tests__/index.test.jsx +62 -0
  129. package/configure/node_modules/@pie-lib/config-ui/src/tags-input/index.jsx +119 -0
  130. package/configure/node_modules/@pie-lib/config-ui/src/two-choice.jsx +94 -0
  131. package/configure/node_modules/@pie-lib/config-ui/src/with-stateful-model.jsx +36 -0
  132. package/configure/node_modules/@pie-lib/drag/CHANGELOG.json +1 -0
  133. package/configure/node_modules/@pie-lib/drag/CHANGELOG.md +709 -0
  134. package/configure/node_modules/@pie-lib/drag/NEXT.CHANGELOG.json +1 -0
  135. package/configure/node_modules/@pie-lib/drag/esm/index.js +525 -0
  136. package/configure/node_modules/@pie-lib/drag/esm/index.js.map +1 -0
  137. package/configure/node_modules/@pie-lib/drag/lib/choice.js +129 -0
  138. package/configure/node_modules/@pie-lib/drag/lib/choice.js.map +1 -0
  139. package/configure/node_modules/@pie-lib/drag/lib/drag-in-the-blank-dp.js +35 -0
  140. package/configure/node_modules/@pie-lib/drag/lib/drag-in-the-blank-dp.js.map +1 -0
  141. package/configure/node_modules/@pie-lib/drag/lib/drag-type.js +15 -0
  142. package/configure/node_modules/@pie-lib/drag/lib/drag-type.js.map +1 -0
  143. package/configure/node_modules/@pie-lib/drag/lib/droppable-placeholder.js +82 -0
  144. package/configure/node_modules/@pie-lib/drag/lib/droppable-placeholder.js.map +1 -0
  145. package/configure/node_modules/@pie-lib/drag/lib/ica-dp.js +37 -0
  146. package/configure/node_modules/@pie-lib/drag/lib/ica-dp.js.map +1 -0
  147. package/configure/node_modules/@pie-lib/drag/lib/index.js +89 -0
  148. package/configure/node_modules/@pie-lib/drag/lib/index.js.map +1 -0
  149. package/configure/node_modules/@pie-lib/drag/lib/match-list-dp.js +37 -0
  150. package/configure/node_modules/@pie-lib/drag/lib/match-list-dp.js.map +1 -0
  151. package/configure/node_modules/@pie-lib/drag/lib/placeholder.js +153 -0
  152. package/configure/node_modules/@pie-lib/drag/lib/placeholder.js.map +1 -0
  153. package/configure/node_modules/@pie-lib/drag/lib/preview-component.js +194 -0
  154. package/configure/node_modules/@pie-lib/drag/lib/preview-component.js.map +1 -0
  155. package/configure/node_modules/@pie-lib/drag/lib/swap.js +25 -0
  156. package/configure/node_modules/@pie-lib/drag/lib/swap.js.map +1 -0
  157. package/configure/node_modules/@pie-lib/drag/lib/uid-context.js +40 -0
  158. package/configure/node_modules/@pie-lib/drag/lib/uid-context.js.map +1 -0
  159. package/configure/node_modules/@pie-lib/drag/lib/with-drag-context.js +59 -0
  160. package/configure/node_modules/@pie-lib/drag/lib/with-drag-context.js.map +1 -0
  161. package/configure/node_modules/@pie-lib/drag/package.json +34 -0
  162. package/configure/node_modules/@pie-lib/drag/src/__tests__/__snapshots__/placeholder.test.jsx.snap +68 -0
  163. package/configure/node_modules/@pie-lib/drag/src/__tests__/placeholder.test.jsx +48 -0
  164. package/configure/node_modules/@pie-lib/drag/src/__tests__/uid-context.test.jsx +21 -0
  165. package/configure/node_modules/@pie-lib/drag/src/choice.jsx +76 -0
  166. package/configure/node_modules/@pie-lib/drag/src/drag-in-the-blank-dp.jsx +19 -0
  167. package/configure/node_modules/@pie-lib/drag/src/drag-type.js +7 -0
  168. package/configure/node_modules/@pie-lib/drag/src/droppable-placeholder.jsx +38 -0
  169. package/configure/node_modules/@pie-lib/drag/src/ica-dp.jsx +23 -0
  170. package/configure/node_modules/@pie-lib/drag/src/index.js +23 -0
  171. package/configure/node_modules/@pie-lib/drag/src/match-list-dp.jsx +23 -0
  172. package/configure/node_modules/@pie-lib/drag/src/placeholder.jsx +145 -0
  173. package/configure/node_modules/@pie-lib/drag/src/preview-component.jsx +153 -0
  174. package/configure/node_modules/@pie-lib/drag/src/swap.js +14 -0
  175. package/configure/node_modules/@pie-lib/drag/src/uid-context.js +13 -0
  176. package/configure/node_modules/@pie-lib/drag/src/with-drag-context.js +32 -0
  177. package/configure/node_modules/@pie-lib/editable-html/CHANGELOG.json +32 -0
  178. package/configure/node_modules/@pie-lib/editable-html/CHANGELOG.md +2224 -0
  179. package/configure/node_modules/@pie-lib/editable-html/NEXT.CHANGELOG.json +1 -0
  180. package/configure/node_modules/@pie-lib/editable-html/esm/index.js +9998 -0
  181. package/configure/node_modules/@pie-lib/editable-html/esm/index.js.map +1 -0
  182. package/configure/node_modules/@pie-lib/editable-html/lib/block-tags.js +25 -0
  183. package/configure/node_modules/@pie-lib/editable-html/lib/block-tags.js.map +1 -0
  184. package/configure/node_modules/@pie-lib/editable-html/lib/constants.js +16 -0
  185. package/configure/node_modules/@pie-lib/editable-html/lib/constants.js.map +1 -0
  186. package/configure/node_modules/@pie-lib/editable-html/lib/editor.js +1356 -0
  187. package/configure/node_modules/@pie-lib/editable-html/lib/editor.js.map +1 -0
  188. package/configure/node_modules/@pie-lib/editable-html/lib/index.js +269 -0
  189. package/configure/node_modules/@pie-lib/editable-html/lib/index.js.map +1 -0
  190. package/configure/node_modules/@pie-lib/editable-html/lib/parse-html.js +16 -0
  191. package/configure/node_modules/@pie-lib/editable-html/lib/parse-html.js.map +1 -0
  192. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/characters/custom-popper.js +73 -0
  193. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/characters/custom-popper.js.map +1 -0
  194. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/characters/index.js +305 -0
  195. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/characters/index.js.map +1 -0
  196. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/characters/utils.js +381 -0
  197. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/characters/utils.js.map +1 -0
  198. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/css/icons/index.js +37 -0
  199. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/css/icons/index.js.map +1 -0
  200. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/css/index.js +397 -0
  201. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/css/index.js.map +1 -0
  202. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/customPlugin/index.js +114 -0
  203. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/customPlugin/index.js.map +1 -0
  204. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/html/icons/index.js +38 -0
  205. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/html/icons/index.js.map +1 -0
  206. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/html/index.js +80 -0
  207. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/html/index.js.map +1 -0
  208. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/alt-dialog.js +129 -0
  209. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/alt-dialog.js.map +1 -0
  210. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/component.js +419 -0
  211. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/component.js.map +1 -0
  212. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/image-toolbar.js +177 -0
  213. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/image-toolbar.js.map +1 -0
  214. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/index.js +263 -0
  215. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/index.js.map +1 -0
  216. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/insert-image-handler.js +161 -0
  217. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/insert-image-handler.js.map +1 -0
  218. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/index.js +402 -0
  219. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/index.js.map +1 -0
  220. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/list/index.js +334 -0
  221. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/list/index.js.map +1 -0
  222. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/math/index.js +454 -0
  223. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/math/index.js.map +1 -0
  224. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/index.js +387 -0
  225. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/index.js.map +1 -0
  226. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/media-dialog.js +709 -0
  227. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/media-dialog.js.map +1 -0
  228. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/media-toolbar.js +101 -0
  229. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/media-toolbar.js.map +1 -0
  230. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/media-wrapper.js +93 -0
  231. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/media-wrapper.js.map +1 -0
  232. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/rendering/index.js +46 -0
  233. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/rendering/index.js.map +1 -0
  234. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/drag-in-the-blank/choice.js +289 -0
  235. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/drag-in-the-blank/choice.js.map +1 -0
  236. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/drag-in-the-blank/index.js +97 -0
  237. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/drag-in-the-blank/index.js.map +1 -0
  238. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/explicit-constructed-response/index.js +57 -0
  239. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/explicit-constructed-response/index.js.map +1 -0
  240. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/icons/index.js +95 -0
  241. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/icons/index.js.map +1 -0
  242. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/index.js +341 -0
  243. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/index.js.map +1 -0
  244. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/inline-dropdown/index.js +75 -0
  245. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/inline-dropdown/index.js.map +1 -0
  246. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/math-templated/index.js +130 -0
  247. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/math-templated/index.js.map +1 -0
  248. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/utils.js +125 -0
  249. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/utils.js.map +1 -0
  250. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/table/CustomTablePlugin.js +133 -0
  251. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/table/CustomTablePlugin.js.map +1 -0
  252. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/table/icons/index.js +69 -0
  253. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/table/icons/index.js.map +1 -0
  254. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/table/index.js +483 -0
  255. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/table/index.js.map +1 -0
  256. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/table/table-toolbar.js +187 -0
  257. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/table/table-toolbar.js.map +1 -0
  258. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/textAlign/icons/index.js +226 -0
  259. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/textAlign/icons/index.js.map +1 -0
  260. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/textAlign/index.js +34 -0
  261. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/textAlign/index.js.map +1 -0
  262. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/default-toolbar.js +229 -0
  263. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/default-toolbar.js.map +1 -0
  264. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/done-button.js +53 -0
  265. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/done-button.js.map +1 -0
  266. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/editor-and-toolbar.js +286 -0
  267. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/editor-and-toolbar.js.map +1 -0
  268. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/index.js +34 -0
  269. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/index.js.map +1 -0
  270. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/toolbar-buttons.js +194 -0
  271. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/toolbar-buttons.js.map +1 -0
  272. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/toolbar.js +376 -0
  273. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/toolbar.js.map +1 -0
  274. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/utils.js +62 -0
  275. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/utils.js.map +1 -0
  276. package/configure/node_modules/@pie-lib/editable-html/lib/serialization.js +677 -0
  277. package/configure/node_modules/@pie-lib/editable-html/lib/serialization.js.map +1 -0
  278. package/configure/node_modules/@pie-lib/editable-html/lib/shared/alert-dialog.js +75 -0
  279. package/configure/node_modules/@pie-lib/editable-html/lib/theme.js +9 -0
  280. package/configure/node_modules/@pie-lib/editable-html/lib/theme.js.map +1 -0
  281. package/configure/node_modules/@pie-lib/editable-html/node_modules/debug/LICENSE +20 -0
  282. package/configure/node_modules/@pie-lib/editable-html/node_modules/debug/README.md +481 -0
  283. package/configure/node_modules/@pie-lib/editable-html/node_modules/debug/package.json +59 -0
  284. package/configure/node_modules/@pie-lib/editable-html/node_modules/debug/src/browser.js +269 -0
  285. package/configure/node_modules/@pie-lib/editable-html/node_modules/debug/src/common.js +274 -0
  286. package/configure/node_modules/@pie-lib/editable-html/node_modules/debug/src/index.js +10 -0
  287. package/configure/node_modules/@pie-lib/editable-html/node_modules/debug/src/node.js +263 -0
  288. package/configure/node_modules/@pie-lib/editable-html/node_modules/ms/index.js +162 -0
  289. package/configure/node_modules/@pie-lib/editable-html/node_modules/ms/license.md +21 -0
  290. package/configure/node_modules/@pie-lib/editable-html/node_modules/ms/package.json +37 -0
  291. package/configure/node_modules/@pie-lib/editable-html/node_modules/ms/readme.md +60 -0
  292. package/configure/node_modules/@pie-lib/editable-html/package.json +60 -0
  293. package/configure/node_modules/@pie-lib/editable-html/src/__tests__/editor.test.jsx +363 -0
  294. package/configure/node_modules/@pie-lib/editable-html/src/__tests__/serialization.test.js +291 -0
  295. package/configure/node_modules/@pie-lib/editable-html/src/__tests__/utils.js +36 -0
  296. package/configure/node_modules/@pie-lib/editable-html/src/block-tags.js +17 -0
  297. package/configure/node_modules/@pie-lib/editable-html/src/constants.js +7 -0
  298. package/configure/node_modules/@pie-lib/editable-html/src/editor.jsx +1197 -0
  299. package/configure/node_modules/@pie-lib/editable-html/src/index.jsx +162 -0
  300. package/configure/node_modules/@pie-lib/editable-html/src/parse-html.js +8 -0
  301. package/configure/node_modules/@pie-lib/editable-html/src/plugins/README.md +27 -0
  302. package/configure/node_modules/@pie-lib/editable-html/src/plugins/characters/custom-popper.js +48 -0
  303. package/configure/node_modules/@pie-lib/editable-html/src/plugins/characters/index.jsx +284 -0
  304. package/configure/node_modules/@pie-lib/editable-html/src/plugins/characters/utils.js +447 -0
  305. package/configure/node_modules/@pie-lib/editable-html/src/plugins/css/icons/index.jsx +17 -0
  306. package/configure/node_modules/@pie-lib/editable-html/src/plugins/css/index.jsx +346 -0
  307. package/configure/node_modules/@pie-lib/editable-html/src/plugins/customPlugin/index.jsx +85 -0
  308. package/configure/node_modules/@pie-lib/editable-html/src/plugins/html/icons/index.jsx +19 -0
  309. package/configure/node_modules/@pie-lib/editable-html/src/plugins/html/index.jsx +72 -0
  310. package/configure/node_modules/@pie-lib/editable-html/src/plugins/image/__tests__/__snapshots__/component.test.jsx.snap +51 -0
  311. package/configure/node_modules/@pie-lib/editable-html/src/plugins/image/__tests__/__snapshots__/image-toolbar-logic.test.jsx.snap +27 -0
  312. package/configure/node_modules/@pie-lib/editable-html/src/plugins/image/__tests__/__snapshots__/image-toolbar.test.jsx.snap +44 -0
  313. package/configure/node_modules/@pie-lib/editable-html/src/plugins/image/__tests__/component.test.jsx +41 -0
  314. package/configure/node_modules/@pie-lib/editable-html/src/plugins/image/__tests__/image-toolbar-logic.test.jsx +42 -0
  315. package/configure/node_modules/@pie-lib/editable-html/src/plugins/image/__tests__/image-toolbar.test.jsx +11 -0
  316. package/configure/node_modules/@pie-lib/editable-html/src/plugins/image/__tests__/index.test.js +95 -0
  317. package/configure/node_modules/@pie-lib/editable-html/src/plugins/image/__tests__/insert-image-handler.test.js +113 -0
  318. package/configure/node_modules/@pie-lib/editable-html/src/plugins/image/__tests__/mock-change.js +15 -0
  319. package/configure/node_modules/@pie-lib/editable-html/src/plugins/image/alt-dialog.jsx +82 -0
  320. package/configure/node_modules/@pie-lib/editable-html/src/plugins/image/component.jsx +343 -0
  321. package/configure/node_modules/@pie-lib/editable-html/src/plugins/image/image-toolbar.jsx +100 -0
  322. package/configure/node_modules/@pie-lib/editable-html/src/plugins/image/index.jsx +227 -0
  323. package/configure/node_modules/@pie-lib/editable-html/src/plugins/image/insert-image-handler.js +117 -0
  324. package/configure/node_modules/@pie-lib/editable-html/src/plugins/index.jsx +360 -0
  325. package/configure/node_modules/@pie-lib/editable-html/src/plugins/list/__tests__/index.test.js +54 -0
  326. package/configure/node_modules/@pie-lib/editable-html/src/plugins/list/index.jsx +305 -0
  327. package/configure/node_modules/@pie-lib/editable-html/src/plugins/math/__tests__/__snapshots__/index.test.jsx.snap +48 -0
  328. package/configure/node_modules/@pie-lib/editable-html/src/plugins/math/__tests__/index.test.jsx +245 -0
  329. package/configure/node_modules/@pie-lib/editable-html/src/plugins/math/index.jsx +379 -0
  330. package/configure/node_modules/@pie-lib/editable-html/src/plugins/media/__tests__/index.test.js +75 -0
  331. package/configure/node_modules/@pie-lib/editable-html/src/plugins/media/index.jsx +325 -0
  332. package/configure/node_modules/@pie-lib/editable-html/src/plugins/media/media-dialog.js +624 -0
  333. package/configure/node_modules/@pie-lib/editable-html/src/plugins/media/media-toolbar.jsx +56 -0
  334. package/configure/node_modules/@pie-lib/editable-html/src/plugins/media/media-wrapper.jsx +43 -0
  335. package/configure/node_modules/@pie-lib/editable-html/src/plugins/rendering/index.js +31 -0
  336. package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/drag-in-the-blank/choice.jsx +215 -0
  337. package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/drag-in-the-blank/index.jsx +76 -0
  338. package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/explicit-constructed-response/index.jsx +48 -0
  339. package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/icons/index.jsx +71 -0
  340. package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/index.jsx +299 -0
  341. package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/inline-dropdown/index.jsx +70 -0
  342. package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/math-templated/index.jsx +104 -0
  343. package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/utils.jsx +90 -0
  344. package/configure/node_modules/@pie-lib/editable-html/src/plugins/table/CustomTablePlugin.js +113 -0
  345. package/configure/node_modules/@pie-lib/editable-html/src/plugins/table/__tests__/__snapshots__/table-toolbar.test.jsx.snap +44 -0
  346. package/configure/node_modules/@pie-lib/editable-html/src/plugins/table/__tests__/index.test.jsx +401 -0
  347. package/configure/node_modules/@pie-lib/editable-html/src/plugins/table/__tests__/table-toolbar.test.jsx +42 -0
  348. package/configure/node_modules/@pie-lib/editable-html/src/plugins/table/icons/index.jsx +53 -0
  349. package/configure/node_modules/@pie-lib/editable-html/src/plugins/table/index.jsx +427 -0
  350. package/configure/node_modules/@pie-lib/editable-html/src/plugins/table/table-toolbar.jsx +136 -0
  351. package/configure/node_modules/@pie-lib/editable-html/src/plugins/textAlign/icons/index.jsx +139 -0
  352. package/configure/node_modules/@pie-lib/editable-html/src/plugins/textAlign/index.jsx +23 -0
  353. package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/__tests__/__snapshots__/default-toolbar.test.jsx.snap +923 -0
  354. package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/__tests__/__snapshots__/editor-and-toolbar.test.jsx.snap +20 -0
  355. package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/__tests__/__snapshots__/toolbar-buttons.test.jsx.snap +36 -0
  356. package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/__tests__/__snapshots__/toolbar.test.jsx.snap +46 -0
  357. package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/__tests__/default-toolbar.test.jsx +94 -0
  358. package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/__tests__/editor-and-toolbar.test.jsx +37 -0
  359. package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/__tests__/toolbar-buttons.test.jsx +51 -0
  360. package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/__tests__/toolbar.test.jsx +106 -0
  361. package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/default-toolbar.jsx +206 -0
  362. package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/done-button.jsx +38 -0
  363. package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/editor-and-toolbar.jsx +257 -0
  364. package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/index.jsx +23 -0
  365. package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/toolbar-buttons.jsx +138 -0
  366. package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/toolbar.jsx +338 -0
  367. package/configure/node_modules/@pie-lib/editable-html/src/plugins/utils.js +31 -0
  368. package/configure/node_modules/@pie-lib/editable-html/src/serialization.jsx +621 -0
  369. package/configure/node_modules/@pie-lib/editable-html/src/theme.js +1 -0
  370. package/configure/node_modules/@pie-lib/icons/CHANGELOG.json +1 -0
  371. package/configure/node_modules/@pie-lib/icons/CHANGELOG.md +539 -0
  372. package/configure/node_modules/@pie-lib/icons/NEXT.CHANGELOG.json +1 -0
  373. package/configure/node_modules/@pie-lib/icons/esm/index.js +1153 -0
  374. package/configure/node_modules/@pie-lib/icons/esm/index.js.map +1 -0
  375. package/configure/node_modules/@pie-lib/icons/lib/correct-icon.js +89 -0
  376. package/configure/node_modules/@pie-lib/icons/lib/correct-icon.js.map +1 -0
  377. package/configure/node_modules/@pie-lib/icons/lib/correct-response-icon.js +153 -0
  378. package/configure/node_modules/@pie-lib/icons/lib/correct-response-icon.js.map +1 -0
  379. package/configure/node_modules/@pie-lib/icons/lib/icon-base.js +206 -0
  380. package/configure/node_modules/@pie-lib/icons/lib/icon-base.js.map +1 -0
  381. package/configure/node_modules/@pie-lib/icons/lib/icon-root.js +130 -0
  382. package/configure/node_modules/@pie-lib/icons/lib/icon-root.js.map +1 -0
  383. package/configure/node_modules/@pie-lib/icons/lib/incorrect-icon.js +92 -0
  384. package/configure/node_modules/@pie-lib/icons/lib/incorrect-icon.js.map +1 -0
  385. package/configure/node_modules/@pie-lib/icons/lib/index.js +72 -0
  386. package/configure/node_modules/@pie-lib/icons/lib/index.js.map +1 -0
  387. package/configure/node_modules/@pie-lib/icons/lib/instructions-icon.js +229 -0
  388. package/configure/node_modules/@pie-lib/icons/lib/instructions-icon.js.map +1 -0
  389. package/configure/node_modules/@pie-lib/icons/lib/learn-more-icon.js +145 -0
  390. package/configure/node_modules/@pie-lib/icons/lib/learn-more-icon.js.map +1 -0
  391. package/configure/node_modules/@pie-lib/icons/lib/nothing-submitted-icon.js +183 -0
  392. package/configure/node_modules/@pie-lib/icons/lib/nothing-submitted-icon.js.map +1 -0
  393. package/configure/node_modules/@pie-lib/icons/lib/partially-correct-icon.js +82 -0
  394. package/configure/node_modules/@pie-lib/icons/lib/partially-correct-icon.js.map +1 -0
  395. package/configure/node_modules/@pie-lib/icons/lib/show-rationale-icon.js +206 -0
  396. package/configure/node_modules/@pie-lib/icons/lib/show-rationale-icon.js.map +1 -0
  397. package/configure/node_modules/@pie-lib/icons/lib/sized.js +41 -0
  398. package/configure/node_modules/@pie-lib/icons/lib/sized.js.map +1 -0
  399. package/configure/node_modules/@pie-lib/icons/package.json +35 -0
  400. package/configure/node_modules/@pie-lib/icons/src/__tests__/index.test.js +3 -0
  401. package/configure/node_modules/@pie-lib/icons/src/correct-icon.jsx +64 -0
  402. package/configure/node_modules/@pie-lib/icons/src/correct-response-icon.jsx +121 -0
  403. package/configure/node_modules/@pie-lib/icons/src/icon-base.jsx +158 -0
  404. package/configure/node_modules/@pie-lib/icons/src/icon-root.jsx +76 -0
  405. package/configure/node_modules/@pie-lib/icons/src/incorrect-icon.jsx +61 -0
  406. package/configure/node_modules/@pie-lib/icons/src/index.js +19 -0
  407. package/configure/node_modules/@pie-lib/icons/src/instructions-icon.jsx +189 -0
  408. package/configure/node_modules/@pie-lib/icons/src/learn-more-icon.jsx +107 -0
  409. package/configure/node_modules/@pie-lib/icons/src/nothing-submitted-icon.jsx +130 -0
  410. package/configure/node_modules/@pie-lib/icons/src/partially-correct-icon.jsx +49 -0
  411. package/configure/node_modules/@pie-lib/icons/src/show-rationale-icon.jsx +152 -0
  412. package/configure/node_modules/@pie-lib/icons/src/sized.jsx +25 -0
  413. package/configure/node_modules/@pie-lib/math-input/CHANGELOG.json +17 -0
  414. package/configure/node_modules/@pie-lib/math-input/CHANGELOG.md +1077 -0
  415. package/configure/node_modules/@pie-lib/math-input/NEXT.CHANGELOG.json +1 -0
  416. package/configure/node_modules/@pie-lib/math-input/esm/index.js +2134 -0
  417. package/configure/node_modules/@pie-lib/math-input/esm/index.js.map +1 -0
  418. package/configure/node_modules/@pie-lib/math-input/lib/horizontal-keypad.js +124 -0
  419. package/configure/node_modules/@pie-lib/math-input/lib/horizontal-keypad.js.map +1 -0
  420. package/configure/node_modules/@pie-lib/math-input/lib/index.js +76 -0
  421. package/configure/node_modules/@pie-lib/math-input/lib/index.js.map +1 -0
  422. package/configure/node_modules/@pie-lib/math-input/lib/keypad/index.js +512 -0
  423. package/configure/node_modules/@pie-lib/math-input/lib/keypad/index.js.map +1 -0
  424. package/configure/node_modules/@pie-lib/math-input/lib/keypad/keys-layout.js +34 -0
  425. package/configure/node_modules/@pie-lib/math-input/lib/keypad/keys-layout.js.map +1 -0
  426. package/configure/node_modules/@pie-lib/math-input/lib/keys/basic-operators.js +41 -0
  427. package/configure/node_modules/@pie-lib/math-input/lib/keys/basic-operators.js.map +1 -0
  428. package/configure/node_modules/@pie-lib/math-input/lib/keys/chars.js +17 -0
  429. package/configure/node_modules/@pie-lib/math-input/lib/keys/chars.js.map +1 -0
  430. package/configure/node_modules/@pie-lib/math-input/lib/keys/comparison.js +49 -0
  431. package/configure/node_modules/@pie-lib/math-input/lib/keys/comparison.js.map +1 -0
  432. package/configure/node_modules/@pie-lib/math-input/lib/keys/constants.js +43 -0
  433. package/configure/node_modules/@pie-lib/math-input/lib/keys/constants.js.map +1 -0
  434. package/configure/node_modules/@pie-lib/math-input/lib/keys/digits.js +53 -0
  435. package/configure/node_modules/@pie-lib/math-input/lib/keys/digits.js.map +1 -0
  436. package/configure/node_modules/@pie-lib/math-input/lib/keys/edit.js +17 -0
  437. package/configure/node_modules/@pie-lib/math-input/lib/keys/edit.js.map +1 -0
  438. package/configure/node_modules/@pie-lib/math-input/lib/keys/exponent.js +36 -0
  439. package/configure/node_modules/@pie-lib/math-input/lib/keys/exponent.js.map +1 -0
  440. package/configure/node_modules/@pie-lib/math-input/lib/keys/fractions.js +34 -0
  441. package/configure/node_modules/@pie-lib/math-input/lib/keys/fractions.js.map +1 -0
  442. package/configure/node_modules/@pie-lib/math-input/lib/keys/geometry.js +169 -0
  443. package/configure/node_modules/@pie-lib/math-input/lib/keys/geometry.js.map +1 -0
  444. package/configure/node_modules/@pie-lib/math-input/lib/keys/grades.js +295 -0
  445. package/configure/node_modules/@pie-lib/math-input/lib/keys/grades.js.map +1 -0
  446. package/configure/node_modules/@pie-lib/math-input/lib/keys/index.js +54 -0
  447. package/configure/node_modules/@pie-lib/math-input/lib/keys/index.js.map +1 -0
  448. package/configure/node_modules/@pie-lib/math-input/lib/keys/log.js +32 -0
  449. package/configure/node_modules/@pie-lib/math-input/lib/keys/log.js.map +1 -0
  450. package/configure/node_modules/@pie-lib/math-input/lib/keys/logic.js +23 -0
  451. package/configure/node_modules/@pie-lib/math-input/lib/keys/logic.js.map +1 -0
  452. package/configure/node_modules/@pie-lib/math-input/lib/keys/matrices.js +23 -0
  453. package/configure/node_modules/@pie-lib/math-input/lib/keys/matrices.js.map +1 -0
  454. package/configure/node_modules/@pie-lib/math-input/lib/keys/misc.js +74 -0
  455. package/configure/node_modules/@pie-lib/math-input/lib/keys/misc.js.map +1 -0
  456. package/configure/node_modules/@pie-lib/math-input/lib/keys/navigation.js +25 -0
  457. package/configure/node_modules/@pie-lib/math-input/lib/keys/navigation.js.map +1 -0
  458. package/configure/node_modules/@pie-lib/math-input/lib/keys/operators.js +18 -0
  459. package/configure/node_modules/@pie-lib/math-input/lib/keys/operators.js.map +1 -0
  460. package/configure/node_modules/@pie-lib/math-input/lib/keys/statistics.js +47 -0
  461. package/configure/node_modules/@pie-lib/math-input/lib/keys/statistics.js.map +1 -0
  462. package/configure/node_modules/@pie-lib/math-input/lib/keys/sub-sup.js +23 -0
  463. package/configure/node_modules/@pie-lib/math-input/lib/keys/sub-sup.js.map +1 -0
  464. package/configure/node_modules/@pie-lib/math-input/lib/keys/trigonometry.js +53 -0
  465. package/configure/node_modules/@pie-lib/math-input/lib/keys/trigonometry.js.map +1 -0
  466. package/configure/node_modules/@pie-lib/math-input/lib/keys/utils.js +120 -0
  467. package/configure/node_modules/@pie-lib/math-input/lib/keys/utils.js.map +1 -0
  468. package/configure/node_modules/@pie-lib/math-input/lib/keys/vars.js +29 -0
  469. package/configure/node_modules/@pie-lib/math-input/lib/keys/vars.js.map +1 -0
  470. package/configure/node_modules/@pie-lib/math-input/lib/math-input.js +192 -0
  471. package/configure/node_modules/@pie-lib/math-input/lib/math-input.js.map +1 -0
  472. package/configure/node_modules/@pie-lib/math-input/lib/mq/common-mq-styles.js +110 -0
  473. package/configure/node_modules/@pie-lib/math-input/lib/mq/common-mq-styles.js.map +1 -0
  474. package/configure/node_modules/@pie-lib/math-input/lib/mq/custom-elements.js +23 -0
  475. package/configure/node_modules/@pie-lib/math-input/lib/mq/custom-elements.js.map +1 -0
  476. package/configure/node_modules/@pie-lib/math-input/lib/mq/index.js +32 -0
  477. package/configure/node_modules/@pie-lib/math-input/lib/mq/index.js.map +1 -0
  478. package/configure/node_modules/@pie-lib/math-input/lib/mq/input.js +247 -0
  479. package/configure/node_modules/@pie-lib/math-input/lib/mq/input.js.map +1 -0
  480. package/configure/node_modules/@pie-lib/math-input/lib/mq/static.js +356 -0
  481. package/configure/node_modules/@pie-lib/math-input/lib/mq/static.js.map +1 -0
  482. package/configure/node_modules/@pie-lib/math-input/lib/shared/constants.js +16 -0
  483. package/configure/node_modules/@pie-lib/math-input/lib/updateSpans.js +23 -0
  484. package/configure/node_modules/@pie-lib/math-input/lib/updateSpans.js.map +1 -0
  485. package/configure/node_modules/@pie-lib/math-input/node_modules/debug/LICENSE +20 -0
  486. package/configure/node_modules/@pie-lib/math-input/node_modules/debug/README.md +481 -0
  487. package/configure/node_modules/@pie-lib/math-input/node_modules/debug/package.json +59 -0
  488. package/configure/node_modules/@pie-lib/math-input/node_modules/debug/src/browser.js +269 -0
  489. package/configure/node_modules/@pie-lib/math-input/node_modules/debug/src/common.js +274 -0
  490. package/configure/node_modules/@pie-lib/math-input/node_modules/debug/src/index.js +10 -0
  491. package/configure/node_modules/@pie-lib/math-input/node_modules/debug/src/node.js +263 -0
  492. package/configure/node_modules/@pie-lib/math-input/node_modules/ms/index.js +162 -0
  493. package/configure/node_modules/@pie-lib/math-input/node_modules/ms/license.md +21 -0
  494. package/configure/node_modules/@pie-lib/math-input/node_modules/ms/package.json +37 -0
  495. package/configure/node_modules/@pie-lib/math-input/node_modules/ms/readme.md +60 -0
  496. package/configure/node_modules/@pie-lib/math-input/package.json +35 -0
  497. package/configure/node_modules/@pie-lib/math-input/src/__tests__/__snapshots__/math-input-test.jsx.snap +152 -0
  498. package/configure/node_modules/@pie-lib/math-input/src/__tests__/math-input-test.jsx +85 -0
  499. package/configure/node_modules/@pie-lib/math-input/src/horizontal-keypad.jsx +69 -0
  500. package/configure/node_modules/@pie-lib/math-input/src/index.jsx +18 -0
  501. package/configure/node_modules/@pie-lib/math-input/src/keypad/__tests__/__snapshots__/index.test.jsx.snap +193 -0
  502. package/configure/node_modules/@pie-lib/math-input/src/keypad/__tests__/index.test.jsx +24 -0
  503. package/configure/node_modules/@pie-lib/math-input/src/keypad/__tests__/keys-layout.test.js +15 -0
  504. package/configure/node_modules/@pie-lib/math-input/src/keypad/index.jsx +450 -0
  505. package/configure/node_modules/@pie-lib/math-input/src/keypad/keys-layout.js +17 -0
  506. package/configure/node_modules/@pie-lib/math-input/src/keys/__tests__/utils.test.js +57 -0
  507. package/configure/node_modules/@pie-lib/math-input/src/keys/basic-operators.js +32 -0
  508. package/configure/node_modules/@pie-lib/math-input/src/keys/chars.js +5 -0
  509. package/configure/node_modules/@pie-lib/math-input/src/keys/comparison.js +28 -0
  510. package/configure/node_modules/@pie-lib/math-input/src/keys/constants.js +35 -0
  511. package/configure/node_modules/@pie-lib/math-input/src/keys/digits.js +40 -0
  512. package/configure/node_modules/@pie-lib/math-input/src/keys/edit.js +3 -0
  513. package/configure/node_modules/@pie-lib/math-input/src/keys/exponent.js +28 -0
  514. package/configure/node_modules/@pie-lib/math-input/src/keys/fractions.js +26 -0
  515. package/configure/node_modules/@pie-lib/math-input/src/keys/geometry.js +144 -0
  516. package/configure/node_modules/@pie-lib/math-input/src/keys/grades.js +367 -0
  517. package/configure/node_modules/@pie-lib/math-input/src/keys/index.js +21 -0
  518. package/configure/node_modules/@pie-lib/math-input/src/keys/log.js +22 -0
  519. package/configure/node_modules/@pie-lib/math-input/src/keys/logic.js +15 -0
  520. package/configure/node_modules/@pie-lib/math-input/src/keys/matrices.js +15 -0
  521. package/configure/node_modules/@pie-lib/math-input/src/keys/misc.js +65 -0
  522. package/configure/node_modules/@pie-lib/math-input/src/keys/navigation.js +8 -0
  523. package/configure/node_modules/@pie-lib/math-input/src/keys/operators.js +10 -0
  524. package/configure/node_modules/@pie-lib/math-input/src/keys/statistics.js +38 -0
  525. package/configure/node_modules/@pie-lib/math-input/src/keys/sub-sup.js +15 -0
  526. package/configure/node_modules/@pie-lib/math-input/src/keys/trigonometry.js +15 -0
  527. package/configure/node_modules/@pie-lib/math-input/src/keys/utils.js +71 -0
  528. package/configure/node_modules/@pie-lib/math-input/src/keys/vars.js +19 -0
  529. package/configure/node_modules/@pie-lib/math-input/src/math-input.jsx +128 -0
  530. package/configure/node_modules/@pie-lib/math-input/src/mq/__tests__/__snapshots__/input.test.jsx.snap +9 -0
  531. package/configure/node_modules/@pie-lib/math-input/src/mq/__tests__/input.test.jsx +92 -0
  532. package/configure/node_modules/@pie-lib/math-input/src/mq/__tests__/static.test.jsx +57 -0
  533. package/configure/node_modules/@pie-lib/math-input/src/mq/common-mq-styles.js +105 -0
  534. package/configure/node_modules/@pie-lib/math-input/src/mq/custom-elements.js +11 -0
  535. package/configure/node_modules/@pie-lib/math-input/src/mq/index.js +5 -0
  536. package/configure/node_modules/@pie-lib/math-input/src/mq/input.jsx +176 -0
  537. package/configure/node_modules/@pie-lib/math-input/src/mq/static.jsx +285 -0
  538. package/configure/node_modules/@pie-lib/math-input/src/updateSpans.js +15 -0
  539. package/configure/node_modules/@pie-lib/math-rendering/CHANGELOG.json +1 -0
  540. package/configure/node_modules/@pie-lib/math-rendering/CHANGELOG.md +775 -0
  541. package/configure/node_modules/@pie-lib/math-rendering/NEXT.CHANGELOG.json +1 -0
  542. package/configure/node_modules/@pie-lib/math-rendering/esm/index.js +690 -0
  543. package/configure/node_modules/@pie-lib/math-rendering/esm/index.js.map +1 -0
  544. package/configure/node_modules/@pie-lib/math-rendering/lib/index.js +38 -0
  545. package/configure/node_modules/@pie-lib/math-rendering/lib/index.js.map +1 -0
  546. package/configure/node_modules/@pie-lib/math-rendering/lib/mml-to-latex.js +15 -0
  547. package/configure/node_modules/@pie-lib/math-rendering/lib/mml-to-latex.js.map +1 -0
  548. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/chtml.js +296 -0
  549. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/chtml.js.map +1 -0
  550. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/index.js +23 -0
  551. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/index.js.map +1 -0
  552. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/mml.js +109 -0
  553. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/mml.js.map +1 -0
  554. package/configure/node_modules/@pie-lib/math-rendering/lib/normalization.js +95 -0
  555. package/configure/node_modules/@pie-lib/math-rendering/lib/normalization.js.map +1 -0
  556. package/configure/node_modules/@pie-lib/math-rendering/lib/render-math.js +438 -0
  557. package/configure/node_modules/@pie-lib/math-rendering/lib/render-math.js.map +1 -0
  558. package/configure/node_modules/@pie-lib/math-rendering/node_modules/debug/LICENSE +20 -0
  559. package/configure/node_modules/@pie-lib/math-rendering/node_modules/debug/README.md +481 -0
  560. package/configure/node_modules/@pie-lib/math-rendering/node_modules/debug/package.json +59 -0
  561. package/configure/node_modules/@pie-lib/math-rendering/node_modules/debug/src/browser.js +269 -0
  562. package/configure/node_modules/@pie-lib/math-rendering/node_modules/debug/src/common.js +274 -0
  563. package/configure/node_modules/@pie-lib/math-rendering/node_modules/debug/src/index.js +10 -0
  564. package/configure/node_modules/@pie-lib/math-rendering/node_modules/debug/src/node.js +263 -0
  565. package/configure/node_modules/@pie-lib/math-rendering/node_modules/ms/index.js +162 -0
  566. package/configure/node_modules/@pie-lib/math-rendering/node_modules/ms/license.md +21 -0
  567. package/configure/node_modules/@pie-lib/math-rendering/node_modules/ms/package.json +37 -0
  568. package/configure/node_modules/@pie-lib/math-rendering/node_modules/ms/readme.md +60 -0
  569. package/configure/node_modules/@pie-lib/math-rendering/package.json +28 -0
  570. package/configure/node_modules/@pie-lib/math-rendering/src/__tests__/mml-to-latex.test.js +14 -0
  571. package/configure/node_modules/@pie-lib/math-rendering/src/__tests__/normalization.test.js +50 -0
  572. package/configure/node_modules/@pie-lib/math-rendering/src/__tests__/render-math.test.js +155 -0
  573. package/configure/node_modules/@pie-lib/math-rendering/src/index.js +5 -0
  574. package/configure/node_modules/@pie-lib/math-rendering/src/mml-to-latex.js +2 -0
  575. package/configure/node_modules/@pie-lib/math-rendering/src/mstack/__tests__/__snapshots__/chtml.test.js.snap +9 -0
  576. package/configure/node_modules/@pie-lib/math-rendering/src/mstack/__tests__/chtml.test.js +104 -0
  577. package/configure/node_modules/@pie-lib/math-rendering/src/mstack/chtml.js +220 -0
  578. package/configure/node_modules/@pie-lib/math-rendering/src/mstack/index.js +13 -0
  579. package/configure/node_modules/@pie-lib/math-rendering/src/mstack/mml.js +24 -0
  580. package/configure/node_modules/@pie-lib/math-rendering/src/normalization.js +69 -0
  581. package/configure/node_modules/@pie-lib/math-rendering/src/render-math.js +387 -0
  582. package/configure/node_modules/@pie-lib/math-toolbar/CHANGELOG.json +17 -0
  583. package/configure/node_modules/@pie-lib/math-toolbar/CHANGELOG.md +940 -0
  584. package/configure/node_modules/@pie-lib/math-toolbar/NEXT.CHANGELOG.json +1 -0
  585. package/configure/node_modules/@pie-lib/math-toolbar/esm/index.js +1410 -0
  586. package/configure/node_modules/@pie-lib/math-toolbar/esm/index.js.map +1 -0
  587. package/configure/node_modules/@pie-lib/math-toolbar/lib/done-button.js +68 -0
  588. package/configure/node_modules/@pie-lib/math-toolbar/lib/done-button.js.map +1 -0
  589. package/configure/node_modules/@pie-lib/math-toolbar/lib/editor-and-pad.js +575 -0
  590. package/configure/node_modules/@pie-lib/math-toolbar/lib/editor-and-pad.js.map +1 -0
  591. package/configure/node_modules/@pie-lib/math-toolbar/lib/index.js +287 -0
  592. package/configure/node_modules/@pie-lib/math-toolbar/lib/index.js.map +1 -0
  593. package/configure/node_modules/@pie-lib/math-toolbar/lib/math-preview.js +240 -0
  594. package/configure/node_modules/@pie-lib/math-toolbar/lib/math-preview.js.map +1 -0
  595. package/configure/node_modules/@pie-lib/math-toolbar/lib/utils.js +21 -0
  596. package/configure/node_modules/@pie-lib/math-toolbar/lib/utils.js.map +1 -0
  597. package/configure/node_modules/@pie-lib/math-toolbar/node_modules/debug/LICENSE +20 -0
  598. package/configure/node_modules/@pie-lib/math-toolbar/node_modules/debug/README.md +481 -0
  599. package/configure/node_modules/@pie-lib/math-toolbar/node_modules/debug/package.json +59 -0
  600. package/configure/node_modules/@pie-lib/math-toolbar/node_modules/debug/src/browser.js +269 -0
  601. package/configure/node_modules/@pie-lib/math-toolbar/node_modules/debug/src/common.js +274 -0
  602. package/configure/node_modules/@pie-lib/math-toolbar/node_modules/debug/src/index.js +10 -0
  603. package/configure/node_modules/@pie-lib/math-toolbar/node_modules/debug/src/node.js +263 -0
  604. package/configure/node_modules/@pie-lib/math-toolbar/node_modules/ms/index.js +162 -0
  605. package/configure/node_modules/@pie-lib/math-toolbar/node_modules/ms/license.md +21 -0
  606. package/configure/node_modules/@pie-lib/math-toolbar/node_modules/ms/package.json +37 -0
  607. package/configure/node_modules/@pie-lib/math-toolbar/node_modules/ms/readme.md +60 -0
  608. package/configure/node_modules/@pie-lib/math-toolbar/package.json +46 -0
  609. package/configure/node_modules/@pie-lib/math-toolbar/src/__tests__/__snapshots__/editor-and-pad.test.js.snap +31 -0
  610. package/configure/node_modules/@pie-lib/math-toolbar/src/__tests__/__snapshots__/index.test.js.snap +30 -0
  611. package/configure/node_modules/@pie-lib/math-toolbar/src/__tests__/__snapshots__/math-preview.test.js.snap +23 -0
  612. package/configure/node_modules/@pie-lib/math-toolbar/src/__tests__/editor-and-pad.test.js +25 -0
  613. package/configure/node_modules/@pie-lib/math-toolbar/src/__tests__/index.test.js +28 -0
  614. package/configure/node_modules/@pie-lib/math-toolbar/src/__tests__/math-preview.test.js +31 -0
  615. package/configure/node_modules/@pie-lib/math-toolbar/src/done-button.jsx +47 -0
  616. package/configure/node_modules/@pie-lib/math-toolbar/src/editor-and-pad.jsx +499 -0
  617. package/configure/node_modules/@pie-lib/math-toolbar/src/index.jsx +224 -0
  618. package/configure/node_modules/@pie-lib/math-toolbar/src/math-preview.jsx +179 -0
  619. package/configure/node_modules/@pie-lib/math-toolbar/src/utils.js +11 -0
  620. package/configure/node_modules/@pie-lib/render-ui/CHANGELOG.json +1 -0
  621. package/configure/node_modules/@pie-lib/render-ui/CHANGELOG.md +1026 -0
  622. package/configure/node_modules/@pie-lib/render-ui/NEXT.CHANGELOG.json +1 -0
  623. package/configure/node_modules/@pie-lib/render-ui/esm/index.js +1616 -0
  624. package/configure/node_modules/@pie-lib/render-ui/esm/index.js.map +1 -0
  625. package/configure/node_modules/@pie-lib/render-ui/lib/append-css-rules.js +88 -0
  626. package/configure/node_modules/@pie-lib/render-ui/lib/append-css-rules.js.map +1 -0
  627. package/configure/node_modules/@pie-lib/render-ui/lib/assets/enableAudioAutoplayImage.js +9 -0
  628. package/configure/node_modules/@pie-lib/render-ui/lib/assets/enableAudioAutoplayImage.js.map +1 -0
  629. package/configure/node_modules/@pie-lib/render-ui/lib/collapsible/index.js +135 -0
  630. package/configure/node_modules/@pie-lib/render-ui/lib/collapsible/index.js.map +1 -0
  631. package/configure/node_modules/@pie-lib/render-ui/lib/color.js +344 -0
  632. package/configure/node_modules/@pie-lib/render-ui/lib/color.js.map +1 -0
  633. package/configure/node_modules/@pie-lib/render-ui/lib/feedback.js +150 -0
  634. package/configure/node_modules/@pie-lib/render-ui/lib/feedback.js.map +1 -0
  635. package/configure/node_modules/@pie-lib/render-ui/lib/has-media.js +27 -0
  636. package/configure/node_modules/@pie-lib/render-ui/lib/has-media.js.map +1 -0
  637. package/configure/node_modules/@pie-lib/render-ui/lib/has-text.js +28 -0
  638. package/configure/node_modules/@pie-lib/render-ui/lib/has-text.js.map +1 -0
  639. package/configure/node_modules/@pie-lib/render-ui/lib/html-and-math.js +74 -0
  640. package/configure/node_modules/@pie-lib/render-ui/lib/html-and-math.js.map +1 -0
  641. package/configure/node_modules/@pie-lib/render-ui/lib/index.js +136 -0
  642. package/configure/node_modules/@pie-lib/render-ui/lib/index.js.map +1 -0
  643. package/configure/node_modules/@pie-lib/render-ui/lib/input-container.js +60 -0
  644. package/configure/node_modules/@pie-lib/render-ui/lib/input-container.js.map +1 -0
  645. package/configure/node_modules/@pie-lib/render-ui/lib/preview-layout.js +145 -0
  646. package/configure/node_modules/@pie-lib/render-ui/lib/preview-layout.js.map +1 -0
  647. package/configure/node_modules/@pie-lib/render-ui/lib/preview-prompt.js +321 -0
  648. package/configure/node_modules/@pie-lib/render-ui/lib/preview-prompt.js.map +1 -0
  649. package/configure/node_modules/@pie-lib/render-ui/lib/purpose.js +28 -0
  650. package/configure/node_modules/@pie-lib/render-ui/lib/purpose.js.map +1 -0
  651. package/configure/node_modules/@pie-lib/render-ui/lib/readable.js +28 -0
  652. package/configure/node_modules/@pie-lib/render-ui/lib/readable.js.map +1 -0
  653. package/configure/node_modules/@pie-lib/render-ui/lib/response-indicators.js +151 -0
  654. package/configure/node_modules/@pie-lib/render-ui/lib/response-indicators.js.map +1 -0
  655. package/configure/node_modules/@pie-lib/render-ui/lib/ui-layout.js +122 -0
  656. package/configure/node_modules/@pie-lib/render-ui/lib/ui-layout.js.map +1 -0
  657. package/configure/node_modules/@pie-lib/render-ui/lib/withUndoReset.js +181 -0
  658. package/configure/node_modules/@pie-lib/render-ui/lib/withUndoReset.js.map +1 -0
  659. package/configure/node_modules/@pie-lib/render-ui/node_modules/debug/LICENSE +20 -0
  660. package/configure/node_modules/@pie-lib/render-ui/node_modules/debug/README.md +481 -0
  661. package/configure/node_modules/@pie-lib/render-ui/node_modules/debug/package.json +59 -0
  662. package/configure/node_modules/@pie-lib/render-ui/node_modules/debug/src/browser.js +269 -0
  663. package/configure/node_modules/@pie-lib/render-ui/node_modules/debug/src/common.js +274 -0
  664. package/configure/node_modules/@pie-lib/render-ui/node_modules/debug/src/index.js +10 -0
  665. package/configure/node_modules/@pie-lib/render-ui/node_modules/debug/src/node.js +263 -0
  666. package/configure/node_modules/@pie-lib/render-ui/node_modules/ms/index.js +162 -0
  667. package/configure/node_modules/@pie-lib/render-ui/node_modules/ms/license.md +21 -0
  668. package/configure/node_modules/@pie-lib/render-ui/node_modules/ms/package.json +37 -0
  669. package/configure/node_modules/@pie-lib/render-ui/node_modules/ms/readme.md +60 -0
  670. package/configure/node_modules/@pie-lib/render-ui/package.json +40 -0
  671. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/__snapshots__/html-and-math.test.js.snap +11 -0
  672. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/__snapshots__/preview-prompt.test.jsx.snap +37 -0
  673. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/__snapshots__/purpose.test.jsx.snap +42 -0
  674. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/__snapshots__/readable.test.jsx.snap +64 -0
  675. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/__snapshots__/response-indicators.test.jsx.snap +27 -0
  676. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/color.test.js +12 -0
  677. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/has-media.test.js +20 -0
  678. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/has-text.test.js +21 -0
  679. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/html-and-math.test.js +24 -0
  680. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/preview-prompt.test.jsx +56 -0
  681. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/purpose.test.jsx +47 -0
  682. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/readable.test.jsx +64 -0
  683. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/response-indicators.test.jsx +16 -0
  684. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/ui-layout.test.jsx +34 -0
  685. package/configure/node_modules/@pie-lib/render-ui/src/__tests__/withUndoReset.test.jsx +254 -0
  686. package/configure/node_modules/@pie-lib/render-ui/src/append-css-rules.js +51 -0
  687. package/configure/node_modules/@pie-lib/render-ui/src/assets/enableAudioAutoplayImage.js +1 -0
  688. package/configure/node_modules/@pie-lib/render-ui/src/collapsible/__tests__/__snapshots__/index.test.jsx.snap +18 -0
  689. package/configure/node_modules/@pie-lib/render-ui/src/collapsible/__tests__/index.test.jsx +13 -0
  690. package/configure/node_modules/@pie-lib/render-ui/src/collapsible/index.jsx +64 -0
  691. package/configure/node_modules/@pie-lib/render-ui/src/color.js +121 -0
  692. package/configure/node_modules/@pie-lib/render-ui/src/feedback.jsx +99 -0
  693. package/configure/node_modules/@pie-lib/render-ui/src/has-media.js +16 -0
  694. package/configure/node_modules/@pie-lib/render-ui/src/has-text.js +18 -0
  695. package/configure/node_modules/@pie-lib/render-ui/src/html-and-math.js +21 -0
  696. package/configure/node_modules/@pie-lib/render-ui/src/index.js +35 -0
  697. package/configure/node_modules/@pie-lib/render-ui/src/input-container.jsx +41 -0
  698. package/configure/node_modules/@pie-lib/render-ui/src/preview-layout.jsx +95 -0
  699. package/configure/node_modules/@pie-lib/render-ui/src/preview-prompt.jsx +254 -0
  700. package/configure/node_modules/@pie-lib/render-ui/src/purpose.jsx +17 -0
  701. package/configure/node_modules/@pie-lib/render-ui/src/readable.jsx +19 -0
  702. package/configure/node_modules/@pie-lib/render-ui/src/response-indicators.jsx +89 -0
  703. package/configure/node_modules/@pie-lib/render-ui/src/ui-layout.jsx +66 -0
  704. package/configure/node_modules/@pie-lib/render-ui/src/withUndoReset.jsx +116 -0
  705. package/configure/node_modules/@pie-lib/test-utils/CHANGELOG.json +1 -0
  706. package/configure/node_modules/@pie-lib/test-utils/CHANGELOG.md +410 -0
  707. package/configure/node_modules/@pie-lib/test-utils/NEXT.CHANGELOG.json +1 -0
  708. package/configure/node_modules/@pie-lib/test-utils/esm/index.js +39 -0
  709. package/configure/node_modules/@pie-lib/test-utils/esm/index.js.map +1 -0
  710. package/configure/node_modules/@pie-lib/test-utils/lib/index.js +40 -0
  711. package/configure/node_modules/@pie-lib/test-utils/lib/index.js.map +1 -0
  712. package/configure/node_modules/@pie-lib/test-utils/package.json +25 -0
  713. package/configure/node_modules/@pie-lib/test-utils/src/__tests__/index.test.js +45 -0
  714. package/configure/node_modules/@pie-lib/test-utils/src/index.js +18 -0
  715. package/configure/node_modules/slate-dev-environment/Readme.md +1 -0
  716. package/configure/node_modules/slate-dev-environment/dist/slate-dev-environment.js +287 -0
  717. package/configure/node_modules/slate-dev-environment/dist/slate-dev-environment.min.js +1 -0
  718. package/configure/node_modules/slate-dev-environment/lib/slate-dev-environment.es.js +264 -0
  719. package/configure/node_modules/slate-dev-environment/lib/slate-dev-environment.es.js.map +1 -0
  720. package/configure/node_modules/slate-dev-environment/lib/slate-dev-environment.js +282 -0
  721. package/configure/node_modules/slate-dev-environment/lib/slate-dev-environment.js.map +1 -0
  722. package/configure/node_modules/slate-dev-environment/package.json +21 -0
  723. package/configure/package.json +3 -3
  724. package/controller/node_modules/@pie-lib/controller-utils/CHANGELOG.json +1 -0
  725. package/controller/node_modules/@pie-lib/controller-utils/CHANGELOG.md +410 -0
  726. package/controller/node_modules/@pie-lib/controller-utils/NEXT.CHANGELOG.json +1 -0
  727. package/controller/node_modules/@pie-lib/controller-utils/esm/index.js +129 -0
  728. package/controller/node_modules/@pie-lib/controller-utils/esm/index.js.map +1 -0
  729. package/controller/node_modules/@pie-lib/controller-utils/lib/index.js +31 -0
  730. package/controller/node_modules/@pie-lib/controller-utils/lib/index.js.map +1 -0
  731. package/controller/node_modules/@pie-lib/controller-utils/lib/partial-scoring.js +29 -0
  732. package/controller/node_modules/@pie-lib/controller-utils/lib/partial-scoring.js.map +1 -0
  733. package/controller/node_modules/@pie-lib/controller-utils/lib/persistence.js +140 -0
  734. package/controller/node_modules/@pie-lib/controller-utils/lib/persistence.js.map +1 -0
  735. package/controller/node_modules/@pie-lib/controller-utils/package.json +25 -0
  736. package/controller/node_modules/@pie-lib/controller-utils/src/__tests__/partial-scoring.test.js +25 -0
  737. package/controller/node_modules/@pie-lib/controller-utils/src/__tests__/persistence.test.js +151 -0
  738. package/controller/node_modules/@pie-lib/controller-utils/src/index.js +4 -0
  739. package/controller/node_modules/@pie-lib/controller-utils/src/partial-scoring.js +19 -0
  740. package/controller/node_modules/@pie-lib/controller-utils/src/persistence.js +103 -0
  741. package/controller/package.json +2 -2
  742. package/esm/configure.js +6393 -1243
  743. package/esm/configure.js.map +1 -1
  744. package/esm/element.js +27714 -41
  745. package/esm/element.js.map +1 -1
  746. package/package.json +6 -6
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/mq/static.jsx"],"names":["MQ","window","MathQuill","getInterface","log","REGEX","WHITESPACE_REGEX","stripSpaces","string","replace","countBraces","latex","count","i","length","Static","props","liveRegion","document","createElement","style","position","width","height","marginTop","clip","overflow","setAttribute","body","appendChild","input","inputRef","current","addEventListener","handleKeyDown","handleMathKeyboardClick","removeEventListener","removeChild","event","key","setState","isDeleteKeyPressed","inputSource","field","mathField","name","getFieldName","innerFields","onSubFieldChange","regexMatch","match","__controller","cursor","insLeftOf","parent","el","dispatchEvent","KeyboardEvent","keyCode","e","console","error","toString","announceLatexConversion","newLatex","state","previousLatex","announcement","newBraces","oldBraces","announceMessage","parseLatex","warn","message","textContent","setTimeout","Error","StaticMath","handlers","edit","onInputEdit","bind","blur","focus","rootBlock","target","parentElement","nextSibling","id","parseInt","getAttribute","innerField","find","f","setInput","onSubFieldFocus","err","React","createRef","update","createLiveRegion","addEventListeners","removeLiveRegion","removeEventListeners","nextProps","parsedLatex","stripped","newFieldCount","out","trim","Object","keys","onBlur","className","onFocus","Component","PropTypes","isRequired","func"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,IAAIA,EAAJ;;AACA,IAAI,OAAOC,MAAP,KAAkB,WAAtB,EAAmC;AACjCD,EAAAA,EAAE,GAAGE,sBAAUC,YAAV,CAAuB,CAAvB,CAAL;AACD;;AAED,IAAMC,GAAG,GAAG,uBAAM,8BAAN,CAAZ;AACA,IAAMC,KAAK,GAAG,wCAAd;AACA,IAAMC,gBAAgB,GAAG,IAAzB;;AAEA,SAASC,WAAT,GAAkC;AAAA,MAAbC,MAAa,uEAAJ,EAAI;AAChC,SAAOA,MAAM,CAACC,OAAP,CAAeH,gBAAf,EAAiC,EAAjC,CAAP;AACD;;AAED,SAASI,WAAT,CAAqBC,KAArB,EAA4B;AAC1B,MAAIC,KAAK,GAAG,CAAZ;;AAEA,OAAK,IAAIC,CAAC,GAAG,CAAb,EAAgBA,CAAC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AD,EAA6BwG,GAA7B,CAAH;AACA,eAAOA,GAAP;AACD,OAXD,CAWE,OAAOjD,CAAP,EAAU;AACV;AACAC,QAAAA,OAAO,CAACY,IAAR,CAAa,sBAAb,EAAqCb,CAAC,CAACc,OAAvC,EAAgD,aAAhD,EAFU,CAGV;;AACAb,QAAAA,OAAO,CAACY,IAAR,CAAab,CAAb;AACA,eAAO,KAAP;AACD;AACF;;;WA2BD,kBAAS;AACP,wBAA8B,KAAK3C,KAAnC;AAAA,UAAQgG,MAAR,eAAQA,MAAR;AAAA,UAAgBC,SAAhB,eAAgBA,SAAhB;AAEA,0BAAO;AAAM,QAAA,SAAS,EAAEA,SAAjB;AAA4B,QAAA,OAAO,EAAE,KAAKC,OAA1C;AAAmD,QAAA,MAAM,EAAEF,MAA3D;AAAmE,QAAA,GAAG,EAAE,KAAKjF;AAA7E,QAAP;AACD;;;EAzPiCkE,kBAAMkB,S;;;iCAArBpG,M,eACA;AACjBJ,EAAAA,KAAK,EAAEyG,sBAAU5G,MAAV,CAAiB6G,UADP;AAEjBH,EAAAA,OAAO,EAAEE,sBAAUE,IAFF;AAGjBN,EAAAA,MAAM,EAAEI,sBAAUE,IAHD;AAIjBL,EAAAA,SAAS,EAAEG,sBAAU5G,MAJJ;AAKjBsC,EAAAA,YAAY,EAAEsE,sBAAUE,IALP;AAMjBtE,EAAAA,gBAAgB,EAAEoE,sBAAUE,IANX;AAOjBvB,EAAAA,eAAe,EAAEqB,sBAAUE,IAPV;AAQjBxB,EAAAA,QAAQ,EAAEsB,sBAAUE;AARH,C;iCADAvG,M,kBAYG;AACpB+B,EAAAA,YAAY,EAAE,wBAAM,CAAE;AADF,C","sourcesContent":["import PropTypes from 'prop-types';\nimport React from 'react';\nimport debug from 'debug';\nimport MathQuill from '@pie-framework/mathquill';\nimport { updateSpans } from '../updateSpans';\n\nlet MQ;\nif (typeof window !== 'undefined') {\n MQ = MathQuill.getInterface(2);\n}\n\nconst log = debug('pie-lib:math-input:mq:static');\nconst REGEX = /\\\\MathQuillMathField\\[r\\d*\\]\\{(.*?)\\}/g;\nconst WHITESPACE_REGEX = / /g;\n\nfunction stripSpaces(string = '') {\n return string.replace(WHITESPACE_REGEX, '');\n}\n\nfunction countBraces(latex) {\n let count = 0;\n\n for (let i = 0; i < (latex || '').length; i++) {\n if (latex[i] === '{') {\n count++;\n }\n }\n\n return count;\n}\n\n/**\n * Wrapper for MathQuill MQ.MathField.\n */\nexport default class Static extends React.Component {\n static propTypes = {\n latex: PropTypes.string.isRequired,\n onFocus: PropTypes.func,\n onBlur: PropTypes.func,\n className: PropTypes.string,\n getFieldName: PropTypes.func,\n onSubFieldChange: PropTypes.func,\n onSubFieldFocus: PropTypes.func,\n setInput: PropTypes.func,\n };\n\n static defaultProps = {\n getFieldName: () => {},\n };\n\n constructor(props) {\n super(props);\n this.state = {\n announcement: '',\n previousLatex: '',\n inputSource: null,\n isDeleteKeyPressed: false,\n };\n\n this.inputRef = React.createRef();\n }\n\n componentDidMount() {\n this.update();\n updateSpans();\n\n this.createLiveRegion();\n this.addEventListeners();\n }\n\n componentDidUpdate() {\n this.update();\n updateSpans();\n }\n\n componentWillUnmount() {\n this.removeLiveRegion();\n this.removeEventListeners();\n }\n\n createLiveRegion = () => {\n this.liveRegion = document.createElement('div');\n this.liveRegion.style.position = 'absolute';\n this.liveRegion.style.width = '1px';\n this.liveRegion.style.height = '1px';\n this.liveRegion.style.marginTop = '-1px';\n this.liveRegion.style.clip = 'rect(1px, 1px, 1px, 1px)';\n this.liveRegion.style.overflow = 'hidden';\n this.liveRegion.setAttribute('aria-live', 'polite');\n this.liveRegion.setAttribute('aria-atomic', 'true');\n\n document.body.appendChild(this.liveRegion);\n };\n\n addEventListeners = () => {\n const input = this.inputRef.current;\n\n if (input) {\n input.addEventListener('keydown', this.handleKeyDown);\n input.addEventListener('click', this.handleMathKeyboardClick);\n }\n };\n\n removeEventListeners = () => {\n const input = this.inputRef.current;\n\n if (input) {\n input.removeEventListener('keydown', this.handleKeyDown);\n input.removeEventListener('click', this.handleMathKeyboardClick);\n }\n };\n\n removeLiveRegion = () => {\n if (this.liveRegion) {\n document.body.removeChild(this.liveRegion);\n this.liveRegion = null;\n }\n };\n\n handleKeyDown = (event) => {\n if (event?.key === 'Backspace' || event?.key === 'Delete') {\n this.setState({ isDeleteKeyPressed: true });\n }\n this.setState({ inputSource: 'keyboard' });\n };\n\n handleMathKeyboardClick = () => {\n this.setState({ inputSource: 'mathKeyboard' });\n };\n\n onInputEdit = (field) => {\n if (!this.mathField) {\n return;\n }\n const name = this.props.getFieldName(field, this.mathField.innerFields);\n\n if (this.props.onSubFieldChange) {\n // eslint-disable-next-line no-useless-escape\n const regexMatch = field.latex().match(/[0-9]\\\\ \\\\frac\\{[^\\{]*\\}\\{ \\}/);\n\n if (this.inputRef?.current && regexMatch && regexMatch?.length) {\n try {\n field.__controller.cursor.insLeftOf(field.__controller.cursor.parent[-1].parent);\n field.el().dispatchEvent(new KeyboardEvent('keydown', { keyCode: 8 }));\n } catch (e) {\n // eslint-disable-next-line no-console\n console.error(e.toString());\n }\n } else {\n this.props.onSubFieldChange(name, field.latex());\n }\n }\n\n this.announceLatexConversion(field.latex());\n };\n\n announceLatexConversion = (newLatex) => {\n if (!this.state) {\n console.error('State is not initialized');\n return;\n }\n\n const { previousLatex, inputSource, isDeleteKeyPressed } = this.state;\n const announcement = 'Converted to math symbol';\n\n if (inputSource === 'keyboard' && !isDeleteKeyPressed) {\n const newBraces = countBraces(newLatex);\n const oldBraces = countBraces(previousLatex);\n\n if (newBraces > oldBraces) {\n this.announceMessage(announcement);\n } else {\n try {\n this.mathField.parseLatex(previousLatex);\n this.mathField.parseLatex(newLatex);\n\n if (newLatex == previousLatex) {\n this.announceMessage(announcement);\n }\n } catch (e) {\n console.warn('Error parsing latex:', e.message);\n console.warn(e);\n }\n }\n }\n\n this.setState({ previousLatex: newLatex, isDeleteKeyPressed: false });\n };\n\n announceMessage = (message) => {\n this.setState({ previousLatex: '' });\n\n if (this.liveRegion) {\n this.liveRegion.textContent = message;\n\n // Clear the message after it is announced\n setTimeout(() => {\n this.liveRegion.textContent = '';\n }, 500);\n }\n };\n\n update = () => {\n if (!MQ) {\n throw new Error('MQ is not defined - but component has mounted?');\n }\n if (!this.mathField) {\n this.mathField = MQ.StaticMath(this.inputRef?.current, {\n handlers: {\n edit: this.onInputEdit.bind(this),\n },\n });\n }\n\n try {\n this.mathField.parseLatex(this.props.latex);\n this.mathField.latex(this.props.latex);\n } catch (e) {\n // default latex if received has errors\n this.mathField.latex('\\\\MathQuillMathField[r1]{}');\n }\n };\n\n blur = () => {\n log('blur mathfield');\n this.mathField.blur();\n };\n\n focus = () => {\n log('focus mathfield...');\n this.mathField.focus();\n };\n\n shouldComponentUpdate(nextProps) {\n try {\n const parsedLatex = this.mathField.parseLatex(nextProps.latex);\n const stripped = stripSpaces(parsedLatex);\n const newFieldCount = (nextProps.latex.match(REGEX) || []).length;\n\n const out =\n stripped !== stripSpaces(this.mathField.latex().trim()) ||\n newFieldCount !== Object.keys(this.mathField.innerFields).length / 2;\n\n log('[shouldComponentUpdate] ', out);\n return out;\n } catch (e) {\n // eslint-disable-next-line no-console\n console.warn('Error parsing latex:', e.message, 'skip update');\n // eslint-disable-next-line no-console\n console.warn(e);\n return false;\n }\n }\n\n onFocus = (e) => {\n try {\n let rootBlock = e.target.parentElement.nextSibling;\n let id = parseInt(rootBlock.getAttribute('mathquill-block-id'), 10);\n\n if (!id) {\n rootBlock = rootBlock.parentElement;\n id = parseInt(rootBlock.getAttribute('mathquill-block-id'), 10);\n }\n\n const innerField = this.mathField.innerFields.find((f) => f.id === id);\n\n if (innerField) {\n const name = this.props.getFieldName(innerField, this.mathField.innerFields);\n if (this.props.setInput) {\n this.props.setInput(innerField);\n }\n this.props.onSubFieldFocus(name, innerField);\n }\n } catch (err) {\n // eslint-disable-next-line no-console\n console.error('error finding root block', err.message);\n }\n };\n\n render() {\n const { onBlur, className } = this.props;\n\n return <span className={className} onFocus={this.onFocus} onBlur={onBlur} ref={this.inputRef} />;\n }\n}\n"],"file":"static.js"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = exports.PIE_TOOLBAR__CLASS = exports.MAIN_CONTAINER_CLASS = void 0;
7
+ var MAIN_CONTAINER_CLASS = 'main-container';
8
+ exports.MAIN_CONTAINER_CLASS = MAIN_CONTAINER_CLASS;
9
+ var PIE_TOOLBAR__CLASS = 'pie-toolbar';
10
+ exports.PIE_TOOLBAR__CLASS = PIE_TOOLBAR__CLASS;
11
+ var _default = {
12
+ MAIN_CONTAINER_CLASS: MAIN_CONTAINER_CLASS,
13
+ PIE_TOOLBAR__CLASS: PIE_TOOLBAR__CLASS
14
+ };
15
+ exports["default"] = _default;
16
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.updateSpans = void 0;
7
+
8
+ // increase the font of parallel notation
9
+ var updateSpans = function updateSpans() {
10
+ var spans = Array.from(document.querySelectorAll('span[mathquill-command-id]'));
11
+ (spans || []).forEach(function (span) {
12
+ if (span && span.innerText === '∥' && span.className !== 'mq-editable-field') {
13
+ span.style.fontSize = '32px';
14
+ }
15
+
16
+ if ((span.innerText === '′' || span.innerText === '′′') && !span.hasAttribute('data-prime')) {
17
+ span.setAttribute('data-prime', 'true');
18
+ }
19
+ });
20
+ };
21
+
22
+ exports.updateSpans = updateSpans;
23
+ //# sourceMappingURL=updateSpans.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/updateSpans.js"],"names":["updateSpans","spans","Array","from","document","querySelectorAll","forEach","span","innerText","className","style","fontSize","hasAttribute","setAttribute"],"mappings":";;;;;;;AAAA;AACA,IAAMA,WAAW,GAAG,SAAdA,WAAc,GAAM;AACxB,MAAMC,KAAK,GAAGC,KAAK,CAACC,IAAN,CAAWC,QAAQ,CAACC,gBAAT,CAA0B,4BAA1B,CAAX,CAAd;AACA,GAACJ,KAAK,IAAI,EAAV,EAAcK,OAAd,CAAsB,UAACC,IAAD,EAAU;AAC9B,QAAIA,IAAI,IAAIA,IAAI,CAACC,SAAL,KAAmB,GAA3B,IAAkCD,IAAI,CAACE,SAAL,KAAmB,mBAAzD,EAA8E;AAC5EF,MAAAA,IAAI,CAACG,KAAL,CAAWC,QAAX,GAAsB,MAAtB;AACD;;AAED,QAAI,CAACJ,IAAI,CAACC,SAAL,KAAmB,GAAnB,IAA0BD,IAAI,CAACC,SAAL,KAAmB,IAA9C,KAAuD,CAACD,IAAI,CAACK,YAAL,CAAkB,YAAlB,CAA5D,EAA6F;AAC3FL,MAAAA,IAAI,CAACM,YAAL,CAAkB,YAAlB,EAAgC,MAAhC;AACD;AACF,GARD;AASD,CAXD","sourcesContent":["// increase the font of parallel notation\nconst updateSpans = () => {\n const spans = Array.from(document.querySelectorAll('span[mathquill-command-id]'));\n (spans || []).forEach((span) => {\n if (span && span.innerText === '∥' && span.className !== 'mq-editable-field') {\n span.style.fontSize = '32px';\n }\n\n if ((span.innerText === '′' || span.innerText === '′′') && !span.hasAttribute('data-prime')) {\n span.setAttribute('data-prime', 'true');\n }\n });\n};\n\nexport { updateSpans };\n"],"file":"updateSpans.js"}
@@ -0,0 +1,20 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2014-2017 TJ Holowaychuk <tj@vision-media.ca>
4
+ Copyright (c) 2018-2021 Josh Junon
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software
7
+ and associated documentation files (the 'Software'), to deal in the Software without restriction,
8
+ including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
9
+ and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all copies or substantial
13
+ portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
16
+ LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
18
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
19
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+
@@ -0,0 +1,481 @@
1
+ # debug
2
+ [![Build Status](https://travis-ci.org/debug-js/debug.svg?branch=master)](https://travis-ci.org/debug-js/debug) [![Coverage Status](https://coveralls.io/repos/github/debug-js/debug/badge.svg?branch=master)](https://coveralls.io/github/debug-js/debug?branch=master) [![Slack](https://visionmedia-community-slackin.now.sh/badge.svg)](https://visionmedia-community-slackin.now.sh/) [![OpenCollective](https://opencollective.com/debug/backers/badge.svg)](#backers)
3
+ [![OpenCollective](https://opencollective.com/debug/sponsors/badge.svg)](#sponsors)
4
+
5
+ <img width="647" src="https://user-images.githubusercontent.com/71256/29091486-fa38524c-7c37-11e7-895f-e7ec8e1039b6.png">
6
+
7
+ A tiny JavaScript debugging utility modelled after Node.js core's debugging
8
+ technique. Works in Node.js and web browsers.
9
+
10
+ ## Installation
11
+
12
+ ```bash
13
+ $ npm install debug
14
+ ```
15
+
16
+ ## Usage
17
+
18
+ `debug` exposes a function; simply pass this function the name of your module, and it will return a decorated version of `console.error` for you to pass debug statements to. This will allow you to toggle the debug output for different parts of your module as well as the module as a whole.
19
+
20
+ Example [_app.js_](./examples/node/app.js):
21
+
22
+ ```js
23
+ var debug = require('debug')('http')
24
+ , http = require('http')
25
+ , name = 'My App';
26
+
27
+ // fake app
28
+
29
+ debug('booting %o', name);
30
+
31
+ http.createServer(function(req, res){
32
+ debug(req.method + ' ' + req.url);
33
+ res.end('hello\n');
34
+ }).listen(3000, function(){
35
+ debug('listening');
36
+ });
37
+
38
+ // fake worker of some kind
39
+
40
+ require('./worker');
41
+ ```
42
+
43
+ Example [_worker.js_](./examples/node/worker.js):
44
+
45
+ ```js
46
+ var a = require('debug')('worker:a')
47
+ , b = require('debug')('worker:b');
48
+
49
+ function work() {
50
+ a('doing lots of uninteresting work');
51
+ setTimeout(work, Math.random() * 1000);
52
+ }
53
+
54
+ work();
55
+
56
+ function workb() {
57
+ b('doing some work');
58
+ setTimeout(workb, Math.random() * 2000);
59
+ }
60
+
61
+ workb();
62
+ ```
63
+
64
+ The `DEBUG` environment variable is then used to enable these based on space or
65
+ comma-delimited names.
66
+
67
+ Here are some examples:
68
+
69
+ <img width="647" alt="screen shot 2017-08-08 at 12 53 04 pm" src="https://user-images.githubusercontent.com/71256/29091703-a6302cdc-7c38-11e7-8304-7c0b3bc600cd.png">
70
+ <img width="647" alt="screen shot 2017-08-08 at 12 53 38 pm" src="https://user-images.githubusercontent.com/71256/29091700-a62a6888-7c38-11e7-800b-db911291ca2b.png">
71
+ <img width="647" alt="screen shot 2017-08-08 at 12 53 25 pm" src="https://user-images.githubusercontent.com/71256/29091701-a62ea114-7c38-11e7-826a-2692bedca740.png">
72
+
73
+ #### Windows command prompt notes
74
+
75
+ ##### CMD
76
+
77
+ On Windows the environment variable is set using the `set` command.
78
+
79
+ ```cmd
80
+ set DEBUG=*,-not_this
81
+ ```
82
+
83
+ Example:
84
+
85
+ ```cmd
86
+ set DEBUG=* & node app.js
87
+ ```
88
+
89
+ ##### PowerShell (VS Code default)
90
+
91
+ PowerShell uses different syntax to set environment variables.
92
+
93
+ ```cmd
94
+ $env:DEBUG = "*,-not_this"
95
+ ```
96
+
97
+ Example:
98
+
99
+ ```cmd
100
+ $env:DEBUG='app';node app.js
101
+ ```
102
+
103
+ Then, run the program to be debugged as usual.
104
+
105
+ npm script example:
106
+ ```js
107
+ "windowsDebug": "@powershell -Command $env:DEBUG='*';node app.js",
108
+ ```
109
+
110
+ ## Namespace Colors
111
+
112
+ Every debug instance has a color generated for it based on its namespace name.
113
+ This helps when visually parsing the debug output to identify which debug instance
114
+ a debug line belongs to.
115
+
116
+ #### Node.js
117
+
118
+ In Node.js, colors are enabled when stderr is a TTY. You also _should_ install
119
+ the [`supports-color`](https://npmjs.org/supports-color) module alongside debug,
120
+ otherwise debug will only use a small handful of basic colors.
121
+
122
+ <img width="521" src="https://user-images.githubusercontent.com/71256/29092181-47f6a9e6-7c3a-11e7-9a14-1928d8a711cd.png">
123
+
124
+ #### Web Browser
125
+
126
+ Colors are also enabled on "Web Inspectors" that understand the `%c` formatting
127
+ option. These are WebKit web inspectors, Firefox ([since version
128
+ 31](https://hacks.mozilla.org/2014/05/editable-box-model-multiple-selection-sublime-text-keys-much-more-firefox-developer-tools-episode-31/))
129
+ and the Firebug plugin for Firefox (any version).
130
+
131
+ <img width="524" src="https://user-images.githubusercontent.com/71256/29092033-b65f9f2e-7c39-11e7-8e32-f6f0d8e865c1.png">
132
+
133
+
134
+ ## Millisecond diff
135
+
136
+ When actively developing an application it can be useful to see when the time spent between one `debug()` call and the next. Suppose for example you invoke `debug()` before requesting a resource, and after as well, the "+NNNms" will show you how much time was spent between calls.
137
+
138
+ <img width="647" src="https://user-images.githubusercontent.com/71256/29091486-fa38524c-7c37-11e7-895f-e7ec8e1039b6.png">
139
+
140
+ When stdout is not a TTY, `Date#toISOString()` is used, making it more useful for logging the debug information as shown below:
141
+
142
+ <img width="647" src="https://user-images.githubusercontent.com/71256/29091956-6bd78372-7c39-11e7-8c55-c948396d6edd.png">
143
+
144
+
145
+ ## Conventions
146
+
147
+ If you're using this in one or more of your libraries, you _should_ use the name of your library so that developers may toggle debugging as desired without guessing names. If you have more than one debuggers you _should_ prefix them with your library name and use ":" to separate features. For example "bodyParser" from Connect would then be "connect:bodyParser". If you append a "*" to the end of your name, it will always be enabled regardless of the setting of the DEBUG environment variable. You can then use it for normal output as well as debug output.
148
+
149
+ ## Wildcards
150
+
151
+ The `*` character may be used as a wildcard. Suppose for example your library has
152
+ debuggers named "connect:bodyParser", "connect:compress", "connect:session",
153
+ instead of listing all three with
154
+ `DEBUG=connect:bodyParser,connect:compress,connect:session`, you may simply do
155
+ `DEBUG=connect:*`, or to run everything using this module simply use `DEBUG=*`.
156
+
157
+ You can also exclude specific debuggers by prefixing them with a "-" character.
158
+ For example, `DEBUG=*,-connect:*` would include all debuggers except those
159
+ starting with "connect:".
160
+
161
+ ## Environment Variables
162
+
163
+ When running through Node.js, you can set a few environment variables that will
164
+ change the behavior of the debug logging:
165
+
166
+ | Name | Purpose |
167
+ |-----------|-------------------------------------------------|
168
+ | `DEBUG` | Enables/disables specific debugging namespaces. |
169
+ | `DEBUG_HIDE_DATE` | Hide date from debug output (non-TTY). |
170
+ | `DEBUG_COLORS`| Whether or not to use colors in the debug output. |
171
+ | `DEBUG_DEPTH` | Object inspection depth. |
172
+ | `DEBUG_SHOW_HIDDEN` | Shows hidden properties on inspected objects. |
173
+
174
+
175
+ __Note:__ The environment variables beginning with `DEBUG_` end up being
176
+ converted into an Options object that gets used with `%o`/`%O` formatters.
177
+ See the Node.js documentation for
178
+ [`util.inspect()`](https://nodejs.org/api/util.html#util_util_inspect_object_options)
179
+ for the complete list.
180
+
181
+ ## Formatters
182
+
183
+ Debug uses [printf-style](https://wikipedia.org/wiki/Printf_format_string) formatting.
184
+ Below are the officially supported formatters:
185
+
186
+ | Formatter | Representation |
187
+ |-----------|----------------|
188
+ | `%O` | Pretty-print an Object on multiple lines. |
189
+ | `%o` | Pretty-print an Object all on a single line. |
190
+ | `%s` | String. |
191
+ | `%d` | Number (both integer and float). |
192
+ | `%j` | JSON. Replaced with the string '[Circular]' if the argument contains circular references. |
193
+ | `%%` | Single percent sign ('%'). This does not consume an argument. |
194
+
195
+
196
+ ### Custom formatters
197
+
198
+ You can add custom formatters by extending the `debug.formatters` object.
199
+ For example, if you wanted to add support for rendering a Buffer as hex with
200
+ `%h`, you could do something like:
201
+
202
+ ```js
203
+ const createDebug = require('debug')
204
+ createDebug.formatters.h = (v) => {
205
+ return v.toString('hex')
206
+ }
207
+
208
+ // …elsewhere
209
+ const debug = createDebug('foo')
210
+ debug('this is hex: %h', new Buffer('hello world'))
211
+ // foo this is hex: 68656c6c6f20776f726c6421 +0ms
212
+ ```
213
+
214
+
215
+ ## Browser Support
216
+
217
+ You can build a browser-ready script using [browserify](https://github.com/substack/node-browserify),
218
+ or just use the [browserify-as-a-service](https://wzrd.in/) [build](https://wzrd.in/standalone/debug@latest),
219
+ if you don't want to build it yourself.
220
+
221
+ Debug's enable state is currently persisted by `localStorage`.
222
+ Consider the situation shown below where you have `worker:a` and `worker:b`,
223
+ and wish to debug both. You can enable this using `localStorage.debug`:
224
+
225
+ ```js
226
+ localStorage.debug = 'worker:*'
227
+ ```
228
+
229
+ And then refresh the page.
230
+
231
+ ```js
232
+ a = debug('worker:a');
233
+ b = debug('worker:b');
234
+
235
+ setInterval(function(){
236
+ a('doing some work');
237
+ }, 1000);
238
+
239
+ setInterval(function(){
240
+ b('doing some work');
241
+ }, 1200);
242
+ ```
243
+
244
+ In Chromium-based web browsers (e.g. Brave, Chrome, and Electron), the JavaScript console will—by default—only show messages logged by `debug` if the "Verbose" log level is _enabled_.
245
+
246
+ <img width="647" src="https://user-images.githubusercontent.com/7143133/152083257-29034707-c42c-4959-8add-3cee850e6fcf.png">
247
+
248
+ ## Output streams
249
+
250
+ By default `debug` will log to stderr, however this can be configured per-namespace by overriding the `log` method:
251
+
252
+ Example [_stdout.js_](./examples/node/stdout.js):
253
+
254
+ ```js
255
+ var debug = require('debug');
256
+ var error = debug('app:error');
257
+
258
+ // by default stderr is used
259
+ error('goes to stderr!');
260
+
261
+ var log = debug('app:log');
262
+ // set this namespace to log via console.log
263
+ log.log = console.log.bind(console); // don't forget to bind to console!
264
+ log('goes to stdout');
265
+ error('still goes to stderr!');
266
+
267
+ // set all output to go via console.info
268
+ // overrides all per-namespace log settings
269
+ debug.log = console.info.bind(console);
270
+ error('now goes to stdout via console.info');
271
+ log('still goes to stdout, but via console.info now');
272
+ ```
273
+
274
+ ## Extend
275
+ You can simply extend debugger
276
+ ```js
277
+ const log = require('debug')('auth');
278
+
279
+ //creates new debug instance with extended namespace
280
+ const logSign = log.extend('sign');
281
+ const logLogin = log.extend('login');
282
+
283
+ log('hello'); // auth hello
284
+ logSign('hello'); //auth:sign hello
285
+ logLogin('hello'); //auth:login hello
286
+ ```
287
+
288
+ ## Set dynamically
289
+
290
+ You can also enable debug dynamically by calling the `enable()` method :
291
+
292
+ ```js
293
+ let debug = require('debug');
294
+
295
+ console.log(1, debug.enabled('test'));
296
+
297
+ debug.enable('test');
298
+ console.log(2, debug.enabled('test'));
299
+
300
+ debug.disable();
301
+ console.log(3, debug.enabled('test'));
302
+
303
+ ```
304
+
305
+ print :
306
+ ```
307
+ 1 false
308
+ 2 true
309
+ 3 false
310
+ ```
311
+
312
+ Usage :
313
+ `enable(namespaces)`
314
+ `namespaces` can include modes separated by a colon and wildcards.
315
+
316
+ Note that calling `enable()` completely overrides previously set DEBUG variable :
317
+
318
+ ```
319
+ $ DEBUG=foo node -e 'var dbg = require("debug"); dbg.enable("bar"); console.log(dbg.enabled("foo"))'
320
+ => false
321
+ ```
322
+
323
+ `disable()`
324
+
325
+ Will disable all namespaces. The functions returns the namespaces currently
326
+ enabled (and skipped). This can be useful if you want to disable debugging
327
+ temporarily without knowing what was enabled to begin with.
328
+
329
+ For example:
330
+
331
+ ```js
332
+ let debug = require('debug');
333
+ debug.enable('foo:*,-foo:bar');
334
+ let namespaces = debug.disable();
335
+ debug.enable(namespaces);
336
+ ```
337
+
338
+ Note: There is no guarantee that the string will be identical to the initial
339
+ enable string, but semantically they will be identical.
340
+
341
+ ## Checking whether a debug target is enabled
342
+
343
+ After you've created a debug instance, you can determine whether or not it is
344
+ enabled by checking the `enabled` property:
345
+
346
+ ```javascript
347
+ const debug = require('debug')('http');
348
+
349
+ if (debug.enabled) {
350
+ // do stuff...
351
+ }
352
+ ```
353
+
354
+ You can also manually toggle this property to force the debug instance to be
355
+ enabled or disabled.
356
+
357
+ ## Usage in child processes
358
+
359
+ Due to the way `debug` detects if the output is a TTY or not, colors are not shown in child processes when `stderr` is piped. A solution is to pass the `DEBUG_COLORS=1` environment variable to the child process.
360
+ For example:
361
+
362
+ ```javascript
363
+ worker = fork(WORKER_WRAP_PATH, [workerPath], {
364
+ stdio: [
365
+ /* stdin: */ 0,
366
+ /* stdout: */ 'pipe',
367
+ /* stderr: */ 'pipe',
368
+ 'ipc',
369
+ ],
370
+ env: Object.assign({}, process.env, {
371
+ DEBUG_COLORS: 1 // without this settings, colors won't be shown
372
+ }),
373
+ });
374
+
375
+ worker.stderr.pipe(process.stderr, { end: false });
376
+ ```
377
+
378
+
379
+ ## Authors
380
+
381
+ - TJ Holowaychuk
382
+ - Nathan Rajlich
383
+ - Andrew Rhyne
384
+ - Josh Junon
385
+
386
+ ## Backers
387
+
388
+ Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/debug#backer)]
389
+
390
+ <a href="https://opencollective.com/debug/backer/0/website" target="_blank"><img src="https://opencollective.com/debug/backer/0/avatar.svg"></a>
391
+ <a href="https://opencollective.com/debug/backer/1/website" target="_blank"><img src="https://opencollective.com/debug/backer/1/avatar.svg"></a>
392
+ <a href="https://opencollective.com/debug/backer/2/website" target="_blank"><img src="https://opencollective.com/debug/backer/2/avatar.svg"></a>
393
+ <a href="https://opencollective.com/debug/backer/3/website" target="_blank"><img src="https://opencollective.com/debug/backer/3/avatar.svg"></a>
394
+ <a href="https://opencollective.com/debug/backer/4/website" target="_blank"><img src="https://opencollective.com/debug/backer/4/avatar.svg"></a>
395
+ <a href="https://opencollective.com/debug/backer/5/website" target="_blank"><img src="https://opencollective.com/debug/backer/5/avatar.svg"></a>
396
+ <a href="https://opencollective.com/debug/backer/6/website" target="_blank"><img src="https://opencollective.com/debug/backer/6/avatar.svg"></a>
397
+ <a href="https://opencollective.com/debug/backer/7/website" target="_blank"><img src="https://opencollective.com/debug/backer/7/avatar.svg"></a>
398
+ <a href="https://opencollective.com/debug/backer/8/website" target="_blank"><img src="https://opencollective.com/debug/backer/8/avatar.svg"></a>
399
+ <a href="https://opencollective.com/debug/backer/9/website" target="_blank"><img src="https://opencollective.com/debug/backer/9/avatar.svg"></a>
400
+ <a href="https://opencollective.com/debug/backer/10/website" target="_blank"><img src="https://opencollective.com/debug/backer/10/avatar.svg"></a>
401
+ <a href="https://opencollective.com/debug/backer/11/website" target="_blank"><img src="https://opencollective.com/debug/backer/11/avatar.svg"></a>
402
+ <a href="https://opencollective.com/debug/backer/12/website" target="_blank"><img src="https://opencollective.com/debug/backer/12/avatar.svg"></a>
403
+ <a href="https://opencollective.com/debug/backer/13/website" target="_blank"><img src="https://opencollective.com/debug/backer/13/avatar.svg"></a>
404
+ <a href="https://opencollective.com/debug/backer/14/website" target="_blank"><img src="https://opencollective.com/debug/backer/14/avatar.svg"></a>
405
+ <a href="https://opencollective.com/debug/backer/15/website" target="_blank"><img src="https://opencollective.com/debug/backer/15/avatar.svg"></a>
406
+ <a href="https://opencollective.com/debug/backer/16/website" target="_blank"><img src="https://opencollective.com/debug/backer/16/avatar.svg"></a>
407
+ <a href="https://opencollective.com/debug/backer/17/website" target="_blank"><img src="https://opencollective.com/debug/backer/17/avatar.svg"></a>
408
+ <a href="https://opencollective.com/debug/backer/18/website" target="_blank"><img src="https://opencollective.com/debug/backer/18/avatar.svg"></a>
409
+ <a href="https://opencollective.com/debug/backer/19/website" target="_blank"><img src="https://opencollective.com/debug/backer/19/avatar.svg"></a>
410
+ <a href="https://opencollective.com/debug/backer/20/website" target="_blank"><img src="https://opencollective.com/debug/backer/20/avatar.svg"></a>
411
+ <a href="https://opencollective.com/debug/backer/21/website" target="_blank"><img src="https://opencollective.com/debug/backer/21/avatar.svg"></a>
412
+ <a href="https://opencollective.com/debug/backer/22/website" target="_blank"><img src="https://opencollective.com/debug/backer/22/avatar.svg"></a>
413
+ <a href="https://opencollective.com/debug/backer/23/website" target="_blank"><img src="https://opencollective.com/debug/backer/23/avatar.svg"></a>
414
+ <a href="https://opencollective.com/debug/backer/24/website" target="_blank"><img src="https://opencollective.com/debug/backer/24/avatar.svg"></a>
415
+ <a href="https://opencollective.com/debug/backer/25/website" target="_blank"><img src="https://opencollective.com/debug/backer/25/avatar.svg"></a>
416
+ <a href="https://opencollective.com/debug/backer/26/website" target="_blank"><img src="https://opencollective.com/debug/backer/26/avatar.svg"></a>
417
+ <a href="https://opencollective.com/debug/backer/27/website" target="_blank"><img src="https://opencollective.com/debug/backer/27/avatar.svg"></a>
418
+ <a href="https://opencollective.com/debug/backer/28/website" target="_blank"><img src="https://opencollective.com/debug/backer/28/avatar.svg"></a>
419
+ <a href="https://opencollective.com/debug/backer/29/website" target="_blank"><img src="https://opencollective.com/debug/backer/29/avatar.svg"></a>
420
+
421
+
422
+ ## Sponsors
423
+
424
+ Become a sponsor and get your logo on our README on Github with a link to your site. [[Become a sponsor](https://opencollective.com/debug#sponsor)]
425
+
426
+ <a href="https://opencollective.com/debug/sponsor/0/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/0/avatar.svg"></a>
427
+ <a href="https://opencollective.com/debug/sponsor/1/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/1/avatar.svg"></a>
428
+ <a href="https://opencollective.com/debug/sponsor/2/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/2/avatar.svg"></a>
429
+ <a href="https://opencollective.com/debug/sponsor/3/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/3/avatar.svg"></a>
430
+ <a href="https://opencollective.com/debug/sponsor/4/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/4/avatar.svg"></a>
431
+ <a href="https://opencollective.com/debug/sponsor/5/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/5/avatar.svg"></a>
432
+ <a href="https://opencollective.com/debug/sponsor/6/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/6/avatar.svg"></a>
433
+ <a href="https://opencollective.com/debug/sponsor/7/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/7/avatar.svg"></a>
434
+ <a href="https://opencollective.com/debug/sponsor/8/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/8/avatar.svg"></a>
435
+ <a href="https://opencollective.com/debug/sponsor/9/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/9/avatar.svg"></a>
436
+ <a href="https://opencollective.com/debug/sponsor/10/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/10/avatar.svg"></a>
437
+ <a href="https://opencollective.com/debug/sponsor/11/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/11/avatar.svg"></a>
438
+ <a href="https://opencollective.com/debug/sponsor/12/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/12/avatar.svg"></a>
439
+ <a href="https://opencollective.com/debug/sponsor/13/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/13/avatar.svg"></a>
440
+ <a href="https://opencollective.com/debug/sponsor/14/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/14/avatar.svg"></a>
441
+ <a href="https://opencollective.com/debug/sponsor/15/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/15/avatar.svg"></a>
442
+ <a href="https://opencollective.com/debug/sponsor/16/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/16/avatar.svg"></a>
443
+ <a href="https://opencollective.com/debug/sponsor/17/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/17/avatar.svg"></a>
444
+ <a href="https://opencollective.com/debug/sponsor/18/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/18/avatar.svg"></a>
445
+ <a href="https://opencollective.com/debug/sponsor/19/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/19/avatar.svg"></a>
446
+ <a href="https://opencollective.com/debug/sponsor/20/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/20/avatar.svg"></a>
447
+ <a href="https://opencollective.com/debug/sponsor/21/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/21/avatar.svg"></a>
448
+ <a href="https://opencollective.com/debug/sponsor/22/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/22/avatar.svg"></a>
449
+ <a href="https://opencollective.com/debug/sponsor/23/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/23/avatar.svg"></a>
450
+ <a href="https://opencollective.com/debug/sponsor/24/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/24/avatar.svg"></a>
451
+ <a href="https://opencollective.com/debug/sponsor/25/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/25/avatar.svg"></a>
452
+ <a href="https://opencollective.com/debug/sponsor/26/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/26/avatar.svg"></a>
453
+ <a href="https://opencollective.com/debug/sponsor/27/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/27/avatar.svg"></a>
454
+ <a href="https://opencollective.com/debug/sponsor/28/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/28/avatar.svg"></a>
455
+ <a href="https://opencollective.com/debug/sponsor/29/website" target="_blank"><img src="https://opencollective.com/debug/sponsor/29/avatar.svg"></a>
456
+
457
+ ## License
458
+
459
+ (The MIT License)
460
+
461
+ Copyright (c) 2014-2017 TJ Holowaychuk &lt;tj@vision-media.ca&gt;
462
+ Copyright (c) 2018-2021 Josh Junon
463
+
464
+ Permission is hereby granted, free of charge, to any person obtaining
465
+ a copy of this software and associated documentation files (the
466
+ 'Software'), to deal in the Software without restriction, including
467
+ without limitation the rights to use, copy, modify, merge, publish,
468
+ distribute, sublicense, and/or sell copies of the Software, and to
469
+ permit persons to whom the Software is furnished to do so, subject to
470
+ the following conditions:
471
+
472
+ The above copyright notice and this permission notice shall be
473
+ included in all copies or substantial portions of the Software.
474
+
475
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
476
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
477
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
478
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
479
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
480
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
481
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,59 @@
1
+ {
2
+ "name": "debug",
3
+ "version": "4.3.4",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "git://github.com/debug-js/debug.git"
7
+ },
8
+ "description": "Lightweight debugging utility for Node.js and the browser",
9
+ "keywords": [
10
+ "debug",
11
+ "log",
12
+ "debugger"
13
+ ],
14
+ "files": [
15
+ "src",
16
+ "LICENSE",
17
+ "README.md"
18
+ ],
19
+ "author": "Josh Junon <josh.junon@protonmail.com>",
20
+ "contributors": [
21
+ "TJ Holowaychuk <tj@vision-media.ca>",
22
+ "Nathan Rajlich <nathan@tootallnate.net> (http://n8.io)",
23
+ "Andrew Rhyne <rhyneandrew@gmail.com>"
24
+ ],
25
+ "license": "MIT",
26
+ "scripts": {
27
+ "lint": "xo",
28
+ "test": "npm run test:node && npm run test:browser && npm run lint",
29
+ "test:node": "istanbul cover _mocha -- test.js",
30
+ "test:browser": "karma start --single-run",
31
+ "test:coverage": "cat ./coverage/lcov.info | coveralls"
32
+ },
33
+ "dependencies": {
34
+ "ms": "2.1.2"
35
+ },
36
+ "devDependencies": {
37
+ "brfs": "^2.0.1",
38
+ "browserify": "^16.2.3",
39
+ "coveralls": "^3.0.2",
40
+ "istanbul": "^0.4.5",
41
+ "karma": "^3.1.4",
42
+ "karma-browserify": "^6.0.0",
43
+ "karma-chrome-launcher": "^2.2.0",
44
+ "karma-mocha": "^1.3.0",
45
+ "mocha": "^5.2.0",
46
+ "mocha-lcov-reporter": "^1.2.0",
47
+ "xo": "^0.23.0"
48
+ },
49
+ "peerDependenciesMeta": {
50
+ "supports-color": {
51
+ "optional": true
52
+ }
53
+ },
54
+ "main": "./src/index.js",
55
+ "browser": "./src/browser.js",
56
+ "engines": {
57
+ "node": ">=6.0"
58
+ }
59
+ }