@pie-element/categorize 13.1.0-next.28 → 13.1.1-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.
- package/dist/author/defaults.d.ts +223 -0
- package/dist/author/defaults.js +170 -0
- package/dist/author/design/builder.d.ts +10 -0
- package/dist/author/design/builder.js +24 -0
- package/dist/author/design/buttons.d.ts +28 -0
- package/dist/author/design/buttons.js +36 -0
- package/dist/author/design/categories/RowLabel.d.ts +23 -0
- package/dist/author/design/categories/RowLabel.js +47 -0
- package/dist/author/design/categories/alternateResponses.d.ts +31 -0
- package/dist/author/design/categories/alternateResponses.js +62 -0
- package/dist/author/design/categories/category.d.ts +44 -0
- package/dist/author/design/categories/category.js +98 -0
- package/dist/author/design/categories/choice-preview.d.ts +25 -0
- package/dist/author/design/categories/choice-preview.js +60 -0
- package/dist/author/design/categories/droppable-placeholder.d.ts +11 -0
- package/dist/author/design/categories/droppable-placeholder.js +71 -0
- package/dist/author/design/categories/index.d.ts +41 -0
- package/dist/author/design/categories/index.js +146 -0
- package/dist/author/design/choices/choice.d.ts +11 -0
- package/dist/author/design/choices/choice.js +129 -0
- package/dist/author/design/choices/config.d.ts +21 -0
- package/dist/author/design/choices/config.js +33 -0
- package/dist/author/design/choices/index.d.ts +41 -0
- package/dist/author/design/choices/index.js +110 -0
- package/dist/author/design/header.d.ts +24 -0
- package/dist/author/design/header.js +49 -0
- package/dist/author/design/index.d.ts +52 -0
- package/dist/author/design/index.js +417 -0
- package/dist/author/design/input-header.d.ts +39 -0
- package/dist/author/design/input-header.js +69 -0
- package/dist/author/design/utils.d.ts +9 -0
- package/dist/author/design/utils.js +7 -0
- package/dist/author/index.d.ts +51 -0
- package/dist/author/index.js +87 -0
- package/dist/author/main.d.ts +23 -0
- package/dist/author/main.js +30 -0
- package/dist/author/utils.d.ts +16 -0
- package/dist/author/utils.js +17 -0
- package/dist/controller/defaults.d.ts +34 -0
- package/dist/controller/defaults.js +29 -0
- package/dist/controller/index.d.ts +61 -0
- package/dist/controller/index.js +155 -0
- package/dist/controller/utils.d.ts +20 -0
- package/dist/controller/utils.js +35 -0
- package/dist/delivery/categorize/categories.d.ts +34 -0
- package/dist/delivery/categorize/categories.js +66 -0
- package/dist/delivery/categorize/category.d.ts +28 -0
- package/dist/delivery/categorize/category.js +48 -0
- package/dist/delivery/categorize/choice.d.ts +27 -0
- package/dist/delivery/categorize/choice.js +94 -0
- package/dist/delivery/categorize/choices.d.ts +39 -0
- package/dist/delivery/categorize/choices.js +51 -0
- package/dist/delivery/categorize/droppable-placeholder.d.ts +32 -0
- package/dist/delivery/categorize/droppable-placeholder.js +64 -0
- package/dist/delivery/categorize/grid-content.d.ts +25 -0
- package/dist/delivery/categorize/grid-content.js +39 -0
- package/dist/delivery/categorize/index.d.ts +57 -0
- package/dist/delivery/categorize/index.js +260 -0
- package/dist/delivery/index.d.ts +27 -0
- package/dist/delivery/index.js +152 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.iife.d.ts +8 -0
- package/dist/index.iife.js +152 -0
- package/dist/index.js +2 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +14 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +15 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +12 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +57 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +14 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +12 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +14 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +4 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +14 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +23 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +33 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +15 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +4 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +21 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +6 -0
- package/package.json +52 -16
- package/CHANGELOG.json +0 -1637
- package/CHANGELOG.md +0 -2524
- package/LICENSE.md +0 -5
- package/README.md +0 -5
- package/configure/CHANGELOG.json +0 -1202
- package/configure/CHANGELOG.md +0 -2107
- package/configure/lib/defaults.js +0 -222
- package/configure/lib/defaults.js.map +0 -1
- package/configure/lib/design/builder.js +0 -55
- package/configure/lib/design/builder.js.map +0 -1
- package/configure/lib/design/buttons.js +0 -59
- package/configure/lib/design/buttons.js.map +0 -1
- package/configure/lib/design/categories/RowLabel.js +0 -66
- package/configure/lib/design/categories/RowLabel.js.map +0 -1
- package/configure/lib/design/categories/alternateResponses.js +0 -116
- package/configure/lib/design/categories/alternateResponses.js.map +0 -1
- package/configure/lib/design/categories/category.js +0 -153
- package/configure/lib/design/categories/category.js.map +0 -1
- package/configure/lib/design/categories/choice-preview.js +0 -79
- package/configure/lib/design/categories/choice-preview.js.map +0 -1
- package/configure/lib/design/categories/droppable-placeholder.js +0 -93
- package/configure/lib/design/categories/droppable-placeholder.js.map +0 -1
- package/configure/lib/design/categories/index.js +0 -256
- package/configure/lib/design/categories/index.js.map +0 -1
- package/configure/lib/design/choices/choice.js +0 -187
- package/configure/lib/design/choices/choice.js.map +0 -1
- package/configure/lib/design/choices/config.js +0 -58
- package/configure/lib/design/choices/config.js.map +0 -1
- package/configure/lib/design/choices/index.js +0 -197
- package/configure/lib/design/choices/index.js.map +0 -1
- package/configure/lib/design/header.js +0 -71
- package/configure/lib/design/header.js.map +0 -1
- package/configure/lib/design/index.js +0 -727
- package/configure/lib/design/index.js.map +0 -1
- package/configure/lib/design/input-header.js +0 -105
- package/configure/lib/design/input-header.js.map +0 -1
- package/configure/lib/design/utils.js +0 -12
- package/configure/lib/design/utils.js.map +0 -1
- package/configure/lib/index.js +0 -147
- package/configure/lib/index.js.map +0 -1
- package/configure/lib/main.js +0 -44
- package/configure/lib/main.js.map +0 -1
- package/configure/lib/utils.js +0 -43
- package/configure/lib/utils.js.map +0 -1
- package/configure/package.json +0 -32
- package/controller/CHANGELOG.json +0 -452
- package/controller/CHANGELOG.md +0 -1366
- package/controller/lib/defaults.js +0 -33
- package/controller/lib/defaults.js.map +0 -1
- package/controller/lib/index.js +0 -479
- package/controller/lib/index.js.map +0 -1
- package/controller/lib/utils.js +0 -69
- package/controller/lib/utils.js.map +0 -1
- package/controller/package.json +0 -18
- package/docs/config-schema.json +0 -2897
- package/docs/config-schema.json.md +0 -2138
- package/docs/demo/config.js +0 -8
- package/docs/demo/generate.js +0 -357
- package/docs/demo/index.html +0 -1
- package/docs/demo/session.js +0 -12
- package/docs/pie-schema.json +0 -1784
- package/docs/pie-schema.json.md +0 -1046
- package/lib/categorize/categories.js +0 -135
- package/lib/categorize/categories.js.map +0 -1
- package/lib/categorize/category.js +0 -67
- package/lib/categorize/category.js.map +0 -1
- package/lib/categorize/choice.js +0 -140
- package/lib/categorize/choice.js.map +0 -1
- package/lib/categorize/choices.js +0 -99
- package/lib/categorize/choices.js.map +0 -1
- package/lib/categorize/droppable-placeholder.js +0 -84
- package/lib/categorize/droppable-placeholder.js.map +0 -1
- package/lib/categorize/grid-content.js +0 -55
- package/lib/categorize/grid-content.js.map +0 -1
- package/lib/categorize/index.js +0 -450
- package/lib/categorize/index.js.map +0 -1
- package/lib/index.js +0 -316
- package/lib/index.js.map +0 -1
package/docs/pie-schema.json.md
DELETED
|
@@ -1,1046 +0,0 @@
|
|
|
1
|
-
Pie Model Object for @pie-elements/categorize
|
|
2
|
-
|
|
3
|
-
The schema defines the following properties:
|
|
4
|
-
|
|
5
|
-
# `allowMaxChoicesPerCategory` (boolean, required)
|
|
6
|
-
|
|
7
|
-
Indicates if author has the possibility to set maxChoicesPerCategory
|
|
8
|
-
|
|
9
|
-
# `choices` (array, required)
|
|
10
|
-
|
|
11
|
-
The available choices
|
|
12
|
-
|
|
13
|
-
The object is an array with all elements of the type `object`.
|
|
14
|
-
|
|
15
|
-
The array object has the following properties:
|
|
16
|
-
|
|
17
|
-
## `id` (string, required)
|
|
18
|
-
|
|
19
|
-
Identifier for the choice
|
|
20
|
-
|
|
21
|
-
## `content` (string, required)
|
|
22
|
-
|
|
23
|
-
The xhtml content for the choice
|
|
24
|
-
|
|
25
|
-
## `categoryCount` (string,number)
|
|
26
|
-
|
|
27
|
-
## `correctResponseCount` (string,number)
|
|
28
|
-
|
|
29
|
-
# `categoriesPerRow` (number)
|
|
30
|
-
|
|
31
|
-
The number of columns in which to present the categories
|
|
32
|
-
|
|
33
|
-
Default: `2`
|
|
34
|
-
|
|
35
|
-
# `choicesPosition` (string, enum)
|
|
36
|
-
|
|
37
|
-
This element must be one of the following enum values:
|
|
38
|
-
|
|
39
|
-
* `above`
|
|
40
|
-
* `below`
|
|
41
|
-
* `left`
|
|
42
|
-
* `right`
|
|
43
|
-
|
|
44
|
-
# `choicesLabel` (string)
|
|
45
|
-
|
|
46
|
-
Label to be displayed for the choices
|
|
47
|
-
|
|
48
|
-
# `lockChoiceOrder` (boolean)
|
|
49
|
-
|
|
50
|
-
Should the choices be shuffled or not
|
|
51
|
-
|
|
52
|
-
# `prompt` (string, required)
|
|
53
|
-
|
|
54
|
-
The question prompt or item stem
|
|
55
|
-
|
|
56
|
-
# `promptEnabled` (boolean)
|
|
57
|
-
|
|
58
|
-
Indicates if the prompt is enabled
|
|
59
|
-
|
|
60
|
-
# `categories` (array, required)
|
|
61
|
-
|
|
62
|
-
The categories in which choices may be placed
|
|
63
|
-
|
|
64
|
-
The object is an array with all elements of the type `object`.
|
|
65
|
-
|
|
66
|
-
The array object has the following properties:
|
|
67
|
-
|
|
68
|
-
## `id` (string, required)
|
|
69
|
-
|
|
70
|
-
Identifier for the category
|
|
71
|
-
|
|
72
|
-
## `label` (string, required)
|
|
73
|
-
|
|
74
|
-
The label to display with the category.
|
|
75
|
-
|
|
76
|
-
## `choices` (array, required)
|
|
77
|
-
|
|
78
|
-
The choices presented in this category
|
|
79
|
-
|
|
80
|
-
The object is an array with all elements of the type `object`.
|
|
81
|
-
|
|
82
|
-
The array object has the following properties:
|
|
83
|
-
|
|
84
|
-
### `id` (string, required)
|
|
85
|
-
|
|
86
|
-
Identifier for the choice
|
|
87
|
-
|
|
88
|
-
### `content` (string, required)
|
|
89
|
-
|
|
90
|
-
The xhtml content for the choice
|
|
91
|
-
|
|
92
|
-
### `categoryCount` (string,number)
|
|
93
|
-
|
|
94
|
-
### `correctResponseCount` (string,number)
|
|
95
|
-
|
|
96
|
-
# `correctResponse` (array)
|
|
97
|
-
|
|
98
|
-
The defintion of the correct response to the question
|
|
99
|
-
|
|
100
|
-
The object is an array with all elements of the type `object`.
|
|
101
|
-
|
|
102
|
-
The array object has the following properties:
|
|
103
|
-
|
|
104
|
-
## `category` (string, required)
|
|
105
|
-
|
|
106
|
-
The identifier for the category
|
|
107
|
-
|
|
108
|
-
## `choices` (array, required)
|
|
109
|
-
|
|
110
|
-
Array of identifiers for the choices that belong in this category
|
|
111
|
-
|
|
112
|
-
The object is an array with all elements of the type `string`.
|
|
113
|
-
|
|
114
|
-
## `alternateResponses` (array)
|
|
115
|
-
|
|
116
|
-
Array of alternatives correct choices
|
|
117
|
-
|
|
118
|
-
The object is an array with all elements of the type `array`.
|
|
119
|
-
|
|
120
|
-
# `feedback` (object)
|
|
121
|
-
|
|
122
|
-
Properties of the `feedback` object:
|
|
123
|
-
|
|
124
|
-
## `correct` (, required)
|
|
125
|
-
|
|
126
|
-
Indicates the configuration for feedback when answer is correct
|
|
127
|
-
|
|
128
|
-
## `incorrect` (, required)
|
|
129
|
-
|
|
130
|
-
Indicates the configuration for feedback when answer is incorrect
|
|
131
|
-
|
|
132
|
-
## `partial`
|
|
133
|
-
|
|
134
|
-
Indicates the configuration for feedback when answer is partially correct
|
|
135
|
-
|
|
136
|
-
# `maxChoicesPerCategory` (number, required)
|
|
137
|
-
|
|
138
|
-
Indicates the maximum number of choices from a category
|
|
139
|
-
|
|
140
|
-
# `rationale` (string)
|
|
141
|
-
|
|
142
|
-
Indicates the value for rationale
|
|
143
|
-
|
|
144
|
-
# `partialScoring` (boolean)
|
|
145
|
-
|
|
146
|
-
Indicates if partial scoring is enabled
|
|
147
|
-
|
|
148
|
-
# `feedbackEnabled` (boolean, required)
|
|
149
|
-
|
|
150
|
-
Indicates if Feedback is enabled
|
|
151
|
-
|
|
152
|
-
# `rationaleEnabled` (boolean, required)
|
|
153
|
-
|
|
154
|
-
Indicates if Rationale are enabled
|
|
155
|
-
|
|
156
|
-
# `spellCheckEnabled` (boolean, required)
|
|
157
|
-
|
|
158
|
-
Indicates if spellcheck is enabled for the author. Default value is true
|
|
159
|
-
|
|
160
|
-
# `studentInstructionsEnabled` (boolean, required)
|
|
161
|
-
|
|
162
|
-
Indicates if Student Instructions are enabled
|
|
163
|
-
|
|
164
|
-
# `teacherInstructionsEnabled` (boolean, required)
|
|
165
|
-
|
|
166
|
-
Indicates if Teacher Instructions are enabled
|
|
167
|
-
|
|
168
|
-
# `note` (string)
|
|
169
|
-
|
|
170
|
-
Indicates the note for the answer
|
|
171
|
-
|
|
172
|
-
# `toolbarEditorPosition` (string, enum)
|
|
173
|
-
|
|
174
|
-
Indicates the editor's toolbar position which can be 'bottom' or 'top'
|
|
175
|
-
|
|
176
|
-
This element must be one of the following enum values:
|
|
177
|
-
|
|
178
|
-
* `bottom`
|
|
179
|
-
* `top`
|
|
180
|
-
|
|
181
|
-
Default: `": 'bottom'"`
|
|
182
|
-
|
|
183
|
-
# `rubricEnabled` (boolean, required)
|
|
184
|
-
|
|
185
|
-
Indicates if Rubric is enabled
|
|
186
|
-
|
|
187
|
-
# `language` (string)
|
|
188
|
-
|
|
189
|
-
Indicates the language of the component
|
|
190
|
-
Supported options: en, es, en_US, en-US, es_ES, es-ES, es_MX, es-MX
|
|
191
|
-
|
|
192
|
-
# `maxAnswerChoices` (number)
|
|
193
|
-
|
|
194
|
-
Maximum number of choices
|
|
195
|
-
|
|
196
|
-
# `fontSizeFactor` (number)
|
|
197
|
-
|
|
198
|
-
Indicates font size adjustment factor
|
|
199
|
-
|
|
200
|
-
# `autoplayAudioEnabled` (boolean)
|
|
201
|
-
|
|
202
|
-
Indicates if the audio for the prompt should autoplay
|
|
203
|
-
|
|
204
|
-
# `completeAudioEnabled` (boolean)
|
|
205
|
-
|
|
206
|
-
Indicates if the audio should reach the end before the item can be marked as 'complete'
|
|
207
|
-
|
|
208
|
-
# `customAudioButton` (object)
|
|
209
|
-
|
|
210
|
-
Indicates if the audio should be replaced with a custom audio button
|
|
211
|
-
playImage: image url for the play state
|
|
212
|
-
pauseImage: image url for the pause state
|
|
213
|
-
|
|
214
|
-
Properties of the `customAudioButton` object:
|
|
215
|
-
|
|
216
|
-
## `playImage` (string, required)
|
|
217
|
-
|
|
218
|
-
## `pauseImage` (string, required)
|
|
219
|
-
|
|
220
|
-
# `id` (string, required)
|
|
221
|
-
|
|
222
|
-
Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.
|
|
223
|
-
|
|
224
|
-
# `element` (string, required)
|
|
225
|
-
|
|
226
|
-
The html Element tag name
|
|
227
|
-
|
|
228
|
-
---
|
|
229
|
-
|
|
230
|
-
# Sub Schemas
|
|
231
|
-
|
|
232
|
-
The schema defines the following additional types:
|
|
233
|
-
|
|
234
|
-
## `EditableHtmlConfigureProp` (object)
|
|
235
|
-
|
|
236
|
-
Properties of the `EditableHtmlConfigureProp` object:
|
|
237
|
-
|
|
238
|
-
### `math` (object)
|
|
239
|
-
|
|
240
|
-
Properties of the `math` object:
|
|
241
|
-
|
|
242
|
-
#### `disabled` (boolean)
|
|
243
|
-
|
|
244
|
-
Indicates if the plugin is disabled or not
|
|
245
|
-
|
|
246
|
-
### `audio` (object)
|
|
247
|
-
|
|
248
|
-
Properties of the `audio` object:
|
|
249
|
-
|
|
250
|
-
#### `disabled` (boolean)
|
|
251
|
-
|
|
252
|
-
Indicates if the plugin is disabled or not
|
|
253
|
-
|
|
254
|
-
### `video` (object)
|
|
255
|
-
|
|
256
|
-
Properties of the `video` object:
|
|
257
|
-
|
|
258
|
-
#### `disabled` (boolean)
|
|
259
|
-
|
|
260
|
-
Indicates if the plugin is disabled or not
|
|
261
|
-
|
|
262
|
-
### `image` (object)
|
|
263
|
-
|
|
264
|
-
Properties of the `image` object:
|
|
265
|
-
|
|
266
|
-
#### `disabled` (boolean)
|
|
267
|
-
|
|
268
|
-
Indicates if the plugin is disabled or not
|
|
269
|
-
|
|
270
|
-
### `customPlugins` (array)
|
|
271
|
-
|
|
272
|
-
An array of objects that determine custom plugins.
|
|
273
|
-
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).
|
|
274
|
-
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
275
|
-
|
|
276
|
-
The object is an array with all elements of the type `object`.
|
|
277
|
-
|
|
278
|
-
The array object has the following properties:
|
|
279
|
-
|
|
280
|
-
#### `event` (string, required)
|
|
281
|
-
|
|
282
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
283
|
-
PIE will emit the event prefixed with "PIE-".
|
|
284
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
285
|
-
|
|
286
|
-
#### `iconAlt` (string, required)
|
|
287
|
-
|
|
288
|
-
The alt for the custom button icon
|
|
289
|
-
|
|
290
|
-
#### `iconType` (string, required)
|
|
291
|
-
|
|
292
|
-
The icon type.
|
|
293
|
-
Currently, only "SVG" is supported.
|
|
294
|
-
|
|
295
|
-
#### `icon` (string, required)
|
|
296
|
-
|
|
297
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
298
|
-
|
|
299
|
-
### `blockquote` (object)
|
|
300
|
-
|
|
301
|
-
Properties of the `blockquote` object:
|
|
302
|
-
|
|
303
|
-
#### `disabled` (boolean)
|
|
304
|
-
|
|
305
|
-
Indicates if the plugin is disabled or not
|
|
306
|
-
|
|
307
|
-
### `h3` (object)
|
|
308
|
-
|
|
309
|
-
Properties of the `h3` object:
|
|
310
|
-
|
|
311
|
-
#### `disabled` (boolean)
|
|
312
|
-
|
|
313
|
-
Indicates if the plugin is disabled or not
|
|
314
|
-
|
|
315
|
-
### `characters` (object)
|
|
316
|
-
|
|
317
|
-
Properties of the `characters` object:
|
|
318
|
-
|
|
319
|
-
#### `disabled` (boolean)
|
|
320
|
-
|
|
321
|
-
Indicates if the plugin is disabled or not
|
|
322
|
-
|
|
323
|
-
### `bold` (object)
|
|
324
|
-
|
|
325
|
-
Properties of the `bold` object:
|
|
326
|
-
|
|
327
|
-
#### `disabled` (boolean)
|
|
328
|
-
|
|
329
|
-
Indicates if the plugin is disabled or not
|
|
330
|
-
|
|
331
|
-
### `html` (object)
|
|
332
|
-
|
|
333
|
-
Properties of the `html` object:
|
|
334
|
-
|
|
335
|
-
#### `disabled` (boolean)
|
|
336
|
-
|
|
337
|
-
Indicates if the plugin is disabled or not
|
|
338
|
-
|
|
339
|
-
### `italic` (object)
|
|
340
|
-
|
|
341
|
-
Properties of the `italic` object:
|
|
342
|
-
|
|
343
|
-
#### `disabled` (boolean)
|
|
344
|
-
|
|
345
|
-
Indicates if the plugin is disabled or not
|
|
346
|
-
|
|
347
|
-
### `ol_list` (object)
|
|
348
|
-
|
|
349
|
-
Properties of the `ol_list` object:
|
|
350
|
-
|
|
351
|
-
#### `disabled` (boolean)
|
|
352
|
-
|
|
353
|
-
Indicates if the plugin is disabled or not
|
|
354
|
-
|
|
355
|
-
### `redo` (object)
|
|
356
|
-
|
|
357
|
-
Properties of the `redo` object:
|
|
358
|
-
|
|
359
|
-
#### `disabled` (boolean)
|
|
360
|
-
|
|
361
|
-
Indicates if the plugin is disabled or not
|
|
362
|
-
|
|
363
|
-
### `strikethrough` (object)
|
|
364
|
-
|
|
365
|
-
Properties of the `strikethrough` object:
|
|
366
|
-
|
|
367
|
-
#### `disabled` (boolean)
|
|
368
|
-
|
|
369
|
-
Indicates if the plugin is disabled or not
|
|
370
|
-
|
|
371
|
-
### `sub` (object)
|
|
372
|
-
|
|
373
|
-
Properties of the `sub` object:
|
|
374
|
-
|
|
375
|
-
#### `disabled` (boolean)
|
|
376
|
-
|
|
377
|
-
Indicates if the plugin is disabled or not
|
|
378
|
-
|
|
379
|
-
### `sup` (object)
|
|
380
|
-
|
|
381
|
-
Properties of the `sup` object:
|
|
382
|
-
|
|
383
|
-
#### `disabled` (boolean)
|
|
384
|
-
|
|
385
|
-
Indicates if the plugin is disabled or not
|
|
386
|
-
|
|
387
|
-
### `table` (object)
|
|
388
|
-
|
|
389
|
-
Properties of the `table` object:
|
|
390
|
-
|
|
391
|
-
#### `disabled` (boolean)
|
|
392
|
-
|
|
393
|
-
Indicates if the plugin is disabled or not
|
|
394
|
-
|
|
395
|
-
### `ul_list` (object)
|
|
396
|
-
|
|
397
|
-
Properties of the `ul_list` object:
|
|
398
|
-
|
|
399
|
-
#### `disabled` (boolean)
|
|
400
|
-
|
|
401
|
-
Indicates if the plugin is disabled or not
|
|
402
|
-
|
|
403
|
-
### `underline` (object)
|
|
404
|
-
|
|
405
|
-
Properties of the `underline` object:
|
|
406
|
-
|
|
407
|
-
#### `disabled` (boolean)
|
|
408
|
-
|
|
409
|
-
Indicates if the plugin is disabled or not
|
|
410
|
-
|
|
411
|
-
### `undo` (object)
|
|
412
|
-
|
|
413
|
-
Properties of the `undo` object:
|
|
414
|
-
|
|
415
|
-
#### `disabled` (boolean)
|
|
416
|
-
|
|
417
|
-
Indicates if the plugin is disabled or not
|
|
418
|
-
|
|
419
|
-
## `EditableHtmlButtonConfigure` (object)
|
|
420
|
-
|
|
421
|
-
Properties of the `EditableHtmlButtonConfigure` object:
|
|
422
|
-
|
|
423
|
-
### `disabled` (boolean)
|
|
424
|
-
|
|
425
|
-
Indicates if the plugin is disabled or not
|
|
426
|
-
|
|
427
|
-
## `CustomPlugin` (object)
|
|
428
|
-
|
|
429
|
-
Properties of the `CustomPlugin` object:
|
|
430
|
-
|
|
431
|
-
### `event` (string, required)
|
|
432
|
-
|
|
433
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
434
|
-
PIE will emit the event prefixed with "PIE-".
|
|
435
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
436
|
-
|
|
437
|
-
### `iconAlt` (string, required)
|
|
438
|
-
|
|
439
|
-
The alt for the custom button icon
|
|
440
|
-
|
|
441
|
-
### `iconType` (string, required)
|
|
442
|
-
|
|
443
|
-
The icon type.
|
|
444
|
-
Currently, only "SVG" is supported.
|
|
445
|
-
|
|
446
|
-
### `icon` (string, required)
|
|
447
|
-
|
|
448
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
449
|
-
|
|
450
|
-
## `ConfigureProp` (object)
|
|
451
|
-
|
|
452
|
-
Properties of the `ConfigureProp` object:
|
|
453
|
-
|
|
454
|
-
### `settings` (boolean)
|
|
455
|
-
|
|
456
|
-
Indicates if the item has to be displayed in the Settings Panel
|
|
457
|
-
|
|
458
|
-
### `label` (string)
|
|
459
|
-
|
|
460
|
-
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
461
|
-
|
|
462
|
-
## `EditableHtmlPluginConfigureRequired` (object)
|
|
463
|
-
|
|
464
|
-
Properties of the `EditableHtmlPluginConfigureRequired` object:
|
|
465
|
-
|
|
466
|
-
### `inputConfiguration` (object)
|
|
467
|
-
|
|
468
|
-
Properties of the `inputConfiguration` object:
|
|
469
|
-
|
|
470
|
-
#### `math` (object)
|
|
471
|
-
|
|
472
|
-
Properties of the `math` object:
|
|
473
|
-
|
|
474
|
-
##### `disabled` (boolean)
|
|
475
|
-
|
|
476
|
-
Indicates if the plugin is disabled or not
|
|
477
|
-
|
|
478
|
-
#### `audio` (object)
|
|
479
|
-
|
|
480
|
-
Properties of the `audio` object:
|
|
481
|
-
|
|
482
|
-
##### `disabled` (boolean)
|
|
483
|
-
|
|
484
|
-
Indicates if the plugin is disabled or not
|
|
485
|
-
|
|
486
|
-
#### `video` (object)
|
|
487
|
-
|
|
488
|
-
Properties of the `video` object:
|
|
489
|
-
|
|
490
|
-
##### `disabled` (boolean)
|
|
491
|
-
|
|
492
|
-
Indicates if the plugin is disabled or not
|
|
493
|
-
|
|
494
|
-
#### `image` (object)
|
|
495
|
-
|
|
496
|
-
Properties of the `image` object:
|
|
497
|
-
|
|
498
|
-
##### `disabled` (boolean)
|
|
499
|
-
|
|
500
|
-
Indicates if the plugin is disabled or not
|
|
501
|
-
|
|
502
|
-
#### `customPlugins` (array)
|
|
503
|
-
|
|
504
|
-
An array of objects that determine custom plugins.
|
|
505
|
-
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).
|
|
506
|
-
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
507
|
-
|
|
508
|
-
The object is an array with all elements of the type `object`.
|
|
509
|
-
|
|
510
|
-
The array object has the following properties:
|
|
511
|
-
|
|
512
|
-
##### `event` (string, required)
|
|
513
|
-
|
|
514
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
515
|
-
PIE will emit the event prefixed with "PIE-".
|
|
516
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
517
|
-
|
|
518
|
-
##### `iconAlt` (string, required)
|
|
519
|
-
|
|
520
|
-
The alt for the custom button icon
|
|
521
|
-
|
|
522
|
-
##### `iconType` (string, required)
|
|
523
|
-
|
|
524
|
-
The icon type.
|
|
525
|
-
Currently, only "SVG" is supported.
|
|
526
|
-
|
|
527
|
-
##### `icon` (string, required)
|
|
528
|
-
|
|
529
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
530
|
-
|
|
531
|
-
#### `blockquote` (object)
|
|
532
|
-
|
|
533
|
-
Properties of the `blockquote` object:
|
|
534
|
-
|
|
535
|
-
##### `disabled` (boolean)
|
|
536
|
-
|
|
537
|
-
Indicates if the plugin is disabled or not
|
|
538
|
-
|
|
539
|
-
#### `h3` (object)
|
|
540
|
-
|
|
541
|
-
Properties of the `h3` object:
|
|
542
|
-
|
|
543
|
-
##### `disabled` (boolean)
|
|
544
|
-
|
|
545
|
-
Indicates if the plugin is disabled or not
|
|
546
|
-
|
|
547
|
-
#### `characters` (object)
|
|
548
|
-
|
|
549
|
-
Properties of the `characters` object:
|
|
550
|
-
|
|
551
|
-
##### `disabled` (boolean)
|
|
552
|
-
|
|
553
|
-
Indicates if the plugin is disabled or not
|
|
554
|
-
|
|
555
|
-
#### `bold` (object)
|
|
556
|
-
|
|
557
|
-
Properties of the `bold` object:
|
|
558
|
-
|
|
559
|
-
##### `disabled` (boolean)
|
|
560
|
-
|
|
561
|
-
Indicates if the plugin is disabled or not
|
|
562
|
-
|
|
563
|
-
#### `html` (object)
|
|
564
|
-
|
|
565
|
-
Properties of the `html` object:
|
|
566
|
-
|
|
567
|
-
##### `disabled` (boolean)
|
|
568
|
-
|
|
569
|
-
Indicates if the plugin is disabled or not
|
|
570
|
-
|
|
571
|
-
#### `italic` (object)
|
|
572
|
-
|
|
573
|
-
Properties of the `italic` object:
|
|
574
|
-
|
|
575
|
-
##### `disabled` (boolean)
|
|
576
|
-
|
|
577
|
-
Indicates if the plugin is disabled or not
|
|
578
|
-
|
|
579
|
-
#### `ol_list` (object)
|
|
580
|
-
|
|
581
|
-
Properties of the `ol_list` object:
|
|
582
|
-
|
|
583
|
-
##### `disabled` (boolean)
|
|
584
|
-
|
|
585
|
-
Indicates if the plugin is disabled or not
|
|
586
|
-
|
|
587
|
-
#### `redo` (object)
|
|
588
|
-
|
|
589
|
-
Properties of the `redo` object:
|
|
590
|
-
|
|
591
|
-
##### `disabled` (boolean)
|
|
592
|
-
|
|
593
|
-
Indicates if the plugin is disabled or not
|
|
594
|
-
|
|
595
|
-
#### `strikethrough` (object)
|
|
596
|
-
|
|
597
|
-
Properties of the `strikethrough` object:
|
|
598
|
-
|
|
599
|
-
##### `disabled` (boolean)
|
|
600
|
-
|
|
601
|
-
Indicates if the plugin is disabled or not
|
|
602
|
-
|
|
603
|
-
#### `sub` (object)
|
|
604
|
-
|
|
605
|
-
Properties of the `sub` object:
|
|
606
|
-
|
|
607
|
-
##### `disabled` (boolean)
|
|
608
|
-
|
|
609
|
-
Indicates if the plugin is disabled or not
|
|
610
|
-
|
|
611
|
-
#### `sup` (object)
|
|
612
|
-
|
|
613
|
-
Properties of the `sup` object:
|
|
614
|
-
|
|
615
|
-
##### `disabled` (boolean)
|
|
616
|
-
|
|
617
|
-
Indicates if the plugin is disabled or not
|
|
618
|
-
|
|
619
|
-
#### `table` (object)
|
|
620
|
-
|
|
621
|
-
Properties of the `table` object:
|
|
622
|
-
|
|
623
|
-
##### `disabled` (boolean)
|
|
624
|
-
|
|
625
|
-
Indicates if the plugin is disabled or not
|
|
626
|
-
|
|
627
|
-
#### `ul_list` (object)
|
|
628
|
-
|
|
629
|
-
Properties of the `ul_list` object:
|
|
630
|
-
|
|
631
|
-
##### `disabled` (boolean)
|
|
632
|
-
|
|
633
|
-
Indicates if the plugin is disabled or not
|
|
634
|
-
|
|
635
|
-
#### `underline` (object)
|
|
636
|
-
|
|
637
|
-
Properties of the `underline` object:
|
|
638
|
-
|
|
639
|
-
##### `disabled` (boolean)
|
|
640
|
-
|
|
641
|
-
Indicates if the plugin is disabled or not
|
|
642
|
-
|
|
643
|
-
#### `undo` (object)
|
|
644
|
-
|
|
645
|
-
Properties of the `undo` object:
|
|
646
|
-
|
|
647
|
-
##### `disabled` (boolean)
|
|
648
|
-
|
|
649
|
-
Indicates if the plugin is disabled or not
|
|
650
|
-
|
|
651
|
-
### `required` (boolean)
|
|
652
|
-
|
|
653
|
-
Indicates if the item is required and the value cannot be empty
|
|
654
|
-
|
|
655
|
-
### `settings` (boolean)
|
|
656
|
-
|
|
657
|
-
Indicates if the item has to be displayed in the Settings Panel
|
|
658
|
-
|
|
659
|
-
### `label` (string)
|
|
660
|
-
|
|
661
|
-
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
662
|
-
|
|
663
|
-
## `EditableHtmlPluginConfigure` (object)
|
|
664
|
-
|
|
665
|
-
Properties of the `EditableHtmlPluginConfigure` object:
|
|
666
|
-
|
|
667
|
-
### `inputConfiguration` (object)
|
|
668
|
-
|
|
669
|
-
Properties of the `inputConfiguration` object:
|
|
670
|
-
|
|
671
|
-
#### `math` (object)
|
|
672
|
-
|
|
673
|
-
Properties of the `math` object:
|
|
674
|
-
|
|
675
|
-
##### `disabled` (boolean)
|
|
676
|
-
|
|
677
|
-
Indicates if the plugin is disabled or not
|
|
678
|
-
|
|
679
|
-
#### `audio` (object)
|
|
680
|
-
|
|
681
|
-
Properties of the `audio` object:
|
|
682
|
-
|
|
683
|
-
##### `disabled` (boolean)
|
|
684
|
-
|
|
685
|
-
Indicates if the plugin is disabled or not
|
|
686
|
-
|
|
687
|
-
#### `video` (object)
|
|
688
|
-
|
|
689
|
-
Properties of the `video` object:
|
|
690
|
-
|
|
691
|
-
##### `disabled` (boolean)
|
|
692
|
-
|
|
693
|
-
Indicates if the plugin is disabled or not
|
|
694
|
-
|
|
695
|
-
#### `image` (object)
|
|
696
|
-
|
|
697
|
-
Properties of the `image` object:
|
|
698
|
-
|
|
699
|
-
##### `disabled` (boolean)
|
|
700
|
-
|
|
701
|
-
Indicates if the plugin is disabled or not
|
|
702
|
-
|
|
703
|
-
#### `customPlugins` (array)
|
|
704
|
-
|
|
705
|
-
An array of objects that determine custom plugins.
|
|
706
|
-
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).
|
|
707
|
-
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
708
|
-
|
|
709
|
-
The object is an array with all elements of the type `object`.
|
|
710
|
-
|
|
711
|
-
The array object has the following properties:
|
|
712
|
-
|
|
713
|
-
##### `event` (string, required)
|
|
714
|
-
|
|
715
|
-
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
716
|
-
PIE will emit the event prefixed with "PIE-".
|
|
717
|
-
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
718
|
-
|
|
719
|
-
##### `iconAlt` (string, required)
|
|
720
|
-
|
|
721
|
-
The alt for the custom button icon
|
|
722
|
-
|
|
723
|
-
##### `iconType` (string, required)
|
|
724
|
-
|
|
725
|
-
The icon type.
|
|
726
|
-
Currently, only "SVG" is supported.
|
|
727
|
-
|
|
728
|
-
##### `icon` (string, required)
|
|
729
|
-
|
|
730
|
-
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
731
|
-
|
|
732
|
-
#### `blockquote` (object)
|
|
733
|
-
|
|
734
|
-
Properties of the `blockquote` object:
|
|
735
|
-
|
|
736
|
-
##### `disabled` (boolean)
|
|
737
|
-
|
|
738
|
-
Indicates if the plugin is disabled or not
|
|
739
|
-
|
|
740
|
-
#### `h3` (object)
|
|
741
|
-
|
|
742
|
-
Properties of the `h3` object:
|
|
743
|
-
|
|
744
|
-
##### `disabled` (boolean)
|
|
745
|
-
|
|
746
|
-
Indicates if the plugin is disabled or not
|
|
747
|
-
|
|
748
|
-
#### `characters` (object)
|
|
749
|
-
|
|
750
|
-
Properties of the `characters` object:
|
|
751
|
-
|
|
752
|
-
##### `disabled` (boolean)
|
|
753
|
-
|
|
754
|
-
Indicates if the plugin is disabled or not
|
|
755
|
-
|
|
756
|
-
#### `bold` (object)
|
|
757
|
-
|
|
758
|
-
Properties of the `bold` object:
|
|
759
|
-
|
|
760
|
-
##### `disabled` (boolean)
|
|
761
|
-
|
|
762
|
-
Indicates if the plugin is disabled or not
|
|
763
|
-
|
|
764
|
-
#### `html` (object)
|
|
765
|
-
|
|
766
|
-
Properties of the `html` object:
|
|
767
|
-
|
|
768
|
-
##### `disabled` (boolean)
|
|
769
|
-
|
|
770
|
-
Indicates if the plugin is disabled or not
|
|
771
|
-
|
|
772
|
-
#### `italic` (object)
|
|
773
|
-
|
|
774
|
-
Properties of the `italic` object:
|
|
775
|
-
|
|
776
|
-
##### `disabled` (boolean)
|
|
777
|
-
|
|
778
|
-
Indicates if the plugin is disabled or not
|
|
779
|
-
|
|
780
|
-
#### `ol_list` (object)
|
|
781
|
-
|
|
782
|
-
Properties of the `ol_list` object:
|
|
783
|
-
|
|
784
|
-
##### `disabled` (boolean)
|
|
785
|
-
|
|
786
|
-
Indicates if the plugin is disabled or not
|
|
787
|
-
|
|
788
|
-
#### `redo` (object)
|
|
789
|
-
|
|
790
|
-
Properties of the `redo` object:
|
|
791
|
-
|
|
792
|
-
##### `disabled` (boolean)
|
|
793
|
-
|
|
794
|
-
Indicates if the plugin is disabled or not
|
|
795
|
-
|
|
796
|
-
#### `strikethrough` (object)
|
|
797
|
-
|
|
798
|
-
Properties of the `strikethrough` object:
|
|
799
|
-
|
|
800
|
-
##### `disabled` (boolean)
|
|
801
|
-
|
|
802
|
-
Indicates if the plugin is disabled or not
|
|
803
|
-
|
|
804
|
-
#### `sub` (object)
|
|
805
|
-
|
|
806
|
-
Properties of the `sub` object:
|
|
807
|
-
|
|
808
|
-
##### `disabled` (boolean)
|
|
809
|
-
|
|
810
|
-
Indicates if the plugin is disabled or not
|
|
811
|
-
|
|
812
|
-
#### `sup` (object)
|
|
813
|
-
|
|
814
|
-
Properties of the `sup` object:
|
|
815
|
-
|
|
816
|
-
##### `disabled` (boolean)
|
|
817
|
-
|
|
818
|
-
Indicates if the plugin is disabled or not
|
|
819
|
-
|
|
820
|
-
#### `table` (object)
|
|
821
|
-
|
|
822
|
-
Properties of the `table` object:
|
|
823
|
-
|
|
824
|
-
##### `disabled` (boolean)
|
|
825
|
-
|
|
826
|
-
Indicates if the plugin is disabled or not
|
|
827
|
-
|
|
828
|
-
#### `ul_list` (object)
|
|
829
|
-
|
|
830
|
-
Properties of the `ul_list` object:
|
|
831
|
-
|
|
832
|
-
##### `disabled` (boolean)
|
|
833
|
-
|
|
834
|
-
Indicates if the plugin is disabled or not
|
|
835
|
-
|
|
836
|
-
#### `underline` (object)
|
|
837
|
-
|
|
838
|
-
Properties of the `underline` object:
|
|
839
|
-
|
|
840
|
-
##### `disabled` (boolean)
|
|
841
|
-
|
|
842
|
-
Indicates if the plugin is disabled or not
|
|
843
|
-
|
|
844
|
-
#### `undo` (object)
|
|
845
|
-
|
|
846
|
-
Properties of the `undo` object:
|
|
847
|
-
|
|
848
|
-
##### `disabled` (boolean)
|
|
849
|
-
|
|
850
|
-
Indicates if the plugin is disabled or not
|
|
851
|
-
|
|
852
|
-
### `settings` (boolean)
|
|
853
|
-
|
|
854
|
-
Indicates if the item has to be displayed in the Settings Panel
|
|
855
|
-
|
|
856
|
-
### `label` (string)
|
|
857
|
-
|
|
858
|
-
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
859
|
-
|
|
860
|
-
## `ConfigureMathMLProp` (object)
|
|
861
|
-
|
|
862
|
-
Properties of the `ConfigureMathMLProp` object:
|
|
863
|
-
|
|
864
|
-
### `mmlOutput` (number)
|
|
865
|
-
|
|
866
|
-
Indicates if model should have mathML output instead of latex
|
|
867
|
-
|
|
868
|
-
### `mmlEditing` (number)
|
|
869
|
-
|
|
870
|
-
Indicates if mathML that's already in model should be editable
|
|
871
|
-
|
|
872
|
-
## `ConfigureMaxImageDimensionsProp` (object)
|
|
873
|
-
|
|
874
|
-
Properties of the `ConfigureMaxImageDimensionsProp` object:
|
|
875
|
-
|
|
876
|
-
### `teacherInstructions` (number)
|
|
877
|
-
|
|
878
|
-
Indicates the max dimension for images in teacher instructions
|
|
879
|
-
|
|
880
|
-
### `prompt` (number)
|
|
881
|
-
|
|
882
|
-
Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
|
|
883
|
-
|
|
884
|
-
### `rationale` (number)
|
|
885
|
-
|
|
886
|
-
Indicates the max dimension for images in rationale
|
|
887
|
-
|
|
888
|
-
### `choices` (number)
|
|
889
|
-
|
|
890
|
-
Indicates the max dimension for images in choices
|
|
891
|
-
|
|
892
|
-
### `rowLabel` (number)
|
|
893
|
-
|
|
894
|
-
Indicates the max dimension for images in row labels
|
|
895
|
-
|
|
896
|
-
### `categoryLabel` (number)
|
|
897
|
-
|
|
898
|
-
Indicates the max dimension for images in category labels
|
|
899
|
-
|
|
900
|
-
## `ConfigurePropWithEnabled` (object)
|
|
901
|
-
|
|
902
|
-
Properties of the `ConfigurePropWithEnabled` object:
|
|
903
|
-
|
|
904
|
-
### `enabled` (boolean)
|
|
905
|
-
|
|
906
|
-
Indicates the value of the item if it affects config-ui
|
|
907
|
-
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
908
|
-
|
|
909
|
-
### `settings` (boolean)
|
|
910
|
-
|
|
911
|
-
Indicates if the item has to be displayed in the Settings Panel
|
|
912
|
-
|
|
913
|
-
### `label` (string)
|
|
914
|
-
|
|
915
|
-
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
916
|
-
|
|
917
|
-
## `ConfigureLanguageOptionsProp` (object)
|
|
918
|
-
|
|
919
|
-
Properties of the `ConfigureLanguageOptionsProp` object:
|
|
920
|
-
|
|
921
|
-
### `value` (string, required)
|
|
922
|
-
|
|
923
|
-
Value of the language option
|
|
924
|
-
|
|
925
|
-
### `label` (string, required)
|
|
926
|
-
|
|
927
|
-
Label of the language option
|
|
928
|
-
|
|
929
|
-
## `CategoryChoice` (object)
|
|
930
|
-
|
|
931
|
-
Properties of the `CategoryChoice` object:
|
|
932
|
-
|
|
933
|
-
### `id` (string, required)
|
|
934
|
-
|
|
935
|
-
Identifier for the choice
|
|
936
|
-
|
|
937
|
-
### `content` (string, required)
|
|
938
|
-
|
|
939
|
-
The xhtml content for the choice
|
|
940
|
-
|
|
941
|
-
### `categoryCount` (string,number)
|
|
942
|
-
|
|
943
|
-
### `correctResponseCount` (string,number)
|
|
944
|
-
|
|
945
|
-
## `ChoicesPosition` (string)
|
|
946
|
-
|
|
947
|
-
## `Category` (object)
|
|
948
|
-
|
|
949
|
-
Properties of the `Category` object:
|
|
950
|
-
|
|
951
|
-
### `id` (string, required)
|
|
952
|
-
|
|
953
|
-
Identifier for the category
|
|
954
|
-
|
|
955
|
-
### `label` (string, required)
|
|
956
|
-
|
|
957
|
-
The label to display with the category.
|
|
958
|
-
|
|
959
|
-
### `choices` (array, required)
|
|
960
|
-
|
|
961
|
-
The choices presented in this category
|
|
962
|
-
|
|
963
|
-
The object is an array with all elements of the type `object`.
|
|
964
|
-
|
|
965
|
-
The array object has the following properties:
|
|
966
|
-
|
|
967
|
-
#### `id` (string, required)
|
|
968
|
-
|
|
969
|
-
Identifier for the choice
|
|
970
|
-
|
|
971
|
-
#### `content` (string, required)
|
|
972
|
-
|
|
973
|
-
The xhtml content for the choice
|
|
974
|
-
|
|
975
|
-
#### `categoryCount` (string,number)
|
|
976
|
-
|
|
977
|
-
#### `correctResponseCount` (string,number)
|
|
978
|
-
|
|
979
|
-
## `CategoryCorrectResponse` (object)
|
|
980
|
-
|
|
981
|
-
Properties of the `CategoryCorrectResponse` object:
|
|
982
|
-
|
|
983
|
-
### `category` (string, required)
|
|
984
|
-
|
|
985
|
-
The identifier for the category
|
|
986
|
-
|
|
987
|
-
### `choices` (array, required)
|
|
988
|
-
|
|
989
|
-
Array of identifiers for the choices that belong in this category
|
|
990
|
-
|
|
991
|
-
The object is an array with all elements of the type `string`.
|
|
992
|
-
|
|
993
|
-
### `alternateResponses` (array)
|
|
994
|
-
|
|
995
|
-
Array of alternatives correct choices
|
|
996
|
-
|
|
997
|
-
The object is an array with all elements of the type `array`.
|
|
998
|
-
|
|
999
|
-
## `ComplexFeedbackType` (object)
|
|
1000
|
-
|
|
1001
|
-
Properties of the `ComplexFeedbackType` object:
|
|
1002
|
-
|
|
1003
|
-
### `correct` (, required)
|
|
1004
|
-
|
|
1005
|
-
Indicates the configuration for feedback when answer is correct
|
|
1006
|
-
|
|
1007
|
-
### `incorrect` (, required)
|
|
1008
|
-
|
|
1009
|
-
Indicates the configuration for feedback when answer is incorrect
|
|
1010
|
-
|
|
1011
|
-
### `partial`
|
|
1012
|
-
|
|
1013
|
-
Indicates the configuration for feedback when answer is partially correct
|
|
1014
|
-
|
|
1015
|
-
## `DefaultFeedbackType` (object)
|
|
1016
|
-
|
|
1017
|
-
Properties of the `DefaultFeedbackType` object:
|
|
1018
|
-
|
|
1019
|
-
### `type` (string, enum, required)
|
|
1020
|
-
|
|
1021
|
-
Indicates the feedback type
|
|
1022
|
-
|
|
1023
|
-
This element must be one of the following enum values:
|
|
1024
|
-
|
|
1025
|
-
* `default`
|
|
1026
|
-
* `none`
|
|
1027
|
-
|
|
1028
|
-
### `default` (string)
|
|
1029
|
-
|
|
1030
|
-
Indicates the feedback value
|
|
1031
|
-
|
|
1032
|
-
## `CustomFeedbackType` (object)
|
|
1033
|
-
|
|
1034
|
-
Properties of the `CustomFeedbackType` object:
|
|
1035
|
-
|
|
1036
|
-
### `type` (string, enum, required)
|
|
1037
|
-
|
|
1038
|
-
Indicates the feedback type
|
|
1039
|
-
|
|
1040
|
-
This element must be one of the following enum values:
|
|
1041
|
-
|
|
1042
|
-
* `custom`
|
|
1043
|
-
|
|
1044
|
-
### `custom` (string, required)
|
|
1045
|
-
|
|
1046
|
-
Indicates the feedback custom value
|