@cuemath/web-utils 2.0.0-beta.0 → 2.1.11-beta.2
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/.eslintignore +2 -0
- package/.eslintrc.json +9 -0
- package/.husky/pre-commit +5 -0
- package/.huskyrc +5 -0
- package/.lintstagedrc.yml +5 -0
- package/.nvmrc +1 -0
- package/.prettierrc.json +1 -0
- package/.vscode/settings.json +1 -0
- package/README.md +1 -334
- package/dist/constants/country/index.d.ts +2 -0
- package/dist/constants/country/index.js +7 -0
- package/dist/constants/country/index.js.map +1 -0
- package/dist/constants/country/iso-country-code.d.ts +248 -0
- package/dist/constants/country/iso-country-code.js +252 -0
- package/dist/constants/country/iso-country-code.js.map +1 -0
- package/dist/constants/date-time/index.d.ts +17 -0
- package/dist/constants/date-time/index.js +42 -0
- package/dist/constants/date-time/index.js.map +1 -0
- package/dist/constants/date-time/international-timezones.d.ts +7 -0
- package/dist/constants/date-time/international-timezones.js +155 -0
- package/dist/constants/date-time/international-timezones.js.map +1 -0
- package/dist/constants/e-cna/index.d.ts +41 -0
- package/dist/constants/e-cna/index.js +45 -0
- package/dist/constants/e-cna/index.js.map +1 -0
- package/dist/constants/index.d.ts +2 -0
- package/dist/constants/index.js +19 -0
- package/dist/constants/index.js.map +1 -0
- package/dist/cookie/index.d.ts +4 -0
- package/dist/cookie/index.js +46 -0
- package/dist/cookie/index.js.map +1 -0
- package/dist/country/index.d.ts +1 -0
- package/dist/country/index.js +13 -0
- package/dist/country/index.js.map +1 -0
- package/dist/date-time-helper/e-cna.d.ts +32 -0
- package/dist/date-time-helper/e-cna.js +153 -0
- package/dist/date-time-helper/e-cna.js.map +1 -0
- package/dist/date-time-helper/index.d.ts +54 -0
- package/dist/date-time-helper/index.js +290 -0
- package/dist/date-time-helper/index.js.map +1 -0
- package/dist/e-cna/flow/aggregator.d.ts +473 -0
- package/dist/e-cna/flow/aggregator.js +17 -0
- package/dist/e-cna/flow/aggregator.js.map +1 -0
- package/dist/e-cna/flow/index.d.ts +1 -0
- package/dist/e-cna/flow/index.js +18 -0
- package/dist/e-cna/flow/index.js.map +1 -0
- package/dist/e-cna/flow/variants/default.d.ts +734 -0
- package/dist/e-cna/flow/variants/default.js +94 -0
- package/dist/e-cna/flow/variants/default.js.map +1 -0
- package/dist/e-cna/flow/variants/index.d.ts +1 -0
- package/dist/e-cna/flow/variants/index.js +18 -0
- package/dist/e-cna/flow/variants/index.js.map +1 -0
- package/dist/e-cna/index.d.ts +43 -0
- package/dist/e-cna/index.js +221 -0
- package/dist/e-cna/index.js.map +1 -0
- package/dist/e-cna/slides/child_hobbies/index.d.ts +1 -0
- package/dist/e-cna/slides/child_hobbies/index.js +18 -0
- package/dist/e-cna/slides/child_hobbies/index.js.map +1 -0
- package/dist/e-cna/slides/child_hobbies/variants.d.ts +22 -0
- package/dist/e-cna/slides/child_hobbies/variants.js +26 -0
- package/dist/e-cna/slides/child_hobbies/variants.js.map +1 -0
- package/dist/e-cna/slides/child_info/index.d.ts +1 -0
- package/dist/e-cna/slides/child_info/index.js +18 -0
- package/dist/e-cna/slides/child_info/index.js.map +1 -0
- package/dist/e-cna/slides/child_info/variants.d.ts +17 -0
- package/dist/e-cna/slides/child_info/variants.js +22 -0
- package/dist/e-cna/slides/child_info/variants.js.map +1 -0
- package/dist/e-cna/slides/child_personality/index.d.ts +1 -0
- package/dist/e-cna/slides/child_personality/index.js +18 -0
- package/dist/e-cna/slides/child_personality/index.js.map +1 -0
- package/dist/e-cna/slides/child_personality/variants.d.ts +12 -0
- package/dist/e-cna/slides/child_personality/variants.js +16 -0
- package/dist/e-cna/slides/child_personality/variants.js.map +1 -0
- package/dist/e-cna/slides/curriculum/index.d.ts +1 -0
- package/dist/e-cna/slides/curriculum/index.js +18 -0
- package/dist/e-cna/slides/curriculum/index.js.map +1 -0
- package/dist/e-cna/slides/curriculum/variants.d.ts +12 -0
- package/dist/e-cna/slides/curriculum/variants.js +17 -0
- package/dist/e-cna/slides/curriculum/variants.js.map +1 -0
- package/dist/e-cna/slides/grade/index.d.ts +1 -0
- package/dist/e-cna/slides/grade/index.js +18 -0
- package/dist/e-cna/slides/grade/index.js.map +1 -0
- package/dist/e-cna/slides/grade/variants.d.ts +25 -0
- package/dist/e-cna/slides/grade/variants.js +54 -0
- package/dist/e-cna/slides/grade/variants.js.map +1 -0
- package/dist/e-cna/slides/index.d.ts +19 -0
- package/dist/e-cna/slides/index.js +36 -0
- package/dist/e-cna/slides/index.js.map +1 -0
- package/dist/e-cna/slides/intro/index.d.ts +1 -0
- package/dist/e-cna/slides/intro/index.js +18 -0
- package/dist/e-cna/slides/intro/index.js.map +1 -0
- package/dist/e-cna/slides/intro/variants.d.ts +7 -0
- package/dist/e-cna/slides/intro/variants.js +11 -0
- package/dist/e-cna/slides/intro/variants.js.map +1 -0
- package/dist/e-cna/slides/key_need_l1/index.d.ts +1 -0
- package/dist/e-cna/slides/key_need_l1/index.js +18 -0
- package/dist/e-cna/slides/key_need_l1/index.js.map +1 -0
- package/dist/e-cna/slides/key_need_l1/variants.d.ts +26 -0
- package/dist/e-cna/slides/key_need_l1/variants.js +57 -0
- package/dist/e-cna/slides/key_need_l1/variants.js.map +1 -0
- package/dist/e-cna/slides/key_need_l2/index.d.ts +1 -0
- package/dist/e-cna/slides/key_need_l2/index.js +18 -0
- package/dist/e-cna/slides/key_need_l2/index.js.map +1 -0
- package/dist/e-cna/slides/key_need_l2/variants.d.ts +67 -0
- package/dist/e-cna/slides/key_need_l2/variants.js +139 -0
- package/dist/e-cna/slides/key_need_l2/variants.js.map +1 -0
- package/dist/e-cna/slides/key_need_l3/index.d.ts +1 -0
- package/dist/e-cna/slides/key_need_l3/index.js +18 -0
- package/dist/e-cna/slides/key_need_l3/index.js.map +1 -0
- package/dist/e-cna/slides/key_need_l3/variants.d.ts +11 -0
- package/dist/e-cna/slides/key_need_l3/variants.js +15 -0
- package/dist/e-cna/slides/key_need_l3/variants.js.map +1 -0
- package/dist/e-cna/slides/math-perception/index.d.ts +1 -0
- package/dist/e-cna/slides/math-perception/index.js +18 -0
- package/dist/e-cna/slides/math-perception/index.js.map +1 -0
- package/dist/e-cna/slides/math-perception/variants.d.ts +15 -0
- package/dist/e-cna/slides/math-perception/variants.js +32 -0
- package/dist/e-cna/slides/math-perception/variants.js.map +1 -0
- package/dist/e-cna/slides/other_curriculum/index.d.ts +1 -0
- package/dist/e-cna/slides/other_curriculum/index.js +18 -0
- package/dist/e-cna/slides/other_curriculum/index.js.map +1 -0
- package/dist/e-cna/slides/other_curriculum/variants.d.ts +12 -0
- package/dist/e-cna/slides/other_curriculum/variants.js +17 -0
- package/dist/e-cna/slides/other_curriculum/variants.js.map +1 -0
- package/dist/e-cna/slides/school_performance_5_12/index.d.ts +1 -0
- package/dist/e-cna/slides/school_performance_5_12/index.js +18 -0
- package/dist/e-cna/slides/school_performance_5_12/index.js.map +1 -0
- package/dist/e-cna/slides/school_performance_5_12/variants.d.ts +15 -0
- package/dist/e-cna/slides/school_performance_5_12/variants.js +26 -0
- package/dist/e-cna/slides/school_performance_5_12/variants.js.map +1 -0
- package/dist/e-cna/slides/school_performance_kg_4/index.d.ts +1 -0
- package/dist/e-cna/slides/school_performance_kg_4/index.js +18 -0
- package/dist/e-cna/slides/school_performance_kg_4/index.js.map +1 -0
- package/dist/e-cna/slides/school_performance_kg_4/variants.d.ts +14 -0
- package/dist/e-cna/slides/school_performance_kg_4/variants.js +28 -0
- package/dist/e-cna/slides/school_performance_kg_4/variants.js.map +1 -0
- package/dist/e-cna/slides/secondary_needs/index.d.ts +1 -0
- package/dist/e-cna/slides/secondary_needs/index.js +18 -0
- package/dist/e-cna/slides/secondary_needs/index.js.map +1 -0
- package/dist/e-cna/slides/secondary_needs/variants.d.ts +14 -0
- package/dist/e-cna/slides/secondary_needs/variants.js +28 -0
- package/dist/e-cna/slides/secondary_needs/variants.js.map +1 -0
- package/dist/e-cna/slides/signup/index.d.ts +1 -0
- package/dist/e-cna/slides/signup/index.js +18 -0
- package/dist/e-cna/slides/signup/index.js.map +1 -0
- package/dist/e-cna/slides/signup/variants.d.ts +7 -0
- package/dist/e-cna/slides/signup/variants.js +11 -0
- package/dist/e-cna/slides/signup/variants.js.map +1 -0
- package/dist/e-cna/slides/signup_refer/index.d.ts +1 -0
- package/dist/e-cna/slides/signup_refer/index.js +18 -0
- package/dist/e-cna/slides/signup_refer/index.js.map +1 -0
- package/dist/e-cna/slides/signup_refer/variants.d.ts +22 -0
- package/dist/e-cna/slides/signup_refer/variants.js +34 -0
- package/dist/e-cna/slides/signup_refer/variants.js.map +1 -0
- package/dist/e-cna/slides/slot_pick/index.d.ts +1 -0
- package/dist/e-cna/slides/slot_pick/index.js +18 -0
- package/dist/e-cna/slides/slot_pick/index.js.map +1 -0
- package/dist/e-cna/slides/slot_pick/variants.d.ts +12 -0
- package/dist/e-cna/slides/slot_pick/variants.js +16 -0
- package/dist/e-cna/slides/slot_pick/variants.js.map +1 -0
- package/dist/e-cna/slides/teacher_intro/index.d.ts +1 -0
- package/dist/e-cna/slides/teacher_intro/index.js +18 -0
- package/dist/e-cna/slides/teacher_intro/index.js.map +1 -0
- package/dist/e-cna/slides/teacher_intro/variants.d.ts +78 -0
- package/dist/e-cna/slides/teacher_intro/variants.js +114 -0
- package/dist/e-cna/slides/teacher_intro/variants.js.map +1 -0
- package/dist/e-cna/utils/index.d.ts +4 -0
- package/dist/e-cna/utils/index.js +28 -0
- package/dist/e-cna/utils/index.js.map +1 -0
- package/dist/index.d.ts +7 -313
- package/dist/index.js +23 -3
- package/dist/index.js.map +1 -1
- package/dist/local-storage/index.d.ts +13 -0
- package/dist/local-storage/index.js +172 -0
- package/dist/local-storage/index.js.map +1 -0
- package/dist/object/index.d.ts +6 -0
- package/dist/object/index.js +24 -0
- package/dist/object/index.js.map +1 -0
- package/package.json +11 -52
- package/src/constants/country/index.ts +2 -0
- package/src/constants/country/iso-country-code.ts +248 -0
- package/src/constants/date-time/index.ts +43 -0
- package/src/constants/date-time/international-timezones.ts +157 -0
- package/src/constants/e-cna/index.ts +55 -0
- package/src/constants/index.ts +2 -0
- package/src/cookie/index.ts +51 -0
- package/src/country/index.ts +9 -0
- package/src/date-time-helper/e-cna.ts +205 -0
- package/src/date-time-helper/index.ts +365 -0
- package/src/e-cna/flow/aggregator.ts +12 -0
- package/src/e-cna/flow/index.ts +1 -0
- package/src/e-cna/flow/variants/default.ts +112 -0
- package/src/e-cna/flow/variants/index.ts +1 -0
- package/src/e-cna/index.ts +249 -0
- package/src/e-cna/slides/child_hobbies/index.ts +1 -0
- package/src/e-cna/slides/child_hobbies/variants.ts +24 -0
- package/src/e-cna/slides/child_info/index.ts +1 -0
- package/src/e-cna/slides/child_info/variants.ts +18 -0
- package/src/e-cna/slides/child_personality/index.ts +1 -0
- package/src/e-cna/slides/child_personality/variants.ts +12 -0
- package/src/e-cna/slides/curriculum/index.ts +1 -0
- package/src/e-cna/slides/curriculum/variants.ts +14 -0
- package/src/e-cna/slides/grade/index.ts +1 -0
- package/src/e-cna/slides/grade/variants.ts +53 -0
- package/src/e-cna/slides/index.ts +19 -0
- package/src/e-cna/slides/intro/index.ts +1 -0
- package/src/e-cna/slides/intro/variants.ts +7 -0
- package/src/e-cna/slides/key_need_l1/index.ts +1 -0
- package/src/e-cna/slides/key_need_l1/variants.ts +57 -0
- package/src/e-cna/slides/key_need_l2/index.ts +1 -0
- package/src/e-cna/slides/key_need_l2/variants.ts +143 -0
- package/src/e-cna/slides/key_need_l3/index.ts +1 -0
- package/src/e-cna/slides/key_need_l3/variants.ts +13 -0
- package/src/e-cna/slides/math-perception/index.ts +1 -0
- package/src/e-cna/slides/math-perception/variants.ts +30 -0
- package/src/e-cna/slides/other_curriculum/index.ts +1 -0
- package/src/e-cna/slides/other_curriculum/variants.ts +14 -0
- package/src/e-cna/slides/school_performance_5_12/index.ts +1 -0
- package/src/e-cna/slides/school_performance_5_12/variants.ts +23 -0
- package/src/e-cna/slides/school_performance_kg_4/index.ts +1 -0
- package/src/e-cna/slides/school_performance_kg_4/variants.ts +25 -0
- package/src/e-cna/slides/secondary_needs/index.ts +1 -0
- package/src/e-cna/slides/secondary_needs/variants.ts +26 -0
- package/src/e-cna/slides/signup/index.ts +1 -0
- package/src/e-cna/slides/signup/variants.ts +7 -0
- package/src/e-cna/slides/signup_refer/index.ts +1 -0
- package/src/e-cna/slides/signup_refer/variants.ts +30 -0
- package/src/e-cna/slides/slot_pick/index.ts +1 -0
- package/src/e-cna/slides/slot_pick/variants.ts +12 -0
- package/src/e-cna/slides/teacher_intro/index.ts +1 -0
- package/src/e-cna/slides/teacher_intro/variants.ts +112 -0
- package/src/e-cna/utils/index.ts +32 -0
- package/src/index.ts +7 -0
- package/src/local-storage/index.ts +186 -0
- package/src/object/index.ts +26 -0
- package/tsconfig.json +8 -0
- package/dist/browser.d.mts +0 -15
- package/dist/browser.d.ts +0 -15
- package/dist/browser.js +0 -2
- package/dist/browser.js.map +0 -1
- package/dist/browser.mjs +0 -2
- package/dist/browser.mjs.map +0 -1
- package/dist/chunk-5X4UT2UI.js +0 -3
- package/dist/chunk-5X4UT2UI.js.map +0 -1
- package/dist/chunk-CVZIO6BX.mjs +0 -4
- package/dist/chunk-CVZIO6BX.mjs.map +0 -1
- package/dist/chunk-LUUB665J.mjs +0 -3
- package/dist/chunk-LUUB665J.mjs.map +0 -1
- package/dist/chunk-OBXSX4MO.js +0 -3
- package/dist/chunk-OBXSX4MO.js.map +0 -1
- package/dist/chunk-SMWXEBQ2.js +0 -4
- package/dist/chunk-SMWXEBQ2.js.map +0 -1
- package/dist/chunk-TG7DRTM7.mjs +0 -3
- package/dist/chunk-TG7DRTM7.mjs.map +0 -1
- package/dist/cloudfront-DRTOCXPV.d.mts +0 -758
- package/dist/cloudfront-DRTOCXPV.d.ts +0 -758
- package/dist/cloudfront.d.mts +0 -2
- package/dist/cloudfront.d.ts +0 -2
- package/dist/cloudfront.js +0 -2
- package/dist/cloudfront.js.map +0 -1
- package/dist/cloudfront.mjs +0 -2
- package/dist/cloudfront.mjs.map +0 -1
- package/dist/data-props-RvZdA60G.d.mts +0 -157
- package/dist/data-props-RvZdA60G.d.ts +0 -157
- package/dist/date-time-helper/timezone.d.mts +0 -61
- package/dist/date-time-helper/timezone.d.ts +0 -61
- package/dist/date-time-helper/timezone.js +0 -2
- package/dist/date-time-helper/timezone.js.map +0 -1
- package/dist/date-time-helper/timezone.mjs +0 -2
- package/dist/date-time-helper/timezone.mjs.map +0 -1
- package/dist/index.d.mts +0 -313
- package/dist/index.mjs +0 -4
- package/dist/index.mjs.map +0 -1
- package/dist/metafile-cjs.json +0 -1
- package/dist/metafile-esm.json +0 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.curriculum = void 0;
|
|
4
|
+
const constants_1 = require("../../../constants");
|
|
5
|
+
exports.curriculum = {
|
|
6
|
+
DEFAULT: {
|
|
7
|
+
id: 17,
|
|
8
|
+
questionID: constants_1.QUESTION_ID.OTHER_CURRICULUM,
|
|
9
|
+
type: 'freeFlowingText',
|
|
10
|
+
question: 'Please enter the curriculum followed at your child’s school',
|
|
11
|
+
description: 'This information will help us find the right tutor for your child.',
|
|
12
|
+
placeholderText: 'Child’s school curriculum',
|
|
13
|
+
questionUUID: 'ea8f4ed7-4214-4dcd-a818-701bf1843626',
|
|
14
|
+
textAreaHeight: '44px',
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=variants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variants.js","sourceRoot":"","sources":["../../../../src/e-cna/slides/curriculum/variants.ts"],"names":[],"mappings":";;;AAAA,kDAAiD;AAEpC,QAAA,UAAU,GAAE;IACrB,OAAO,EAAE;QACL,EAAE,EAAE,EAAE;QACN,UAAU,EAAE,uBAAW,CAAC,gBAAgB;QACxC,IAAI,EAAE,iBAAiB;QACvB,QAAQ,EAAE,6DAA6D;QACvE,WAAW,EAAE,oEAAoE;QACjF,eAAe,EAAE,2BAA2B;QAC5C,YAAY,EAAE,sCAAsC;QACpD,cAAc,EAAE,MAAM;KACzB;CACJ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './variants';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./variants"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/e-cna/slides/grade/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare const grade: {
|
|
2
|
+
DEFAULT: {
|
|
3
|
+
id: number;
|
|
4
|
+
questionID: string;
|
|
5
|
+
type: string;
|
|
6
|
+
question: string;
|
|
7
|
+
description: string;
|
|
8
|
+
options: {
|
|
9
|
+
value: string;
|
|
10
|
+
}[];
|
|
11
|
+
defaultNextquestionID: string;
|
|
12
|
+
questionUUID: string;
|
|
13
|
+
};
|
|
14
|
+
NON_ECNA: {
|
|
15
|
+
id: number;
|
|
16
|
+
questionID: string;
|
|
17
|
+
type: string;
|
|
18
|
+
question: string;
|
|
19
|
+
description: string;
|
|
20
|
+
options: {
|
|
21
|
+
value: string;
|
|
22
|
+
}[];
|
|
23
|
+
defaultNextquestionID: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.grade = void 0;
|
|
4
|
+
const constants_1 = require("../../../constants");
|
|
5
|
+
exports.grade = {
|
|
6
|
+
DEFAULT: {
|
|
7
|
+
id: 1,
|
|
8
|
+
questionID: constants_1.SLIDE_TYPES.STUDENT_GRADE,
|
|
9
|
+
type: 'options_grid',
|
|
10
|
+
question: 'What grade is your child in?',
|
|
11
|
+
description: "We'll use this information to surface the right recommendations in the next few questions.",
|
|
12
|
+
options: [
|
|
13
|
+
{ value: '10' },
|
|
14
|
+
{ value: '11' },
|
|
15
|
+
{ value: '12' },
|
|
16
|
+
{ value: '7' },
|
|
17
|
+
{ value: '8' },
|
|
18
|
+
{ value: '9' },
|
|
19
|
+
{ value: '4' },
|
|
20
|
+
{ value: '5' },
|
|
21
|
+
{ value: '6' },
|
|
22
|
+
{ value: '1' },
|
|
23
|
+
{ value: '2' },
|
|
24
|
+
{ value: '3' },
|
|
25
|
+
{ value: 'KG' },
|
|
26
|
+
],
|
|
27
|
+
defaultNextquestionID: 'math_perception',
|
|
28
|
+
questionUUID: '3d8688bf-ad00-4cbf-a5f9-ba9cac27af46',
|
|
29
|
+
},
|
|
30
|
+
NON_ECNA: {
|
|
31
|
+
id: 1,
|
|
32
|
+
questionID: 'student_grade',
|
|
33
|
+
type: 'options_grid',
|
|
34
|
+
question: 'What grade is your child in?',
|
|
35
|
+
description: "We'll use this information to surface the right recommendations in the next few questions.",
|
|
36
|
+
options: [
|
|
37
|
+
{ value: '10' },
|
|
38
|
+
{ value: '11' },
|
|
39
|
+
{ value: '12' },
|
|
40
|
+
{ value: '7' },
|
|
41
|
+
{ value: '8' },
|
|
42
|
+
{ value: '9' },
|
|
43
|
+
{ value: '4' },
|
|
44
|
+
{ value: '5' },
|
|
45
|
+
{ value: '6' },
|
|
46
|
+
{ value: '1' },
|
|
47
|
+
{ value: '2' },
|
|
48
|
+
{ value: '3' },
|
|
49
|
+
{ value: 'KG' },
|
|
50
|
+
],
|
|
51
|
+
defaultNextquestionID: 'child_info',
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
//# sourceMappingURL=variants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variants.js","sourceRoot":"","sources":["../../../../src/e-cna/slides/grade/variants.ts"],"names":[],"mappings":";;;AAAA,kDAAiD;AAEpC,QAAA,KAAK,GAAG;IACnB,OAAO,EAAE;QACP,EAAE,EAAE,CAAC;QACL,UAAU,EAAE,uBAAW,CAAC,aAAa;QACrC,IAAI,EAAE,cAAc;QACpB,QAAQ,EAAE,8BAA8B;QACxC,WAAW,EACT,4FAA4F;QAC9F,OAAO,EAAE;YACP,EAAE,KAAK,EAAE,IAAI,EAAE;YACf,EAAE,KAAK,EAAE,IAAI,EAAE;YACf,EAAE,KAAK,EAAE,IAAI,EAAE;YACf,EAAE,KAAK,EAAE,GAAG,EAAE;YACd,EAAE,KAAK,EAAE,GAAG,EAAE;YACd,EAAE,KAAK,EAAE,GAAG,EAAE;YACd,EAAE,KAAK,EAAE,GAAG,EAAE;YACd,EAAE,KAAK,EAAE,GAAG,EAAE;YACd,EAAE,KAAK,EAAE,GAAG,EAAE;YACd,EAAE,KAAK,EAAE,GAAG,EAAE;YACd,EAAE,KAAK,EAAE,GAAG,EAAE;YACd,EAAE,KAAK,EAAE,GAAG,EAAE;YACd,EAAE,KAAK,EAAE,IAAI,EAAE;SAChB;QACD,qBAAqB,EAAE,iBAAiB;QACxC,YAAY,EAAE,sCAAsC;KACrD;IACD,QAAQ,EAAC;QACP,EAAE,EAAE,CAAC;QACD,UAAU,EAAE,eAAe;QAC3B,IAAI,EAAE,cAAc;QACpB,QAAQ,EAAE,8BAA8B;QACxC,WAAW,EACT,4FAA4F;QAC9F,OAAO,EAAE;YACP,EAAE,KAAK,EAAE,IAAI,EAAE;YACf,EAAE,KAAK,EAAE,IAAI,EAAE;YACf,EAAE,KAAK,EAAE,IAAI,EAAE;YACf,EAAE,KAAK,EAAE,GAAG,EAAE;YACd,EAAE,KAAK,EAAE,GAAG,EAAE;YACd,EAAE,KAAK,EAAE,GAAG,EAAE;YACd,EAAE,KAAK,EAAE,GAAG,EAAE;YACd,EAAE,KAAK,EAAE,GAAG,EAAE;YACd,EAAE,KAAK,EAAE,GAAG,EAAE;YACd,EAAE,KAAK,EAAE,GAAG,EAAE;YACd,EAAE,KAAK,EAAE,GAAG,EAAE;YACd,EAAE,KAAK,EAAE,GAAG,EAAE;YACd,EAAE,KAAK,EAAE,IAAI,EAAE;SAChB;QACD,qBAAqB,EAAE,YAAY;KACxC;CACF,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export * from './intro';
|
|
2
|
+
export * from './grade';
|
|
3
|
+
export * from './key_need_l1';
|
|
4
|
+
export * from './key_need_l2';
|
|
5
|
+
export * from './math-perception';
|
|
6
|
+
export * from './school_performance_5_12';
|
|
7
|
+
export * from './school_performance_kg_4';
|
|
8
|
+
export * from './child_hobbies';
|
|
9
|
+
export * from './child_personality';
|
|
10
|
+
export * from './key_need_l3';
|
|
11
|
+
export * from './other_curriculum';
|
|
12
|
+
export * from './secondary_needs';
|
|
13
|
+
export * from './secondary_needs';
|
|
14
|
+
export * from './signup_refer';
|
|
15
|
+
export * from './signup';
|
|
16
|
+
export * from './slot_pick';
|
|
17
|
+
export * from './teacher_intro';
|
|
18
|
+
export * from './curriculum';
|
|
19
|
+
export * from './child_info';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./intro"), exports);
|
|
18
|
+
__exportStar(require("./grade"), exports);
|
|
19
|
+
__exportStar(require("./key_need_l1"), exports);
|
|
20
|
+
__exportStar(require("./key_need_l2"), exports);
|
|
21
|
+
__exportStar(require("./math-perception"), exports);
|
|
22
|
+
__exportStar(require("./school_performance_5_12"), exports);
|
|
23
|
+
__exportStar(require("./school_performance_kg_4"), exports);
|
|
24
|
+
__exportStar(require("./child_hobbies"), exports);
|
|
25
|
+
__exportStar(require("./child_personality"), exports);
|
|
26
|
+
__exportStar(require("./key_need_l3"), exports);
|
|
27
|
+
__exportStar(require("./other_curriculum"), exports);
|
|
28
|
+
__exportStar(require("./secondary_needs"), exports);
|
|
29
|
+
__exportStar(require("./secondary_needs"), exports);
|
|
30
|
+
__exportStar(require("./signup_refer"), exports);
|
|
31
|
+
__exportStar(require("./signup"), exports);
|
|
32
|
+
__exportStar(require("./slot_pick"), exports);
|
|
33
|
+
__exportStar(require("./teacher_intro"), exports);
|
|
34
|
+
__exportStar(require("./curriculum"), exports);
|
|
35
|
+
__exportStar(require("./child_info"), exports);
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/e-cna/slides/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,0CAAwB;AACxB,gDAA8B;AAC9B,gDAA8B;AAC9B,oDAAkC;AAClC,4DAA0C;AAC1C,4DAA0C;AAC1C,kDAAgC;AAChC,sDAAoC;AACpC,gDAA8B;AAC9B,qDAAmC;AACnC,oDAAkC;AAClC,oDAAkC;AAClC,iDAA+B;AAC/B,2CAAyB;AACzB,8CAA4B;AAC5B,kDAAgC;AAChC,+CAA6B;AAC7B,+CAA4B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './variants';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./variants"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/e-cna/slides/intro/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variants.js","sourceRoot":"","sources":["../../../../src/e-cna/slides/intro/variants.ts"],"names":[],"mappings":";;;AAAa,QAAA,KAAK,GAAG;IACnB,OAAO,EAAE;QACP,EAAE,EAAE,OAAO;QACX,UAAU,EAAE,OAAO;QACnB,SAAS,EAAE,gBAAgB;KAC5B;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './variants';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./variants"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/e-cna/slides/key_need_l1/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const key_need_l1: {
|
|
2
|
+
DEFAULT: {
|
|
3
|
+
id: number;
|
|
4
|
+
questionID: string;
|
|
5
|
+
type: string;
|
|
6
|
+
question: string;
|
|
7
|
+
description: string;
|
|
8
|
+
readonly options: {
|
|
9
|
+
value: string;
|
|
10
|
+
nextQuestionID: string;
|
|
11
|
+
}[];
|
|
12
|
+
questionUUID: string;
|
|
13
|
+
};
|
|
14
|
+
ECNA: {
|
|
15
|
+
id: number;
|
|
16
|
+
questionID: string;
|
|
17
|
+
type: string;
|
|
18
|
+
question: string;
|
|
19
|
+
description: string;
|
|
20
|
+
readonly options: {
|
|
21
|
+
value: string;
|
|
22
|
+
nextQuestionID: string;
|
|
23
|
+
}[];
|
|
24
|
+
questionUUID: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.key_need_l1 = void 0;
|
|
4
|
+
const getPrimaryKeyNeeds = () => {
|
|
5
|
+
return [
|
|
6
|
+
{
|
|
7
|
+
value: "I'd like them to build strong math foundation and get support for schoolwork.",
|
|
8
|
+
nextQuestionID: 'strong_math_foundation',
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
value: "I'd like them to be faster at calculations / Mental math.",
|
|
12
|
+
nextQuestionID: 'mental_math',
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
value: "I'd like them to bridge learning gaps from previous and current grades.",
|
|
16
|
+
nextQuestionID: 'learning_gaps',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
value: 'I want my child to practice math regulalry.',
|
|
20
|
+
nextQuestionID: 'more_practice',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
value: "I'd like them to develop interest and start enjoying math without fear.",
|
|
24
|
+
nextQuestionID: 'develop_interest',
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
value: 'I want my child to practice advanced and competitive math.',
|
|
28
|
+
nextQuestionID: 'advanced_and_competitive_maths',
|
|
29
|
+
},
|
|
30
|
+
];
|
|
31
|
+
};
|
|
32
|
+
exports.key_need_l1 = {
|
|
33
|
+
DEFAULT: {
|
|
34
|
+
id: 5,
|
|
35
|
+
questionID: 'key_need_l1',
|
|
36
|
+
type: 'options_thin',
|
|
37
|
+
question: 'What does your child need the most help with?',
|
|
38
|
+
description: "We'd like you choose the most important one! It's okay if there are other things, it helps us drill down to the main problem to solve!",
|
|
39
|
+
get options() {
|
|
40
|
+
return getPrimaryKeyNeeds();
|
|
41
|
+
},
|
|
42
|
+
questionUUID: '7d4f13a2-c5ec-4711-bd26-507f22fd81ae',
|
|
43
|
+
},
|
|
44
|
+
ECNA: {
|
|
45
|
+
id: 5,
|
|
46
|
+
questionID: 'key_need_l1',
|
|
47
|
+
type: 'options_thin',
|
|
48
|
+
question: 'What does your child need the most help with?',
|
|
49
|
+
description: "We'd like you choose the most important one! It's okay if there are other things, it helps us drill down to the main problem to solve!",
|
|
50
|
+
get options() {
|
|
51
|
+
return getPrimaryKeyNeeds();
|
|
52
|
+
},
|
|
53
|
+
questionUUID: '7d4f13a2-c5ec-4711-bd26-507f22fd81ae',
|
|
54
|
+
// defaultNextquestionID: 'child_info',
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=variants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variants.js","sourceRoot":"","sources":["../../../../src/e-cna/slides/key_need_l1/variants.ts"],"names":[],"mappings":";;;AAAA,MAAM,kBAAkB,GAAG,GAAG,EAAE;IAC9B,OAAO;QACL;YACE,KAAK,EACH,+EAA+E;YACjF,cAAc,EAAE,wBAAwB;SACzC;QACD;YACE,KAAK,EAAE,2DAA2D;YAClE,cAAc,EAAE,aAAa;SAC9B;QACD;YACE,KAAK,EAAE,yEAAyE;YAChF,cAAc,EAAE,eAAe;SAChC;QACD;YACE,KAAK,EAAE,6CAA6C;YACpD,cAAc,EAAE,eAAe;SAChC;QACD;YACE,KAAK,EAAE,yEAAyE;YAChF,cAAc,EAAE,kBAAkB;SACnC;QACD;YACE,KAAK,EAAE,4DAA4D;YACnE,cAAc,EAAE,gCAAgC;SACjD;KACF,CAAC;AACJ,CAAC,CAAC;AAEW,QAAA,WAAW,GAAG;IACzB,OAAO,EAAE;QACP,EAAE,EAAE,CAAC;QACL,UAAU,EAAE,aAAa;QACzB,IAAI,EAAE,cAAc;QACpB,QAAQ,EAAE,+CAA+C;QACzD,WAAW,EACT,wIAAwI;QAC1I,IAAI,OAAO;YACT,OAAO,kBAAkB,EAAE,CAAC;QAC9B,CAAC;QACD,YAAY,EAAE,sCAAsC;KACrD;IACD,IAAI,EAAE;QACJ,EAAE,EAAE,CAAC;QACL,UAAU,EAAE,aAAa;QACzB,IAAI,EAAE,cAAc;QACpB,QAAQ,EAAE,+CAA+C;QACzD,WAAW,EACT,wIAAwI;QAC1I,IAAI,OAAO;YACT,OAAO,kBAAkB,EAAE,CAAC;QAC9B,CAAC;QACD,YAAY,EAAE,sCAAsC;QACpD,uCAAuC;KACxC;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './variants';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./variants"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/e-cna/slides/key_need_l2/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export declare const key_need_l2: {
|
|
2
|
+
STRONG_MATH_FOUNDATION: {
|
|
3
|
+
id: number;
|
|
4
|
+
questionID: string;
|
|
5
|
+
type: string;
|
|
6
|
+
question: string;
|
|
7
|
+
readonly options: {
|
|
8
|
+
value: string;
|
|
9
|
+
}[];
|
|
10
|
+
questionUUID: string;
|
|
11
|
+
};
|
|
12
|
+
MENTAL_MATH: {
|
|
13
|
+
id: number;
|
|
14
|
+
questionID: string;
|
|
15
|
+
type: string;
|
|
16
|
+
question: string;
|
|
17
|
+
readonly options: {
|
|
18
|
+
value: string;
|
|
19
|
+
}[];
|
|
20
|
+
defaultNextquestionID: string;
|
|
21
|
+
questionUUID: string;
|
|
22
|
+
};
|
|
23
|
+
LEARNING_GAPS: {
|
|
24
|
+
id: number;
|
|
25
|
+
questionID: string;
|
|
26
|
+
type: string;
|
|
27
|
+
question: string;
|
|
28
|
+
options: {
|
|
29
|
+
value: string;
|
|
30
|
+
}[];
|
|
31
|
+
defaultNextquestionID: string;
|
|
32
|
+
questionUUID: string;
|
|
33
|
+
};
|
|
34
|
+
MORE_PRACTICE: {
|
|
35
|
+
id: number;
|
|
36
|
+
questionID: string;
|
|
37
|
+
type: string;
|
|
38
|
+
question: string;
|
|
39
|
+
options: {
|
|
40
|
+
value: string;
|
|
41
|
+
}[];
|
|
42
|
+
defaultNextquestionID: string;
|
|
43
|
+
questionUUID: string;
|
|
44
|
+
};
|
|
45
|
+
DEVELOP_INTEREST: {
|
|
46
|
+
id: number;
|
|
47
|
+
questionID: string;
|
|
48
|
+
type: string;
|
|
49
|
+
question: string;
|
|
50
|
+
readonly options: {
|
|
51
|
+
value: string;
|
|
52
|
+
}[];
|
|
53
|
+
defaultNextquestionID: string;
|
|
54
|
+
questionUUID: string;
|
|
55
|
+
};
|
|
56
|
+
ADVANCE_AND_COMPETITIVE_MATHS: {
|
|
57
|
+
id: number;
|
|
58
|
+
questionID: string;
|
|
59
|
+
type: string;
|
|
60
|
+
question: string;
|
|
61
|
+
options: {
|
|
62
|
+
value: string;
|
|
63
|
+
}[];
|
|
64
|
+
defaultNextquestionID: string;
|
|
65
|
+
questionUUID: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.key_need_l2 = void 0;
|
|
4
|
+
const utils_1 = require("../../utils");
|
|
5
|
+
const getPrimaryNeedSubcategoryOptions = (questionID) => {
|
|
6
|
+
const mentalMathOptions = [
|
|
7
|
+
{ value: 'Calculate without using pen and paper' },
|
|
8
|
+
{
|
|
9
|
+
value: 'Calculate faster in exams',
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
value: 'Calculate faster in practical situations',
|
|
13
|
+
},
|
|
14
|
+
];
|
|
15
|
+
const strongMathFoundationOptions = [
|
|
16
|
+
{ value: 'Apply concepts in real life', nextQuestionID: 'secondary_needs' },
|
|
17
|
+
{
|
|
18
|
+
value: 'Learn and remember concepts',
|
|
19
|
+
nextQuestionID: 'secondary_needs',
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
value: 'Score better in school exams',
|
|
23
|
+
nextQuestionID: 'secondary_needs',
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
value: 'Develop logical and analytical thinking',
|
|
27
|
+
nextQuestionID: 'secondary_needs',
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
value: 'Get help in school homework',
|
|
31
|
+
nextQuestionID: 'secondary_needs',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
value: 'Help with specific topic or type of problem',
|
|
35
|
+
nextQuestionID: 'key_need_l3',
|
|
36
|
+
},
|
|
37
|
+
];
|
|
38
|
+
if (!(0, utils_1.isK4Student)() && !(0, utils_1.isK6Student)()) {
|
|
39
|
+
return questionID === 'mentalMath' ? mentalMathOptions : strongMathFoundationOptions;
|
|
40
|
+
}
|
|
41
|
+
switch (questionID) {
|
|
42
|
+
case 'mentalMath':
|
|
43
|
+
return mentalMathOptions.filter(option => !option.value.includes('exam'));
|
|
44
|
+
case 'strongMathFoundation':
|
|
45
|
+
return strongMathFoundationOptions.filter(option => !option.value.includes('exam'));
|
|
46
|
+
default:
|
|
47
|
+
return strongMathFoundationOptions;
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
const getDevelopInterestOptions = () => {
|
|
51
|
+
const interestOptions = [
|
|
52
|
+
{ value: 'Practice math in fun way' },
|
|
53
|
+
{ value: "Shouldn't lose interest in math over time" },
|
|
54
|
+
{ value: 'Should be confident before the exam' },
|
|
55
|
+
{ value: 'Improve their focus and concentration' },
|
|
56
|
+
];
|
|
57
|
+
if (!(0, utils_1.isK4Student)() && !(0, utils_1.isK6Student)()) {
|
|
58
|
+
return interestOptions;
|
|
59
|
+
}
|
|
60
|
+
return interestOptions.filter(option => !option.value.includes('exam'));
|
|
61
|
+
};
|
|
62
|
+
exports.key_need_l2 = {
|
|
63
|
+
STRONG_MATH_FOUNDATION: {
|
|
64
|
+
id: 6,
|
|
65
|
+
questionID: 'key_need_l2',
|
|
66
|
+
type: 'options_thin',
|
|
67
|
+
question: 'What specific help do you need with strong math foundation?',
|
|
68
|
+
get options() {
|
|
69
|
+
return getPrimaryNeedSubcategoryOptions('strongMathFoundation');
|
|
70
|
+
},
|
|
71
|
+
questionUUID: '5fbee82c-e4dc-47cf-b89c-00162b4656bb',
|
|
72
|
+
},
|
|
73
|
+
MENTAL_MATH: {
|
|
74
|
+
id: 7,
|
|
75
|
+
questionID: 'key_need_l2',
|
|
76
|
+
type: 'options_thin',
|
|
77
|
+
question: 'What specific help do you need with mental math?',
|
|
78
|
+
get options() {
|
|
79
|
+
return getPrimaryNeedSubcategoryOptions('mentalMath');
|
|
80
|
+
},
|
|
81
|
+
defaultNextquestionID: 'secondary_needs',
|
|
82
|
+
questionUUID: 'f3b0b498-38e4-49b7-8a6f-3d6522db2b41',
|
|
83
|
+
},
|
|
84
|
+
LEARNING_GAPS: {
|
|
85
|
+
id: 8,
|
|
86
|
+
questionID: 'key_need_l2',
|
|
87
|
+
type: 'options_thin',
|
|
88
|
+
question: 'What specific help is needed with learning gaps?',
|
|
89
|
+
options: [
|
|
90
|
+
{ value: 'Brigde learning gaps from previous grades' },
|
|
91
|
+
{
|
|
92
|
+
value: 'Brigde learning gaps from current grade',
|
|
93
|
+
},
|
|
94
|
+
],
|
|
95
|
+
defaultNextquestionID: 'secondary_needs',
|
|
96
|
+
questionUUID: '5895fe89-feee-45a8-a7a6-014295ca37f3',
|
|
97
|
+
},
|
|
98
|
+
MORE_PRACTICE: {
|
|
99
|
+
id: 9,
|
|
100
|
+
questionID: 'key_need_l2',
|
|
101
|
+
type: 'options_thin',
|
|
102
|
+
question: 'What specific help is needed with more practice?',
|
|
103
|
+
options: [
|
|
104
|
+
{ value: 'Learn and remember concepts' },
|
|
105
|
+
{
|
|
106
|
+
value: 'Avoid silly mistakes',
|
|
107
|
+
},
|
|
108
|
+
],
|
|
109
|
+
defaultNextquestionID: 'secondary_needs',
|
|
110
|
+
questionUUID: '40d92855-1ab1-4dc1-a3cb-cdcca1ad2e8d',
|
|
111
|
+
},
|
|
112
|
+
DEVELOP_INTEREST: {
|
|
113
|
+
id: 10,
|
|
114
|
+
questionID: 'key_need_l2',
|
|
115
|
+
type: 'options_thin',
|
|
116
|
+
question: 'What specific help is needed to develop interest in math?',
|
|
117
|
+
get options() {
|
|
118
|
+
return getDevelopInterestOptions();
|
|
119
|
+
},
|
|
120
|
+
defaultNextquestionID: 'secondary_needs',
|
|
121
|
+
questionUUID: '7ec57e7c-c50a-4f5b-b897-069116f21a40',
|
|
122
|
+
},
|
|
123
|
+
ADVANCE_AND_COMPETITIVE_MATHS: {
|
|
124
|
+
id: 11,
|
|
125
|
+
questionID: 'key_need_l2',
|
|
126
|
+
type: 'options_thin',
|
|
127
|
+
question: 'What specific help is needed with advance & competitive math?',
|
|
128
|
+
options: [
|
|
129
|
+
{ value: 'Practice difficult level worksheets of same grade' },
|
|
130
|
+
{ value: 'Practice worksheets of higher grades' },
|
|
131
|
+
{
|
|
132
|
+
value: 'Prepare for competitive exams like math olympiad',
|
|
133
|
+
},
|
|
134
|
+
],
|
|
135
|
+
defaultNextquestionID: 'secondary_needs',
|
|
136
|
+
questionUUID: '316ec3ec-1d5e-4fc5-82df-248bf93931d1',
|
|
137
|
+
},
|
|
138
|
+
};
|
|
139
|
+
//# sourceMappingURL=variants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variants.js","sourceRoot":"","sources":["../../../../src/e-cna/slides/key_need_l2/variants.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './variants';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./variants"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/e-cna/slides/key_need_l3/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
|