@cuemath/web-utils 0.0.1-beta.6 → 0.0.2-beta.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.
Files changed (215) hide show
  1. package/.husky/pre-commit +0 -1
  2. package/dist/index.js +1 -6
  3. package/package.json +8 -18
  4. package/src/cookie/index.ts +10 -4
  5. package/src/growth-source/index.ts +172 -0
  6. package/src/growth-source/types.ts +33 -0
  7. package/src/index.ts +1 -6
  8. package/.eslintignore +0 -2
  9. package/.huskyrc +0 -5
  10. package/.lintstagedrc.yml +0 -5
  11. package/dist/constants/country/index.d.ts +0 -2
  12. package/dist/constants/country/index.js +0 -7
  13. package/dist/constants/country/index.js.map +0 -1
  14. package/dist/constants/country/iso-country-code.d.ts +0 -248
  15. package/dist/constants/country/iso-country-code.js +0 -252
  16. package/dist/constants/country/iso-country-code.js.map +0 -1
  17. package/dist/constants/date-time/index.d.ts +0 -17
  18. package/dist/constants/date-time/index.js +0 -42
  19. package/dist/constants/date-time/index.js.map +0 -1
  20. package/dist/constants/date-time/international-timezones.d.ts +0 -7
  21. package/dist/constants/date-time/international-timezones.js +0 -155
  22. package/dist/constants/date-time/international-timezones.js.map +0 -1
  23. package/dist/constants/e-cna/index.d.ts +0 -35
  24. package/dist/constants/e-cna/index.js +0 -39
  25. package/dist/constants/e-cna/index.js.map +0 -1
  26. package/dist/constants/index.d.ts +0 -2
  27. package/dist/constants/index.js +0 -19
  28. package/dist/constants/index.js.map +0 -1
  29. package/dist/cookie/index.d.ts +0 -4
  30. package/dist/cookie/index.js +0 -46
  31. package/dist/cookie/index.js.map +0 -1
  32. package/dist/country/index.d.ts +0 -1
  33. package/dist/country/index.js +0 -13
  34. package/dist/country/index.js.map +0 -1
  35. package/dist/date-time-helper/e-cna.d.ts +0 -32
  36. package/dist/date-time-helper/e-cna.js +0 -153
  37. package/dist/date-time-helper/e-cna.js.map +0 -1
  38. package/dist/date-time-helper/index.d.ts +0 -51
  39. package/dist/date-time-helper/index.js +0 -233
  40. package/dist/date-time-helper/index.js.map +0 -1
  41. package/dist/e-cna/flow/aggregator.d.ts +0 -219
  42. package/dist/e-cna/flow/aggregator.js +0 -16
  43. package/dist/e-cna/flow/aggregator.js.map +0 -1
  44. package/dist/e-cna/flow/index.d.ts +0 -1
  45. package/dist/e-cna/flow/index.js +0 -18
  46. package/dist/e-cna/flow/index.js.map +0 -1
  47. package/dist/e-cna/flow/variants/default.d.ts +0 -219
  48. package/dist/e-cna/flow/variants/default.js +0 -28
  49. package/dist/e-cna/flow/variants/default.js.map +0 -1
  50. package/dist/e-cna/flow/variants/index.d.ts +0 -1
  51. package/dist/e-cna/flow/variants/index.js +0 -18
  52. package/dist/e-cna/flow/variants/index.js.map +0 -1
  53. package/dist/e-cna/index.d.ts +0 -43
  54. package/dist/e-cna/index.js +0 -221
  55. package/dist/e-cna/index.js.map +0 -1
  56. package/dist/e-cna/slides/child_hobbies/index.d.ts +0 -1
  57. package/dist/e-cna/slides/child_hobbies/index.js +0 -18
  58. package/dist/e-cna/slides/child_hobbies/index.js.map +0 -1
  59. package/dist/e-cna/slides/child_hobbies/variants.d.ts +0 -12
  60. package/dist/e-cna/slides/child_hobbies/variants.js +0 -16
  61. package/dist/e-cna/slides/child_hobbies/variants.js.map +0 -1
  62. package/dist/e-cna/slides/child_personality/index.d.ts +0 -1
  63. package/dist/e-cna/slides/child_personality/index.js +0 -18
  64. package/dist/e-cna/slides/child_personality/index.js.map +0 -1
  65. package/dist/e-cna/slides/child_personality/variants.d.ts +0 -12
  66. package/dist/e-cna/slides/child_personality/variants.js +0 -16
  67. package/dist/e-cna/slides/child_personality/variants.js.map +0 -1
  68. package/dist/e-cna/slides/curriculum/index.d.ts +0 -1
  69. package/dist/e-cna/slides/curriculum/index.js +0 -18
  70. package/dist/e-cna/slides/curriculum/index.js.map +0 -1
  71. package/dist/e-cna/slides/curriculum/variants.d.ts +0 -12
  72. package/dist/e-cna/slides/curriculum/variants.js +0 -17
  73. package/dist/e-cna/slides/curriculum/variants.js.map +0 -1
  74. package/dist/e-cna/slides/grade/index.d.ts +0 -1
  75. package/dist/e-cna/slides/grade/index.js +0 -18
  76. package/dist/e-cna/slides/grade/index.js.map +0 -1
  77. package/dist/e-cna/slides/grade/variants.d.ts +0 -18
  78. package/dist/e-cna/slides/grade/variants.js +0 -31
  79. package/dist/e-cna/slides/grade/variants.js.map +0 -1
  80. package/dist/e-cna/slides/index.d.ts +0 -17
  81. package/dist/e-cna/slides/index.js +0 -34
  82. package/dist/e-cna/slides/index.js.map +0 -1
  83. package/dist/e-cna/slides/intro/index.d.ts +0 -1
  84. package/dist/e-cna/slides/intro/index.js +0 -18
  85. package/dist/e-cna/slides/intro/index.js.map +0 -1
  86. package/dist/e-cna/slides/intro/variants.d.ts +0 -7
  87. package/dist/e-cna/slides/intro/variants.js +0 -11
  88. package/dist/e-cna/slides/intro/variants.js.map +0 -1
  89. package/dist/e-cna/slides/key_need_l1/index.d.ts +0 -1
  90. package/dist/e-cna/slides/key_need_l1/index.js +0 -18
  91. package/dist/e-cna/slides/key_need_l1/index.js.map +0 -1
  92. package/dist/e-cna/slides/key_need_l1/variants.d.ts +0 -14
  93. package/dist/e-cna/slides/key_need_l1/variants.js +0 -45
  94. package/dist/e-cna/slides/key_need_l1/variants.js.map +0 -1
  95. package/dist/e-cna/slides/key_need_l2/index.d.ts +0 -1
  96. package/dist/e-cna/slides/key_need_l2/index.js +0 -18
  97. package/dist/e-cna/slides/key_need_l2/index.js.map +0 -1
  98. package/dist/e-cna/slides/key_need_l2/variants.d.ts +0 -67
  99. package/dist/e-cna/slides/key_need_l2/variants.js +0 -139
  100. package/dist/e-cna/slides/key_need_l2/variants.js.map +0 -1
  101. package/dist/e-cna/slides/key_need_l3/index.d.ts +0 -1
  102. package/dist/e-cna/slides/key_need_l3/index.js +0 -18
  103. package/dist/e-cna/slides/key_need_l3/index.js.map +0 -1
  104. package/dist/e-cna/slides/key_need_l3/variants.d.ts +0 -11
  105. package/dist/e-cna/slides/key_need_l3/variants.js +0 -15
  106. package/dist/e-cna/slides/key_need_l3/variants.js.map +0 -1
  107. package/dist/e-cna/slides/math-perception/index.d.ts +0 -1
  108. package/dist/e-cna/slides/math-perception/index.js +0 -18
  109. package/dist/e-cna/slides/math-perception/index.js.map +0 -1
  110. package/dist/e-cna/slides/math-perception/variants.d.ts +0 -15
  111. package/dist/e-cna/slides/math-perception/variants.js +0 -32
  112. package/dist/e-cna/slides/math-perception/variants.js.map +0 -1
  113. package/dist/e-cna/slides/other_curriculum/index.d.ts +0 -1
  114. package/dist/e-cna/slides/other_curriculum/index.js +0 -18
  115. package/dist/e-cna/slides/other_curriculum/index.js.map +0 -1
  116. package/dist/e-cna/slides/other_curriculum/variants.d.ts +0 -12
  117. package/dist/e-cna/slides/other_curriculum/variants.js +0 -17
  118. package/dist/e-cna/slides/other_curriculum/variants.js.map +0 -1
  119. package/dist/e-cna/slides/school_performance_5_12/index.d.ts +0 -1
  120. package/dist/e-cna/slides/school_performance_5_12/index.js +0 -18
  121. package/dist/e-cna/slides/school_performance_5_12/index.js.map +0 -1
  122. package/dist/e-cna/slides/school_performance_5_12/variants.d.ts +0 -15
  123. package/dist/e-cna/slides/school_performance_5_12/variants.js +0 -26
  124. package/dist/e-cna/slides/school_performance_5_12/variants.js.map +0 -1
  125. package/dist/e-cna/slides/school_performance_kg_4/index.d.ts +0 -1
  126. package/dist/e-cna/slides/school_performance_kg_4/index.js +0 -18
  127. package/dist/e-cna/slides/school_performance_kg_4/index.js.map +0 -1
  128. package/dist/e-cna/slides/school_performance_kg_4/variants.d.ts +0 -14
  129. package/dist/e-cna/slides/school_performance_kg_4/variants.js +0 -28
  130. package/dist/e-cna/slides/school_performance_kg_4/variants.js.map +0 -1
  131. package/dist/e-cna/slides/secondary_needs/index.d.ts +0 -1
  132. package/dist/e-cna/slides/secondary_needs/index.js +0 -18
  133. package/dist/e-cna/slides/secondary_needs/index.js.map +0 -1
  134. package/dist/e-cna/slides/secondary_needs/variants.d.ts +0 -14
  135. package/dist/e-cna/slides/secondary_needs/variants.js +0 -28
  136. package/dist/e-cna/slides/secondary_needs/variants.js.map +0 -1
  137. package/dist/e-cna/slides/signup/index.d.ts +0 -1
  138. package/dist/e-cna/slides/signup/index.js +0 -18
  139. package/dist/e-cna/slides/signup/index.js.map +0 -1
  140. package/dist/e-cna/slides/signup/variants.d.ts +0 -7
  141. package/dist/e-cna/slides/signup/variants.js +0 -11
  142. package/dist/e-cna/slides/signup/variants.js.map +0 -1
  143. package/dist/e-cna/slides/signup_refer/index.d.ts +0 -1
  144. package/dist/e-cna/slides/signup_refer/index.js +0 -18
  145. package/dist/e-cna/slides/signup_refer/index.js.map +0 -1
  146. package/dist/e-cna/slides/signup_refer/variants.d.ts +0 -12
  147. package/dist/e-cna/slides/signup_refer/variants.js +0 -20
  148. package/dist/e-cna/slides/signup_refer/variants.js.map +0 -1
  149. package/dist/e-cna/slides/slot_pick/index.d.ts +0 -1
  150. package/dist/e-cna/slides/slot_pick/index.js +0 -18
  151. package/dist/e-cna/slides/slot_pick/index.js.map +0 -1
  152. package/dist/e-cna/slides/slot_pick/variants.d.ts +0 -7
  153. package/dist/e-cna/slides/slot_pick/variants.js +0 -11
  154. package/dist/e-cna/slides/slot_pick/variants.js.map +0 -1
  155. package/dist/e-cna/utils/index.d.ts +0 -4
  156. package/dist/e-cna/utils/index.js +0 -28
  157. package/dist/e-cna/utils/index.js.map +0 -1
  158. package/dist/index.d.ts +0 -7
  159. package/dist/index.js.map +0 -1
  160. package/dist/local-storage/index.d.ts +0 -13
  161. package/dist/local-storage/index.js +0 -172
  162. package/dist/local-storage/index.js.map +0 -1
  163. package/dist/object/index.d.ts +0 -6
  164. package/dist/object/index.js +0 -24
  165. package/dist/object/index.js.map +0 -1
  166. package/src/constants/country/index.ts +0 -2
  167. package/src/constants/country/iso-country-code.ts +0 -248
  168. package/src/constants/date-time/index.ts +0 -43
  169. package/src/constants/date-time/international-timezones.ts +0 -157
  170. package/src/constants/e-cna/index.ts +0 -45
  171. package/src/constants/index.ts +0 -2
  172. package/src/country/index.ts +0 -9
  173. package/src/date-time-helper/e-cna.ts +0 -205
  174. package/src/date-time-helper/index.ts +0 -306
  175. package/src/e-cna/flow/aggregator.ts +0 -12
  176. package/src/e-cna/flow/index.ts +0 -1
  177. package/src/e-cna/flow/variants/default.ts +0 -42
  178. package/src/e-cna/flow/variants/index.ts +0 -1
  179. package/src/e-cna/index.ts +0 -249
  180. package/src/e-cna/slides/child_hobbies/index.ts +0 -1
  181. package/src/e-cna/slides/child_hobbies/variants.ts +0 -13
  182. package/src/e-cna/slides/child_personality/index.ts +0 -1
  183. package/src/e-cna/slides/child_personality/variants.ts +0 -12
  184. package/src/e-cna/slides/curriculum/index.ts +0 -1
  185. package/src/e-cna/slides/curriculum/variants.ts +0 -14
  186. package/src/e-cna/slides/grade/index.ts +0 -1
  187. package/src/e-cna/slides/grade/variants.ts +0 -29
  188. package/src/e-cna/slides/index.ts +0 -17
  189. package/src/e-cna/slides/intro/index.ts +0 -1
  190. package/src/e-cna/slides/intro/variants.ts +0 -7
  191. package/src/e-cna/slides/key_need_l1/index.ts +0 -1
  192. package/src/e-cna/slides/key_need_l1/variants.ts +0 -44
  193. package/src/e-cna/slides/key_need_l2/index.ts +0 -1
  194. package/src/e-cna/slides/key_need_l2/variants.ts +0 -143
  195. package/src/e-cna/slides/key_need_l3/index.ts +0 -1
  196. package/src/e-cna/slides/key_need_l3/variants.ts +0 -13
  197. package/src/e-cna/slides/math-perception/index.ts +0 -1
  198. package/src/e-cna/slides/math-perception/variants.ts +0 -30
  199. package/src/e-cna/slides/other_curriculum/index.ts +0 -1
  200. package/src/e-cna/slides/other_curriculum/variants.ts +0 -14
  201. package/src/e-cna/slides/school_performance_5_12/index.ts +0 -1
  202. package/src/e-cna/slides/school_performance_5_12/variants.ts +0 -23
  203. package/src/e-cna/slides/school_performance_kg_4/index.ts +0 -1
  204. package/src/e-cna/slides/school_performance_kg_4/variants.ts +0 -25
  205. package/src/e-cna/slides/secondary_needs/index.ts +0 -1
  206. package/src/e-cna/slides/secondary_needs/variants.ts +0 -26
  207. package/src/e-cna/slides/signup/index.ts +0 -1
  208. package/src/e-cna/slides/signup/variants.ts +0 -7
  209. package/src/e-cna/slides/signup_refer/index.ts +0 -1
  210. package/src/e-cna/slides/signup_refer/variants.ts +0 -16
  211. package/src/e-cna/slides/slot_pick/index.ts +0 -1
  212. package/src/e-cna/slides/slot_pick/variants.ts +0 -7
  213. package/src/e-cna/utils/index.ts +0 -32
  214. package/src/local-storage/index.ts +0 -186
  215. package/src/object/index.ts +0 -26
@@ -1,219 +0,0 @@
1
- export declare const getFlow: (flow: string) => {
2
- intro: {
3
- id: string;
4
- questionID: string;
5
- nextSlide: string;
6
- };
7
- grade: {
8
- id: number;
9
- questionID: string;
10
- type: string;
11
- question: string;
12
- description: string;
13
- options: ({
14
- value: string;
15
- label?: undefined;
16
- } | {
17
- label: string;
18
- value: string;
19
- })[];
20
- defaultNextquestionID: string;
21
- questionUUID: string;
22
- };
23
- math_perception: {
24
- id: number;
25
- questionID: string;
26
- description: string;
27
- type: string;
28
- question: string;
29
- options: {
30
- value: string;
31
- logo: string;
32
- }[];
33
- readonly defaultNextquestionID: string;
34
- questionUUID: string;
35
- };
36
- school_performance_5_12: {
37
- id: number;
38
- questionID: string;
39
- type: string;
40
- question: string;
41
- description: string;
42
- options: {
43
- value: string;
44
- logo: string;
45
- }[];
46
- defaultNextquestionID: string;
47
- questionUUID: string;
48
- };
49
- school_performance_kg_4: {
50
- id: number;
51
- questionID: string;
52
- type: string;
53
- question: string;
54
- options: {
55
- value: string;
56
- logo: string;
57
- }[];
58
- defaultNextquestionID: string;
59
- questionUUID: string;
60
- };
61
- key_need_l1: {
62
- id: number;
63
- questionID: string;
64
- type: string;
65
- question: string;
66
- description: string;
67
- readonly options: {
68
- value: string;
69
- nextQuestionID: string;
70
- }[];
71
- questionUUID: string;
72
- };
73
- strong_math_foundation: {
74
- id: number;
75
- questionID: string;
76
- type: string;
77
- question: string;
78
- readonly options: {
79
- value: string;
80
- }[];
81
- questionUUID: string;
82
- };
83
- mental_math: {
84
- id: number;
85
- questionID: string;
86
- type: string;
87
- question: string;
88
- readonly options: {
89
- value: string;
90
- }[];
91
- defaultNextquestionID: string;
92
- questionUUID: string;
93
- };
94
- learning_gaps: {
95
- id: number;
96
- questionID: string;
97
- type: string;
98
- question: string;
99
- options: {
100
- value: string;
101
- }[];
102
- defaultNextquestionID: string;
103
- questionUUID: string;
104
- };
105
- more_practice: {
106
- id: number;
107
- questionID: string;
108
- type: string;
109
- question: string;
110
- options: {
111
- value: string;
112
- }[];
113
- defaultNextquestionID: string;
114
- questionUUID: string;
115
- };
116
- develop_interest: {
117
- id: number;
118
- questionID: string;
119
- type: string;
120
- question: string;
121
- readonly options: {
122
- value: string;
123
- }[];
124
- defaultNextquestionID: string;
125
- questionUUID: string;
126
- };
127
- advanced_and_competitive_maths: {
128
- id: number;
129
- questionID: string;
130
- type: string;
131
- question: string;
132
- options: {
133
- value: string;
134
- }[];
135
- defaultNextquestionID: string;
136
- questionUUID: string;
137
- };
138
- key_need_l3: {
139
- id: number;
140
- questionID: string;
141
- type: string;
142
- question: string;
143
- defaultNextquestionID: number;
144
- questionUUID: string;
145
- placeholderText: string;
146
- };
147
- secondary_needs: {
148
- id: number;
149
- questionID: string;
150
- type: string;
151
- question: string;
152
- description: string;
153
- readonly options: {
154
- value: string;
155
- }[];
156
- defaultNextquestionID: string;
157
- questionUUID: string;
158
- };
159
- child_personality: {
160
- id: number;
161
- questionID: string;
162
- type: string;
163
- question: string;
164
- description: string;
165
- defaultNextquestionID: string;
166
- questionUUID: string;
167
- placeholderText: string;
168
- };
169
- child_hobbies: {
170
- id: number;
171
- questionID: string;
172
- type: string;
173
- question: string;
174
- description: string;
175
- questionUUID: string;
176
- placeholderText: string;
177
- nextSlide: string;
178
- };
179
- slot_pick: {
180
- id: string;
181
- questionID: string;
182
- nextSlide: string;
183
- };
184
- parent_student_details: {
185
- id: string;
186
- questionID: string;
187
- nextSlide: string;
188
- };
189
- other_curriculum: {
190
- id: number;
191
- questionID: string;
192
- type: string;
193
- question: string;
194
- description: string;
195
- placeholderText: string;
196
- questionUUID: string;
197
- textAreaHeight: string;
198
- };
199
- signup_refer: {
200
- id: number;
201
- questionID: string;
202
- type: string;
203
- question: string;
204
- options: {
205
- value: string;
206
- }[];
207
- questionUUID: string;
208
- };
209
- curriculum: {
210
- id: number;
211
- questionID: string;
212
- type: string;
213
- question: string;
214
- description: string;
215
- placeholderText: string;
216
- questionUUID: string;
217
- textAreaHeight: string;
218
- };
219
- };
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getFlow = void 0;
4
- const variants_1 = require("./variants");
5
- const constants_1 = require("../../constants");
6
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
7
- const getFlow = (flow) => {
8
- switch (flow) {
9
- case constants_1.FLOWS.DEFAULT:
10
- return variants_1.DEFAULT_FLOW;
11
- default:
12
- return variants_1.DEFAULT_FLOW;
13
- }
14
- };
15
- exports.getFlow = getFlow;
16
- //# sourceMappingURL=aggregator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"aggregator.js","sourceRoot":"","sources":["../../../src/e-cna/flow/aggregator.ts"],"names":[],"mappings":";;;AAAA,yCAA0C;AAC1C,+CAAwC;AAExC,6DAA6D;AACtD,MAAM,OAAO,GAAG,CAAC,IAAY,EAAE,EAAE;IACtC,QAAQ,IAAI,EAAC;QACX,KAAK,iBAAK,CAAC,OAAO;YAChB,OAAO,uBAAY,CAAC;QACtB;YACE,OAAO,uBAAY,CAAC;KACvB;AACH,CAAC,CAAC;AAPW,QAAA,OAAO,WAOlB"}
@@ -1 +0,0 @@
1
- export * from './aggregator';
@@ -1,18 +0,0 @@
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("./aggregator"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/e-cna/flow/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
@@ -1,219 +0,0 @@
1
- export declare const DEFAULT_FLOW: {
2
- intro: {
3
- id: string;
4
- questionID: string;
5
- nextSlide: string;
6
- };
7
- grade: {
8
- id: number;
9
- questionID: string;
10
- type: string;
11
- question: string;
12
- description: string;
13
- options: ({
14
- value: string;
15
- label?: undefined;
16
- } | {
17
- label: string;
18
- value: string;
19
- })[];
20
- defaultNextquestionID: string;
21
- questionUUID: string;
22
- };
23
- math_perception: {
24
- id: number;
25
- questionID: string;
26
- description: string;
27
- type: string;
28
- question: string;
29
- options: {
30
- value: string;
31
- logo: string;
32
- }[];
33
- readonly defaultNextquestionID: string;
34
- questionUUID: string;
35
- };
36
- school_performance_5_12: {
37
- id: number;
38
- questionID: string;
39
- type: string;
40
- question: string;
41
- description: string;
42
- options: {
43
- value: string;
44
- logo: string;
45
- }[];
46
- defaultNextquestionID: string;
47
- questionUUID: string;
48
- };
49
- school_performance_kg_4: {
50
- id: number;
51
- questionID: string;
52
- type: string;
53
- question: string;
54
- options: {
55
- value: string;
56
- logo: string;
57
- }[];
58
- defaultNextquestionID: string;
59
- questionUUID: string;
60
- };
61
- key_need_l1: {
62
- id: number;
63
- questionID: string;
64
- type: string;
65
- question: string;
66
- description: string;
67
- readonly options: {
68
- value: string;
69
- nextQuestionID: string;
70
- }[];
71
- questionUUID: string;
72
- };
73
- strong_math_foundation: {
74
- id: number;
75
- questionID: string;
76
- type: string;
77
- question: string;
78
- readonly options: {
79
- value: string;
80
- }[];
81
- questionUUID: string;
82
- };
83
- mental_math: {
84
- id: number;
85
- questionID: string;
86
- type: string;
87
- question: string;
88
- readonly options: {
89
- value: string;
90
- }[];
91
- defaultNextquestionID: string;
92
- questionUUID: string;
93
- };
94
- learning_gaps: {
95
- id: number;
96
- questionID: string;
97
- type: string;
98
- question: string;
99
- options: {
100
- value: string;
101
- }[];
102
- defaultNextquestionID: string;
103
- questionUUID: string;
104
- };
105
- more_practice: {
106
- id: number;
107
- questionID: string;
108
- type: string;
109
- question: string;
110
- options: {
111
- value: string;
112
- }[];
113
- defaultNextquestionID: string;
114
- questionUUID: string;
115
- };
116
- develop_interest: {
117
- id: number;
118
- questionID: string;
119
- type: string;
120
- question: string;
121
- readonly options: {
122
- value: string;
123
- }[];
124
- defaultNextquestionID: string;
125
- questionUUID: string;
126
- };
127
- advanced_and_competitive_maths: {
128
- id: number;
129
- questionID: string;
130
- type: string;
131
- question: string;
132
- options: {
133
- value: string;
134
- }[];
135
- defaultNextquestionID: string;
136
- questionUUID: string;
137
- };
138
- key_need_l3: {
139
- id: number;
140
- questionID: string;
141
- type: string;
142
- question: string;
143
- defaultNextquestionID: number;
144
- questionUUID: string;
145
- placeholderText: string;
146
- };
147
- secondary_needs: {
148
- id: number;
149
- questionID: string;
150
- type: string;
151
- question: string;
152
- description: string;
153
- readonly options: {
154
- value: string;
155
- }[];
156
- defaultNextquestionID: string;
157
- questionUUID: string;
158
- };
159
- child_personality: {
160
- id: number;
161
- questionID: string;
162
- type: string;
163
- question: string;
164
- description: string;
165
- defaultNextquestionID: string;
166
- questionUUID: string;
167
- placeholderText: string;
168
- };
169
- child_hobbies: {
170
- id: number;
171
- questionID: string;
172
- type: string;
173
- question: string;
174
- description: string;
175
- questionUUID: string;
176
- placeholderText: string;
177
- nextSlide: string;
178
- };
179
- slot_pick: {
180
- id: string;
181
- questionID: string;
182
- nextSlide: string;
183
- };
184
- parent_student_details: {
185
- id: string;
186
- questionID: string;
187
- nextSlide: string;
188
- };
189
- other_curriculum: {
190
- id: number;
191
- questionID: string;
192
- type: string;
193
- question: string;
194
- description: string;
195
- placeholderText: string;
196
- questionUUID: string;
197
- textAreaHeight: string;
198
- };
199
- signup_refer: {
200
- id: number;
201
- questionID: string;
202
- type: string;
203
- question: string;
204
- options: {
205
- value: string;
206
- }[];
207
- questionUUID: string;
208
- };
209
- curriculum: {
210
- id: number;
211
- questionID: string;
212
- type: string;
213
- question: string;
214
- description: string;
215
- placeholderText: string;
216
- questionUUID: string;
217
- textAreaHeight: string;
218
- };
219
- };
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DEFAULT_FLOW = void 0;
4
- const slides_1 = require("../../slides");
5
- exports.DEFAULT_FLOW = {
6
- intro: slides_1.intro.DEFAULT,
7
- grade: slides_1.grade.DEFAULT,
8
- math_perception: slides_1.math_perception.DEFAULT,
9
- school_performance_5_12: slides_1.school_performance_5_12.DEFAULT,
10
- school_performance_kg_4: slides_1.school_performance_kg_4.DEFAULT,
11
- key_need_l1: slides_1.key_need_l1.DEFAULT,
12
- strong_math_foundation: slides_1.key_need_l2.STRONG_MATH_FOUNDATION,
13
- mental_math: slides_1.key_need_l2.MENTAL_MATH,
14
- learning_gaps: slides_1.key_need_l2.LEARNING_GAPS,
15
- more_practice: slides_1.key_need_l2.MORE_PRACTICE,
16
- develop_interest: slides_1.key_need_l2.DEVELOP_INTEREST,
17
- advanced_and_competitive_maths: slides_1.key_need_l2.ADVANCE_AND_COMPETITIVE_MATHS,
18
- key_need_l3: slides_1.key_need_l3.DEFAULT,
19
- secondary_needs: slides_1.secondary_needs.DEFAULT,
20
- child_personality: slides_1.child_personality.DEFAULT,
21
- child_hobbies: slides_1.child_hobbies.DEFAULT,
22
- slot_pick: slides_1.slot_pick.DEFAULT,
23
- parent_student_details: slides_1.signup.DEFAULT,
24
- other_curriculum: slides_1.other_curriculum.DEFAULT,
25
- signup_refer: slides_1.signup_refer.DEFAULT,
26
- curriculum: slides_1.curriculum.DEFAULT,
27
- };
28
- //# sourceMappingURL=default.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"default.js","sourceRoot":"","sources":["../../../../src/e-cna/flow/variants/default.ts"],"names":[],"mappings":";;;AAAA,yCAiBsB;AAET,QAAA,YAAY,GAAG;IAC1B,KAAK,EAAE,cAAK,CAAC,OAAO;IACpB,KAAK,EAAE,cAAK,CAAC,OAAO;IACpB,eAAe,EAAE,wBAAe,CAAC,OAAO;IACxC,uBAAuB,EAAE,gCAAuB,CAAC,OAAO;IACxD,uBAAuB,EAAE,gCAAuB,CAAC,OAAO;IACxD,WAAW,EAAE,oBAAW,CAAC,OAAO;IAChC,sBAAsB,EAAE,oBAAW,CAAC,sBAAsB;IAC1D,WAAW,EAAE,oBAAW,CAAC,WAAW;IACpC,aAAa,EAAE,oBAAW,CAAC,aAAa;IACxC,aAAa,EAAE,oBAAW,CAAC,aAAa;IACxC,gBAAgB,EAAE,oBAAW,CAAC,gBAAgB;IAC9C,8BAA8B,EAAE,oBAAW,CAAC,6BAA6B;IACzE,WAAW,EAAE,oBAAW,CAAC,OAAO;IAChC,eAAe,EAAE,wBAAe,CAAC,OAAO;IACxC,iBAAiB,EAAE,0BAAiB,CAAC,OAAO;IAC5C,aAAa,EAAE,sBAAa,CAAC,OAAO;IACpC,SAAS,EAAE,kBAAS,CAAC,OAAO;IAC5B,sBAAsB,EAAE,eAAM,CAAC,OAAO;IACtC,gBAAgB,EAAE,yBAAgB,CAAC,OAAO;IAC1C,YAAY,EAAE,qBAAY,CAAC,OAAO;IAClC,UAAU,EAAE,mBAAU,CAAC,OAAO;CAC/B,CAAC"}
@@ -1 +0,0 @@
1
- export * from './default';
@@ -1,18 +0,0 @@
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("./default"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/e-cna/flow/variants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B"}
@@ -1,43 +0,0 @@
1
- export declare const timeSlots: {
2
- now: string;
3
- anytime: string;
4
- today: string;
5
- tomorrow: string;
6
- };
7
- export declare const ecnaSlideTypeName: {
8
- CLASS_CONFIRMED: string;
9
- };
10
- export declare const getSlideDetails: (path: string) => {
11
- slideType: string;
12
- slideId: string | number;
13
- };
14
- export declare function handleModalClose(path: string): string;
15
- export declare const getSlots: (noOfDaysFromToday?: number, slotDetails?: never[]) => {
16
- title: string;
17
- slots: ({
18
- key: number;
19
- label: never;
20
- slot: {
21
- from: string;
22
- to: number;
23
- };
24
- disabled?: undefined;
25
- } | {
26
- key: string;
27
- label: string;
28
- disabled: boolean;
29
- slot: {
30
- from: number;
31
- to: number;
32
- };
33
- })[];
34
- };
35
- export declare const getOrigin: () => string;
36
- export declare const getQueryField: (asPath: string, field: string) => string;
37
- export declare const getCounsellorSpelling: () => "Counselor" | "Counsellor";
38
- export declare const isOtpRequired: (cueCountryCode: string) => boolean;
39
- export declare const getUrlWithoutHash: (asPath: string) => string;
40
- export declare const showLaptopQuestion: () => boolean;
41
- export declare const nonROWCountries: string[];
42
- export declare const isROWCountry: (countryCode: string) => boolean;
43
- export * from './flow';