@pie-element/charting 12.1.1-next.1 → 12.1.1-next.11
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
package/dist/author/configure.js
DELETED
|
@@ -1,205 +0,0 @@
|
|
|
1
|
-
import e from "./charting-config.js";
|
|
2
|
-
import t from "./correct-response.js";
|
|
3
|
-
import { applyConstraints as n, getGridValues as r, getLabelValues as i } from "./utils.js";
|
|
4
|
-
import a from "react";
|
|
5
|
-
import o from "prop-types";
|
|
6
|
-
import { styled as s } from "@mui/material/styles";
|
|
7
|
-
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
8
|
-
import { ConfigureChartPanel as u, chartTypes as d } from "@pie-lib/charting";
|
|
9
|
-
import f from "debug";
|
|
10
|
-
import { InputContainer as p, layout as ee, settings as m } from "@pie-lib/config-ui";
|
|
11
|
-
import h from "@mui/material/Typography";
|
|
12
|
-
import g from "@pie-lib/editable-html-tip-tap";
|
|
13
|
-
//#region src/author/configure.tsx
|
|
14
|
-
var _ = f("@pie-element:graphing:configure"), { Panel: te, toggle: v, radio: ne, dropdown: re, textField: ie } = m, y = s(p)(({ theme: e }) => ({
|
|
15
|
-
width: "100%",
|
|
16
|
-
paddingTop: e.spacing(2),
|
|
17
|
-
marginBottom: e.spacing(2)
|
|
18
|
-
})), b = s(h)(({ theme: e }) => ({ marginBottom: e.spacing(2.5) })), x = s("div")(({ theme: e }) => ({
|
|
19
|
-
fontSize: e.typography.fontSize - 2,
|
|
20
|
-
color: e.palette.error.main,
|
|
21
|
-
paddingTop: e.spacing(1)
|
|
22
|
-
})), S = [
|
|
23
|
-
d.Bar(),
|
|
24
|
-
d.Histogram(),
|
|
25
|
-
d.LineDot(),
|
|
26
|
-
d.LineCross(),
|
|
27
|
-
d.DotPlot(),
|
|
28
|
-
d.LinePlot()
|
|
29
|
-
], C = class extends a.Component {
|
|
30
|
-
static propTypes = {
|
|
31
|
-
onModelChanged: o.func,
|
|
32
|
-
onConfigurationChanged: o.func,
|
|
33
|
-
imageSupport: o.object,
|
|
34
|
-
uploadSoundSupport: o.object,
|
|
35
|
-
model: o.object.isRequired,
|
|
36
|
-
configuration: o.object.isRequired,
|
|
37
|
-
chartingOptions: o.object
|
|
38
|
-
};
|
|
39
|
-
constructor(e) {
|
|
40
|
-
super(e);
|
|
41
|
-
let { range: t = {}, graph: n } = e.model || {}, a = { range: r(t, n.height, !0) }, o = { range: i(t.step || 1) };
|
|
42
|
-
this.state = {
|
|
43
|
-
gridValues: a,
|
|
44
|
-
labelValues: o
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
onRationaleChange = (e) => this.props.onModelChanged({
|
|
48
|
-
...this.props.model,
|
|
49
|
-
rationale: e
|
|
50
|
-
});
|
|
51
|
-
onPromptChange = (e) => this.props.onModelChanged({
|
|
52
|
-
...this.props.model,
|
|
53
|
-
prompt: e
|
|
54
|
-
});
|
|
55
|
-
onTeacherInstructionsChange = (e) => this.props.onModelChanged({
|
|
56
|
-
...this.props.model,
|
|
57
|
-
teacherInstructions: e
|
|
58
|
-
});
|
|
59
|
-
onChartTypeChange = (e) => this.props.onModelChanged({
|
|
60
|
-
...this.props.model,
|
|
61
|
-
chartType: e
|
|
62
|
-
});
|
|
63
|
-
onConfigChange = (e) => {
|
|
64
|
-
let { model: t, onModelChanged: r } = this.props, { gridValues: i, labelValues: a } = this.state, o = {
|
|
65
|
-
...t,
|
|
66
|
-
...e
|
|
67
|
-
}, { graph: s, range: c } = o, l = {}, u = {}, d = n(c, s.height, i.range, a.range);
|
|
68
|
-
l.range = d.gridValues, u.range = d.labelValues, this.setState({
|
|
69
|
-
gridValues: l,
|
|
70
|
-
labelValues: u
|
|
71
|
-
}), r(o);
|
|
72
|
-
};
|
|
73
|
-
render() {
|
|
74
|
-
let { configuration: n, imageSupport: r, model: i, onConfigurationChanged: a, onModelChanged: o, uploadSoundSupport: s } = this.props;
|
|
75
|
-
_("[render] model", i);
|
|
76
|
-
let { graph: d } = i, { baseInputConfiguration: f = {}, contentDimensions: p = {}, chartDimensions: m = {}, authorNewCategoryDefaults: h = {}, labelsPlaceholders: C = {}, instruction: w = {}, maxImageWidth: T = {}, maxImageHeight: E = {}, prompt: D = {}, rationale: O = {}, scoringType: k = {}, settingsPanelDisabled: ae, spellCheck: A = {}, studentInstructions: j = {}, teacherInstructions: M = {}, titlePlaceholder: N = {}, withRubric: P = {}, chartingOptions: F = {}, availableChartTypes: I = {}, mathMlOptions: L = {}, chartTypeLabel: R, language: z = {}, languageChoices: B = {}, labelsCharactersLimit: V } = n || {}, { errors: H, extraCSSRules: U, promptEnabled: W, rationaleEnabled: G, spellCheckEnabled: K, teacherInstructionsEnabled: oe, studentNewCategoryDefaultLabel: q } = i || {}, { categoryErrors: se, correctAnswerErrors: ce, prompt: J, rationale: Y, teacherInstructions: X } = H || {}, { gridValues: le, labelValues: ue } = this.state, de = m.showInConfigPanel || !0, Z = T && T.prompt, Q = E && E.prompt, fe = {
|
|
77
|
-
changeInteractiveEnabled: F.changeInteractive?.settings && v(F.changeInteractive.settingsLabel),
|
|
78
|
-
changeEditableEnabled: F.changeEditable?.settings && v(F.changeEditable.settingsLabel),
|
|
79
|
-
changeAddCategoryEnabled: F.addCategory?.settings && v(F.addCategory.settingsLabel)
|
|
80
|
-
}, pe = {
|
|
81
|
-
teacherInstructionsEnabled: M.settings && v(M.label),
|
|
82
|
-
studentInstructionsEnabled: j.settings && v(j.label),
|
|
83
|
-
rationaleEnabled: O.settings && v(O.label),
|
|
84
|
-
spellCheckEnabled: A.settings && v(A.label),
|
|
85
|
-
promptEnabled: D.settings && v(D.label),
|
|
86
|
-
scoringType: k.settings && ne(k.label, ["all or nothing", "partial scoring"]),
|
|
87
|
-
rubricEnabled: P?.settings && v(P?.label),
|
|
88
|
-
"language.enabled": z.settings && v(z.label, !0),
|
|
89
|
-
language: z.settings && z.enabled && re(B.label, B.options),
|
|
90
|
-
instruction: w.settings && ie(w.label)
|
|
91
|
-
}, $ = (e = {}) => ({
|
|
92
|
-
...f,
|
|
93
|
-
...e
|
|
94
|
-
});
|
|
95
|
-
return /* @__PURE__ */ l(ee.ConfigLayout, {
|
|
96
|
-
extraCSSRules: U,
|
|
97
|
-
dimensions: p,
|
|
98
|
-
hideSettings: ae,
|
|
99
|
-
settings: /* @__PURE__ */ c(te, {
|
|
100
|
-
model: i,
|
|
101
|
-
configuration: n,
|
|
102
|
-
onChangeModel: o,
|
|
103
|
-
onChangeConfiguration: a,
|
|
104
|
-
groups: {
|
|
105
|
-
Settings: fe,
|
|
106
|
-
Properties: pe
|
|
107
|
-
}
|
|
108
|
-
}),
|
|
109
|
-
children: [
|
|
110
|
-
/* @__PURE__ */ c(b, {
|
|
111
|
-
component: "div",
|
|
112
|
-
type: "body1",
|
|
113
|
-
children: w?.label || ""
|
|
114
|
-
}),
|
|
115
|
-
oe && /* @__PURE__ */ l(y, {
|
|
116
|
-
label: M.label,
|
|
117
|
-
children: [/* @__PURE__ */ c(g, {
|
|
118
|
-
markup: i.teacherInstructions || "",
|
|
119
|
-
onChange: this.onTeacherInstructionsChange,
|
|
120
|
-
imageSupport: r,
|
|
121
|
-
nonEmpty: !1,
|
|
122
|
-
error: X,
|
|
123
|
-
spellCheck: K,
|
|
124
|
-
pluginProps: $(M?.inputConfiguration),
|
|
125
|
-
maxImageWidth: T && T.teacherInstructions || Z,
|
|
126
|
-
maxImageHeight: E && E.teacherInstructions || Q,
|
|
127
|
-
uploadSoundSupport: s,
|
|
128
|
-
languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
|
|
129
|
-
mathMlOptions: L
|
|
130
|
-
}), X && /* @__PURE__ */ c(x, { children: X })]
|
|
131
|
-
}),
|
|
132
|
-
W && /* @__PURE__ */ l(y, {
|
|
133
|
-
label: D.label,
|
|
134
|
-
children: [/* @__PURE__ */ c(g, {
|
|
135
|
-
markup: i.prompt,
|
|
136
|
-
onChange: this.onPromptChange,
|
|
137
|
-
imageSupport: r,
|
|
138
|
-
nonEmpty: !1,
|
|
139
|
-
error: J,
|
|
140
|
-
spellCheck: K,
|
|
141
|
-
disableUnderline: !0,
|
|
142
|
-
pluginProps: $(D?.inputConfiguration),
|
|
143
|
-
maxImageWidth: Z,
|
|
144
|
-
maxImageHeight: Q,
|
|
145
|
-
uploadSoundSupport: s,
|
|
146
|
-
languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
|
|
147
|
-
mathMlOptions: L
|
|
148
|
-
}), J && /* @__PURE__ */ c(x, { children: J })]
|
|
149
|
-
}),
|
|
150
|
-
/* @__PURE__ */ c(u, {
|
|
151
|
-
model: i,
|
|
152
|
-
onChange: this.onConfigChange,
|
|
153
|
-
gridValues: le,
|
|
154
|
-
labelValues: ue,
|
|
155
|
-
chartDimensions: m,
|
|
156
|
-
charts: S,
|
|
157
|
-
studentNewCategoryDefaultLabel: q,
|
|
158
|
-
availableChartTypes: I,
|
|
159
|
-
chartTypeLabel: R
|
|
160
|
-
}),
|
|
161
|
-
/* @__PURE__ */ c(e, {
|
|
162
|
-
model: i,
|
|
163
|
-
onChange: o,
|
|
164
|
-
charts: S,
|
|
165
|
-
labelsPlaceholders: C,
|
|
166
|
-
titlePlaceholder: N,
|
|
167
|
-
showPixelGuides: de,
|
|
168
|
-
authorNewCategoryDefaults: h,
|
|
169
|
-
chartingOptions: F,
|
|
170
|
-
mathMlOptions: L,
|
|
171
|
-
labelsCharactersLimit: V
|
|
172
|
-
}),
|
|
173
|
-
/* @__PURE__ */ c(t, {
|
|
174
|
-
config: d,
|
|
175
|
-
model: i,
|
|
176
|
-
onChange: o,
|
|
177
|
-
charts: S,
|
|
178
|
-
error: se,
|
|
179
|
-
correctAnswerErrors: ce,
|
|
180
|
-
studentNewCategoryDefaultLabel: q,
|
|
181
|
-
mathMlOptions: L,
|
|
182
|
-
labelsPlaceholders: C
|
|
183
|
-
}),
|
|
184
|
-
G && /* @__PURE__ */ l(y, {
|
|
185
|
-
label: O.label || "Rationale",
|
|
186
|
-
children: [/* @__PURE__ */ c(g, {
|
|
187
|
-
markup: i.rationale || "",
|
|
188
|
-
onChange: this.onRationaleChange,
|
|
189
|
-
imageSupport: r,
|
|
190
|
-
error: Y,
|
|
191
|
-
spellCheck: K,
|
|
192
|
-
pluginProps: $(O?.inputConfiguration),
|
|
193
|
-
maxImageWidth: T && T.rationale || Z,
|
|
194
|
-
maxImageHeight: E && E.rationale || Q,
|
|
195
|
-
uploadSoundSupport: s,
|
|
196
|
-
languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
|
|
197
|
-
mathMlOptions: L
|
|
198
|
-
}), Y && /* @__PURE__ */ c(x, { children: Y })]
|
|
199
|
-
})
|
|
200
|
-
]
|
|
201
|
-
});
|
|
202
|
-
}
|
|
203
|
-
};
|
|
204
|
-
//#endregion
|
|
205
|
-
export { C as default };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @synced-from pie-elements/packages/charting/configure/src/correct-response.jsx
|
|
3
|
-
* @auto-generated
|
|
4
|
-
*
|
|
5
|
-
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
-
* Manual edits will be overwritten on next sync.
|
|
7
|
-
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
-
*/
|
|
9
|
-
import * as React from 'react';
|
|
10
|
-
import PropTypes from 'prop-types';
|
|
11
|
-
export declare const getUpdatedCategories: (nextProps: any, prevProps: any, prevState: any) => any;
|
|
12
|
-
export declare class CorrectResponse extends React.Component {
|
|
13
|
-
static propTypes: {
|
|
14
|
-
correctAnswerErrors: PropTypes.Requireable<object>;
|
|
15
|
-
studentNewCategoryDefaultLabel: PropTypes.Requireable<string>;
|
|
16
|
-
model: PropTypes.Validator<object>;
|
|
17
|
-
onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
18
|
-
charts: PropTypes.Requireable<any[]>;
|
|
19
|
-
error: PropTypes.Requireable<string>;
|
|
20
|
-
};
|
|
21
|
-
constructor(props: any);
|
|
22
|
-
changeData: any;
|
|
23
|
-
componentDidMount(): void;
|
|
24
|
-
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
25
|
-
render(): React.JSX.Element;
|
|
26
|
-
}
|
|
27
|
-
export default CorrectResponse;
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import e from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js";
|
|
2
|
-
import t from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js";
|
|
3
|
-
import * as n from "react";
|
|
4
|
-
import r from "prop-types";
|
|
5
|
-
import { styled as i } from "@mui/material/styles";
|
|
6
|
-
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
7
|
-
import { Chart as s } from "@pie-lib/charting";
|
|
8
|
-
import c from "@mui/material/Typography";
|
|
9
|
-
//#region src/author/correct-response.tsx
|
|
10
|
-
var l = i("div")(({ theme: e }) => ({
|
|
11
|
-
marginBottom: e.spacing(2.5),
|
|
12
|
-
display: "flex",
|
|
13
|
-
flex: 1
|
|
14
|
-
})), u = i("div")({ flex: 1 }), d = i("div")(({ theme: e }) => ({ border: `2px solid ${e.palette.error.main}` })), f = i(c)(({ theme: e }) => ({
|
|
15
|
-
fontSize: e.typography.fontSize - 2,
|
|
16
|
-
color: e.palette.error.main,
|
|
17
|
-
paddingTop: e.spacing(1)
|
|
18
|
-
})), p = i("div")(({ theme: e }) => ({ marginBottom: e.spacing(1) })), m = (e, t) => e.map((e, n) => ({
|
|
19
|
-
...e,
|
|
20
|
-
editable: n < t.length ? t[n].editable : !0,
|
|
21
|
-
interactive: n < t.length ? t[n].interactive : !0,
|
|
22
|
-
deletable: n >= t.length
|
|
23
|
-
})), h = (e, t) => {
|
|
24
|
-
if (!e) return t;
|
|
25
|
-
let n = [...e], r = [];
|
|
26
|
-
if ((t || []).forEach((t, n) => {
|
|
27
|
-
let i = t.editable, a = t.interactive;
|
|
28
|
-
r[n] = {
|
|
29
|
-
label: i && e[n]?.label ? e[n].label : t.label,
|
|
30
|
-
value: a && e[n]?.value || a && e[n]?.value == 0 ? e[n].value : t.value,
|
|
31
|
-
editable: t.editable,
|
|
32
|
-
interactive: t.interactive
|
|
33
|
-
};
|
|
34
|
-
}), r.length < e.length) {
|
|
35
|
-
let i = (n || []).slice(r.length, e.length);
|
|
36
|
-
return m((r || []).concat(i), t);
|
|
37
|
-
}
|
|
38
|
-
return r;
|
|
39
|
-
}, g = (e, t) => {
|
|
40
|
-
let n = t.length - 1, { editable: r, interactive: i, deletable: a, ...o } = t[t.length - 1];
|
|
41
|
-
return (e || []).splice(n, 0, o), m([...e], t);
|
|
42
|
-
}, _ = (e, t, n) => ((e || []).splice(n, 1), m([...e], t)), v = (t, n, r) => {
|
|
43
|
-
let i = t && t.model && t.model.data || [], a = n && n.model && n.model.data || [], o = e(t && t.model && t.model.correctAnswer && t.model.correctAnswer.data || []), s = e(r ? r.categories : []), c = [];
|
|
44
|
-
if (i.length > a.length) return c = g(o, i), c;
|
|
45
|
-
if (i.length < a.length) {
|
|
46
|
-
let e = i.length;
|
|
47
|
-
for (let t = 0; t < i.length; t++) if (i[t].index !== t) {
|
|
48
|
-
e = t;
|
|
49
|
-
break;
|
|
50
|
-
}
|
|
51
|
-
return c = _(s, i, e), c;
|
|
52
|
-
}
|
|
53
|
-
return c = h(o, i), c;
|
|
54
|
-
}, y = class extends n.Component {
|
|
55
|
-
static propTypes = {
|
|
56
|
-
correctAnswerErrors: r.object,
|
|
57
|
-
studentNewCategoryDefaultLabel: r.string,
|
|
58
|
-
model: r.object.isRequired,
|
|
59
|
-
onChange: r.func.isRequired,
|
|
60
|
-
charts: r.array,
|
|
61
|
-
error: r.string
|
|
62
|
-
};
|
|
63
|
-
constructor(e) {
|
|
64
|
-
super(e), this.state = { categories: [] };
|
|
65
|
-
}
|
|
66
|
-
changeData = (e) => {
|
|
67
|
-
let { model: t, onChange: n } = this.props, { correctAnswer: r } = t || {};
|
|
68
|
-
n({
|
|
69
|
-
...t,
|
|
70
|
-
correctAnswer: {
|
|
71
|
-
...r,
|
|
72
|
-
data: e.map(({ interactive: e, editable: t, index: n, ...r }) => r)
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
};
|
|
76
|
-
componentDidMount() {
|
|
77
|
-
let e = v(this.props, this.props, null);
|
|
78
|
-
this.setState({ categories: e || h(this.props.model.correctAnswer.data, this.props.model.data) });
|
|
79
|
-
}
|
|
80
|
-
componentDidUpdate(e, n) {
|
|
81
|
-
let r = v(this.props, e, n);
|
|
82
|
-
r && !t(r, this.state.categories) && (this.changeData(r), this.setState({ categories: r }));
|
|
83
|
-
}
|
|
84
|
-
render() {
|
|
85
|
-
let { model: e, charts: t, error: n, studentNewCategoryDefaultLabel: r, correctAnswerErrors: i, mathMlOptions: m = {}, labelsPlaceholders: h = {} } = this.props, { categories: g } = this.state, { domain: _ = {}, range: v = {} } = e || {}, { identicalError: y, categoriesError: b } = i || {};
|
|
86
|
-
return /* @__PURE__ */ o("div", { children: [/* @__PURE__ */ a(p, { children: "Define Correct Response" }), /* @__PURE__ */ a(l, { children: /* @__PURE__ */ o(u, { children: [
|
|
87
|
-
/* @__PURE__ */ a(c, {
|
|
88
|
-
component: "div",
|
|
89
|
-
type: "body1",
|
|
90
|
-
children: /* @__PURE__ */ a("span", { children: "Use the tools below to define the correct answer." })
|
|
91
|
-
}),
|
|
92
|
-
a(y || b ? d : "div", { children: /* @__PURE__ */ a(s, {
|
|
93
|
-
chartType: e.chartType,
|
|
94
|
-
size: e.graph,
|
|
95
|
-
domain: _,
|
|
96
|
-
range: v,
|
|
97
|
-
charts: t,
|
|
98
|
-
data: g,
|
|
99
|
-
title: e.title,
|
|
100
|
-
onDataChange: this.changeData,
|
|
101
|
-
addCategoryEnabled: e.addCategoryEnabled,
|
|
102
|
-
categoryDefaultLabel: r,
|
|
103
|
-
error: n,
|
|
104
|
-
mathMlOptions: m,
|
|
105
|
-
labelsPlaceholders: h
|
|
106
|
-
}) }, `correct-response-graph-${e.correctAnswer.name}`),
|
|
107
|
-
(y || b) && /* @__PURE__ */ a(f, {
|
|
108
|
-
component: "div",
|
|
109
|
-
type: "body1",
|
|
110
|
-
children: /* @__PURE__ */ a("span", { children: y || b })
|
|
111
|
-
})
|
|
112
|
-
] }, "graph") })] });
|
|
113
|
-
}
|
|
114
|
-
};
|
|
115
|
-
//#endregion
|
|
116
|
-
export { y as default };
|
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @synced-from pie-elements/packages/charting/configure/src/defaults.js
|
|
3
|
-
* @auto-generated
|
|
4
|
-
*
|
|
5
|
-
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
-
* Manual edits will be overwritten on next sync.
|
|
7
|
-
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* NOTE: There's no functionality described for graphTitle,
|
|
11
|
-
* rationale, scoringType, studentInstructions, teacherInstructions
|
|
12
|
-
* so there's no implementation (they are only added in model)
|
|
13
|
-
*/
|
|
14
|
-
declare const _default: {
|
|
15
|
-
model: {
|
|
16
|
-
addCategoryEnabled: boolean;
|
|
17
|
-
changeAddCategoryEnabled: boolean;
|
|
18
|
-
changeEditableEnabled: boolean;
|
|
19
|
-
changeInteractiveEnabled: boolean;
|
|
20
|
-
chartType: string;
|
|
21
|
-
correctAnswer: {};
|
|
22
|
-
data: never[];
|
|
23
|
-
domain: {};
|
|
24
|
-
graph: {
|
|
25
|
-
width: number;
|
|
26
|
-
height: number;
|
|
27
|
-
};
|
|
28
|
-
prompt: string;
|
|
29
|
-
promptEnabled: boolean;
|
|
30
|
-
range: {
|
|
31
|
-
label: string;
|
|
32
|
-
max: number;
|
|
33
|
-
min: number;
|
|
34
|
-
labelStep: number;
|
|
35
|
-
};
|
|
36
|
-
rationale: string;
|
|
37
|
-
rationaleEnabled: boolean;
|
|
38
|
-
scoringType: string;
|
|
39
|
-
studentInstructionsEnabled: boolean;
|
|
40
|
-
studentNewCategoryDefaultLabel: string;
|
|
41
|
-
teacherInstructions: string;
|
|
42
|
-
teacherInstructionsEnabled: boolean;
|
|
43
|
-
title: string;
|
|
44
|
-
};
|
|
45
|
-
configuration: {
|
|
46
|
-
baseInputConfiguration: {
|
|
47
|
-
h3: {
|
|
48
|
-
disabled: boolean;
|
|
49
|
-
};
|
|
50
|
-
audio: {
|
|
51
|
-
disabled: boolean;
|
|
52
|
-
};
|
|
53
|
-
video: {
|
|
54
|
-
disabled: boolean;
|
|
55
|
-
};
|
|
56
|
-
image: {
|
|
57
|
-
disabled: boolean;
|
|
58
|
-
};
|
|
59
|
-
textAlign: {
|
|
60
|
-
disabled: boolean;
|
|
61
|
-
};
|
|
62
|
-
showParagraphs: {
|
|
63
|
-
disabled: boolean;
|
|
64
|
-
};
|
|
65
|
-
separateParagraphs: {
|
|
66
|
-
disabled: boolean;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
spellCheck: {
|
|
70
|
-
label: string;
|
|
71
|
-
settings: boolean;
|
|
72
|
-
enabled: boolean;
|
|
73
|
-
};
|
|
74
|
-
chartDimensions: {
|
|
75
|
-
settings: boolean;
|
|
76
|
-
label: string;
|
|
77
|
-
showInConfigPanel: boolean;
|
|
78
|
-
width: {
|
|
79
|
-
min: number;
|
|
80
|
-
max: number;
|
|
81
|
-
step: number;
|
|
82
|
-
};
|
|
83
|
-
height: {
|
|
84
|
-
min: number;
|
|
85
|
-
max: number;
|
|
86
|
-
step: number;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
authorNewCategoryDefaults: {
|
|
90
|
-
settings: boolean;
|
|
91
|
-
label: string;
|
|
92
|
-
interactive: boolean;
|
|
93
|
-
editable: boolean;
|
|
94
|
-
};
|
|
95
|
-
availableChartTypes: {
|
|
96
|
-
bar: string;
|
|
97
|
-
histogram: string;
|
|
98
|
-
lineDot: string;
|
|
99
|
-
lineCross: string;
|
|
100
|
-
dotPlot: string;
|
|
101
|
-
linePlot: string;
|
|
102
|
-
};
|
|
103
|
-
chartTypeLabel: string;
|
|
104
|
-
studentNewCategoryDefaultLabel: {
|
|
105
|
-
settings: boolean;
|
|
106
|
-
label: string;
|
|
107
|
-
};
|
|
108
|
-
prompt: {
|
|
109
|
-
settings: boolean;
|
|
110
|
-
label: string;
|
|
111
|
-
required: boolean;
|
|
112
|
-
inputConfiguration: {
|
|
113
|
-
audio: {
|
|
114
|
-
disabled: boolean;
|
|
115
|
-
};
|
|
116
|
-
video: {
|
|
117
|
-
disabled: boolean;
|
|
118
|
-
};
|
|
119
|
-
image: {
|
|
120
|
-
disabled: boolean;
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
};
|
|
124
|
-
rationale: {
|
|
125
|
-
settings: boolean;
|
|
126
|
-
label: string;
|
|
127
|
-
required: boolean;
|
|
128
|
-
inputConfiguration: {
|
|
129
|
-
audio: {
|
|
130
|
-
disabled: boolean;
|
|
131
|
-
};
|
|
132
|
-
video: {
|
|
133
|
-
disabled: boolean;
|
|
134
|
-
};
|
|
135
|
-
image: {
|
|
136
|
-
disabled: boolean;
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
};
|
|
140
|
-
scoringType: {
|
|
141
|
-
settings: boolean;
|
|
142
|
-
label: string;
|
|
143
|
-
};
|
|
144
|
-
settingsPanelDisabled: boolean;
|
|
145
|
-
studentInstructions: {
|
|
146
|
-
settings: boolean;
|
|
147
|
-
label: string;
|
|
148
|
-
};
|
|
149
|
-
teacherInstructions: {
|
|
150
|
-
settings: boolean;
|
|
151
|
-
label: string;
|
|
152
|
-
required: boolean;
|
|
153
|
-
inputConfiguration: {
|
|
154
|
-
audio: {
|
|
155
|
-
disabled: boolean;
|
|
156
|
-
};
|
|
157
|
-
video: {
|
|
158
|
-
disabled: boolean;
|
|
159
|
-
};
|
|
160
|
-
image: {
|
|
161
|
-
disabled: boolean;
|
|
162
|
-
};
|
|
163
|
-
};
|
|
164
|
-
};
|
|
165
|
-
title: {
|
|
166
|
-
settings: boolean;
|
|
167
|
-
label: string;
|
|
168
|
-
};
|
|
169
|
-
instruction: {
|
|
170
|
-
settings: boolean;
|
|
171
|
-
label: string;
|
|
172
|
-
};
|
|
173
|
-
titlePlaceholder: {
|
|
174
|
-
settings: boolean;
|
|
175
|
-
label: string;
|
|
176
|
-
};
|
|
177
|
-
labelsPlaceholders: {
|
|
178
|
-
left: string;
|
|
179
|
-
right: string;
|
|
180
|
-
top: string;
|
|
181
|
-
bottom: string;
|
|
182
|
-
};
|
|
183
|
-
maxImageWidth: {
|
|
184
|
-
teacherInstructions: number;
|
|
185
|
-
prompt: number;
|
|
186
|
-
rationale: number;
|
|
187
|
-
};
|
|
188
|
-
maxImageHeight: {
|
|
189
|
-
teacherInstructions: number;
|
|
190
|
-
prompt: number;
|
|
191
|
-
rationale: number;
|
|
192
|
-
};
|
|
193
|
-
withRubric: {
|
|
194
|
-
settings: boolean;
|
|
195
|
-
label: string;
|
|
196
|
-
};
|
|
197
|
-
language: {
|
|
198
|
-
settings: boolean;
|
|
199
|
-
label: string;
|
|
200
|
-
enabled: boolean;
|
|
201
|
-
};
|
|
202
|
-
languageChoices: {
|
|
203
|
-
label: string;
|
|
204
|
-
options: never[];
|
|
205
|
-
};
|
|
206
|
-
chartingOptions: {
|
|
207
|
-
changeInteractive: {
|
|
208
|
-
settings: boolean;
|
|
209
|
-
authoringLabel: string;
|
|
210
|
-
settingsLabel: string;
|
|
211
|
-
};
|
|
212
|
-
changeEditable: {
|
|
213
|
-
settings: boolean;
|
|
214
|
-
authoringLabel: string;
|
|
215
|
-
settingsLabel: string;
|
|
216
|
-
};
|
|
217
|
-
addCategory: {
|
|
218
|
-
settings: boolean;
|
|
219
|
-
authoringLabel: string;
|
|
220
|
-
settingsLabel: string;
|
|
221
|
-
};
|
|
222
|
-
mathMlOptions: {
|
|
223
|
-
mmlOutput: boolean;
|
|
224
|
-
mmlEditing: boolean;
|
|
225
|
-
};
|
|
226
|
-
};
|
|
227
|
-
};
|
|
228
|
-
};
|
|
229
|
-
export default _default;
|