@pie-element/extended-text-entry 10.12.4 → 10.13.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.
- package/CHANGELOG.md +19 -0
- package/configure/CHANGELOG.md +8 -0
- package/configure/lib/defaults.js +6 -1
- package/configure/lib/defaults.js.map +1 -1
- package/configure/lib/index.js.map +1 -1
- package/configure/lib/main.js +3 -0
- package/configure/lib/main.js.map +1 -1
- package/configure/package.json +1 -1
- package/controller/CHANGELOG.md +11 -0
- package/controller/lib/defaults.js +73 -1
- package/controller/lib/defaults.js.map +1 -1
- package/controller/lib/index.js +9 -11
- package/controller/lib/index.js.map +1 -1
- package/controller/package.json +1 -1
- package/docs/config-schema.json +16 -0
- package/docs/config-schema.json.md +12 -0
- package/docs/demo/generate.js +1 -0
- package/docs/pie-schema.json +70 -0
- package/docs/pie-schema.json.md +51 -1
- package/lib/annotation/annotation-editor.js +703 -0
- package/lib/annotation/annotation-editor.js.map +1 -0
- package/lib/annotation/annotation-menu.js +206 -0
- package/lib/annotation/annotation-menu.js.map +1 -0
- package/lib/annotation/annotation-utils.js +249 -0
- package/lib/annotation/annotation-utils.js.map +1 -0
- package/lib/annotation/freeform-editor.js +266 -0
- package/lib/annotation/freeform-editor.js.map +1 -0
- package/lib/index.js +23 -6
- package/lib/index.js.map +1 -1
- package/lib/main.js +49 -19
- package/lib/main.js.map +1 -1
- package/module/configure.js +19 -13
- package/module/controller.js +33 -14
- package/module/demo.js +1 -0
- package/module/element.js +7601 -506
- package/module/index.html +1 -1
- package/module/manifest.json +1 -1
- package/module/print-demo.js +1 -0
- package/module/print.html +1 -1
- package/module/print.js +7585 -503
- package/package.json +2 -2
package/docs/pie-schema.json.md
CHANGED
|
@@ -84,6 +84,10 @@ Indicates student instructions
|
|
|
84
84
|
|
|
85
85
|
Indicates teacher instructions
|
|
86
86
|
|
|
87
|
+
# `annotationsEnabled` (boolean)
|
|
88
|
+
|
|
89
|
+
Indicates if the annotations are enabled
|
|
90
|
+
|
|
87
91
|
# `feedbackEnabled` (boolean, required)
|
|
88
92
|
|
|
89
93
|
Indicates if Feedback is enabled
|
|
@@ -115,6 +119,31 @@ This element must be one of the following enum values:
|
|
|
115
119
|
* `bottom`
|
|
116
120
|
* `top`
|
|
117
121
|
|
|
122
|
+
# `predefinedAnnotations` (array)
|
|
123
|
+
|
|
124
|
+
Indicates the predefined annotations for the annotation menu
|
|
125
|
+
|
|
126
|
+
The object is an array with all elements of the type `object`.
|
|
127
|
+
|
|
128
|
+
The array object has the following properties:
|
|
129
|
+
|
|
130
|
+
## `label` (string, required)
|
|
131
|
+
|
|
132
|
+
Indicates the value displayed in the annotation button
|
|
133
|
+
|
|
134
|
+
## `text` (string, required)
|
|
135
|
+
|
|
136
|
+
Indicates the annotation value
|
|
137
|
+
|
|
138
|
+
## `type` (string, enum, required)
|
|
139
|
+
|
|
140
|
+
Indicates the type of the annotation
|
|
141
|
+
|
|
142
|
+
This element must be one of the following enum values:
|
|
143
|
+
|
|
144
|
+
* `negative`
|
|
145
|
+
* `positive`
|
|
146
|
+
|
|
118
147
|
# `playersToolbarPosition` (string, enum)
|
|
119
148
|
|
|
120
149
|
Indicates the editor's toolbar position for the player, which can be 'bottom' or 'top'
|
|
@@ -424,4 +453,25 @@ This element must be one of the following enum values:
|
|
|
424
453
|
|
|
425
454
|
### `default` (string)
|
|
426
455
|
|
|
427
|
-
Indicates the feedback value
|
|
456
|
+
Indicates the feedback value
|
|
457
|
+
|
|
458
|
+
## `PredefinedAnnotation` (object)
|
|
459
|
+
|
|
460
|
+
Properties of the `PredefinedAnnotation` object:
|
|
461
|
+
|
|
462
|
+
### `label` (string, required)
|
|
463
|
+
|
|
464
|
+
Indicates the value displayed in the annotation button
|
|
465
|
+
|
|
466
|
+
### `text` (string, required)
|
|
467
|
+
|
|
468
|
+
Indicates the annotation value
|
|
469
|
+
|
|
470
|
+
### `type` (string, enum, required)
|
|
471
|
+
|
|
472
|
+
Indicates the type of the annotation
|
|
473
|
+
|
|
474
|
+
This element must be one of the following enum values:
|
|
475
|
+
|
|
476
|
+
* `negative`
|
|
477
|
+
* `positive`
|