@pie-element/charting 12.1.1-next.1 → 12.1.1-next.29
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.json +487 -0
- package/CHANGELOG.md +1991 -0
- package/LICENSE.md +5 -0
- package/README.md +1 -0
- package/configure/CHANGELOG.json +292 -0
- package/configure/CHANGELOG.md +1758 -0
- package/configure/lib/charting-config.js +192 -0
- package/configure/lib/charting-config.js.map +1 -0
- package/configure/lib/configure.js +312 -0
- package/configure/lib/configure.js.map +1 -0
- package/configure/lib/correct-response.js +244 -0
- package/configure/lib/correct-response.js.map +1 -0
- package/configure/lib/defaults.js +233 -0
- package/configure/lib/defaults.js.map +1 -0
- package/configure/lib/index.js +120 -0
- package/configure/lib/index.js.map +1 -0
- package/configure/lib/utils.js +80 -0
- package/configure/lib/utils.js.map +1 -0
- package/configure/package.json +29 -0
- package/controller/CHANGELOG.json +262 -0
- package/controller/CHANGELOG.md +1208 -0
- package/controller/lib/defaults.js +42 -0
- package/controller/lib/defaults.js.map +1 -0
- package/controller/lib/index.js +434 -0
- package/controller/lib/index.js.map +1 -0
- package/controller/package.json +24 -0
- package/docs/config-schema.json +2440 -0
- package/docs/config-schema.json.md +1802 -0
- package/docs/demo/config.js +8 -0
- package/docs/demo/generate.js +63 -0
- package/docs/demo/index.html +1 -0
- package/docs/demo/session.js +26 -0
- package/docs/pie-schema.json +1731 -0
- package/docs/pie-schema.json.md +945 -0
- package/lib/index.js +78 -0
- package/lib/index.js.map +1 -0
- package/lib/main.js +167 -0
- package/lib/main.js.map +1 -0
- package/package.json +20 -57
- package/dist/author/charting-config.d.ts +0 -30
- package/dist/author/charting-config.js +0 -126
- package/dist/author/configure.d.ts +0 -29
- package/dist/author/configure.js +0 -205
- package/dist/author/correct-response.d.ts +0 -27
- package/dist/author/correct-response.js +0 -116
- package/dist/author/defaults.d.ts +0 -229
- package/dist/author/defaults.js +0 -186
- package/dist/author/index.d.ts +0 -51
- package/dist/author/index.js +0 -74
- package/dist/author/utils.d.ts +0 -42
- package/dist/author/utils.js +0 -244
- package/dist/charting.css +0 -2
- package/dist/controller/defaults.d.ts +0 -44
- package/dist/controller/defaults.js +0 -33
- package/dist/controller/index.d.ts +0 -28
- package/dist/controller/index.js +0 -155
- package/dist/delivery/index.d.ts +0 -21
- package/dist/delivery/index.js +0 -46
- package/dist/delivery/main.d.ts +0 -23
- package/dist/delivery/main.js +0 -128
- package/dist/index.d.ts +0 -1
- package/dist/index.iife.d.ts +0 -8
- package/dist/index.iife.js +0 -368
- package/dist/index.js +0 -2
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_apply.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +0 -15
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +0 -57
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFlatten.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseHasIn.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js +0 -30
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePick.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePickBy.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSet.js +0 -22
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js +0 -15
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js +0 -35
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js +0 -35
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js +0 -32
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_flatRest.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +0 -4
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +0 -23
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hasPath.js +0 -18
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +0 -33
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isFlattenable.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +0 -15
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/flatten.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/hasIn.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/identity.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +0 -4
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +0 -21
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/memoize.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/pick.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toString.js +0 -7
|
@@ -0,0 +1,945 @@
|
|
|
1
|
+
Model Object for @pie-elements/charting
|
|
2
|
+
|
|
3
|
+
The schema defines the following properties:
|
|
4
|
+
|
|
5
|
+
# `addCategoryEnabled` (boolean, required)
|
|
6
|
+
|
|
7
|
+
Indicates if user can add more categories
|
|
8
|
+
|
|
9
|
+
# `chartType` (string, enum, required)
|
|
10
|
+
|
|
11
|
+
This element must be one of the following enum values:
|
|
12
|
+
|
|
13
|
+
* `bar`
|
|
14
|
+
* `dorPlot`
|
|
15
|
+
* `histogram`
|
|
16
|
+
* `lineCross`
|
|
17
|
+
* `lineDot`
|
|
18
|
+
* `linePlot`
|
|
19
|
+
|
|
20
|
+
# `correctAnswer` (object, required)
|
|
21
|
+
|
|
22
|
+
Properties of the `correctAnswer` object:
|
|
23
|
+
|
|
24
|
+
## `name` (string, required)
|
|
25
|
+
|
|
26
|
+
Indicates name of answer
|
|
27
|
+
|
|
28
|
+
## `data` (array, required)
|
|
29
|
+
|
|
30
|
+
Indicates marks for the answer
|
|
31
|
+
|
|
32
|
+
Additional restrictions:
|
|
33
|
+
|
|
34
|
+
* Minimum items: `1`
|
|
35
|
+
|
|
36
|
+
# `data` (array, required)
|
|
37
|
+
|
|
38
|
+
Indicates default categories for the answer
|
|
39
|
+
|
|
40
|
+
Additional restrictions:
|
|
41
|
+
|
|
42
|
+
* Minimum items: `1`
|
|
43
|
+
|
|
44
|
+
# `domain` (object, required)
|
|
45
|
+
|
|
46
|
+
Properties of the `domain` object:
|
|
47
|
+
|
|
48
|
+
## `min` (number, required)
|
|
49
|
+
|
|
50
|
+
Min value
|
|
51
|
+
|
|
52
|
+
## `max` (number, required)
|
|
53
|
+
|
|
54
|
+
Max value
|
|
55
|
+
|
|
56
|
+
## `step` (number, required)
|
|
57
|
+
|
|
58
|
+
Step value
|
|
59
|
+
|
|
60
|
+
## `labelStep` (number, required)
|
|
61
|
+
|
|
62
|
+
Label step value
|
|
63
|
+
|
|
64
|
+
## `axisLabel` (string, required)
|
|
65
|
+
|
|
66
|
+
Axis Label
|
|
67
|
+
|
|
68
|
+
# `graph` (object, required)
|
|
69
|
+
|
|
70
|
+
Properties of the `graph` object:
|
|
71
|
+
|
|
72
|
+
## `width` (number, required)
|
|
73
|
+
|
|
74
|
+
Width for chart representation
|
|
75
|
+
|
|
76
|
+
## `height` (number, required)
|
|
77
|
+
|
|
78
|
+
Height for chart representation
|
|
79
|
+
|
|
80
|
+
# `prompt` (string)
|
|
81
|
+
|
|
82
|
+
Indicates prompt value
|
|
83
|
+
|
|
84
|
+
# `promptEnabled` (boolean)
|
|
85
|
+
|
|
86
|
+
Indicates if the prompt is enabled
|
|
87
|
+
|
|
88
|
+
# `range` (object, required)
|
|
89
|
+
|
|
90
|
+
Properties of the `range` object:
|
|
91
|
+
|
|
92
|
+
## `min` (number, required)
|
|
93
|
+
|
|
94
|
+
Min value
|
|
95
|
+
|
|
96
|
+
## `max` (number, required)
|
|
97
|
+
|
|
98
|
+
Max value
|
|
99
|
+
|
|
100
|
+
## `step` (number, required)
|
|
101
|
+
|
|
102
|
+
Step value
|
|
103
|
+
|
|
104
|
+
## `labelStep` (number, required)
|
|
105
|
+
|
|
106
|
+
Label step value
|
|
107
|
+
|
|
108
|
+
## `axisLabel` (string, required)
|
|
109
|
+
|
|
110
|
+
Axis Label
|
|
111
|
+
|
|
112
|
+
# `rationale` (string)
|
|
113
|
+
|
|
114
|
+
Indicates rationale for the answer
|
|
115
|
+
|
|
116
|
+
# `scoringType` (string, enum)
|
|
117
|
+
|
|
118
|
+
Indicates scoring type
|
|
119
|
+
|
|
120
|
+
This element must be one of the following enum values:
|
|
121
|
+
|
|
122
|
+
* `all or nothing`
|
|
123
|
+
* `partial scoring`
|
|
124
|
+
|
|
125
|
+
# `studentInstructions` (string)
|
|
126
|
+
|
|
127
|
+
Indicates student instructions
|
|
128
|
+
|
|
129
|
+
# `teacherInstructions` (string)
|
|
130
|
+
|
|
131
|
+
Indicates teacher instructions
|
|
132
|
+
|
|
133
|
+
# `title` (string)
|
|
134
|
+
|
|
135
|
+
Indicates chart title
|
|
136
|
+
|
|
137
|
+
# `placeholderMessages` (object)
|
|
138
|
+
|
|
139
|
+
Properties of the `placeholderMessages` object:
|
|
140
|
+
|
|
141
|
+
## `title` (string, required)
|
|
142
|
+
|
|
143
|
+
Indicates placeholder message if title is not defined
|
|
144
|
+
|
|
145
|
+
## `labels` (string, required)
|
|
146
|
+
|
|
147
|
+
Indicates placeholder message if labels for range or domain are not defined
|
|
148
|
+
|
|
149
|
+
# `rationaleEnabled` (boolean, required)
|
|
150
|
+
|
|
151
|
+
Indicates if Rationale are enabled
|
|
152
|
+
|
|
153
|
+
# `spellCheckEnabled` (boolean, required)
|
|
154
|
+
|
|
155
|
+
Indicates if spellcheck is enabled for the author. Default value is true
|
|
156
|
+
|
|
157
|
+
# `studentInstructionsEnabled` (boolean, required)
|
|
158
|
+
|
|
159
|
+
Indicates if Student Instructions are enabled
|
|
160
|
+
|
|
161
|
+
# `teacherInstructionsEnabled` (boolean, required)
|
|
162
|
+
|
|
163
|
+
Indicates if Teacher Instructions are enabled
|
|
164
|
+
|
|
165
|
+
# `rubricEnabled` (boolean, required)
|
|
166
|
+
|
|
167
|
+
Indicates if Rubric is enabled
|
|
168
|
+
|
|
169
|
+
# `changeInteractiveEnabled` (boolean, required)
|
|
170
|
+
|
|
171
|
+
Indicates if teacher can enable/disable data[]:interactive. Default value is false
|
|
172
|
+
|
|
173
|
+
# `changeEditableEnabled` (boolean, required)
|
|
174
|
+
|
|
175
|
+
Indicates if teacher can enable/disable data[]:editable. Default value is false
|
|
176
|
+
|
|
177
|
+
# `changeAddCategoryEnabled` (boolean, required)
|
|
178
|
+
|
|
179
|
+
Indicates if teacher can enable/disable addCategoryEnabled. Default value is false
|
|
180
|
+
|
|
181
|
+
# `studentNewCategoryDefaultLabel` (string, required)
|
|
182
|
+
|
|
183
|
+
Label for new category in correct response and player's chart
|
|
184
|
+
|
|
185
|
+
# `language` (string)
|
|
186
|
+
|
|
187
|
+
Indicates the language of the component
|
|
188
|
+
Supported options: en, es, en_US, en-US, es_ES, es-ES, es_MX, es-MX
|
|
189
|
+
|
|
190
|
+
# `id` (string, required)
|
|
191
|
+
|
|
192
|
+
Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.
|
|
193
|
+
|
|
194
|
+
# `element` (string, required)
|
|
195
|
+
|
|
196
|
+
The html Element tag name
|
|
197
|
+
|
|
198
|
+
---
|
|
199
|
+
|
|
200
|
+
# Sub Schemas
|
|
201
|
+
|
|
202
|
+
The schema defines the following additional types:
|
|
203
|
+
|
|
204
|
+
## `EditableHtmlConfigureProp` (object)
|
|
205
|
+
|
|
206
|
+
Properties of the `EditableHtmlConfigureProp` object:
|
|
207
|
+
|
|
208
|
+
### `math` (object)
|
|
209
|
+
|
|
210
|
+
Properties of the `math` object:
|
|
211
|
+
|
|
212
|
+
#### `disabled` (boolean)
|
|
213
|
+
|
|
214
|
+
Indicates if the plugin is disabled or not
|
|
215
|
+
|
|
216
|
+
### `audio` (object)
|
|
217
|
+
|
|
218
|
+
Properties of the `audio` object:
|
|
219
|
+
|
|
220
|
+
#### `disabled` (boolean)
|
|
221
|
+
|
|
222
|
+
Indicates if the plugin is disabled or not
|
|
223
|
+
|
|
224
|
+
### `video` (object)
|
|
225
|
+
|
|
226
|
+
Properties of the `video` object:
|
|
227
|
+
|
|
228
|
+
#### `disabled` (boolean)
|
|
229
|
+
|
|
230
|
+
Indicates if the plugin is disabled or not
|
|
231
|
+
|
|
232
|
+
### `image` (object)
|
|
233
|
+
|
|
234
|
+
Properties of the `image` object:
|
|
235
|
+
|
|
236
|
+
#### `disabled` (boolean)
|
|
237
|
+
|
|
238
|
+
Indicates if the plugin is disabled or not
|
|
239
|
+
|
|
240
|
+
### `customPlugins` (array)
|
|
241
|
+
|
|
242
|
+
An array of objects that determine custom plugins.
|
|
243
|
+
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).
|
|
244
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
245
|
+
|
|
246
|
+
The object is an array with all elements of the type `object`.
|
|
247
|
+
|
|
248
|
+
The array object has the following properties:
|
|
249
|
+
|
|
250
|
+
#### `event` (string, required)
|
|
251
|
+
|
|
252
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
253
|
+
PIE will emit the event prefixed with "PIE-".
|
|
254
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
255
|
+
|
|
256
|
+
#### `iconAlt` (string, required)
|
|
257
|
+
|
|
258
|
+
The alt for the custom button icon
|
|
259
|
+
|
|
260
|
+
#### `iconType` (string, required)
|
|
261
|
+
|
|
262
|
+
The icon type.
|
|
263
|
+
Currently, only "SVG" is supported.
|
|
264
|
+
|
|
265
|
+
#### `icon` (string, required)
|
|
266
|
+
|
|
267
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
268
|
+
|
|
269
|
+
### `blockquote` (object)
|
|
270
|
+
|
|
271
|
+
Properties of the `blockquote` object:
|
|
272
|
+
|
|
273
|
+
#### `disabled` (boolean)
|
|
274
|
+
|
|
275
|
+
Indicates if the plugin is disabled or not
|
|
276
|
+
|
|
277
|
+
### `h3` (object)
|
|
278
|
+
|
|
279
|
+
Properties of the `h3` object:
|
|
280
|
+
|
|
281
|
+
#### `disabled` (boolean)
|
|
282
|
+
|
|
283
|
+
Indicates if the plugin is disabled or not
|
|
284
|
+
|
|
285
|
+
### `characters` (object)
|
|
286
|
+
|
|
287
|
+
Properties of the `characters` object:
|
|
288
|
+
|
|
289
|
+
#### `disabled` (boolean)
|
|
290
|
+
|
|
291
|
+
Indicates if the plugin is disabled or not
|
|
292
|
+
|
|
293
|
+
### `bold` (object)
|
|
294
|
+
|
|
295
|
+
Properties of the `bold` object:
|
|
296
|
+
|
|
297
|
+
#### `disabled` (boolean)
|
|
298
|
+
|
|
299
|
+
Indicates if the plugin is disabled or not
|
|
300
|
+
|
|
301
|
+
### `html` (object)
|
|
302
|
+
|
|
303
|
+
Properties of the `html` object:
|
|
304
|
+
|
|
305
|
+
#### `disabled` (boolean)
|
|
306
|
+
|
|
307
|
+
Indicates if the plugin is disabled or not
|
|
308
|
+
|
|
309
|
+
### `italic` (object)
|
|
310
|
+
|
|
311
|
+
Properties of the `italic` object:
|
|
312
|
+
|
|
313
|
+
#### `disabled` (boolean)
|
|
314
|
+
|
|
315
|
+
Indicates if the plugin is disabled or not
|
|
316
|
+
|
|
317
|
+
### `ol_list` (object)
|
|
318
|
+
|
|
319
|
+
Properties of the `ol_list` object:
|
|
320
|
+
|
|
321
|
+
#### `disabled` (boolean)
|
|
322
|
+
|
|
323
|
+
Indicates if the plugin is disabled or not
|
|
324
|
+
|
|
325
|
+
### `redo` (object)
|
|
326
|
+
|
|
327
|
+
Properties of the `redo` object:
|
|
328
|
+
|
|
329
|
+
#### `disabled` (boolean)
|
|
330
|
+
|
|
331
|
+
Indicates if the plugin is disabled or not
|
|
332
|
+
|
|
333
|
+
### `strikethrough` (object)
|
|
334
|
+
|
|
335
|
+
Properties of the `strikethrough` object:
|
|
336
|
+
|
|
337
|
+
#### `disabled` (boolean)
|
|
338
|
+
|
|
339
|
+
Indicates if the plugin is disabled or not
|
|
340
|
+
|
|
341
|
+
### `sub` (object)
|
|
342
|
+
|
|
343
|
+
Properties of the `sub` object:
|
|
344
|
+
|
|
345
|
+
#### `disabled` (boolean)
|
|
346
|
+
|
|
347
|
+
Indicates if the plugin is disabled or not
|
|
348
|
+
|
|
349
|
+
### `sup` (object)
|
|
350
|
+
|
|
351
|
+
Properties of the `sup` object:
|
|
352
|
+
|
|
353
|
+
#### `disabled` (boolean)
|
|
354
|
+
|
|
355
|
+
Indicates if the plugin is disabled or not
|
|
356
|
+
|
|
357
|
+
### `table` (object)
|
|
358
|
+
|
|
359
|
+
Properties of the `table` object:
|
|
360
|
+
|
|
361
|
+
#### `disabled` (boolean)
|
|
362
|
+
|
|
363
|
+
Indicates if the plugin is disabled or not
|
|
364
|
+
|
|
365
|
+
### `ul_list` (object)
|
|
366
|
+
|
|
367
|
+
Properties of the `ul_list` object:
|
|
368
|
+
|
|
369
|
+
#### `disabled` (boolean)
|
|
370
|
+
|
|
371
|
+
Indicates if the plugin is disabled or not
|
|
372
|
+
|
|
373
|
+
### `underline` (object)
|
|
374
|
+
|
|
375
|
+
Properties of the `underline` object:
|
|
376
|
+
|
|
377
|
+
#### `disabled` (boolean)
|
|
378
|
+
|
|
379
|
+
Indicates if the plugin is disabled or not
|
|
380
|
+
|
|
381
|
+
### `undo` (object)
|
|
382
|
+
|
|
383
|
+
Properties of the `undo` object:
|
|
384
|
+
|
|
385
|
+
#### `disabled` (boolean)
|
|
386
|
+
|
|
387
|
+
Indicates if the plugin is disabled or not
|
|
388
|
+
|
|
389
|
+
## `EditableHtmlButtonConfigure` (object)
|
|
390
|
+
|
|
391
|
+
Properties of the `EditableHtmlButtonConfigure` object:
|
|
392
|
+
|
|
393
|
+
### `disabled` (boolean)
|
|
394
|
+
|
|
395
|
+
Indicates if the plugin is disabled or not
|
|
396
|
+
|
|
397
|
+
## `CustomPlugin` (object)
|
|
398
|
+
|
|
399
|
+
Properties of the `CustomPlugin` object:
|
|
400
|
+
|
|
401
|
+
### `event` (string, required)
|
|
402
|
+
|
|
403
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
404
|
+
PIE will emit the event prefixed with "PIE-".
|
|
405
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
406
|
+
|
|
407
|
+
### `iconAlt` (string, required)
|
|
408
|
+
|
|
409
|
+
The alt for the custom button icon
|
|
410
|
+
|
|
411
|
+
### `iconType` (string, required)
|
|
412
|
+
|
|
413
|
+
The icon type.
|
|
414
|
+
Currently, only "SVG" is supported.
|
|
415
|
+
|
|
416
|
+
### `icon` (string, required)
|
|
417
|
+
|
|
418
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
419
|
+
|
|
420
|
+
## `EditableHtmlPluginConfigureRequired` (object)
|
|
421
|
+
|
|
422
|
+
Properties of the `EditableHtmlPluginConfigureRequired` object:
|
|
423
|
+
|
|
424
|
+
### `inputConfiguration` (object)
|
|
425
|
+
|
|
426
|
+
Properties of the `inputConfiguration` object:
|
|
427
|
+
|
|
428
|
+
#### `math` (object)
|
|
429
|
+
|
|
430
|
+
Properties of the `math` object:
|
|
431
|
+
|
|
432
|
+
##### `disabled` (boolean)
|
|
433
|
+
|
|
434
|
+
Indicates if the plugin is disabled or not
|
|
435
|
+
|
|
436
|
+
#### `audio` (object)
|
|
437
|
+
|
|
438
|
+
Properties of the `audio` object:
|
|
439
|
+
|
|
440
|
+
##### `disabled` (boolean)
|
|
441
|
+
|
|
442
|
+
Indicates if the plugin is disabled or not
|
|
443
|
+
|
|
444
|
+
#### `video` (object)
|
|
445
|
+
|
|
446
|
+
Properties of the `video` object:
|
|
447
|
+
|
|
448
|
+
##### `disabled` (boolean)
|
|
449
|
+
|
|
450
|
+
Indicates if the plugin is disabled or not
|
|
451
|
+
|
|
452
|
+
#### `image` (object)
|
|
453
|
+
|
|
454
|
+
Properties of the `image` object:
|
|
455
|
+
|
|
456
|
+
##### `disabled` (boolean)
|
|
457
|
+
|
|
458
|
+
Indicates if the plugin is disabled or not
|
|
459
|
+
|
|
460
|
+
#### `customPlugins` (array)
|
|
461
|
+
|
|
462
|
+
An array of objects that determine custom plugins.
|
|
463
|
+
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).
|
|
464
|
+
Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
|
|
465
|
+
|
|
466
|
+
The object is an array with all elements of the type `object`.
|
|
467
|
+
|
|
468
|
+
The array object has the following properties:
|
|
469
|
+
|
|
470
|
+
##### `event` (string, required)
|
|
471
|
+
|
|
472
|
+
The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
|
|
473
|
+
PIE will emit the event prefixed with "PIE-".
|
|
474
|
+
Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
|
|
475
|
+
|
|
476
|
+
##### `iconAlt` (string, required)
|
|
477
|
+
|
|
478
|
+
The alt for the custom button icon
|
|
479
|
+
|
|
480
|
+
##### `iconType` (string, required)
|
|
481
|
+
|
|
482
|
+
The icon type.
|
|
483
|
+
Currently, only "SVG" is supported.
|
|
484
|
+
|
|
485
|
+
##### `icon` (string, required)
|
|
486
|
+
|
|
487
|
+
The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
|
|
488
|
+
|
|
489
|
+
#### `blockquote` (object)
|
|
490
|
+
|
|
491
|
+
Properties of the `blockquote` object:
|
|
492
|
+
|
|
493
|
+
##### `disabled` (boolean)
|
|
494
|
+
|
|
495
|
+
Indicates if the plugin is disabled or not
|
|
496
|
+
|
|
497
|
+
#### `h3` (object)
|
|
498
|
+
|
|
499
|
+
Properties of the `h3` object:
|
|
500
|
+
|
|
501
|
+
##### `disabled` (boolean)
|
|
502
|
+
|
|
503
|
+
Indicates if the plugin is disabled or not
|
|
504
|
+
|
|
505
|
+
#### `characters` (object)
|
|
506
|
+
|
|
507
|
+
Properties of the `characters` object:
|
|
508
|
+
|
|
509
|
+
##### `disabled` (boolean)
|
|
510
|
+
|
|
511
|
+
Indicates if the plugin is disabled or not
|
|
512
|
+
|
|
513
|
+
#### `bold` (object)
|
|
514
|
+
|
|
515
|
+
Properties of the `bold` object:
|
|
516
|
+
|
|
517
|
+
##### `disabled` (boolean)
|
|
518
|
+
|
|
519
|
+
Indicates if the plugin is disabled or not
|
|
520
|
+
|
|
521
|
+
#### `html` (object)
|
|
522
|
+
|
|
523
|
+
Properties of the `html` object:
|
|
524
|
+
|
|
525
|
+
##### `disabled` (boolean)
|
|
526
|
+
|
|
527
|
+
Indicates if the plugin is disabled or not
|
|
528
|
+
|
|
529
|
+
#### `italic` (object)
|
|
530
|
+
|
|
531
|
+
Properties of the `italic` object:
|
|
532
|
+
|
|
533
|
+
##### `disabled` (boolean)
|
|
534
|
+
|
|
535
|
+
Indicates if the plugin is disabled or not
|
|
536
|
+
|
|
537
|
+
#### `ol_list` (object)
|
|
538
|
+
|
|
539
|
+
Properties of the `ol_list` object:
|
|
540
|
+
|
|
541
|
+
##### `disabled` (boolean)
|
|
542
|
+
|
|
543
|
+
Indicates if the plugin is disabled or not
|
|
544
|
+
|
|
545
|
+
#### `redo` (object)
|
|
546
|
+
|
|
547
|
+
Properties of the `redo` object:
|
|
548
|
+
|
|
549
|
+
##### `disabled` (boolean)
|
|
550
|
+
|
|
551
|
+
Indicates if the plugin is disabled or not
|
|
552
|
+
|
|
553
|
+
#### `strikethrough` (object)
|
|
554
|
+
|
|
555
|
+
Properties of the `strikethrough` object:
|
|
556
|
+
|
|
557
|
+
##### `disabled` (boolean)
|
|
558
|
+
|
|
559
|
+
Indicates if the plugin is disabled or not
|
|
560
|
+
|
|
561
|
+
#### `sub` (object)
|
|
562
|
+
|
|
563
|
+
Properties of the `sub` object:
|
|
564
|
+
|
|
565
|
+
##### `disabled` (boolean)
|
|
566
|
+
|
|
567
|
+
Indicates if the plugin is disabled or not
|
|
568
|
+
|
|
569
|
+
#### `sup` (object)
|
|
570
|
+
|
|
571
|
+
Properties of the `sup` object:
|
|
572
|
+
|
|
573
|
+
##### `disabled` (boolean)
|
|
574
|
+
|
|
575
|
+
Indicates if the plugin is disabled or not
|
|
576
|
+
|
|
577
|
+
#### `table` (object)
|
|
578
|
+
|
|
579
|
+
Properties of the `table` object:
|
|
580
|
+
|
|
581
|
+
##### `disabled` (boolean)
|
|
582
|
+
|
|
583
|
+
Indicates if the plugin is disabled or not
|
|
584
|
+
|
|
585
|
+
#### `ul_list` (object)
|
|
586
|
+
|
|
587
|
+
Properties of the `ul_list` object:
|
|
588
|
+
|
|
589
|
+
##### `disabled` (boolean)
|
|
590
|
+
|
|
591
|
+
Indicates if the plugin is disabled or not
|
|
592
|
+
|
|
593
|
+
#### `underline` (object)
|
|
594
|
+
|
|
595
|
+
Properties of the `underline` object:
|
|
596
|
+
|
|
597
|
+
##### `disabled` (boolean)
|
|
598
|
+
|
|
599
|
+
Indicates if the plugin is disabled or not
|
|
600
|
+
|
|
601
|
+
#### `undo` (object)
|
|
602
|
+
|
|
603
|
+
Properties of the `undo` object:
|
|
604
|
+
|
|
605
|
+
##### `disabled` (boolean)
|
|
606
|
+
|
|
607
|
+
Indicates if the plugin is disabled or not
|
|
608
|
+
|
|
609
|
+
### `required` (boolean)
|
|
610
|
+
|
|
611
|
+
Indicates if the item is required and the value cannot be empty
|
|
612
|
+
|
|
613
|
+
### `settings` (boolean)
|
|
614
|
+
|
|
615
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
616
|
+
|
|
617
|
+
### `label` (string)
|
|
618
|
+
|
|
619
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
620
|
+
|
|
621
|
+
## `ConfigureProp` (object)
|
|
622
|
+
|
|
623
|
+
Properties of the `ConfigureProp` object:
|
|
624
|
+
|
|
625
|
+
### `settings` (boolean)
|
|
626
|
+
|
|
627
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
628
|
+
|
|
629
|
+
### `label` (string)
|
|
630
|
+
|
|
631
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
632
|
+
|
|
633
|
+
## `LabelsPlaceholderConfigProp` (object)
|
|
634
|
+
|
|
635
|
+
Properties of the `LabelsPlaceholderConfigProp` object:
|
|
636
|
+
|
|
637
|
+
### `top` (string)
|
|
638
|
+
|
|
639
|
+
This value is empty for charting. The property exist in order to be consistent with graphing configuration.
|
|
640
|
+
|
|
641
|
+
### `right` (string)
|
|
642
|
+
|
|
643
|
+
This value is empty for charting. The property exist in order to be consistent with graphing configuration.
|
|
644
|
+
|
|
645
|
+
### `bottom` (string)
|
|
646
|
+
|
|
647
|
+
Indicates the placeholder for the bottom label
|
|
648
|
+
|
|
649
|
+
### `left` (string)
|
|
650
|
+
|
|
651
|
+
Indicates the placeholder for the left label
|
|
652
|
+
|
|
653
|
+
### `enabled` (boolean)
|
|
654
|
+
|
|
655
|
+
Indicates the value of the item if it affects config-ui
|
|
656
|
+
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
657
|
+
|
|
658
|
+
### `settings` (boolean)
|
|
659
|
+
|
|
660
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
661
|
+
|
|
662
|
+
### `label` (string)
|
|
663
|
+
|
|
664
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
665
|
+
|
|
666
|
+
## `ConfigurePropWithEnabled` (object)
|
|
667
|
+
|
|
668
|
+
Properties of the `ConfigurePropWithEnabled` object:
|
|
669
|
+
|
|
670
|
+
### `enabled` (boolean)
|
|
671
|
+
|
|
672
|
+
Indicates the value of the item if it affects config-ui
|
|
673
|
+
(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
|
|
674
|
+
|
|
675
|
+
### `settings` (boolean)
|
|
676
|
+
|
|
677
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
678
|
+
|
|
679
|
+
### `label` (string)
|
|
680
|
+
|
|
681
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
682
|
+
|
|
683
|
+
## `AuthorNewCategoryDefaults` (object)
|
|
684
|
+
|
|
685
|
+
Properties of the `AuthorNewCategoryDefaults` object:
|
|
686
|
+
|
|
687
|
+
### `settings` (boolean)
|
|
688
|
+
|
|
689
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
690
|
+
|
|
691
|
+
### `label` (string)
|
|
692
|
+
|
|
693
|
+
Indicates the label for the new category
|
|
694
|
+
|
|
695
|
+
### `interactive` (boolean)
|
|
696
|
+
|
|
697
|
+
Indicates if new category is interactive
|
|
698
|
+
|
|
699
|
+
### `editable` (boolean)
|
|
700
|
+
|
|
701
|
+
Indicates if new category is editable
|
|
702
|
+
|
|
703
|
+
## `ConfigureMathMLProp` (object)
|
|
704
|
+
|
|
705
|
+
Properties of the `ConfigureMathMLProp` object:
|
|
706
|
+
|
|
707
|
+
### `mmlOutput` (number)
|
|
708
|
+
|
|
709
|
+
Indicates if model should have mathML output instead of latex
|
|
710
|
+
|
|
711
|
+
### `mmlEditing` (number)
|
|
712
|
+
|
|
713
|
+
Indicates if mathML that's already in model should be editable
|
|
714
|
+
|
|
715
|
+
## `ConfigureMaxImageDimensionsProp` (object)
|
|
716
|
+
|
|
717
|
+
Properties of the `ConfigureMaxImageDimensionsProp` object:
|
|
718
|
+
|
|
719
|
+
### `teacherInstructions` (number)
|
|
720
|
+
|
|
721
|
+
Indicates the max dimension for images in teacher instructions
|
|
722
|
+
|
|
723
|
+
### `prompt` (number)
|
|
724
|
+
|
|
725
|
+
Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
|
|
726
|
+
|
|
727
|
+
### `rationale` (number)
|
|
728
|
+
|
|
729
|
+
Indicates the max dimension for images in rationale
|
|
730
|
+
|
|
731
|
+
## `ChartingOptions` (object)
|
|
732
|
+
|
|
733
|
+
Properties of the `ChartingOptions` object:
|
|
734
|
+
|
|
735
|
+
### `changeInteractive` (object)
|
|
736
|
+
|
|
737
|
+
Properties of the `changeInteractive` object:
|
|
738
|
+
|
|
739
|
+
#### `settings` (boolean)
|
|
740
|
+
|
|
741
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
742
|
+
|
|
743
|
+
#### `authoringLabel` (string)
|
|
744
|
+
|
|
745
|
+
Indicates the label for the option
|
|
746
|
+
|
|
747
|
+
#### `settingsLabel` (string)
|
|
748
|
+
|
|
749
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
750
|
+
|
|
751
|
+
### `changeEditable` (object)
|
|
752
|
+
|
|
753
|
+
Properties of the `changeEditable` object:
|
|
754
|
+
|
|
755
|
+
#### `settings` (boolean)
|
|
756
|
+
|
|
757
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
758
|
+
|
|
759
|
+
#### `authoringLabel` (string)
|
|
760
|
+
|
|
761
|
+
Indicates the label for the option
|
|
762
|
+
|
|
763
|
+
#### `settingsLabel` (string)
|
|
764
|
+
|
|
765
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
766
|
+
|
|
767
|
+
### `addCategory` (object)
|
|
768
|
+
|
|
769
|
+
Properties of the `addCategory` object:
|
|
770
|
+
|
|
771
|
+
#### `settings` (boolean)
|
|
772
|
+
|
|
773
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
774
|
+
|
|
775
|
+
#### `authoringLabel` (string)
|
|
776
|
+
|
|
777
|
+
Indicates the label for the option
|
|
778
|
+
|
|
779
|
+
#### `settingsLabel` (string)
|
|
780
|
+
|
|
781
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
782
|
+
|
|
783
|
+
## `ChartingOption` (object)
|
|
784
|
+
|
|
785
|
+
Properties of the `ChartingOption` object:
|
|
786
|
+
|
|
787
|
+
### `settings` (boolean)
|
|
788
|
+
|
|
789
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
790
|
+
|
|
791
|
+
### `authoringLabel` (string)
|
|
792
|
+
|
|
793
|
+
Indicates the label for the option
|
|
794
|
+
|
|
795
|
+
### `settingsLabel` (string)
|
|
796
|
+
|
|
797
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
798
|
+
|
|
799
|
+
## `AvailableChartTypes` (object)
|
|
800
|
+
|
|
801
|
+
Properties of the `AvailableChartTypes` object:
|
|
802
|
+
|
|
803
|
+
### `bar` (string, required)
|
|
804
|
+
|
|
805
|
+
Indicates if bar chart is available and the label used for it.
|
|
806
|
+
|
|
807
|
+
### `histogram` (string, required)
|
|
808
|
+
|
|
809
|
+
Indicates if histogram is available and the label used for it.
|
|
810
|
+
|
|
811
|
+
### `lineDot` (string, required)
|
|
812
|
+
|
|
813
|
+
Indicates if line chart with dots is available and the label used for it.
|
|
814
|
+
|
|
815
|
+
### `lineCross` (string, required)
|
|
816
|
+
|
|
817
|
+
Indicates if line chart with crosses is available and the label used for it.
|
|
818
|
+
|
|
819
|
+
### `dotPlot` (string, required)
|
|
820
|
+
|
|
821
|
+
Indicates if dot plot is available and the label used for it.
|
|
822
|
+
|
|
823
|
+
### `linePlot` (string, required)
|
|
824
|
+
|
|
825
|
+
Indicates if line plot is available and the label used for it.
|
|
826
|
+
|
|
827
|
+
## `ConfigureLanguageOptionsProp` (object)
|
|
828
|
+
|
|
829
|
+
Properties of the `ConfigureLanguageOptionsProp` object:
|
|
830
|
+
|
|
831
|
+
### `value` (string, required)
|
|
832
|
+
|
|
833
|
+
Value of the language option
|
|
834
|
+
|
|
835
|
+
### `label` (string, required)
|
|
836
|
+
|
|
837
|
+
Label of the language option
|
|
838
|
+
|
|
839
|
+
## `Answer` (object)
|
|
840
|
+
|
|
841
|
+
Properties of the `Answer` object:
|
|
842
|
+
|
|
843
|
+
### `name` (string, required)
|
|
844
|
+
|
|
845
|
+
Indicates name of answer
|
|
846
|
+
|
|
847
|
+
### `data` (array, required)
|
|
848
|
+
|
|
849
|
+
Indicates marks for the answer
|
|
850
|
+
|
|
851
|
+
Additional restrictions:
|
|
852
|
+
|
|
853
|
+
* Minimum items: `1`
|
|
854
|
+
|
|
855
|
+
## `Category` (object)
|
|
856
|
+
|
|
857
|
+
Properties of the `Category` object:
|
|
858
|
+
|
|
859
|
+
### `label` (string, required)
|
|
860
|
+
|
|
861
|
+
Indicates category label
|
|
862
|
+
|
|
863
|
+
### `value` (number, required)
|
|
864
|
+
|
|
865
|
+
Indicates category value
|
|
866
|
+
|
|
867
|
+
### `interactive` (boolean, required)
|
|
868
|
+
|
|
869
|
+
Indicates if category value is interactive
|
|
870
|
+
|
|
871
|
+
### `editable` (boolean, required)
|
|
872
|
+
|
|
873
|
+
Indicates if category label is editable
|
|
874
|
+
|
|
875
|
+
### `deletable` (boolean, required)
|
|
876
|
+
|
|
877
|
+
Indicates if category is deletable
|
|
878
|
+
|
|
879
|
+
### `correctness` (object, required)
|
|
880
|
+
|
|
881
|
+
Indicates correctness for a category
|
|
882
|
+
|
|
883
|
+
Properties of the `correctness` object:
|
|
884
|
+
|
|
885
|
+
#### `value` (string, enum, required)
|
|
886
|
+
|
|
887
|
+
This element must be one of the following enum values:
|
|
888
|
+
|
|
889
|
+
* `correct`
|
|
890
|
+
* `incorrect`
|
|
891
|
+
|
|
892
|
+
#### `label` (string, enum, required)
|
|
893
|
+
|
|
894
|
+
This element must be one of the following enum values:
|
|
895
|
+
|
|
896
|
+
* `correct`
|
|
897
|
+
* `incorrect`
|
|
898
|
+
|
|
899
|
+
## `ChartSettings` (object)
|
|
900
|
+
|
|
901
|
+
Properties of the `ChartSettings` object:
|
|
902
|
+
|
|
903
|
+
### `min` (number, required)
|
|
904
|
+
|
|
905
|
+
Min value
|
|
906
|
+
|
|
907
|
+
### `max` (number, required)
|
|
908
|
+
|
|
909
|
+
Max value
|
|
910
|
+
|
|
911
|
+
### `step` (number, required)
|
|
912
|
+
|
|
913
|
+
Step value
|
|
914
|
+
|
|
915
|
+
### `labelStep` (number, required)
|
|
916
|
+
|
|
917
|
+
Label step value
|
|
918
|
+
|
|
919
|
+
### `axisLabel` (string, required)
|
|
920
|
+
|
|
921
|
+
Axis Label
|
|
922
|
+
|
|
923
|
+
## `Chart` (object)
|
|
924
|
+
|
|
925
|
+
Properties of the `Chart` object:
|
|
926
|
+
|
|
927
|
+
### `width` (number, required)
|
|
928
|
+
|
|
929
|
+
Width for chart representation
|
|
930
|
+
|
|
931
|
+
### `height` (number, required)
|
|
932
|
+
|
|
933
|
+
Height for chart representation
|
|
934
|
+
|
|
935
|
+
## `Placeholder` (object)
|
|
936
|
+
|
|
937
|
+
Properties of the `Placeholder` object:
|
|
938
|
+
|
|
939
|
+
### `title` (string, required)
|
|
940
|
+
|
|
941
|
+
Indicates placeholder message if title is not defined
|
|
942
|
+
|
|
943
|
+
### `labels` (string, required)
|
|
944
|
+
|
|
945
|
+
Indicates placeholder message if labels for range or domain are not defined
|