@magmamath/frontend-config 1.3.2-rc.0 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{common.constants-ClvjFWRr.d.mts → common.constants-Dy4DFaEM.d.mts} +2 -1
- package/dist/{common.constants-ClvjFWRr.d.ts → common.constants-Dy4DFaEM.d.ts} +2 -1
- package/dist/index.d.mts +21 -3
- package/dist/index.d.ts +21 -3
- package/dist/index.js +213 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +213 -7
- package/dist/index.mjs.map +1 -1
- package/dist/translation/index.d.mts +6 -2
- package/dist/translation/index.d.ts +6 -2
- package/dist/translation/index.js +7 -2
- package/dist/translation/index.js.map +1 -1
- package/dist/translation/index.mjs +7 -2
- package/dist/translation/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as SSO, L as LoginSource, a as Locale, E as Environment, P as Platform, b as PlatformBuildTarget, Q as QRCodeSize, A as ApiRegion } from './common.constants-
|
|
2
|
-
export { c as Source } from './common.constants-
|
|
1
|
+
import { S as SSO, L as LoginSource, a as Locale, E as Environment, P as Platform, b as PlatformBuildTarget, Q as QRCodeSize, A as ApiRegion } from './common.constants-Dy4DFaEM.mjs';
|
|
2
|
+
export { c as Source } from './common.constants-Dy4DFaEM.mjs';
|
|
3
3
|
import { ComponentType } from 'react';
|
|
4
4
|
import * as effector from 'effector';
|
|
5
5
|
|
|
@@ -305,6 +305,7 @@ type RegionSpecificVars = {
|
|
|
305
305
|
DISTRICT_WEB_URL: string;
|
|
306
306
|
LOGGLY_TAG: string;
|
|
307
307
|
MAGMAMATH_URL: string;
|
|
308
|
+
PARENT_WEB_URL: string;
|
|
308
309
|
SOCKET_URL: string;
|
|
309
310
|
STUDENTS_WEB_URL: string;
|
|
310
311
|
TEACHERS_WEB_URL: string;
|
|
@@ -499,6 +500,17 @@ type WebAdminVarsPreset = {
|
|
|
499
500
|
};
|
|
500
501
|
};
|
|
501
502
|
|
|
503
|
+
type ParentWebVars = {
|
|
504
|
+
API_URL: string;
|
|
505
|
+
CDN_HOST: string;
|
|
506
|
+
AUTH_WEB_URL: string;
|
|
507
|
+
};
|
|
508
|
+
type ParentWebVarsPreset = {
|
|
509
|
+
[key in Locale]: {
|
|
510
|
+
[key in Environment]: ParentWebVars;
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
|
|
502
514
|
type EnvPreset = Readonly<{
|
|
503
515
|
[Platform.STUDENTS_WEB]: StudentsWebVarsPreset;
|
|
504
516
|
[Platform.TEACHERS_WEB]: TeachersWebVarsPreset;
|
|
@@ -506,6 +518,7 @@ type EnvPreset = Readonly<{
|
|
|
506
518
|
[Platform.AUTH_WEB]: AuthWebVarsPreset;
|
|
507
519
|
[Platform.WEB_ADMIN]: WebAdminVarsPreset;
|
|
508
520
|
[Platform.MOBILE]: MobileVarsPreset;
|
|
521
|
+
[Platform.PARENT_WEB]: ParentWebVarsPreset;
|
|
509
522
|
}>;
|
|
510
523
|
type EnvironmentVars<P extends Platform> = EnvPreset[P][Locale][Environment];
|
|
511
524
|
|
|
@@ -688,6 +701,8 @@ type MobileLocaleConfig<E> = StudentsLocaleConfig & TeachersLocaleConfig & AuthL
|
|
|
688
701
|
calendar: CalendarConfig;
|
|
689
702
|
};
|
|
690
703
|
|
|
704
|
+
type ParentWebLocaleConfig = CommonLocaleConfig;
|
|
705
|
+
|
|
691
706
|
declare enum MultiplicationSymbol {
|
|
692
707
|
CDOT = "CDOT",
|
|
693
708
|
TIMES = "TIMES"
|
|
@@ -729,6 +744,9 @@ type LocalePreset = {
|
|
|
729
744
|
[Platform.MOBILE]: {
|
|
730
745
|
[key in Locale]: MobileLocaleConfig<MobileVars<SSOByLocale[key]>>;
|
|
731
746
|
};
|
|
747
|
+
[Platform.PARENT_WEB]: {
|
|
748
|
+
[key in Locale]: ParentWebLocaleConfig;
|
|
749
|
+
};
|
|
732
750
|
};
|
|
733
751
|
type LocaleConfig<P extends Platform, L extends Locale> = LocalePreset[P][L];
|
|
734
752
|
|
|
@@ -793,4 +811,4 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
793
811
|
};
|
|
794
812
|
}
|
|
795
813
|
|
|
796
|
-
export { ApiRegion, AppConfigManager, type AuthWebBaseVars, type AuthWebVars, type AuthWebVarsPreset, type CalendarConfig, CalendarLocale, type CommonGrades, DE_CALENDAR_CONFIG, DateFormat, DateLocale, type DistrictCommon, type DistrictDashboardVars, type DistrictLocaleConfig, type DistrictWebVarsPreset, DrawboardCoinVariant, EN_CALENDAR_CONFIG, type EnvPreset, Environment, type EnvironmentVars, Grade, type GradeData, type HighSchoolGrades, type KeyboardConfig, KeyboardCurrencyVariant, KeyboardPreset, KeyboardTimeVariant, LANGUAGES_CONFIG, LANGUAGES_LIST, Language, type LanguageConfig, Locale, type LocaleLanguageData, LoginSource, MOST_USED_LANGUAGES, MatrixMode, type MobileBaseVars, type MobileCommon, type MobileLocaleConfig, type MobileVars, type MobileVarsPreset, MomentDateLocale, MultiplicationSymbol, NumberDecimalSeparator, NumberGroupingSeparator, PRIORITY_LANGUAGES, Platform, PlatformBuildTarget, type PrimaryGrades, type ProblemCreatorConfig, ProblemCreatorDescriptionVariant, type ProblemCreatorKeyboardConfig, ProblemCreatorKeyboardPreset, ProblemCreatorMathEntryVariant, QRCodeSize, SE_CALENDAR_CONFIG, SSO, type SSOByLocale, type SSOConfig, type SSOVariant, type SSO_DE, type SSO_SE, type SSO_UK, type SSO_US, type StudentsLocaleConfig, type StudentsWebCommon, type StudentsWebVars, type StudentsWebVarsPreset, TTSOverrideSymbol, type TeachersLocaleConfig, type TeachersWebCommon, type TeachersWebVars, type TeachersWebVarsPreset, TreeLevel, buildTargetToEnvironment };
|
|
814
|
+
export { ApiRegion, AppConfigManager, type AuthWebBaseVars, type AuthWebVars, type AuthWebVarsPreset, type CalendarConfig, CalendarLocale, type CommonGrades, DE_CALENDAR_CONFIG, DateFormat, DateLocale, type DistrictCommon, type DistrictDashboardVars, type DistrictLocaleConfig, type DistrictWebVarsPreset, DrawboardCoinVariant, EN_CALENDAR_CONFIG, type EnvPreset, Environment, type EnvironmentVars, Grade, type GradeData, type HighSchoolGrades, type KeyboardConfig, KeyboardCurrencyVariant, KeyboardPreset, KeyboardTimeVariant, LANGUAGES_CONFIG, LANGUAGES_LIST, Language, type LanguageConfig, Locale, type LocaleLanguageData, LoginSource, MOST_USED_LANGUAGES, MatrixMode, type MobileBaseVars, type MobileCommon, type MobileLocaleConfig, type MobileVars, type MobileVarsPreset, MomentDateLocale, MultiplicationSymbol, NumberDecimalSeparator, NumberGroupingSeparator, PRIORITY_LANGUAGES, 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_DE, type SSO_SE, type SSO_UK, type SSO_US, type StudentsLocaleConfig, type StudentsWebCommon, type StudentsWebVars, type StudentsWebVarsPreset, TTSOverrideSymbol, type TeachersLocaleConfig, type TeachersWebCommon, type TeachersWebVars, type TeachersWebVarsPreset, TreeLevel, buildTargetToEnvironment };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as SSO, L as LoginSource, a as Locale, E as Environment, P as Platform, b as PlatformBuildTarget, Q as QRCodeSize, A as ApiRegion } from './common.constants-
|
|
2
|
-
export { c as Source } from './common.constants-
|
|
1
|
+
import { S as SSO, L as LoginSource, a as Locale, E as Environment, P as Platform, b as PlatformBuildTarget, Q as QRCodeSize, A as ApiRegion } from './common.constants-Dy4DFaEM.js';
|
|
2
|
+
export { c as Source } from './common.constants-Dy4DFaEM.js';
|
|
3
3
|
import { ComponentType } from 'react';
|
|
4
4
|
import * as effector from 'effector';
|
|
5
5
|
|
|
@@ -305,6 +305,7 @@ type RegionSpecificVars = {
|
|
|
305
305
|
DISTRICT_WEB_URL: string;
|
|
306
306
|
LOGGLY_TAG: string;
|
|
307
307
|
MAGMAMATH_URL: string;
|
|
308
|
+
PARENT_WEB_URL: string;
|
|
308
309
|
SOCKET_URL: string;
|
|
309
310
|
STUDENTS_WEB_URL: string;
|
|
310
311
|
TEACHERS_WEB_URL: string;
|
|
@@ -499,6 +500,17 @@ type WebAdminVarsPreset = {
|
|
|
499
500
|
};
|
|
500
501
|
};
|
|
501
502
|
|
|
503
|
+
type ParentWebVars = {
|
|
504
|
+
API_URL: string;
|
|
505
|
+
CDN_HOST: string;
|
|
506
|
+
AUTH_WEB_URL: string;
|
|
507
|
+
};
|
|
508
|
+
type ParentWebVarsPreset = {
|
|
509
|
+
[key in Locale]: {
|
|
510
|
+
[key in Environment]: ParentWebVars;
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
|
|
502
514
|
type EnvPreset = Readonly<{
|
|
503
515
|
[Platform.STUDENTS_WEB]: StudentsWebVarsPreset;
|
|
504
516
|
[Platform.TEACHERS_WEB]: TeachersWebVarsPreset;
|
|
@@ -506,6 +518,7 @@ type EnvPreset = Readonly<{
|
|
|
506
518
|
[Platform.AUTH_WEB]: AuthWebVarsPreset;
|
|
507
519
|
[Platform.WEB_ADMIN]: WebAdminVarsPreset;
|
|
508
520
|
[Platform.MOBILE]: MobileVarsPreset;
|
|
521
|
+
[Platform.PARENT_WEB]: ParentWebVarsPreset;
|
|
509
522
|
}>;
|
|
510
523
|
type EnvironmentVars<P extends Platform> = EnvPreset[P][Locale][Environment];
|
|
511
524
|
|
|
@@ -688,6 +701,8 @@ type MobileLocaleConfig<E> = StudentsLocaleConfig & TeachersLocaleConfig & AuthL
|
|
|
688
701
|
calendar: CalendarConfig;
|
|
689
702
|
};
|
|
690
703
|
|
|
704
|
+
type ParentWebLocaleConfig = CommonLocaleConfig;
|
|
705
|
+
|
|
691
706
|
declare enum MultiplicationSymbol {
|
|
692
707
|
CDOT = "CDOT",
|
|
693
708
|
TIMES = "TIMES"
|
|
@@ -729,6 +744,9 @@ type LocalePreset = {
|
|
|
729
744
|
[Platform.MOBILE]: {
|
|
730
745
|
[key in Locale]: MobileLocaleConfig<MobileVars<SSOByLocale[key]>>;
|
|
731
746
|
};
|
|
747
|
+
[Platform.PARENT_WEB]: {
|
|
748
|
+
[key in Locale]: ParentWebLocaleConfig;
|
|
749
|
+
};
|
|
732
750
|
};
|
|
733
751
|
type LocaleConfig<P extends Platform, L extends Locale> = LocalePreset[P][L];
|
|
734
752
|
|
|
@@ -793,4 +811,4 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
793
811
|
};
|
|
794
812
|
}
|
|
795
813
|
|
|
796
|
-
export { ApiRegion, AppConfigManager, type AuthWebBaseVars, type AuthWebVars, type AuthWebVarsPreset, type CalendarConfig, CalendarLocale, type CommonGrades, DE_CALENDAR_CONFIG, DateFormat, DateLocale, type DistrictCommon, type DistrictDashboardVars, type DistrictLocaleConfig, type DistrictWebVarsPreset, DrawboardCoinVariant, EN_CALENDAR_CONFIG, type EnvPreset, Environment, type EnvironmentVars, Grade, type GradeData, type HighSchoolGrades, type KeyboardConfig, KeyboardCurrencyVariant, KeyboardPreset, KeyboardTimeVariant, LANGUAGES_CONFIG, LANGUAGES_LIST, Language, type LanguageConfig, Locale, type LocaleLanguageData, LoginSource, MOST_USED_LANGUAGES, MatrixMode, type MobileBaseVars, type MobileCommon, type MobileLocaleConfig, type MobileVars, type MobileVarsPreset, MomentDateLocale, MultiplicationSymbol, NumberDecimalSeparator, NumberGroupingSeparator, PRIORITY_LANGUAGES, Platform, PlatformBuildTarget, type PrimaryGrades, type ProblemCreatorConfig, ProblemCreatorDescriptionVariant, type ProblemCreatorKeyboardConfig, ProblemCreatorKeyboardPreset, ProblemCreatorMathEntryVariant, QRCodeSize, SE_CALENDAR_CONFIG, SSO, type SSOByLocale, type SSOConfig, type SSOVariant, type SSO_DE, type SSO_SE, type SSO_UK, type SSO_US, type StudentsLocaleConfig, type StudentsWebCommon, type StudentsWebVars, type StudentsWebVarsPreset, TTSOverrideSymbol, type TeachersLocaleConfig, type TeachersWebCommon, type TeachersWebVars, type TeachersWebVarsPreset, TreeLevel, buildTargetToEnvironment };
|
|
814
|
+
export { ApiRegion, AppConfigManager, type AuthWebBaseVars, type AuthWebVars, type AuthWebVarsPreset, type CalendarConfig, CalendarLocale, type CommonGrades, DE_CALENDAR_CONFIG, DateFormat, DateLocale, type DistrictCommon, type DistrictDashboardVars, type DistrictLocaleConfig, type DistrictWebVarsPreset, DrawboardCoinVariant, EN_CALENDAR_CONFIG, type EnvPreset, Environment, type EnvironmentVars, Grade, type GradeData, type HighSchoolGrades, type KeyboardConfig, KeyboardCurrencyVariant, KeyboardPreset, KeyboardTimeVariant, LANGUAGES_CONFIG, LANGUAGES_LIST, Language, type LanguageConfig, Locale, type LocaleLanguageData, LoginSource, MOST_USED_LANGUAGES, MatrixMode, type MobileBaseVars, type MobileCommon, type MobileLocaleConfig, type MobileVars, type MobileVarsPreset, MomentDateLocale, MultiplicationSymbol, NumberDecimalSeparator, NumberGroupingSeparator, PRIORITY_LANGUAGES, 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_DE, type SSO_SE, type SSO_UK, type SSO_US, type StudentsLocaleConfig, type StudentsWebCommon, type StudentsWebVars, type StudentsWebVarsPreset, TTSOverrideSymbol, type TeachersLocaleConfig, type TeachersWebCommon, type TeachersWebVars, type TeachersWebVarsPreset, TreeLevel, buildTargetToEnvironment };
|
package/dist/index.js
CHANGED
|
@@ -53,6 +53,7 @@ var Platform = /* @__PURE__ */ ((Platform3) => {
|
|
|
53
53
|
Platform3["AUTH_WEB"] = "AUTH_WEB";
|
|
54
54
|
Platform3["WEB_ADMIN"] = "WEB_ADMIN";
|
|
55
55
|
Platform3["MOBILE"] = "MOBILE";
|
|
56
|
+
Platform3["PARENT_WEB"] = "PARENT_WEB";
|
|
56
57
|
return Platform3;
|
|
57
58
|
})(Platform || {});
|
|
58
59
|
var Environment = /* @__PURE__ */ ((Environment3) => {
|
|
@@ -982,19 +983,22 @@ var PLATFORM_URLS = {
|
|
|
982
983
|
AUTH_WEB_URL: "https://app.mars.magmamath.com",
|
|
983
984
|
STUDENTS_WEB_URL: "https://students.mars.magmamath.com",
|
|
984
985
|
TEACHERS_WEB_URL: "https://teachers.mars.magmamath.com",
|
|
985
|
-
DISTRICT_WEB_URL: "https://district.mars.magmamath.com"
|
|
986
|
+
DISTRICT_WEB_URL: "https://district.mars.magmamath.com",
|
|
987
|
+
PARENT_WEB_URL: "https://parents.mars.magmamath.com"
|
|
986
988
|
},
|
|
987
989
|
VENUS: {
|
|
988
990
|
AUTH_WEB_URL: "https://app.venus.magmamath.com",
|
|
989
991
|
STUDENTS_WEB_URL: "https://students.venus.magmamath.com",
|
|
990
992
|
TEACHERS_WEB_URL: "https://teachers.venus.magmamath.com",
|
|
991
|
-
DISTRICT_WEB_URL: "https://district.venus.magmamath.com"
|
|
993
|
+
DISTRICT_WEB_URL: "https://district.venus.magmamath.com",
|
|
994
|
+
PARENT_WEB_URL: "https://parents.venus.magmamath.com"
|
|
992
995
|
},
|
|
993
996
|
PROD: {
|
|
994
997
|
AUTH_WEB_URL: "https://app.magmamath.com",
|
|
995
998
|
STUDENTS_WEB_URL: "https://students.magmamath.com",
|
|
996
999
|
TEACHERS_WEB_URL: "https://teachers.magmamath.com",
|
|
997
|
-
DISTRICT_WEB_URL: "https://district.magmamath.com"
|
|
1000
|
+
DISTRICT_WEB_URL: "https://district.magmamath.com",
|
|
1001
|
+
PARENT_WEB_URL: "https://parents.magmamath.com"
|
|
998
1002
|
}
|
|
999
1003
|
};
|
|
1000
1004
|
|
|
@@ -1040,6 +1044,7 @@ var ENV_AUTH_WEB_SE_MARS = {
|
|
|
1040
1044
|
STUDENTS_WEB_URL: "https://students.mars.matteappen.se",
|
|
1041
1045
|
TEACHERS_WEB_URL: "https://teachers.mars.matteappen.se",
|
|
1042
1046
|
DISTRICT_WEB_URL: "https://district.mars.matteappen.se",
|
|
1047
|
+
PARENT_WEB_URL: "https://parents.mars.matteappen.se",
|
|
1043
1048
|
MAGMAMATH_URL: "https://www.magma.se",
|
|
1044
1049
|
TOS_URL: "https://www.magma.se/legala-dokument/anvandaravtal",
|
|
1045
1050
|
GOOGLE_AUTH: "https://api.mars.matteappen.se/v2/auth/google",
|
|
@@ -1060,6 +1065,7 @@ var ENV_AUTH_WEB_SE_PROD = {
|
|
|
1060
1065
|
STUDENTS_WEB_URL: "https://students.matteappen.se",
|
|
1061
1066
|
TEACHERS_WEB_URL: "https://teachers.matteappen.se",
|
|
1062
1067
|
DISTRICT_WEB_URL: "https://district.matteappen.se",
|
|
1068
|
+
PARENT_WEB_URL: "https://parents.matteappen.se",
|
|
1063
1069
|
MAGMAMATH_URL: "https://www.magma.se",
|
|
1064
1070
|
TOS_URL: "https://www.magma.se/legala-dokument/anvandaravtal",
|
|
1065
1071
|
GOOGLE_AUTH: "https://api.matteappen.se/v2/auth/google",
|
|
@@ -1238,6 +1244,7 @@ var ENV_STUDENTS_WEB_SE_MARS = {
|
|
|
1238
1244
|
STUDENTS_WEB_URL: "https://students.mars.matteappen.se",
|
|
1239
1245
|
TEACHERS_WEB_URL: "https://teachers.mars.matteappen.se",
|
|
1240
1246
|
DISTRICT_WEB_URL: "https://district.mars.matteappen.se",
|
|
1247
|
+
PARENT_WEB_URL: "https://parents.mars.matteappen.se",
|
|
1241
1248
|
MAGMAMATH_URL: "https://www.magma.se"
|
|
1242
1249
|
};
|
|
1243
1250
|
|
|
@@ -1253,6 +1260,7 @@ var ENV_STUDENTS_WEB_SE_PROD = {
|
|
|
1253
1260
|
STUDENTS_WEB_URL: "https://students.matteappen.se",
|
|
1254
1261
|
TEACHERS_WEB_URL: "https://teachers.matteappen.se",
|
|
1255
1262
|
DISTRICT_WEB_URL: "https://district.matteappen.se",
|
|
1263
|
+
PARENT_WEB_URL: "https://parents.matteappen.se",
|
|
1256
1264
|
MAGMAMATH_URL: "https://www.magma.se"
|
|
1257
1265
|
};
|
|
1258
1266
|
|
|
@@ -1414,6 +1422,7 @@ var ENV_TEACHERS_WEB_SE_MARS = {
|
|
|
1414
1422
|
STUDENTS_WEB_URL: "https://students.mars.matteappen.se",
|
|
1415
1423
|
TEACHERS_WEB_URL: "https://teachers.mars.matteappen.se",
|
|
1416
1424
|
DISTRICT_WEB_URL: "https://district.mars.matteappen.se",
|
|
1425
|
+
PARENT_WEB_URL: "https://parents.mars.matteappen.se",
|
|
1417
1426
|
MAGMAMATH_URL: "https://www.magma.se"
|
|
1418
1427
|
};
|
|
1419
1428
|
|
|
@@ -1429,6 +1438,7 @@ var ENV_TEACHERS_WEB_SE_PROD = {
|
|
|
1429
1438
|
STUDENTS_WEB_URL: "https://students.matteappen.se",
|
|
1430
1439
|
TEACHERS_WEB_URL: "https://teachers.matteappen.se",
|
|
1431
1440
|
DISTRICT_WEB_URL: "https://district.matteappen.se",
|
|
1441
|
+
PARENT_WEB_URL: "https://parents.matteappen.se",
|
|
1432
1442
|
MAGMAMATH_URL: "https://www.magma.se"
|
|
1433
1443
|
};
|
|
1434
1444
|
|
|
@@ -1579,6 +1589,7 @@ var ENV_DISTRICT_SE_MARS = {
|
|
|
1579
1589
|
STUDENTS_WEB_URL: "https://students.mars.matteappen.se",
|
|
1580
1590
|
TEACHERS_WEB_URL: "https://teachers.mars.matteappen.se",
|
|
1581
1591
|
DISTRICT_WEB_URL: "https://district.mars.matteappen.se",
|
|
1592
|
+
PARENT_WEB_URL: "https://parents.mars.matteappen.se",
|
|
1582
1593
|
MAGMAMATH_URL: "https://www.magma.se"
|
|
1583
1594
|
};
|
|
1584
1595
|
|
|
@@ -1593,6 +1604,7 @@ var ENV_DISTRICT_SE_PROD = {
|
|
|
1593
1604
|
STUDENTS_WEB_URL: "https://students.matteappen.se",
|
|
1594
1605
|
TEACHERS_WEB_URL: "https://teachers.matteappen.se",
|
|
1595
1606
|
DISTRICT_WEB_URL: "https://district.matteappen.se",
|
|
1607
|
+
PARENT_WEB_URL: "https://parents.matteappen.se",
|
|
1596
1608
|
MAGMAMATH_URL: "https://www.magma.se"
|
|
1597
1609
|
};
|
|
1598
1610
|
|
|
@@ -1728,7 +1740,8 @@ var ENV_AUTH_WEB_SE_VENUS = {
|
|
|
1728
1740
|
AUTH_WEB_URL: "https://app.venus.matteappen.se",
|
|
1729
1741
|
STUDENTS_WEB_URL: "https://students.venus.matteappen.se",
|
|
1730
1742
|
TEACHERS_WEB_URL: "https://teachers.venus.matteappen.se",
|
|
1731
|
-
DISTRICT_WEB_URL: "https://district.venus.matteappen.se"
|
|
1743
|
+
DISTRICT_WEB_URL: "https://district.venus.matteappen.se",
|
|
1744
|
+
PARENT_WEB_URL: "https://parents.venus.matteappen.se"
|
|
1732
1745
|
};
|
|
1733
1746
|
|
|
1734
1747
|
// src/configs/env/auth-web/gb/env.gb.venus.ts
|
|
@@ -1771,7 +1784,8 @@ var ENV_STUDENTS_WEB_SE_VENUS = {
|
|
|
1771
1784
|
AUTH_WEB_URL: "https://app.venus.matteappen.se",
|
|
1772
1785
|
STUDENTS_WEB_URL: "https://students.venus.matteappen.se",
|
|
1773
1786
|
TEACHERS_WEB_URL: "https://teachers.venus.matteappen.se",
|
|
1774
|
-
DISTRICT_WEB_URL: "https://district.venus.matteappen.se"
|
|
1787
|
+
DISTRICT_WEB_URL: "https://district.venus.matteappen.se",
|
|
1788
|
+
PARENT_WEB_URL: "https://parents.venus.matteappen.se"
|
|
1775
1789
|
};
|
|
1776
1790
|
|
|
1777
1791
|
// src/configs/env/students-web/gb/env.gb.venus.ts
|
|
@@ -1814,7 +1828,8 @@ var ENV_TEACHERS_WEB_SE_VENUS = {
|
|
|
1814
1828
|
AUTH_WEB_URL: "https://app.venus.matteappen.se",
|
|
1815
1829
|
STUDENTS_WEB_URL: "https://students.venus.matteappen.se",
|
|
1816
1830
|
TEACHERS_WEB_URL: "https://teachers.venus.matteappen.se",
|
|
1817
|
-
DISTRICT_WEB_URL: "https://district.venus.matteappen.se"
|
|
1831
|
+
DISTRICT_WEB_URL: "https://district.venus.matteappen.se",
|
|
1832
|
+
PARENT_WEB_URL: "https://parents.venus.matteappen.se"
|
|
1818
1833
|
};
|
|
1819
1834
|
|
|
1820
1835
|
// src/configs/env/teachers-web/gb/env.gb.venus.ts
|
|
@@ -1857,7 +1872,8 @@ var ENV_DISTRICT_SE_VENUS = {
|
|
|
1857
1872
|
AUTH_WEB_URL: "https://app.venus.matteappen.se",
|
|
1858
1873
|
STUDENTS_WEB_URL: "https://students.venus.matteappen.se",
|
|
1859
1874
|
TEACHERS_WEB_URL: "https://teachers.venus.matteappen.se",
|
|
1860
|
-
DISTRICT_WEB_URL: "https://district.venus.matteappen.se"
|
|
1875
|
+
DISTRICT_WEB_URL: "https://district.venus.matteappen.se",
|
|
1876
|
+
PARENT_WEB_URL: "https://parents.venus.matteappen.se"
|
|
1861
1877
|
};
|
|
1862
1878
|
|
|
1863
1879
|
// src/configs/env/district-dash/gb/env.gb.venus.ts
|
|
@@ -2232,6 +2248,126 @@ var ENV_MOBILE_DE_PROD = {
|
|
|
2232
2248
|
PROBLEM_CREATOR_URL: `${PLATFORM_URLS.PROD.TEACHERS_WEB_URL}/content/react-native/problems/add`
|
|
2233
2249
|
};
|
|
2234
2250
|
|
|
2251
|
+
// src/configs/env/parent-web/us/env.us.mars.ts
|
|
2252
|
+
var ENV_PARENT_WEB_US_MARS = {
|
|
2253
|
+
API_URL: "https://api.mars.magmamath.com/v2",
|
|
2254
|
+
CDN_HOST: "https://cdn.mars.magmamath.com",
|
|
2255
|
+
AUTH_WEB_URL: PLATFORM_URLS.MARS.AUTH_WEB_URL
|
|
2256
|
+
};
|
|
2257
|
+
|
|
2258
|
+
// src/configs/env/parent-web/us/env.us.prod.ts
|
|
2259
|
+
var ENV_PARENT_WEB_US_PROD = {
|
|
2260
|
+
API_URL: "https://api.magmamath.com/v2",
|
|
2261
|
+
CDN_HOST: "https://cdn.magmamath.com",
|
|
2262
|
+
AUTH_WEB_URL: PLATFORM_URLS.PROD.AUTH_WEB_URL
|
|
2263
|
+
};
|
|
2264
|
+
|
|
2265
|
+
// src/configs/env/parent-web/us/env.us.venus.ts
|
|
2266
|
+
var ENV_PARENT_WEB_US_VENUS = {
|
|
2267
|
+
...ENV_PARENT_WEB_US_PROD,
|
|
2268
|
+
AUTH_WEB_URL: PLATFORM_URLS.VENUS.AUTH_WEB_URL
|
|
2269
|
+
};
|
|
2270
|
+
|
|
2271
|
+
// src/configs/env/parent-web/se/env.se.mars.ts
|
|
2272
|
+
var ENV_PARENT_WEB_SE_MARS = {
|
|
2273
|
+
API_URL: "https://api.mars.matteappen.se/v2",
|
|
2274
|
+
CDN_HOST: "https://cdn.mars.matteappen.se",
|
|
2275
|
+
AUTH_WEB_URL: "https://app.mars.matteappen.se"
|
|
2276
|
+
};
|
|
2277
|
+
|
|
2278
|
+
// src/configs/env/parent-web/se/env.se.prod.ts
|
|
2279
|
+
var ENV_PARENT_WEB_SE_PROD = {
|
|
2280
|
+
API_URL: "https://api.matteappen.se/v2",
|
|
2281
|
+
CDN_HOST: "https://cdn.matteappen.se",
|
|
2282
|
+
AUTH_WEB_URL: "https://app.matteappen.se"
|
|
2283
|
+
};
|
|
2284
|
+
|
|
2285
|
+
// src/configs/env/parent-web/se/env.se.venus.ts
|
|
2286
|
+
var ENV_PARENT_WEB_SE_VENUS = {
|
|
2287
|
+
...ENV_PARENT_WEB_SE_PROD,
|
|
2288
|
+
AUTH_WEB_URL: "https://app.venus.matteappen.se"
|
|
2289
|
+
};
|
|
2290
|
+
|
|
2291
|
+
// src/configs/env/parent-web/gb/env.gb.mars.ts
|
|
2292
|
+
var ENV_PARENT_WEB_GB_MARS = {
|
|
2293
|
+
API_URL: "https://api.mars.magmamath.com/v2",
|
|
2294
|
+
CDN_HOST: "https://cdn.mars.magmamath.com",
|
|
2295
|
+
AUTH_WEB_URL: `${PLATFORM_URLS.MARS.AUTH_WEB_URL}/uk`
|
|
2296
|
+
};
|
|
2297
|
+
|
|
2298
|
+
// src/configs/env/parent-web/gb/env.gb.prod.ts
|
|
2299
|
+
var ENV_PARENT_WEB_GB_PROD = {
|
|
2300
|
+
API_URL: "https://api.magmamath.com/v2",
|
|
2301
|
+
CDN_HOST: "https://cdn.magmamath.com",
|
|
2302
|
+
AUTH_WEB_URL: `${PLATFORM_URLS.PROD.AUTH_WEB_URL}/uk`
|
|
2303
|
+
};
|
|
2304
|
+
|
|
2305
|
+
// src/configs/env/parent-web/gb/env.gb.venus.ts
|
|
2306
|
+
var ENV_PARENT_WEB_GB_VENUS = {
|
|
2307
|
+
...ENV_PARENT_WEB_GB_PROD,
|
|
2308
|
+
AUTH_WEB_URL: `${PLATFORM_URLS.VENUS.AUTH_WEB_URL}/uk`
|
|
2309
|
+
};
|
|
2310
|
+
|
|
2311
|
+
// src/configs/env/parent-web/ca/env.ca.mars.ts
|
|
2312
|
+
var ENV_PARENT_WEB_CA_MARS = {
|
|
2313
|
+
API_URL: "https://api.mars.magmamath.com/v2",
|
|
2314
|
+
CDN_HOST: "https://cdn.mars.magmamath.com",
|
|
2315
|
+
AUTH_WEB_URL: `${PLATFORM_URLS.MARS.AUTH_WEB_URL}/ca`
|
|
2316
|
+
};
|
|
2317
|
+
|
|
2318
|
+
// src/configs/env/parent-web/ca/env.ca.prod.ts
|
|
2319
|
+
var ENV_PARENT_WEB_CA_PROD = {
|
|
2320
|
+
API_URL: "https://api.magmamath.com/v2",
|
|
2321
|
+
CDN_HOST: "https://cdn.magmamath.com",
|
|
2322
|
+
AUTH_WEB_URL: `${PLATFORM_URLS.PROD.AUTH_WEB_URL}/ca`
|
|
2323
|
+
};
|
|
2324
|
+
|
|
2325
|
+
// src/configs/env/parent-web/ca/env.ca.venus.ts
|
|
2326
|
+
var ENV_PARENT_WEB_CA_VENUS = {
|
|
2327
|
+
...ENV_PARENT_WEB_CA_PROD,
|
|
2328
|
+
AUTH_WEB_URL: `${PLATFORM_URLS.VENUS.AUTH_WEB_URL}/ca`
|
|
2329
|
+
};
|
|
2330
|
+
|
|
2331
|
+
// src/configs/env/parent-web/sct/env.sct.mars.ts
|
|
2332
|
+
var ENV_PARENT_WEB_SCT_MARS = {
|
|
2333
|
+
API_URL: "https://api.mars.magmamath.com/v2",
|
|
2334
|
+
CDN_HOST: "https://cdn.mars.magmamath.com",
|
|
2335
|
+
AUTH_WEB_URL: `${PLATFORM_URLS.MARS.AUTH_WEB_URL}/uk`
|
|
2336
|
+
};
|
|
2337
|
+
|
|
2338
|
+
// src/configs/env/parent-web/sct/env.sct.prod.ts
|
|
2339
|
+
var ENV_PARENT_WEB_SCT_PROD = {
|
|
2340
|
+
API_URL: "https://api.magmamath.com/v2",
|
|
2341
|
+
CDN_HOST: "https://cdn.magmamath.com",
|
|
2342
|
+
AUTH_WEB_URL: `${PLATFORM_URLS.PROD.AUTH_WEB_URL}/uk`
|
|
2343
|
+
};
|
|
2344
|
+
|
|
2345
|
+
// src/configs/env/parent-web/sct/env.sct.venus.ts
|
|
2346
|
+
var ENV_PARENT_WEB_SCT_VENUS = {
|
|
2347
|
+
...ENV_PARENT_WEB_SCT_PROD,
|
|
2348
|
+
AUTH_WEB_URL: `${PLATFORM_URLS.VENUS.AUTH_WEB_URL}/uk`
|
|
2349
|
+
};
|
|
2350
|
+
|
|
2351
|
+
// src/configs/env/parent-web/de/env.de.mars.ts
|
|
2352
|
+
var ENV_PARENT_WEB_DE_MARS = {
|
|
2353
|
+
API_URL: "https://api.mars.magmamath.com/v2",
|
|
2354
|
+
CDN_HOST: "https://cdn.mars.magmamath.com",
|
|
2355
|
+
AUTH_WEB_URL: `${PLATFORM_URLS.MARS.AUTH_WEB_URL}/de`
|
|
2356
|
+
};
|
|
2357
|
+
|
|
2358
|
+
// src/configs/env/parent-web/de/env.de.prod.ts
|
|
2359
|
+
var ENV_PARENT_WEB_DE_PROD = {
|
|
2360
|
+
API_URL: "https://api.magmamath.com/v2",
|
|
2361
|
+
CDN_HOST: "https://cdn.magmamath.com",
|
|
2362
|
+
AUTH_WEB_URL: `${PLATFORM_URLS.PROD.AUTH_WEB_URL}/de`
|
|
2363
|
+
};
|
|
2364
|
+
|
|
2365
|
+
// src/configs/env/parent-web/de/env.de.venus.ts
|
|
2366
|
+
var ENV_PARENT_WEB_DE_VENUS = {
|
|
2367
|
+
...ENV_PARENT_WEB_DE_PROD,
|
|
2368
|
+
AUTH_WEB_URL: `${PLATFORM_URLS.VENUS.AUTH_WEB_URL}/de`
|
|
2369
|
+
};
|
|
2370
|
+
|
|
2235
2371
|
// src/configs/env/env.preset.ts
|
|
2236
2372
|
var ENV_PRESET = {
|
|
2237
2373
|
["AUTH_WEB" /* AUTH_WEB */]: {
|
|
@@ -2425,6 +2561,38 @@ var ENV_PRESET = {
|
|
|
2425
2561
|
["VENUS" /* VENUS */]: ENV_MOBILE_DE_PROD,
|
|
2426
2562
|
["PROD" /* PROD */]: ENV_MOBILE_DE_PROD
|
|
2427
2563
|
}
|
|
2564
|
+
},
|
|
2565
|
+
["PARENT_WEB" /* PARENT_WEB */]: {
|
|
2566
|
+
["en-SE" /* US */]: {
|
|
2567
|
+
["MARS" /* MARS */]: ENV_PARENT_WEB_US_MARS,
|
|
2568
|
+
["VENUS" /* VENUS */]: ENV_PARENT_WEB_US_VENUS,
|
|
2569
|
+
["PROD" /* PROD */]: ENV_PARENT_WEB_US_PROD
|
|
2570
|
+
},
|
|
2571
|
+
["sv-SE" /* SE */]: {
|
|
2572
|
+
["MARS" /* MARS */]: ENV_PARENT_WEB_SE_MARS,
|
|
2573
|
+
["VENUS" /* VENUS */]: ENV_PARENT_WEB_SE_VENUS,
|
|
2574
|
+
["PROD" /* PROD */]: ENV_PARENT_WEB_SE_PROD
|
|
2575
|
+
},
|
|
2576
|
+
["en-GB" /* GB */]: {
|
|
2577
|
+
["MARS" /* MARS */]: ENV_PARENT_WEB_GB_MARS,
|
|
2578
|
+
["VENUS" /* VENUS */]: ENV_PARENT_WEB_GB_VENUS,
|
|
2579
|
+
["PROD" /* PROD */]: ENV_PARENT_WEB_GB_PROD
|
|
2580
|
+
},
|
|
2581
|
+
["en-CA" /* CA */]: {
|
|
2582
|
+
["MARS" /* MARS */]: ENV_PARENT_WEB_CA_MARS,
|
|
2583
|
+
["VENUS" /* VENUS */]: ENV_PARENT_WEB_CA_VENUS,
|
|
2584
|
+
["PROD" /* PROD */]: ENV_PARENT_WEB_CA_PROD
|
|
2585
|
+
},
|
|
2586
|
+
["en-SCT" /* SCT */]: {
|
|
2587
|
+
["MARS" /* MARS */]: ENV_PARENT_WEB_SCT_MARS,
|
|
2588
|
+
["VENUS" /* VENUS */]: ENV_PARENT_WEB_SCT_VENUS,
|
|
2589
|
+
["PROD" /* PROD */]: ENV_PARENT_WEB_SCT_PROD
|
|
2590
|
+
},
|
|
2591
|
+
["de-DE" /* DE */]: {
|
|
2592
|
+
["MARS" /* MARS */]: ENV_PARENT_WEB_DE_MARS,
|
|
2593
|
+
["VENUS" /* VENUS */]: ENV_PARENT_WEB_DE_VENUS,
|
|
2594
|
+
["PROD" /* PROD */]: ENV_PARENT_WEB_DE_PROD
|
|
2595
|
+
}
|
|
2428
2596
|
}
|
|
2429
2597
|
};
|
|
2430
2598
|
|
|
@@ -4024,6 +4192,36 @@ var LOCALE_MOBILE_DE = {
|
|
|
4024
4192
|
calendar: DE_CALENDAR_CONFIG
|
|
4025
4193
|
};
|
|
4026
4194
|
|
|
4195
|
+
// src/configs/locale/parent-web/us/locale.us.ts
|
|
4196
|
+
var LOCALE_PARENT_WEB_US = {
|
|
4197
|
+
...LOCALE_COMMON_US
|
|
4198
|
+
};
|
|
4199
|
+
|
|
4200
|
+
// src/configs/locale/parent-web/se/locale.se.ts
|
|
4201
|
+
var LOCALE_PARENT_WEB_SE = {
|
|
4202
|
+
...LOCALE_COMMON_SE
|
|
4203
|
+
};
|
|
4204
|
+
|
|
4205
|
+
// src/configs/locale/parent-web/gb/locale.gb.ts
|
|
4206
|
+
var LOCALE_PARENT_WEB_GB = {
|
|
4207
|
+
...LOCALE_COMMON_GB
|
|
4208
|
+
};
|
|
4209
|
+
|
|
4210
|
+
// src/configs/locale/parent-web/ca/locale.ca.ts
|
|
4211
|
+
var LOCALE_PARENT_WEB_CA = {
|
|
4212
|
+
...LOCALE_COMMON_CA
|
|
4213
|
+
};
|
|
4214
|
+
|
|
4215
|
+
// src/configs/locale/parent-web/sct/locale.sct.ts
|
|
4216
|
+
var LOCALE_PARENT_WEB_SCT = {
|
|
4217
|
+
...LOCALE_COMMON_SCT
|
|
4218
|
+
};
|
|
4219
|
+
|
|
4220
|
+
// src/configs/locale/parent-web/de/locale.de.ts
|
|
4221
|
+
var LOCALE_PARENT_WEB_DE = {
|
|
4222
|
+
...LOCALE_COMMON_DE
|
|
4223
|
+
};
|
|
4224
|
+
|
|
4027
4225
|
// src/configs/locale/locale.preset.ts
|
|
4028
4226
|
var LOCALE_PRESET = {
|
|
4029
4227
|
["STUDENTS" /* STUDENTS_WEB */]: {
|
|
@@ -4073,6 +4271,14 @@ var LOCALE_PRESET = {
|
|
|
4073
4271
|
["en-CA" /* CA */]: LOCALE_MOBILE_CA,
|
|
4074
4272
|
["en-SCT" /* SCT */]: LOCALE_MOBILE_SCT,
|
|
4075
4273
|
["de-DE" /* DE */]: LOCALE_MOBILE_DE
|
|
4274
|
+
},
|
|
4275
|
+
["PARENT_WEB" /* PARENT_WEB */]: {
|
|
4276
|
+
["en-SE" /* US */]: LOCALE_PARENT_WEB_US,
|
|
4277
|
+
["sv-SE" /* SE */]: LOCALE_PARENT_WEB_SE,
|
|
4278
|
+
["en-GB" /* GB */]: LOCALE_PARENT_WEB_GB,
|
|
4279
|
+
["en-CA" /* CA */]: LOCALE_PARENT_WEB_CA,
|
|
4280
|
+
["en-SCT" /* SCT */]: LOCALE_PARENT_WEB_SCT,
|
|
4281
|
+
["de-DE" /* DE */]: LOCALE_PARENT_WEB_DE
|
|
4076
4282
|
}
|
|
4077
4283
|
};
|
|
4078
4284
|
|