@pie-lib/controller-utils 1.1.0-next.3 → 1.1.0-next.37

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/lib/index.js ADDED
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.array.iterator.js");
4
+ require("core-js/modules/es.object.define-property.js");
5
+ require("core-js/modules/es.object.get-own-property-descriptor.js");
6
+ require("core-js/modules/es.object.to-string.js");
7
+ require("core-js/modules/es.string.iterator.js");
8
+ require("core-js/modules/es.weak-map.js");
9
+ require("core-js/modules/web.dom-collections.iterator.js");
10
+ var _typeof = require("@babel/runtime/helpers/typeof");
11
+ Object.defineProperty(exports, "__esModule", {
12
+ value: true
13
+ });
14
+ Object.defineProperty(exports, "getShuffledChoices", {
15
+ enumerable: true,
16
+ get: function get() {
17
+ return _persistence.getShuffledChoices;
18
+ }
19
+ });
20
+ Object.defineProperty(exports, "lockChoices", {
21
+ enumerable: true,
22
+ get: function get() {
23
+ return _persistence.lockChoices;
24
+ }
25
+ });
26
+ exports.partialScoring = void 0;
27
+ var partialScoring = _interopRequireWildcard(require("./partial-scoring"));
28
+ exports.partialScoring = partialScoring;
29
+ var _persistence = require("./persistence");
30
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
31
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["partialScoring","_interopRequireWildcard","require","exports","_persistence","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","_typeof","has","get","set","_t","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor"],"sources":["../src/index.js"],"sourcesContent":["import * as partialScoring from './partial-scoring';\n\nexport { lockChoices, getShuffledChoices } from './persistence';\nexport { partialScoring };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,cAAA,GAAAC,uBAAA,CAAAC,OAAA;AAAoDC,OAAA,CAAAH,cAAA,GAAAA,cAAA;AAEpD,IAAAI,YAAA,GAAAF,OAAA;AAAgE,SAAAD,wBAAAI,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAN,uBAAA,YAAAA,wBAAAI,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,mBAAAT,CAAA,iBAAAA,CAAA,gBAAAU,OAAA,CAAAV,CAAA,0BAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,cAAAM,EAAA,IAAAd,CAAA,gBAAAc,EAAA,OAAAC,cAAA,CAAAC,IAAA,CAAAhB,CAAA,EAAAc,EAAA,OAAAP,CAAA,IAAAD,CAAA,GAAAW,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAnB,CAAA,EAAAc,EAAA,OAAAP,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAM,EAAA,EAAAP,CAAA,IAAAC,CAAA,CAAAM,EAAA,IAAAd,CAAA,CAAAc,EAAA,WAAAN,CAAA,KAAAR,CAAA,EAAAC,CAAA","ignoreList":[]}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.object.define-property.js");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.enabled = void 0;
8
+ var enabled = exports.enabled = function enabled(config, env, defaultValue) {
9
+ // if model.partialScoring = false
10
+ // - if env.partialScoring = false || env.partialScoring = true => use dichotomous scoring
11
+ // else if model.partialScoring = true || undefined
12
+ // - if env.partialScoring = false, use dichotomous scoring
13
+ // - else if env.partialScoring = true, use partial scoring
14
+ config = config || {};
15
+ env = env || {};
16
+ if (config.partialScoring === false) {
17
+ return false;
18
+ }
19
+ if (env.partialScoring === false) {
20
+ return false;
21
+ }
22
+ return typeof defaultValue === 'boolean' ? defaultValue : true;
23
+ };
24
+ //# sourceMappingURL=partial-scoring.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"partial-scoring.js","names":["enabled","exports","config","env","defaultValue","partialScoring"],"sources":["../src/partial-scoring.js"],"sourcesContent":["export const enabled = (config, env, defaultValue) => {\n // if model.partialScoring = false\n // - if env.partialScoring = false || env.partialScoring = true => use dichotomous scoring\n // else if model.partialScoring = true || undefined\n // - if env.partialScoring = false, use dichotomous scoring\n // - else if env.partialScoring = true, use partial scoring\n config = config || {};\n env = env || {};\n\n if (config.partialScoring === false) {\n return false;\n }\n\n if (env.partialScoring === false) {\n return false;\n }\n\n return typeof defaultValue === 'boolean' ? defaultValue : true;\n};\n"],"mappings":";;;;;;;AAAO,IAAMA,OAAO,GAAAC,OAAA,CAAAD,OAAA,GAAG,SAAVA,OAAOA,CAAIE,MAAM,EAAEC,GAAG,EAAEC,YAAY,EAAK;EACpD;EACA;EACA;EACA;EACA;EACAF,MAAM,GAAGA,MAAM,IAAI,CAAC,CAAC;EACrBC,GAAG,GAAGA,GAAG,IAAI,CAAC,CAAC;EAEf,IAAID,MAAM,CAACG,cAAc,KAAK,KAAK,EAAE;IACnC,OAAO,KAAK;EACd;EAEA,IAAIF,GAAG,CAACE,cAAc,KAAK,KAAK,EAAE;IAChC,OAAO,KAAK;EACd;EAEA,OAAO,OAAOD,YAAY,KAAK,SAAS,GAAGA,YAAY,GAAG,IAAI;AAChE,CAAC","ignoreList":[]}
@@ -0,0 +1,123 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/es.object.define-property.js");
4
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.lockChoices = exports.getShuffledChoices = exports.compact = void 0;
9
+ var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
10
+ require("core-js/modules/es.array.concat.js");
11
+ require("core-js/modules/es.array.filter.js");
12
+ require("core-js/modules/es.array.find.js");
13
+ require("core-js/modules/es.array.is-array.js");
14
+ require("core-js/modules/es.array.map.js");
15
+ require("core-js/modules/es.date.to-json.js");
16
+ require("core-js/modules/es.function.bind.js");
17
+ require("core-js/modules/es.object.to-string.js");
18
+ require("core-js/modules/es.promise.js");
19
+ var _get = _interopRequireDefault(require("lodash/get"));
20
+ var _shuffle = _interopRequireDefault(require("lodash/shuffle"));
21
+ var _isEmpty = _interopRequireDefault(require("lodash/isEmpty"));
22
+ // eslint-disable-next-line no-console
23
+ var lg = function lg(n) {
24
+ return console[n].bind(console, 'controller-utils:');
25
+ };
26
+ var debug = lg('debug');
27
+ var log = lg('log');
28
+ var warn = lg('warn');
29
+ var error = lg('error');
30
+ var compact = exports.compact = function compact(arr) {
31
+ if (Array.isArray(arr)) {
32
+ return arr.filter(function (v) {
33
+ return v !== null && v !== undefined;
34
+ });
35
+ }
36
+ return arr;
37
+ };
38
+ var getShuffledChoices = exports.getShuffledChoices = function getShuffledChoices(choices, session, updateSession, choiceKey) {
39
+ return new Promise(function (resolve) {
40
+ var _session$data;
41
+ log('updateSession type: ', (0, _typeof2["default"])(updateSession));
42
+ log('session: ', session);
43
+ var currentShuffled = compact((session === null || session === void 0 || (_session$data = session.data) === null || _session$data === void 0 ? void 0 : _session$data.shuffledValues) || (session === null || session === void 0 ? void 0 : session.shuffledValues) || []);
44
+ if (!session) {
45
+ // eslint-disable-next-line quotes
46
+ warn("unable to save shuffled choices because there's no session.");
47
+ resolve(undefined);
48
+ } else if (!(0, _isEmpty["default"])(currentShuffled)) {
49
+ debug('use shuffledValues to sort the choices...', currentShuffled);
50
+ resolve(compact(currentShuffled.map(function (v) {
51
+ return choices.find(function (c) {
52
+ return c[choiceKey] === v;
53
+ });
54
+ })));
55
+ } else {
56
+ var shuffledChoices = (0, _shuffle["default"])(choices);
57
+ if (updateSession && typeof updateSession === 'function') {
58
+ try {
59
+ //Note: session.id refers to the id of the element within a session
60
+ var shuffledValues = compact(shuffledChoices.map(function (c) {
61
+ return c[choiceKey];
62
+ }));
63
+ log('try to save shuffledValues to session...', shuffledValues);
64
+ log('call updateSession... ', session.id, session.element);
65
+ if ((0, _isEmpty["default"])(shuffledValues)) {
66
+ error("shuffledValues is an empty array? - refusing to call updateSession: shuffledChoices: ".concat(JSON.stringify(shuffledChoices), ", key: ").concat(choiceKey));
67
+ } else {
68
+ updateSession(session.id, session.element, {
69
+ shuffledValues: shuffledValues
70
+ })["catch"](function (e) {
71
+ return (
72
+ // eslint-disable-next-line no-console
73
+ console.error('update session failed for: ', session.id, e)
74
+ );
75
+ });
76
+ }
77
+ } catch (e) {
78
+ warn('unable to save shuffled order for choices');
79
+ error(e);
80
+ }
81
+ } else {
82
+ warn('unable to save shuffled choices, shuffle will happen every time.');
83
+ }
84
+
85
+ //save this shuffle to the session for later retrieval
86
+ resolve(shuffledChoices);
87
+ }
88
+ });
89
+ };
90
+
91
+ /**
92
+ * If we return:
93
+ * - true - that means that the order of the choices will be ordinal (as is created in the configure item)
94
+ * - false - that means the getShuffledChoices above will be called and that in turn means that we either
95
+ * return the shuffled values on the session (if any exists) or we shuffle the choices
96
+ * @param model - model to check if we should lock order
97
+ * @param session - session to check if we should lock order
98
+ * @param env - env to check if we should lock order
99
+ * @returns {boolean}
100
+ */
101
+ var lockChoices = exports.lockChoices = function lockChoices(model, session, env) {
102
+ if (model.lockChoiceOrder) {
103
+ return true;
104
+ }
105
+ log('lockChoiceOrder: ', (0, _get["default"])(env, ['@pie-element', 'lockChoiceOrder'], false));
106
+ if ((0, _get["default"])(env, ['@pie-element', 'lockChoiceOrder'], false)) {
107
+ return true;
108
+ }
109
+ var role = (0, _get["default"])(env, 'role', 'student');
110
+ if (role === 'instructor') {
111
+ // TODO: .. in the future the instructor can toggle between ordinal and shuffled here, so keeping this code until then
112
+ /*const alreadyShuffled = hasShuffledValues(session);
113
+ if (alreadyShuffled) {
114
+ return false;
115
+ }
116
+ return true;*/
117
+ return true;
118
+ }
119
+
120
+ // here it's a student, so don't lock and it will shuffle if needs be
121
+ return false;
122
+ };
123
+ //# sourceMappingURL=persistence.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"persistence.js","names":["_get","_interopRequireDefault","require","_shuffle","_isEmpty","lg","n","console","bind","debug","log","warn","error","compact","exports","arr","Array","isArray","filter","v","undefined","getShuffledChoices","choices","session","updateSession","choiceKey","Promise","resolve","_session$data","_typeof2","currentShuffled","data","shuffledValues","isEmpty","map","find","c","shuffledChoices","shuffle","id","element","concat","JSON","stringify","e","lockChoices","model","env","lockChoiceOrder","get","role"],"sources":["../src/persistence.js"],"sourcesContent":["import get from 'lodash/get';\nimport shuffle from 'lodash/shuffle';\nimport isEmpty from 'lodash/isEmpty';\n\n// eslint-disable-next-line no-console\nconst lg = (n) => console[n].bind(console, 'controller-utils:');\nconst debug = lg('debug');\nconst log = lg('log');\nconst warn = lg('warn');\nconst error = lg('error');\n\nexport const compact = (arr) => {\n if (Array.isArray(arr)) {\n return arr.filter((v) => v !== null && v !== undefined);\n }\n\n return arr;\n};\n\nexport const getShuffledChoices = (choices, session, updateSession, choiceKey) =>\n new Promise((resolve) => {\n log('updateSession type: ', typeof updateSession);\n log('session: ', session);\n\n const currentShuffled = compact(session?.data?.shuffledValues || session?.shuffledValues || []);\n\n if (!session) {\n // eslint-disable-next-line quotes\n warn(\"unable to save shuffled choices because there's no session.\");\n resolve(undefined);\n } else if (!isEmpty(currentShuffled)) {\n debug('use shuffledValues to sort the choices...', currentShuffled);\n resolve(compact(currentShuffled.map((v) => choices.find((c) => c[choiceKey] === v))));\n } else {\n const shuffledChoices = shuffle(choices);\n\n if (updateSession && typeof updateSession === 'function') {\n try {\n //Note: session.id refers to the id of the element within a session\n const shuffledValues = compact(shuffledChoices.map((c) => c[choiceKey]));\n log('try to save shuffledValues to session...', shuffledValues);\n log('call updateSession... ', session.id, session.element);\n\n if (isEmpty(shuffledValues)) {\n error(\n `shuffledValues is an empty array? - refusing to call updateSession: shuffledChoices: ${JSON.stringify(\n shuffledChoices,\n )}, key: ${choiceKey}`,\n );\n } else {\n updateSession(session.id, session.element, { shuffledValues }).catch((e) =>\n // eslint-disable-next-line no-console\n console.error('update session failed for: ', session.id, e),\n );\n }\n } catch (e) {\n warn('unable to save shuffled order for choices');\n error(e);\n }\n } else {\n warn('unable to save shuffled choices, shuffle will happen every time.');\n }\n\n //save this shuffle to the session for later retrieval\n resolve(shuffledChoices);\n }\n });\n\n/**\n * If we return:\n * - true - that means that the order of the choices will be ordinal (as is created in the configure item)\n * - false - that means the getShuffledChoices above will be called and that in turn means that we either\n * return the shuffled values on the session (if any exists) or we shuffle the choices\n * @param model - model to check if we should lock order\n * @param session - session to check if we should lock order\n * @param env - env to check if we should lock order\n * @returns {boolean}\n */\nexport const lockChoices = (model, session, env) => {\n if (model.lockChoiceOrder) {\n return true;\n }\n\n log('lockChoiceOrder: ', get(env, ['@pie-element', 'lockChoiceOrder'], false));\n\n if (get(env, ['@pie-element', 'lockChoiceOrder'], false)) {\n return true;\n }\n\n const role = get(env, 'role', 'student');\n\n if (role === 'instructor') {\n // TODO: .. in the future the instructor can toggle between ordinal and shuffled here, so keeping this code until then\n /*const alreadyShuffled = hasShuffledValues(session);\n\n if (alreadyShuffled) {\n return false;\n }\n\n return true;*/\n return true;\n }\n\n // here it's a student, so don't lock and it will shuffle if needs be\n return false;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA,IAAAA,IAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,QAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,QAAA,GAAAH,sBAAA,CAAAC,OAAA;AAEA;AACA,IAAMG,EAAE,GAAG,SAALA,EAAEA,CAAIC,CAAC;EAAA,OAAKC,OAAO,CAACD,CAAC,CAAC,CAACE,IAAI,CAACD,OAAO,EAAE,mBAAmB,CAAC;AAAA;AAC/D,IAAME,KAAK,GAAGJ,EAAE,CAAC,OAAO,CAAC;AACzB,IAAMK,GAAG,GAAGL,EAAE,CAAC,KAAK,CAAC;AACrB,IAAMM,IAAI,GAAGN,EAAE,CAAC,MAAM,CAAC;AACvB,IAAMO,KAAK,GAAGP,EAAE,CAAC,OAAO,CAAC;AAElB,IAAMQ,OAAO,GAAAC,OAAA,CAAAD,OAAA,GAAG,SAAVA,OAAOA,CAAIE,GAAG,EAAK;EAC9B,IAAIC,KAAK,CAACC,OAAO,CAACF,GAAG,CAAC,EAAE;IACtB,OAAOA,GAAG,CAACG,MAAM,CAAC,UAACC,CAAC;MAAA,OAAKA,CAAC,KAAK,IAAI,IAAIA,CAAC,KAAKC,SAAS;IAAA,EAAC;EACzD;EAEA,OAAOL,GAAG;AACZ,CAAC;AAEM,IAAMM,kBAAkB,GAAAP,OAAA,CAAAO,kBAAA,GAAG,SAArBA,kBAAkBA,CAAIC,OAAO,EAAEC,OAAO,EAAEC,aAAa,EAAEC,SAAS;EAAA,OAC3E,IAAIC,OAAO,CAAC,UAACC,OAAO,EAAK;IAAA,IAAAC,aAAA;IACvBlB,GAAG,CAAC,sBAAsB,MAAAmB,QAAA,aAASL,aAAa,EAAC;IACjDd,GAAG,CA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/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@pie-lib/controller-utils",
3
- "version": "1.1.0-next.3",
3
+ "version": "1.1.0-next.37+283de799",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "src/index.js",
7
7
  "dependencies": {
8
8
  "debug": "^4.1.1",
9
- "lodash": "^4.17.11"
9
+ "lodash": "^4.17.23"
10
10
  },
11
11
  "publishConfig": {
12
12
  "access": "public"
@@ -14,5 +14,5 @@
14
14
  "scripts": {},
15
15
  "author": "",
16
16
  "license": "ISC",
17
- "gitHead": "8ea41592c5553487014f2694f91b657c4f62d131"
17
+ "gitHead": "283de799c8e7a14e255287a8e22c4b76d837198f"
18
18
  }