@pie-element/extended-text-entry 15.1.1-next.11 → 15.1.2-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (212) hide show
  1. package/configure.js +2 -0
  2. package/controller.js +1 -0
  3. package/dist/author/defaults.d.ts +166 -0
  4. package/dist/author/defaults.js +209 -0
  5. package/dist/author/index.d.ts +52 -0
  6. package/dist/author/index.js +74 -0
  7. package/dist/author/main.d.ts +26 -0
  8. package/dist/author/main.js +166 -0
  9. package/dist/browser/author/index.js +495 -0
  10. package/dist/browser/author/index.js.map +1 -0
  11. package/dist/browser/browser-kkT1XVKw.js +210 -0
  12. package/dist/browser/browser-kkT1XVKw.js.map +1 -0
  13. package/dist/browser/controller/index.js +184 -0
  14. package/dist/browser/controller/index.js.map +1 -0
  15. package/dist/browser/delivery/index.js +98 -0
  16. package/dist/browser/delivery/index.js.map +1 -0
  17. package/dist/browser/dist-D8VooYkz.js +49034 -0
  18. package/dist/browser/dist-D8VooYkz.js.map +1 -0
  19. package/dist/browser/extended-text-entry.css +2 -0
  20. package/dist/browser/main-C2oHx_V9.js +714 -0
  21. package/dist/browser/main-C2oHx_V9.js.map +1 -0
  22. package/dist/browser/print/index.js +53 -0
  23. package/dist/browser/print/index.js.map +1 -0
  24. package/dist/controller/defaults.d.ts +33 -0
  25. package/dist/controller/defaults.js +104 -0
  26. package/dist/controller/index.d.ts +59 -0
  27. package/dist/controller/index.js +72 -0
  28. package/dist/delivery/annotation/annotation-editor.d.ts +47 -0
  29. package/dist/delivery/annotation/annotation-editor.js +296 -0
  30. package/dist/delivery/annotation/annotation-menu.d.ts +25 -0
  31. package/dist/delivery/annotation/annotation-menu.js +113 -0
  32. package/dist/delivery/annotation/annotation-utils.d.ts +20 -0
  33. package/dist/delivery/annotation/annotation-utils.js +65 -0
  34. package/dist/delivery/annotation/freeform-editor.d.ts +30 -0
  35. package/dist/delivery/annotation/freeform-editor.js +143 -0
  36. package/dist/delivery/index.d.ts +23 -0
  37. package/dist/delivery/index.js +68 -0
  38. package/dist/delivery/main.d.ts +27 -0
  39. package/dist/delivery/main.js +134 -0
  40. package/dist/extended-text-entry.css +2 -0
  41. package/dist/index.d.ts +1 -0
  42. package/dist/index.iife.d.ts +8 -0
  43. package/dist/index.iife.js +403 -0
  44. package/dist/index.js +2 -0
  45. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +6 -0
  46. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +16 -0
  47. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +16 -0
  48. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +6 -0
  49. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +16 -0
  50. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +6 -0
  51. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +6 -0
  52. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +14 -0
  53. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +5 -0
  54. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +5 -0
  55. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +6 -0
  56. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +7 -0
  57. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +10 -0
  58. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +15 -0
  59. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +7 -0
  60. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +10 -0
  61. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +8 -0
  62. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +8 -0
  63. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +8 -0
  64. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +12 -0
  65. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +57 -0
  66. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +14 -0
  67. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +9 -0
  68. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +10 -0
  69. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +9 -0
  70. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +9 -0
  71. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +11 -0
  72. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +9 -0
  73. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +11 -0
  74. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +12 -0
  75. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +13 -0
  76. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +7 -0
  77. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTrim.js +8 -0
  78. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +8 -0
  79. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +8 -0
  80. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +10 -0
  81. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +8 -0
  82. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +8 -0
  83. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +8 -0
  84. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +8 -0
  85. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +8 -0
  86. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +14 -0
  87. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +8 -0
  88. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +8 -0
  89. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +5 -0
  90. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +10 -0
  91. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +4 -0
  92. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +9 -0
  93. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +9 -0
  94. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +8 -0
  95. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +9 -0
  96. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +5 -0
  97. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +14 -0
  98. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +10 -0
  99. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +11 -0
  100. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +23 -0
  101. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +6 -0
  102. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +7 -0
  103. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +7 -0
  104. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +13 -0
  105. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +9 -0
  106. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +9 -0
  107. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +8 -0
  108. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +33 -0
  109. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +9 -0
  110. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +8 -0
  111. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +7 -0
  112. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +11 -0
  113. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +8 -0
  114. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +6 -0
  115. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +9 -0
  116. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +8 -0
  117. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +7 -0
  118. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +8 -0
  119. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +13 -0
  120. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +8 -0
  121. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +7 -0
  122. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +7 -0
  123. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +8 -0
  124. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +5 -0
  125. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +5 -0
  126. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +8 -0
  127. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +9 -0
  128. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +7 -0
  129. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +8 -0
  130. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +5 -0
  131. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +7 -0
  132. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +7 -0
  133. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +6 -0
  134. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +6 -0
  135. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +16 -0
  136. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +15 -0
  137. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_trimmedEndIndex.js +8 -0
  138. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +8 -0
  139. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/debounce.js +50 -0
  140. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +6 -0
  141. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +10 -0
  142. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +4 -0
  143. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +8 -0
  144. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +6 -0
  145. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +11 -0
  146. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +7 -0
  147. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +7 -0
  148. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +7 -0
  149. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +6 -0
  150. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +7 -0
  151. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +9 -0
  152. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +7 -0
  153. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +9 -0
  154. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +9 -0
  155. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/now.js +7 -0
  156. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +6 -0
  157. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +6 -0
  158. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js +19 -0
  159. package/dist/print/index.d.ts +15 -0
  160. package/dist/print/index.js +49 -0
  161. package/package.json +83 -21
  162. package/CHANGELOG.json +0 -1282
  163. package/CHANGELOG.md +0 -2260
  164. package/LICENSE.md +0 -5
  165. package/README.md +0 -1
  166. package/configure/CHANGELOG.json +0 -922
  167. package/configure/CHANGELOG.md +0 -1949
  168. package/configure/lib/defaults.js +0 -224
  169. package/configure/lib/defaults.js.map +0 -1
  170. package/configure/lib/index.js +0 -125
  171. package/configure/lib/index.js.map +0 -1
  172. package/configure/lib/main.js +0 -247
  173. package/configure/lib/main.js.map +0 -1
  174. package/configure/package.json +0 -23
  175. package/controller/CHANGELOG.json +0 -362
  176. package/controller/CHANGELOG.md +0 -1179
  177. package/controller/lib/defaults.js +0 -91
  178. package/controller/lib/defaults.js.map +0 -1
  179. package/controller/lib/index.js +0 -101
  180. package/controller/lib/index.js.map +0 -1
  181. package/controller/package.json +0 -16
  182. package/docs/config-schema.json +0 -1782
  183. package/docs/config-schema.json.md +0 -1333
  184. package/docs/demo/config.js +0 -7
  185. package/docs/demo/generate.js +0 -14
  186. package/docs/demo/index.html +0 -3
  187. package/docs/demo/session.js +0 -7
  188. package/docs/pie-schema.json +0 -954
  189. package/docs/pie-schema.json.md +0 -717
  190. package/lib/annotation/annotation-editor.js +0 -636
  191. package/lib/annotation/annotation-editor.js.map +0 -1
  192. package/lib/annotation/annotation-menu.js +0 -147
  193. package/lib/annotation/annotation-menu.js.map +0 -1
  194. package/lib/annotation/annotation-utils.js +0 -205
  195. package/lib/annotation/annotation-utils.js.map +0 -1
  196. package/lib/annotation/freeform-editor.js +0 -241
  197. package/lib/annotation/freeform-editor.js.map +0 -1
  198. package/lib/index.js +0 -108
  199. package/lib/index.js.map +0 -1
  200. package/lib/main.js +0 -205
  201. package/lib/main.js.map +0 -1
  202. package/lib/print.js +0 -86
  203. package/lib/print.js.map +0 -1
  204. package/module/configure.js +0 -1
  205. package/module/controller.js +0 -139
  206. package/module/demo.js +0 -38
  207. package/module/element.js +0 -1
  208. package/module/index.html +0 -21
  209. package/module/manifest.json +0 -22
  210. package/module/print-demo.js +0 -76
  211. package/module/print.html +0 -18
  212. package/module/print.js +0 -1
@@ -1,1333 +0,0 @@
1
- Config Object for @pie-elements/extended-text-entry
2
-
3
- The schema defines the following properties:
4
-
5
- # `annotations` (object)
6
-
7
- Properties of the `annotations` object:
8
-
9
- ## `settings` (boolean)
10
-
11
- Indicates if the item has to be displayed in the Settings Panel
12
-
13
- ## `label` (string)
14
-
15
- Indicates the label for the item that has to be displayed in the Settings Panel
16
-
17
- # `equationEditor` (object)
18
-
19
- Properties of the `equationEditor` object:
20
-
21
- ## `settings` (boolean)
22
-
23
- Indicates if the item has to be displayed in the Settings Panel
24
-
25
- ## `label` (string)
26
-
27
- Indicates the label for the item that has to be displayed in the Settings Panel
28
-
29
- # `mathInput` (object)
30
-
31
- Properties of the `mathInput` object:
32
-
33
- ## `settings` (boolean)
34
-
35
- Indicates if the item has to be displayed in the Settings Panel
36
-
37
- ## `label` (string)
38
-
39
- Indicates the label for the item that has to be displayed in the Settings Panel
40
-
41
- # `settingsPanelDisabled` (boolean)
42
-
43
- Indicates if the settings panel is not available
44
-
45
- # `spanishInput` (object)
46
-
47
- Properties of the `spanishInput` object:
48
-
49
- ## `settings` (boolean)
50
-
51
- Indicates if the item has to be displayed in the Settings Panel
52
-
53
- ## `label` (string)
54
-
55
- Indicates the label for the item that has to be displayed in the Settings Panel
56
-
57
- # `specialInput` (object)
58
-
59
- Properties of the `specialInput` object:
60
-
61
- ## `settings` (boolean)
62
-
63
- Indicates if the item has to be displayed in the Settings Panel
64
-
65
- ## `label` (string)
66
-
67
- Indicates the label for the item that has to be displayed in the Settings Panel
68
-
69
- # `multiple` (object)
70
-
71
- Properties of the `multiple` object:
72
-
73
- ## `enabled` (boolean)
74
-
75
- Indicates the value of the item if it affects config-ui
76
- (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
77
-
78
- ## `settings` (boolean)
79
-
80
- Indicates if the item has to be displayed in the Settings Panel
81
-
82
- ## `label` (string)
83
-
84
- Indicates the label for the item that has to be displayed in the Settings Panel
85
-
86
- # `studentInstructions` (object)
87
-
88
- Properties of the `studentInstructions` object:
89
-
90
- ## `settings` (boolean)
91
-
92
- Indicates if the item has to be displayed in the Settings Panel
93
-
94
- ## `label` (string)
95
-
96
- Indicates the label for the item that has to be displayed in the Settings Panel
97
-
98
- # `teacherInstructions` (object)
99
-
100
- Properties of the `teacherInstructions` object:
101
-
102
- ## `inputConfiguration` (object)
103
-
104
- Properties of the `inputConfiguration` object:
105
-
106
- ### `math` (object)
107
-
108
- Properties of the `math` object:
109
-
110
- #### `disabled` (boolean)
111
-
112
- Indicates if the plugin is disabled or not
113
-
114
- ### `audio` (object)
115
-
116
- Properties of the `audio` object:
117
-
118
- #### `disabled` (boolean)
119
-
120
- Indicates if the plugin is disabled or not
121
-
122
- ### `video` (object)
123
-
124
- Properties of the `video` object:
125
-
126
- #### `disabled` (boolean)
127
-
128
- Indicates if the plugin is disabled or not
129
-
130
- ### `image` (object)
131
-
132
- Properties of the `image` object:
133
-
134
- #### `disabled` (boolean)
135
-
136
- Indicates if the plugin is disabled or not
137
-
138
- ### `customPlugins` (array)
139
-
140
- An array of objects that determine custom plugins.
141
- A custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).
142
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
143
-
144
- The object is an array with all elements of the type `object`.
145
-
146
- The array object has the following properties:
147
-
148
- #### `event` (string, required)
149
-
150
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
151
- PIE will emit the event prefixed with "PIE-".
152
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
153
-
154
- #### `iconAlt` (string, required)
155
-
156
- The alt for the custom button icon
157
-
158
- #### `iconType` (string, required)
159
-
160
- The icon type.
161
- Currently, only "SVG" is supported.
162
-
163
- #### `icon` (string, required)
164
-
165
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
166
-
167
- ### `blockquote` (object)
168
-
169
- Properties of the `blockquote` object:
170
-
171
- #### `disabled` (boolean)
172
-
173
- Indicates if the plugin is disabled or not
174
-
175
- ### `h3` (object)
176
-
177
- Properties of the `h3` object:
178
-
179
- #### `disabled` (boolean)
180
-
181
- Indicates if the plugin is disabled or not
182
-
183
- ### `characters` (object)
184
-
185
- Properties of the `characters` object:
186
-
187
- #### `disabled` (boolean)
188
-
189
- Indicates if the plugin is disabled or not
190
-
191
- ### `bold` (object)
192
-
193
- Properties of the `bold` object:
194
-
195
- #### `disabled` (boolean)
196
-
197
- Indicates if the plugin is disabled or not
198
-
199
- ### `html` (object)
200
-
201
- Properties of the `html` object:
202
-
203
- #### `disabled` (boolean)
204
-
205
- Indicates if the plugin is disabled or not
206
-
207
- ### `italic` (object)
208
-
209
- Properties of the `italic` object:
210
-
211
- #### `disabled` (boolean)
212
-
213
- Indicates if the plugin is disabled or not
214
-
215
- ### `ol_list` (object)
216
-
217
- Properties of the `ol_list` object:
218
-
219
- #### `disabled` (boolean)
220
-
221
- Indicates if the plugin is disabled or not
222
-
223
- ### `redo` (object)
224
-
225
- Properties of the `redo` object:
226
-
227
- #### `disabled` (boolean)
228
-
229
- Indicates if the plugin is disabled or not
230
-
231
- ### `strikethrough` (object)
232
-
233
- Properties of the `strikethrough` object:
234
-
235
- #### `disabled` (boolean)
236
-
237
- Indicates if the plugin is disabled or not
238
-
239
- ### `sub` (object)
240
-
241
- Properties of the `sub` object:
242
-
243
- #### `disabled` (boolean)
244
-
245
- Indicates if the plugin is disabled or not
246
-
247
- ### `sup` (object)
248
-
249
- Properties of the `sup` object:
250
-
251
- #### `disabled` (boolean)
252
-
253
- Indicates if the plugin is disabled or not
254
-
255
- ### `table` (object)
256
-
257
- Properties of the `table` object:
258
-
259
- #### `disabled` (boolean)
260
-
261
- Indicates if the plugin is disabled or not
262
-
263
- ### `ul_list` (object)
264
-
265
- Properties of the `ul_list` object:
266
-
267
- #### `disabled` (boolean)
268
-
269
- Indicates if the plugin is disabled or not
270
-
271
- ### `underline` (object)
272
-
273
- Properties of the `underline` object:
274
-
275
- #### `disabled` (boolean)
276
-
277
- Indicates if the plugin is disabled or not
278
-
279
- ### `undo` (object)
280
-
281
- Properties of the `undo` object:
282
-
283
- #### `disabled` (boolean)
284
-
285
- Indicates if the plugin is disabled or not
286
-
287
- ## `required` (boolean)
288
-
289
- Indicates if the item is required and the value cannot be empty
290
-
291
- ## `settings` (boolean)
292
-
293
- Indicates if the item has to be displayed in the Settings Panel
294
-
295
- ## `label` (string)
296
-
297
- Indicates the label for the item that has to be displayed in the Settings Panel
298
-
299
- # `prompt` (object)
300
-
301
- Properties of the `prompt` object:
302
-
303
- ## `inputConfiguration` (object)
304
-
305
- Properties of the `inputConfiguration` object:
306
-
307
- ### `math` (object)
308
-
309
- Properties of the `math` object:
310
-
311
- #### `disabled` (boolean)
312
-
313
- Indicates if the plugin is disabled or not
314
-
315
- ### `audio` (object)
316
-
317
- Properties of the `audio` object:
318
-
319
- #### `disabled` (boolean)
320
-
321
- Indicates if the plugin is disabled or not
322
-
323
- ### `video` (object)
324
-
325
- Properties of the `video` object:
326
-
327
- #### `disabled` (boolean)
328
-
329
- Indicates if the plugin is disabled or not
330
-
331
- ### `image` (object)
332
-
333
- Properties of the `image` object:
334
-
335
- #### `disabled` (boolean)
336
-
337
- Indicates if the plugin is disabled or not
338
-
339
- ### `customPlugins` (array)
340
-
341
- An array of objects that determine custom plugins.
342
- A custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).
343
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
344
-
345
- The object is an array with all elements of the type `object`.
346
-
347
- The array object has the following properties:
348
-
349
- #### `event` (string, required)
350
-
351
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
352
- PIE will emit the event prefixed with "PIE-".
353
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
354
-
355
- #### `iconAlt` (string, required)
356
-
357
- The alt for the custom button icon
358
-
359
- #### `iconType` (string, required)
360
-
361
- The icon type.
362
- Currently, only "SVG" is supported.
363
-
364
- #### `icon` (string, required)
365
-
366
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
367
-
368
- ### `blockquote` (object)
369
-
370
- Properties of the `blockquote` object:
371
-
372
- #### `disabled` (boolean)
373
-
374
- Indicates if the plugin is disabled or not
375
-
376
- ### `h3` (object)
377
-
378
- Properties of the `h3` object:
379
-
380
- #### `disabled` (boolean)
381
-
382
- Indicates if the plugin is disabled or not
383
-
384
- ### `characters` (object)
385
-
386
- Properties of the `characters` object:
387
-
388
- #### `disabled` (boolean)
389
-
390
- Indicates if the plugin is disabled or not
391
-
392
- ### `bold` (object)
393
-
394
- Properties of the `bold` object:
395
-
396
- #### `disabled` (boolean)
397
-
398
- Indicates if the plugin is disabled or not
399
-
400
- ### `html` (object)
401
-
402
- Properties of the `html` object:
403
-
404
- #### `disabled` (boolean)
405
-
406
- Indicates if the plugin is disabled or not
407
-
408
- ### `italic` (object)
409
-
410
- Properties of the `italic` object:
411
-
412
- #### `disabled` (boolean)
413
-
414
- Indicates if the plugin is disabled or not
415
-
416
- ### `ol_list` (object)
417
-
418
- Properties of the `ol_list` object:
419
-
420
- #### `disabled` (boolean)
421
-
422
- Indicates if the plugin is disabled or not
423
-
424
- ### `redo` (object)
425
-
426
- Properties of the `redo` object:
427
-
428
- #### `disabled` (boolean)
429
-
430
- Indicates if the plugin is disabled or not
431
-
432
- ### `strikethrough` (object)
433
-
434
- Properties of the `strikethrough` object:
435
-
436
- #### `disabled` (boolean)
437
-
438
- Indicates if the plugin is disabled or not
439
-
440
- ### `sub` (object)
441
-
442
- Properties of the `sub` object:
443
-
444
- #### `disabled` (boolean)
445
-
446
- Indicates if the plugin is disabled or not
447
-
448
- ### `sup` (object)
449
-
450
- Properties of the `sup` object:
451
-
452
- #### `disabled` (boolean)
453
-
454
- Indicates if the plugin is disabled or not
455
-
456
- ### `table` (object)
457
-
458
- Properties of the `table` object:
459
-
460
- #### `disabled` (boolean)
461
-
462
- Indicates if the plugin is disabled or not
463
-
464
- ### `ul_list` (object)
465
-
466
- Properties of the `ul_list` object:
467
-
468
- #### `disabled` (boolean)
469
-
470
- Indicates if the plugin is disabled or not
471
-
472
- ### `underline` (object)
473
-
474
- Properties of the `underline` object:
475
-
476
- #### `disabled` (boolean)
477
-
478
- Indicates if the plugin is disabled or not
479
-
480
- ### `undo` (object)
481
-
482
- Properties of the `undo` object:
483
-
484
- #### `disabled` (boolean)
485
-
486
- Indicates if the plugin is disabled or not
487
-
488
- ## `required` (boolean)
489
-
490
- Indicates if the item is required and the value cannot be empty
491
-
492
- ## `settings` (boolean)
493
-
494
- Indicates if the item has to be displayed in the Settings Panel
495
-
496
- ## `label` (string)
497
-
498
- Indicates the label for the item that has to be displayed in the Settings Panel
499
-
500
- # `spellCheck` (object)
501
-
502
- Properties of the `spellCheck` object:
503
-
504
- ## `settings` (boolean)
505
-
506
- Indicates if the item has to be displayed in the Settings Panel
507
-
508
- ## `label` (string)
509
-
510
- Indicates the label for the item that has to be displayed in the Settings Panel
511
-
512
- # `playerSpellCheck` (object)
513
-
514
- Properties of the `playerSpellCheck` object:
515
-
516
- ## `settings` (boolean)
517
-
518
- Indicates if the item has to be displayed in the Settings Panel
519
-
520
- ## `label` (string)
521
-
522
- Indicates the label for the item that has to be displayed in the Settings Panel
523
-
524
- # `dimensions` (object)
525
-
526
- Properties of the `dimensions` object:
527
-
528
- ## `settings` (boolean)
529
-
530
- Indicates if the item has to be displayed in the Settings Panel
531
-
532
- ## `label` (string)
533
-
534
- Indicates the label for the item that has to be displayed in the Settings Panel
535
-
536
- # `maxImageWidth` (object)
537
-
538
- Properties of the `maxImageWidth` object:
539
-
540
- ## `teacherInstructions` (number)
541
-
542
- Indicates the max dimension for images in teacher instructions
543
-
544
- ## `prompt` (number)
545
-
546
- Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
547
-
548
- ## `rationale` (number)
549
-
550
- Indicates the max dimension for images in rationale
551
-
552
- # `maxImageHeight` (object)
553
-
554
- Properties of the `maxImageHeight` object:
555
-
556
- ## `teacherInstructions` (number)
557
-
558
- Indicates the max dimension for images in teacher instructions
559
-
560
- ## `prompt` (number)
561
-
562
- Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
563
-
564
- ## `rationale` (number)
565
-
566
- Indicates the max dimension for images in rationale
567
-
568
- # `withRubric` (object)
569
-
570
- Properties of the `withRubric` object:
571
-
572
- ## `forceEnabled` (boolean)
573
-
574
- Indicates the value for the toggle;
575
- if true:
576
- - this property will not be visible in Settings Panel (settings will become automatically false)
577
- - the model property afferent to it will become automatically false
578
-
579
- ## `settings` (boolean)
580
-
581
- Indicates if the item has to be displayed in the Settings Panel
582
-
583
- ## `label` (string)
584
-
585
- Indicates the label for the item that has to be displayed in the Settings Panel
586
-
587
- # `mathMlOptions` (object)
588
-
589
- Properties of the `mathMlOptions` object:
590
-
591
- ## `mmlOutput` (number)
592
-
593
- Indicates if model should have mathML output instead of latex
594
-
595
- ## `mmlEditing` (number)
596
-
597
- Indicates if mathML that's already in model should be editable
598
-
599
- # `baseInputConfiguration` (object)
600
-
601
- Properties of the `baseInputConfiguration` object:
602
-
603
- ## `math` (object)
604
-
605
- Properties of the `math` object:
606
-
607
- ### `disabled` (boolean)
608
-
609
- Indicates if the plugin is disabled or not
610
-
611
- ## `audio` (object)
612
-
613
- Properties of the `audio` object:
614
-
615
- ### `disabled` (boolean)
616
-
617
- Indicates if the plugin is disabled or not
618
-
619
- ## `video` (object)
620
-
621
- Properties of the `video` object:
622
-
623
- ### `disabled` (boolean)
624
-
625
- Indicates if the plugin is disabled or not
626
-
627
- ## `image` (object)
628
-
629
- Properties of the `image` object:
630
-
631
- ### `disabled` (boolean)
632
-
633
- Indicates if the plugin is disabled or not
634
-
635
- ## `customPlugins` (array)
636
-
637
- An array of objects that determine custom plugins.
638
- A custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).
639
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
640
-
641
- The object is an array with all elements of the type `object`.
642
-
643
- The array object has the following properties:
644
-
645
- ### `event` (string, required)
646
-
647
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
648
- PIE will emit the event prefixed with "PIE-".
649
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
650
-
651
- ### `iconAlt` (string, required)
652
-
653
- The alt for the custom button icon
654
-
655
- ### `iconType` (string, required)
656
-
657
- The icon type.
658
- Currently, only "SVG" is supported.
659
-
660
- ### `icon` (string, required)
661
-
662
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
663
-
664
- ## `blockquote` (object)
665
-
666
- Properties of the `blockquote` object:
667
-
668
- ### `disabled` (boolean)
669
-
670
- Indicates if the plugin is disabled or not
671
-
672
- ## `h3` (object)
673
-
674
- Properties of the `h3` object:
675
-
676
- ### `disabled` (boolean)
677
-
678
- Indicates if the plugin is disabled or not
679
-
680
- ## `characters` (object)
681
-
682
- Properties of the `characters` object:
683
-
684
- ### `disabled` (boolean)
685
-
686
- Indicates if the plugin is disabled or not
687
-
688
- ## `bold` (object)
689
-
690
- Properties of the `bold` object:
691
-
692
- ### `disabled` (boolean)
693
-
694
- Indicates if the plugin is disabled or not
695
-
696
- ## `html` (object)
697
-
698
- Properties of the `html` object:
699
-
700
- ### `disabled` (boolean)
701
-
702
- Indicates if the plugin is disabled or not
703
-
704
- ## `italic` (object)
705
-
706
- Properties of the `italic` object:
707
-
708
- ### `disabled` (boolean)
709
-
710
- Indicates if the plugin is disabled or not
711
-
712
- ## `ol_list` (object)
713
-
714
- Properties of the `ol_list` object:
715
-
716
- ### `disabled` (boolean)
717
-
718
- Indicates if the plugin is disabled or not
719
-
720
- ## `redo` (object)
721
-
722
- Properties of the `redo` object:
723
-
724
- ### `disabled` (boolean)
725
-
726
- Indicates if the plugin is disabled or not
727
-
728
- ## `strikethrough` (object)
729
-
730
- Properties of the `strikethrough` object:
731
-
732
- ### `disabled` (boolean)
733
-
734
- Indicates if the plugin is disabled or not
735
-
736
- ## `sub` (object)
737
-
738
- Properties of the `sub` object:
739
-
740
- ### `disabled` (boolean)
741
-
742
- Indicates if the plugin is disabled or not
743
-
744
- ## `sup` (object)
745
-
746
- Properties of the `sup` object:
747
-
748
- ### `disabled` (boolean)
749
-
750
- Indicates if the plugin is disabled or not
751
-
752
- ## `table` (object)
753
-
754
- Properties of the `table` object:
755
-
756
- ### `disabled` (boolean)
757
-
758
- Indicates if the plugin is disabled or not
759
-
760
- ## `ul_list` (object)
761
-
762
- Properties of the `ul_list` object:
763
-
764
- ### `disabled` (boolean)
765
-
766
- Indicates if the plugin is disabled or not
767
-
768
- ## `underline` (object)
769
-
770
- Properties of the `underline` object:
771
-
772
- ### `disabled` (boolean)
773
-
774
- Indicates if the plugin is disabled or not
775
-
776
- ## `undo` (object)
777
-
778
- Properties of the `undo` object:
779
-
780
- ### `disabled` (boolean)
781
-
782
- Indicates if the plugin is disabled or not
783
-
784
- # `showPrompt` (boolean)
785
-
786
- Determines whether prompt field will be displayed or not
787
-
788
- Default: `true`
789
-
790
- # `promptLabel` (string)
791
-
792
- The label for the item stem/prompt field
793
-
794
- Default: `"Item Stemm"`
795
-
796
- # `contentDimensions` (object)
797
-
798
- Indicates the dimensions configuration for the authoring container
799
- Note: Some items have a default minimum width because of their content, but if
800
- the minWidth is lower than this, the overflow behavior will take care of that
801
-
802
- Properties of the `contentDimensions` object:
803
-
804
- ## `maxHeight` (string,number)
805
-
806
- Indicates the max height of the authoring container
807
-
808
- Default: `"undefined"`
809
-
810
- ## `maxWidth` (string,number)
811
-
812
- Indicates the max width of the authoring container
813
-
814
- Default: `"undefined"`
815
-
816
- ## `minHeight` (string,number)
817
-
818
- Indicates the min height of the authoring container
819
-
820
- Default: `"undefined"`
821
-
822
- ## `minWidth` (string,number)
823
-
824
- Indicates the min width of the authoring container
825
-
826
- Default: `"undefined"`
827
-
828
- Default: `": {}"`
829
-
830
- # `settingsPartialScoring` (boolean)
831
-
832
- Indicates whether the settings panel wil allow the author to modify settings for partial scoring
833
-
834
- Default: `true`
835
-
836
- ---
837
-
838
- # Sub Schemas
839
-
840
- The schema defines the following additional types:
841
-
842
- ## `ConfigureProp` (object)
843
-
844
- Properties of the `ConfigureProp` object:
845
-
846
- ### `settings` (boolean)
847
-
848
- Indicates if the item has to be displayed in the Settings Panel
849
-
850
- ### `label` (string)
851
-
852
- Indicates the label for the item that has to be displayed in the Settings Panel
853
-
854
- ## `ConfigurePropWithEnabled` (object)
855
-
856
- Properties of the `ConfigurePropWithEnabled` object:
857
-
858
- ### `enabled` (boolean)
859
-
860
- Indicates the value of the item if it affects config-ui
861
- (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
862
-
863
- ### `settings` (boolean)
864
-
865
- Indicates if the item has to be displayed in the Settings Panel
866
-
867
- ### `label` (string)
868
-
869
- Indicates the label for the item that has to be displayed in the Settings Panel
870
-
871
- ## `EditableHtmlPluginConfigureRequired` (object)
872
-
873
- Properties of the `EditableHtmlPluginConfigureRequired` object:
874
-
875
- ### `inputConfiguration` (object)
876
-
877
- Properties of the `inputConfiguration` object:
878
-
879
- #### `math` (object)
880
-
881
- Properties of the `math` object:
882
-
883
- ##### `disabled` (boolean)
884
-
885
- Indicates if the plugin is disabled or not
886
-
887
- #### `audio` (object)
888
-
889
- Properties of the `audio` object:
890
-
891
- ##### `disabled` (boolean)
892
-
893
- Indicates if the plugin is disabled or not
894
-
895
- #### `video` (object)
896
-
897
- Properties of the `video` object:
898
-
899
- ##### `disabled` (boolean)
900
-
901
- Indicates if the plugin is disabled or not
902
-
903
- #### `image` (object)
904
-
905
- Properties of the `image` object:
906
-
907
- ##### `disabled` (boolean)
908
-
909
- Indicates if the plugin is disabled or not
910
-
911
- #### `customPlugins` (array)
912
-
913
- An array of objects that determine custom plugins.
914
- A custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).
915
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
916
-
917
- The object is an array with all elements of the type `object`.
918
-
919
- The array object has the following properties:
920
-
921
- ##### `event` (string, required)
922
-
923
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
924
- PIE will emit the event prefixed with "PIE-".
925
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
926
-
927
- ##### `iconAlt` (string, required)
928
-
929
- The alt for the custom button icon
930
-
931
- ##### `iconType` (string, required)
932
-
933
- The icon type.
934
- Currently, only "SVG" is supported.
935
-
936
- ##### `icon` (string, required)
937
-
938
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
939
-
940
- #### `blockquote` (object)
941
-
942
- Properties of the `blockquote` object:
943
-
944
- ##### `disabled` (boolean)
945
-
946
- Indicates if the plugin is disabled or not
947
-
948
- #### `h3` (object)
949
-
950
- Properties of the `h3` object:
951
-
952
- ##### `disabled` (boolean)
953
-
954
- Indicates if the plugin is disabled or not
955
-
956
- #### `characters` (object)
957
-
958
- Properties of the `characters` object:
959
-
960
- ##### `disabled` (boolean)
961
-
962
- Indicates if the plugin is disabled or not
963
-
964
- #### `bold` (object)
965
-
966
- Properties of the `bold` object:
967
-
968
- ##### `disabled` (boolean)
969
-
970
- Indicates if the plugin is disabled or not
971
-
972
- #### `html` (object)
973
-
974
- Properties of the `html` object:
975
-
976
- ##### `disabled` (boolean)
977
-
978
- Indicates if the plugin is disabled or not
979
-
980
- #### `italic` (object)
981
-
982
- Properties of the `italic` object:
983
-
984
- ##### `disabled` (boolean)
985
-
986
- Indicates if the plugin is disabled or not
987
-
988
- #### `ol_list` (object)
989
-
990
- Properties of the `ol_list` object:
991
-
992
- ##### `disabled` (boolean)
993
-
994
- Indicates if the plugin is disabled or not
995
-
996
- #### `redo` (object)
997
-
998
- Properties of the `redo` object:
999
-
1000
- ##### `disabled` (boolean)
1001
-
1002
- Indicates if the plugin is disabled or not
1003
-
1004
- #### `strikethrough` (object)
1005
-
1006
- Properties of the `strikethrough` object:
1007
-
1008
- ##### `disabled` (boolean)
1009
-
1010
- Indicates if the plugin is disabled or not
1011
-
1012
- #### `sub` (object)
1013
-
1014
- Properties of the `sub` object:
1015
-
1016
- ##### `disabled` (boolean)
1017
-
1018
- Indicates if the plugin is disabled or not
1019
-
1020
- #### `sup` (object)
1021
-
1022
- Properties of the `sup` object:
1023
-
1024
- ##### `disabled` (boolean)
1025
-
1026
- Indicates if the plugin is disabled or not
1027
-
1028
- #### `table` (object)
1029
-
1030
- Properties of the `table` object:
1031
-
1032
- ##### `disabled` (boolean)
1033
-
1034
- Indicates if the plugin is disabled or not
1035
-
1036
- #### `ul_list` (object)
1037
-
1038
- Properties of the `ul_list` object:
1039
-
1040
- ##### `disabled` (boolean)
1041
-
1042
- Indicates if the plugin is disabled or not
1043
-
1044
- #### `underline` (object)
1045
-
1046
- Properties of the `underline` object:
1047
-
1048
- ##### `disabled` (boolean)
1049
-
1050
- Indicates if the plugin is disabled or not
1051
-
1052
- #### `undo` (object)
1053
-
1054
- Properties of the `undo` object:
1055
-
1056
- ##### `disabled` (boolean)
1057
-
1058
- Indicates if the plugin is disabled or not
1059
-
1060
- ### `required` (boolean)
1061
-
1062
- Indicates if the item is required and the value cannot be empty
1063
-
1064
- ### `settings` (boolean)
1065
-
1066
- Indicates if the item has to be displayed in the Settings Panel
1067
-
1068
- ### `label` (string)
1069
-
1070
- Indicates the label for the item that has to be displayed in the Settings Panel
1071
-
1072
- ## `EditableHtmlConfigureProp` (object)
1073
-
1074
- Properties of the `EditableHtmlConfigureProp` object:
1075
-
1076
- ### `math` (object)
1077
-
1078
- Properties of the `math` object:
1079
-
1080
- #### `disabled` (boolean)
1081
-
1082
- Indicates if the plugin is disabled or not
1083
-
1084
- ### `audio` (object)
1085
-
1086
- Properties of the `audio` object:
1087
-
1088
- #### `disabled` (boolean)
1089
-
1090
- Indicates if the plugin is disabled or not
1091
-
1092
- ### `video` (object)
1093
-
1094
- Properties of the `video` object:
1095
-
1096
- #### `disabled` (boolean)
1097
-
1098
- Indicates if the plugin is disabled or not
1099
-
1100
- ### `image` (object)
1101
-
1102
- Properties of the `image` object:
1103
-
1104
- #### `disabled` (boolean)
1105
-
1106
- Indicates if the plugin is disabled or not
1107
-
1108
- ### `customPlugins` (array)
1109
-
1110
- An array of objects that determine custom plugins.
1111
- A custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).
1112
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
1113
-
1114
- The object is an array with all elements of the type `object`.
1115
-
1116
- The array object has the following properties:
1117
-
1118
- #### `event` (string, required)
1119
-
1120
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1121
- PIE will emit the event prefixed with "PIE-".
1122
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1123
-
1124
- #### `iconAlt` (string, required)
1125
-
1126
- The alt for the custom button icon
1127
-
1128
- #### `iconType` (string, required)
1129
-
1130
- The icon type.
1131
- Currently, only "SVG" is supported.
1132
-
1133
- #### `icon` (string, required)
1134
-
1135
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1136
-
1137
- ### `blockquote` (object)
1138
-
1139
- Properties of the `blockquote` object:
1140
-
1141
- #### `disabled` (boolean)
1142
-
1143
- Indicates if the plugin is disabled or not
1144
-
1145
- ### `h3` (object)
1146
-
1147
- Properties of the `h3` object:
1148
-
1149
- #### `disabled` (boolean)
1150
-
1151
- Indicates if the plugin is disabled or not
1152
-
1153
- ### `characters` (object)
1154
-
1155
- Properties of the `characters` object:
1156
-
1157
- #### `disabled` (boolean)
1158
-
1159
- Indicates if the plugin is disabled or not
1160
-
1161
- ### `bold` (object)
1162
-
1163
- Properties of the `bold` object:
1164
-
1165
- #### `disabled` (boolean)
1166
-
1167
- Indicates if the plugin is disabled or not
1168
-
1169
- ### `html` (object)
1170
-
1171
- Properties of the `html` object:
1172
-
1173
- #### `disabled` (boolean)
1174
-
1175
- Indicates if the plugin is disabled or not
1176
-
1177
- ### `italic` (object)
1178
-
1179
- Properties of the `italic` object:
1180
-
1181
- #### `disabled` (boolean)
1182
-
1183
- Indicates if the plugin is disabled or not
1184
-
1185
- ### `ol_list` (object)
1186
-
1187
- Properties of the `ol_list` object:
1188
-
1189
- #### `disabled` (boolean)
1190
-
1191
- Indicates if the plugin is disabled or not
1192
-
1193
- ### `redo` (object)
1194
-
1195
- Properties of the `redo` object:
1196
-
1197
- #### `disabled` (boolean)
1198
-
1199
- Indicates if the plugin is disabled or not
1200
-
1201
- ### `strikethrough` (object)
1202
-
1203
- Properties of the `strikethrough` object:
1204
-
1205
- #### `disabled` (boolean)
1206
-
1207
- Indicates if the plugin is disabled or not
1208
-
1209
- ### `sub` (object)
1210
-
1211
- Properties of the `sub` object:
1212
-
1213
- #### `disabled` (boolean)
1214
-
1215
- Indicates if the plugin is disabled or not
1216
-
1217
- ### `sup` (object)
1218
-
1219
- Properties of the `sup` object:
1220
-
1221
- #### `disabled` (boolean)
1222
-
1223
- Indicates if the plugin is disabled or not
1224
-
1225
- ### `table` (object)
1226
-
1227
- Properties of the `table` object:
1228
-
1229
- #### `disabled` (boolean)
1230
-
1231
- Indicates if the plugin is disabled or not
1232
-
1233
- ### `ul_list` (object)
1234
-
1235
- Properties of the `ul_list` object:
1236
-
1237
- #### `disabled` (boolean)
1238
-
1239
- Indicates if the plugin is disabled or not
1240
-
1241
- ### `underline` (object)
1242
-
1243
- Properties of the `underline` object:
1244
-
1245
- #### `disabled` (boolean)
1246
-
1247
- Indicates if the plugin is disabled or not
1248
-
1249
- ### `undo` (object)
1250
-
1251
- Properties of the `undo` object:
1252
-
1253
- #### `disabled` (boolean)
1254
-
1255
- Indicates if the plugin is disabled or not
1256
-
1257
- ## `EditableHtmlButtonConfigure` (object)
1258
-
1259
- Properties of the `EditableHtmlButtonConfigure` object:
1260
-
1261
- ### `disabled` (boolean)
1262
-
1263
- Indicates if the plugin is disabled or not
1264
-
1265
- ## `CustomPlugin` (object)
1266
-
1267
- Properties of the `CustomPlugin` object:
1268
-
1269
- ### `event` (string, required)
1270
-
1271
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1272
- PIE will emit the event prefixed with "PIE-".
1273
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1274
-
1275
- ### `iconAlt` (string, required)
1276
-
1277
- The alt for the custom button icon
1278
-
1279
- ### `iconType` (string, required)
1280
-
1281
- The icon type.
1282
- Currently, only "SVG" is supported.
1283
-
1284
- ### `icon` (string, required)
1285
-
1286
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1287
-
1288
- ## `ConfigureMaxImageDimensionsProp` (object)
1289
-
1290
- Properties of the `ConfigureMaxImageDimensionsProp` object:
1291
-
1292
- ### `teacherInstructions` (number)
1293
-
1294
- Indicates the max dimension for images in teacher instructions
1295
-
1296
- ### `prompt` (number)
1297
-
1298
- Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
1299
-
1300
- ### `rationale` (number)
1301
-
1302
- Indicates the max dimension for images in rationale
1303
-
1304
- ## `ConfigureWithForceProp` (object)
1305
-
1306
- Properties of the `ConfigureWithForceProp` object:
1307
-
1308
- ### `forceEnabled` (boolean)
1309
-
1310
- Indicates the value for the toggle;
1311
- if true:
1312
- - this property will not be visible in Settings Panel (settings will become automatically false)
1313
- - the model property afferent to it will become automatically false
1314
-
1315
- ### `settings` (boolean)
1316
-
1317
- Indicates if the item has to be displayed in the Settings Panel
1318
-
1319
- ### `label` (string)
1320
-
1321
- Indicates the label for the item that has to be displayed in the Settings Panel
1322
-
1323
- ## `ConfigureMathMLProp` (object)
1324
-
1325
- Properties of the `ConfigureMathMLProp` object:
1326
-
1327
- ### `mmlOutput` (number)
1328
-
1329
- Indicates if model should have mathML output instead of latex
1330
-
1331
- ### `mmlEditing` (number)
1332
-
1333
- Indicates if mathML that's already in model should be editable