@pie-element/number-line 13.1.1 → 13.1.2-next.1

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 (191) hide show
  1. package/configure.js +2 -0
  2. package/controller.js +1 -0
  3. package/dist/_virtual/_rolldown/runtime.js +11 -0
  4. package/dist/author/arrows.d.ts +28 -0
  5. package/dist/author/arrows.js +69 -0
  6. package/dist/author/card-bar.d.ts +20 -0
  7. package/dist/author/card-bar.js +41 -0
  8. package/dist/author/defaults.d.ts +178 -0
  9. package/dist/author/defaults.js +144 -0
  10. package/dist/author/domain.d.ts +15 -0
  11. package/dist/author/domain.js +54 -0
  12. package/dist/author/index.d.ts +23 -0
  13. package/dist/author/index.js +89 -0
  14. package/dist/author/main.d.ts +44 -0
  15. package/dist/author/main.js +485 -0
  16. package/dist/author/number-text-field.d.ts +13 -0
  17. package/dist/author/number-text-field.js +13 -0
  18. package/dist/author/point-config.d.ts +25 -0
  19. package/dist/author/point-config.js +69 -0
  20. package/dist/author/size.d.ts +24 -0
  21. package/dist/author/size.js +48 -0
  22. package/dist/author/ticks.d.ts +22 -0
  23. package/dist/author/ticks.js +115 -0
  24. package/dist/author/utils.d.ts +9 -0
  25. package/dist/author/utils.js +4 -0
  26. package/dist/browser/author/index.js +40259 -0
  27. package/dist/browser/author/index.js.map +1 -0
  28. package/dist/browser/controller/index.js +569 -0
  29. package/dist/browser/controller/index.js.map +1 -0
  30. package/dist/browser/delivery/index.js +2 -0
  31. package/dist/browser/delivery-Ci_kZyOM.js +17903 -0
  32. package/dist/browser/delivery-Ci_kZyOM.js.map +1 -0
  33. package/dist/browser/dist-D5T-OaLo.js +19038 -0
  34. package/dist/browser/dist-D5T-OaLo.js.map +1 -0
  35. package/dist/browser/impureFunctionsAny.generated-Bqfato71.js +10162 -0
  36. package/dist/browser/impureFunctionsAny.generated-Bqfato71.js.map +1 -0
  37. package/dist/browser/number-line.css +2 -0
  38. package/dist/controller/defaults.d.ts +58 -0
  39. package/dist/controller/defaults.js +50 -0
  40. package/dist/controller/index.d.ts +47 -0
  41. package/dist/controller/index.js +165 -0
  42. package/dist/controller/tickUtils.d.ts +21 -0
  43. package/dist/controller/tickUtils.js +252 -0
  44. package/dist/controller/utils.d.ts +9 -0
  45. package/dist/controller/utils.js +68 -0
  46. package/dist/delivery/data-converter.d.ts +64 -0
  47. package/dist/delivery/data-converter.js +70 -0
  48. package/dist/delivery/draggable/index.d.ts +33 -0
  49. package/dist/delivery/draggable/index.js +39 -0
  50. package/dist/delivery/index.d.ts +35 -0
  51. package/dist/delivery/index.js +109 -0
  52. package/dist/delivery/number-line/colors.d.ts +11 -0
  53. package/dist/delivery/number-line/colors.js +5 -0
  54. package/dist/delivery/number-line/feedback.d.ts +19 -0
  55. package/dist/delivery/number-line/feedback.js +57 -0
  56. package/dist/delivery/number-line/graph/arrow.d.ts +30 -0
  57. package/dist/delivery/number-line/graph/arrow.js +27 -0
  58. package/dist/delivery/number-line/graph/elements/base.d.ts +16 -0
  59. package/dist/delivery/number-line/graph/elements/base.js +11 -0
  60. package/dist/delivery/number-line/graph/elements/builder.d.ts +33 -0
  61. package/dist/delivery/number-line/graph/elements/builder.js +30 -0
  62. package/dist/delivery/number-line/graph/elements/line.d.ts +51 -0
  63. package/dist/delivery/number-line/graph/elements/line.js +188 -0
  64. package/dist/delivery/number-line/graph/elements/point.d.ts +43 -0
  65. package/dist/delivery/number-line/graph/elements/point.js +127 -0
  66. package/dist/delivery/number-line/graph/elements/ray.d.ts +43 -0
  67. package/dist/delivery/number-line/graph/elements/ray.js +130 -0
  68. package/dist/delivery/number-line/graph/index.d.ts +59 -0
  69. package/dist/delivery/number-line/graph/index.js +196 -0
  70. package/dist/delivery/number-line/graph/line.d.ts +46 -0
  71. package/dist/delivery/number-line/graph/line.js +27 -0
  72. package/dist/delivery/number-line/graph/stacks.d.ts +10 -0
  73. package/dist/delivery/number-line/graph/stacks.js +40 -0
  74. package/dist/delivery/number-line/graph/tick-utils.d.ts +80 -0
  75. package/dist/delivery/number-line/graph/tick-utils.js +295 -0
  76. package/dist/delivery/number-line/graph/ticks.d.ts +46 -0
  77. package/dist/delivery/number-line/graph/ticks.js +115 -0
  78. package/dist/delivery/number-line/index.d.ts +35 -0
  79. package/dist/delivery/number-line/index.js +215 -0
  80. package/dist/delivery/number-line/point-chooser/button.d.ts +31 -0
  81. package/dist/delivery/number-line/point-chooser/button.js +36 -0
  82. package/dist/delivery/number-line/point-chooser/img.d.ts +10 -0
  83. package/dist/delivery/number-line/point-chooser/img.js +4 -0
  84. package/dist/delivery/number-line/point-chooser/index.d.ts +37 -0
  85. package/dist/delivery/number-line/point-chooser/index.js +154 -0
  86. package/dist/delivery/number-line/point-chooser/styles.d.ts +192 -0
  87. package/dist/delivery/number-line/transitions/fade.d.ts +34 -0
  88. package/dist/delivery/number-line/transitions/fade.js +75 -0
  89. package/dist/delivery/number-line/transitions/index.d.ts +10 -0
  90. package/dist/index.d.ts +1 -0
  91. package/dist/index.iife.d.ts +8 -0
  92. package/dist/index.iife.js +197 -0
  93. package/dist/index.js +2 -0
  94. package/dist/runtime-support.d.ts +12 -0
  95. package/dist/runtime-support.js +12 -0
  96. package/package.json +87 -21
  97. package/CHANGELOG.json +0 -1247
  98. package/CHANGELOG.md +0 -2435
  99. package/LICENSE.md +0 -5
  100. package/README.md +0 -28
  101. package/configure/CHANGELOG.json +0 -827
  102. package/configure/CHANGELOG.md +0 -2082
  103. package/configure/lib/arrows.js +0 -89
  104. package/configure/lib/arrows.js.map +0 -1
  105. package/configure/lib/card-bar.js +0 -57
  106. package/configure/lib/card-bar.js.map +0 -1
  107. package/configure/lib/defaults.js +0 -177
  108. package/configure/lib/defaults.js.map +0 -1
  109. package/configure/lib/domain.js +0 -87
  110. package/configure/lib/domain.js.map +0 -1
  111. package/configure/lib/index.js +0 -176
  112. package/configure/lib/index.js.map +0 -1
  113. package/configure/lib/main.js +0 -815
  114. package/configure/lib/main.js.map +0 -1
  115. package/configure/lib/number-text-field.js +0 -26
  116. package/configure/lib/number-text-field.js.map +0 -1
  117. package/configure/lib/point-config.js +0 -84
  118. package/configure/lib/point-config.js.map +0 -1
  119. package/configure/lib/size.js +0 -66
  120. package/configure/lib/size.js.map +0 -1
  121. package/configure/lib/ticks.js +0 -234
  122. package/configure/lib/ticks.js.map +0 -1
  123. package/configure/lib/utils.js +0 -12
  124. package/configure/lib/utils.js.map +0 -1
  125. package/configure/package.json +0 -20
  126. package/controller/CHANGELOG.json +0 -332
  127. package/controller/CHANGELOG.md +0 -1360
  128. package/controller/lib/defaults.js +0 -56
  129. package/controller/lib/defaults.js.map +0 -1
  130. package/controller/lib/index.js +0 -430
  131. package/controller/lib/index.js.map +0 -1
  132. package/controller/lib/tickUtils.js +0 -294
  133. package/controller/lib/tickUtils.js.map +0 -1
  134. package/controller/lib/utils.js +0 -168
  135. package/controller/lib/utils.js.map +0 -1
  136. package/controller/package.json +0 -20
  137. package/demo.gif +0 -0
  138. package/docs/config-schema.json +0 -2532
  139. package/docs/config-schema.json.md +0 -1844
  140. package/docs/demo/config.js +0 -8
  141. package/docs/demo/generate.js +0 -39
  142. package/docs/demo/index.html +0 -1
  143. package/docs/pie-schema.json +0 -2461
  144. package/docs/pie-schema.json.md +0 -1228
  145. package/docs/schemas/config.json +0 -256
  146. package/lib/data-converter.js +0 -96
  147. package/lib/data-converter.js.map +0 -1
  148. package/lib/draggable/index.js +0 -114
  149. package/lib/draggable/index.js.map +0 -1
  150. package/lib/index.js +0 -196
  151. package/lib/index.js.map +0 -1
  152. package/lib/number-line/colors.js +0 -11
  153. package/lib/number-line/colors.js.map +0 -1
  154. package/lib/number-line/feedback.js +0 -92
  155. package/lib/number-line/feedback.js.map +0 -1
  156. package/lib/number-line/graph/arrow.js +0 -44
  157. package/lib/number-line/graph/arrow.js.map +0 -1
  158. package/lib/number-line/graph/elements/base.js +0 -20
  159. package/lib/number-line/graph/elements/base.js.map +0 -1
  160. package/lib/number-line/graph/elements/builder.js +0 -37
  161. package/lib/number-line/graph/elements/builder.js.map +0 -1
  162. package/lib/number-line/graph/elements/line.js +0 -259
  163. package/lib/number-line/graph/elements/line.js.map +0 -1
  164. package/lib/number-line/graph/elements/point.js +0 -204
  165. package/lib/number-line/graph/elements/point.js.map +0 -1
  166. package/lib/number-line/graph/elements/ray.js +0 -190
  167. package/lib/number-line/graph/elements/ray.js.map +0 -1
  168. package/lib/number-line/graph/index.js +0 -262
  169. package/lib/number-line/graph/index.js.map +0 -1
  170. package/lib/number-line/graph/line.js +0 -38
  171. package/lib/number-line/graph/line.js.map +0 -1
  172. package/lib/number-line/graph/stacks.js +0 -78
  173. package/lib/number-line/graph/stacks.js.map +0 -1
  174. package/lib/number-line/graph/tick-utils.js +0 -347
  175. package/lib/number-line/graph/tick-utils.js.map +0 -1
  176. package/lib/number-line/graph/ticks.js +0 -188
  177. package/lib/number-line/graph/ticks.js.map +0 -1
  178. package/lib/number-line/index.js +0 -384
  179. package/lib/number-line/index.js.map +0 -1
  180. package/lib/number-line/point-chooser/button.js +0 -49
  181. package/lib/number-line/point-chooser/button.js.map +0 -1
  182. package/lib/number-line/point-chooser/img.js +0 -8
  183. package/lib/number-line/point-chooser/img.js.map +0 -1
  184. package/lib/number-line/point-chooser/index.js +0 -197
  185. package/lib/number-line/point-chooser/index.js.map +0 -1
  186. package/lib/number-line/point-chooser/styles.js +0 -77
  187. package/lib/number-line/point-chooser/styles.js.map +0 -1
  188. package/lib/number-line/transitions/fade.js +0 -88
  189. package/lib/number-line/transitions/fade.js.map +0 -1
  190. package/lib/number-line/transitions/index.js +0 -14
  191. package/lib/number-line/transitions/index.js.map +0 -1
@@ -1,1228 +0,0 @@
1
- Model Object for @pie-elements/number-line
2
-
3
- The schema defines the following properties:
4
-
5
- # `feedback` (object)
6
-
7
- Properties of the `feedback` object:
8
-
9
- ## `correct` (, required)
10
-
11
- Indicates the configuration for feedback when answer is correct
12
-
13
- ## `incorrect` (, required)
14
-
15
- Indicates the configuration for feedback when answer is incorrect
16
-
17
- ## `partial`
18
-
19
- Indicates the configuration for feedback when answer is partially correct
20
-
21
- # `correctResponse` (object, required)
22
-
23
- Array that returns responses
24
-
25
- # `partialScoring` (boolean, required)
26
-
27
- Indicates if partial scoring is enabled
28
-
29
- # `graph` (object, required)
30
-
31
- Properties of the `graph` object:
32
-
33
- ## `arrows` (object, required)
34
-
35
- Properties of the `arrows` object:
36
-
37
- ### `left` (boolean, required)
38
-
39
- ### `right` (boolean, required)
40
-
41
- ## `width` (number, required)
42
-
43
- Indicates domain representation width
44
-
45
- ## `domain` (object, required)
46
-
47
- Properties of the `domain` object:
48
-
49
- ### `min` (number, required)
50
-
51
- ### `max` (number, required)
52
-
53
- ## `maxNumberOfPoints` (number, required)
54
-
55
- Indicates the maximum number of correct response values
56
-
57
- ## `tick` (object, required)
58
-
59
- Properties of the `tick` object:
60
-
61
- ### `minor` (number, required)
62
-
63
- smallest tick - These ticks don't have labels.
64
-
65
- ### `major` (number, required)
66
-
67
- larger tick - These ticks have labels.
68
-
69
- ### `tickIntervalType` (string, required)
70
-
71
- Contains tick interval type Integer, Fraction, Decimal
72
-
73
- ### `integerTick` (number, required)
74
-
75
- Integer representation of minor.
76
-
77
- ### `decimalTick` (number, required)
78
-
79
- Decimal representation of minor.
80
-
81
- ### `fractionTick` (string, required)
82
-
83
- Fraction representation of minor.
84
-
85
- ## `title` (string)
86
-
87
- the title under the graph
88
-
89
- ## `exhibitOnly` (boolean, required)
90
-
91
- Indicates if the exhibit mode is enabled
92
-
93
- ## `initialType` (string, enum, required)
94
-
95
- Indicates the initial type of response
96
-
97
- This element must be one of the following enum values:
98
-
99
- * `LEE`
100
- * `LEF`
101
- * `LFE`
102
- * `LFF`
103
- * `PF`
104
- * `REN`
105
- * `REP`
106
- * `RFN`
107
- * `RFP`
108
-
109
- ## `availableTypes` (object, required)
110
-
111
- Indicates the available types of responses
112
-
113
- Properties of the `availableTypes` object:
114
-
115
- ### `PF` (boolean, required)
116
-
117
- Indicates if full point is available
118
-
119
- ### `LFF` (boolean, required)
120
-
121
- Indicates if line with full left & right point is available
122
-
123
- ### `LEF` (boolean, required)
124
-
125
- Indicates if line with empty left & full right point is available
126
-
127
- ### `LFE` (boolean, required)
128
-
129
- Indicates if line with full left & empty right point is available
130
-
131
- ### `LEE` (boolean, required)
132
-
133
- Indicates if line with empty left & right point is available
134
-
135
- ### `RFN` (boolean, required)
136
-
137
- Indicates if ray with full point and negative direction is available
138
-
139
- ### `REN` (boolean, required)
140
-
141
- Indicates if ray with empty point and negative direction is available
142
-
143
- ### `RFP` (boolean, required)
144
-
145
- Indicates if ray with full point and positive direction is available
146
-
147
- ### `REP` (boolean, required)
148
-
149
- Indicates if ray with empty point and positive direction is available
150
-
151
- ## `widthEnabled` (boolean, required)
152
-
153
- If enabled, allows user to set width for number line.
154
-
155
- ## `initialElements` (object, required)
156
-
157
- Array that returns responses
158
-
159
- ## `labelStep` (string, required)
160
-
161
- Indicates the fractional step between 2 labeled ticks
162
-
163
- # `prompt` (string)
164
-
165
- The question prompt or item stem
166
-
167
- # `spellCheckEnabled` (boolean, required)
168
-
169
- Indicates if spellcheck is enabled for the author. Default value is true
170
-
171
- # `promptEnabled` (boolean)
172
-
173
- Indicates if the prompt is enabled
174
-
175
- # `rationale` (string)
176
-
177
- Indicates rationale for the answer
178
-
179
- # `rationaleEnabled` (boolean, required)
180
-
181
- Indicates if Rationale are enabled
182
-
183
- # `teacherInstructionsEnabled` (boolean, required)
184
-
185
- Indicates if Teacher Instructions are enabled
186
-
187
- # `toolbarEditorPosition` (string, enum)
188
-
189
- Indicates the editor's toolbar position which can be 'bottom' or 'top'
190
-
191
- This element must be one of the following enum values:
192
-
193
- * `bottom`
194
- * `top`
195
-
196
- Default: `": 'bottom'"`
197
-
198
- # `language` (string)
199
-
200
- Indicates the language of the component
201
- Supported options: en, es, en_US, en-US, es_ES, es-ES, es_MX, es-MX
202
-
203
- # `id` (string, required)
204
-
205
- Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.
206
-
207
- # `element` (string, required)
208
-
209
- The html Element tag name
210
-
211
- ---
212
-
213
- # Sub Schemas
214
-
215
- The schema defines the following additional types:
216
-
217
- ## `EditableHtmlConfigureProp` (object)
218
-
219
- Properties of the `EditableHtmlConfigureProp` object:
220
-
221
- ### `math` (object)
222
-
223
- Properties of the `math` object:
224
-
225
- #### `disabled` (boolean)
226
-
227
- Indicates if the plugin is disabled or not
228
-
229
- ### `audio` (object)
230
-
231
- Properties of the `audio` object:
232
-
233
- #### `disabled` (boolean)
234
-
235
- Indicates if the plugin is disabled or not
236
-
237
- ### `video` (object)
238
-
239
- Properties of the `video` object:
240
-
241
- #### `disabled` (boolean)
242
-
243
- Indicates if the plugin is disabled or not
244
-
245
- ### `image` (object)
246
-
247
- Properties of the `image` object:
248
-
249
- #### `disabled` (boolean)
250
-
251
- Indicates if the plugin is disabled or not
252
-
253
- ### `customPlugins` (array)
254
-
255
- An array of objects that determine custom plugins.
256
- 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).
257
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
258
-
259
- The object is an array with all elements of the type `object`.
260
-
261
- The array object has the following properties:
262
-
263
- #### `event` (string, required)
264
-
265
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
266
- PIE will emit the event prefixed with "PIE-".
267
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
268
-
269
- #### `iconAlt` (string, required)
270
-
271
- The alt for the custom button icon
272
-
273
- #### `iconType` (string, required)
274
-
275
- The icon type.
276
- Currently, only "SVG" is supported.
277
-
278
- #### `icon` (string, required)
279
-
280
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
281
-
282
- ### `blockquote` (object)
283
-
284
- Properties of the `blockquote` object:
285
-
286
- #### `disabled` (boolean)
287
-
288
- Indicates if the plugin is disabled or not
289
-
290
- ### `h3` (object)
291
-
292
- Properties of the `h3` object:
293
-
294
- #### `disabled` (boolean)
295
-
296
- Indicates if the plugin is disabled or not
297
-
298
- ### `characters` (object)
299
-
300
- Properties of the `characters` object:
301
-
302
- #### `disabled` (boolean)
303
-
304
- Indicates if the plugin is disabled or not
305
-
306
- ### `bold` (object)
307
-
308
- Properties of the `bold` object:
309
-
310
- #### `disabled` (boolean)
311
-
312
- Indicates if the plugin is disabled or not
313
-
314
- ### `html` (object)
315
-
316
- Properties of the `html` object:
317
-
318
- #### `disabled` (boolean)
319
-
320
- Indicates if the plugin is disabled or not
321
-
322
- ### `italic` (object)
323
-
324
- Properties of the `italic` object:
325
-
326
- #### `disabled` (boolean)
327
-
328
- Indicates if the plugin is disabled or not
329
-
330
- ### `ol_list` (object)
331
-
332
- Properties of the `ol_list` object:
333
-
334
- #### `disabled` (boolean)
335
-
336
- Indicates if the plugin is disabled or not
337
-
338
- ### `redo` (object)
339
-
340
- Properties of the `redo` object:
341
-
342
- #### `disabled` (boolean)
343
-
344
- Indicates if the plugin is disabled or not
345
-
346
- ### `strikethrough` (object)
347
-
348
- Properties of the `strikethrough` object:
349
-
350
- #### `disabled` (boolean)
351
-
352
- Indicates if the plugin is disabled or not
353
-
354
- ### `sub` (object)
355
-
356
- Properties of the `sub` object:
357
-
358
- #### `disabled` (boolean)
359
-
360
- Indicates if the plugin is disabled or not
361
-
362
- ### `sup` (object)
363
-
364
- Properties of the `sup` object:
365
-
366
- #### `disabled` (boolean)
367
-
368
- Indicates if the plugin is disabled or not
369
-
370
- ### `table` (object)
371
-
372
- Properties of the `table` object:
373
-
374
- #### `disabled` (boolean)
375
-
376
- Indicates if the plugin is disabled or not
377
-
378
- ### `ul_list` (object)
379
-
380
- Properties of the `ul_list` object:
381
-
382
- #### `disabled` (boolean)
383
-
384
- Indicates if the plugin is disabled or not
385
-
386
- ### `underline` (object)
387
-
388
- Properties of the `underline` object:
389
-
390
- #### `disabled` (boolean)
391
-
392
- Indicates if the plugin is disabled or not
393
-
394
- ### `undo` (object)
395
-
396
- Properties of the `undo` object:
397
-
398
- #### `disabled` (boolean)
399
-
400
- Indicates if the plugin is disabled or not
401
-
402
- ## `EditableHtmlButtonConfigure` (object)
403
-
404
- Properties of the `EditableHtmlButtonConfigure` object:
405
-
406
- ### `disabled` (boolean)
407
-
408
- Indicates if the plugin is disabled or not
409
-
410
- ## `CustomPlugin` (object)
411
-
412
- Properties of the `CustomPlugin` object:
413
-
414
- ### `event` (string, required)
415
-
416
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
417
- PIE will emit the event prefixed with "PIE-".
418
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
419
-
420
- ### `iconAlt` (string, required)
421
-
422
- The alt for the custom button icon
423
-
424
- ### `iconType` (string, required)
425
-
426
- The icon type.
427
- Currently, only "SVG" is supported.
428
-
429
- ### `icon` (string, required)
430
-
431
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
432
-
433
- ## `ConfigurePropWithEnabled` (object)
434
-
435
- Properties of the `ConfigurePropWithEnabled` object:
436
-
437
- ### `enabled` (boolean)
438
-
439
- Indicates the value of the item if it affects config-ui
440
- (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
441
-
442
- ### `settings` (boolean)
443
-
444
- Indicates if the item has to be displayed in the Settings Panel
445
-
446
- ### `label` (string)
447
-
448
- Indicates the label for the item that has to be displayed in the Settings Panel
449
-
450
- ## `EditableHtmlPluginConfigureRequired` (object)
451
-
452
- Properties of the `EditableHtmlPluginConfigureRequired` object:
453
-
454
- ### `inputConfiguration` (object)
455
-
456
- Properties of the `inputConfiguration` object:
457
-
458
- #### `math` (object)
459
-
460
- Properties of the `math` object:
461
-
462
- ##### `disabled` (boolean)
463
-
464
- Indicates if the plugin is disabled or not
465
-
466
- #### `audio` (object)
467
-
468
- Properties of the `audio` object:
469
-
470
- ##### `disabled` (boolean)
471
-
472
- Indicates if the plugin is disabled or not
473
-
474
- #### `video` (object)
475
-
476
- Properties of the `video` object:
477
-
478
- ##### `disabled` (boolean)
479
-
480
- Indicates if the plugin is disabled or not
481
-
482
- #### `image` (object)
483
-
484
- Properties of the `image` object:
485
-
486
- ##### `disabled` (boolean)
487
-
488
- Indicates if the plugin is disabled or not
489
-
490
- #### `customPlugins` (array)
491
-
492
- An array of objects that determine custom plugins.
493
- 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).
494
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
495
-
496
- The object is an array with all elements of the type `object`.
497
-
498
- The array object has the following properties:
499
-
500
- ##### `event` (string, required)
501
-
502
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
503
- PIE will emit the event prefixed with "PIE-".
504
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
505
-
506
- ##### `iconAlt` (string, required)
507
-
508
- The alt for the custom button icon
509
-
510
- ##### `iconType` (string, required)
511
-
512
- The icon type.
513
- Currently, only "SVG" is supported.
514
-
515
- ##### `icon` (string, required)
516
-
517
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
518
-
519
- #### `blockquote` (object)
520
-
521
- Properties of the `blockquote` object:
522
-
523
- ##### `disabled` (boolean)
524
-
525
- Indicates if the plugin is disabled or not
526
-
527
- #### `h3` (object)
528
-
529
- Properties of the `h3` object:
530
-
531
- ##### `disabled` (boolean)
532
-
533
- Indicates if the plugin is disabled or not
534
-
535
- #### `characters` (object)
536
-
537
- Properties of the `characters` object:
538
-
539
- ##### `disabled` (boolean)
540
-
541
- Indicates if the plugin is disabled or not
542
-
543
- #### `bold` (object)
544
-
545
- Properties of the `bold` object:
546
-
547
- ##### `disabled` (boolean)
548
-
549
- Indicates if the plugin is disabled or not
550
-
551
- #### `html` (object)
552
-
553
- Properties of the `html` object:
554
-
555
- ##### `disabled` (boolean)
556
-
557
- Indicates if the plugin is disabled or not
558
-
559
- #### `italic` (object)
560
-
561
- Properties of the `italic` object:
562
-
563
- ##### `disabled` (boolean)
564
-
565
- Indicates if the plugin is disabled or not
566
-
567
- #### `ol_list` (object)
568
-
569
- Properties of the `ol_list` object:
570
-
571
- ##### `disabled` (boolean)
572
-
573
- Indicates if the plugin is disabled or not
574
-
575
- #### `redo` (object)
576
-
577
- Properties of the `redo` object:
578
-
579
- ##### `disabled` (boolean)
580
-
581
- Indicates if the plugin is disabled or not
582
-
583
- #### `strikethrough` (object)
584
-
585
- Properties of the `strikethrough` object:
586
-
587
- ##### `disabled` (boolean)
588
-
589
- Indicates if the plugin is disabled or not
590
-
591
- #### `sub` (object)
592
-
593
- Properties of the `sub` object:
594
-
595
- ##### `disabled` (boolean)
596
-
597
- Indicates if the plugin is disabled or not
598
-
599
- #### `sup` (object)
600
-
601
- Properties of the `sup` object:
602
-
603
- ##### `disabled` (boolean)
604
-
605
- Indicates if the plugin is disabled or not
606
-
607
- #### `table` (object)
608
-
609
- Properties of the `table` object:
610
-
611
- ##### `disabled` (boolean)
612
-
613
- Indicates if the plugin is disabled or not
614
-
615
- #### `ul_list` (object)
616
-
617
- Properties of the `ul_list` object:
618
-
619
- ##### `disabled` (boolean)
620
-
621
- Indicates if the plugin is disabled or not
622
-
623
- #### `underline` (object)
624
-
625
- Properties of the `underline` object:
626
-
627
- ##### `disabled` (boolean)
628
-
629
- Indicates if the plugin is disabled or not
630
-
631
- #### `undo` (object)
632
-
633
- Properties of the `undo` object:
634
-
635
- ##### `disabled` (boolean)
636
-
637
- Indicates if the plugin is disabled or not
638
-
639
- ### `required` (boolean)
640
-
641
- Indicates if the item is required and the value cannot be empty
642
-
643
- ### `settings` (boolean)
644
-
645
- Indicates if the item has to be displayed in the Settings Panel
646
-
647
- ### `label` (string)
648
-
649
- Indicates the label for the item that has to be displayed in the Settings Panel
650
-
651
- ## `EditableHtmlPluginConfigure` (object)
652
-
653
- Properties of the `EditableHtmlPluginConfigure` object:
654
-
655
- ### `inputConfiguration` (object)
656
-
657
- Properties of the `inputConfiguration` object:
658
-
659
- #### `math` (object)
660
-
661
- Properties of the `math` object:
662
-
663
- ##### `disabled` (boolean)
664
-
665
- Indicates if the plugin is disabled or not
666
-
667
- #### `audio` (object)
668
-
669
- Properties of the `audio` object:
670
-
671
- ##### `disabled` (boolean)
672
-
673
- Indicates if the plugin is disabled or not
674
-
675
- #### `video` (object)
676
-
677
- Properties of the `video` object:
678
-
679
- ##### `disabled` (boolean)
680
-
681
- Indicates if the plugin is disabled or not
682
-
683
- #### `image` (object)
684
-
685
- Properties of the `image` object:
686
-
687
- ##### `disabled` (boolean)
688
-
689
- Indicates if the plugin is disabled or not
690
-
691
- #### `customPlugins` (array)
692
-
693
- An array of objects that determine custom plugins.
694
- 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).
695
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
696
-
697
- The object is an array with all elements of the type `object`.
698
-
699
- The array object has the following properties:
700
-
701
- ##### `event` (string, required)
702
-
703
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
704
- PIE will emit the event prefixed with "PIE-".
705
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
706
-
707
- ##### `iconAlt` (string, required)
708
-
709
- The alt for the custom button icon
710
-
711
- ##### `iconType` (string, required)
712
-
713
- The icon type.
714
- Currently, only "SVG" is supported.
715
-
716
- ##### `icon` (string, required)
717
-
718
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
719
-
720
- #### `blockquote` (object)
721
-
722
- Properties of the `blockquote` object:
723
-
724
- ##### `disabled` (boolean)
725
-
726
- Indicates if the plugin is disabled or not
727
-
728
- #### `h3` (object)
729
-
730
- Properties of the `h3` object:
731
-
732
- ##### `disabled` (boolean)
733
-
734
- Indicates if the plugin is disabled or not
735
-
736
- #### `characters` (object)
737
-
738
- Properties of the `characters` object:
739
-
740
- ##### `disabled` (boolean)
741
-
742
- Indicates if the plugin is disabled or not
743
-
744
- #### `bold` (object)
745
-
746
- Properties of the `bold` object:
747
-
748
- ##### `disabled` (boolean)
749
-
750
- Indicates if the plugin is disabled or not
751
-
752
- #### `html` (object)
753
-
754
- Properties of the `html` object:
755
-
756
- ##### `disabled` (boolean)
757
-
758
- Indicates if the plugin is disabled or not
759
-
760
- #### `italic` (object)
761
-
762
- Properties of the `italic` object:
763
-
764
- ##### `disabled` (boolean)
765
-
766
- Indicates if the plugin is disabled or not
767
-
768
- #### `ol_list` (object)
769
-
770
- Properties of the `ol_list` object:
771
-
772
- ##### `disabled` (boolean)
773
-
774
- Indicates if the plugin is disabled or not
775
-
776
- #### `redo` (object)
777
-
778
- Properties of the `redo` object:
779
-
780
- ##### `disabled` (boolean)
781
-
782
- Indicates if the plugin is disabled or not
783
-
784
- #### `strikethrough` (object)
785
-
786
- Properties of the `strikethrough` object:
787
-
788
- ##### `disabled` (boolean)
789
-
790
- Indicates if the plugin is disabled or not
791
-
792
- #### `sub` (object)
793
-
794
- Properties of the `sub` object:
795
-
796
- ##### `disabled` (boolean)
797
-
798
- Indicates if the plugin is disabled or not
799
-
800
- #### `sup` (object)
801
-
802
- Properties of the `sup` object:
803
-
804
- ##### `disabled` (boolean)
805
-
806
- Indicates if the plugin is disabled or not
807
-
808
- #### `table` (object)
809
-
810
- Properties of the `table` object:
811
-
812
- ##### `disabled` (boolean)
813
-
814
- Indicates if the plugin is disabled or not
815
-
816
- #### `ul_list` (object)
817
-
818
- Properties of the `ul_list` object:
819
-
820
- ##### `disabled` (boolean)
821
-
822
- Indicates if the plugin is disabled or not
823
-
824
- #### `underline` (object)
825
-
826
- Properties of the `underline` object:
827
-
828
- ##### `disabled` (boolean)
829
-
830
- Indicates if the plugin is disabled or not
831
-
832
- #### `undo` (object)
833
-
834
- Properties of the `undo` object:
835
-
836
- ##### `disabled` (boolean)
837
-
838
- Indicates if the plugin is disabled or not
839
-
840
- ### `settings` (boolean)
841
-
842
- Indicates if the item has to be displayed in the Settings Panel
843
-
844
- ### `label` (string)
845
-
846
- Indicates the label for the item that has to be displayed in the Settings Panel
847
-
848
- ## `NumberLineDimensions` (object)
849
-
850
- Properties of the `NumberLineDimensions` object:
851
-
852
- ### `settings` (boolean, required)
853
-
854
- ### `label` (string, required)
855
-
856
- ### `enabled` (boolean, required)
857
-
858
- ### `min` (number, required)
859
-
860
- ### `max` (number, required)
861
-
862
- ### `step` (number, required)
863
-
864
- ## `ConfigureProp` (object)
865
-
866
- Properties of the `ConfigureProp` object:
867
-
868
- ### `settings` (boolean)
869
-
870
- Indicates if the item has to be displayed in the Settings Panel
871
-
872
- ### `label` (string)
873
-
874
- Indicates the label for the item that has to be displayed in the Settings Panel
875
-
876
- ## `ConfigureMathMLProp` (object)
877
-
878
- Properties of the `ConfigureMathMLProp` object:
879
-
880
- ### `mmlOutput` (number)
881
-
882
- Indicates if model should have mathML output instead of latex
883
-
884
- ### `mmlEditing` (number)
885
-
886
- Indicates if mathML that's already in model should be editable
887
-
888
- ## `ConfigureLanguageOptionsProp` (object)
889
-
890
- Properties of the `ConfigureLanguageOptionsProp` object:
891
-
892
- ### `value` (string, required)
893
-
894
- Value of the language option
895
-
896
- ### `label` (string, required)
897
-
898
- Label of the language option
899
-
900
- ## `ComplexFeedbackType` (object)
901
-
902
- Properties of the `ComplexFeedbackType` object:
903
-
904
- ### `correct` (, required)
905
-
906
- Indicates the configuration for feedback when answer is correct
907
-
908
- ### `incorrect` (, required)
909
-
910
- Indicates the configuration for feedback when answer is incorrect
911
-
912
- ### `partial`
913
-
914
- Indicates the configuration for feedback when answer is partially correct
915
-
916
- ## `DefaultFeedbackType` (object)
917
-
918
- Properties of the `DefaultFeedbackType` object:
919
-
920
- ### `type` (string, enum, required)
921
-
922
- Indicates the feedback type
923
-
924
- This element must be one of the following enum values:
925
-
926
- * `default`
927
- * `none`
928
-
929
- ### `default` (string)
930
-
931
- Indicates the feedback value
932
-
933
- ## `CustomFeedbackType` (object)
934
-
935
- Properties of the `CustomFeedbackType` object:
936
-
937
- ### `type` (string, enum, required)
938
-
939
- Indicates the feedback type
940
-
941
- This element must be one of the following enum values:
942
-
943
- * `custom`
944
-
945
- ### `custom` (string, required)
946
-
947
- Indicates the feedback custom value
948
-
949
- ## `ResponsePoint` (object)
950
-
951
- Properties of the `ResponsePoint` object:
952
-
953
- ### `pointType` (string, enum, required)
954
-
955
- Indicates point type
956
-
957
- This element must be one of the following enum values:
958
-
959
- * `empty`
960
- * `full`
961
-
962
- ### `type` (string, enum, required)
963
-
964
- Indicates the response type
965
-
966
- This element must be one of the following enum values:
967
-
968
- * `line`
969
- * `point`
970
- * `ray`
971
-
972
- ### `domainPosition` (number, required)
973
-
974
- Indicates response domain position
975
-
976
- ## `ResponseLine` (object)
977
-
978
- Properties of the `ResponseLine` object:
979
-
980
- ### `leftPoint` (string, enum, required)
981
-
982
- Indicates left point (left limit for the line) type
983
-
984
- This element must be one of the following enum values:
985
-
986
- * `empty`
987
- * `full`
988
-
989
- ### `rightPoint` (string, enum, required)
990
-
991
- Indicates right point (left limit for the line) type
992
-
993
- This element must be one of the following enum values:
994
-
995
- * `empty`
996
- * `full`
997
-
998
- ### `size` (number, required)
999
-
1000
- Indicates line size
1001
-
1002
- ### `type` (string, enum, required)
1003
-
1004
- Indicates the response type
1005
-
1006
- This element must be one of the following enum values:
1007
-
1008
- * `line`
1009
- * `point`
1010
- * `ray`
1011
-
1012
- ### `domainPosition` (number, required)
1013
-
1014
- Indicates response domain position
1015
-
1016
- ## `ResponseRay` (object)
1017
-
1018
- Properties of the `ResponseRay` object:
1019
-
1020
- ### `pointType` (string, enum, required)
1021
-
1022
- Indicates point type
1023
-
1024
- This element must be one of the following enum values:
1025
-
1026
- * `empty`
1027
- * `full`
1028
-
1029
- ### `direction` (string, enum, required)
1030
-
1031
- Indicates ray direction
1032
-
1033
- This element must be one of the following enum values:
1034
-
1035
- * `negative`
1036
- * `positive`
1037
-
1038
- ### `type` (string, enum, required)
1039
-
1040
- Indicates the response type
1041
-
1042
- This element must be one of the following enum values:
1043
-
1044
- * `line`
1045
- * `point`
1046
- * `ray`
1047
-
1048
- ### `domainPosition` (number, required)
1049
-
1050
- Indicates response domain position
1051
-
1052
- ## `NumberLineDomainConfiguration` (object)
1053
-
1054
- Properties of the `NumberLineDomainConfiguration` object:
1055
-
1056
- ### `arrows` (object, required)
1057
-
1058
- Properties of the `arrows` object:
1059
-
1060
- #### `left` (boolean, required)
1061
-
1062
- #### `right` (boolean, required)
1063
-
1064
- ### `width` (number, required)
1065
-
1066
- Indicates domain representation width
1067
-
1068
- ### `domain` (object, required)
1069
-
1070
- Properties of the `domain` object:
1071
-
1072
- #### `min` (number, required)
1073
-
1074
- #### `max` (number, required)
1075
-
1076
- ### `maxNumberOfPoints` (number, required)
1077
-
1078
- Indicates the maximum number of correct response values
1079
-
1080
- ### `tick` (object, required)
1081
-
1082
- Properties of the `tick` object:
1083
-
1084
- #### `minor` (number, required)
1085
-
1086
- smallest tick - These ticks don't have labels.
1087
-
1088
- #### `major` (number, required)
1089
-
1090
- larger tick - These ticks have labels.
1091
-
1092
- #### `tickIntervalType` (string, required)
1093
-
1094
- Contains tick interval type Integer, Fraction, Decimal
1095
-
1096
- #### `integerTick` (number, required)
1097
-
1098
- Integer representation of minor.
1099
-
1100
- #### `decimalTick` (number, required)
1101
-
1102
- Decimal representation of minor.
1103
-
1104
- #### `fractionTick` (string, required)
1105
-
1106
- Fraction representation of minor.
1107
-
1108
- ### `title` (string)
1109
-
1110
- the title under the graph
1111
-
1112
- ### `exhibitOnly` (boolean, required)
1113
-
1114
- Indicates if the exhibit mode is enabled
1115
-
1116
- ### `initialType` (string, enum, required)
1117
-
1118
- Indicates the initial type of response
1119
-
1120
- This element must be one of the following enum values:
1121
-
1122
- * `LEE`
1123
- * `LEF`
1124
- * `LFE`
1125
- * `LFF`
1126
- * `PF`
1127
- * `REN`
1128
- * `REP`
1129
- * `RFN`
1130
- * `RFP`
1131
-
1132
- ### `availableTypes` (object, required)
1133
-
1134
- Indicates the available types of responses
1135
-
1136
- Properties of the `availableTypes` object:
1137
-
1138
- #### `PF` (boolean, required)
1139
-
1140
- Indicates if full point is available
1141
-
1142
- #### `LFF` (boolean, required)
1143
-
1144
- Indicates if line with full left & right point is available
1145
-
1146
- #### `LEF` (boolean, required)
1147
-
1148
- Indicates if line with empty left & full right point is available
1149
-
1150
- #### `LFE` (boolean, required)
1151
-
1152
- Indicates if line with full left & empty right point is available
1153
-
1154
- #### `LEE` (boolean, required)
1155
-
1156
- Indicates if line with empty left & right point is available
1157
-
1158
- #### `RFN` (boolean, required)
1159
-
1160
- Indicates if ray with full point and negative direction is available
1161
-
1162
- #### `REN` (boolean, required)
1163
-
1164
- Indicates if ray with empty point and negative direction is available
1165
-
1166
- #### `RFP` (boolean, required)
1167
-
1168
- Indicates if ray with full point and positive direction is available
1169
-
1170
- #### `REP` (boolean, required)
1171
-
1172
- Indicates if ray with empty point and positive direction is available
1173
-
1174
- ### `widthEnabled` (boolean, required)
1175
-
1176
- If enabled, allows user to set width for number line.
1177
-
1178
- ### `initialElements` (object, required)
1179
-
1180
- Array that returns responses
1181
-
1182
- ### `labelStep` (string, required)
1183
-
1184
- Indicates the fractional step between 2 labeled ticks
1185
-
1186
- ## `Arrows` (object)
1187
-
1188
- Properties of the `Arrows` object:
1189
-
1190
- ### `left` (boolean, required)
1191
-
1192
- ### `right` (boolean, required)
1193
-
1194
- ## `Domain` (object)
1195
-
1196
- Properties of the `Domain` object:
1197
-
1198
- ### `min` (number, required)
1199
-
1200
- ### `max` (number, required)
1201
-
1202
- ## `Ticks` (object)
1203
-
1204
- Properties of the `Ticks` object:
1205
-
1206
- ### `minor` (number, required)
1207
-
1208
- smallest tick - These ticks don't have labels.
1209
-
1210
- ### `major` (number, required)
1211
-
1212
- larger tick - These ticks have labels.
1213
-
1214
- ### `tickIntervalType` (string, required)
1215
-
1216
- Contains tick interval type Integer, Fraction, Decimal
1217
-
1218
- ### `integerTick` (number, required)
1219
-
1220
- Integer representation of minor.
1221
-
1222
- ### `decimalTick` (number, required)
1223
-
1224
- Decimal representation of minor.
1225
-
1226
- ### `fractionTick` (string, required)
1227
-
1228
- Fraction representation of minor.