@pie-element/fraction-model 6.1.1-next.11 → 6.1.2-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/configure.js +2 -0
- package/controller.js +1 -0
- package/dist/author/card-bar.d.ts +20 -0
- package/dist/author/card-bar.js +40 -0
- package/dist/author/defaults.d.ts +113 -0
- package/dist/author/defaults.js +84 -0
- package/dist/author/index.d.ts +44 -0
- package/dist/author/index.js +88 -0
- package/dist/author/main.d.ts +25 -0
- package/dist/author/main.js +156 -0
- package/dist/author/model-options.d.ts +32 -0
- package/dist/author/model-options.js +85 -0
- package/dist/author/number-text-field.d.ts +15 -0
- package/dist/author/number-text-field.js +24 -0
- package/dist/browser/author/index.js +37287 -0
- package/dist/browser/author/index.js.map +1 -0
- package/dist/browser/controller/index.js +78 -0
- package/dist/browser/controller/index.js.map +1 -0
- package/dist/browser/delivery/index.js +2 -0
- package/dist/browser/delivery-BSG67wbh.js +28213 -0
- package/dist/browser/delivery-BSG67wbh.js.map +1 -0
- package/dist/browser/fraction-model.css +2 -0
- package/dist/browser/isEmpty-Cj-5W3cl.js +16 -0
- package/dist/browser/isEmpty-Cj-5W3cl.js.map +1 -0
- package/dist/browser/isTypedArray-yL07_GBh.js +171 -0
- package/dist/browser/isTypedArray-yL07_GBh.js.map +1 -0
- package/dist/controller/defaults.d.ts +21 -0
- package/dist/controller/defaults.js +13 -0
- package/dist/controller/index.d.ts +23 -0
- package/dist/controller/index.js +68 -0
- package/dist/delivery/answer-fraction.d.ts +27 -0
- package/dist/delivery/answer-fraction.js +69 -0
- package/dist/delivery/fraction-model-chart.d.ts +11 -0
- package/dist/delivery/fraction-model-chart.js +154 -0
- package/dist/delivery/index.d.ts +22 -0
- package/dist/delivery/index.js +54 -0
- package/dist/delivery/main.d.ts +38 -0
- package/dist/delivery/main.js +136 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.iife.d.ts +8 -0
- package/dist/index.iife.js +179 -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 +79 -19
- package/CHANGELOG.json +0 -1
- package/CHANGELOG.md +0 -584
- package/LICENSE.md +0 -5
- package/README.md +0 -18
- package/configure/CHANGELOG.json +0 -1
- package/configure/CHANGELOG.md +0 -549
- package/configure/lib/card-bar.js +0 -57
- package/configure/lib/card-bar.js.map +0 -1
- package/configure/lib/defaults.js +0 -114
- package/configure/lib/defaults.js.map +0 -1
- package/configure/lib/index.js +0 -163
- package/configure/lib/index.js.map +0 -1
- package/configure/lib/main.js +0 -253
- package/configure/lib/main.js.map +0 -1
- package/configure/lib/model-options.js +0 -144
- package/configure/lib/model-options.js.map +0 -1
- package/configure/lib/number-text-field.js +0 -47
- package/configure/lib/number-text-field.js.map +0 -1
- package/configure/package.json +0 -24
- package/controller/CHANGELOG.json +0 -1
- package/controller/CHANGELOG.md +0 -476
- package/controller/lib/defaults.js +0 -20
- package/controller/lib/defaults.js.map +0 -1
- package/controller/lib/index.js +0 -215
- package/controller/lib/index.js.map +0 -1
- package/controller/package.json +0 -15
- package/docs/config-schema.json +0 -1796
- package/docs/config-schema.json.md +0 -1318
- package/docs/demo/config.js +0 -8
- package/docs/demo/generate.js +0 -6
- package/docs/demo/index.html +0 -1
- package/docs/demo/session.js +0 -6
- package/docs/pie-schema.json +0 -873
- package/docs/pie-schema.json.md +0 -639
- package/lib/answer-fraction.js +0 -109
- package/lib/answer-fraction.js.map +0 -1
- package/lib/fraction-model-chart.js +0 -279
- package/lib/fraction-model-chart.js.map +0 -1
- package/lib/index.js +0 -91
- package/lib/index.js.map +0 -1
- package/lib/main.js +0 -203
- package/lib/main.js.map +0 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { a as e, g as t, i as n, l as r, o as i, s as a, t as o, v as s } from "./isTypedArray-yL07_GBh.js";
|
|
2
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js
|
|
3
|
+
var c = "[object Map]", l = "[object Set]", u = Object.prototype.hasOwnProperty;
|
|
4
|
+
function d(d) {
|
|
5
|
+
if (d == null) return !0;
|
|
6
|
+
if (e(d) && (i(d) || typeof d == "string" || typeof d.splice == "function" || n(d) || o(d) || a(d))) return !d.length;
|
|
7
|
+
var f = r(d);
|
|
8
|
+
if (f == c || f == l) return !d.size;
|
|
9
|
+
if (s(d)) return !t(d).length;
|
|
10
|
+
for (var p in d) if (u.call(d, p)) return !1;
|
|
11
|
+
return !0;
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
export { d as t };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=isEmpty-Cj-5W3cl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isEmpty-Cj-5W3cl.js","names":["getTag"],"sources":["../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js"],"sourcesContent":["import baseKeys from './_baseKeys.js';\nimport getTag from './_getTag.js';\nimport isArguments from './isArguments.js';\nimport isArray from './isArray.js';\nimport isArrayLike from './isArrayLike.js';\nimport isBuffer from './isBuffer.js';\nimport isPrototype from './_isPrototype.js';\nimport isTypedArray from './isTypedArray.js';\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n setTag = '[object Set]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if `value` is an empty object, collection, map, or set.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n *\n * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n * jQuery-like collections are considered empty if they have a `length` of `0`.\n * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\nfunction isEmpty(value) {\n if (value == null) {\n return true;\n }\n if (isArrayLike(value) &&\n (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n return !value.length;\n }\n var tag = getTag(value);\n if (tag == mapTag || tag == setTag) {\n return !value.size;\n }\n if (isPrototype(value)) {\n return !baseKeys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n}\n\nexport default isEmpty;\n"],"x_google_ignoreList":[0],"mappings":";;AAUA,IAAI,IAAS,gBACT,IAAS,gBAMT,IAHc,OAAO,UAGQ;AAmCjC,SAAS,EAAQ,GAAO;CACtB,IAAI,KAAS,MACX,OAAO;CAET,IAAI,EAAY,CAAK,MAChB,EAAQ,CAAK,KAAK,OAAO,KAAS,YAAY,OAAO,EAAM,UAAU,cACpE,EAAS,CAAK,KAAK,EAAa,CAAK,KAAK,EAAY,CAAK,IAC/D,OAAO,CAAC,EAAM;CAEhB,IAAI,IAAMA,EAAO,CAAK;CACtB,IAAI,KAAO,KAAU,KAAO,GAC1B,OAAO,CAAC,EAAM;CAEhB,IAAI,EAAY,CAAK,GACnB,OAAO,CAAC,EAAS,CAAK,EAAE;CAE1B,KAAK,IAAI,KAAO,GACd,IAAI,EAAe,KAAK,GAAO,CAAG,GAChC,OAAO;CAGX,OAAO;AACT"}
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js
|
|
2
|
+
var e = Object.prototype;
|
|
3
|
+
function t(t) {
|
|
4
|
+
var n = t && t.constructor;
|
|
5
|
+
return t === (typeof n == "function" && n.prototype || e);
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js
|
|
9
|
+
function n(e, t) {
|
|
10
|
+
return function(n) {
|
|
11
|
+
return e(t(n));
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js
|
|
16
|
+
var r = n(Object.keys, Object), i = Object.prototype.hasOwnProperty;
|
|
17
|
+
function a(e) {
|
|
18
|
+
if (!t(e)) return r(e);
|
|
19
|
+
var n = [];
|
|
20
|
+
for (var a in Object(e)) i.call(e, a) && a != "constructor" && n.push(a);
|
|
21
|
+
return n;
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js
|
|
25
|
+
var o = typeof global == "object" && global && global.Object === Object && global, ee = typeof self == "object" && self && self.Object === Object && self, s = o || ee || Function("return this")(), c = s.Symbol, l = Object.prototype, te = l.hasOwnProperty, ne = l.toString, u = c ? c.toStringTag : void 0;
|
|
26
|
+
function d(e) {
|
|
27
|
+
var t = te.call(e, u), n = e[u];
|
|
28
|
+
try {
|
|
29
|
+
e[u] = void 0;
|
|
30
|
+
var r = !0;
|
|
31
|
+
} catch {}
|
|
32
|
+
var i = ne.call(e);
|
|
33
|
+
return r && (t ? e[u] = n : delete e[u]), i;
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js
|
|
37
|
+
var f = Object.prototype.toString;
|
|
38
|
+
function p(e) {
|
|
39
|
+
return f.call(e);
|
|
40
|
+
}
|
|
41
|
+
//#endregion
|
|
42
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
|
|
43
|
+
var re = "[object Null]", ie = "[object Undefined]", m = c ? c.toStringTag : void 0;
|
|
44
|
+
function h(e) {
|
|
45
|
+
return e == null ? e === void 0 ? ie : re : m && m in Object(e) ? d(e) : p(e);
|
|
46
|
+
}
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js
|
|
49
|
+
function g(e) {
|
|
50
|
+
var t = typeof e;
|
|
51
|
+
return e != null && (t == "object" || t == "function");
|
|
52
|
+
}
|
|
53
|
+
//#endregion
|
|
54
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
|
|
55
|
+
var ae = "[object AsyncFunction]", _ = "[object Function]", v = "[object GeneratorFunction]", y = "[object Proxy]";
|
|
56
|
+
function b(e) {
|
|
57
|
+
if (!g(e)) return !1;
|
|
58
|
+
var t = h(e);
|
|
59
|
+
return t == _ || t == v || t == ae || t == y;
|
|
60
|
+
}
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js
|
|
63
|
+
var x = s["__core-js_shared__"], S = function() {
|
|
64
|
+
var e = /[^.]+$/.exec(x && x.keys && x.keys.IE_PROTO || "");
|
|
65
|
+
return e ? "Symbol(src)_1." + e : "";
|
|
66
|
+
}();
|
|
67
|
+
function oe(e) {
|
|
68
|
+
return !!S && S in e;
|
|
69
|
+
}
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js
|
|
72
|
+
var se = Function.prototype.toString;
|
|
73
|
+
function C(e) {
|
|
74
|
+
if (e != null) {
|
|
75
|
+
try {
|
|
76
|
+
return se.call(e);
|
|
77
|
+
} catch {}
|
|
78
|
+
try {
|
|
79
|
+
return e + "";
|
|
80
|
+
} catch {}
|
|
81
|
+
}
|
|
82
|
+
return "";
|
|
83
|
+
}
|
|
84
|
+
//#endregion
|
|
85
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js
|
|
86
|
+
var ce = /[\\^$.*+?()[\]{}|]/g, le = /^\[object .+?Constructor\]$/, ue = Function.prototype, de = Object.prototype, fe = ue.toString, pe = de.hasOwnProperty, me = RegExp("^" + fe.call(pe).replace(ce, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
|
|
87
|
+
function he(e) {
|
|
88
|
+
return !g(e) || oe(e) ? !1 : (b(e) ? me : le).test(C(e));
|
|
89
|
+
}
|
|
90
|
+
//#endregion
|
|
91
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js
|
|
92
|
+
function ge(e, t) {
|
|
93
|
+
return e?.[t];
|
|
94
|
+
}
|
|
95
|
+
//#endregion
|
|
96
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js
|
|
97
|
+
function w(e, t) {
|
|
98
|
+
var n = ge(e, t);
|
|
99
|
+
return he(n) ? n : void 0;
|
|
100
|
+
}
|
|
101
|
+
//#endregion
|
|
102
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js
|
|
103
|
+
var T = w(s, "DataView"), E = w(s, "Map"), D = w(s, "Promise"), O = w(s, "Set"), k = w(s, "WeakMap"), A = "[object Map]", j = "[object Object]", M = "[object Promise]", N = "[object Set]", P = "[object WeakMap]", F = "[object DataView]", I = C(T), L = C(E), _e = C(D), ve = C(O), ye = C(k), R = h;
|
|
104
|
+
(T && R(new T(/* @__PURE__ */ new ArrayBuffer(1))) != F || E && R(new E()) != A || D && R(D.resolve()) != M || O && R(new O()) != N || k && R(new k()) != P) && (R = function(e) {
|
|
105
|
+
var t = h(e), n = t == j ? e.constructor : void 0, r = n ? C(n) : "";
|
|
106
|
+
if (r) switch (r) {
|
|
107
|
+
case I: return F;
|
|
108
|
+
case L: return A;
|
|
109
|
+
case _e: return M;
|
|
110
|
+
case ve: return N;
|
|
111
|
+
case ye: return P;
|
|
112
|
+
}
|
|
113
|
+
return t;
|
|
114
|
+
});
|
|
115
|
+
var be = R;
|
|
116
|
+
//#endregion
|
|
117
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js
|
|
118
|
+
function z(e) {
|
|
119
|
+
return typeof e == "object" && !!e;
|
|
120
|
+
}
|
|
121
|
+
//#endregion
|
|
122
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js
|
|
123
|
+
var xe = "[object Arguments]";
|
|
124
|
+
function B(e) {
|
|
125
|
+
return z(e) && h(e) == xe;
|
|
126
|
+
}
|
|
127
|
+
//#endregion
|
|
128
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js
|
|
129
|
+
var V = Object.prototype, Se = V.hasOwnProperty, Ce = V.propertyIsEnumerable, we = B(function() {
|
|
130
|
+
return arguments;
|
|
131
|
+
}()) ? B : function(e) {
|
|
132
|
+
return z(e) && Se.call(e, "callee") && !Ce.call(e, "callee");
|
|
133
|
+
}, Te = Array.isArray, Ee = 9007199254740991;
|
|
134
|
+
function H(e) {
|
|
135
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Ee;
|
|
136
|
+
}
|
|
137
|
+
//#endregion
|
|
138
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js
|
|
139
|
+
function De(e) {
|
|
140
|
+
return e != null && H(e.length) && !b(e);
|
|
141
|
+
}
|
|
142
|
+
//#endregion
|
|
143
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js
|
|
144
|
+
function Oe() {
|
|
145
|
+
return !1;
|
|
146
|
+
}
|
|
147
|
+
//#endregion
|
|
148
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js
|
|
149
|
+
var U = typeof exports == "object" && exports && !exports.nodeType && exports, W = U && typeof module == "object" && module && !module.nodeType && module, G = W && W.exports === U ? s.Buffer : void 0, ke = (G ? G.isBuffer : void 0) || Oe, Ae = "[object Arguments]", je = "[object Array]", Me = "[object Boolean]", Ne = "[object Date]", Pe = "[object Error]", Fe = "[object Function]", Ie = "[object Map]", Le = "[object Number]", Re = "[object Object]", ze = "[object RegExp]", Be = "[object Set]", Ve = "[object String]", He = "[object WeakMap]", Ue = "[object ArrayBuffer]", We = "[object DataView]", Ge = "[object Float32Array]", Ke = "[object Float64Array]", qe = "[object Int8Array]", Je = "[object Int16Array]", K = "[object Int32Array]", Ye = "[object Uint8Array]", Xe = "[object Uint8ClampedArray]", Ze = "[object Uint16Array]", Qe = "[object Uint32Array]", q = {};
|
|
150
|
+
q[Ge] = q[Ke] = q[qe] = q[Je] = q[K] = q[Ye] = q[Xe] = q[Ze] = q[Qe] = !0, q[Ae] = q[je] = q[Ue] = q[Me] = q[We] = q[Ne] = q[Pe] = q[Fe] = q[Ie] = q[Le] = q[Re] = q[ze] = q[Be] = q[Ve] = q[He] = !1;
|
|
151
|
+
function $e(e) {
|
|
152
|
+
return z(e) && H(e.length) && !!q[h(e)];
|
|
153
|
+
}
|
|
154
|
+
//#endregion
|
|
155
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js
|
|
156
|
+
function J(e) {
|
|
157
|
+
return function(t) {
|
|
158
|
+
return e(t);
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
//#endregion
|
|
162
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js
|
|
163
|
+
var Y = typeof exports == "object" && exports && !exports.nodeType && exports, X = Y && typeof module == "object" && module && !module.nodeType && module, Z = X && X.exports === Y && o.process, Q = function() {
|
|
164
|
+
try {
|
|
165
|
+
return X && X.require && X.require("util").types || Z && Z.binding && Z.binding("util");
|
|
166
|
+
} catch {}
|
|
167
|
+
}(), $ = Q && Q.isTypedArray, et = $ ? J($) : $e;
|
|
168
|
+
//#endregion
|
|
169
|
+
export { n as _, De as a, z as c, w as d, g as f, a as g, s as h, ke as i, be as l, c as m, Q as n, Te as o, h as p, J as r, we as s, et as t, E as u, t as v };
|
|
170
|
+
|
|
171
|
+
//# sourceMappingURL=isTypedArray-yL07_GBh.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isTypedArray-yL07_GBh.js","names":["objectProto","hasOwnProperty","objectProto","hasOwnProperty","nativeObjectToString","symToStringTag","funcTag","funcToString","objectProto","hasOwnProperty","Promise","mapTag","objectTag","setTag","weakMapTag","dataViewTag","Promise","argsTag","freeExports","freeModule"],"sources":["../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js","../../../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js"],"sourcesContent":["/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nexport default isPrototype;\n","/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nexport default overArg;\n","import overArg from './_overArg.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nexport default nativeKeys;\n","import isPrototype from './_isPrototype.js';\nimport nativeKeys from './_nativeKeys.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default baseKeys;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nexport default freeGlobal;\n","import freeGlobal from './_freeGlobal.js';\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nexport default root;\n","import root from './_root.js';\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nexport default Symbol;\n","import Symbol from './_Symbol.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nexport default getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nexport default objectToString;\n","import Symbol from './_Symbol.js';\nimport getRawTag from './_getRawTag.js';\nimport objectToString from './_objectToString.js';\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nexport default baseGetTag;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nexport default isObject;\n","import baseGetTag from './_baseGetTag.js';\nimport isObject from './isObject.js';\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nexport default isFunction;\n","import root from './_root.js';\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nexport default coreJsData;\n","import coreJsData from './_coreJsData.js';\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nexport default isMasked;\n","/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nexport default toSource;\n","import isFunction from './isFunction.js';\nimport isMasked from './_isMasked.js';\nimport isObject from './isObject.js';\nimport toSource from './_toSource.js';\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nexport default baseIsNative;\n","/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nexport default getValue;\n","import baseIsNative from './_baseIsNative.js';\nimport getValue from './_getValue.js';\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nexport default getNative;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nexport default DataView;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nexport default Map;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nexport default Promise;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nexport default Set;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nexport default WeakMap;\n","import DataView from './_DataView.js';\nimport Map from './_Map.js';\nimport Promise from './_Promise.js';\nimport Set from './_Set.js';\nimport WeakMap from './_WeakMap.js';\nimport baseGetTag from './_baseGetTag.js';\nimport toSource from './_toSource.js';\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\nexport default getTag;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nexport default isObjectLike;\n","import baseGetTag from './_baseGetTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nexport default baseIsArguments;\n","import baseIsArguments from './_baseIsArguments.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nexport default isArguments;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nexport default isArray;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nexport default isLength;\n","import isFunction from './isFunction.js';\nimport isLength from './isLength.js';\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nexport default isArrayLike;\n","/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nexport default stubFalse;\n","import root from './_root.js';\nimport stubFalse from './stubFalse.js';\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nexport default isBuffer;\n","import baseGetTag from './_baseGetTag.js';\nimport isLength from './isLength.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nexport default baseIsTypedArray;\n","/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nexport default baseUnary;\n","import freeGlobal from './_freeGlobal.js';\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nexport default nodeUtil;\n","import baseIsTypedArray from './_baseIsTypedArray.js';\nimport baseUnary from './_baseUnary.js';\nimport nodeUtil from './_nodeUtil.js';\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nexport default isTypedArray;\n"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35],"mappings":";AACA,IAAIA,IAAc,OAAO;AASzB,SAAS,EAAY,GAAO;CAC1B,IAAI,IAAO,KAAS,EAAM;CAG1B,OAAO,OAFM,OAAO,KAAQ,cAAc,EAAK,aAAcA;AAG/D;;;ACPA,SAAS,EAAQ,GAAM,GAAW;CAChC,OAAO,SAAS,GAAK;EACnB,OAAO,EAAK,EAAU,CAAG,CAAC;CAC5B;AACF;;;ACTA,IAAI,IAAa,EAAQ,OAAO,MAAM,MAAM,GCIxCC,IAHc,OAAO,UAGQ;AASjC,SAAS,EAAS,GAAQ;CACxB,IAAI,CAAC,EAAY,CAAM,GACrB,OAAO,EAAW,CAAM;CAE1B,IAAI,IAAS,CAAC;CACd,KAAK,IAAI,KAAO,OAAO,CAAM,GAC3B,AAAIA,EAAe,KAAK,GAAQ,CAAG,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ClDA,SAAS,EAAU,GAAM;CACvB,OAAO,SAAS,GAAO;EACrB,OAAO,EAAK,CAAK;CACnB;AACF;;;ACRA,IAAI,IAAc,OAAO,WAAW,YAAY,WAAW,CAAC,QAAQ,YAAY,SAG5E,IAAa,KAAe,OAAO,UAAU,YAAY,UAAU,CAAC,OAAO,YAAY,QAMvF,IAHgB,KAAc,EAAW,YAAY,KAGtB,EAAW,SAG1C,IAAY,WAAW;CACzB,IAAI;EASF,OAPY,KAAc,EAAW,WAAW,EAAW,QAAQ,MAAM,EAAE,SAOpE,KAAe,EAAY,WAAW,EAAY,QAAQ,MAAM;CACzE,QAAY,CAAC;AACf,EAAE,GCtBE,IAAmB,KAAY,EAAS,cAmBxC,KAAe,IAAmB,EAAU,CAAgB,IAAI"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-elements/packages/fraction-model/controller/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
|
+
declare const _default: {
|
|
10
|
+
model: {
|
|
11
|
+
correctResponse: never[];
|
|
12
|
+
title: string;
|
|
13
|
+
prompt: string;
|
|
14
|
+
modelTypeSelected: string;
|
|
15
|
+
maxModelSelected: number;
|
|
16
|
+
partsPerModel: number;
|
|
17
|
+
allowedStudentConfig: boolean;
|
|
18
|
+
showGraphLabels: boolean;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region src/controller/defaults.ts
|
|
2
|
+
var e = { model: {
|
|
3
|
+
correctResponse: [],
|
|
4
|
+
title: "",
|
|
5
|
+
prompt: "",
|
|
6
|
+
modelTypeSelected: "bar",
|
|
7
|
+
maxModelSelected: 1,
|
|
8
|
+
partsPerModel: 5,
|
|
9
|
+
allowedStudentConfig: !1,
|
|
10
|
+
showGraphLabels: !1
|
|
11
|
+
} };
|
|
12
|
+
//#endregion
|
|
13
|
+
export { e as default };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-elements/packages/fraction-model/controller/src/index.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
|
+
export declare const getResponseCorrectness: (model: any, answers: any, env?: {}) => "correct" | "incorrect";
|
|
10
|
+
export declare const outcome: (model: any, session: any, env: any) => Promise<unknown>;
|
|
11
|
+
export declare const createDefaultModel: (model?: {}) => {
|
|
12
|
+
correctResponse: never[];
|
|
13
|
+
title: string;
|
|
14
|
+
prompt: string;
|
|
15
|
+
modelTypeSelected: string;
|
|
16
|
+
maxModelSelected: number;
|
|
17
|
+
partsPerModel: number;
|
|
18
|
+
allowedStudentConfig: boolean;
|
|
19
|
+
showGraphLabels: boolean;
|
|
20
|
+
};
|
|
21
|
+
export declare const model: (question: any, session: any, env: any) => Promise<unknown>;
|
|
22
|
+
export declare const createCorrectResponseSession: (model: any, env: any) => Promise<unknown>;
|
|
23
|
+
export declare const validate: (model?: {}, config?: {}) => {};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import e from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js";
|
|
2
|
+
import t from "./defaults.js";
|
|
3
|
+
//#region src/controller/index.ts
|
|
4
|
+
var n = (e, t, n = {}) => {
|
|
5
|
+
let r;
|
|
6
|
+
return r = e.allowedStudentConfig ? !!(t.partsPerModel === e.partsPerModel && s(t.response, e.partsPerModel) && o(e.correctResponse, t.response)) : !!(s(t.response, e.partsPerModel) && o(e.correctResponse, t.response)), r ? "correct" : "incorrect";
|
|
7
|
+
}, r = (e, t, r = {}) => {
|
|
8
|
+
if (t.mode === "evaluate") return n(e, r, t);
|
|
9
|
+
}, i = (e, t, n = {}) => +(r(e, t, n) === "correct"), a = (t, n, r) => new Promise((a) => {
|
|
10
|
+
!n || e(n) ? a({
|
|
11
|
+
score: 0,
|
|
12
|
+
empty: !0
|
|
13
|
+
}) : r.mode === "evaluate" ? a({ score: i(t, r, n.answers) }) : a({
|
|
14
|
+
score: void 0,
|
|
15
|
+
completed: void 0
|
|
16
|
+
});
|
|
17
|
+
}), o = (e, t) => {
|
|
18
|
+
let n = 0, r = 0;
|
|
19
|
+
for (let t = 0; t < e.length; t++) n += e[t].value;
|
|
20
|
+
for (let e = 0; e < t.length; e++) r += t[e].value;
|
|
21
|
+
return n === r;
|
|
22
|
+
}, s = (e, t) => {
|
|
23
|
+
if (e.length > 0) {
|
|
24
|
+
let n = 0;
|
|
25
|
+
return e.forEach((e) => {
|
|
26
|
+
e.value !== t && n++;
|
|
27
|
+
}), n <= 1;
|
|
28
|
+
} else return !1;
|
|
29
|
+
}, c = (e = {}) => ({
|
|
30
|
+
...t.model,
|
|
31
|
+
...e
|
|
32
|
+
}), l = (t, n, a) => new Promise((o) => {
|
|
33
|
+
n ||= {};
|
|
34
|
+
let s = c(t), l, u;
|
|
35
|
+
(!n || e(n)) && a.mode === "evaluate" ? (l = "unanswered", u = "0%") : (l = r(s, a, n && n.answers), u = `${i(s, a, n && n.answers) * 100}%`);
|
|
36
|
+
let d = {
|
|
37
|
+
score: u,
|
|
38
|
+
correctness: l
|
|
39
|
+
}, f = {
|
|
40
|
+
env: a,
|
|
41
|
+
...s,
|
|
42
|
+
view: a.mode === "view" || a.mode === "evaluate"
|
|
43
|
+
};
|
|
44
|
+
a.mode === "evaluate" && Object.assign(f, { correctness: d }), o(f);
|
|
45
|
+
}), u = (e, t) => new Promise((n) => {
|
|
46
|
+
if (t.mode !== "evaluate" && t.role === "instructor") {
|
|
47
|
+
let { correctResponse: t, maxModelSelected: r, partsPerModel: i } = e;
|
|
48
|
+
n({
|
|
49
|
+
answers: {
|
|
50
|
+
response: t,
|
|
51
|
+
noOfModel: r,
|
|
52
|
+
partsPerModel: i
|
|
53
|
+
},
|
|
54
|
+
id: "1"
|
|
55
|
+
});
|
|
56
|
+
} else n(null);
|
|
57
|
+
}), d = (e = {}, t = {}) => {
|
|
58
|
+
let n = {};
|
|
59
|
+
if (e.correctResponse.length === 0 && (n.correctResponse = "To save the item, at least one section must be marked as correct."), e.correctResponse.length > 0) {
|
|
60
|
+
let t = 0;
|
|
61
|
+
e.correctResponse.forEach((n) => {
|
|
62
|
+
n.value !== e.partsPerModel && t++;
|
|
63
|
+
}), t > 1 && (n.correctResponse = "The correct answer should include no more than one partially-filled model");
|
|
64
|
+
}
|
|
65
|
+
return n;
|
|
66
|
+
};
|
|
67
|
+
//#endregion
|
|
68
|
+
export { u as createCorrectResponseSession, c as createDefaultModel, n as getResponseCorrectness, l as model, a as outcome, d as validate };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-elements/packages/fraction-model/src/answer-fraction.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 React from 'react';
|
|
10
|
+
import PropTypes from 'prop-types';
|
|
11
|
+
export declare class AnswerFraction extends React.Component {
|
|
12
|
+
static propTypes: {
|
|
13
|
+
model: PropTypes.Validator<object>;
|
|
14
|
+
disabled: PropTypes.Validator<boolean>;
|
|
15
|
+
showCorrect: PropTypes.Validator<boolean>;
|
|
16
|
+
onAnswerChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
17
|
+
answers: PropTypes.Validator<object>;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Function to trigger when value change from number selection
|
|
21
|
+
* @param {string} key contains event change object
|
|
22
|
+
* @returns updated answer change object
|
|
23
|
+
*/
|
|
24
|
+
onValueChange: (key: any) => (event: any) => void;
|
|
25
|
+
render(): React.JSX.Element;
|
|
26
|
+
}
|
|
27
|
+
export default AnswerFraction;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import e from "react";
|
|
2
|
+
import t from "prop-types";
|
|
3
|
+
import { styled as n } from "@mui/material/styles";
|
|
4
|
+
import { TextField as r } from "@mui/material";
|
|
5
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
6
|
+
//#region src/delivery/answer-fraction.tsx
|
|
7
|
+
var o = n("div")({
|
|
8
|
+
alignItems: "center",
|
|
9
|
+
display: "flex",
|
|
10
|
+
gap: "20px"
|
|
11
|
+
}), s = n("div")({ margin: "12px 0" }), c = n("label")({
|
|
12
|
+
display: "block",
|
|
13
|
+
marginBottom: "4px"
|
|
14
|
+
}), l = n(r)({
|
|
15
|
+
width: "120px",
|
|
16
|
+
maxHeight: "40px",
|
|
17
|
+
"& [class^=\"MuiInputBase-root\"]": {
|
|
18
|
+
height: 40,
|
|
19
|
+
fontSize: "14px"
|
|
20
|
+
}
|
|
21
|
+
}), u = class extends e.Component {
|
|
22
|
+
static propTypes = {
|
|
23
|
+
model: t.object.isRequired,
|
|
24
|
+
disabled: t.bool.isRequired,
|
|
25
|
+
showCorrect: t.bool.isRequired,
|
|
26
|
+
onAnswerChange: t.func.isRequired,
|
|
27
|
+
answers: t.object.isRequired
|
|
28
|
+
};
|
|
29
|
+
onValueChange = (e) => (t) => {
|
|
30
|
+
let n = parseInt(t?.target?.value), { model: r, onAnswerChange: i, answers: a } = this.props, o = { ...a }, s = e === "noOfModel" ? r.maxModelSelected : 9;
|
|
31
|
+
n > s ? n = s : n < 1 && (n = 1), o[e] = n, i(o);
|
|
32
|
+
};
|
|
33
|
+
render() {
|
|
34
|
+
let { model: e, showCorrect: t, answers: n, disabled: r } = this.props;
|
|
35
|
+
return /* @__PURE__ */ i("div", { children: e.allowedStudentConfig && /* @__PURE__ */ a(o, { children: [/* @__PURE__ */ a(s, { children: [/* @__PURE__ */ i(c, {
|
|
36
|
+
htmlFor: "preview_number-of-models",
|
|
37
|
+
children: "Number of Models"
|
|
38
|
+
}), /* @__PURE__ */ i(l, {
|
|
39
|
+
id: "preview_number-of-models",
|
|
40
|
+
inputProps: {
|
|
41
|
+
min: 1,
|
|
42
|
+
max: e.maxModelSelected
|
|
43
|
+
},
|
|
44
|
+
name: "preview_number-of-models",
|
|
45
|
+
onChange: this.onValueChange("noOfModel"),
|
|
46
|
+
type: "number",
|
|
47
|
+
variant: "outlined",
|
|
48
|
+
disabled: r,
|
|
49
|
+
value: t ? e.maxModelSelected : n.noOfModel
|
|
50
|
+
})] }), /* @__PURE__ */ a(s, { children: [/* @__PURE__ */ i(c, {
|
|
51
|
+
htmlFor: "preview_parts-per-model",
|
|
52
|
+
children: "Parts per Model"
|
|
53
|
+
}), /* @__PURE__ */ i(l, {
|
|
54
|
+
id: "preview_parts-per-model",
|
|
55
|
+
inputProps: {
|
|
56
|
+
min: 1,
|
|
57
|
+
max: 9
|
|
58
|
+
},
|
|
59
|
+
name: "preview_parts-per-model",
|
|
60
|
+
onChange: this.onValueChange("partsPerModel"),
|
|
61
|
+
type: "number",
|
|
62
|
+
variant: "outlined",
|
|
63
|
+
disabled: r,
|
|
64
|
+
value: t ? e.partsPerModel : n.partsPerModel
|
|
65
|
+
})] })] }) });
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
//#endregion
|
|
69
|
+
export { u as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-elements/packages/fraction-model/src/fraction-model-chart.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 React from 'react';
|
|
10
|
+
declare const FractionModelChart: (props: any) => React.JSX.Element | undefined;
|
|
11
|
+
export default FractionModelChart;
|