@cuemath/web-utils 0.0.1-beta.6 → 0.0.1

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 (213) hide show
  1. package/.husky/pre-commit +0 -1
  2. package/dist/index.js +0 -6
  3. package/package.json +5 -18
  4. package/src/cookie/index.ts +1 -33
  5. package/src/index.ts +0 -6
  6. package/.eslintignore +0 -2
  7. package/.huskyrc +0 -5
  8. package/.lintstagedrc.yml +0 -5
  9. package/dist/constants/country/index.d.ts +0 -2
  10. package/dist/constants/country/index.js +0 -7
  11. package/dist/constants/country/index.js.map +0 -1
  12. package/dist/constants/country/iso-country-code.d.ts +0 -248
  13. package/dist/constants/country/iso-country-code.js +0 -252
  14. package/dist/constants/country/iso-country-code.js.map +0 -1
  15. package/dist/constants/date-time/index.d.ts +0 -17
  16. package/dist/constants/date-time/index.js +0 -42
  17. package/dist/constants/date-time/index.js.map +0 -1
  18. package/dist/constants/date-time/international-timezones.d.ts +0 -7
  19. package/dist/constants/date-time/international-timezones.js +0 -155
  20. package/dist/constants/date-time/international-timezones.js.map +0 -1
  21. package/dist/constants/e-cna/index.d.ts +0 -35
  22. package/dist/constants/e-cna/index.js +0 -39
  23. package/dist/constants/e-cna/index.js.map +0 -1
  24. package/dist/constants/index.d.ts +0 -2
  25. package/dist/constants/index.js +0 -19
  26. package/dist/constants/index.js.map +0 -1
  27. package/dist/cookie/index.d.ts +0 -4
  28. package/dist/cookie/index.js +0 -46
  29. package/dist/cookie/index.js.map +0 -1
  30. package/dist/country/index.d.ts +0 -1
  31. package/dist/country/index.js +0 -13
  32. package/dist/country/index.js.map +0 -1
  33. package/dist/date-time-helper/e-cna.d.ts +0 -32
  34. package/dist/date-time-helper/e-cna.js +0 -153
  35. package/dist/date-time-helper/e-cna.js.map +0 -1
  36. package/dist/date-time-helper/index.d.ts +0 -51
  37. package/dist/date-time-helper/index.js +0 -233
  38. package/dist/date-time-helper/index.js.map +0 -1
  39. package/dist/e-cna/flow/aggregator.d.ts +0 -219
  40. package/dist/e-cna/flow/aggregator.js +0 -16
  41. package/dist/e-cna/flow/aggregator.js.map +0 -1
  42. package/dist/e-cna/flow/index.d.ts +0 -1
  43. package/dist/e-cna/flow/index.js +0 -18
  44. package/dist/e-cna/flow/index.js.map +0 -1
  45. package/dist/e-cna/flow/variants/default.d.ts +0 -219
  46. package/dist/e-cna/flow/variants/default.js +0 -28
  47. package/dist/e-cna/flow/variants/default.js.map +0 -1
  48. package/dist/e-cna/flow/variants/index.d.ts +0 -1
  49. package/dist/e-cna/flow/variants/index.js +0 -18
  50. package/dist/e-cna/flow/variants/index.js.map +0 -1
  51. package/dist/e-cna/index.d.ts +0 -43
  52. package/dist/e-cna/index.js +0 -221
  53. package/dist/e-cna/index.js.map +0 -1
  54. package/dist/e-cna/slides/child_hobbies/index.d.ts +0 -1
  55. package/dist/e-cna/slides/child_hobbies/index.js +0 -18
  56. package/dist/e-cna/slides/child_hobbies/index.js.map +0 -1
  57. package/dist/e-cna/slides/child_hobbies/variants.d.ts +0 -12
  58. package/dist/e-cna/slides/child_hobbies/variants.js +0 -16
  59. package/dist/e-cna/slides/child_hobbies/variants.js.map +0 -1
  60. package/dist/e-cna/slides/child_personality/index.d.ts +0 -1
  61. package/dist/e-cna/slides/child_personality/index.js +0 -18
  62. package/dist/e-cna/slides/child_personality/index.js.map +0 -1
  63. package/dist/e-cna/slides/child_personality/variants.d.ts +0 -12
  64. package/dist/e-cna/slides/child_personality/variants.js +0 -16
  65. package/dist/e-cna/slides/child_personality/variants.js.map +0 -1
  66. package/dist/e-cna/slides/curriculum/index.d.ts +0 -1
  67. package/dist/e-cna/slides/curriculum/index.js +0 -18
  68. package/dist/e-cna/slides/curriculum/index.js.map +0 -1
  69. package/dist/e-cna/slides/curriculum/variants.d.ts +0 -12
  70. package/dist/e-cna/slides/curriculum/variants.js +0 -17
  71. package/dist/e-cna/slides/curriculum/variants.js.map +0 -1
  72. package/dist/e-cna/slides/grade/index.d.ts +0 -1
  73. package/dist/e-cna/slides/grade/index.js +0 -18
  74. package/dist/e-cna/slides/grade/index.js.map +0 -1
  75. package/dist/e-cna/slides/grade/variants.d.ts +0 -18
  76. package/dist/e-cna/slides/grade/variants.js +0 -31
  77. package/dist/e-cna/slides/grade/variants.js.map +0 -1
  78. package/dist/e-cna/slides/index.d.ts +0 -17
  79. package/dist/e-cna/slides/index.js +0 -34
  80. package/dist/e-cna/slides/index.js.map +0 -1
  81. package/dist/e-cna/slides/intro/index.d.ts +0 -1
  82. package/dist/e-cna/slides/intro/index.js +0 -18
  83. package/dist/e-cna/slides/intro/index.js.map +0 -1
  84. package/dist/e-cna/slides/intro/variants.d.ts +0 -7
  85. package/dist/e-cna/slides/intro/variants.js +0 -11
  86. package/dist/e-cna/slides/intro/variants.js.map +0 -1
  87. package/dist/e-cna/slides/key_need_l1/index.d.ts +0 -1
  88. package/dist/e-cna/slides/key_need_l1/index.js +0 -18
  89. package/dist/e-cna/slides/key_need_l1/index.js.map +0 -1
  90. package/dist/e-cna/slides/key_need_l1/variants.d.ts +0 -14
  91. package/dist/e-cna/slides/key_need_l1/variants.js +0 -45
  92. package/dist/e-cna/slides/key_need_l1/variants.js.map +0 -1
  93. package/dist/e-cna/slides/key_need_l2/index.d.ts +0 -1
  94. package/dist/e-cna/slides/key_need_l2/index.js +0 -18
  95. package/dist/e-cna/slides/key_need_l2/index.js.map +0 -1
  96. package/dist/e-cna/slides/key_need_l2/variants.d.ts +0 -67
  97. package/dist/e-cna/slides/key_need_l2/variants.js +0 -139
  98. package/dist/e-cna/slides/key_need_l2/variants.js.map +0 -1
  99. package/dist/e-cna/slides/key_need_l3/index.d.ts +0 -1
  100. package/dist/e-cna/slides/key_need_l3/index.js +0 -18
  101. package/dist/e-cna/slides/key_need_l3/index.js.map +0 -1
  102. package/dist/e-cna/slides/key_need_l3/variants.d.ts +0 -11
  103. package/dist/e-cna/slides/key_need_l3/variants.js +0 -15
  104. package/dist/e-cna/slides/key_need_l3/variants.js.map +0 -1
  105. package/dist/e-cna/slides/math-perception/index.d.ts +0 -1
  106. package/dist/e-cna/slides/math-perception/index.js +0 -18
  107. package/dist/e-cna/slides/math-perception/index.js.map +0 -1
  108. package/dist/e-cna/slides/math-perception/variants.d.ts +0 -15
  109. package/dist/e-cna/slides/math-perception/variants.js +0 -32
  110. package/dist/e-cna/slides/math-perception/variants.js.map +0 -1
  111. package/dist/e-cna/slides/other_curriculum/index.d.ts +0 -1
  112. package/dist/e-cna/slides/other_curriculum/index.js +0 -18
  113. package/dist/e-cna/slides/other_curriculum/index.js.map +0 -1
  114. package/dist/e-cna/slides/other_curriculum/variants.d.ts +0 -12
  115. package/dist/e-cna/slides/other_curriculum/variants.js +0 -17
  116. package/dist/e-cna/slides/other_curriculum/variants.js.map +0 -1
  117. package/dist/e-cna/slides/school_performance_5_12/index.d.ts +0 -1
  118. package/dist/e-cna/slides/school_performance_5_12/index.js +0 -18
  119. package/dist/e-cna/slides/school_performance_5_12/index.js.map +0 -1
  120. package/dist/e-cna/slides/school_performance_5_12/variants.d.ts +0 -15
  121. package/dist/e-cna/slides/school_performance_5_12/variants.js +0 -26
  122. package/dist/e-cna/slides/school_performance_5_12/variants.js.map +0 -1
  123. package/dist/e-cna/slides/school_performance_kg_4/index.d.ts +0 -1
  124. package/dist/e-cna/slides/school_performance_kg_4/index.js +0 -18
  125. package/dist/e-cna/slides/school_performance_kg_4/index.js.map +0 -1
  126. package/dist/e-cna/slides/school_performance_kg_4/variants.d.ts +0 -14
  127. package/dist/e-cna/slides/school_performance_kg_4/variants.js +0 -28
  128. package/dist/e-cna/slides/school_performance_kg_4/variants.js.map +0 -1
  129. package/dist/e-cna/slides/secondary_needs/index.d.ts +0 -1
  130. package/dist/e-cna/slides/secondary_needs/index.js +0 -18
  131. package/dist/e-cna/slides/secondary_needs/index.js.map +0 -1
  132. package/dist/e-cna/slides/secondary_needs/variants.d.ts +0 -14
  133. package/dist/e-cna/slides/secondary_needs/variants.js +0 -28
  134. package/dist/e-cna/slides/secondary_needs/variants.js.map +0 -1
  135. package/dist/e-cna/slides/signup/index.d.ts +0 -1
  136. package/dist/e-cna/slides/signup/index.js +0 -18
  137. package/dist/e-cna/slides/signup/index.js.map +0 -1
  138. package/dist/e-cna/slides/signup/variants.d.ts +0 -7
  139. package/dist/e-cna/slides/signup/variants.js +0 -11
  140. package/dist/e-cna/slides/signup/variants.js.map +0 -1
  141. package/dist/e-cna/slides/signup_refer/index.d.ts +0 -1
  142. package/dist/e-cna/slides/signup_refer/index.js +0 -18
  143. package/dist/e-cna/slides/signup_refer/index.js.map +0 -1
  144. package/dist/e-cna/slides/signup_refer/variants.d.ts +0 -12
  145. package/dist/e-cna/slides/signup_refer/variants.js +0 -20
  146. package/dist/e-cna/slides/signup_refer/variants.js.map +0 -1
  147. package/dist/e-cna/slides/slot_pick/index.d.ts +0 -1
  148. package/dist/e-cna/slides/slot_pick/index.js +0 -18
  149. package/dist/e-cna/slides/slot_pick/index.js.map +0 -1
  150. package/dist/e-cna/slides/slot_pick/variants.d.ts +0 -7
  151. package/dist/e-cna/slides/slot_pick/variants.js +0 -11
  152. package/dist/e-cna/slides/slot_pick/variants.js.map +0 -1
  153. package/dist/e-cna/utils/index.d.ts +0 -4
  154. package/dist/e-cna/utils/index.js +0 -28
  155. package/dist/e-cna/utils/index.js.map +0 -1
  156. package/dist/index.d.ts +0 -7
  157. package/dist/index.js.map +0 -1
  158. package/dist/local-storage/index.d.ts +0 -13
  159. package/dist/local-storage/index.js +0 -172
  160. package/dist/local-storage/index.js.map +0 -1
  161. package/dist/object/index.d.ts +0 -6
  162. package/dist/object/index.js +0 -24
  163. package/dist/object/index.js.map +0 -1
  164. package/src/constants/country/index.ts +0 -2
  165. package/src/constants/country/iso-country-code.ts +0 -248
  166. package/src/constants/date-time/index.ts +0 -43
  167. package/src/constants/date-time/international-timezones.ts +0 -157
  168. package/src/constants/e-cna/index.ts +0 -45
  169. package/src/constants/index.ts +0 -2
  170. package/src/country/index.ts +0 -9
  171. package/src/date-time-helper/e-cna.ts +0 -205
  172. package/src/date-time-helper/index.ts +0 -306
  173. package/src/e-cna/flow/aggregator.ts +0 -12
  174. package/src/e-cna/flow/index.ts +0 -1
  175. package/src/e-cna/flow/variants/default.ts +0 -42
  176. package/src/e-cna/flow/variants/index.ts +0 -1
  177. package/src/e-cna/index.ts +0 -249
  178. package/src/e-cna/slides/child_hobbies/index.ts +0 -1
  179. package/src/e-cna/slides/child_hobbies/variants.ts +0 -13
  180. package/src/e-cna/slides/child_personality/index.ts +0 -1
  181. package/src/e-cna/slides/child_personality/variants.ts +0 -12
  182. package/src/e-cna/slides/curriculum/index.ts +0 -1
  183. package/src/e-cna/slides/curriculum/variants.ts +0 -14
  184. package/src/e-cna/slides/grade/index.ts +0 -1
  185. package/src/e-cna/slides/grade/variants.ts +0 -29
  186. package/src/e-cna/slides/index.ts +0 -17
  187. package/src/e-cna/slides/intro/index.ts +0 -1
  188. package/src/e-cna/slides/intro/variants.ts +0 -7
  189. package/src/e-cna/slides/key_need_l1/index.ts +0 -1
  190. package/src/e-cna/slides/key_need_l1/variants.ts +0 -44
  191. package/src/e-cna/slides/key_need_l2/index.ts +0 -1
  192. package/src/e-cna/slides/key_need_l2/variants.ts +0 -143
  193. package/src/e-cna/slides/key_need_l3/index.ts +0 -1
  194. package/src/e-cna/slides/key_need_l3/variants.ts +0 -13
  195. package/src/e-cna/slides/math-perception/index.ts +0 -1
  196. package/src/e-cna/slides/math-perception/variants.ts +0 -30
  197. package/src/e-cna/slides/other_curriculum/index.ts +0 -1
  198. package/src/e-cna/slides/other_curriculum/variants.ts +0 -14
  199. package/src/e-cna/slides/school_performance_5_12/index.ts +0 -1
  200. package/src/e-cna/slides/school_performance_5_12/variants.ts +0 -23
  201. package/src/e-cna/slides/school_performance_kg_4/index.ts +0 -1
  202. package/src/e-cna/slides/school_performance_kg_4/variants.ts +0 -25
  203. package/src/e-cna/slides/secondary_needs/index.ts +0 -1
  204. package/src/e-cna/slides/secondary_needs/variants.ts +0 -26
  205. package/src/e-cna/slides/signup/index.ts +0 -1
  206. package/src/e-cna/slides/signup/variants.ts +0 -7
  207. package/src/e-cna/slides/signup_refer/index.ts +0 -1
  208. package/src/e-cna/slides/signup_refer/variants.ts +0 -16
  209. package/src/e-cna/slides/slot_pick/index.ts +0 -1
  210. package/src/e-cna/slides/slot_pick/variants.ts +0 -7
  211. package/src/e-cna/utils/index.ts +0 -32
  212. package/src/local-storage/index.ts +0 -186
  213. package/src/object/index.ts +0 -26
@@ -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';
@@ -1,221 +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
- exports.isROWCountry = exports.nonROWCountries = exports.showLaptopQuestion = exports.getUrlWithoutHash = exports.isOtpRequired = exports.getCounsellorSpelling = exports.getQueryField = exports.getOrigin = exports.getSlots = exports.handleModalClose = exports.getSlideDetails = exports.ecnaSlideTypeName = exports.timeSlots = void 0;
18
- /* eslint-disable @typescript-eslint/no-explicit-any */
19
- const constants_1 = require("../constants");
20
- const cookie_1 = require("../cookie");
21
- const date_time_helper_1 = require("../date-time-helper");
22
- const showCallModalURL = [
23
- constants_1.SLIDE_TYPES.INTRO,
24
- constants_1.SLIDE_TYPES.QUESTION,
25
- constants_1.SLIDE_TYPES.SLOT_PICK,
26
- constants_1.SLIDE_TYPES.PARENT_STUDENT_DETAILS,
27
- ];
28
- const ignoreCallModalURL = ['otp_enabled'];
29
- const ECNA = '#/e-cna/';
30
- exports.timeSlots = {
31
- now: 'Now',
32
- anytime: 'Anytime',
33
- today: 'Today',
34
- tomorrow: 'Tomorrow',
35
- };
36
- exports.ecnaSlideTypeName = {
37
- CLASS_CONFIRMED: constants_1.SLIDE_TYPES.CLASS_CONFIRMED,
38
- };
39
- const getSlideDetails = (path) => {
40
- const hash = path?.split('#')[1] || '';
41
- const href = hash?.split('/') || [];
42
- const slideType = href?.[2];
43
- let slideId = href?.[3];
44
- if (slideType === exports.ecnaSlideTypeName.CLASS_CONFIRMED) {
45
- slideId = 16;
46
- }
47
- if (slideId === 'curriculum') {
48
- slideId = 17;
49
- }
50
- return {
51
- slideType,
52
- slideId,
53
- };
54
- };
55
- exports.getSlideDetails = getSlideDetails;
56
- function handleModalClose(path) {
57
- // const { slideType, slideId } = getSlideDetails(path);
58
- // parentAnalytics.ecnaModalClosed(
59
- // slideType === SLIDE_TYPES.QUESTION ? questionsData[slideId]?.questionID : slideType,
60
- // );
61
- if (!path) {
62
- return 'close';
63
- }
64
- const filteredData = showCallModalURL.filter(key => path.includes(`${ECNA}${key}`));
65
- const noCallfilteredData = ignoreCallModalURL.filter(key => path.includes(key));
66
- if (filteredData.length && !noCallfilteredData.length) {
67
- setTimeout(() => {
68
- // const isMobileView = (window && window.innerWidth <= 767) || false;
69
- // Router.pushRoute(`${ECNA}exit-parent/`);
70
- // openEcnaModal({ actions, isMobileView });
71
- }, 500);
72
- }
73
- else {
74
- // Router.pushRoute('#');
75
- }
76
- return 'close';
77
- }
78
- exports.handleModalClose = handleModalClose;
79
- // export function openEcnaModal({ actions, isMobileView, type, id }): void {
80
- // actions.openModal(
81
- // 'e-cna-form',
82
- // {
83
- // size: 'custom',
84
- // width: '624px',
85
- // height: isMobileView && window ? 'auto' : '548px',
86
- // style: {
87
- // backgroundColor: `${COLORS.WILD_SAND}`,
88
- // padding: '0px',
89
- // },
90
- // outSideCloseButton: true,
91
- // blocking: !isMobileView,
92
- // handleModalClose: (path, modalActions) => handleModalClose(path, modalActions),
93
- // enableTransform: !isMobileView,
94
- // },
95
- // {
96
- // type,
97
- // id,
98
- // },
99
- // );
100
- // }
101
- // export const handleOpenEcnaModal = ({ actions, isMobileView, type, id }) => {
102
- // openEcnaModal({ actions, isMobileView, type, id });
103
- // };
104
- const getTime = (baseTime, requiredTime) => {
105
- return baseTime + requiredTime * 60 * 60;
106
- };
107
- const getTimeFormat = (reqtime, format = 'ha') => {
108
- const timezone = (0, date_time_helper_1.getTimezone)();
109
- return (0, date_time_helper_1.dateByTimezone)(reqtime, timezone, format);
110
- };
111
- const getTitle = (noOfDaysFromToday, requiredDay) => {
112
- if (noOfDaysFromToday === 0) {
113
- return exports.timeSlots.today;
114
- }
115
- if (noOfDaysFromToday === 1) {
116
- return exports.timeSlots.tomorrow;
117
- }
118
- const timezone = (0, date_time_helper_1.getTimezone)();
119
- return (0, date_time_helper_1.dateByTimezone)(requiredDay, timezone, 'DD/MM/YYYY');
120
- };
121
- const getSlots = (noOfDaysFromToday = 0, slotDetails = []) => {
122
- const dateCon = new Date();
123
- const requiredDay = dateCon.setDate(dateCon.getDate() + noOfDaysFromToday);
124
- dateCon.setHours(0, 0, 0, 0); // making time 12am
125
- const baseTime = dateCon.getTime() / 1000;
126
- const currentTime = (0, date_time_helper_1.getCurrentTimestamp)();
127
- const tabSlots = slotDetails?.map(({ from, to, custom }) => {
128
- // 'Now' slot condition. Keeping it for future usage
129
- // if (custom === timeSlots.now) {
130
- // return ({
131
- // key: custom,
132
- // label: custom,
133
- // slot: { from: currentTime }
134
- // })
135
- // }
136
- const anyTimeStamp = getTime(baseTime, 20); // 8pm timestamp. choosen randomly
137
- if (custom === exports.timeSlots.anytime) {
138
- return {
139
- key: anyTimeStamp,
140
- label: custom,
141
- slot: { from: '', to: anyTimeStamp },
142
- };
143
- }
144
- const fromTime = getTime(baseTime, from);
145
- const toTime = getTime(baseTime, to);
146
- const fromTimeFormat = getTimeFormat(fromTime * 1000);
147
- const toTimeFormat = getTimeFormat(toTime * 1000);
148
- const isDisabled = currentTime - toTime > 0;
149
- return {
150
- key: `${fromTime}${toTime}`,
151
- label: `${fromTimeFormat} - ${toTimeFormat}`,
152
- disabled: isDisabled,
153
- slot: { from: fromTime, to: toTime },
154
- };
155
- });
156
- const data = { title: getTitle(noOfDaysFromToday, requiredDay), slots: tabSlots };
157
- return data;
158
- };
159
- exports.getSlots = getSlots;
160
- const getOrigin = () => {
161
- const { origin = '' } = typeof window !== 'undefined' && window.location ? window.location : {};
162
- return origin;
163
- };
164
- exports.getOrigin = getOrigin;
165
- const getQueryField = (asPath, field) => {
166
- let searchParams = asPath?.split('?') || [];
167
- searchParams = searchParams.length > 2 ? searchParams[2] : searchParams[1];
168
- const params = new URLSearchParams(searchParams);
169
- return params.get(field) || '';
170
- };
171
- exports.getQueryField = getQueryField;
172
- // export const FadeIn = keyframes`
173
- // from {
174
- // opacity: 0;
175
- // transform: translateX(480px);
176
- // }
177
- // to {
178
- // opacity: 1;
179
- // transform: translateX(0);
180
- // }
181
- // `;
182
- const getCounsellorSpelling = () => {
183
- const cueCountryCode = (0, cookie_1.getCookie)('cue_country_code');
184
- return cueCountryCode === 'US' ? 'Counselor' : 'Counsellor';
185
- };
186
- exports.getCounsellorSpelling = getCounsellorSpelling;
187
- // export const uniqueTimeZones = [
188
- // ...new Map(timezones.map(item => [item.value, item])).values(),
189
- // ];
190
- // export let countrySpecificTimezones = uniqueTimeZones.filter(uniqueTimezone => {
191
- // const countryCode = getCookie('cue_country_code');
192
- // if (countryCode) {
193
- // return countryTimezones?.countries?.[getCookie('cue_country_code')]?.zones?.find(
194
- // countryTimezone => {
195
- // return countryTimezone === uniqueTimezone?.id;
196
- // },
197
- // );
198
- // }
199
- // return uniqueTimezone;
200
- // });
201
- const isOtpRequired = (cueCountryCode) => {
202
- const noOtpCountrycodes = ['AU', 'NZ', 'SG'];
203
- return !(noOtpCountrycodes.findIndex(key => key === cueCountryCode) > -1);
204
- };
205
- exports.isOtpRequired = isOtpRequired;
206
- const getUrlWithoutHash = (asPath) => {
207
- return asPath?.includes('#') ? asPath.split('#')[0] : asPath;
208
- };
209
- exports.getUrlWithoutHash = getUrlWithoutHash;
210
- const showLaptopQuestion = () => {
211
- const cueCountryCode = (0, cookie_1.getCookie)(constants_1.CUE_COUNTRY_CODE_KEY);
212
- return cueCountryCode === 'IN';
213
- };
214
- exports.showLaptopQuestion = showLaptopQuestion;
215
- exports.nonROWCountries = ['IN', 'US', 'CA'];
216
- const isROWCountry = (countryCode) => {
217
- return !exports.nonROWCountries.includes(countryCode);
218
- };
219
- exports.isROWCountry = isROWCountry;
220
- __exportStar(require("./flow"), exports);
221
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/e-cna/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,uDAAuD;AACvD,4CAAiE;AACjE,sCAAsC;AACtC,0DAAuF;AAEvF,MAAM,gBAAgB,GAAa;IACjC,uBAAW,CAAC,KAAK;IACjB,uBAAW,CAAC,QAAQ;IACpB,uBAAW,CAAC,SAAS;IACrB,uBAAW,CAAC,sBAAsB;CACnC,CAAC;AACF,MAAM,kBAAkB,GAAa,CAAC,aAAa,CAAC,CAAC;AACrD,MAAM,IAAI,GAAG,UAAU,CAAC;AAEX,QAAA,SAAS,GAAG;IACvB,GAAG,EAAE,KAAK;IACV,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;CACrB,CAAC;AAEW,QAAA,iBAAiB,GAAG;IAC/B,eAAe,EAAE,uBAAW,CAAC,eAAe;CAC7C,CAAC;AAEK,MAAM,eAAe,GAAG,CAAC,IAAY,EAAE,EAAE;IAC9C,MAAM,IAAI,GAAG,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;IACvC,MAAM,IAAI,GAAG,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;IAEpC,MAAM,SAAS,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;IAC5B,IAAI,OAAO,GAAoB,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;IAEzC,IAAI,SAAS,KAAK,yBAAiB,CAAC,eAAe,EAAE;QACnD,OAAO,GAAG,EAAE,CAAC;KACd;IAED,IAAI,OAAO,KAAK,YAAY,EAAE;QAC5B,OAAO,GAAG,EAAE,CAAC;KACd;IAED,OAAO;QACL,SA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EAAE,IAAI,CAAC,CAAC;IAE7C,OAAO,CAAC,CAAC,iBAAiB,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAC5E,CAAC,CAAC;AAJW,QAAA,aAAa,iBAIxB;AAEK,MAAM,iBAAiB,GAAG,CAAC,MAAc,EAAE,EAAE;IAClD,OAAO,MAAM,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;AAC/D,CAAC,CAAC;AAFW,QAAA,iBAAiB,qBAE5B;AAEK,MAAM,kBAAkB,GAAG,GAAG,EAAE;IACrC,MAAM,cAAc,GAAG,IAAA,kBAAS,EAAC,gCAAoB,CAAC,CAAC;IAEvD,OAAO,cAAc,KAAK,IAAI,CAAC;AACjC,CAAC,CAAC;AAJW,QAAA,kBAAkB,sBAI7B;AAEW,QAAA,eAAe,GAAa,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;AAErD,MAAM,YAAY,GAAG,CAAC,WAAmB,EAAE,EAAE;IAClD,OAAO,CAAC,uBAAe,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;AAChD,CAAC,CAAC;AAFW,QAAA,YAAY,gBAEvB;AAEF,yCAAuB"}
@@ -1 +0,0 @@
1
- export * from './variants';
@@ -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("./variants"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/e-cna/slides/child_hobbies/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
@@ -1,12 +0,0 @@
1
- export declare const child_hobbies: {
2
- DEFAULT: {
3
- id: number;
4
- questionID: string;
5
- type: string;
6
- question: string;
7
- description: string;
8
- questionUUID: string;
9
- placeholderText: string;
10
- nextSlide: string;
11
- };
12
- };
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.child_hobbies = void 0;
4
- exports.child_hobbies = {
5
- DEFAULT: {
6
- id: 15,
7
- questionID: 'child_hobbies',
8
- type: 'freeFlowingText',
9
- question: 'What do they enjoy doing outside of school?',
10
- description: 'Tell us what your child has fun doing and has shown strong interests in.',
11
- questionUUID: 'ea6a29f3-c6b6-4932-b606-e828070fd6fe',
12
- placeholderText: 'Loves reading fiction novels, Harry Potter is the favourite',
13
- nextSlide: 'slot_pick',
14
- },
15
- };
16
- //# sourceMappingURL=variants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"variants.js","sourceRoot":"","sources":["../../../../src/e-cna/slides/child_hobbies/variants.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAAG;IAC3B,OAAO,EAAE;QACP,EAAE,EAAE,EAAE;QACN,UAAU,EAAE,eAAe;QAC3B,IAAI,EAAE,iBAAiB;QACvB,QAAQ,EAAE,6CAA6C;QACvD,WAAW,EACT,0EAA0E;QAC5E,YAAY,EAAE,sCAAsC;QACpD,eAAe,EAAE,6DAA6D;QAC9E,SAAS,EAAE,WAAW;KACvB;CACF,CAAC"}
@@ -1 +0,0 @@
1
- export * from './variants';
@@ -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("./variants"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/e-cna/slides/child_personality/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
@@ -1,12 +0,0 @@
1
- export declare const child_personality: {
2
- DEFAULT: {
3
- id: number;
4
- questionID: string;
5
- type: string;
6
- question: string;
7
- description: string;
8
- defaultNextquestionID: string;
9
- questionUUID: string;
10
- placeholderText: string;
11
- };
12
- };
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.child_personality = void 0;
4
- exports.child_personality = {
5
- DEFAULT: {
6
- id: 14,
7
- questionID: 'child_personality',
8
- type: 'freeFlowingText',
9
- question: "We'd like to know a little more about your child's personality.",
10
- description: 'This helps us better understand their math needs.',
11
- defaultNextquestionID: 'child_hobbies',
12
- questionUUID: 'ea6d4fd6-a819-45dd-8c6b-484db63265f3',
13
- placeholderText: "Too fidgety, can't sit & focus continuously",
14
- },
15
- };
16
- //# sourceMappingURL=variants.js.map