@magmamath/frontend-config 1.7.6-rc.1 → 1.7.7
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/{common.constants-Dd81SRrq.d.mts → common.constants-CKKc_B4a.d.mts} +3 -1
- package/dist/{common.constants-Dd81SRrq.d.ts → common.constants-CKKc_B4a.d.ts} +3 -1
- package/dist/index.d.mts +110 -139
- package/dist/index.d.ts +110 -139
- package/dist/index.js +64 -215
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +64 -217
- package/dist/index.mjs.map +1 -1
- package/dist/translation/index.d.mts +1 -1
- package/dist/translation/index.d.ts +1 -1
- package/dist/translation/index.js.map +1 -1
- package/dist/translation/index.mjs.map +1 -1
- package/dist/translation/translation.constants.js.map +1 -1
- package/dist/translation/translation.constants.mjs.map +1 -1
- package/package.json +1 -2
|
@@ -75,7 +75,8 @@ declare enum LoginSource {
|
|
|
75
75
|
MICROSOFT = 6,
|
|
76
76
|
APPLE = 7,
|
|
77
77
|
SCHOOLOGY = 8,
|
|
78
|
-
MY_LOGIN = 9
|
|
78
|
+
MY_LOGIN = 9,
|
|
79
|
+
VIDIS = 18
|
|
79
80
|
}
|
|
80
81
|
declare enum SSO {
|
|
81
82
|
APPLE = "APPLE",
|
|
@@ -87,6 +88,7 @@ declare enum SSO {
|
|
|
87
88
|
SKOLFEDERATION = "SKOLFEDERATION",
|
|
88
89
|
SKOLON = "SKOLON",
|
|
89
90
|
WONDE = "WONDE",
|
|
91
|
+
VIDIS = "VIDIS",
|
|
90
92
|
CANVAS = "CANVAS",
|
|
91
93
|
QR_CODE = "QR_CODE"
|
|
92
94
|
}
|
|
@@ -75,7 +75,8 @@ declare enum LoginSource {
|
|
|
75
75
|
MICROSOFT = 6,
|
|
76
76
|
APPLE = 7,
|
|
77
77
|
SCHOOLOGY = 8,
|
|
78
|
-
MY_LOGIN = 9
|
|
78
|
+
MY_LOGIN = 9,
|
|
79
|
+
VIDIS = 18
|
|
79
80
|
}
|
|
80
81
|
declare enum SSO {
|
|
81
82
|
APPLE = "APPLE",
|
|
@@ -87,6 +88,7 @@ declare enum SSO {
|
|
|
87
88
|
SKOLFEDERATION = "SKOLFEDERATION",
|
|
88
89
|
SKOLON = "SKOLON",
|
|
89
90
|
WONDE = "WONDE",
|
|
91
|
+
VIDIS = "VIDIS",
|
|
90
92
|
CANVAS = "CANVAS",
|
|
91
93
|
QR_CODE = "QR_CODE"
|
|
92
94
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as SSO, L as LoginSource,
|
|
2
|
-
export { c as Source } from './common.constants-
|
|
1
|
+
import { S as SSO, L as LoginSource, a as Locale, H as HomeRegion, E as Environment, P as Platform, b as PlatformBuildTarget, Q as QRCodeSize } from './common.constants-CKKc_B4a.mjs';
|
|
2
|
+
export { c as Source } from './common.constants-CKKc_B4a.mjs';
|
|
3
3
|
import { ComponentType } from 'react';
|
|
4
4
|
import * as effector from 'effector';
|
|
5
5
|
|
|
@@ -123,43 +123,6 @@ declare enum Grade {
|
|
|
123
123
|
INTEGRATED_MATH_II = 25,
|
|
124
124
|
INTEGRATED_MATH_III = 26,
|
|
125
125
|
PRECALCULUS = 27,
|
|
126
|
-
MATEMATIK_NIVA_1A = 50,
|
|
127
|
-
MATEMATIK_NIVA_1B = 51,
|
|
128
|
-
MATEMATIK_NIVA_1C = 52,
|
|
129
|
-
MATEMATIK_NIVA_2A = 53,
|
|
130
|
-
MATEMATIK_NIVA_2B = 54,
|
|
131
|
-
MATEMATIK_NIVA_2C = 55,
|
|
132
|
-
MATEMATIK_FORTSATTNING_NIVA_1B = 56,
|
|
133
|
-
MATEMATIK_FORTSATTNING_NIVA_1C = 57,
|
|
134
|
-
MATEMATIK_FORTSATTNING_NIVA_2 = 58,
|
|
135
|
-
MATEMATIK_FORDJUPNING_NIVA_1 = 59,
|
|
136
|
-
ALGEBRA_3 = 60,
|
|
137
|
-
QUANTITATIVE_REASONING = 61,
|
|
138
|
-
ADVANCED_TOPICS_AND_MODELING = 62,
|
|
139
|
-
STATISTICS = 63,
|
|
140
|
-
CALCULUS = 64,
|
|
141
|
-
ADVANCED_QUANTITATIVE_REASONING = 70,
|
|
142
|
-
ALGEBRAIC_REASONING = 71,
|
|
143
|
-
MATHEMATICAL_MODELS_WITH_APPLICATIONS = 72,
|
|
144
|
-
TRIGONOMETRY = 81,
|
|
145
|
-
PROBABILITY_AND_STATISTICS = 82,
|
|
146
|
-
DISCRETE_MATHEMATICS = 83,
|
|
147
|
-
PRINCIPLES_OF_MATHEMATICS = 90,
|
|
148
|
-
FOUNDATIONS_OF_MATHEMATICS = 91,
|
|
149
|
-
FUNCTIONS = 92,
|
|
150
|
-
FUNCTIONS_AND_APPLICATIONS = 93,
|
|
151
|
-
FOUNDATIONS_FOR_COLLEGE_MATHEMATICS = 94,
|
|
152
|
-
MATHEMATICS_FOR_WORK_AND_EVERYDAY_LIFE = 95,
|
|
153
|
-
ADVANCED_FUNCTIONS = 96,
|
|
154
|
-
CALCULUS_AND_VECTORS = 97,
|
|
155
|
-
MATHEMATICS_OF_DATA_MANAGEMENT = 98,
|
|
156
|
-
MATHEMATICS_FOR_COLLEGE_TECHNOLOGY = 99,
|
|
157
|
-
MATH_FOR_DATA_AND_FINANCIAL_LITERACY = 100,
|
|
158
|
-
MATH_FOR_COLLEGE_ALGEBRA = 101,
|
|
159
|
-
MATH_FOR_COLLEGE_LIBERAL_ARTS = 102,
|
|
160
|
-
MATH_FOR_COLLEGE_STATISTICS = 103,
|
|
161
|
-
MATHEMATICAL_MODELING = 110,
|
|
162
|
-
APPLICATIONS_OF_FINITE_MATHEMATICS = 111,
|
|
163
126
|
HS = "HS",
|
|
164
127
|
HSG = "HSG",
|
|
165
128
|
HSA = "HSA",
|
|
@@ -404,7 +367,7 @@ type GradeData = {
|
|
|
404
367
|
};
|
|
405
368
|
type CommonGrades = Grade.OTHER | Grade.ZERO | Grade.K;
|
|
406
369
|
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;
|
|
407
|
-
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.
|
|
370
|
+
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;
|
|
408
371
|
|
|
409
372
|
type IconProps = {
|
|
410
373
|
size?: number;
|
|
@@ -421,101 +384,6 @@ type SSOConfig<E> = Readonly<{
|
|
|
421
384
|
getUrl: (envs: E) => string;
|
|
422
385
|
}>;
|
|
423
386
|
|
|
424
|
-
type RegionSpecificVars = {
|
|
425
|
-
API_URL: string;
|
|
426
|
-
AUTH_WEB_URL: string;
|
|
427
|
-
CDN_HOST: string;
|
|
428
|
-
CDN_HOST_TRANSLATIONS: string;
|
|
429
|
-
DISTRICT_WEB_URL: string;
|
|
430
|
-
LOGGLY_TAG: string;
|
|
431
|
-
MAGMAMATH_URL: string;
|
|
432
|
-
PARENT_WEB_URL: string;
|
|
433
|
-
SOCKET_URL: string;
|
|
434
|
-
STUDENTS_WEB_URL: string;
|
|
435
|
-
WEBSOCKETS_URL: string;
|
|
436
|
-
TEACHERS_WEB_URL: string;
|
|
437
|
-
};
|
|
438
|
-
|
|
439
|
-
type StudentsWebCommon = {
|
|
440
|
-
CDN_HOST_TRANSLATIONS: string;
|
|
441
|
-
GOOGLE_API_KEY: string;
|
|
442
|
-
DESMOS_API_KEY: string;
|
|
443
|
-
LOGGLY_CUSTOMER_TOKEN: string;
|
|
444
|
-
MYSCRIPT_APPLICATION_KEY: string;
|
|
445
|
-
MYSCRIPT_HMAC_KEY: string;
|
|
446
|
-
MYSCRIPT_HOST: string;
|
|
447
|
-
MYSCRIPT_SOCKET_KEY: string;
|
|
448
|
-
MYSCRIPT_REST_APP_KEY: string;
|
|
449
|
-
MYSCRIPT_REST_HMAC_KEY: string;
|
|
450
|
-
TOLGEE_API_URL?: string;
|
|
451
|
-
TOLGEE_API_KEY?: string;
|
|
452
|
-
};
|
|
453
|
-
type StudentsWebVars = RegionSpecificVars & StudentsWebCommon;
|
|
454
|
-
type StudentsWebVarsPreset = {
|
|
455
|
-
[HomeRegion.US_MAIN]: {
|
|
456
|
-
[key in Environment]: StudentsWebVars;
|
|
457
|
-
};
|
|
458
|
-
[HomeRegion.CA_MAIN]: {
|
|
459
|
-
[key in Environment]: StudentsWebVars;
|
|
460
|
-
};
|
|
461
|
-
[HomeRegion.EU_MAIN]: {
|
|
462
|
-
[key in Locale]: {
|
|
463
|
-
[key in Environment]: StudentsWebVars;
|
|
464
|
-
};
|
|
465
|
-
};
|
|
466
|
-
};
|
|
467
|
-
|
|
468
|
-
type TeachersWebCommon = {
|
|
469
|
-
CDN_HOST_TRANSLATIONS: string;
|
|
470
|
-
MYSCRIPT_HOST: string;
|
|
471
|
-
MYSCRIPT_REST_APP_KEY: string;
|
|
472
|
-
MYSCRIPT_REST_HMAC_KEY: string;
|
|
473
|
-
PROBLEM_IMAGE_SIZE_LIMIT: number;
|
|
474
|
-
INTERCOM_APP_ID: string;
|
|
475
|
-
LOGGLY_CUSTOMER_TOKEN: string;
|
|
476
|
-
TOLGEE_API_URL?: string;
|
|
477
|
-
TOLGEE_API_KEY?: string;
|
|
478
|
-
GOOGLE_TRANSLATE_URL: string;
|
|
479
|
-
GOOGLE_API_KEY: string;
|
|
480
|
-
};
|
|
481
|
-
type TeachersWebVars = RegionSpecificVars & TeachersWebCommon;
|
|
482
|
-
type TeachersWebVarsPreset = {
|
|
483
|
-
[HomeRegion.US_MAIN]: {
|
|
484
|
-
[key in Environment]: TeachersWebVars;
|
|
485
|
-
};
|
|
486
|
-
[HomeRegion.CA_MAIN]: {
|
|
487
|
-
[key in Environment]: TeachersWebVars;
|
|
488
|
-
};
|
|
489
|
-
[HomeRegion.EU_MAIN]: {
|
|
490
|
-
[key in Locale]: {
|
|
491
|
-
[key in Environment]: TeachersWebVars;
|
|
492
|
-
};
|
|
493
|
-
};
|
|
494
|
-
};
|
|
495
|
-
|
|
496
|
-
type DistrictCommon = {
|
|
497
|
-
CDN_HOST_TRANSLATIONS: string;
|
|
498
|
-
INTERCOM_APP_ID: string;
|
|
499
|
-
AMPLITUDE_API_KEY?: string;
|
|
500
|
-
PROBLEM_IMAGE_SIZE_LIMIT: number;
|
|
501
|
-
TOLGEE_API_URL?: string;
|
|
502
|
-
TOLGEE_API_KEY?: string;
|
|
503
|
-
};
|
|
504
|
-
type DistrictDashboardVars = RegionSpecificVars & DistrictCommon;
|
|
505
|
-
type DistrictWebVarsPreset = {
|
|
506
|
-
[HomeRegion.US_MAIN]: {
|
|
507
|
-
[key in Environment]: DistrictDashboardVars;
|
|
508
|
-
};
|
|
509
|
-
[HomeRegion.CA_MAIN]: {
|
|
510
|
-
[key in Environment]: DistrictDashboardVars;
|
|
511
|
-
};
|
|
512
|
-
[HomeRegion.EU_MAIN]: {
|
|
513
|
-
[key in Locale]: {
|
|
514
|
-
[key in Environment]: DistrictDashboardVars;
|
|
515
|
-
};
|
|
516
|
-
};
|
|
517
|
-
};
|
|
518
|
-
|
|
519
387
|
type SSO_UK = {
|
|
520
388
|
GOOGLE_AUTH: string;
|
|
521
389
|
MICROSOFT_AUTH: string;
|
|
@@ -538,6 +406,8 @@ type SSO_SE = {
|
|
|
538
406
|
type SSO_DE = {
|
|
539
407
|
GOOGLE_AUTH: string;
|
|
540
408
|
MICROSOFT_AUTH: string;
|
|
409
|
+
VIDIS_AUTH: string;
|
|
410
|
+
VIDIS_LOGOUT: string;
|
|
541
411
|
};
|
|
542
412
|
type SSO_PL = {
|
|
543
413
|
GOOGLE_AUTH: string;
|
|
@@ -626,6 +496,110 @@ type SSOByLocale = {
|
|
|
626
496
|
[Locale.IQ]: SSO_IQ;
|
|
627
497
|
};
|
|
628
498
|
|
|
499
|
+
declare const SSO_VIDIS_CONFIG: SSOConfig<SSO_DE & {
|
|
500
|
+
AUTH_WEB_URL: string;
|
|
501
|
+
}>;
|
|
502
|
+
type VidisLogoutParams = {
|
|
503
|
+
idToken: string;
|
|
504
|
+
postLogoutRedirectUri: string;
|
|
505
|
+
};
|
|
506
|
+
declare const getVidisLogoutUrl: (envs: Pick<SSO_DE, "VIDIS_LOGOUT">, { idToken, postLogoutRedirectUri }: VidisLogoutParams) => string;
|
|
507
|
+
|
|
508
|
+
type RegionSpecificVars = {
|
|
509
|
+
API_URL: string;
|
|
510
|
+
AUTH_WEB_URL: string;
|
|
511
|
+
CDN_HOST: string;
|
|
512
|
+
CDN_HOST_TRANSLATIONS: string;
|
|
513
|
+
DISTRICT_WEB_URL: string;
|
|
514
|
+
LOGGLY_TAG: string;
|
|
515
|
+
MAGMAMATH_URL: string;
|
|
516
|
+
PARENT_WEB_URL: string;
|
|
517
|
+
SOCKET_URL: string;
|
|
518
|
+
STUDENTS_WEB_URL: string;
|
|
519
|
+
WEBSOCKETS_URL: string;
|
|
520
|
+
TEACHERS_WEB_URL: string;
|
|
521
|
+
};
|
|
522
|
+
|
|
523
|
+
type StudentsWebCommon = {
|
|
524
|
+
CDN_HOST_TRANSLATIONS: string;
|
|
525
|
+
GOOGLE_API_KEY: string;
|
|
526
|
+
DESMOS_API_KEY: string;
|
|
527
|
+
LOGGLY_CUSTOMER_TOKEN: string;
|
|
528
|
+
MYSCRIPT_APPLICATION_KEY: string;
|
|
529
|
+
MYSCRIPT_HMAC_KEY: string;
|
|
530
|
+
MYSCRIPT_HOST: string;
|
|
531
|
+
MYSCRIPT_SOCKET_KEY: string;
|
|
532
|
+
MYSCRIPT_REST_APP_KEY: string;
|
|
533
|
+
MYSCRIPT_REST_HMAC_KEY: string;
|
|
534
|
+
TOLGEE_API_URL?: string;
|
|
535
|
+
TOLGEE_API_KEY?: string;
|
|
536
|
+
};
|
|
537
|
+
type StudentsWebVars = RegionSpecificVars & StudentsWebCommon;
|
|
538
|
+
type StudentsWebVarsPreset = {
|
|
539
|
+
[HomeRegion.US_MAIN]: {
|
|
540
|
+
[key in Environment]: StudentsWebVars;
|
|
541
|
+
};
|
|
542
|
+
[HomeRegion.CA_MAIN]: {
|
|
543
|
+
[key in Environment]: StudentsWebVars;
|
|
544
|
+
};
|
|
545
|
+
[HomeRegion.EU_MAIN]: {
|
|
546
|
+
[key in Locale]: {
|
|
547
|
+
[key in Environment]: StudentsWebVars;
|
|
548
|
+
};
|
|
549
|
+
};
|
|
550
|
+
};
|
|
551
|
+
|
|
552
|
+
type TeachersWebCommon = {
|
|
553
|
+
CDN_HOST_TRANSLATIONS: string;
|
|
554
|
+
MYSCRIPT_HOST: string;
|
|
555
|
+
MYSCRIPT_REST_APP_KEY: string;
|
|
556
|
+
MYSCRIPT_REST_HMAC_KEY: string;
|
|
557
|
+
PROBLEM_IMAGE_SIZE_LIMIT: number;
|
|
558
|
+
INTERCOM_APP_ID: string;
|
|
559
|
+
LOGGLY_CUSTOMER_TOKEN: string;
|
|
560
|
+
TOLGEE_API_URL?: string;
|
|
561
|
+
TOLGEE_API_KEY?: string;
|
|
562
|
+
GOOGLE_TRANSLATE_URL: string;
|
|
563
|
+
GOOGLE_API_KEY: string;
|
|
564
|
+
};
|
|
565
|
+
type TeachersWebVars = RegionSpecificVars & TeachersWebCommon;
|
|
566
|
+
type TeachersWebVarsPreset = {
|
|
567
|
+
[HomeRegion.US_MAIN]: {
|
|
568
|
+
[key in Environment]: TeachersWebVars;
|
|
569
|
+
};
|
|
570
|
+
[HomeRegion.CA_MAIN]: {
|
|
571
|
+
[key in Environment]: TeachersWebVars;
|
|
572
|
+
};
|
|
573
|
+
[HomeRegion.EU_MAIN]: {
|
|
574
|
+
[key in Locale]: {
|
|
575
|
+
[key in Environment]: TeachersWebVars;
|
|
576
|
+
};
|
|
577
|
+
};
|
|
578
|
+
};
|
|
579
|
+
|
|
580
|
+
type DistrictCommon = {
|
|
581
|
+
CDN_HOST_TRANSLATIONS: string;
|
|
582
|
+
INTERCOM_APP_ID: string;
|
|
583
|
+
AMPLITUDE_API_KEY?: string;
|
|
584
|
+
PROBLEM_IMAGE_SIZE_LIMIT: number;
|
|
585
|
+
TOLGEE_API_URL?: string;
|
|
586
|
+
TOLGEE_API_KEY?: string;
|
|
587
|
+
};
|
|
588
|
+
type DistrictDashboardVars = RegionSpecificVars & DistrictCommon;
|
|
589
|
+
type DistrictWebVarsPreset = {
|
|
590
|
+
[HomeRegion.US_MAIN]: {
|
|
591
|
+
[key in Environment]: DistrictDashboardVars;
|
|
592
|
+
};
|
|
593
|
+
[HomeRegion.CA_MAIN]: {
|
|
594
|
+
[key in Environment]: DistrictDashboardVars;
|
|
595
|
+
};
|
|
596
|
+
[HomeRegion.EU_MAIN]: {
|
|
597
|
+
[key in Locale]: {
|
|
598
|
+
[key in Environment]: DistrictDashboardVars;
|
|
599
|
+
};
|
|
600
|
+
};
|
|
601
|
+
};
|
|
602
|
+
|
|
629
603
|
type Prettify<T> = T extends Function ? T : {
|
|
630
604
|
[K in keyof T]: T[K];
|
|
631
605
|
};
|
|
@@ -1163,7 +1137,6 @@ type SetProps<L extends Locale> = {
|
|
|
1163
1137
|
envsRegion?: L;
|
|
1164
1138
|
environment?: Environment;
|
|
1165
1139
|
homeRegion?: HomeRegion;
|
|
1166
|
-
regionId?: string;
|
|
1167
1140
|
};
|
|
1168
1141
|
declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
1169
1142
|
private readonly _DEV_OVERRIDES_?;
|
|
@@ -1172,7 +1145,6 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
1172
1145
|
locale: L;
|
|
1173
1146
|
envsRegion: L;
|
|
1174
1147
|
homeRegion: HomeRegion;
|
|
1175
|
-
regionId?: string;
|
|
1176
1148
|
private readonly setEnvs;
|
|
1177
1149
|
private readonly setLocaleConfig;
|
|
1178
1150
|
readonly $envs: effector.StoreWritable<EnvironmentVars<P>>;
|
|
@@ -1188,7 +1160,6 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
1188
1160
|
}>;
|
|
1189
1161
|
constructor(opts: ConfigOptions<P>);
|
|
1190
1162
|
private readonly resolveEnvs;
|
|
1191
|
-
private readonly resolveLocaleConfig;
|
|
1192
1163
|
private readonly syncConfigsStores;
|
|
1193
1164
|
readonly set: (props: SetProps<L>) => void;
|
|
1194
1165
|
getEnvs: () => EnvironmentVars<P>;
|
|
@@ -1212,4 +1183,4 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
1212
1183
|
};
|
|
1213
1184
|
}
|
|
1214
1185
|
|
|
1215
|
-
export { AT_CALENDAR_CONFIG, AppConfigManager, type AuthWebBaseVars, type AuthWebEuLocalePreset, type AuthWebVars, type AuthWebVarsPreset, CH_CALENDAR_CONFIG, CalculatorType, type CalendarConfig, CalendarLocale, type CommonGrades, DE_CALENDAR_CONFIG, DK_CALENDAR_CONFIG, DateFormat, DateLocale, type DistrictCommon, type DistrictDashboardVars, type DistrictLocaleConfig, type DistrictWebVarsPreset, DrawBoardSectionName, DrawboardCoinVariant, EN_CALENDAR_CONFIG, ES_CALENDAR_CONFIG, type EnvPreset, Environment, type EnvironmentVars, FI_CALENDAR_CONFIG, FR_CALENDAR_CONFIG, Grade, type GradeData, HIGH_SCHOOL_STRING_GRADES, type HighSchoolGrades, HomeRegion, IQ_CALENDAR_CONFIG, IS_CALENDAR_CONFIG, IT_CALENDAR_CONFIG, type KeyboardConfig, KeyboardCurrencyVariant, KeyboardPreset, KeyboardTimeVariant, LANGUAGES_CONFIG, LANGUAGES_LIST, Language, type LanguageConfig, Locale, type LocaleLanguageData, LoginSource, MOST_USED_LANGUAGES, type ManipulativeOverride, MatrixMode, type MobileBaseVars, type MobileCommon, type MobileEuLocalePreset, type MobileLocaleConfig, type MobileVars, type MobileVarsPreset, MomentDateLocale, type MultiplicationConfig, type MultiplicationGradeRule, MultiplicationSymbol, NL_BE_CALENDAR_CONFIG, NL_CALENDAR_CONFIG, NO_CALENDAR_CONFIG, NumberDecimalSeparator, NumberGroupingSeparator, type NumericGrade, PL_CALENDAR_CONFIG, PRIORITY_LANGUAGES, PT_CALENDAR_CONFIG, type ParentWebLocaleConfig, type ParentWebVars, type ParentWebVarsPreset, Platform, PlatformBuildTarget, type PrimaryGrades, type ProblemCreatorConfig, ProblemCreatorDescriptionVariant, type ProblemCreatorKeyboardConfig, ProblemCreatorKeyboardPreset, ProblemCreatorMathEntryVariant, QRCodeSize, SE_CALENDAR_CONFIG, SSO, type SSOByLocale, type SSOConfig, type SSOVariant, type SSO_AT, type SSO_CH, type SSO_DE, type SSO_DK, type SSO_ES, type SSO_FI, type SSO_FR, type SSO_IE, type SSO_IQ, type SSO_IS, type SSO_IT, type SSO_NL, type SSO_NL_BE, type SSO_NO, type SSO_PL, type SSO_PT, type SSO_SE, type SSO_SV_FI, type SSO_UK, type SSO_US, SV_FI_CALENDAR_CONFIG, type StudentsLocaleConfig, type StudentsWebCommon, type StudentsWebVars, type StudentsWebVarsPreset, TTSOverrideSymbol, type TeachersLocaleConfig, type TeachersWebCommon, type TeachersWebVars, type TeachersWebVarsPreset, TreeLevel, buildTargetToEnvironment, getMultiplicationSymbol, isHighSchoolStringGrade };
|
|
1186
|
+
export { AT_CALENDAR_CONFIG, AppConfigManager, type AuthWebBaseVars, type AuthWebEuLocalePreset, type AuthWebVars, type AuthWebVarsPreset, CH_CALENDAR_CONFIG, CalculatorType, type CalendarConfig, CalendarLocale, type CommonGrades, DE_CALENDAR_CONFIG, DK_CALENDAR_CONFIG, DateFormat, DateLocale, type DistrictCommon, type DistrictDashboardVars, type DistrictLocaleConfig, type DistrictWebVarsPreset, DrawBoardSectionName, DrawboardCoinVariant, EN_CALENDAR_CONFIG, ES_CALENDAR_CONFIG, type EnvPreset, Environment, type EnvironmentVars, FI_CALENDAR_CONFIG, FR_CALENDAR_CONFIG, Grade, type GradeData, HIGH_SCHOOL_STRING_GRADES, type HighSchoolGrades, HomeRegion, IQ_CALENDAR_CONFIG, IS_CALENDAR_CONFIG, IT_CALENDAR_CONFIG, type KeyboardConfig, KeyboardCurrencyVariant, KeyboardPreset, KeyboardTimeVariant, LANGUAGES_CONFIG, LANGUAGES_LIST, Language, type LanguageConfig, Locale, type LocaleLanguageData, LoginSource, MOST_USED_LANGUAGES, type ManipulativeOverride, MatrixMode, type MobileBaseVars, type MobileCommon, type MobileEuLocalePreset, type MobileLocaleConfig, type MobileVars, type MobileVarsPreset, MomentDateLocale, type MultiplicationConfig, type MultiplicationGradeRule, MultiplicationSymbol, NL_BE_CALENDAR_CONFIG, NL_CALENDAR_CONFIG, NO_CALENDAR_CONFIG, NumberDecimalSeparator, NumberGroupingSeparator, type NumericGrade, PL_CALENDAR_CONFIG, PRIORITY_LANGUAGES, PT_CALENDAR_CONFIG, type ParentWebLocaleConfig, type ParentWebVars, type ParentWebVarsPreset, Platform, PlatformBuildTarget, type PrimaryGrades, type ProblemCreatorConfig, ProblemCreatorDescriptionVariant, type ProblemCreatorKeyboardConfig, ProblemCreatorKeyboardPreset, ProblemCreatorMathEntryVariant, QRCodeSize, SE_CALENDAR_CONFIG, SSO, type SSOByLocale, type SSOConfig, type SSOVariant, type SSO_AT, type SSO_CH, type SSO_DE, type SSO_DK, type SSO_ES, type SSO_FI, type SSO_FR, type SSO_IE, type SSO_IQ, type SSO_IS, type SSO_IT, type SSO_NL, type SSO_NL_BE, type SSO_NO, type SSO_PL, type SSO_PT, type SSO_SE, type SSO_SV_FI, type SSO_UK, type SSO_US, SSO_VIDIS_CONFIG, SV_FI_CALENDAR_CONFIG, type StudentsLocaleConfig, type StudentsWebCommon, type StudentsWebVars, type StudentsWebVarsPreset, TTSOverrideSymbol, type TeachersLocaleConfig, type TeachersWebCommon, type TeachersWebVars, type TeachersWebVarsPreset, TreeLevel, buildTargetToEnvironment, getMultiplicationSymbol, getVidisLogoutUrl, isHighSchoolStringGrade };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as SSO, L as LoginSource,
|
|
2
|
-
export { c as Source } from './common.constants-
|
|
1
|
+
import { S as SSO, L as LoginSource, a as Locale, H as HomeRegion, E as Environment, P as Platform, b as PlatformBuildTarget, Q as QRCodeSize } from './common.constants-CKKc_B4a.js';
|
|
2
|
+
export { c as Source } from './common.constants-CKKc_B4a.js';
|
|
3
3
|
import { ComponentType } from 'react';
|
|
4
4
|
import * as effector from 'effector';
|
|
5
5
|
|
|
@@ -123,43 +123,6 @@ declare enum Grade {
|
|
|
123
123
|
INTEGRATED_MATH_II = 25,
|
|
124
124
|
INTEGRATED_MATH_III = 26,
|
|
125
125
|
PRECALCULUS = 27,
|
|
126
|
-
MATEMATIK_NIVA_1A = 50,
|
|
127
|
-
MATEMATIK_NIVA_1B = 51,
|
|
128
|
-
MATEMATIK_NIVA_1C = 52,
|
|
129
|
-
MATEMATIK_NIVA_2A = 53,
|
|
130
|
-
MATEMATIK_NIVA_2B = 54,
|
|
131
|
-
MATEMATIK_NIVA_2C = 55,
|
|
132
|
-
MATEMATIK_FORTSATTNING_NIVA_1B = 56,
|
|
133
|
-
MATEMATIK_FORTSATTNING_NIVA_1C = 57,
|
|
134
|
-
MATEMATIK_FORTSATTNING_NIVA_2 = 58,
|
|
135
|
-
MATEMATIK_FORDJUPNING_NIVA_1 = 59,
|
|
136
|
-
ALGEBRA_3 = 60,
|
|
137
|
-
QUANTITATIVE_REASONING = 61,
|
|
138
|
-
ADVANCED_TOPICS_AND_MODELING = 62,
|
|
139
|
-
STATISTICS = 63,
|
|
140
|
-
CALCULUS = 64,
|
|
141
|
-
ADVANCED_QUANTITATIVE_REASONING = 70,
|
|
142
|
-
ALGEBRAIC_REASONING = 71,
|
|
143
|
-
MATHEMATICAL_MODELS_WITH_APPLICATIONS = 72,
|
|
144
|
-
TRIGONOMETRY = 81,
|
|
145
|
-
PROBABILITY_AND_STATISTICS = 82,
|
|
146
|
-
DISCRETE_MATHEMATICS = 83,
|
|
147
|
-
PRINCIPLES_OF_MATHEMATICS = 90,
|
|
148
|
-
FOUNDATIONS_OF_MATHEMATICS = 91,
|
|
149
|
-
FUNCTIONS = 92,
|
|
150
|
-
FUNCTIONS_AND_APPLICATIONS = 93,
|
|
151
|
-
FOUNDATIONS_FOR_COLLEGE_MATHEMATICS = 94,
|
|
152
|
-
MATHEMATICS_FOR_WORK_AND_EVERYDAY_LIFE = 95,
|
|
153
|
-
ADVANCED_FUNCTIONS = 96,
|
|
154
|
-
CALCULUS_AND_VECTORS = 97,
|
|
155
|
-
MATHEMATICS_OF_DATA_MANAGEMENT = 98,
|
|
156
|
-
MATHEMATICS_FOR_COLLEGE_TECHNOLOGY = 99,
|
|
157
|
-
MATH_FOR_DATA_AND_FINANCIAL_LITERACY = 100,
|
|
158
|
-
MATH_FOR_COLLEGE_ALGEBRA = 101,
|
|
159
|
-
MATH_FOR_COLLEGE_LIBERAL_ARTS = 102,
|
|
160
|
-
MATH_FOR_COLLEGE_STATISTICS = 103,
|
|
161
|
-
MATHEMATICAL_MODELING = 110,
|
|
162
|
-
APPLICATIONS_OF_FINITE_MATHEMATICS = 111,
|
|
163
126
|
HS = "HS",
|
|
164
127
|
HSG = "HSG",
|
|
165
128
|
HSA = "HSA",
|
|
@@ -404,7 +367,7 @@ type GradeData = {
|
|
|
404
367
|
};
|
|
405
368
|
type CommonGrades = Grade.OTHER | Grade.ZERO | Grade.K;
|
|
406
369
|
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;
|
|
407
|
-
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.
|
|
370
|
+
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;
|
|
408
371
|
|
|
409
372
|
type IconProps = {
|
|
410
373
|
size?: number;
|
|
@@ -421,101 +384,6 @@ type SSOConfig<E> = Readonly<{
|
|
|
421
384
|
getUrl: (envs: E) => string;
|
|
422
385
|
}>;
|
|
423
386
|
|
|
424
|
-
type RegionSpecificVars = {
|
|
425
|
-
API_URL: string;
|
|
426
|
-
AUTH_WEB_URL: string;
|
|
427
|
-
CDN_HOST: string;
|
|
428
|
-
CDN_HOST_TRANSLATIONS: string;
|
|
429
|
-
DISTRICT_WEB_URL: string;
|
|
430
|
-
LOGGLY_TAG: string;
|
|
431
|
-
MAGMAMATH_URL: string;
|
|
432
|
-
PARENT_WEB_URL: string;
|
|
433
|
-
SOCKET_URL: string;
|
|
434
|
-
STUDENTS_WEB_URL: string;
|
|
435
|
-
WEBSOCKETS_URL: string;
|
|
436
|
-
TEACHERS_WEB_URL: string;
|
|
437
|
-
};
|
|
438
|
-
|
|
439
|
-
type StudentsWebCommon = {
|
|
440
|
-
CDN_HOST_TRANSLATIONS: string;
|
|
441
|
-
GOOGLE_API_KEY: string;
|
|
442
|
-
DESMOS_API_KEY: string;
|
|
443
|
-
LOGGLY_CUSTOMER_TOKEN: string;
|
|
444
|
-
MYSCRIPT_APPLICATION_KEY: string;
|
|
445
|
-
MYSCRIPT_HMAC_KEY: string;
|
|
446
|
-
MYSCRIPT_HOST: string;
|
|
447
|
-
MYSCRIPT_SOCKET_KEY: string;
|
|
448
|
-
MYSCRIPT_REST_APP_KEY: string;
|
|
449
|
-
MYSCRIPT_REST_HMAC_KEY: string;
|
|
450
|
-
TOLGEE_API_URL?: string;
|
|
451
|
-
TOLGEE_API_KEY?: string;
|
|
452
|
-
};
|
|
453
|
-
type StudentsWebVars = RegionSpecificVars & StudentsWebCommon;
|
|
454
|
-
type StudentsWebVarsPreset = {
|
|
455
|
-
[HomeRegion.US_MAIN]: {
|
|
456
|
-
[key in Environment]: StudentsWebVars;
|
|
457
|
-
};
|
|
458
|
-
[HomeRegion.CA_MAIN]: {
|
|
459
|
-
[key in Environment]: StudentsWebVars;
|
|
460
|
-
};
|
|
461
|
-
[HomeRegion.EU_MAIN]: {
|
|
462
|
-
[key in Locale]: {
|
|
463
|
-
[key in Environment]: StudentsWebVars;
|
|
464
|
-
};
|
|
465
|
-
};
|
|
466
|
-
};
|
|
467
|
-
|
|
468
|
-
type TeachersWebCommon = {
|
|
469
|
-
CDN_HOST_TRANSLATIONS: string;
|
|
470
|
-
MYSCRIPT_HOST: string;
|
|
471
|
-
MYSCRIPT_REST_APP_KEY: string;
|
|
472
|
-
MYSCRIPT_REST_HMAC_KEY: string;
|
|
473
|
-
PROBLEM_IMAGE_SIZE_LIMIT: number;
|
|
474
|
-
INTERCOM_APP_ID: string;
|
|
475
|
-
LOGGLY_CUSTOMER_TOKEN: string;
|
|
476
|
-
TOLGEE_API_URL?: string;
|
|
477
|
-
TOLGEE_API_KEY?: string;
|
|
478
|
-
GOOGLE_TRANSLATE_URL: string;
|
|
479
|
-
GOOGLE_API_KEY: string;
|
|
480
|
-
};
|
|
481
|
-
type TeachersWebVars = RegionSpecificVars & TeachersWebCommon;
|
|
482
|
-
type TeachersWebVarsPreset = {
|
|
483
|
-
[HomeRegion.US_MAIN]: {
|
|
484
|
-
[key in Environment]: TeachersWebVars;
|
|
485
|
-
};
|
|
486
|
-
[HomeRegion.CA_MAIN]: {
|
|
487
|
-
[key in Environment]: TeachersWebVars;
|
|
488
|
-
};
|
|
489
|
-
[HomeRegion.EU_MAIN]: {
|
|
490
|
-
[key in Locale]: {
|
|
491
|
-
[key in Environment]: TeachersWebVars;
|
|
492
|
-
};
|
|
493
|
-
};
|
|
494
|
-
};
|
|
495
|
-
|
|
496
|
-
type DistrictCommon = {
|
|
497
|
-
CDN_HOST_TRANSLATIONS: string;
|
|
498
|
-
INTERCOM_APP_ID: string;
|
|
499
|
-
AMPLITUDE_API_KEY?: string;
|
|
500
|
-
PROBLEM_IMAGE_SIZE_LIMIT: number;
|
|
501
|
-
TOLGEE_API_URL?: string;
|
|
502
|
-
TOLGEE_API_KEY?: string;
|
|
503
|
-
};
|
|
504
|
-
type DistrictDashboardVars = RegionSpecificVars & DistrictCommon;
|
|
505
|
-
type DistrictWebVarsPreset = {
|
|
506
|
-
[HomeRegion.US_MAIN]: {
|
|
507
|
-
[key in Environment]: DistrictDashboardVars;
|
|
508
|
-
};
|
|
509
|
-
[HomeRegion.CA_MAIN]: {
|
|
510
|
-
[key in Environment]: DistrictDashboardVars;
|
|
511
|
-
};
|
|
512
|
-
[HomeRegion.EU_MAIN]: {
|
|
513
|
-
[key in Locale]: {
|
|
514
|
-
[key in Environment]: DistrictDashboardVars;
|
|
515
|
-
};
|
|
516
|
-
};
|
|
517
|
-
};
|
|
518
|
-
|
|
519
387
|
type SSO_UK = {
|
|
520
388
|
GOOGLE_AUTH: string;
|
|
521
389
|
MICROSOFT_AUTH: string;
|
|
@@ -538,6 +406,8 @@ type SSO_SE = {
|
|
|
538
406
|
type SSO_DE = {
|
|
539
407
|
GOOGLE_AUTH: string;
|
|
540
408
|
MICROSOFT_AUTH: string;
|
|
409
|
+
VIDIS_AUTH: string;
|
|
410
|
+
VIDIS_LOGOUT: string;
|
|
541
411
|
};
|
|
542
412
|
type SSO_PL = {
|
|
543
413
|
GOOGLE_AUTH: string;
|
|
@@ -626,6 +496,110 @@ type SSOByLocale = {
|
|
|
626
496
|
[Locale.IQ]: SSO_IQ;
|
|
627
497
|
};
|
|
628
498
|
|
|
499
|
+
declare const SSO_VIDIS_CONFIG: SSOConfig<SSO_DE & {
|
|
500
|
+
AUTH_WEB_URL: string;
|
|
501
|
+
}>;
|
|
502
|
+
type VidisLogoutParams = {
|
|
503
|
+
idToken: string;
|
|
504
|
+
postLogoutRedirectUri: string;
|
|
505
|
+
};
|
|
506
|
+
declare const getVidisLogoutUrl: (envs: Pick<SSO_DE, "VIDIS_LOGOUT">, { idToken, postLogoutRedirectUri }: VidisLogoutParams) => string;
|
|
507
|
+
|
|
508
|
+
type RegionSpecificVars = {
|
|
509
|
+
API_URL: string;
|
|
510
|
+
AUTH_WEB_URL: string;
|
|
511
|
+
CDN_HOST: string;
|
|
512
|
+
CDN_HOST_TRANSLATIONS: string;
|
|
513
|
+
DISTRICT_WEB_URL: string;
|
|
514
|
+
LOGGLY_TAG: string;
|
|
515
|
+
MAGMAMATH_URL: string;
|
|
516
|
+
PARENT_WEB_URL: string;
|
|
517
|
+
SOCKET_URL: string;
|
|
518
|
+
STUDENTS_WEB_URL: string;
|
|
519
|
+
WEBSOCKETS_URL: string;
|
|
520
|
+
TEACHERS_WEB_URL: string;
|
|
521
|
+
};
|
|
522
|
+
|
|
523
|
+
type StudentsWebCommon = {
|
|
524
|
+
CDN_HOST_TRANSLATIONS: string;
|
|
525
|
+
GOOGLE_API_KEY: string;
|
|
526
|
+
DESMOS_API_KEY: string;
|
|
527
|
+
LOGGLY_CUSTOMER_TOKEN: string;
|
|
528
|
+
MYSCRIPT_APPLICATION_KEY: string;
|
|
529
|
+
MYSCRIPT_HMAC_KEY: string;
|
|
530
|
+
MYSCRIPT_HOST: string;
|
|
531
|
+
MYSCRIPT_SOCKET_KEY: string;
|
|
532
|
+
MYSCRIPT_REST_APP_KEY: string;
|
|
533
|
+
MYSCRIPT_REST_HMAC_KEY: string;
|
|
534
|
+
TOLGEE_API_URL?: string;
|
|
535
|
+
TOLGEE_API_KEY?: string;
|
|
536
|
+
};
|
|
537
|
+
type StudentsWebVars = RegionSpecificVars & StudentsWebCommon;
|
|
538
|
+
type StudentsWebVarsPreset = {
|
|
539
|
+
[HomeRegion.US_MAIN]: {
|
|
540
|
+
[key in Environment]: StudentsWebVars;
|
|
541
|
+
};
|
|
542
|
+
[HomeRegion.CA_MAIN]: {
|
|
543
|
+
[key in Environment]: StudentsWebVars;
|
|
544
|
+
};
|
|
545
|
+
[HomeRegion.EU_MAIN]: {
|
|
546
|
+
[key in Locale]: {
|
|
547
|
+
[key in Environment]: StudentsWebVars;
|
|
548
|
+
};
|
|
549
|
+
};
|
|
550
|
+
};
|
|
551
|
+
|
|
552
|
+
type TeachersWebCommon = {
|
|
553
|
+
CDN_HOST_TRANSLATIONS: string;
|
|
554
|
+
MYSCRIPT_HOST: string;
|
|
555
|
+
MYSCRIPT_REST_APP_KEY: string;
|
|
556
|
+
MYSCRIPT_REST_HMAC_KEY: string;
|
|
557
|
+
PROBLEM_IMAGE_SIZE_LIMIT: number;
|
|
558
|
+
INTERCOM_APP_ID: string;
|
|
559
|
+
LOGGLY_CUSTOMER_TOKEN: string;
|
|
560
|
+
TOLGEE_API_URL?: string;
|
|
561
|
+
TOLGEE_API_KEY?: string;
|
|
562
|
+
GOOGLE_TRANSLATE_URL: string;
|
|
563
|
+
GOOGLE_API_KEY: string;
|
|
564
|
+
};
|
|
565
|
+
type TeachersWebVars = RegionSpecificVars & TeachersWebCommon;
|
|
566
|
+
type TeachersWebVarsPreset = {
|
|
567
|
+
[HomeRegion.US_MAIN]: {
|
|
568
|
+
[key in Environment]: TeachersWebVars;
|
|
569
|
+
};
|
|
570
|
+
[HomeRegion.CA_MAIN]: {
|
|
571
|
+
[key in Environment]: TeachersWebVars;
|
|
572
|
+
};
|
|
573
|
+
[HomeRegion.EU_MAIN]: {
|
|
574
|
+
[key in Locale]: {
|
|
575
|
+
[key in Environment]: TeachersWebVars;
|
|
576
|
+
};
|
|
577
|
+
};
|
|
578
|
+
};
|
|
579
|
+
|
|
580
|
+
type DistrictCommon = {
|
|
581
|
+
CDN_HOST_TRANSLATIONS: string;
|
|
582
|
+
INTERCOM_APP_ID: string;
|
|
583
|
+
AMPLITUDE_API_KEY?: string;
|
|
584
|
+
PROBLEM_IMAGE_SIZE_LIMIT: number;
|
|
585
|
+
TOLGEE_API_URL?: string;
|
|
586
|
+
TOLGEE_API_KEY?: string;
|
|
587
|
+
};
|
|
588
|
+
type DistrictDashboardVars = RegionSpecificVars & DistrictCommon;
|
|
589
|
+
type DistrictWebVarsPreset = {
|
|
590
|
+
[HomeRegion.US_MAIN]: {
|
|
591
|
+
[key in Environment]: DistrictDashboardVars;
|
|
592
|
+
};
|
|
593
|
+
[HomeRegion.CA_MAIN]: {
|
|
594
|
+
[key in Environment]: DistrictDashboardVars;
|
|
595
|
+
};
|
|
596
|
+
[HomeRegion.EU_MAIN]: {
|
|
597
|
+
[key in Locale]: {
|
|
598
|
+
[key in Environment]: DistrictDashboardVars;
|
|
599
|
+
};
|
|
600
|
+
};
|
|
601
|
+
};
|
|
602
|
+
|
|
629
603
|
type Prettify<T> = T extends Function ? T : {
|
|
630
604
|
[K in keyof T]: T[K];
|
|
631
605
|
};
|
|
@@ -1163,7 +1137,6 @@ type SetProps<L extends Locale> = {
|
|
|
1163
1137
|
envsRegion?: L;
|
|
1164
1138
|
environment?: Environment;
|
|
1165
1139
|
homeRegion?: HomeRegion;
|
|
1166
|
-
regionId?: string;
|
|
1167
1140
|
};
|
|
1168
1141
|
declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
1169
1142
|
private readonly _DEV_OVERRIDES_?;
|
|
@@ -1172,7 +1145,6 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
1172
1145
|
locale: L;
|
|
1173
1146
|
envsRegion: L;
|
|
1174
1147
|
homeRegion: HomeRegion;
|
|
1175
|
-
regionId?: string;
|
|
1176
1148
|
private readonly setEnvs;
|
|
1177
1149
|
private readonly setLocaleConfig;
|
|
1178
1150
|
readonly $envs: effector.StoreWritable<EnvironmentVars<P>>;
|
|
@@ -1188,7 +1160,6 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
1188
1160
|
}>;
|
|
1189
1161
|
constructor(opts: ConfigOptions<P>);
|
|
1190
1162
|
private readonly resolveEnvs;
|
|
1191
|
-
private readonly resolveLocaleConfig;
|
|
1192
1163
|
private readonly syncConfigsStores;
|
|
1193
1164
|
readonly set: (props: SetProps<L>) => void;
|
|
1194
1165
|
getEnvs: () => EnvironmentVars<P>;
|
|
@@ -1212,4 +1183,4 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
1212
1183
|
};
|
|
1213
1184
|
}
|
|
1214
1185
|
|
|
1215
|
-
export { AT_CALENDAR_CONFIG, AppConfigManager, type AuthWebBaseVars, type AuthWebEuLocalePreset, type AuthWebVars, type AuthWebVarsPreset, CH_CALENDAR_CONFIG, CalculatorType, type CalendarConfig, CalendarLocale, type CommonGrades, DE_CALENDAR_CONFIG, DK_CALENDAR_CONFIG, DateFormat, DateLocale, type DistrictCommon, type DistrictDashboardVars, type DistrictLocaleConfig, type DistrictWebVarsPreset, DrawBoardSectionName, DrawboardCoinVariant, EN_CALENDAR_CONFIG, ES_CALENDAR_CONFIG, type EnvPreset, Environment, type EnvironmentVars, FI_CALENDAR_CONFIG, FR_CALENDAR_CONFIG, Grade, type GradeData, HIGH_SCHOOL_STRING_GRADES, type HighSchoolGrades, HomeRegion, IQ_CALENDAR_CONFIG, IS_CALENDAR_CONFIG, IT_CALENDAR_CONFIG, type KeyboardConfig, KeyboardCurrencyVariant, KeyboardPreset, KeyboardTimeVariant, LANGUAGES_CONFIG, LANGUAGES_LIST, Language, type LanguageConfig, Locale, type LocaleLanguageData, LoginSource, MOST_USED_LANGUAGES, type ManipulativeOverride, MatrixMode, type MobileBaseVars, type MobileCommon, type MobileEuLocalePreset, type MobileLocaleConfig, type MobileVars, type MobileVarsPreset, MomentDateLocale, type MultiplicationConfig, type MultiplicationGradeRule, MultiplicationSymbol, NL_BE_CALENDAR_CONFIG, NL_CALENDAR_CONFIG, NO_CALENDAR_CONFIG, NumberDecimalSeparator, NumberGroupingSeparator, type NumericGrade, PL_CALENDAR_CONFIG, PRIORITY_LANGUAGES, PT_CALENDAR_CONFIG, type ParentWebLocaleConfig, type ParentWebVars, type ParentWebVarsPreset, Platform, PlatformBuildTarget, type PrimaryGrades, type ProblemCreatorConfig, ProblemCreatorDescriptionVariant, type ProblemCreatorKeyboardConfig, ProblemCreatorKeyboardPreset, ProblemCreatorMathEntryVariant, QRCodeSize, SE_CALENDAR_CONFIG, SSO, type SSOByLocale, type SSOConfig, type SSOVariant, type SSO_AT, type SSO_CH, type SSO_DE, type SSO_DK, type SSO_ES, type SSO_FI, type SSO_FR, type SSO_IE, type SSO_IQ, type SSO_IS, type SSO_IT, type SSO_NL, type SSO_NL_BE, type SSO_NO, type SSO_PL, type SSO_PT, type SSO_SE, type SSO_SV_FI, type SSO_UK, type SSO_US, SV_FI_CALENDAR_CONFIG, type StudentsLocaleConfig, type StudentsWebCommon, type StudentsWebVars, type StudentsWebVarsPreset, TTSOverrideSymbol, type TeachersLocaleConfig, type TeachersWebCommon, type TeachersWebVars, type TeachersWebVarsPreset, TreeLevel, buildTargetToEnvironment, getMultiplicationSymbol, isHighSchoolStringGrade };
|
|
1186
|
+
export { AT_CALENDAR_CONFIG, AppConfigManager, type AuthWebBaseVars, type AuthWebEuLocalePreset, type AuthWebVars, type AuthWebVarsPreset, CH_CALENDAR_CONFIG, CalculatorType, type CalendarConfig, CalendarLocale, type CommonGrades, DE_CALENDAR_CONFIG, DK_CALENDAR_CONFIG, DateFormat, DateLocale, type DistrictCommon, type DistrictDashboardVars, type DistrictLocaleConfig, type DistrictWebVarsPreset, DrawBoardSectionName, DrawboardCoinVariant, EN_CALENDAR_CONFIG, ES_CALENDAR_CONFIG, type EnvPreset, Environment, type EnvironmentVars, FI_CALENDAR_CONFIG, FR_CALENDAR_CONFIG, Grade, type GradeData, HIGH_SCHOOL_STRING_GRADES, type HighSchoolGrades, HomeRegion, IQ_CALENDAR_CONFIG, IS_CALENDAR_CONFIG, IT_CALENDAR_CONFIG, type KeyboardConfig, KeyboardCurrencyVariant, KeyboardPreset, KeyboardTimeVariant, LANGUAGES_CONFIG, LANGUAGES_LIST, Language, type LanguageConfig, Locale, type LocaleLanguageData, LoginSource, MOST_USED_LANGUAGES, type ManipulativeOverride, MatrixMode, type MobileBaseVars, type MobileCommon, type MobileEuLocalePreset, type MobileLocaleConfig, type MobileVars, type MobileVarsPreset, MomentDateLocale, type MultiplicationConfig, type MultiplicationGradeRule, MultiplicationSymbol, NL_BE_CALENDAR_CONFIG, NL_CALENDAR_CONFIG, NO_CALENDAR_CONFIG, NumberDecimalSeparator, NumberGroupingSeparator, type NumericGrade, PL_CALENDAR_CONFIG, PRIORITY_LANGUAGES, PT_CALENDAR_CONFIG, type ParentWebLocaleConfig, type ParentWebVars, type ParentWebVarsPreset, Platform, PlatformBuildTarget, type PrimaryGrades, type ProblemCreatorConfig, ProblemCreatorDescriptionVariant, type ProblemCreatorKeyboardConfig, ProblemCreatorKeyboardPreset, ProblemCreatorMathEntryVariant, QRCodeSize, SE_CALENDAR_CONFIG, SSO, type SSOByLocale, type SSOConfig, type SSOVariant, type SSO_AT, type SSO_CH, type SSO_DE, type SSO_DK, type SSO_ES, type SSO_FI, type SSO_FR, type SSO_IE, type SSO_IQ, type SSO_IS, type SSO_IT, type SSO_NL, type SSO_NL_BE, type SSO_NO, type SSO_PL, type SSO_PT, type SSO_SE, type SSO_SV_FI, type SSO_UK, type SSO_US, SSO_VIDIS_CONFIG, SV_FI_CALENDAR_CONFIG, type StudentsLocaleConfig, type StudentsWebCommon, type StudentsWebVars, type StudentsWebVarsPreset, TTSOverrideSymbol, type TeachersLocaleConfig, type TeachersWebCommon, type TeachersWebVars, type TeachersWebVarsPreset, TreeLevel, buildTargetToEnvironment, getMultiplicationSymbol, getVidisLogoutUrl, isHighSchoolStringGrade };
|