@pie-element/ebsr 6.6.3-next.414 → 6.6.3-next.430

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 (622) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/configure/CHANGELOG.md +25 -0
  3. package/configure/package.json +2 -2
  4. package/controller/CHANGELOG.md +17 -0
  5. package/controller/package.json +1 -1
  6. package/package.json +3 -3
  7. package/configure/node_modules/@pie-element/multiple-choice/CHANGELOG.json +0 -1972
  8. package/configure/node_modules/@pie-element/multiple-choice/CHANGELOG.md +0 -1563
  9. package/configure/node_modules/@pie-element/multiple-choice/LICENSE.md +0 -5
  10. package/configure/node_modules/@pie-element/multiple-choice/README.md +0 -56
  11. package/configure/node_modules/@pie-element/multiple-choice/choice.png +0 -0
  12. package/configure/node_modules/@pie-element/multiple-choice/configure/CHANGELOG.json +0 -1387
  13. package/configure/node_modules/@pie-element/multiple-choice/configure/CHANGELOG.md +0 -1140
  14. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/defaults.js +0 -103
  15. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/defaults.js.map +0 -1
  16. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/index.js +0 -193
  17. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/index.js.map +0 -1
  18. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/main.js +0 -471
  19. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/main.js.map +0 -1
  20. package/configure/node_modules/@pie-element/multiple-choice/configure/package.json +0 -20
  21. package/configure/node_modules/@pie-element/multiple-choice/controller/CHANGELOG.json +0 -527
  22. package/configure/node_modules/@pie-element/multiple-choice/controller/CHANGELOG.md +0 -714
  23. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/defaults.js +0 -18
  24. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/defaults.js.map +0 -1
  25. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/index.js +0 -242
  26. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/index.js.map +0 -1
  27. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/utils.js +0 -36
  28. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/utils.js.map +0 -1
  29. package/configure/node_modules/@pie-element/multiple-choice/controller/package.json +0 -15
  30. package/configure/node_modules/@pie-element/multiple-choice/docs/config-schema.json +0 -311
  31. package/configure/node_modules/@pie-element/multiple-choice/docs/config-schema.json.md +0 -245
  32. package/configure/node_modules/@pie-element/multiple-choice/docs/demo/config.js +0 -8
  33. package/configure/node_modules/@pie-element/multiple-choice/docs/demo/generate.js +0 -52
  34. package/configure/node_modules/@pie-element/multiple-choice/docs/demo/index.html +0 -1
  35. package/configure/node_modules/@pie-element/multiple-choice/docs/demo/session.js +0 -7
  36. package/configure/node_modules/@pie-element/multiple-choice/docs/pie-schema.json +0 -326
  37. package/configure/node_modules/@pie-element/multiple-choice/docs/pie-schema.json.md +0 -266
  38. package/configure/node_modules/@pie-element/multiple-choice/lib/choice-input.js +0 -284
  39. package/configure/node_modules/@pie-element/multiple-choice/lib/choice-input.js.map +0 -1
  40. package/configure/node_modules/@pie-element/multiple-choice/lib/feedback-tick.js +0 -174
  41. package/configure/node_modules/@pie-element/multiple-choice/lib/feedback-tick.js.map +0 -1
  42. package/configure/node_modules/@pie-element/multiple-choice/lib/index.js +0 -151
  43. package/configure/node_modules/@pie-element/multiple-choice/lib/index.js.map +0 -1
  44. package/configure/node_modules/@pie-element/multiple-choice/lib/main.js +0 -97
  45. package/configure/node_modules/@pie-element/multiple-choice/lib/main.js.map +0 -1
  46. package/configure/node_modules/@pie-element/multiple-choice/lib/multiple-choice.js +0 -341
  47. package/configure/node_modules/@pie-element/multiple-choice/lib/multiple-choice.js.map +0 -1
  48. package/configure/node_modules/@pie-element/multiple-choice/lib/session-updater.js +0 -35
  49. package/configure/node_modules/@pie-element/multiple-choice/lib/session-updater.js.map +0 -1
  50. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/CHANGELOG.json +0 -1677
  51. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/CHANGELOG.md +0 -1498
  52. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/LICENSE.md +0 -5
  53. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/README.md +0 -12
  54. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/checkbox.js +0 -86
  55. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/checkbox.js.map +0 -1
  56. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/choice-configuration/feedback-menu.js +0 -176
  57. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/choice-configuration/feedback-menu.js.map +0 -1
  58. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/choice-configuration/index.js +0 -391
  59. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/choice-configuration/index.js.map +0 -1
  60. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/choice-utils.js +0 -54
  61. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/choice-utils.js.map +0 -1
  62. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/feedback-config/feedback-selector.js +0 -194
  63. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/feedback-config/feedback-selector.js.map +0 -1
  64. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/feedback-config/group.js +0 -75
  65. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/feedback-config/group.js.map +0 -1
  66. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/feedback-config/index.js +0 -184
  67. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/feedback-config/index.js.map +0 -1
  68. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/form-section.js +0 -44
  69. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/form-section.js.map +0 -1
  70. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/help.js +0 -152
  71. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/help.js.map +0 -1
  72. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/index.js +0 -195
  73. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/index.js.map +0 -1
  74. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/input.js +0 -144
  75. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/input.js.map +0 -1
  76. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/inputs.js +0 -120
  77. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/inputs.js.map +0 -1
  78. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/langs.js +0 -187
  79. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/langs.js.map +0 -1
  80. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/layout/config-layout.js +0 -109
  81. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/layout/config-layout.js.map +0 -1
  82. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/layout/index.js +0 -24
  83. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/layout/index.js.map +0 -1
  84. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/layout/layout-contents.js +0 -111
  85. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/layout/layout-contents.js.map +0 -1
  86. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/layout/settings-box.js +0 -95
  87. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/layout/settings-box.js.map +0 -1
  88. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/mui-box/index.js +0 -79
  89. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/mui-box/index.js.map +0 -1
  90. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/number-text-field.js +0 -274
  91. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/number-text-field.js.map +0 -1
  92. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/radio-with-label.js +0 -41
  93. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/radio-with-label.js.map +0 -1
  94. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/display-size.js +0 -77
  95. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/display-size.js.map +0 -1
  96. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/index.js +0 -136
  97. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/index.js.map +0 -1
  98. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/panel.js +0 -422
  99. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/panel.js.map +0 -1
  100. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/settings-radio-label.js +0 -43
  101. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/settings-radio-label.js.map +0 -1
  102. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/toggle.js +0 -56
  103. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/settings/toggle.js.map +0 -1
  104. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/tabs/index.js +0 -113
  105. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/tabs/index.js.map +0 -1
  106. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/tags-input/index.js +0 -206
  107. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/tags-input/index.js.map +0 -1
  108. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/two-choice.js +0 -190
  109. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/two-choice.js.map +0 -1
  110. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/with-stateful-model.js +0 -91
  111. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/lib/with-stateful-model.js.map +0 -1
  112. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/package.json +0 -30
  113. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/checkbox.jsx +0 -63
  114. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/choice-configuration/feedback-menu.jsx +0 -103
  115. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/choice-configuration/index.jsx +0 -301
  116. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/choice-utils.js +0 -30
  117. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/feedback-config/feedback-selector.jsx +0 -116
  118. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/feedback-config/group.jsx +0 -54
  119. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/feedback-config/index.jsx +0 -98
  120. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/form-section.jsx +0 -23
  121. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/help.jsx +0 -88
  122. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/index.js +0 -54
  123. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/input.jsx +0 -72
  124. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/inputs.jsx +0 -88
  125. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/langs.jsx +0 -122
  126. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/layout/config-layout.jsx +0 -64
  127. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/layout/index.js +0 -4
  128. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/layout/layout-contents.jsx +0 -60
  129. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/layout/settings-box.jsx +0 -31
  130. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/mui-box/index.jsx +0 -64
  131. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/number-text-field.jsx +0 -196
  132. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/radio-with-label.jsx +0 -18
  133. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/settings/display-size.jsx +0 -52
  134. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/settings/index.js +0 -75
  135. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/settings/panel.jsx +0 -297
  136. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/settings/settings-radio-label.jsx +0 -20
  137. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/settings/toggle.jsx +0 -31
  138. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/tabs/index.jsx +0 -51
  139. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/tags-input/index.jsx +0 -121
  140. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/two-choice.jsx +0 -94
  141. package/configure/node_modules/@pie-element/multiple-choice/node_modules/@pie-lib/config-ui/src/with-stateful-model.jsx +0 -36
  142. package/configure/node_modules/@pie-element/multiple-choice/package.json +0 -30
  143. package/configure/node_modules/@pie-lib/correct-answer-toggle/CHANGELOG.json +0 -547
  144. package/configure/node_modules/@pie-lib/correct-answer-toggle/CHANGELOG.md +0 -513
  145. package/configure/node_modules/@pie-lib/correct-answer-toggle/LICENSE.md +0 -5
  146. package/configure/node_modules/@pie-lib/correct-answer-toggle/README.md +0 -64
  147. package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/expander.js +0 -81
  148. package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/expander.js.map +0 -1
  149. package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/index.js +0 -150
  150. package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/index.js.map +0 -1
  151. package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/styles.js +0 -65
  152. package/configure/node_modules/@pie-lib/correct-answer-toggle/lib/styles.js.map +0 -1
  153. package/configure/node_modules/@pie-lib/correct-answer-toggle/package.json +0 -36
  154. package/configure/node_modules/@pie-lib/correct-answer-toggle/preview.png +0 -0
  155. package/configure/node_modules/@pie-lib/correct-answer-toggle/src/expander.jsx +0 -60
  156. package/configure/node_modules/@pie-lib/correct-answer-toggle/src/index.jsx +0 -73
  157. package/configure/node_modules/@pie-lib/correct-answer-toggle/src/styles.js +0 -60
  158. package/configure/node_modules/@pie-lib/editable-html/CHANGELOG.json +0 -3162
  159. package/configure/node_modules/@pie-lib/editable-html/CHANGELOG.md +0 -1441
  160. package/configure/node_modules/@pie-lib/editable-html/LICENSE.md +0 -5
  161. package/configure/node_modules/@pie-lib/editable-html/README.md +0 -45
  162. package/configure/node_modules/@pie-lib/editable-html/deploy.sh +0 -16
  163. package/configure/node_modules/@pie-lib/editable-html/lib/editor.js +0 -698
  164. package/configure/node_modules/@pie-lib/editable-html/lib/editor.js.map +0 -1
  165. package/configure/node_modules/@pie-lib/editable-html/lib/index.js +0 -213
  166. package/configure/node_modules/@pie-lib/editable-html/lib/index.js.map +0 -1
  167. package/configure/node_modules/@pie-lib/editable-html/lib/parse-html.js +0 -16
  168. package/configure/node_modules/@pie-lib/editable-html/lib/parse-html.js.map +0 -1
  169. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/component.js +0 -248
  170. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/component.js.map +0 -1
  171. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/image-toolbar.js +0 -141
  172. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/image-toolbar.js.map +0 -1
  173. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/index.js +0 -219
  174. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/index.js.map +0 -1
  175. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/insert-image-handler.js +0 -141
  176. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/image/insert-image-handler.js.map +0 -1
  177. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/index.js +0 -133
  178. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/index.js.map +0 -1
  179. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/list/index.js +0 -136
  180. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/list/index.js.map +0 -1
  181. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/math/index.js +0 -352
  182. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/math/index.js.map +0 -1
  183. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/index.js +0 -338
  184. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/index.js.map +0 -1
  185. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/media-dialog.js +0 -445
  186. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/media-dialog.js.map +0 -1
  187. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/media-toolbar.js +0 -105
  188. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/media-toolbar.js.map +0 -1
  189. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/media-wrapper.js +0 -100
  190. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/media/media-wrapper.js.map +0 -1
  191. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/drag-in-the-blank/choice.js +0 -229
  192. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/drag-in-the-blank/choice.js.map +0 -1
  193. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/drag-in-the-blank/index.js +0 -97
  194. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/drag-in-the-blank/index.js.map +0 -1
  195. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/explicit-constructed-response/index.js +0 -53
  196. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/explicit-constructed-response/index.js.map +0 -1
  197. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/icons/index.js +0 -93
  198. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/icons/index.js.map +0 -1
  199. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/index.js +0 -277
  200. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/index.js.map +0 -1
  201. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/inline-dropdown/index.js +0 -70
  202. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/inline-dropdown/index.js.map +0 -1
  203. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/utils.js +0 -110
  204. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/respArea/utils.js.map +0 -1
  205. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/table/icons/index.js +0 -69
  206. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/table/icons/index.js.map +0 -1
  207. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/table/index.js +0 -443
  208. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/table/index.js.map +0 -1
  209. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/table/table-toolbar.js +0 -167
  210. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/table/table-toolbar.js.map +0 -1
  211. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/default-toolbar.js +0 -129
  212. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/default-toolbar.js.map +0 -1
  213. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/done-button.js +0 -50
  214. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/done-button.js.map +0 -1
  215. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/editor-and-toolbar.js +0 -263
  216. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/editor-and-toolbar.js.map +0 -1
  217. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/index.js +0 -32
  218. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/index.js.map +0 -1
  219. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/toolbar-buttons.js +0 -164
  220. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/toolbar-buttons.js.map +0 -1
  221. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/toolbar.js +0 -350
  222. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/toolbar/toolbar.js.map +0 -1
  223. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/utils.js +0 -62
  224. package/configure/node_modules/@pie-lib/editable-html/lib/plugins/utils.js.map +0 -1
  225. package/configure/node_modules/@pie-lib/editable-html/lib/serialization.js +0 -405
  226. package/configure/node_modules/@pie-lib/editable-html/lib/serialization.js.map +0 -1
  227. package/configure/node_modules/@pie-lib/editable-html/lib/theme.js +0 -9
  228. package/configure/node_modules/@pie-lib/editable-html/lib/theme.js.map +0 -1
  229. package/configure/node_modules/@pie-lib/editable-html/package.json +0 -51
  230. package/configure/node_modules/@pie-lib/editable-html/playground/image/data.js +0 -59
  231. package/configure/node_modules/@pie-lib/editable-html/playground/image/index.html +0 -24
  232. package/configure/node_modules/@pie-lib/editable-html/playground/image/index.jsx +0 -83
  233. package/configure/node_modules/@pie-lib/editable-html/playground/index.html +0 -27
  234. package/configure/node_modules/@pie-lib/editable-html/playground/mathquill/index.html +0 -25
  235. package/configure/node_modules/@pie-lib/editable-html/playground/mathquill/index.jsx +0 -151
  236. package/configure/node_modules/@pie-lib/editable-html/playground/package.json +0 -15
  237. package/configure/node_modules/@pie-lib/editable-html/playground/prod-test/index.html +0 -26
  238. package/configure/node_modules/@pie-lib/editable-html/playground/prod-test/index.jsx +0 -30
  239. package/configure/node_modules/@pie-lib/editable-html/playground/schema-override/data.js +0 -29
  240. package/configure/node_modules/@pie-lib/editable-html/playground/schema-override/image-plugin.jsx +0 -40
  241. package/configure/node_modules/@pie-lib/editable-html/playground/schema-override/index.html +0 -23
  242. package/configure/node_modules/@pie-lib/editable-html/playground/schema-override/index.jsx +0 -96
  243. package/configure/node_modules/@pie-lib/editable-html/playground/serialization/data.js +0 -29
  244. package/configure/node_modules/@pie-lib/editable-html/playground/serialization/image-plugin.jsx +0 -40
  245. package/configure/node_modules/@pie-lib/editable-html/playground/serialization/index.html +0 -24
  246. package/configure/node_modules/@pie-lib/editable-html/playground/serialization/index.jsx +0 -12
  247. package/configure/node_modules/@pie-lib/editable-html/playground/static.json +0 -3
  248. package/configure/node_modules/@pie-lib/editable-html/playground/table-examples.html +0 -67
  249. package/configure/node_modules/@pie-lib/editable-html/playground/webpack.config.js +0 -42
  250. package/configure/node_modules/@pie-lib/editable-html/src/editor.jsx +0 -584
  251. package/configure/node_modules/@pie-lib/editable-html/src/index.jsx +0 -128
  252. package/configure/node_modules/@pie-lib/editable-html/src/parse-html.js +0 -8
  253. package/configure/node_modules/@pie-lib/editable-html/src/plugins/README.md +0 -27
  254. package/configure/node_modules/@pie-lib/editable-html/src/plugins/image/component.jsx +0 -166
  255. package/configure/node_modules/@pie-lib/editable-html/src/plugins/image/image-toolbar.jsx +0 -62
  256. package/configure/node_modules/@pie-lib/editable-html/src/plugins/image/index.jsx +0 -180
  257. package/configure/node_modules/@pie-lib/editable-html/src/plugins/image/insert-image-handler.js +0 -93
  258. package/configure/node_modules/@pie-lib/editable-html/src/plugins/index.jsx +0 -112
  259. package/configure/node_modules/@pie-lib/editable-html/src/plugins/list/index.jsx +0 -113
  260. package/configure/node_modules/@pie-lib/editable-html/src/plugins/math/index.jsx +0 -289
  261. package/configure/node_modules/@pie-lib/editable-html/src/plugins/media/index.jsx +0 -281
  262. package/configure/node_modules/@pie-lib/editable-html/src/plugins/media/media-dialog.js +0 -372
  263. package/configure/node_modules/@pie-lib/editable-html/src/plugins/media/media-toolbar.jsx +0 -53
  264. package/configure/node_modules/@pie-lib/editable-html/src/plugins/media/media-wrapper.jsx +0 -43
  265. package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/drag-in-the-blank/choice.jsx +0 -160
  266. package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/drag-in-the-blank/index.jsx +0 -78
  267. package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/explicit-constructed-response/index.jsx +0 -45
  268. package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/icons/index.jsx +0 -68
  269. package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/index.jsx +0 -244
  270. package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/inline-dropdown/index.jsx +0 -63
  271. package/configure/node_modules/@pie-lib/editable-html/src/plugins/respArea/utils.jsx +0 -77
  272. package/configure/node_modules/@pie-lib/editable-html/src/plugins/table/icons/index.jsx +0 -59
  273. package/configure/node_modules/@pie-lib/editable-html/src/plugins/table/index.jsx +0 -390
  274. package/configure/node_modules/@pie-lib/editable-html/src/plugins/table/table-toolbar.jsx +0 -104
  275. package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/default-toolbar.jsx +0 -103
  276. package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/done-button.jsx +0 -36
  277. package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/editor-and-toolbar.jsx +0 -217
  278. package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/index.jsx +0 -21
  279. package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/toolbar-buttons.jsx +0 -86
  280. package/configure/node_modules/@pie-lib/editable-html/src/plugins/toolbar/toolbar.jsx +0 -313
  281. package/configure/node_modules/@pie-lib/editable-html/src/plugins/utils.js +0 -32
  282. package/configure/node_modules/@pie-lib/editable-html/src/serialization.jsx +0 -369
  283. package/configure/node_modules/@pie-lib/editable-html/src/theme.js +0 -1
  284. package/configure/node_modules/@pie-lib/editable-html/static.json +0 -1
  285. package/configure/node_modules/@pie-lib/math-input/CHANGELOG.json +0 -1412
  286. package/configure/node_modules/@pie-lib/math-input/CHANGELOG.md +0 -874
  287. package/configure/node_modules/@pie-lib/math-input/LICENSE.md +0 -5
  288. package/configure/node_modules/@pie-lib/math-input/README.md +0 -27
  289. package/configure/node_modules/@pie-lib/math-input/lib/horizontal-keypad.js +0 -123
  290. package/configure/node_modules/@pie-lib/math-input/lib/horizontal-keypad.js.map +0 -1
  291. package/configure/node_modules/@pie-lib/math-input/lib/index.js +0 -75
  292. package/configure/node_modules/@pie-lib/math-input/lib/index.js.map +0 -1
  293. package/configure/node_modules/@pie-lib/math-input/lib/keypad/index.js +0 -367
  294. package/configure/node_modules/@pie-lib/math-input/lib/keypad/index.js.map +0 -1
  295. package/configure/node_modules/@pie-lib/math-input/lib/keypad/keys-layout.js +0 -30
  296. package/configure/node_modules/@pie-lib/math-input/lib/keypad/keys-layout.js.map +0 -1
  297. package/configure/node_modules/@pie-lib/math-input/lib/keys/basic-operators.js +0 -41
  298. package/configure/node_modules/@pie-lib/math-input/lib/keys/basic-operators.js.map +0 -1
  299. package/configure/node_modules/@pie-lib/math-input/lib/keys/chars.js +0 -17
  300. package/configure/node_modules/@pie-lib/math-input/lib/keys/chars.js.map +0 -1
  301. package/configure/node_modules/@pie-lib/math-input/lib/keys/comparison.js +0 -46
  302. package/configure/node_modules/@pie-lib/math-input/lib/keys/comparison.js.map +0 -1
  303. package/configure/node_modules/@pie-lib/math-input/lib/keys/constants.js +0 -26
  304. package/configure/node_modules/@pie-lib/math-input/lib/keys/constants.js.map +0 -1
  305. package/configure/node_modules/@pie-lib/math-input/lib/keys/digits.js +0 -53
  306. package/configure/node_modules/@pie-lib/math-input/lib/keys/digits.js.map +0 -1
  307. package/configure/node_modules/@pie-lib/math-input/lib/keys/edit.js +0 -16
  308. package/configure/node_modules/@pie-lib/math-input/lib/keys/edit.js.map +0 -1
  309. package/configure/node_modules/@pie-lib/math-input/lib/keys/exponent.js +0 -35
  310. package/configure/node_modules/@pie-lib/math-input/lib/keys/exponent.js.map +0 -1
  311. package/configure/node_modules/@pie-lib/math-input/lib/keys/fractions.js +0 -31
  312. package/configure/node_modules/@pie-lib/math-input/lib/keys/fractions.js.map +0 -1
  313. package/configure/node_modules/@pie-lib/math-input/lib/keys/geometry.js +0 -139
  314. package/configure/node_modules/@pie-lib/math-input/lib/keys/geometry.js.map +0 -1
  315. package/configure/node_modules/@pie-lib/math-input/lib/keys/grades.js +0 -198
  316. package/configure/node_modules/@pie-lib/math-input/lib/keys/grades.js.map +0 -1
  317. package/configure/node_modules/@pie-lib/math-input/lib/keys/index.js +0 -50
  318. package/configure/node_modules/@pie-lib/math-input/lib/keys/index.js.map +0 -1
  319. package/configure/node_modules/@pie-lib/math-input/lib/keys/log.js +0 -32
  320. package/configure/node_modules/@pie-lib/math-input/lib/keys/log.js.map +0 -1
  321. package/configure/node_modules/@pie-lib/math-input/lib/keys/logic.js +0 -23
  322. package/configure/node_modules/@pie-lib/math-input/lib/keys/logic.js.map +0 -1
  323. package/configure/node_modules/@pie-lib/math-input/lib/keys/matrices.js +0 -23
  324. package/configure/node_modules/@pie-lib/math-input/lib/keys/matrices.js.map +0 -1
  325. package/configure/node_modules/@pie-lib/math-input/lib/keys/misc.js +0 -69
  326. package/configure/node_modules/@pie-lib/math-input/lib/keys/misc.js.map +0 -1
  327. package/configure/node_modules/@pie-lib/math-input/lib/keys/navigation.js +0 -23
  328. package/configure/node_modules/@pie-lib/math-input/lib/keys/navigation.js.map +0 -1
  329. package/configure/node_modules/@pie-lib/math-input/lib/keys/operators.js +0 -17
  330. package/configure/node_modules/@pie-lib/math-input/lib/keys/operators.js.map +0 -1
  331. package/configure/node_modules/@pie-lib/math-input/lib/keys/statistics.js +0 -38
  332. package/configure/node_modules/@pie-lib/math-input/lib/keys/statistics.js.map +0 -1
  333. package/configure/node_modules/@pie-lib/math-input/lib/keys/sub-sup.js +0 -23
  334. package/configure/node_modules/@pie-lib/math-input/lib/keys/sub-sup.js.map +0 -1
  335. package/configure/node_modules/@pie-lib/math-input/lib/keys/trigonometry.js +0 -53
  336. package/configure/node_modules/@pie-lib/math-input/lib/keys/trigonometry.js.map +0 -1
  337. package/configure/node_modules/@pie-lib/math-input/lib/keys/utils.js +0 -126
  338. package/configure/node_modules/@pie-lib/math-input/lib/keys/utils.js.map +0 -1
  339. package/configure/node_modules/@pie-lib/math-input/lib/keys/vars.js +0 -29
  340. package/configure/node_modules/@pie-lib/math-input/lib/keys/vars.js.map +0 -1
  341. package/configure/node_modules/@pie-lib/math-input/lib/math-input.js +0 -200
  342. package/configure/node_modules/@pie-lib/math-input/lib/math-input.js.map +0 -1
  343. package/configure/node_modules/@pie-lib/math-input/lib/mq/custom-elements.js +0 -23
  344. package/configure/node_modules/@pie-lib/math-input/lib/mq/custom-elements.js.map +0 -1
  345. package/configure/node_modules/@pie-lib/math-input/lib/mq/index.js +0 -24
  346. package/configure/node_modules/@pie-lib/math-input/lib/mq/index.js.map +0 -1
  347. package/configure/node_modules/@pie-lib/math-input/lib/mq/input.js +0 -255
  348. package/configure/node_modules/@pie-lib/math-input/lib/mq/input.js.map +0 -1
  349. package/configure/node_modules/@pie-lib/math-input/lib/mq/static.js +0 -216
  350. package/configure/node_modules/@pie-lib/math-input/lib/mq/static.js.map +0 -1
  351. package/configure/node_modules/@pie-lib/math-input/package.json +0 -26
  352. package/configure/node_modules/@pie-lib/math-input/src/horizontal-keypad.jsx +0 -53
  353. package/configure/node_modules/@pie-lib/math-input/src/index.jsx +0 -27
  354. package/configure/node_modules/@pie-lib/math-input/src/keypad/index.jsx +0 -279
  355. package/configure/node_modules/@pie-lib/math-input/src/keypad/keys-layout.js +0 -17
  356. package/configure/node_modules/@pie-lib/math-input/src/keys/basic-operators.js +0 -32
  357. package/configure/node_modules/@pie-lib/math-input/src/keys/chars.js +0 -5
  358. package/configure/node_modules/@pie-lib/math-input/src/keys/comparison.js +0 -27
  359. package/configure/node_modules/@pie-lib/math-input/src/keys/constants.js +0 -18
  360. package/configure/node_modules/@pie-lib/math-input/src/keys/digits.js +0 -40
  361. package/configure/node_modules/@pie-lib/math-input/src/keys/edit.js +0 -3
  362. package/configure/node_modules/@pie-lib/math-input/src/keys/exponent.js +0 -27
  363. package/configure/node_modules/@pie-lib/math-input/src/keys/fractions.js +0 -23
  364. package/configure/node_modules/@pie-lib/math-input/src/keys/geometry.js +0 -116
  365. package/configure/node_modules/@pie-lib/math-input/src/keys/grades.js +0 -265
  366. package/configure/node_modules/@pie-lib/math-input/src/keys/index.js +0 -21
  367. package/configure/node_modules/@pie-lib/math-input/src/keys/log.js +0 -22
  368. package/configure/node_modules/@pie-lib/math-input/src/keys/logic.js +0 -15
  369. package/configure/node_modules/@pie-lib/math-input/src/keys/matrices.js +0 -15
  370. package/configure/node_modules/@pie-lib/math-input/src/keys/misc.js +0 -60
  371. package/configure/node_modules/@pie-lib/math-input/src/keys/navigation.js +0 -8
  372. package/configure/node_modules/@pie-lib/math-input/src/keys/operators.js +0 -9
  373. package/configure/node_modules/@pie-lib/math-input/src/keys/statistics.js +0 -29
  374. package/configure/node_modules/@pie-lib/math-input/src/keys/sub-sup.js +0 -15
  375. package/configure/node_modules/@pie-lib/math-input/src/keys/trigonometry.js +0 -15
  376. package/configure/node_modules/@pie-lib/math-input/src/keys/utils.js +0 -71
  377. package/configure/node_modules/@pie-lib/math-input/src/keys/vars.js +0 -19
  378. package/configure/node_modules/@pie-lib/math-input/src/math-input.jsx +0 -128
  379. package/configure/node_modules/@pie-lib/math-input/src/mq/custom-elements.js +0 -11
  380. package/configure/node_modules/@pie-lib/math-input/src/mq/index.js +0 -4
  381. package/configure/node_modules/@pie-lib/math-input/src/mq/input.jsx +0 -163
  382. package/configure/node_modules/@pie-lib/math-input/src/mq/static.jsx +0 -139
  383. package/configure/node_modules/@pie-lib/math-rendering/CHANGELOG.json +0 -657
  384. package/configure/node_modules/@pie-lib/math-rendering/CHANGELOG.md +0 -412
  385. package/configure/node_modules/@pie-lib/math-rendering/LICENSE.md +0 -5
  386. package/configure/node_modules/@pie-lib/math-rendering/lib/index.js +0 -30
  387. package/configure/node_modules/@pie-lib/math-rendering/lib/index.js.map +0 -1
  388. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/chtml.js +0 -312
  389. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/chtml.js.map +0 -1
  390. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/index.js +0 -23
  391. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/index.js.map +0 -1
  392. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/mml.js +0 -119
  393. package/configure/node_modules/@pie-lib/math-rendering/lib/mstack/mml.js.map +0 -1
  394. package/configure/node_modules/@pie-lib/math-rendering/lib/normalization.js +0 -99
  395. package/configure/node_modules/@pie-lib/math-rendering/lib/normalization.js.map +0 -1
  396. package/configure/node_modules/@pie-lib/math-rendering/lib/render-math.js +0 -239
  397. package/configure/node_modules/@pie-lib/math-rendering/lib/render-math.js.map +0 -1
  398. package/configure/node_modules/@pie-lib/math-rendering/package.json +0 -19
  399. package/configure/node_modules/@pie-lib/math-rendering/playground/demo.html +0 -872
  400. package/configure/node_modules/@pie-lib/math-rendering/playground/demo.js +0 -108
  401. package/configure/node_modules/@pie-lib/math-rendering/playground/main.html +0 -156
  402. package/configure/node_modules/@pie-lib/math-rendering/playground/main.js +0 -16
  403. package/configure/node_modules/@pie-lib/math-rendering/playground/webpack.config.js +0 -29
  404. package/configure/node_modules/@pie-lib/math-rendering/src/index.js +0 -4
  405. package/configure/node_modules/@pie-lib/math-rendering/src/mstack/chtml.js +0 -215
  406. package/configure/node_modules/@pie-lib/math-rendering/src/mstack/index.js +0 -13
  407. package/configure/node_modules/@pie-lib/math-rendering/src/mstack/mml.js +0 -24
  408. package/configure/node_modules/@pie-lib/math-rendering/src/normalization.js +0 -69
  409. package/configure/node_modules/@pie-lib/math-rendering/src/render-math.js +0 -203
  410. package/configure/node_modules/@pie-lib/math-toolbar/CHANGELOG.json +0 -847
  411. package/configure/node_modules/@pie-lib/math-toolbar/CHANGELOG.md +0 -742
  412. package/configure/node_modules/@pie-lib/math-toolbar/LICENSE.md +0 -5
  413. package/configure/node_modules/@pie-lib/math-toolbar/lib/done-button.js +0 -53
  414. package/configure/node_modules/@pie-lib/math-toolbar/lib/done-button.js.map +0 -1
  415. package/configure/node_modules/@pie-lib/math-toolbar/lib/editor-and-pad.js +0 -386
  416. package/configure/node_modules/@pie-lib/math-toolbar/lib/editor-and-pad.js.map +0 -1
  417. package/configure/node_modules/@pie-lib/math-toolbar/lib/index.js +0 -259
  418. package/configure/node_modules/@pie-lib/math-toolbar/lib/index.js.map +0 -1
  419. package/configure/node_modules/@pie-lib/math-toolbar/lib/math-preview.js +0 -163
  420. package/configure/node_modules/@pie-lib/math-toolbar/lib/math-preview.js.map +0 -1
  421. package/configure/node_modules/@pie-lib/math-toolbar/package.json +0 -36
  422. package/configure/node_modules/@pie-lib/math-toolbar/src/done-button.jsx +0 -39
  423. package/configure/node_modules/@pie-lib/math-toolbar/src/editor-and-pad.jsx +0 -311
  424. package/configure/node_modules/@pie-lib/math-toolbar/src/index.jsx +0 -185
  425. package/configure/node_modules/@pie-lib/math-toolbar/src/math-preview.jsx +0 -101
  426. package/configure/node_modules/@pie-lib/render-ui/CHANGELOG.json +0 -937
  427. package/configure/node_modules/@pie-lib/render-ui/CHANGELOG.md +0 -616
  428. package/configure/node_modules/@pie-lib/render-ui/LICENSE.md +0 -5
  429. package/configure/node_modules/@pie-lib/render-ui/README.md +0 -33
  430. package/configure/node_modules/@pie-lib/render-ui/lib/collapsible/index.js +0 -144
  431. package/configure/node_modules/@pie-lib/render-ui/lib/collapsible/index.js.map +0 -1
  432. package/configure/node_modules/@pie-lib/render-ui/lib/color.js +0 -134
  433. package/configure/node_modules/@pie-lib/render-ui/lib/color.js.map +0 -1
  434. package/configure/node_modules/@pie-lib/render-ui/lib/feedback.js +0 -154
  435. package/configure/node_modules/@pie-lib/render-ui/lib/feedback.js.map +0 -1
  436. package/configure/node_modules/@pie-lib/render-ui/lib/has-text.js +0 -24
  437. package/configure/node_modules/@pie-lib/render-ui/lib/has-text.js.map +0 -1
  438. package/configure/node_modules/@pie-lib/render-ui/lib/html-and-math.js +0 -98
  439. package/configure/node_modules/@pie-lib/render-ui/lib/html-and-math.js.map +0 -1
  440. package/configure/node_modules/@pie-lib/render-ui/lib/index.js +0 -99
  441. package/configure/node_modules/@pie-lib/render-ui/lib/index.js.map +0 -1
  442. package/configure/node_modules/@pie-lib/render-ui/lib/input-container.js +0 -60
  443. package/configure/node_modules/@pie-lib/render-ui/lib/input-container.js.map +0 -1
  444. package/configure/node_modules/@pie-lib/render-ui/lib/preview-layout.js +0 -129
  445. package/configure/node_modules/@pie-lib/render-ui/lib/preview-layout.js.map +0 -1
  446. package/configure/node_modules/@pie-lib/render-ui/lib/preview-prompt.js +0 -133
  447. package/configure/node_modules/@pie-lib/render-ui/lib/preview-prompt.js.map +0 -1
  448. package/configure/node_modules/@pie-lib/render-ui/lib/purpose.js +0 -28
  449. package/configure/node_modules/@pie-lib/render-ui/lib/purpose.js.map +0 -1
  450. package/configure/node_modules/@pie-lib/render-ui/lib/readable.js +0 -28
  451. package/configure/node_modules/@pie-lib/render-ui/lib/readable.js.map +0 -1
  452. package/configure/node_modules/@pie-lib/render-ui/lib/response-indicators.js +0 -154
  453. package/configure/node_modules/@pie-lib/render-ui/lib/response-indicators.js.map +0 -1
  454. package/configure/node_modules/@pie-lib/render-ui/lib/withUndoReset.js +0 -194
  455. package/configure/node_modules/@pie-lib/render-ui/lib/withUndoReset.js.map +0 -1
  456. package/configure/node_modules/@pie-lib/render-ui/package.json +0 -30
  457. package/configure/node_modules/@pie-lib/render-ui/src/collapsible/index.jsx +0 -68
  458. package/configure/node_modules/@pie-lib/render-ui/src/color.js +0 -48
  459. package/configure/node_modules/@pie-lib/render-ui/src/feedback.jsx +0 -100
  460. package/configure/node_modules/@pie-lib/render-ui/src/has-text.js +0 -14
  461. package/configure/node_modules/@pie-lib/render-ui/src/html-and-math.js +0 -40
  462. package/configure/node_modules/@pie-lib/render-ui/src/index.js +0 -27
  463. package/configure/node_modules/@pie-lib/render-ui/src/input-container.jsx +0 -41
  464. package/configure/node_modules/@pie-lib/render-ui/src/preview-layout.jsx +0 -77
  465. package/configure/node_modules/@pie-lib/render-ui/src/preview-prompt.jsx +0 -73
  466. package/configure/node_modules/@pie-lib/render-ui/src/purpose.jsx +0 -19
  467. package/configure/node_modules/@pie-lib/render-ui/src/readable.jsx +0 -19
  468. package/configure/node_modules/@pie-lib/render-ui/src/response-indicators.jsx +0 -89
  469. package/configure/node_modules/@pie-lib/render-ui/src/withUndoReset.jsx +0 -118
  470. package/configure/node_modules/immutable/LICENSE +0 -21
  471. package/configure/node_modules/immutable/README.md +0 -657
  472. package/configure/node_modules/immutable/dist/immutable-nonambient.d.ts +0 -5607
  473. package/configure/node_modules/immutable/dist/immutable.d.ts +0 -5611
  474. package/configure/node_modules/immutable/dist/immutable.es.js +0 -5893
  475. package/configure/node_modules/immutable/dist/immutable.js +0 -5948
  476. package/configure/node_modules/immutable/dist/immutable.js.flow +0 -2340
  477. package/configure/node_modules/immutable/dist/immutable.min.js +0 -55
  478. package/configure/node_modules/immutable/package.json +0 -41
  479. package/configure/node_modules/slate-dev-environment/Readme.md +0 -1
  480. package/configure/node_modules/slate-dev-environment/dist/slate-dev-environment.js +0 -287
  481. package/configure/node_modules/slate-dev-environment/dist/slate-dev-environment.min.js +0 -1
  482. package/configure/node_modules/slate-dev-environment/lib/slate-dev-environment.es.js +0 -264
  483. package/configure/node_modules/slate-dev-environment/lib/slate-dev-environment.es.js.map +0 -1
  484. package/configure/node_modules/slate-dev-environment/lib/slate-dev-environment.js +0 -282
  485. package/configure/node_modules/slate-dev-environment/lib/slate-dev-environment.js.map +0 -1
  486. package/configure/node_modules/slate-dev-environment/package.json +0 -21
  487. package/configure/node_modules/slate-edit-list/CHANGELOG.md +0 -124
  488. package/configure/node_modules/slate-edit-list/LICENSE +0 -201
  489. package/configure/node_modules/slate-edit-list/README.md +0 -159
  490. package/configure/node_modules/slate-edit-list/dist/changes/decreaseItemDepth.js +0 -73
  491. package/configure/node_modules/slate-edit-list/dist/changes/decreaseItemDepth.js.flow +0 -88
  492. package/configure/node_modules/slate-edit-list/dist/changes/increaseItemDepth.js +0 -70
  493. package/configure/node_modules/slate-edit-list/dist/changes/increaseItemDepth.js.flow +0 -77
  494. package/configure/node_modules/slate-edit-list/dist/changes/index.js +0 -34
  495. package/configure/node_modules/slate-edit-list/dist/changes/index.js.flow +0 -13
  496. package/configure/node_modules/slate-edit-list/dist/changes/splitListItem.js +0 -27
  497. package/configure/node_modules/slate-edit-list/dist/changes/splitListItem.js.flow +0 -26
  498. package/configure/node_modules/slate-edit-list/dist/changes/unwrapList.js +0 -52
  499. package/configure/node_modules/slate-edit-list/dist/changes/unwrapList.js.flow +0 -46
  500. package/configure/node_modules/slate-edit-list/dist/changes/wrapInList.js +0 -67
  501. package/configure/node_modules/slate-edit-list/dist/changes/wrapInList.js.flow +0 -67
  502. package/configure/node_modules/slate-edit-list/dist/core.js +0 -80
  503. package/configure/node_modules/slate-edit-list/dist/core.js.flow +0 -76
  504. package/configure/node_modules/slate-edit-list/dist/handlers/index.js +0 -24
  505. package/configure/node_modules/slate-edit-list/dist/handlers/index.js.flow +0 -5
  506. package/configure/node_modules/slate-edit-list/dist/handlers/onBackspace.js +0 -45
  507. package/configure/node_modules/slate-edit-list/dist/handlers/onBackspace.js.flow +0 -44
  508. package/configure/node_modules/slate-edit-list/dist/handlers/onEnter.js +0 -54
  509. package/configure/node_modules/slate-edit-list/dist/handlers/onEnter.js.flow +0 -54
  510. package/configure/node_modules/slate-edit-list/dist/handlers/onTab.js +0 -39
  511. package/configure/node_modules/slate-edit-list/dist/handlers/onTab.js.flow +0 -34
  512. package/configure/node_modules/slate-edit-list/dist/index.js +0 -58
  513. package/configure/node_modules/slate-edit-list/dist/index.js.flow +0 -45
  514. package/configure/node_modules/slate-edit-list/dist/options.js +0 -34
  515. package/configure/node_modules/slate-edit-list/dist/options.js.flow +0 -26
  516. package/configure/node_modules/slate-edit-list/dist/utils/getCurrentItem.js +0 -24
  517. package/configure/node_modules/slate-edit-list/dist/utils/getCurrentItem.js.flow +0 -20
  518. package/configure/node_modules/slate-edit-list/dist/utils/getCurrentList.js +0 -31
  519. package/configure/node_modules/slate-edit-list/dist/utils/getCurrentList.js.flow +0 -21
  520. package/configure/node_modules/slate-edit-list/dist/utils/getItemDepth.js +0 -34
  521. package/configure/node_modules/slate-edit-list/dist/utils/getItemDepth.js.flow +0 -24
  522. package/configure/node_modules/slate-edit-list/dist/utils/getItemsAtRange.js +0 -60
  523. package/configure/node_modules/slate-edit-list/dist/utils/getItemsAtRange.js.flow +0 -51
  524. package/configure/node_modules/slate-edit-list/dist/utils/getListForItem.js +0 -25
  525. package/configure/node_modules/slate-edit-list/dist/utils/getListForItem.js.flow +0 -16
  526. package/configure/node_modules/slate-edit-list/dist/utils/getPreviousItem.js +0 -39
  527. package/configure/node_modules/slate-edit-list/dist/utils/getPreviousItem.js.flow +0 -29
  528. package/configure/node_modules/slate-edit-list/dist/utils/index.js +0 -49
  529. package/configure/node_modules/slate-edit-list/dist/utils/index.js.flow +0 -19
  530. package/configure/node_modules/slate-edit-list/dist/utils/isList.js +0 -15
  531. package/configure/node_modules/slate-edit-list/dist/utils/isList.js.flow +0 -13
  532. package/configure/node_modules/slate-edit-list/dist/utils/isSelectionInList.js +0 -22
  533. package/configure/node_modules/slate-edit-list/dist/utils/isSelectionInList.js.flow +0 -14
  534. package/configure/node_modules/slate-edit-list/dist/validation/index.js +0 -19
  535. package/configure/node_modules/slate-edit-list/dist/validation/index.js.flow +0 -4
  536. package/configure/node_modules/slate-edit-list/dist/validation/schema.js +0 -83
  537. package/configure/node_modules/slate-edit-list/dist/validation/schema.js.flow +0 -81
  538. package/configure/node_modules/slate-edit-list/dist/validation/validateNode.js +0 -61
  539. package/configure/node_modules/slate-edit-list/dist/validation/validateNode.js.flow +0 -61
  540. package/configure/node_modules/slate-edit-list/package.json +0 -67
  541. package/configure/node_modules/slate-edit-table/CHANGELOG.md +0 -192
  542. package/configure/node_modules/slate-edit-table/LICENSE +0 -201
  543. package/configure/node_modules/slate-edit-table/README.md +0 -269
  544. package/configure/node_modules/slate-edit-table/dist/changes/clearCell.js +0 -29
  545. package/configure/node_modules/slate-edit-table/dist/changes/clearCell.js.flow +0 -26
  546. package/configure/node_modules/slate-edit-table/dist/changes/index.js +0 -69
  547. package/configure/node_modules/slate-edit-table/dist/changes/index.js.flow +0 -27
  548. package/configure/node_modules/slate-edit-table/dist/changes/insertColumn.js +0 -43
  549. package/configure/node_modules/slate-edit-table/dist/changes/insertColumn.js.flow +0 -46
  550. package/configure/node_modules/slate-edit-table/dist/changes/insertRow.js +0 -36
  551. package/configure/node_modules/slate-edit-table/dist/changes/insertRow.js.flow +0 -35
  552. package/configure/node_modules/slate-edit-table/dist/changes/insertTable.js +0 -29
  553. package/configure/node_modules/slate-edit-table/dist/changes/insertTable.js.flow +0 -27
  554. package/configure/node_modules/slate-edit-table/dist/changes/moveSelection.js +0 -32
  555. package/configure/node_modules/slate-edit-table/dist/changes/moveSelection.js.flow +0 -31
  556. package/configure/node_modules/slate-edit-table/dist/changes/moveSelectionBy.js +0 -84
  557. package/configure/node_modules/slate-edit-table/dist/changes/moveSelectionBy.js.flow +0 -80
  558. package/configure/node_modules/slate-edit-table/dist/changes/removeColumn.js +0 -36
  559. package/configure/node_modules/slate-edit-table/dist/changes/removeColumn.js.flow +0 -28
  560. package/configure/node_modules/slate-edit-table/dist/changes/removeColumnByKey.js +0 -52
  561. package/configure/node_modules/slate-edit-table/dist/changes/removeColumnByKey.js.flow +0 -40
  562. package/configure/node_modules/slate-edit-table/dist/changes/removeRow.js +0 -36
  563. package/configure/node_modules/slate-edit-table/dist/changes/removeRow.js.flow +0 -27
  564. package/configure/node_modules/slate-edit-table/dist/changes/removeRowByKey.js +0 -41
  565. package/configure/node_modules/slate-edit-table/dist/changes/removeRowByKey.js.flow +0 -30
  566. package/configure/node_modules/slate-edit-table/dist/changes/removeTable.js +0 -26
  567. package/configure/node_modules/slate-edit-table/dist/changes/removeTable.js.flow +0 -17
  568. package/configure/node_modules/slate-edit-table/dist/changes/removeTableByKey.js +0 -56
  569. package/configure/node_modules/slate-edit-table/dist/changes/removeTableByKey.js.flow +0 -54
  570. package/configure/node_modules/slate-edit-table/dist/core.js +0 -88
  571. package/configure/node_modules/slate-edit-table/dist/core.js.flow +0 -94
  572. package/configure/node_modules/slate-edit-table/dist/handlers/index.js +0 -39
  573. package/configure/node_modules/slate-edit-table/dist/handlers/index.js.flow +0 -8
  574. package/configure/node_modules/slate-edit-table/dist/handlers/onBackspace.js +0 -82
  575. package/configure/node_modules/slate-edit-table/dist/handlers/onBackspace.js.flow +0 -87
  576. package/configure/node_modules/slate-edit-table/dist/handlers/onEnter.js +0 -34
  577. package/configure/node_modules/slate-edit-table/dist/handlers/onEnter.js.flow +0 -37
  578. package/configure/node_modules/slate-edit-table/dist/handlers/onKeyDown.js +0 -71
  579. package/configure/node_modules/slate-edit-table/dist/handlers/onKeyDown.js.flow +0 -56
  580. package/configure/node_modules/slate-edit-table/dist/handlers/onModEnter.js +0 -35
  581. package/configure/node_modules/slate-edit-table/dist/handlers/onModEnter.js.flow +0 -38
  582. package/configure/node_modules/slate-edit-table/dist/handlers/onTab.js +0 -56
  583. package/configure/node_modules/slate-edit-table/dist/handlers/onTab.js.flow +0 -51
  584. package/configure/node_modules/slate-edit-table/dist/handlers/onUpDown.js +0 -38
  585. package/configure/node_modules/slate-edit-table/dist/handlers/onUpDown.js.flow +0 -41
  586. package/configure/node_modules/slate-edit-table/dist/index.js +0 -36
  587. package/configure/node_modules/slate-edit-table/dist/index.js.flow +0 -27
  588. package/configure/node_modules/slate-edit-table/dist/options.js +0 -61
  589. package/configure/node_modules/slate-edit-table/dist/options.js.flow +0 -42
  590. package/configure/node_modules/slate-edit-table/dist/utils/TablePosition.js +0 -306
  591. package/configure/node_modules/slate-edit-table/dist/utils/TablePosition.js.flow +0 -211
  592. package/configure/node_modules/slate-edit-table/dist/utils/createCell.js +0 -30
  593. package/configure/node_modules/slate-edit-table/dist/utils/createCell.js.flow +0 -26
  594. package/configure/node_modules/slate-edit-table/dist/utils/createRow.js +0 -30
  595. package/configure/node_modules/slate-edit-table/dist/utils/createRow.js.flow +0 -28
  596. package/configure/node_modules/slate-edit-table/dist/utils/createTable.js +0 -30
  597. package/configure/node_modules/slate-edit-table/dist/utils/createTable.js.flow +0 -33
  598. package/configure/node_modules/slate-edit-table/dist/utils/forEachCells.js +0 -21
  599. package/configure/node_modules/slate-edit-table/dist/utils/forEachCells.js.flow +0 -22
  600. package/configure/node_modules/slate-edit-table/dist/utils/getCellsAtColumn.js +0 -22
  601. package/configure/node_modules/slate-edit-table/dist/utils/getCellsAtColumn.js.flow +0 -19
  602. package/configure/node_modules/slate-edit-table/dist/utils/getCellsAtRow.js +0 -20
  603. package/configure/node_modules/slate-edit-table/dist/utils/getCellsAtRow.js.flow +0 -19
  604. package/configure/node_modules/slate-edit-table/dist/utils/getPosition.js +0 -24
  605. package/configure/node_modules/slate-edit-table/dist/utils/getPosition.js.flow +0 -19
  606. package/configure/node_modules/slate-edit-table/dist/utils/getPositionByKey.js +0 -26
  607. package/configure/node_modules/slate-edit-table/dist/utils/getPositionByKey.js.flow +0 -21
  608. package/configure/node_modules/slate-edit-table/dist/utils/getRow.js +0 -24
  609. package/configure/node_modules/slate-edit-table/dist/utils/getRow.js.flow +0 -19
  610. package/configure/node_modules/slate-edit-table/dist/utils/index.js +0 -64
  611. package/configure/node_modules/slate-edit-table/dist/utils/index.js.flow +0 -25
  612. package/configure/node_modules/slate-edit-table/dist/utils/isSelectionInTable.js +0 -34
  613. package/configure/node_modules/slate-edit-table/dist/utils/isSelectionInTable.js.flow +0 -27
  614. package/configure/node_modules/slate-edit-table/dist/utils/isSelectionOutOfTable.js +0 -30
  615. package/configure/node_modules/slate-edit-table/dist/utils/isSelectionOutOfTable.js.flow +0 -23
  616. package/configure/node_modules/slate-edit-table/dist/validation/index.js +0 -19
  617. package/configure/node_modules/slate-edit-table/dist/validation/index.js.flow +0 -4
  618. package/configure/node_modules/slate-edit-table/dist/validation/schema.js +0 -101
  619. package/configure/node_modules/slate-edit-table/dist/validation/schema.js.flow +0 -98
  620. package/configure/node_modules/slate-edit-table/dist/validation/validateNode.js +0 -56
  621. package/configure/node_modules/slate-edit-table/dist/validation/validateNode.js.flow +0 -49
  622. package/configure/node_modules/slate-edit-table/package.json +0 -69
@@ -1,422 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = exports.Panel = void 0;
7
-
8
- var _react = _interopRequireDefault(require("react"));
9
-
10
- var _propTypes = _interopRequireDefault(require("prop-types"));
11
-
12
- var _styles = require("@material-ui/core/styles");
13
-
14
- var _get2 = _interopRequireDefault(require("lodash/get"));
15
-
16
- var _set = _interopRequireDefault(require("lodash/set"));
17
-
18
- var _Select = _interopRequireDefault(require("@material-ui/core/Select"));
19
-
20
- var _Input = _interopRequireDefault(require("@material-ui/core/Input"));
21
-
22
- var _MenuItem = _interopRequireDefault(require("@material-ui/core/MenuItem"));
23
-
24
- var _debug = _interopRequireDefault(require("debug"));
25
-
26
- var _toggle = _interopRequireDefault(require("./toggle"));
27
-
28
- var _twoChoice = _interopRequireDefault(require("../two-choice"));
29
-
30
- var _settingsRadioLabel = _interopRequireDefault(require("./settings-radio-label"));
31
-
32
- var _index = require("../index");
33
-
34
- var _checkbox = _interopRequireDefault(require("../checkbox"));
35
-
36
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
37
-
38
- function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
39
-
40
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
41
-
42
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
43
-
44
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
45
-
46
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
47
-
48
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
49
-
50
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
51
-
52
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
53
-
54
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
55
-
56
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
57
-
58
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
59
-
60
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
61
-
62
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
63
-
64
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
65
-
66
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
67
-
68
- var log = (0, _debug["default"])('pie-lib:config-ui:settings:panel');
69
- var labelValue = {
70
- label: _propTypes["default"].string,
71
- value: _propTypes["default"].string
72
- };
73
- var baseTypes = {
74
- label: _propTypes["default"].string,
75
- value: _propTypes["default"].string,
76
- onChange: _propTypes["default"].func
77
- };
78
-
79
- var CheckboxChoice = function CheckboxChoice(_ref) {
80
- var label = _ref.label,
81
- value = _ref.value,
82
- _onChange = _ref.onChange;
83
- return _react["default"].createElement(_checkbox["default"], {
84
- checked: value,
85
- label: label,
86
- onChange: function onChange(event) {
87
- _onChange(event.target.checked);
88
- }
89
- });
90
- };
91
-
92
- CheckboxChoice.propTypes = {
93
- label: _propTypes["default"].string,
94
- value: _propTypes["default"].bool,
95
- onChange: _propTypes["default"].func
96
- };
97
-
98
- var Radio = function Radio(_ref2) {
99
- var classes = _ref2.classes,
100
- label = _ref2.label,
101
- value = _ref2.value,
102
- onChange = _ref2.onChange,
103
- choices = _ref2.choices;
104
- return _react["default"].createElement(_twoChoice["default"], {
105
- className: classes.radioSettings,
106
- direction: "vertical",
107
- customLabel: _settingsRadioLabel["default"],
108
- value: value,
109
- header: label,
110
- one: choices[0],
111
- two: choices[1],
112
- onChange: onChange
113
- });
114
- };
115
-
116
- Radio.propTypes = _objectSpread({}, baseTypes, {
117
- choices: _propTypes["default"].arrayOf(_propTypes["default"].shape(labelValue))
118
- });
119
- var StyledRadio = (0, _styles.withStyles)({
120
- radioSettings: {
121
- marginTop: '4px',
122
- paddingBottom: '4px',
123
- width: '100%',
124
- '& > label': {
125
- color: 'rgba(0, 0, 0, 0.89)',
126
- transform: 'translate(0, 10px) scale(1)',
127
- fontSize: '14px'
128
- },
129
- '& > div': {
130
- marginTop: '20px'
131
- }
132
- },
133
- label: {
134
- display: 'none'
135
- }
136
- })(Radio);
137
- var Dropdown = (0, _styles.withStyles)({
138
- label: {
139
- margin: 0,
140
- fontSize: '14px'
141
- },
142
- wrapper: {
143
- marginTop: '4px',
144
- border: '2px solid lightgrey',
145
- borderRadius: '4px',
146
- padding: '0 8px'
147
- }
148
- })(function (_ref3) {
149
- var classes = _ref3.classes,
150
- label = _ref3.label,
151
- value = _ref3.value,
152
- _onChange2 = _ref3.onChange,
153
- _ref3$choices = _ref3.choices,
154
- choices = _ref3$choices === void 0 ? [] : _ref3$choices;
155
- return _react["default"].createElement("div", null, label && _react["default"].createElement("p", {
156
- className: classes.label
157
- }, label), _react["default"].createElement(_Select["default"], {
158
- className: classes.wrapper,
159
- value: value || choices && choices[0],
160
- onChange: function onChange(_ref4) {
161
- var target = _ref4.target;
162
- return _onChange2(target.value);
163
- },
164
- input: _react["default"].createElement(_Input["default"], {
165
- id: "dropdown-".concat(label)
166
- }),
167
- disableUnderline: true
168
- }, choices.map(function (l, index) {
169
- return _react["default"].createElement(_MenuItem["default"], {
170
- key: index,
171
- value: l
172
- }, l);
173
- })));
174
- });
175
- Dropdown.propTypes = _objectSpread({}, baseTypes, {
176
- choices: _propTypes["default"].arrayOf(_propTypes["default"].string)
177
- });
178
- var NumberField = (0, _styles.withStyles)({
179
- field: {
180
- width: '35%',
181
- marginRight: '24px',
182
- marginTop: '8px'
183
- },
184
- wrapper: {
185
- marginTop: '4px',
186
- border: '2px solid lightgrey',
187
- borderRadius: '4px',
188
- padding: '0 8px'
189
- }
190
- })(function (_ref5) {
191
- var classes = _ref5.classes,
192
- label = _ref5.label,
193
- value = _ref5.value,
194
- _ref5$onChange = _ref5.onChange,
195
- _onChange3 = _ref5$onChange === void 0 ? function () {} : _ref5$onChange,
196
- suffix = _ref5.suffix,
197
- min = _ref5.min,
198
- max = _ref5.max;
199
-
200
- return _react["default"].createElement(_index.NumberTextField, {
201
- label: label || 'Label',
202
- value: value,
203
- max: max,
204
- min: min,
205
- onChange: function onChange(ev, value) {
206
- return _onChange3(value);
207
- },
208
- suffix: suffix,
209
- className: classes.field,
210
- showErrorWhenOutsideRange: true,
211
- inputClassName: classes.wrapper,
212
- disableUnderline: true
213
- });
214
- });
215
- NumberField.propTypes = _objectSpread({}, baseTypes, {
216
- classes: _propTypes["default"].object,
217
- suffix: _propTypes["default"].string,
218
- min: _propTypes["default"].number,
219
- max: _propTypes["default"].number,
220
- value: _propTypes["default"].number
221
- });
222
-
223
- var ToggleWrapper = function ToggleWrapper(_ref6) {
224
- var label = _ref6.label,
225
- value = _ref6.value,
226
- onChange = _ref6.onChange;
227
- return _react["default"].createElement(_toggle["default"], {
228
- label: label,
229
- checked: !!value,
230
- toggle: onChange
231
- });
232
- };
233
-
234
- ToggleWrapper.propTypes = _objectSpread({}, baseTypes, {
235
- value: _propTypes["default"].bool
236
- });
237
- var tagMap = {
238
- toggle: ToggleWrapper,
239
- radio: StyledRadio,
240
- dropdown: Dropdown,
241
- numberField: NumberField,
242
- checkbox: CheckboxChoice
243
- };
244
- var Group = (0, _styles.withStyles)(function () {
245
- return {
246
- group: {
247
- margin: '0 0 25px 0'
248
- },
249
- groupHeader: {
250
- color: '#495B8F',
251
- fontSize: '16px',
252
- fontWeight: 600,
253
- marginBottom: '8px'
254
- },
255
- numberFields: {
256
- fontSize: '0.85rem',
257
- marginBottom: 0
258
- }
259
- };
260
- })(function (props) {
261
- var classes = props.classes,
262
- model = props.model,
263
- label = props.label,
264
- group = props.group,
265
- configuration = props.configuration,
266
- _onChange4 = props.onChange;
267
- /**
268
- * @param group - the group of settings
269
- * @param key - the key(or path) to be used to set or get from model or configuration
270
- * @param innerKey - the key(or path) to be used to get from the group (used only for numberField type)
271
- * @returns tag that corresponds to element type */
272
-
273
- var getTag = function getTag(group, key, innerKey) {
274
- var _get = (0, _get2["default"])(group, innerKey || key),
275
- isConfigProperty = _get.isConfigProperty,
276
- properties = _objectWithoutProperties(_get, ["isConfigProperty"]);
277
-
278
- var value = isConfigProperty ? (0, _get2["default"])(configuration, key) : (0, _get2["default"])(model, key);
279
-
280
- var tagProps = _objectSpread({}, properties, {
281
- key: key,
282
- value: value
283
- });
284
-
285
- var Tag = tagMap[tagProps.type];
286
- return _react["default"].createElement(Tag, _extends({
287
- key: key
288
- }, tagProps, {
289
- onChange: function onChange(v) {
290
- return _onChange4(key, v, isConfigProperty);
291
- }
292
- }));
293
- };
294
-
295
- var content = function content(group, key) {
296
- var currentGroup = group[key];
297
-
298
- if (!currentGroup) {
299
- return null;
300
- }
301
-
302
- var type = currentGroup.type,
303
- label = currentGroup.label,
304
- fields = currentGroup.fields,
305
- choices = currentGroup.choices;
306
-
307
- if (type === 'numberFields') {
308
- return _react["default"].createElement("div", {
309
- key: "numberField-".concat(label)
310
- }, _react["default"].createElement("p", {
311
- className: classes.numberFields
312
- }, label), Object.keys(fields).map(function (fieldKey) {
313
- return getTag(group, "".concat(key, ".").concat(fieldKey), "".concat(key, ".fields.").concat(fieldKey));
314
- }));
315
- }
316
-
317
- if (type === 'checkboxes') {
318
- return _react["default"].createElement("div", {
319
- key: "checkbox-".concat(label)
320
- }, _react["default"].createElement("p", null, label), Object.keys(choices).map(function (choiceKey) {
321
- return getTag(group, "".concat(key, ".").concat(choiceKey), "".concat(key, ".choices.").concat(choiceKey));
322
- }));
323
- } // if type is toggle, radio, dropdown or numberField
324
-
325
-
326
- return getTag(group, key);
327
- };
328
-
329
- return _react["default"].createElement("div", {
330
- className: classes.group
331
- }, _react["default"].createElement("div", {
332
- className: classes.groupHeader
333
- }, label), Object.keys(group).map(function (key) {
334
- return content(group, key);
335
- }));
336
- });
337
-
338
- var Panel =
339
- /*#__PURE__*/
340
- function (_React$Component) {
341
- _inherits(Panel, _React$Component);
342
-
343
- function Panel() {
344
- var _getPrototypeOf2;
345
-
346
- var _this;
347
-
348
- _classCallCheck(this, Panel);
349
-
350
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
351
- args[_key] = arguments[_key];
352
- }
353
-
354
- _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Panel)).call.apply(_getPrototypeOf2, [this].concat(args)));
355
-
356
- _defineProperty(_assertThisInitialized(_this), "change", function (key, value) {
357
- var isConfigProperty = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
358
- log('[changeModel]', key, value);
359
- var _this$props = _this.props,
360
- onChangeModel = _this$props.onChangeModel,
361
- onChangeConfiguration = _this$props.onChangeConfiguration;
362
-
363
- var model = _objectSpread({}, _this.props.model);
364
-
365
- var configuration = _objectSpread({}, _this.props.configuration);
366
-
367
- if (isConfigProperty) {
368
- (0, _set["default"])(configuration, key, value);
369
- onChangeConfiguration(configuration, key);
370
- } else {
371
- (0, _set["default"])(model, key, value);
372
- onChangeModel(model, key);
373
- }
374
- });
375
-
376
- return _this;
377
- }
378
-
379
- _createClass(Panel, [{
380
- key: "render",
381
- value: function render() {
382
- var _this2 = this;
383
-
384
- var _this$props2 = this.props,
385
- groups = _this$props2.groups,
386
- model = _this$props2.model,
387
- configuration = _this$props2.configuration;
388
- log('render:', model);
389
- return _react["default"].createElement("div", null, Object.keys(groups).map(function (g) {
390
- return _react["default"].createElement(Group, {
391
- label: g,
392
- key: g,
393
- model: model,
394
- configuration: configuration,
395
- group: groups[g],
396
- onChange: _this2.change
397
- });
398
- }));
399
- }
400
- }]);
401
-
402
- return Panel;
403
- }(_react["default"].Component);
404
-
405
- exports.Panel = Panel;
406
-
407
- _defineProperty(Panel, "propTypes", {
408
- model: _propTypes["default"].object,
409
- configuration: _propTypes["default"].object,
410
- groups: _propTypes["default"].object,
411
- onChangeModel: _propTypes["default"].func,
412
- onChangeConfiguration: _propTypes["default"].func
413
- });
414
-
415
- _defineProperty(Panel, "defaultProps", {
416
- onChangeModel: function onChangeModel() {},
417
- onChangeConfiguration: function onChangeConfiguration() {}
418
- });
419
-
420
- var _default = Panel;
421
- exports["default"] = _default;
422
- //# sourceMappingURL=panel.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/settings/panel.jsx"],"names":["log","labelValue","label","PropTypes","string","value","baseTypes","onChange","func","CheckboxChoice","event","target","checked","propTypes","bool","Radio","classes","choices","radioSettings","SettingsRadioLabel","arrayOf","shape","StyledRadio","marginTop","paddingBottom","width","color","transform","fontSize","display","Dropdown","margin","wrapper","border","borderRadius","padding","map","l","index","NumberField","field","marginRight","suffix","min","max","ev","object","number","ToggleWrapper","tagMap","toggle","radio","dropdown","numberField","checkbox","Group","group","groupHeader","fontWeight","marginBottom","numberFields","props","model","configuration","getTag","key","innerKey","isConfigProperty","properties","tagProps","Tag","type","v","content","currentGroup","fields","Object","keys","fieldKey","choiceKey","Panel","onChangeModel","onChangeConfiguration","groups","g","change","React","Component"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,IAAMA,GAAG,GAAG,uBAAM,kCAAN,CAAZ;AAEA,IAAMC,UAAU,GAAG;AACjBC,EAAAA,KAAK,EAAEC,sBAAUC,MADA;AAEjBC,EAAAA,KAAK,EAAEF,sBAAUC;AAFA,CAAnB;AAKA,IAAME,SAAS,GAAG;AAChBJ,EAAAA,KAAK,EAAEC,sBAAUC,MADD;AAEhBC,EAAAA,KAAK,EAAEF,sBAAUC,MAFD;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ACnB,KAAD,EAAQG,GAAR,CAAb;AACD;AACF,K;;;;;;;6BAEQ;AAAA;;AAAA,yBACkC,KAAKJ,KADvC;AAAA,UACCsB,MADD,gBACCA,MADD;AAAA,UACSrB,KADT,gBACSA,KADT;AAAA,UACgBC,aADhB,gBACgBA,aADhB;AAEP/D,MAAAA,GAAG,CAAC,SAAD,EAAY8D,KAAZ,CAAH;AAEA,aACE,6CACGc,MAAM,CAACC,IAAP,CAAYM,MAAZ,EAAoB/C,GAApB,CAAwB,UAAAgD,CAAC;AAAA,eACxB,gCAAC,KAAD;AACE,UAAA,KAAK,EAAEA,CADT;AAEE,UAAA,GAAG,EAAEA,CAFP;AAGE,UAAA,KAAK,EAAEtB,KAHT;AAIE,UAAA,aAAa,EAAEC,aAJjB;AAKE,UAAA,KAAK,EAAEoB,MAAM,CAACC,CAAD,CALf;AAME,UAAA,QAAQ,EAAE,MAAI,CAACC;AANjB,UADwB;AAAA,OAAzB,CADH,CADF;AAcD;;;;EA/CwBC,kBAAMC,S;;;;gBAApBP,K,eACQ;AACjBlB,EAAAA,KAAK,EAAE3D,sBAAU2C,MADA;AAEjBiB,EAAAA,aAAa,EAAE5D,sBAAU2C,MAFR;AAGjBqC,EAAAA,MAAM,EAAEhF,sBAAU2C,MAHD;AAIjBmC,EAAAA,aAAa,EAAE9E,sBAAUK,IAJR;AAKjB0E,EAAAA,qBAAqB,EAAE/E,sBAAUK;AALhB,C;;gBADRwE,K,kBASW;AACpBC,EAAAA,aAAa,EAAE,yBAAM,CAAE,CADH;AAEpBC,EAAAA,qBAAqB,EAAE,iCAAM,CAAE;AAFX,C;;eAyCTF,K","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { withStyles } from '@material-ui/core/styles';\nimport get from 'lodash/get';\nimport set from 'lodash/set';\nimport Select from '@material-ui/core/Select';\nimport Input from '@material-ui/core/Input';\nimport MenuItem from '@material-ui/core/MenuItem';\nimport debug from 'debug';\n\nimport Toggle from './toggle';\nimport TwoChoice from '../two-choice';\nimport SettingsRadioLabel from './settings-radio-label';\nimport { NumberTextField } from '../index';\nimport Checkbox from '../checkbox';\n\nconst log = debug('pie-lib:config-ui:settings:panel');\n\nconst labelValue = {\n label: PropTypes.string,\n value: PropTypes.string\n};\n\nconst baseTypes = {\n label: PropTypes.string,\n value: PropTypes.string,\n onChange: PropTypes.func\n};\n\nconst CheckboxChoice = ({ label, value, onChange }) => {\n return (\n <Checkbox\n checked={value}\n label={label}\n onChange={event => {\n onChange(event.target.checked);\n }}\n />\n );\n};\n\nCheckboxChoice.propTypes = {\n label: PropTypes.string,\n value: PropTypes.bool,\n onChange: PropTypes.func\n};\n\nconst Radio = ({ classes, label, value, onChange, choices }) => {\n return (\n <TwoChoice\n className={classes.radioSettings}\n direction=\"vertical\"\n customLabel={SettingsRadioLabel}\n value={value}\n header={label}\n one={choices[0]}\n two={choices[1]}\n onChange={onChange}\n />\n );\n};\n\nRadio.propTypes = { ...baseTypes, choices: PropTypes.arrayOf(PropTypes.shape(labelValue)) };\n\nconst StyledRadio = withStyles({\n radioSettings: {\n marginTop: '4px',\n paddingBottom: '4px',\n width: '100%',\n '& > label': {\n color: 'rgba(0, 0, 0, 0.89)',\n transform: 'translate(0, 10px) scale(1)',\n fontSize: '14px'\n },\n '& > div': {\n marginTop: '20px'\n }\n },\n label: {\n display: 'none'\n }\n})(Radio);\n\nconst Dropdown = withStyles({\n label: {\n margin: 0,\n fontSize: '14px'\n },\n wrapper: {\n marginTop: '4px',\n border: '2px solid lightgrey',\n borderRadius: '4px',\n padding: '0 8px'\n }\n})(({ classes, label, value, onChange, choices = [] }) => {\n return (\n <div>\n {label && <p className={classes.label}>{label}</p>}\n <Select\n className={classes.wrapper}\n value={value || (choices && choices[0])}\n onChange={({ target }) => onChange(target.value)}\n input={<Input id={`dropdown-${label}`} />}\n disableUnderline\n >\n {choices.map((l, index) => (\n <MenuItem key={index} value={l}>\n {l}\n </MenuItem>\n ))}\n </Select>\n </div>\n );\n});\n\nDropdown.propTypes = { ...baseTypes, choices: PropTypes.arrayOf(PropTypes.string) };\n\nconst NumberField = withStyles({\n field: {\n width: '35%',\n marginRight: '24px',\n marginTop: '8px'\n },\n wrapper: {\n marginTop: '4px',\n border: '2px solid lightgrey',\n borderRadius: '4px',\n padding: '0 8px'\n }\n})(({ classes, label, value, onChange = () => {}, suffix, min, max }) => {\n return (\n <NumberTextField\n label={label || 'Label'}\n value={value}\n max={max}\n min={min}\n onChange={(ev, value) => onChange(value)}\n suffix={suffix}\n className={classes.field}\n showErrorWhenOutsideRange\n inputClassName={classes.wrapper}\n disableUnderline\n />\n );\n});\n\nNumberField.propTypes = {\n ...baseTypes,\n classes: PropTypes.object,\n suffix: PropTypes.string,\n min: PropTypes.number,\n max: PropTypes.number,\n value: PropTypes.number\n};\n\nconst ToggleWrapper = ({ label, value, onChange }) => (\n <Toggle label={label} checked={!!value} toggle={onChange} />\n);\n\nToggleWrapper.propTypes = { ...baseTypes, value: PropTypes.bool };\n\nconst tagMap = {\n toggle: ToggleWrapper,\n radio: StyledRadio,\n dropdown: Dropdown,\n numberField: NumberField,\n checkbox: CheckboxChoice\n};\n\nconst Group = withStyles(() => ({\n group: {\n margin: '0 0 25px 0'\n },\n groupHeader: {\n color: '#495B8F',\n fontSize: '16px',\n fontWeight: 600,\n marginBottom: '8px'\n },\n numberFields: {\n fontSize: '0.85rem',\n marginBottom: 0\n }\n}))(props => {\n const { classes, model, label, group, configuration, onChange } = props;\n\n /**\n * @param group - the group of settings\n * @param key - the key(or path) to be used to set or get from model or configuration\n * @param innerKey - the key(or path) to be used to get from the group (used only for numberField type)\n * @returns tag that corresponds to element type */\n const getTag = (group, key, innerKey) => {\n const { isConfigProperty, ...properties } = get(group, innerKey || key);\n const value = isConfigProperty ? get(configuration, key) : get(model, key);\n const tagProps = { ...properties, key, value };\n const Tag = tagMap[tagProps.type];\n\n return <Tag key={key} {...tagProps} onChange={v => onChange(key, v, isConfigProperty)} />;\n };\n\n const content = (group, key) => {\n const currentGroup = group[key];\n\n if (!currentGroup) {\n return null;\n }\n\n const { type, label, fields, choices } = currentGroup;\n\n if (type === 'numberFields') {\n return (\n <div key={`numberField-${label}`}>\n <p className={classes.numberFields}>{label}</p>\n {Object.keys(fields).map(fieldKey => {\n return getTag(group, `${key}.${fieldKey}`, `${key}.fields.${fieldKey}`);\n })}\n </div>\n );\n }\n\n if (type === 'checkboxes') {\n return (\n <div key={`checkbox-${label}`}>\n <p>{label}</p>\n {Object.keys(choices).map(choiceKey => {\n return getTag(group, `${key}.${choiceKey}`, `${key}.choices.${choiceKey}`);\n })}\n </div>\n );\n }\n\n // if type is toggle, radio, dropdown or numberField\n return getTag(group, key);\n };\n\n return (\n <div className={classes.group}>\n <div className={classes.groupHeader}>{label}</div>\n\n {Object.keys(group).map(key => {\n return content(group, key);\n })}\n </div>\n );\n});\n\nexport class Panel extends React.Component {\n static propTypes = {\n model: PropTypes.object,\n configuration: PropTypes.object,\n groups: PropTypes.object,\n onChangeModel: PropTypes.func,\n onChangeConfiguration: PropTypes.func\n };\n\n static defaultProps = {\n onChangeModel: () => {},\n onChangeConfiguration: () => {}\n };\n\n change = (key, value, isConfigProperty = false) => {\n log('[changeModel]', key, value);\n const { onChangeModel, onChangeConfiguration } = this.props;\n const model = { ...this.props.model };\n const configuration = { ...this.props.configuration };\n\n if (isConfigProperty) {\n set(configuration, key, value);\n onChangeConfiguration(configuration, key);\n } else {\n set(model, key, value);\n onChangeModel(model, key);\n }\n };\n\n render() {\n const { groups, model, configuration } = this.props;\n log('render:', model);\n\n return (\n <div>\n {Object.keys(groups).map(g => (\n <Group\n label={g}\n key={g}\n model={model}\n configuration={configuration}\n group={groups[g]}\n onChange={this.change}\n />\n ))}\n </div>\n );\n }\n}\n\nexport default Panel;\n"],"file":"panel.js"}
@@ -1,43 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
-
8
- var _FormControlLabel = _interopRequireDefault(require("@material-ui/core/FormControlLabel"));
9
-
10
- var _Radio = _interopRequireDefault(require("@material-ui/core/Radio"));
11
-
12
- var _react = _interopRequireDefault(require("react"));
13
-
14
- var _styles = require("@material-ui/core/styles");
15
-
16
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
-
18
- var _default = (0, _styles.withStyles)({
19
- label: {
20
- color: 'rgba(0, 0, 0, 0.89)',
21
- fontSize: '12px',
22
- left: '-5px',
23
- position: 'relative'
24
- }
25
- })(function (_ref) {
26
- var label = _ref.label,
27
- value = _ref.value,
28
- checked = _ref.checked,
29
- onChange = _ref.onChange,
30
- classes = _ref.classes;
31
- return _react["default"].createElement(_FormControlLabel["default"], {
32
- value: value,
33
- classes: classes,
34
- control: _react["default"].createElement(_Radio["default"], {
35
- checked: checked,
36
- onChange: onChange
37
- }),
38
- label: label
39
- });
40
- });
41
-
42
- exports["default"] = _default;
43
- //# sourceMappingURL=settings-radio-label.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/settings/settings-radio-label.jsx"],"names":["label","color","fontSize","left","position","value","checked","onChange","classes"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;AACA;;;;eAEe,wBAAW;AACxBA,EAAAA,KAAK,EAAE;AACLC,IAAAA,KAAK,EAAE,qBADF;AAELC,IAAAA,QAAQ,EAAE,MAFL;AAGLC,IAAAA,IAAI,EAAE,MAHD;AAILC,IAAAA,QAAQ,EAAE;AAJL;AADiB,CAAX,EAOZ;AAAA,MAAGJ,KAAH,QAAGA,KAAH;AAAA,MAAUK,KAAV,QAAUA,KAAV;AAAA,MAAiBC,OAAjB,QAAiBA,OAAjB;AAAA,MAA0BC,QAA1B,QAA0BA,QAA1B;AAAA,MAAoCC,OAApC,QAAoCA,OAApC;AAAA,SACD,gCAAC,4BAAD;AACE,IAAA,KAAK,EAAEH,KADT;AAEE,IAAA,OAAO,EAAEG,OAFX;AAGE,IAAA,OAAO,EAAE,gCAAC,iBAAD;AAAO,MAAA,OAAO,EAAEF,OAAhB;AAAyB,MAAA,QAAQ,EAAEC;AAAnC,MAHX;AAIE,IAAA,KAAK,EAAEP;AAJT,IADC;AAAA,CAPY,C","sourcesContent":["import FormControlLabel from '@material-ui/core/FormControlLabel';\nimport Radio from '@material-ui/core/Radio';\nimport React from 'react';\nimport { withStyles } from '@material-ui/core/styles';\n\nexport default withStyles({\n label: {\n color: 'rgba(0, 0, 0, 0.89)',\n fontSize: '12px',\n left: '-5px',\n position: 'relative'\n }\n})(({ label, value, checked, onChange, classes }) => (\n <FormControlLabel\n value={value}\n classes={classes}\n control={<Radio checked={checked} onChange={onChange} />}\n label={label}\n />\n));\n"],"file":"settings-radio-label.js"}
@@ -1,56 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
-
8
- var _react = _interopRequireDefault(require("react"));
9
-
10
- var _propTypes = _interopRequireDefault(require("prop-types"));
11
-
12
- var _InputLabel = _interopRequireDefault(require("@material-ui/core/InputLabel"));
13
-
14
- var _styles = require("@material-ui/core/styles");
15
-
16
- var _Switch = _interopRequireDefault(require("@material-ui/core/Switch"));
17
-
18
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
-
20
- var Toggle = (0, _styles.withStyles)(function (theme) {
21
- return {
22
- toggle: {
23
- display: 'flex',
24
- width: '100%',
25
- justifyContent: 'space-between'
26
- },
27
- label: {
28
- color: 'rgba(0, 0, 0, 0.89)',
29
- fontSize: '14px',
30
- paddingTop: theme.spacing.unit * 2
31
- }
32
- };
33
- })(function (_ref) {
34
- var checked = _ref.checked,
35
- label = _ref.label,
36
- toggle = _ref.toggle,
37
- classes = _ref.classes;
38
- return _react["default"].createElement("div", {
39
- className: classes.toggle
40
- }, _react["default"].createElement(_InputLabel["default"], {
41
- className: classes.label
42
- }, label), _react["default"].createElement(_Switch["default"], {
43
- checked: checked,
44
- onChange: function onChange(e) {
45
- return toggle(e.target.checked);
46
- }
47
- }));
48
- });
49
- Toggle.propTypes = {
50
- checked: _propTypes["default"].bool,
51
- label: _propTypes["default"].string.isRequired,
52
- toggle: _propTypes["default"].func.isRequired
53
- };
54
- var _default = Toggle;
55
- exports["default"] = _default;
56
- //# sourceMappingURL=toggle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/settings/toggle.jsx"],"names":["Toggle","theme","toggle","display","width","justifyContent","label","color","fontSize","paddingTop","spacing","unit","checked","classes","e","target","propTypes","PropTypes","bool","string","isRequired","func"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,IAAMA,MAAM,GAAG,wBAAW,UAAAC,KAAK;AAAA,SAAK;AAClCC,IAAAA,MAAM,EAAE;AACNC,MAAAA,OAAO,EAAE,MADH;AAENC,MAAAA,KAAK,EAAE,MAFD;AAGNC,MAAAA,cAAc,EAAE;AAHV,KAD0B;AAMlCC,IAAAA,KAAK,EAAE;AACLC,MAAAA,KAAK,EAAE,qBADF;AAELC,MAAAA,QAAQ,EAAE,MAFL;AAGLC,MAAAA,UAAU,EAAER,KAAK,CAACS,OAAN,CAAcC,IAAd,GAAqB;AAH5B;AAN2B,GAAL;AAAA,CAAhB,EAWX;AAAA,MAAGC,OAAH,QAAGA,OAAH;AAAA,MAAYN,KAAZ,QAAYA,KAAZ;AAAA,MAAmBJ,MAAnB,QAAmBA,MAAnB;AAAA,MAA2BW,OAA3B,QAA2BA,OAA3B;AAAA,SACF;AAAK,IAAA,SAAS,EAAEA,OAAO,CAACX;AAAxB,KACE,gCAAC,sBAAD;AAAY,IAAA,SAAS,EAAEW,OAAO,CAACP;AAA/B,KAAuCA,KAAvC,CADF,EAEE,gCAAC,kBAAD;AAAQ,IAAA,OAAO,EAAEM,OAAjB;AAA0B,IAAA,QAAQ,EAAE,kBAAAE,CAAC;AAAA,aAAIZ,MAAM,CAACY,CAAC,CAACC,MAAF,CAASH,OAAV,CAAV;AAAA;AAArC,IAFF,CADE;AAAA,CAXW,CAAf;AAkBAZ,MAAM,CAACgB,SAAP,GAAmB;AACjBJ,EAAAA,OAAO,EAAEK,sBAAUC,IADF;AAEjBZ,EAAAA,KAAK,EAAEW,sBAAUE,MAAV,CAAiBC,UAFP;AAGjBlB,EAAAA,MAAM,EAAEe,sBAAUI,IAAV,CAAeD;AAHN,CAAnB;eAMepB,M","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport InputLabel from '@material-ui/core/InputLabel';\nimport { withStyles } from '@material-ui/core/styles';\nimport Switch from '@material-ui/core/Switch';\n\nconst Toggle = withStyles(theme => ({\n toggle: {\n display: 'flex',\n width: '100%',\n justifyContent: 'space-between'\n },\n label: {\n color: 'rgba(0, 0, 0, 0.89)',\n fontSize: '14px',\n paddingTop: theme.spacing.unit * 2\n }\n}))(({ checked, label, toggle, classes }) => (\n <div className={classes.toggle}>\n <InputLabel className={classes.label}>{label}</InputLabel>\n <Switch checked={checked} onChange={e => toggle(e.target.checked)} />\n </div>\n));\n\nToggle.propTypes = {\n checked: PropTypes.bool,\n label: PropTypes.string.isRequired,\n toggle: PropTypes.func.isRequired\n};\n\nexport default Toggle;\n"],"file":"toggle.js"}