@magmamath/frontend-config 1.0.24-rc.49 → 1.0.24-rc.5
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/dist/index.d.mts +162 -1164
- package/dist/index.d.ts +162 -1164
- package/dist/index.js +1126 -5739
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1127 -5659
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -4
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentType
|
|
1
|
+
import { ComponentType } from 'react';
|
|
2
2
|
import * as effector from 'effector';
|
|
3
3
|
|
|
4
4
|
declare enum DateFormat {
|
|
@@ -88,7 +88,6 @@ declare enum LoginSource {
|
|
|
88
88
|
MY_LOGIN = 9
|
|
89
89
|
}
|
|
90
90
|
declare enum SSO {
|
|
91
|
-
APPLE = "APPLE",
|
|
92
91
|
GOOGLE = "GOOGLE",
|
|
93
92
|
MICROSOFT = "MICROSOFT",
|
|
94
93
|
CLEVER = "CLEVER",
|
|
@@ -104,11 +103,6 @@ declare enum ApiRegion {
|
|
|
104
103
|
MAIN = "MAIN",
|
|
105
104
|
CANADA = "CANADA"
|
|
106
105
|
}
|
|
107
|
-
declare enum QRCodeSize {
|
|
108
|
-
DEFAULT = "default",
|
|
109
|
-
MEDIUM = "medium",
|
|
110
|
-
LARGE = "large"
|
|
111
|
-
}
|
|
112
106
|
|
|
113
107
|
declare enum MatrixMode {
|
|
114
108
|
SKILL = "SKILL",
|
|
@@ -116,286 +110,45 @@ declare enum MatrixMode {
|
|
|
116
110
|
}
|
|
117
111
|
|
|
118
112
|
declare enum Grade {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
ALGEBRA_2 = 23,
|
|
137
|
-
INTEGRATED_MATH_I = 24,
|
|
138
|
-
INTEGRATED_MATH_II = 25,
|
|
139
|
-
INTEGRATED_MATH_III = 26,
|
|
140
|
-
PRECALCULUS = 27,
|
|
113
|
+
ALL = "all",
|
|
114
|
+
K = "K",
|
|
115
|
+
ZERO = "0",
|
|
116
|
+
ONE = "1",
|
|
117
|
+
TWO = "2",
|
|
118
|
+
THREE = "3",
|
|
119
|
+
FOUR = "4",
|
|
120
|
+
FIVE = "5",
|
|
121
|
+
SIX = "6",
|
|
122
|
+
SEVEN = "7",
|
|
123
|
+
EIGHT = "8",
|
|
124
|
+
NINE = "9",
|
|
125
|
+
TEN = "10",
|
|
126
|
+
ELEVEN = "11",
|
|
127
|
+
TWELVE = "12",
|
|
128
|
+
THIRTEEN = "13",
|
|
129
|
+
OTHER = "-1",
|
|
141
130
|
HS = "HS",
|
|
142
131
|
HSG = "HSG",
|
|
143
132
|
HSA = "HSA",
|
|
144
133
|
HSS = "HSS",
|
|
145
134
|
HSF = "HSF",
|
|
146
135
|
HSN = "HSN",
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
declare enum NumberGroupingSeparator {
|
|
155
|
-
SPACE = "space",
|
|
156
|
-
COMMA = "comma",
|
|
157
|
-
DOT = "dot",
|
|
158
|
-
APOSTROPHE = "apostrophe"
|
|
136
|
+
ALGEBRA_1 = "21",
|
|
137
|
+
GEOMETRY = "22",
|
|
138
|
+
ALGEBRA_2 = "23",
|
|
139
|
+
INTEGRATED_MATH_I = "24",
|
|
140
|
+
INTEGRATED_MATH_II = "25",
|
|
141
|
+
INTEGRATED_MATH_III = "26",
|
|
142
|
+
PRECALCULUS = "27"
|
|
159
143
|
}
|
|
160
144
|
|
|
161
|
-
type
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
voice?: {
|
|
165
|
-
code: string;
|
|
166
|
-
name: string;
|
|
167
|
-
};
|
|
145
|
+
type GradeLabel = {
|
|
146
|
+
short: string;
|
|
147
|
+
full: string;
|
|
168
148
|
};
|
|
169
149
|
|
|
170
|
-
declare enum Language {
|
|
171
|
-
AFRIKAANS = "Afrikaans",
|
|
172
|
-
ALBANIAN = "Albanian",
|
|
173
|
-
AMHARIC = "Amharic",
|
|
174
|
-
ARABIC = "Arabic",
|
|
175
|
-
ARMENIAN = "Armenian",
|
|
176
|
-
ASSAMESE = "Assamese",
|
|
177
|
-
AYMARA = "Aymara",
|
|
178
|
-
AZERBAIJANI = "Azerbaijani",
|
|
179
|
-
BAMBARA = "Bambara",
|
|
180
|
-
BASQUE = "Basque",
|
|
181
|
-
BELARUSIAN = "Belarusian",
|
|
182
|
-
BENGALI = "Bengali",
|
|
183
|
-
BHOJPURI = "Bhojpuri",
|
|
184
|
-
BOSNIAN = "Bosnian",
|
|
185
|
-
BULGARIAN = "Bulgarian",
|
|
186
|
-
CATALAN = "Catalan",
|
|
187
|
-
CEBUANO = "Cebuano",
|
|
188
|
-
CHINESE_SIMPLIFIED = "Chinese (Simplified)",
|
|
189
|
-
CHINESE_TRADITIONAL = "Chinese (Traditional)",
|
|
190
|
-
CORSICAN = "Corsican",
|
|
191
|
-
CROATIAN = "Croatian",
|
|
192
|
-
CZECH = "Czech",
|
|
193
|
-
DANISH = "Danish",
|
|
194
|
-
DHIVEHI = "Dhivehi",
|
|
195
|
-
DOGRI = "Dogri",
|
|
196
|
-
DUTCH = "Dutch",
|
|
197
|
-
ENGLISH = "English",
|
|
198
|
-
BRITISH_ENGLISH = "British English",
|
|
199
|
-
ESPERANTO = "Esperanto",
|
|
200
|
-
ESTONIAN = "Estonian",
|
|
201
|
-
EWE = "Ewe",
|
|
202
|
-
FINNISH = "Finnish",
|
|
203
|
-
FRENCH = "French",
|
|
204
|
-
FRISIAN = "Frisian",
|
|
205
|
-
GALICIAN = "Galician",
|
|
206
|
-
GEORGIAN = "Georgian",
|
|
207
|
-
GERMAN = "German",
|
|
208
|
-
GREEK = "Greek",
|
|
209
|
-
GUARANI = "Guarani",
|
|
210
|
-
GUJARATI = "Gujarati",
|
|
211
|
-
HAITIAN_CREOLE = "Haitian Creole",
|
|
212
|
-
HAUSA = "Hausa",
|
|
213
|
-
HAWAIIAN = "Hawaiian",
|
|
214
|
-
HEBREW = "Hebrew",
|
|
215
|
-
HINDI = "Hindi",
|
|
216
|
-
HMONG = "Hmong",
|
|
217
|
-
HUNGARIAN = "Hungarian",
|
|
218
|
-
ICELANDIC = "Icelandic",
|
|
219
|
-
IGBO = "Igbo",
|
|
220
|
-
ILOCANO = "Ilocano",
|
|
221
|
-
INDONESIAN = "Indonesian",
|
|
222
|
-
IRISH = "Irish",
|
|
223
|
-
ITALIAN = "Italian",
|
|
224
|
-
JAPANESE = "Japanese",
|
|
225
|
-
JAVANESE = "Javanese",
|
|
226
|
-
KANNADA = "Kannada",
|
|
227
|
-
KAZAKH = "Kazakh",
|
|
228
|
-
KHMER = "Khmer",
|
|
229
|
-
KINYARWANDA = "Kinyarwanda",
|
|
230
|
-
KONKANI = "Konkani",
|
|
231
|
-
KOREAN = "Korean",
|
|
232
|
-
KRIO = "Krio",
|
|
233
|
-
KURDISH = "Kurdish",
|
|
234
|
-
KURDISH_SORANI = "Kurdish (Sorani)",
|
|
235
|
-
KYRGYZ = "Kyrgyz",
|
|
236
|
-
LAO = "Lao",
|
|
237
|
-
LATVIAN = "Latvian",
|
|
238
|
-
LINGALA = "Lingala",
|
|
239
|
-
LITHUANIAN = "Lithuanian",
|
|
240
|
-
LUGANDA = "Luganda",
|
|
241
|
-
LUXEMBOURGISH = "Luxembourgish",
|
|
242
|
-
MACEDONIAN = "Macedonian",
|
|
243
|
-
MAITHILI = "Maithili",
|
|
244
|
-
MALAGASY = "Malagasy",
|
|
245
|
-
MALAY = "Malay",
|
|
246
|
-
MALAYALAM = "Malayalam",
|
|
247
|
-
MALTESE = "Maltese",
|
|
248
|
-
MAORI = "Maori",
|
|
249
|
-
MARATHI = "Marathi",
|
|
250
|
-
MEITEILON_MANIPURI = "Meiteilon (Manipuri)",
|
|
251
|
-
MIZO = "Mizo",
|
|
252
|
-
MONGOLIAN = "Mongolian",
|
|
253
|
-
MYANMAR_BURMESE = "Myanmar (Burmese)",
|
|
254
|
-
NEPALI = "Nepali",
|
|
255
|
-
NORWEGIAN = "Norwegian",
|
|
256
|
-
NYANJA_CHICHEWA = "Nyanja (Chichewa)",
|
|
257
|
-
ODIA_ORIYA = "Odia (Oriya)",
|
|
258
|
-
OROMO = "Oromo",
|
|
259
|
-
PASHTO = "Pashto",
|
|
260
|
-
PERSIAN = "Persian (Farsi)",
|
|
261
|
-
POLISH = "Polish",
|
|
262
|
-
PORTUGUESE_PORTUGAL_BRAZIL = "Portuguese (Portugal, Brazil)",
|
|
263
|
-
PUNJABI = "Punjabi",
|
|
264
|
-
QUECHUA = "Quechua",
|
|
265
|
-
ROMANIAN = "Romanian",
|
|
266
|
-
RUSSIAN = "Russian",
|
|
267
|
-
SAMOAN = "Samoan",
|
|
268
|
-
SANSKRIT = "Sanskrit",
|
|
269
|
-
SCOTS_GAELIC = "Scots Gaelic",
|
|
270
|
-
SEPEDI = "Sepedi",
|
|
271
|
-
SERBIAN = "Serbian",
|
|
272
|
-
SESOTHO = "Sesotho",
|
|
273
|
-
SHONA = "Shona",
|
|
274
|
-
SINDHI = "Sindhi",
|
|
275
|
-
SINHALA_SINHALESE = "Sinhala (Sinhalese)",
|
|
276
|
-
SLOVAK = "Slovak",
|
|
277
|
-
SLOVENIAN = "Slovenian",
|
|
278
|
-
SOMALI = "Somali",
|
|
279
|
-
SPANISH = "Spanish",
|
|
280
|
-
SUNDANESE = "Sundanese",
|
|
281
|
-
SWAHILI = "Swahili",
|
|
282
|
-
SWEDISH = "Swedish",
|
|
283
|
-
TAGALOG_FILIPINO = "Tagalog (Filipino)",
|
|
284
|
-
TAJIK = "Tajik",
|
|
285
|
-
TAMIL = "Tamil",
|
|
286
|
-
TATAR = "Tatar",
|
|
287
|
-
TELUGU = "Telugu",
|
|
288
|
-
THAI = "Thai",
|
|
289
|
-
TIGRINYA = "Tigrinya",
|
|
290
|
-
TSONGA = "Tsonga",
|
|
291
|
-
TURKISH = "Turkish",
|
|
292
|
-
TURKMEN = "Turkmen",
|
|
293
|
-
TWI_AKAN = "Twi (Akan)",
|
|
294
|
-
UKRAINIAN = "Ukrainian",
|
|
295
|
-
URDU = "Urdu",
|
|
296
|
-
UYGHUR = "Uyghur",
|
|
297
|
-
UZBEK = "Uzbek",
|
|
298
|
-
VIETNAMESE = "Vietnamese",
|
|
299
|
-
WELSH = "Welsh",
|
|
300
|
-
XHOSA = "Xhosa",
|
|
301
|
-
YIDDISH = "Yiddish",
|
|
302
|
-
YORUBA = "Yoruba",
|
|
303
|
-
ZULU = "Zulu"
|
|
304
|
-
}
|
|
305
|
-
declare const LANGUAGES_DATA: Record<Language, LanguageData>;
|
|
306
|
-
declare const MOST_USED_LANGUAGES: Language[];
|
|
307
|
-
declare const LANGUAGES_LIST: string[];
|
|
308
|
-
|
|
309
|
-
type GradeData = {
|
|
310
|
-
name: string;
|
|
311
|
-
displayOnly?: boolean;
|
|
312
|
-
noPrefix?: boolean;
|
|
313
|
-
};
|
|
314
|
-
type CommonGrades = Grade.OTHER | Grade.ZERO | Grade.K;
|
|
315
|
-
type PrimaryGrades = CommonGrades | Grade.ONE | Grade.TWO | Grade.THREE | Grade.FOUR | Grade.FIVE | Grade.SIX | Grade.SEVEN | Grade.EIGHT | Grade.NINE | Grade.TEN | Grade.ELEVEN | Grade.TWELVE | Grade.THIRTEEN;
|
|
316
|
-
type HighSchoolGrades = Grade.NINE | Grade.TEN | Grade.ELEVEN | Grade.TWELVE | Grade.ALGEBRA_1 | Grade.GEOMETRY | Grade.ALGEBRA_2 | Grade.INTEGRATED_MATH_I | Grade.INTEGRATED_MATH_II | Grade.INTEGRATED_MATH_III | Grade.PRECALCULUS | Grade.HS | Grade.HSG | Grade.HSA | Grade.HSS | Grade.HSF | Grade.HSN;
|
|
317
|
-
|
|
318
|
-
declare class PlatformDetection {
|
|
319
|
-
private static cachedPlatform;
|
|
320
|
-
private static get IS_REACT_NATIVE();
|
|
321
|
-
static get IS_WEB(): boolean;
|
|
322
|
-
static get IS_MOBILE(): boolean;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
declare const getLanguageData: (language: Language) => LanguageData;
|
|
326
|
-
declare const isLanguage: (value?: string | null) => value is Language;
|
|
327
|
-
|
|
328
150
|
type IconProps = {
|
|
329
151
|
size?: number;
|
|
330
|
-
color?: string;
|
|
331
|
-
extraColor?: string;
|
|
332
|
-
};
|
|
333
|
-
|
|
334
|
-
type SSOConfig<E> = Readonly<{
|
|
335
|
-
name: string;
|
|
336
|
-
icon: ComponentType<IconProps>;
|
|
337
|
-
type: SSO;
|
|
338
|
-
loginSource: LoginSource;
|
|
339
|
-
ownUrl?: boolean;
|
|
340
|
-
getUrl: (envs: E) => string;
|
|
341
|
-
}>;
|
|
342
|
-
|
|
343
|
-
type RegionSpecificVars = {
|
|
344
|
-
API_URL: string;
|
|
345
|
-
AUTH_WEB_URL: string;
|
|
346
|
-
CDN_HOST: string;
|
|
347
|
-
DISTRICT_WEB_URL: string;
|
|
348
|
-
LOGGLY_TAG: string;
|
|
349
|
-
MAGMAMATH_URL: string;
|
|
350
|
-
SOCKET_URL: string;
|
|
351
|
-
STUDENTS_WEB_URL: string;
|
|
352
|
-
TEACHERS_WEB_URL: string;
|
|
353
|
-
};
|
|
354
|
-
|
|
355
|
-
type StudentsWebCommon = {
|
|
356
|
-
GOOGLE_API_KEY: string;
|
|
357
|
-
DESMOS_API_KEY: string;
|
|
358
|
-
LOGGLY_CUSTOMER_TOKEN: string;
|
|
359
|
-
MYSCRIPT_APPLICATION_KEY: string;
|
|
360
|
-
MYSCRIPT_HMAC_KEY: string;
|
|
361
|
-
MYSCRIPT_HOST: string;
|
|
362
|
-
MYSCRIPT_SOCKET_KEY: string;
|
|
363
|
-
MYSCRIPT_REST_APP_KEY: string;
|
|
364
|
-
MYSCRIPT_REST_HMAC_KEY: string;
|
|
365
|
-
};
|
|
366
|
-
type StudentsWebVars = RegionSpecificVars & StudentsWebCommon;
|
|
367
|
-
type StudentsWebVarsPreset = {
|
|
368
|
-
[key in Locale]: {
|
|
369
|
-
[key in Environment]: StudentsWebVars;
|
|
370
|
-
};
|
|
371
|
-
};
|
|
372
|
-
|
|
373
|
-
type TeachersWebCommon = {
|
|
374
|
-
MYSCRIPT_HOST: string;
|
|
375
|
-
MYSCRIPT_REST_APP_KEY: string;
|
|
376
|
-
MYSCRIPT_REST_HMAC_KEY: string;
|
|
377
|
-
PROBLEM_IMAGE_SIZE_LIMIT: number;
|
|
378
|
-
INTERCOM_APP_ID: string;
|
|
379
|
-
CLARITY_PROJECT_ID: string;
|
|
380
|
-
LOGGLY_CUSTOMER_TOKEN: string;
|
|
381
|
-
};
|
|
382
|
-
type TeachersWebVars = RegionSpecificVars & TeachersWebCommon;
|
|
383
|
-
type TeachersWebVarsPreset = {
|
|
384
|
-
[key in Locale]: {
|
|
385
|
-
[key in Environment]: TeachersWebVars;
|
|
386
|
-
};
|
|
387
|
-
};
|
|
388
|
-
|
|
389
|
-
type DistrictCommon = {
|
|
390
|
-
INTERCOM_APP_ID: string;
|
|
391
|
-
CLARITY_PROJECT_ID: string;
|
|
392
|
-
PROBLEM_IMAGE_SIZE_LIMIT: number;
|
|
393
|
-
};
|
|
394
|
-
type DistrictDashboardVars = Omit<RegionSpecificVars, 'SOCKET_URL'> & DistrictCommon;
|
|
395
|
-
type DistrictWebVarsPreset = {
|
|
396
|
-
[key in Locale]: {
|
|
397
|
-
[key in Environment]: DistrictDashboardVars;
|
|
398
|
-
};
|
|
399
152
|
};
|
|
400
153
|
|
|
401
154
|
type SSO_UK = {
|
|
@@ -435,6 +188,18 @@ type Prettify<T> = T extends Function ? T : {
|
|
|
435
188
|
[K in keyof T]: T[K];
|
|
436
189
|
};
|
|
437
190
|
|
|
191
|
+
type RegionSpecificVars = {
|
|
192
|
+
API_URL: string;
|
|
193
|
+
AUTH_WEB_URL: string;
|
|
194
|
+
CDN_HOST: string;
|
|
195
|
+
DISTRICT_WEB_URL: string;
|
|
196
|
+
LOGGLY_TAG: string;
|
|
197
|
+
MAGMAMATH_URL: string;
|
|
198
|
+
SOCKET_URL: string;
|
|
199
|
+
STUDENTS_WEB_URL: string;
|
|
200
|
+
TEACHERS_WEB_URL: string;
|
|
201
|
+
};
|
|
202
|
+
|
|
438
203
|
type AuthWebVars<T extends SSOVariant> = Prettify<AuthWebBaseVars & T>;
|
|
439
204
|
type AuthWebBaseVars = Omit<RegionSpecificVars, 'CDN_HOST' | 'LOGGLY_TAG' | 'SOCKET_URL'> & {
|
|
440
205
|
TOS_URL: string;
|
|
@@ -462,6 +227,61 @@ type AuthWebVarsPreset = {
|
|
|
462
227
|
};
|
|
463
228
|
};
|
|
464
229
|
|
|
230
|
+
type SSOConfig<T extends SSOVariant> = Readonly<{
|
|
231
|
+
name: string;
|
|
232
|
+
icon: ComponentType<IconProps>;
|
|
233
|
+
type: SSO;
|
|
234
|
+
loginSource: LoginSource;
|
|
235
|
+
getUrl: (envs: AuthWebVars<T>) => string;
|
|
236
|
+
ownUrl?: boolean;
|
|
237
|
+
}>;
|
|
238
|
+
|
|
239
|
+
type StudentsWebCommon = {
|
|
240
|
+
GOOGLE_API_KEY: string;
|
|
241
|
+
DESMOS_API_KEY: string;
|
|
242
|
+
LOGGLY_CUSTOMER_TOKEN: string;
|
|
243
|
+
MYSCRIPT_APPLICATION_KEY: string;
|
|
244
|
+
MYSCRIPT_HMAC_KEY: string;
|
|
245
|
+
MYSCRIPT_HOST: string;
|
|
246
|
+
MYSCRIPT_SOCKET_KEY: string;
|
|
247
|
+
MYSCRIPT_REST_APP_KEY: string;
|
|
248
|
+
MYSCRIPT_REST_HMAC_KEY: string;
|
|
249
|
+
};
|
|
250
|
+
type StudentsWebVars = RegionSpecificVars & StudentsWebCommon;
|
|
251
|
+
type StudentsWebVarsPreset = {
|
|
252
|
+
[key in Locale]: {
|
|
253
|
+
[key in Environment]: StudentsWebVars;
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
type TeachersWebCommon = {
|
|
258
|
+
MYSCRIPT_HOST: string;
|
|
259
|
+
MYSCRIPT_REST_APP_KEY: string;
|
|
260
|
+
MYSCRIPT_REST_HMAC_KEY: string;
|
|
261
|
+
PROBLEM_IMAGE_SIZE_LIMIT: number;
|
|
262
|
+
INTERCOM_APP_ID: string;
|
|
263
|
+
CLARITY_PROJECT_ID: string;
|
|
264
|
+
LOGGLY_CUSTOMER_TOKEN: string;
|
|
265
|
+
};
|
|
266
|
+
type TeachersWebVars = RegionSpecificVars & TeachersWebCommon;
|
|
267
|
+
type TeachersWebVarsPreset = {
|
|
268
|
+
[key in Locale]: {
|
|
269
|
+
[key in Environment]: TeachersWebVars;
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
type DistrictCommon = {
|
|
274
|
+
INTERCOM_APP_ID: string;
|
|
275
|
+
CLARITY_PROJECT_ID: string;
|
|
276
|
+
PROBLEM_IMAGE_SIZE_LIMIT: number;
|
|
277
|
+
};
|
|
278
|
+
type DistrictDashboardVars = Omit<RegionSpecificVars, 'SOCKET_URL'> & DistrictCommon;
|
|
279
|
+
type DistrictWebVarsPreset = {
|
|
280
|
+
[key in Locale]: {
|
|
281
|
+
[key in Environment]: DistrictDashboardVars;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
|
|
465
285
|
type MobileCommon = {
|
|
466
286
|
DESMOS_API_KEY: string;
|
|
467
287
|
USER_AGENT: string;
|
|
@@ -472,19 +292,13 @@ type MobileCommon = {
|
|
|
472
292
|
MYSCRIPT_SOCKET_KEY: string;
|
|
473
293
|
MYSCRIPT_REST_APP_KEY: string;
|
|
474
294
|
MYSCRIPT_REST_HMAC_KEY: string;
|
|
475
|
-
GOOGLE_API_KEY: string;
|
|
476
|
-
GOOGLE_TEXT_TO_SPEECH_URL: string;
|
|
477
|
-
GOOGLE_TRANSLATE_URL: string;
|
|
478
|
-
SIGN_UP_BOOKING_ONBOARDING: string;
|
|
479
295
|
};
|
|
480
296
|
type MobileBaseVars = {
|
|
481
297
|
TEACHERS_WEB_URL: string;
|
|
482
|
-
AUTH_WEB_URL: string;
|
|
483
298
|
API_URL: string;
|
|
484
299
|
CDN_HOST: string;
|
|
485
300
|
SOCKET_URL: string;
|
|
486
301
|
LOGGLY_TAG: string;
|
|
487
|
-
PROBLEM_CREATOR_URL: string;
|
|
488
302
|
} & MobileCommon;
|
|
489
303
|
type MobileVars<T extends SSOVariant> = Prettify<MobileBaseVars & T>;
|
|
490
304
|
type MobileVarsPreset = {
|
|
@@ -538,128 +352,29 @@ type EnvironmentVars<P extends Platform> = EnvPreset[P][Locale][Environment];
|
|
|
538
352
|
|
|
539
353
|
declare function buildTargetToEnvironment(buildTarget: PlatformBuildTarget): Environment;
|
|
540
354
|
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
BasicPlus = "BasicPlus",
|
|
545
|
-
BasicPlusMobile = "BasicPlusMobile",
|
|
546
|
-
BasicTime = "BasicTime",
|
|
547
|
-
BasicCurrency = "BasicCurrency",
|
|
548
|
-
BasicUnits = "BasicUnits",
|
|
549
|
-
BasicPlusPlus = "BasicPlusPlus",
|
|
550
|
-
BasicPlusPlusMobile = "BasicPlusPlusMobile",
|
|
551
|
-
Numpad = "Numpad",
|
|
552
|
-
Underlined = "Underlined"
|
|
553
|
-
}
|
|
554
|
-
declare enum DrawboardKeyboardUnitsGroupType {
|
|
555
|
-
LENGTH = "length",
|
|
556
|
-
AREA = "area",
|
|
557
|
-
VOLUME = "volume",
|
|
558
|
-
WEIGHT = "weight",
|
|
559
|
-
TIME = "time"
|
|
560
|
-
}
|
|
561
|
-
declare const DRAWBOARD_DEFAULT_KEY_ICON_PROPS: {
|
|
562
|
-
readonly size: 16;
|
|
563
|
-
readonly color: "#4d4d63";
|
|
564
|
-
};
|
|
565
|
-
declare const DRAWBOARD_DEFAULT_TEXT_STYLE: {
|
|
566
|
-
readonly fontSize: 14;
|
|
567
|
-
readonly fontWeight: 700;
|
|
568
|
-
};
|
|
569
|
-
declare const DRAWBOARD_STYLE_PRESETS: {
|
|
570
|
-
SMALL: {
|
|
571
|
-
button: {
|
|
572
|
-
width: number;
|
|
573
|
-
};
|
|
574
|
-
container: {
|
|
575
|
-
flexBasis: number;
|
|
576
|
-
} | undefined;
|
|
577
|
-
text: {
|
|
578
|
-
readonly fontSize: 14;
|
|
579
|
-
readonly fontWeight: 700;
|
|
580
|
-
};
|
|
355
|
+
type StudentsLocaleConfig = CommonLocaleConfig & {
|
|
356
|
+
textFormatting: {
|
|
357
|
+
replaceCommaWithSpace: boolean;
|
|
581
358
|
};
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
width: number;
|
|
585
|
-
};
|
|
586
|
-
container: {
|
|
587
|
-
flexBasis: number;
|
|
588
|
-
} | undefined;
|
|
589
|
-
text: {
|
|
590
|
-
readonly fontSize: 14;
|
|
591
|
-
readonly fontWeight: 700;
|
|
592
|
-
};
|
|
359
|
+
symbols: {
|
|
360
|
+
numberDecimalSeparator: string;
|
|
593
361
|
};
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
};
|
|
598
|
-
container: {
|
|
599
|
-
flexBasis: number;
|
|
600
|
-
} | undefined;
|
|
601
|
-
text: {
|
|
602
|
-
readonly fontSize: 14;
|
|
603
|
-
readonly fontWeight: 700;
|
|
604
|
-
};
|
|
362
|
+
practiceMode: {
|
|
363
|
+
languageCode: Locale;
|
|
364
|
+
defaultPracticeTreeId: string;
|
|
605
365
|
};
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
flexBasis: number;
|
|
612
|
-
} | undefined;
|
|
613
|
-
text: {
|
|
614
|
-
readonly fontSize: 14;
|
|
615
|
-
readonly fontWeight: 700;
|
|
366
|
+
chatbot: {
|
|
367
|
+
languageName: string;
|
|
368
|
+
tts: {
|
|
369
|
+
languageCodeFallback: string;
|
|
370
|
+
voiceNameFallback: string;
|
|
616
371
|
};
|
|
617
372
|
};
|
|
618
|
-
};
|
|
619
|
-
|
|
620
|
-
type DrawboardMathOperatorsGroup = Record<string, DrawboardKeyboardKey>;
|
|
621
|
-
type DrawboardKeyboardKey = {
|
|
622
|
-
icon?: ReactNode;
|
|
623
|
-
mathliveValue: string;
|
|
624
|
-
katexValue: string;
|
|
625
|
-
isSpecialSymbol?: boolean;
|
|
626
|
-
mathQuillValue?: string;
|
|
627
|
-
spreadsheetValue?: string;
|
|
628
|
-
label?: string;
|
|
629
|
-
style?: Record<string, any>;
|
|
630
|
-
};
|
|
631
|
-
type DrawboardKeyboardGroup = {
|
|
632
|
-
keys: DrawboardKeyboardKey[];
|
|
633
|
-
numOfRows?: number;
|
|
634
|
-
};
|
|
635
|
-
type DrawboardKeyboardGroups = Record<string, DrawboardKeyboardGroup>;
|
|
636
|
-
type DrawboardKeyboardRowsGroup = {
|
|
637
|
-
keys: DrawboardKeyboardKey[][];
|
|
638
|
-
};
|
|
639
|
-
type DrawboardKeyboardRowsGroups = Record<string, DrawboardKeyboardRowsGroup>;
|
|
640
|
-
|
|
641
|
-
type DrawboardKeyboardConfig = {
|
|
642
|
-
operators: Record<DrawboardKeyboardType, DrawboardKeyboardGroup>;
|
|
643
|
-
units: Record<DrawboardKeyboardUnitsGroupType, DrawboardKeyboardRowsGroup>;
|
|
644
|
-
};
|
|
645
|
-
type StudentsLocaleConfig = CommonLocaleConfig & {
|
|
646
|
-
numberFormatting: {
|
|
647
|
-
decimalSeparator: NumberDecimalSeparator;
|
|
648
|
-
groupingSeparator: NumberGroupingSeparator;
|
|
649
|
-
};
|
|
650
|
-
language: LanguageData;
|
|
651
373
|
tts: {
|
|
652
374
|
replaceCommaWithSpace: boolean;
|
|
653
375
|
};
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
};
|
|
657
|
-
drawboard: {
|
|
658
|
-
basicManipulativesMaxGrade: number;
|
|
659
|
-
keyboard: DrawboardKeyboardConfig;
|
|
660
|
-
};
|
|
661
|
-
exampleSolutions: {
|
|
662
|
-
languageName: string;
|
|
376
|
+
translate: {
|
|
377
|
+
languageCodeFallback: string;
|
|
663
378
|
};
|
|
664
379
|
problem: {
|
|
665
380
|
choiceInputSelector: {
|
|
@@ -672,75 +387,34 @@ type StudentsLocaleConfig = CommonLocaleConfig & {
|
|
|
672
387
|
shortButton: boolean;
|
|
673
388
|
};
|
|
674
389
|
};
|
|
390
|
+
exampleSolutions: {
|
|
391
|
+
languageName: string;
|
|
392
|
+
};
|
|
675
393
|
statsTab: {
|
|
676
394
|
buttonWithMinWidth: boolean;
|
|
677
395
|
};
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
declare const PROBLEM_CREATOR_DEFAULT_KEY_ICON_PROPS: {
|
|
681
|
-
readonly size: 16;
|
|
682
|
-
readonly color: "#4d4d63";
|
|
683
|
-
};
|
|
684
|
-
declare enum ProblemCreatorGroup {
|
|
685
|
-
BASIC = "basic",
|
|
686
|
-
DESCRIPTION = "description",
|
|
687
|
-
ADVANCED = "advanced",
|
|
688
|
-
ALGEBRA_TEXT = "algebraText",
|
|
689
|
-
ALGEBRA_SYMBOLS = "algebraSymbols",
|
|
690
|
-
MATH_ENTRY = "mathEntry"
|
|
691
|
-
}
|
|
692
|
-
declare enum ProblemCreatorUnitGroup {
|
|
693
|
-
LENGTH = "length",
|
|
694
|
-
AREA = "area",
|
|
695
|
-
VOLUME = "volume",
|
|
696
|
-
WEIGHT = "weight",
|
|
697
|
-
TIME = "time"
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
type ProblemCreatorKeyboardKey = {
|
|
701
|
-
value: string;
|
|
702
|
-
label?: string;
|
|
703
|
-
icon?: ReactElement;
|
|
704
|
-
};
|
|
705
|
-
type ProblemCreatorKeyboardGroup = {
|
|
706
|
-
id: string;
|
|
707
|
-
keys: ProblemCreatorKeyboardKey[];
|
|
708
|
-
className?: string;
|
|
709
|
-
};
|
|
710
|
-
type ProblemCreatorKeyboardGroups = Record<string, ProblemCreatorKeyboardGroup>;
|
|
711
|
-
type ProblemCreatorMathKeysGroup<T extends Record<string, string>> = {
|
|
712
|
-
[K in keyof T as T[K]]: ProblemCreatorKeyboardKey;
|
|
713
|
-
};
|
|
714
|
-
type ProblemCreatorKeyboardPreset = {
|
|
715
|
-
operators: {
|
|
716
|
-
[K in Exclude<ProblemCreatorGroup, ProblemCreatorGroup.MATH_ENTRY>]: ProblemCreatorKeyboardGroup;
|
|
717
|
-
};
|
|
718
|
-
units: {
|
|
719
|
-
[K in ProblemCreatorUnitGroup]: ProblemCreatorKeyboardGroup;
|
|
720
|
-
};
|
|
721
|
-
};
|
|
722
|
-
|
|
723
|
-
type ProblemCreatorKeyboardConfig = {
|
|
724
|
-
operators: {
|
|
725
|
-
[K in ProblemCreatorGroup]: ProblemCreatorKeyboardGroup;
|
|
726
|
-
};
|
|
727
|
-
units: {
|
|
728
|
-
[K in ProblemCreatorUnitGroup]: ProblemCreatorKeyboardGroup;
|
|
396
|
+
smartEval: {
|
|
397
|
+
language: string;
|
|
729
398
|
};
|
|
730
399
|
};
|
|
731
|
-
type ProblemCreatorConfig = {
|
|
732
|
-
useCommaForDecimal: boolean;
|
|
733
|
-
useDotForMultiplication: boolean;
|
|
734
|
-
savedProblemLocale: Locale;
|
|
735
|
-
keyboard: ProblemCreatorKeyboardConfig;
|
|
736
|
-
};
|
|
737
400
|
|
|
738
401
|
type TeachersLocaleConfig = CommonLocaleConfig & {
|
|
402
|
+
country: string;
|
|
403
|
+
emails: {
|
|
404
|
+
studentsList: string;
|
|
405
|
+
};
|
|
739
406
|
symbols: {
|
|
740
407
|
decimalSeparator: string;
|
|
741
408
|
};
|
|
742
|
-
|
|
743
|
-
|
|
409
|
+
date: {
|
|
410
|
+
use24HourFormat: boolean;
|
|
411
|
+
locale: DateLocale;
|
|
412
|
+
formats: {
|
|
413
|
+
full: DateFormat;
|
|
414
|
+
dayMonth: DateFormat;
|
|
415
|
+
hoursMinutes: DateFormat;
|
|
416
|
+
fullWithSeconds: DateFormat;
|
|
417
|
+
};
|
|
744
418
|
};
|
|
745
419
|
urls: {
|
|
746
420
|
specialBook: string;
|
|
@@ -771,36 +445,43 @@ type TeachersLocaleConfig = CommonLocaleConfig & {
|
|
|
771
445
|
};
|
|
772
446
|
firstLoginBooks: {
|
|
773
447
|
isLargeGrade: ((grade: number) => boolean) | null;
|
|
774
|
-
useHighSchoolGrades: boolean;
|
|
775
|
-
withGradeZero: boolean;
|
|
776
448
|
};
|
|
777
|
-
|
|
778
|
-
|
|
449
|
+
grades: {
|
|
450
|
+
showPrefix: boolean;
|
|
451
|
+
showOtherGrade: boolean;
|
|
779
452
|
};
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
453
|
+
};
|
|
454
|
+
|
|
455
|
+
type DistrictLocaleConfig = CommonLocaleConfig & {
|
|
456
|
+
date: {
|
|
457
|
+
use24HourFormat: boolean;
|
|
458
|
+
locale: DateLocale;
|
|
459
|
+
formats: {
|
|
460
|
+
full: DateFormat;
|
|
461
|
+
dayMonthYear: DateFormat;
|
|
462
|
+
dayMonth: DateFormat;
|
|
463
|
+
hoursMinutes: DateFormat;
|
|
464
|
+
fullWithSeconds: DateFormat;
|
|
465
|
+
};
|
|
785
466
|
};
|
|
786
|
-
|
|
787
|
-
|
|
467
|
+
grades: {
|
|
468
|
+
primary: Map<Grade, GradeLabel>;
|
|
469
|
+
highSchool: Map<Grade, GradeLabel>;
|
|
788
470
|
};
|
|
789
|
-
problemCreator: ProblemCreatorConfig;
|
|
790
471
|
};
|
|
791
472
|
|
|
792
|
-
type
|
|
473
|
+
type AuthWebLocaleConfig<T extends SSOVariant> = {
|
|
793
474
|
path: string;
|
|
794
475
|
shortCode: string;
|
|
795
476
|
icon: ComponentType<IconProps>;
|
|
796
477
|
sources: {
|
|
797
478
|
signUp: {
|
|
798
|
-
list: SSOConfig<
|
|
479
|
+
list: SSOConfig<T>[];
|
|
799
480
|
};
|
|
800
481
|
signIn: {
|
|
801
482
|
withOnboarding: boolean;
|
|
802
|
-
|
|
803
|
-
list: SSOConfig<
|
|
483
|
+
largeQRCode: boolean;
|
|
484
|
+
list: SSOConfig<T>[];
|
|
804
485
|
};
|
|
805
486
|
};
|
|
806
487
|
isPrimaryRegion: boolean;
|
|
@@ -818,32 +499,12 @@ type WebAdminLocaleConfig = {
|
|
|
818
499
|
apiRegion: ApiRegion;
|
|
819
500
|
};
|
|
820
501
|
|
|
821
|
-
type DateConfig = Readonly<{
|
|
822
|
-
use24HourFormat: boolean;
|
|
823
|
-
locale: string;
|
|
824
|
-
formats: {
|
|
825
|
-
dayMonth: string;
|
|
826
|
-
dayMonthYear: string;
|
|
827
|
-
hoursMinutes: string;
|
|
828
|
-
full: string;
|
|
829
|
-
fullWithSeconds: string;
|
|
830
|
-
};
|
|
831
|
-
}>;
|
|
832
|
-
|
|
833
|
-
type GradesConfig = Readonly<{
|
|
834
|
-
primary: Partial<Record<PrimaryGrades, GradeData>>;
|
|
835
|
-
highSchool: Partial<Record<HighSchoolGrades, GradeData>>;
|
|
836
|
-
}>;
|
|
837
|
-
|
|
838
502
|
type CommonLocaleConfig = Readonly<{
|
|
839
503
|
name: string;
|
|
840
504
|
languageName: string;
|
|
841
|
-
country: string;
|
|
842
505
|
languageHeader: string;
|
|
843
506
|
contentLocale: Locale;
|
|
844
507
|
shortCode: string;
|
|
845
|
-
date: DateConfig;
|
|
846
|
-
grades: GradesConfig;
|
|
847
508
|
}>;
|
|
848
509
|
type LocalePreset = {
|
|
849
510
|
[Platform.STUDENTS_WEB]: {
|
|
@@ -856,687 +517,17 @@ type LocalePreset = {
|
|
|
856
517
|
[key in Locale]: DistrictLocaleConfig;
|
|
857
518
|
};
|
|
858
519
|
[Platform.AUTH_WEB]: {
|
|
859
|
-
[key in Locale]:
|
|
520
|
+
[key in Locale]: AuthWebLocaleConfig<SSOByLocale[key]>;
|
|
860
521
|
};
|
|
861
522
|
[Platform.WEB_ADMIN]: {
|
|
862
523
|
[key in Locale]: WebAdminLocaleConfig;
|
|
863
524
|
};
|
|
864
525
|
[Platform.MOBILE]: {
|
|
865
|
-
[key in Locale]:
|
|
526
|
+
[key in Locale]: AuthWebLocaleConfig<SSOByLocale[key]>;
|
|
866
527
|
};
|
|
867
528
|
};
|
|
868
529
|
type LocaleConfig<P extends Platform, L extends Locale> = LocalePreset[P][L];
|
|
869
530
|
|
|
870
|
-
type DistrictLocaleConfig = CommonLocaleConfig & {
|
|
871
|
-
problemCreator: ProblemCreatorConfig;
|
|
872
|
-
};
|
|
873
|
-
|
|
874
|
-
declare const DRAWBOARD_ALGEBRA: DrawboardKeyboardGroup;
|
|
875
|
-
|
|
876
|
-
declare const DRAWBOARD_BASIC: DrawboardKeyboardGroups;
|
|
877
|
-
|
|
878
|
-
declare const DRAWBOARD_BASIC_PLUS: DrawboardKeyboardGroups;
|
|
879
|
-
|
|
880
|
-
declare const DRAWBOARD_BASIC_PLUS_PLUS: DrawboardKeyboardGroups;
|
|
881
|
-
|
|
882
|
-
declare const DRAWBOARD_CURRENCY: Record<string, DrawboardKeyboardGroup>;
|
|
883
|
-
|
|
884
|
-
declare const DRAWBOARD_NUMPAD: DrawboardKeyboardGroups;
|
|
885
|
-
|
|
886
|
-
declare const DRAWBOARD_TIME: DrawboardKeyboardGroups;
|
|
887
|
-
|
|
888
|
-
declare const DRAWBOARD_UNDERLINED: DrawboardKeyboardGroup;
|
|
889
|
-
|
|
890
|
-
declare const DRAWBOARD_LENGTH: DrawboardKeyboardRowsGroups;
|
|
891
|
-
declare const DRAWBOARD_AREA: DrawboardKeyboardRowsGroups;
|
|
892
|
-
declare const DRAWBOARD_VOLUME: DrawboardKeyboardRowsGroups;
|
|
893
|
-
declare const DRAWBOARD_WEIGHT: DrawboardKeyboardRowsGroups;
|
|
894
|
-
declare const DRAWBOARD_TIME_UNITS: DrawboardKeyboardRowsGroups;
|
|
895
|
-
|
|
896
|
-
declare const DRAWBOARD_MATH_BASIC_OPERATORS: DrawboardMathOperatorsGroup;
|
|
897
|
-
|
|
898
|
-
declare const DRAWBOARD_MATH_INTEGRALS_AND_DERIVATIVES: DrawboardMathOperatorsGroup;
|
|
899
|
-
|
|
900
|
-
declare const DRAWBOARD_MATH_GEOMETRY_SYMBOLS: DrawboardMathOperatorsGroup;
|
|
901
|
-
|
|
902
|
-
declare const DRAWBOARD_MATH_SPECIAL_OPERATORS: DrawboardMathOperatorsGroup;
|
|
903
|
-
|
|
904
|
-
declare const DRAWBOARD_MATH_SYMBOLS: DrawboardMathOperatorsGroup;
|
|
905
|
-
|
|
906
|
-
declare const DRAWBOARD_MATH_TEXT_SYMBOLS: DrawboardMathOperatorsGroup;
|
|
907
|
-
|
|
908
|
-
declare const DRAWBOARD_MATH_BASIC_TRIGONOMETRIC_FUNCTIONS: DrawboardMathOperatorsGroup;
|
|
909
|
-
declare const DRAWBOARD_MATH_INVERSE_TRIGONOMETRIC_FUNCTIONS: DrawboardMathOperatorsGroup;
|
|
910
|
-
|
|
911
|
-
declare const DRAWBOARD_MATH_CURRENCY_UNITS: DrawboardMathOperatorsGroup;
|
|
912
|
-
declare const DRAWBOARD_MATH_LENGTH_UNITS: DrawboardMathOperatorsGroup;
|
|
913
|
-
declare const DRAWBOARD_MATH_AREA_UNITS: DrawboardMathOperatorsGroup;
|
|
914
|
-
declare const DRAWBOARD_MATH_VOLUME_UNITS: {
|
|
915
|
-
readonly CUBIC_KILOMETER: {
|
|
916
|
-
readonly label: "km³";
|
|
917
|
-
readonly mathliveValue: "\\mathrm{km}^3";
|
|
918
|
-
readonly katexValue: "km^3";
|
|
919
|
-
readonly mathQuillValue: "km^{3}";
|
|
920
|
-
readonly style: {
|
|
921
|
-
button: {
|
|
922
|
-
width: number;
|
|
923
|
-
};
|
|
924
|
-
container: {
|
|
925
|
-
flexBasis: number;
|
|
926
|
-
} | undefined;
|
|
927
|
-
text: {
|
|
928
|
-
readonly fontSize: 14;
|
|
929
|
-
readonly fontWeight: 700;
|
|
930
|
-
};
|
|
931
|
-
};
|
|
932
|
-
};
|
|
933
|
-
readonly CUBIC_METER: {
|
|
934
|
-
readonly label: "m³";
|
|
935
|
-
readonly mathliveValue: "\\mathrm{m}^3";
|
|
936
|
-
readonly katexValue: "m^3";
|
|
937
|
-
readonly mathQuillValue: "m^{3}";
|
|
938
|
-
readonly style: {
|
|
939
|
-
button: {
|
|
940
|
-
width: number;
|
|
941
|
-
};
|
|
942
|
-
container: {
|
|
943
|
-
flexBasis: number;
|
|
944
|
-
} | undefined;
|
|
945
|
-
text: {
|
|
946
|
-
readonly fontSize: 14;
|
|
947
|
-
readonly fontWeight: 700;
|
|
948
|
-
};
|
|
949
|
-
};
|
|
950
|
-
};
|
|
951
|
-
readonly CUBIC_DECIMETER: {
|
|
952
|
-
readonly label: "dm³";
|
|
953
|
-
readonly mathliveValue: "\\mathrm{dm}^3";
|
|
954
|
-
readonly katexValue: "dm^3";
|
|
955
|
-
readonly mathQuillValue: "dm^{3}";
|
|
956
|
-
readonly style: {
|
|
957
|
-
button: {
|
|
958
|
-
width: number;
|
|
959
|
-
};
|
|
960
|
-
container: {
|
|
961
|
-
flexBasis: number;
|
|
962
|
-
} | undefined;
|
|
963
|
-
text: {
|
|
964
|
-
readonly fontSize: 14;
|
|
965
|
-
readonly fontWeight: 700;
|
|
966
|
-
};
|
|
967
|
-
};
|
|
968
|
-
};
|
|
969
|
-
readonly CUBIC_CENTIMETER: {
|
|
970
|
-
readonly label: "cm³";
|
|
971
|
-
readonly mathliveValue: "\\mathrm{cm}^3";
|
|
972
|
-
readonly katexValue: "cm^3";
|
|
973
|
-
readonly mathQuillValue: "cm^{3}";
|
|
974
|
-
readonly style: {
|
|
975
|
-
button: {
|
|
976
|
-
width: number;
|
|
977
|
-
};
|
|
978
|
-
container: {
|
|
979
|
-
flexBasis: number;
|
|
980
|
-
} | undefined;
|
|
981
|
-
text: {
|
|
982
|
-
readonly fontSize: 14;
|
|
983
|
-
readonly fontWeight: 700;
|
|
984
|
-
};
|
|
985
|
-
};
|
|
986
|
-
};
|
|
987
|
-
readonly CUBIC_MILLIMETER: {
|
|
988
|
-
readonly label: "mm³";
|
|
989
|
-
readonly mathliveValue: "\\mathrm{mm}^3";
|
|
990
|
-
readonly katexValue: "mm^3";
|
|
991
|
-
readonly mathQuillValue: "mm^{3}";
|
|
992
|
-
readonly style: {
|
|
993
|
-
button: {
|
|
994
|
-
width: number;
|
|
995
|
-
};
|
|
996
|
-
container: {
|
|
997
|
-
flexBasis: number;
|
|
998
|
-
} | undefined;
|
|
999
|
-
text: {
|
|
1000
|
-
readonly fontSize: 14;
|
|
1001
|
-
readonly fontWeight: 700;
|
|
1002
|
-
};
|
|
1003
|
-
};
|
|
1004
|
-
};
|
|
1005
|
-
readonly CUBIC_INCH: {
|
|
1006
|
-
readonly label: "in³";
|
|
1007
|
-
readonly mathliveValue: "\\mathrm{in}^3";
|
|
1008
|
-
readonly katexValue: "in^3";
|
|
1009
|
-
readonly mathQuillValue: "in^{3}";
|
|
1010
|
-
readonly style: {
|
|
1011
|
-
button: {
|
|
1012
|
-
width: number;
|
|
1013
|
-
};
|
|
1014
|
-
container: {
|
|
1015
|
-
flexBasis: number;
|
|
1016
|
-
} | undefined;
|
|
1017
|
-
text: {
|
|
1018
|
-
readonly fontSize: 14;
|
|
1019
|
-
readonly fontWeight: 700;
|
|
1020
|
-
};
|
|
1021
|
-
};
|
|
1022
|
-
};
|
|
1023
|
-
readonly CUBIC_FOOT: {
|
|
1024
|
-
readonly label: "ft³";
|
|
1025
|
-
readonly mathliveValue: "\\mathrm{ft}^3";
|
|
1026
|
-
readonly katexValue: "ft^3";
|
|
1027
|
-
readonly mathQuillValue: "ft^{3}";
|
|
1028
|
-
readonly style: {
|
|
1029
|
-
button: {
|
|
1030
|
-
width: number;
|
|
1031
|
-
};
|
|
1032
|
-
container: {
|
|
1033
|
-
flexBasis: number;
|
|
1034
|
-
} | undefined;
|
|
1035
|
-
text: {
|
|
1036
|
-
readonly fontSize: 14;
|
|
1037
|
-
readonly fontWeight: 700;
|
|
1038
|
-
};
|
|
1039
|
-
};
|
|
1040
|
-
};
|
|
1041
|
-
readonly CUBIC_MILE: {
|
|
1042
|
-
readonly label: "mi³";
|
|
1043
|
-
readonly mathliveValue: "\\mathrm{mi}^3";
|
|
1044
|
-
readonly katexValue: "mi^3";
|
|
1045
|
-
readonly mathQuillValue: "mi^{3}";
|
|
1046
|
-
readonly style: {
|
|
1047
|
-
button: {
|
|
1048
|
-
width: number;
|
|
1049
|
-
};
|
|
1050
|
-
container: {
|
|
1051
|
-
flexBasis: number;
|
|
1052
|
-
} | undefined;
|
|
1053
|
-
text: {
|
|
1054
|
-
readonly fontSize: 14;
|
|
1055
|
-
readonly fontWeight: 700;
|
|
1056
|
-
};
|
|
1057
|
-
};
|
|
1058
|
-
};
|
|
1059
|
-
readonly CUBIC_YARD: {
|
|
1060
|
-
readonly label: "yd³";
|
|
1061
|
-
readonly mathliveValue: "\\mathrm{yd}^3";
|
|
1062
|
-
readonly katexValue: "yd^3";
|
|
1063
|
-
readonly mathQuillValue: "yd^{3}";
|
|
1064
|
-
readonly style: {
|
|
1065
|
-
button: {
|
|
1066
|
-
width: number;
|
|
1067
|
-
};
|
|
1068
|
-
container: {
|
|
1069
|
-
flexBasis: number;
|
|
1070
|
-
} | undefined;
|
|
1071
|
-
text: {
|
|
1072
|
-
readonly fontSize: 14;
|
|
1073
|
-
readonly fontWeight: 700;
|
|
1074
|
-
};
|
|
1075
|
-
};
|
|
1076
|
-
};
|
|
1077
|
-
readonly MILLILITER: {
|
|
1078
|
-
readonly label: "ml";
|
|
1079
|
-
readonly mathliveValue: "\\mathrm{mL}";
|
|
1080
|
-
readonly katexValue: "ml";
|
|
1081
|
-
readonly style: {
|
|
1082
|
-
button: {
|
|
1083
|
-
width: number;
|
|
1084
|
-
};
|
|
1085
|
-
container: {
|
|
1086
|
-
flexBasis: number;
|
|
1087
|
-
} | undefined;
|
|
1088
|
-
text: {
|
|
1089
|
-
readonly fontSize: 14;
|
|
1090
|
-
readonly fontWeight: 700;
|
|
1091
|
-
};
|
|
1092
|
-
};
|
|
1093
|
-
};
|
|
1094
|
-
readonly LITER: {
|
|
1095
|
-
readonly label: "L";
|
|
1096
|
-
readonly mathliveValue: "\\mathrm{L}";
|
|
1097
|
-
readonly katexValue: "L";
|
|
1098
|
-
readonly style: {
|
|
1099
|
-
button: {
|
|
1100
|
-
width: number;
|
|
1101
|
-
};
|
|
1102
|
-
container: {
|
|
1103
|
-
flexBasis: number;
|
|
1104
|
-
} | undefined;
|
|
1105
|
-
text: {
|
|
1106
|
-
readonly fontSize: 14;
|
|
1107
|
-
readonly fontWeight: 700;
|
|
1108
|
-
};
|
|
1109
|
-
};
|
|
1110
|
-
};
|
|
1111
|
-
readonly MILLILITER_SE: {
|
|
1112
|
-
readonly label: "ml";
|
|
1113
|
-
readonly mathliveValue: "\\mathrm{ml}";
|
|
1114
|
-
readonly katexValue: "ml";
|
|
1115
|
-
readonly style: {
|
|
1116
|
-
button: {
|
|
1117
|
-
width: number;
|
|
1118
|
-
};
|
|
1119
|
-
container: {
|
|
1120
|
-
flexBasis: number;
|
|
1121
|
-
} | undefined;
|
|
1122
|
-
text: {
|
|
1123
|
-
readonly fontSize: 14;
|
|
1124
|
-
readonly fontWeight: 700;
|
|
1125
|
-
};
|
|
1126
|
-
};
|
|
1127
|
-
};
|
|
1128
|
-
readonly LITER_SE: {
|
|
1129
|
-
readonly label: "l";
|
|
1130
|
-
readonly mathliveValue: "\\mathrm{l}";
|
|
1131
|
-
readonly katexValue: "l";
|
|
1132
|
-
readonly style: {
|
|
1133
|
-
button: {
|
|
1134
|
-
width: number;
|
|
1135
|
-
};
|
|
1136
|
-
container: {
|
|
1137
|
-
flexBasis: number;
|
|
1138
|
-
} | undefined;
|
|
1139
|
-
text: {
|
|
1140
|
-
readonly fontSize: 14;
|
|
1141
|
-
readonly fontWeight: 700;
|
|
1142
|
-
};
|
|
1143
|
-
};
|
|
1144
|
-
};
|
|
1145
|
-
readonly DL: {
|
|
1146
|
-
readonly label: "dl";
|
|
1147
|
-
readonly mathliveValue: "\\mathrm{dl}";
|
|
1148
|
-
readonly katexValue: "dl";
|
|
1149
|
-
readonly style: {
|
|
1150
|
-
button: {
|
|
1151
|
-
width: number;
|
|
1152
|
-
};
|
|
1153
|
-
container: {
|
|
1154
|
-
flexBasis: number;
|
|
1155
|
-
} | undefined;
|
|
1156
|
-
text: {
|
|
1157
|
-
readonly fontSize: 14;
|
|
1158
|
-
readonly fontWeight: 700;
|
|
1159
|
-
};
|
|
1160
|
-
};
|
|
1161
|
-
};
|
|
1162
|
-
readonly CUP: {
|
|
1163
|
-
readonly label: "cup";
|
|
1164
|
-
readonly mathliveValue: "\\mathrm{cup}";
|
|
1165
|
-
readonly katexValue: "cup";
|
|
1166
|
-
readonly mathQuillValue: "\\cup";
|
|
1167
|
-
readonly style: {
|
|
1168
|
-
button: {
|
|
1169
|
-
width: number;
|
|
1170
|
-
};
|
|
1171
|
-
container: {
|
|
1172
|
-
flexBasis: number;
|
|
1173
|
-
} | undefined;
|
|
1174
|
-
text: {
|
|
1175
|
-
readonly fontSize: 14;
|
|
1176
|
-
readonly fontWeight: 700;
|
|
1177
|
-
};
|
|
1178
|
-
};
|
|
1179
|
-
};
|
|
1180
|
-
readonly GAL: {
|
|
1181
|
-
readonly label: "gal";
|
|
1182
|
-
readonly mathliveValue: "\\mathrm{gal}";
|
|
1183
|
-
readonly katexValue: "gal";
|
|
1184
|
-
readonly style: {
|
|
1185
|
-
button: {
|
|
1186
|
-
width: number;
|
|
1187
|
-
};
|
|
1188
|
-
container: {
|
|
1189
|
-
flexBasis: number;
|
|
1190
|
-
} | undefined;
|
|
1191
|
-
text: {
|
|
1192
|
-
readonly fontSize: 14;
|
|
1193
|
-
readonly fontWeight: 700;
|
|
1194
|
-
};
|
|
1195
|
-
};
|
|
1196
|
-
};
|
|
1197
|
-
readonly PINT: {
|
|
1198
|
-
readonly label: "pt";
|
|
1199
|
-
readonly mathliveValue: "\\mathrm{pt}";
|
|
1200
|
-
readonly katexValue: "pt";
|
|
1201
|
-
readonly style: {
|
|
1202
|
-
button: {
|
|
1203
|
-
width: number;
|
|
1204
|
-
};
|
|
1205
|
-
container: {
|
|
1206
|
-
flexBasis: number;
|
|
1207
|
-
} | undefined;
|
|
1208
|
-
text: {
|
|
1209
|
-
readonly fontSize: 14;
|
|
1210
|
-
readonly fontWeight: 700;
|
|
1211
|
-
};
|
|
1212
|
-
};
|
|
1213
|
-
};
|
|
1214
|
-
readonly QUART: {
|
|
1215
|
-
readonly label: "qt";
|
|
1216
|
-
readonly mathliveValue: "\\mathrm{qt}";
|
|
1217
|
-
readonly katexValue: "qt";
|
|
1218
|
-
readonly style: {
|
|
1219
|
-
button: {
|
|
1220
|
-
width: number;
|
|
1221
|
-
};
|
|
1222
|
-
container: {
|
|
1223
|
-
flexBasis: number;
|
|
1224
|
-
} | undefined;
|
|
1225
|
-
text: {
|
|
1226
|
-
readonly fontSize: 14;
|
|
1227
|
-
readonly fontWeight: 700;
|
|
1228
|
-
};
|
|
1229
|
-
};
|
|
1230
|
-
};
|
|
1231
|
-
readonly FLOZ: {
|
|
1232
|
-
readonly label: "floz";
|
|
1233
|
-
readonly mathliveValue: "\\mathrm{floz}";
|
|
1234
|
-
readonly katexValue: "floz";
|
|
1235
|
-
readonly style: {
|
|
1236
|
-
button: {
|
|
1237
|
-
width: number;
|
|
1238
|
-
};
|
|
1239
|
-
container: {
|
|
1240
|
-
flexBasis: number;
|
|
1241
|
-
} | undefined;
|
|
1242
|
-
text: {
|
|
1243
|
-
readonly fontSize: 14;
|
|
1244
|
-
readonly fontWeight: 700;
|
|
1245
|
-
};
|
|
1246
|
-
};
|
|
1247
|
-
};
|
|
1248
|
-
readonly CL: {
|
|
1249
|
-
readonly label: "cl";
|
|
1250
|
-
readonly mathliveValue: "\\mathrm{cl}";
|
|
1251
|
-
readonly katexValue: "cl";
|
|
1252
|
-
readonly style: {
|
|
1253
|
-
button: {
|
|
1254
|
-
width: number;
|
|
1255
|
-
};
|
|
1256
|
-
container: {
|
|
1257
|
-
flexBasis: number;
|
|
1258
|
-
} | undefined;
|
|
1259
|
-
text: {
|
|
1260
|
-
readonly fontSize: 14;
|
|
1261
|
-
readonly fontWeight: 700;
|
|
1262
|
-
};
|
|
1263
|
-
};
|
|
1264
|
-
};
|
|
1265
|
-
};
|
|
1266
|
-
declare const DRAWBOARD_MATH_WEIGHT_UNITS: DrawboardMathOperatorsGroup;
|
|
1267
|
-
declare const DRAWBOARD_MATH_TIME_UNITS: DrawboardMathOperatorsGroup;
|
|
1268
|
-
|
|
1269
|
-
declare const PROBLEM_CREATOR_ADVANCED: ProblemCreatorKeyboardGroup;
|
|
1270
|
-
|
|
1271
|
-
declare const PROBLEM_CREATOR_ALGEBRA_TEXT: ProblemCreatorKeyboardGroup;
|
|
1272
|
-
declare const PROBLEM_CREATOR_ALGEBRA_SYMBOLS: ProblemCreatorKeyboardGroup;
|
|
1273
|
-
|
|
1274
|
-
declare const PROBLEM_CREATOR_BASIC: {
|
|
1275
|
-
readonly DOT: {
|
|
1276
|
-
readonly id: "basic";
|
|
1277
|
-
readonly keys: ProblemCreatorKeyboardKey[];
|
|
1278
|
-
};
|
|
1279
|
-
readonly COMMA: {
|
|
1280
|
-
readonly id: "basic";
|
|
1281
|
-
readonly keys: ProblemCreatorKeyboardKey[];
|
|
1282
|
-
};
|
|
1283
|
-
};
|
|
1284
|
-
|
|
1285
|
-
declare const PROBLEM_CREATOR_DESCRIPTION: {
|
|
1286
|
-
readonly EXTENDED_MULT_BASIC_ROOTS: {
|
|
1287
|
-
readonly id: "description";
|
|
1288
|
-
readonly keys: ProblemCreatorKeyboardKey[];
|
|
1289
|
-
};
|
|
1290
|
-
readonly DOT_EXTENDED_ROOTS: {
|
|
1291
|
-
readonly id: "description";
|
|
1292
|
-
readonly keys: ProblemCreatorKeyboardKey[];
|
|
1293
|
-
};
|
|
1294
|
-
readonly DOT_BASIC_ROOTS: {
|
|
1295
|
-
readonly id: "description";
|
|
1296
|
-
readonly keys: ProblemCreatorKeyboardKey[];
|
|
1297
|
-
};
|
|
1298
|
-
};
|
|
1299
|
-
|
|
1300
|
-
declare const PROBLEM_CREATOR_MATH_ENTRY_BASIC: {
|
|
1301
|
-
readonly id: "math-entry-basic";
|
|
1302
|
-
readonly keys: [ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey];
|
|
1303
|
-
};
|
|
1304
|
-
declare const PROBLEM_CREATOR_MATH_ENTRY_UNITS: {
|
|
1305
|
-
readonly SE: {
|
|
1306
|
-
readonly id: "math-entry-units";
|
|
1307
|
-
readonly keys: [ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey];
|
|
1308
|
-
};
|
|
1309
|
-
readonly DE: {
|
|
1310
|
-
readonly id: "math-entry-units";
|
|
1311
|
-
readonly keys: [ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey];
|
|
1312
|
-
};
|
|
1313
|
-
readonly GB: {
|
|
1314
|
-
readonly id: "math-entry-units";
|
|
1315
|
-
readonly keys: [ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey];
|
|
1316
|
-
};
|
|
1317
|
-
readonly US: {
|
|
1318
|
-
readonly id: "math-entry-units";
|
|
1319
|
-
readonly keys: [ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey];
|
|
1320
|
-
};
|
|
1321
|
-
};
|
|
1322
|
-
|
|
1323
|
-
declare const PROBLEM_CREATOR_LENGTH: {
|
|
1324
|
-
readonly METRIC: {
|
|
1325
|
-
readonly id: "length-units";
|
|
1326
|
-
readonly keys: [ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey];
|
|
1327
|
-
};
|
|
1328
|
-
readonly MIXED: {
|
|
1329
|
-
readonly id: "length-units";
|
|
1330
|
-
readonly keys: [ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey];
|
|
1331
|
-
};
|
|
1332
|
-
};
|
|
1333
|
-
declare const PROBLEM_CREATOR_AREA: {
|
|
1334
|
-
readonly METRIC: {
|
|
1335
|
-
readonly id: "area-units";
|
|
1336
|
-
readonly keys: [ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey];
|
|
1337
|
-
};
|
|
1338
|
-
readonly MIXED: {
|
|
1339
|
-
readonly id: "area-units";
|
|
1340
|
-
readonly keys: [ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey];
|
|
1341
|
-
};
|
|
1342
|
-
};
|
|
1343
|
-
declare const PROBLEM_CREATOR_VOLUME: {
|
|
1344
|
-
readonly METRIC: {
|
|
1345
|
-
readonly id: "volume-units";
|
|
1346
|
-
readonly keys: [ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey];
|
|
1347
|
-
};
|
|
1348
|
-
readonly MIXED: {
|
|
1349
|
-
readonly id: "volume-units";
|
|
1350
|
-
readonly keys: [ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey];
|
|
1351
|
-
};
|
|
1352
|
-
};
|
|
1353
|
-
declare const PROBLEM_CREATOR_WEIGHT: {
|
|
1354
|
-
readonly METRIC: {
|
|
1355
|
-
readonly id: "weight-units";
|
|
1356
|
-
readonly keys: [ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey];
|
|
1357
|
-
};
|
|
1358
|
-
readonly MIXED: {
|
|
1359
|
-
readonly id: "weight-units";
|
|
1360
|
-
readonly keys: [ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey];
|
|
1361
|
-
};
|
|
1362
|
-
};
|
|
1363
|
-
declare const PROBLEM_CREATOR_TIME: {
|
|
1364
|
-
readonly H24: {
|
|
1365
|
-
readonly id: "time-units";
|
|
1366
|
-
readonly keys: [ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey];
|
|
1367
|
-
};
|
|
1368
|
-
readonly H24_DAYS: {
|
|
1369
|
-
readonly id: "time-units";
|
|
1370
|
-
readonly keys: [ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey, ProblemCreatorKeyboardKey];
|
|
1371
|
-
};
|
|
1372
|
-
};
|
|
1373
|
-
|
|
1374
|
-
declare enum ProblemCreatorMathBasicOperator {
|
|
1375
|
-
ADDITION = "ADDITION",
|
|
1376
|
-
SUBTRACTION = "SUBTRACTION",
|
|
1377
|
-
MULTIPLICATION = "MULTIPLICATION",
|
|
1378
|
-
DIVISION = "DIVISION",
|
|
1379
|
-
LESS_THAN = "LESS_THAN",
|
|
1380
|
-
GREATER_THAN = "GREATER_THAN",
|
|
1381
|
-
LESS_THAN_OR_EQUAL = "LESS_THAN_OR_EQUAL",
|
|
1382
|
-
GREATER_THAN_OR_EQUAL = "GREATER_THAN_OR_EQUAL",
|
|
1383
|
-
EQUALS = "EQUALS",
|
|
1384
|
-
NOT_EQUAL = "NOT_EQUAL",
|
|
1385
|
-
APPROXIMATELY_EQUAL = "APPROXIMATELY_EQUAL",
|
|
1386
|
-
DECIMAL_POINT = "DECIMAL_POINT",
|
|
1387
|
-
COMMA = "COMMA",
|
|
1388
|
-
COLON = "COLON",
|
|
1389
|
-
DOT = "DOT",
|
|
1390
|
-
PERCENT = "PERCENT",
|
|
1391
|
-
PREMILE = "PREMILE",
|
|
1392
|
-
SLASH = "SLASH",
|
|
1393
|
-
NTH_POWER = "NTH_POWER",
|
|
1394
|
-
SQUARE_POWER = "SQUARE_POWER",
|
|
1395
|
-
CUBE_POWER = "CUBE_POWER",
|
|
1396
|
-
FRACTION = "FRACTION",
|
|
1397
|
-
SQUARE_ROOT = "SQUARE_ROOT",
|
|
1398
|
-
CUBE_ROOT = "CUBE_ROOT",
|
|
1399
|
-
NTH_ROOT = "NTH_ROOT",
|
|
1400
|
-
SIMILARITY = "SIMILARITY",
|
|
1401
|
-
CONGRUENT = "CONGRUENT",
|
|
1402
|
-
ELEMENT_OF = "ELEMENT_OF",
|
|
1403
|
-
NOT_ELEMENT_OF = "NOT_ELEMENT_OF",
|
|
1404
|
-
SUBSET = "SUBSET",
|
|
1405
|
-
INTERSECTION = "INTERSECTION",
|
|
1406
|
-
UNION = "UNION",
|
|
1407
|
-
INFINITY = "INFINITY",
|
|
1408
|
-
EMPTY = "EMPTY",
|
|
1409
|
-
PLUS_MINUS = "PLUS_MINUS",
|
|
1410
|
-
SUBSCRIPT_VARIABLE = "SUBSCRIPT_VARIABLE",
|
|
1411
|
-
SUM = "SUM",
|
|
1412
|
-
PARENTHESES = "PARENTHESES",
|
|
1413
|
-
ORDERED_PAIR = "ORDERED_PAIR"
|
|
1414
|
-
}
|
|
1415
|
-
declare const PROBLEM_CREATOR_MATH_BASIC_OPERATORS: ProblemCreatorMathKeysGroup<typeof ProblemCreatorMathBasicOperator>;
|
|
1416
|
-
|
|
1417
|
-
declare enum ProblemCreatorMathSegmentSymbols {
|
|
1418
|
-
BIDIRECTIONAL_SEGMENT = "BIDIRECTIONAL_SEGMENT",
|
|
1419
|
-
LEFT_DIRECTED_SEGMENT = "LEFT_DIRECTED_SEGMENT",
|
|
1420
|
-
RIGHT_DIRECTED_SEGMENT = "RIGHT_DIRECTED_SEGMENT",
|
|
1421
|
-
LINE_SEGMENT = "LINE_SEGMENT"
|
|
1422
|
-
}
|
|
1423
|
-
declare enum ProblemCreatorMathGeometrySymbols {
|
|
1424
|
-
DEGREE = "DEGREE",
|
|
1425
|
-
ANGLE = "ANGLE",
|
|
1426
|
-
PARALLEL = "PARALLEL",
|
|
1427
|
-
PERPENDICULAR = "PERPENDICULAR"
|
|
1428
|
-
}
|
|
1429
|
-
declare const PROBLEM_CREATOR_MATH_GEOMETRY_SYMBOLS: ProblemCreatorMathKeysGroup<typeof ProblemCreatorMathGeometrySymbols>;
|
|
1430
|
-
declare const PROBLEM_CREATOR_MATH_SEGMENT_SYMBOLS: ProblemCreatorMathKeysGroup<typeof ProblemCreatorMathSegmentSymbols>;
|
|
1431
|
-
|
|
1432
|
-
declare enum ProblemCreatorMathSymbol {
|
|
1433
|
-
ALPHA = "ALPHA",
|
|
1434
|
-
BETA = "BETA",
|
|
1435
|
-
GAMMA = "GAMMA",
|
|
1436
|
-
LAMBDA = "LAMBDA",
|
|
1437
|
-
DELTA = "DELTA",
|
|
1438
|
-
THETA = "THETA",
|
|
1439
|
-
OMEGA_UPPERCASE = "OMEGAUPPERCASE",
|
|
1440
|
-
OMEGA_LOWERCASE = "OMEGALOWERCASE",
|
|
1441
|
-
MU = "MU",
|
|
1442
|
-
ETA = "ETA",
|
|
1443
|
-
EPSILON = "EPSILON",
|
|
1444
|
-
SIGMA = "SIGMA",
|
|
1445
|
-
SIGMA_SUM = "SIGMA_SUM",
|
|
1446
|
-
RHO = "RHO",
|
|
1447
|
-
PI = "PI",
|
|
1448
|
-
PHI = "PHI"
|
|
1449
|
-
}
|
|
1450
|
-
declare const PROBLEM_CREATOR_MATH_SYMBOLS: ProblemCreatorMathKeysGroup<typeof ProblemCreatorMathSymbol>;
|
|
1451
|
-
|
|
1452
|
-
declare enum ProblemCreatorMathCurrencyUnit {
|
|
1453
|
-
KRONE = "KRONE",
|
|
1454
|
-
DOLLAR = "DOLLAR",
|
|
1455
|
-
EURO = "EURO",
|
|
1456
|
-
POUND = "POUND",
|
|
1457
|
-
PESO = "PESO",
|
|
1458
|
-
YEN = "YEN",
|
|
1459
|
-
CENT = "CENT"
|
|
1460
|
-
}
|
|
1461
|
-
declare enum ProblemCreatorMathLengthUnit {
|
|
1462
|
-
KILOMETER = "KILOMETER",
|
|
1463
|
-
METER = "METER",
|
|
1464
|
-
DECIMETER = "DECIMETER",
|
|
1465
|
-
CENTIMETER = "CENTIMETER",
|
|
1466
|
-
MILLIMETER = "MILLIMETER",
|
|
1467
|
-
HECTARE = "HECTARE",
|
|
1468
|
-
INCH = "INCH",
|
|
1469
|
-
FOOT = "FOOT",
|
|
1470
|
-
YARD = "YARD",
|
|
1471
|
-
YARDS = "YARDS",
|
|
1472
|
-
MILE = "MILE",
|
|
1473
|
-
MILE_SE = "MILE_SE"
|
|
1474
|
-
}
|
|
1475
|
-
declare enum ProblemCreatorMathAreaUnit {
|
|
1476
|
-
SQUARE_KILOMETER = "SQUARE_KILOMETER",
|
|
1477
|
-
SQUARE_METER = "SQUARE_METER",
|
|
1478
|
-
SQUARE_DECIMETER = "SQUARE_DECIMETER",
|
|
1479
|
-
SQUARE_CENTIMETER = "SQUARE_CENTIMETER",
|
|
1480
|
-
SQUARE_MILLIMETER = "SQUARE_MILLIMETER",
|
|
1481
|
-
SQUARE_INCH = "SQUARE_INCH",
|
|
1482
|
-
SQUARE_FOOT = "SQUARE_FOOT",
|
|
1483
|
-
SQUARE_MILE = "SQUARE_MILE",
|
|
1484
|
-
SQUARE_YARD = "SQUARE_YARD"
|
|
1485
|
-
}
|
|
1486
|
-
declare enum ProblemCreatorMathVolumeUnit {
|
|
1487
|
-
CUBIC_KILOMETER = "CUBIC_KILOMETER",
|
|
1488
|
-
CUBIC_METER = "CUBIC_METER",
|
|
1489
|
-
CUBIC_DECIMETER = "CUBIC_DECIMETER",
|
|
1490
|
-
CUBIC_CENTIMETER = "CUBIC_CENTIMETER",
|
|
1491
|
-
CUBIC_MILLIMETER = "CUBIC_MILLIMETER",
|
|
1492
|
-
CUBIC_INCH = "CUBIC_INCH",
|
|
1493
|
-
CUBIC_FOOT = "CUBIC_FOOT",
|
|
1494
|
-
CUBIC_MILE = "CUBIC_MILE",
|
|
1495
|
-
CUBIC_YARD = "CUBIC_YARD",
|
|
1496
|
-
MILLILITER = "MILLILITER",
|
|
1497
|
-
LITER = "LITER",
|
|
1498
|
-
MILLILITER_SE = "MILLILITER_SE",
|
|
1499
|
-
LITER_SE = "LITER_SE",
|
|
1500
|
-
DL = "DL",
|
|
1501
|
-
CUP = "CUP",
|
|
1502
|
-
GAL = "GAL",
|
|
1503
|
-
PINT = "PINT",
|
|
1504
|
-
QUART = "QUART",
|
|
1505
|
-
FLOZ = "FLOZ",
|
|
1506
|
-
CL = "CL"
|
|
1507
|
-
}
|
|
1508
|
-
declare enum ProblemCreatorMathWeightUnit {
|
|
1509
|
-
KG = "KG",
|
|
1510
|
-
G = "G",
|
|
1511
|
-
MG = "MG",
|
|
1512
|
-
TON_SE = "TON_SE",
|
|
1513
|
-
TON = "TON",
|
|
1514
|
-
T = "T",
|
|
1515
|
-
LB = "LB",
|
|
1516
|
-
OZ = "OZ",
|
|
1517
|
-
GAL = "GAL",
|
|
1518
|
-
HG = "HG"
|
|
1519
|
-
}
|
|
1520
|
-
declare enum ProblemCreatorMathTimeUnit {
|
|
1521
|
-
S = "S",
|
|
1522
|
-
M = "M",
|
|
1523
|
-
H = "H",
|
|
1524
|
-
DAY = "DAY",
|
|
1525
|
-
WEEK = "WEEK",
|
|
1526
|
-
MONTH = "MONTH",
|
|
1527
|
-
YEAR = "YEAR",
|
|
1528
|
-
DAYS = "DAYS",
|
|
1529
|
-
WEEKS = "WEEKS",
|
|
1530
|
-
MONTHS = "MONTHS",
|
|
1531
|
-
YEARS = "YEARS"
|
|
1532
|
-
}
|
|
1533
|
-
declare const PROBLEM_CREATOR_MATH_CURRENCY_UNITS: ProblemCreatorMathKeysGroup<typeof ProblemCreatorMathCurrencyUnit>;
|
|
1534
|
-
declare const PROBLEM_CREATOR_MATH_LENGTH_UNITS: ProblemCreatorMathKeysGroup<typeof ProblemCreatorMathLengthUnit>;
|
|
1535
|
-
declare const PROBLEM_CREATOR_MATH_AREA_UNITS: ProblemCreatorMathKeysGroup<typeof ProblemCreatorMathAreaUnit>;
|
|
1536
|
-
declare const PROBLEM_CREATOR_MATH_VOLUME_UNITS: ProblemCreatorMathKeysGroup<typeof ProblemCreatorMathVolumeUnit>;
|
|
1537
|
-
declare const PROBLEM_CREATOR_MATH_WEIGHT_UNITS: ProblemCreatorMathKeysGroup<typeof ProblemCreatorMathWeightUnit>;
|
|
1538
|
-
declare const PROBLEM_CREATOR_MATH_TIME_UNITS: ProblemCreatorMathKeysGroup<typeof ProblemCreatorMathTimeUnit>;
|
|
1539
|
-
|
|
1540
531
|
type DevOverrides<P extends Platform> = {
|
|
1541
532
|
[K in Locale]?: Partial<EnvironmentVars<P>>;
|
|
1542
533
|
};
|
|
@@ -1570,9 +561,16 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
1570
561
|
readonly onEnvsChange: (cb: (cfg: EnvironmentVars<P>) => void) => effector.Subscription;
|
|
1571
562
|
readonly onLocaleChange: (cb: (cfg: LocaleConfig<P, L>) => void) => effector.Subscription;
|
|
1572
563
|
readonly getPresets: () => {
|
|
1573
|
-
envPreset:
|
|
564
|
+
envPreset: Readonly<{
|
|
565
|
+
STUDENTS: StudentsWebVarsPreset;
|
|
566
|
+
TEACHERS: TeachersWebVarsPreset;
|
|
567
|
+
DISTRICT: DistrictWebVarsPreset;
|
|
568
|
+
AUTH_WEB: AuthWebVarsPreset;
|
|
569
|
+
WEB_ADMIN: WebAdminVarsPreset;
|
|
570
|
+
MOBILE: MobileVarsPreset;
|
|
571
|
+
}>;
|
|
1574
572
|
localePreset: LocalePreset;
|
|
1575
573
|
};
|
|
1576
574
|
}
|
|
1577
575
|
|
|
1578
|
-
export { ApiRegion, AppConfigManager, type AuthWebBaseVars, type AuthWebVars, type AuthWebVarsPreset,
|
|
576
|
+
export { ApiRegion, AppConfigManager, type AuthWebBaseVars, type AuthWebVars, type AuthWebVarsPreset, DateFormat, DateLocale, type DistrictCommon, type DistrictDashboardVars, type DistrictWebVarsPreset, type EnvPreset, Environment, type EnvironmentVars, Grade, type GradeLabel, Locale, LoginSource, MatrixMode, type MobileBaseVars, type MobileCommon, type MobileVars, type MobileVarsPreset, Platform, PlatformBuildTarget, SSO, type SSOByLocale, type SSOConfig, type SSOVariant, type SSO_DE, type SSO_SE, type SSO_UK, type SSO_US, Source, type StudentsWebCommon, type StudentsWebVars, type StudentsWebVarsPreset, type TeachersWebCommon, type TeachersWebVars, type TeachersWebVarsPreset, buildTargetToEnvironment };
|