@magmamath/frontend-config 1.5.8 → 1.5.9-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1 -10
- package/dist/index.d.ts +1 -10
- package/dist/index.js +1 -38
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -38
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3,14 +3,6 @@ export { c as Source } from './common.constants-C63VsNO4.mjs';
|
|
|
3
3
|
import { ComponentType } from 'react';
|
|
4
4
|
import * as effector from 'effector';
|
|
5
5
|
|
|
6
|
-
declare enum CalculatorType {
|
|
7
|
-
Off = 0,
|
|
8
|
-
Regular = 1,
|
|
9
|
-
Scientific = 2,
|
|
10
|
-
Graphic = 3,
|
|
11
|
-
Cas = 4
|
|
12
|
-
}
|
|
13
|
-
|
|
14
6
|
declare enum DateFormat {
|
|
15
7
|
FULL = "YYYY-MM-DD HH:mm",
|
|
16
8
|
FULL_US = "YYYY-MM-DD hh:mm A",
|
|
@@ -920,7 +912,6 @@ type ProblemCreatorConfig = {
|
|
|
920
912
|
};
|
|
921
913
|
|
|
922
914
|
type TeachersLocaleConfig = CommonLocaleConfig & {
|
|
923
|
-
calculators: CalculatorType[];
|
|
924
915
|
emails: {
|
|
925
916
|
studentsList: string;
|
|
926
917
|
};
|
|
@@ -1129,4 +1120,4 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
1129
1120
|
};
|
|
1130
1121
|
}
|
|
1131
1122
|
|
|
1132
|
-
export { AT_CALENDAR_CONFIG, AppConfigManager, type AuthWebBaseVars, type AuthWebEuLocalePreset, type AuthWebVars, type AuthWebVarsPreset, CH_CALENDAR_CONFIG,
|
|
1123
|
+
export { AT_CALENDAR_CONFIG, AppConfigManager, type AuthWebBaseVars, type AuthWebEuLocalePreset, type AuthWebVars, type AuthWebVarsPreset, CH_CALENDAR_CONFIG, type CalendarConfig, CalendarLocale, type CommonGrades, DE_CALENDAR_CONFIG, DK_CALENDAR_CONFIG, DateFormat, DateLocale, type DistrictCommon, type DistrictDashboardVars, type DistrictLocaleConfig, type DistrictWebVarsPreset, DrawboardCoinVariant, EN_CALENDAR_CONFIG, ES_CALENDAR_CONFIG, type EnvPreset, Environment, type EnvironmentVars, FI_CALENDAR_CONFIG, FR_CALENDAR_CONFIG, Grade, type GradeData, type HighSchoolGrades, HomeRegion, 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, MatrixMode, type MobileBaseVars, type MobileCommon, type MobileEuLocalePreset, type MobileLocaleConfig, type MobileVars, type MobileVarsPreset, MomentDateLocale, MultiplicationSymbol, NL_BE_CALENDAR_CONFIG, NL_CALENDAR_CONFIG, NO_CALENDAR_CONFIG, NumberDecimalSeparator, NumberGroupingSeparator, 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_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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -3,14 +3,6 @@ export { c as Source } from './common.constants-C63VsNO4.js';
|
|
|
3
3
|
import { ComponentType } from 'react';
|
|
4
4
|
import * as effector from 'effector';
|
|
5
5
|
|
|
6
|
-
declare enum CalculatorType {
|
|
7
|
-
Off = 0,
|
|
8
|
-
Regular = 1,
|
|
9
|
-
Scientific = 2,
|
|
10
|
-
Graphic = 3,
|
|
11
|
-
Cas = 4
|
|
12
|
-
}
|
|
13
|
-
|
|
14
6
|
declare enum DateFormat {
|
|
15
7
|
FULL = "YYYY-MM-DD HH:mm",
|
|
16
8
|
FULL_US = "YYYY-MM-DD hh:mm A",
|
|
@@ -920,7 +912,6 @@ type ProblemCreatorConfig = {
|
|
|
920
912
|
};
|
|
921
913
|
|
|
922
914
|
type TeachersLocaleConfig = CommonLocaleConfig & {
|
|
923
|
-
calculators: CalculatorType[];
|
|
924
915
|
emails: {
|
|
925
916
|
studentsList: string;
|
|
926
917
|
};
|
|
@@ -1129,4 +1120,4 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
1129
1120
|
};
|
|
1130
1121
|
}
|
|
1131
1122
|
|
|
1132
|
-
export { AT_CALENDAR_CONFIG, AppConfigManager, type AuthWebBaseVars, type AuthWebEuLocalePreset, type AuthWebVars, type AuthWebVarsPreset, CH_CALENDAR_CONFIG,
|
|
1123
|
+
export { AT_CALENDAR_CONFIG, AppConfigManager, type AuthWebBaseVars, type AuthWebEuLocalePreset, type AuthWebVars, type AuthWebVarsPreset, CH_CALENDAR_CONFIG, type CalendarConfig, CalendarLocale, type CommonGrades, DE_CALENDAR_CONFIG, DK_CALENDAR_CONFIG, DateFormat, DateLocale, type DistrictCommon, type DistrictDashboardVars, type DistrictLocaleConfig, type DistrictWebVarsPreset, DrawboardCoinVariant, EN_CALENDAR_CONFIG, ES_CALENDAR_CONFIG, type EnvPreset, Environment, type EnvironmentVars, FI_CALENDAR_CONFIG, FR_CALENDAR_CONFIG, Grade, type GradeData, type HighSchoolGrades, HomeRegion, 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, MatrixMode, type MobileBaseVars, type MobileCommon, type MobileEuLocalePreset, type MobileLocaleConfig, type MobileVars, type MobileVarsPreset, MomentDateLocale, MultiplicationSymbol, NL_BE_CALENDAR_CONFIG, NL_CALENDAR_CONFIG, NO_CALENDAR_CONFIG, NumberDecimalSeparator, NumberGroupingSeparator, 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_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 };
|
package/dist/index.js
CHANGED
|
@@ -8,16 +8,6 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
8
8
|
|
|
9
9
|
var Svg__default = /*#__PURE__*/_interopDefault(Svg);
|
|
10
10
|
|
|
11
|
-
// src/shared/constants/calculator.constants.ts
|
|
12
|
-
var CalculatorType = /* @__PURE__ */ ((CalculatorType2) => {
|
|
13
|
-
CalculatorType2[CalculatorType2["Off"] = 0] = "Off";
|
|
14
|
-
CalculatorType2[CalculatorType2["Regular"] = 1] = "Regular";
|
|
15
|
-
CalculatorType2[CalculatorType2["Scientific"] = 2] = "Scientific";
|
|
16
|
-
CalculatorType2[CalculatorType2["Graphic"] = 3] = "Graphic";
|
|
17
|
-
CalculatorType2[CalculatorType2["Cas"] = 4] = "Cas";
|
|
18
|
-
return CalculatorType2;
|
|
19
|
-
})(CalculatorType || {});
|
|
20
|
-
|
|
21
11
|
// src/shared/constants/dates.constants.ts
|
|
22
12
|
var DateFormat = /* @__PURE__ */ ((DateFormat2) => {
|
|
23
13
|
DateFormat2["FULL"] = "YYYY-MM-DD HH:mm";
|
|
@@ -2406,7 +2396,7 @@ var ENV_WEB_ADMIN_EU_PROD = {
|
|
|
2406
2396
|
...ENV_WEB_ADMIN_COMMON,
|
|
2407
2397
|
...PLATFORM_URLS.PROD,
|
|
2408
2398
|
API_URL: "https://api.eu.magmamath.com/v2",
|
|
2409
|
-
CDN_HOST: "https://cdn.
|
|
2399
|
+
CDN_HOST: "https://cdn.magmamath.com"
|
|
2410
2400
|
};
|
|
2411
2401
|
|
|
2412
2402
|
// src/configs/env/mobile/env.common.mars.ts
|
|
@@ -8119,13 +8109,6 @@ var LOCALE_DISTRICT_CA = {
|
|
|
8119
8109
|
}
|
|
8120
8110
|
};
|
|
8121
8111
|
|
|
8122
|
-
// src/configs/locale/teachers-web/teachers.constants.ts
|
|
8123
|
-
var BASE_CALCULATORS = [
|
|
8124
|
-
1 /* Regular */,
|
|
8125
|
-
2 /* Scientific */,
|
|
8126
|
-
3 /* Graphic */
|
|
8127
|
-
];
|
|
8128
|
-
|
|
8129
8112
|
// src/configs/locale/teachers-web/us/locale.us.ts
|
|
8130
8113
|
var LOCALE_TEACHERS_US = {
|
|
8131
8114
|
...LOCALE_COMMON_US,
|
|
@@ -8160,7 +8143,6 @@ var LOCALE_TEACHERS_US = {
|
|
|
8160
8143
|
gradesModal: {
|
|
8161
8144
|
withOtherOption: false
|
|
8162
8145
|
},
|
|
8163
|
-
calculators: BASE_CALCULATORS,
|
|
8164
8146
|
problemCreator: PROBLEM_CREATOR_US
|
|
8165
8147
|
};
|
|
8166
8148
|
|
|
@@ -8199,7 +8181,6 @@ var LOCALE_TEACHERS_SE = {
|
|
|
8199
8181
|
gradesModal: {
|
|
8200
8182
|
withOtherOption: false
|
|
8201
8183
|
},
|
|
8202
|
-
calculators: [...BASE_CALCULATORS, 4 /* Cas */],
|
|
8203
8184
|
problemCreator: PROBLEM_CREATOR_SE
|
|
8204
8185
|
};
|
|
8205
8186
|
|
|
@@ -8237,7 +8218,6 @@ var LOCALE_TEACHERS_GB = {
|
|
|
8237
8218
|
gradesModal: {
|
|
8238
8219
|
withOtherOption: true
|
|
8239
8220
|
},
|
|
8240
|
-
calculators: BASE_CALCULATORS,
|
|
8241
8221
|
problemCreator: PROBLEM_CREATOR_GB
|
|
8242
8222
|
};
|
|
8243
8223
|
|
|
@@ -8301,7 +8281,6 @@ var LOCALE_TEACHERS_DE = {
|
|
|
8301
8281
|
gradesModal: {
|
|
8302
8282
|
withOtherOption: false
|
|
8303
8283
|
},
|
|
8304
|
-
calculators: [...BASE_CALCULATORS, 4 /* Cas */],
|
|
8305
8284
|
problemCreator: PROBLEM_CREATOR_DE
|
|
8306
8285
|
};
|
|
8307
8286
|
var GoogleIcon = ({ size = 38 }) => {
|
|
@@ -9230,7 +9209,6 @@ var LOCALE_TEACHERS_PL = {
|
|
|
9230
9209
|
gradesModal: {
|
|
9231
9210
|
withOtherOption: false
|
|
9232
9211
|
},
|
|
9233
|
-
calculators: BASE_CALCULATORS,
|
|
9234
9212
|
problemCreator: PROBLEM_CREATOR_PL
|
|
9235
9213
|
};
|
|
9236
9214
|
|
|
@@ -9394,7 +9372,6 @@ var LOCALE_TEACHERS_IT = {
|
|
|
9394
9372
|
gradesModal: {
|
|
9395
9373
|
withOtherOption: false
|
|
9396
9374
|
},
|
|
9397
|
-
calculators: BASE_CALCULATORS,
|
|
9398
9375
|
problemCreator: PROBLEM_CREATOR_IT
|
|
9399
9376
|
};
|
|
9400
9377
|
|
|
@@ -9560,7 +9537,6 @@ var LOCALE_TEACHERS_FR = {
|
|
|
9560
9537
|
gradesModal: {
|
|
9561
9538
|
withOtherOption: false
|
|
9562
9539
|
},
|
|
9563
|
-
calculators: BASE_CALCULATORS,
|
|
9564
9540
|
problemCreator: PROBLEM_CREATOR_FR
|
|
9565
9541
|
};
|
|
9566
9542
|
|
|
@@ -9726,7 +9702,6 @@ var LOCALE_TEACHERS_DK = {
|
|
|
9726
9702
|
gradesModal: {
|
|
9727
9703
|
withOtherOption: false
|
|
9728
9704
|
},
|
|
9729
|
-
calculators: BASE_CALCULATORS,
|
|
9730
9705
|
problemCreator: PROBLEM_CREATOR_DK
|
|
9731
9706
|
};
|
|
9732
9707
|
|
|
@@ -9894,7 +9869,6 @@ var LOCALE_TEACHERS_NO = {
|
|
|
9894
9869
|
gradesModal: {
|
|
9895
9870
|
withOtherOption: false
|
|
9896
9871
|
},
|
|
9897
|
-
calculators: BASE_CALCULATORS,
|
|
9898
9872
|
problemCreator: PROBLEM_CREATOR_NO
|
|
9899
9873
|
};
|
|
9900
9874
|
|
|
@@ -10064,7 +10038,6 @@ var LOCALE_TEACHERS_NL = {
|
|
|
10064
10038
|
gradesModal: {
|
|
10065
10039
|
withOtherOption: false
|
|
10066
10040
|
},
|
|
10067
|
-
calculators: BASE_CALCULATORS,
|
|
10068
10041
|
problemCreator: PROBLEM_CREATOR_NL
|
|
10069
10042
|
};
|
|
10070
10043
|
|
|
@@ -10232,7 +10205,6 @@ var LOCALE_TEACHERS_FI = {
|
|
|
10232
10205
|
gradesModal: {
|
|
10233
10206
|
withOtherOption: false
|
|
10234
10207
|
},
|
|
10235
|
-
calculators: BASE_CALCULATORS,
|
|
10236
10208
|
problemCreator: PROBLEM_CREATOR_FI
|
|
10237
10209
|
};
|
|
10238
10210
|
|
|
@@ -10400,7 +10372,6 @@ var LOCALE_TEACHERS_NL_BE = {
|
|
|
10400
10372
|
gradesModal: {
|
|
10401
10373
|
withOtherOption: false
|
|
10402
10374
|
},
|
|
10403
|
-
calculators: BASE_CALCULATORS,
|
|
10404
10375
|
problemCreator: PROBLEM_CREATOR_NL_BE
|
|
10405
10376
|
};
|
|
10406
10377
|
|
|
@@ -10566,7 +10537,6 @@ var LOCALE_TEACHERS_IE = {
|
|
|
10566
10537
|
gradesModal: {
|
|
10567
10538
|
withOtherOption: true
|
|
10568
10539
|
},
|
|
10569
|
-
calculators: BASE_CALCULATORS,
|
|
10570
10540
|
problemCreator: PROBLEM_CREATOR_IE
|
|
10571
10541
|
};
|
|
10572
10542
|
|
|
@@ -10732,7 +10702,6 @@ var LOCALE_TEACHERS_IS = {
|
|
|
10732
10702
|
gradesModal: {
|
|
10733
10703
|
withOtherOption: false
|
|
10734
10704
|
},
|
|
10735
|
-
calculators: BASE_CALCULATORS,
|
|
10736
10705
|
problemCreator: PROBLEM_CREATOR_IS
|
|
10737
10706
|
};
|
|
10738
10707
|
|
|
@@ -10902,7 +10871,6 @@ var LOCALE_TEACHERS_SV_FI = {
|
|
|
10902
10871
|
gradesModal: {
|
|
10903
10872
|
withOtherOption: false
|
|
10904
10873
|
},
|
|
10905
|
-
calculators: BASE_CALCULATORS,
|
|
10906
10874
|
problemCreator: PROBLEM_CREATOR_SV_FI
|
|
10907
10875
|
};
|
|
10908
10876
|
|
|
@@ -11062,7 +11030,6 @@ var LOCALE_TEACHERS_AT = {
|
|
|
11062
11030
|
gradesModal: {
|
|
11063
11031
|
withOtherOption: false
|
|
11064
11032
|
},
|
|
11065
|
-
calculators: BASE_CALCULATORS,
|
|
11066
11033
|
problemCreator: PROBLEM_CREATOR_AT
|
|
11067
11034
|
};
|
|
11068
11035
|
|
|
@@ -11242,7 +11209,6 @@ var LOCALE_TEACHERS_CH = {
|
|
|
11242
11209
|
gradesModal: {
|
|
11243
11210
|
withOtherOption: false
|
|
11244
11211
|
},
|
|
11245
|
-
calculators: BASE_CALCULATORS,
|
|
11246
11212
|
problemCreator: PROBLEM_CREATOR_CH
|
|
11247
11213
|
};
|
|
11248
11214
|
|
|
@@ -11403,7 +11369,6 @@ var LOCALE_TEACHERS_ES = {
|
|
|
11403
11369
|
gradesModal: {
|
|
11404
11370
|
withOtherOption: false
|
|
11405
11371
|
},
|
|
11406
|
-
calculators: BASE_CALCULATORS,
|
|
11407
11372
|
problemCreator: PROBLEM_CREATOR_ES
|
|
11408
11373
|
};
|
|
11409
11374
|
|
|
@@ -11583,7 +11548,6 @@ var LOCALE_TEACHERS_PT = {
|
|
|
11583
11548
|
gradesModal: {
|
|
11584
11549
|
withOtherOption: false
|
|
11585
11550
|
},
|
|
11586
|
-
calculators: BASE_CALCULATORS,
|
|
11587
11551
|
problemCreator: PROBLEM_CREATOR_PT
|
|
11588
11552
|
};
|
|
11589
11553
|
|
|
@@ -11936,7 +11900,6 @@ var AppConfigManager = class {
|
|
|
11936
11900
|
exports.AT_CALENDAR_CONFIG = AT_CALENDAR_CONFIG;
|
|
11937
11901
|
exports.AppConfigManager = AppConfigManager;
|
|
11938
11902
|
exports.CH_CALENDAR_CONFIG = CH_CALENDAR_CONFIG;
|
|
11939
|
-
exports.CalculatorType = CalculatorType;
|
|
11940
11903
|
exports.CalendarLocale = CalendarLocale;
|
|
11941
11904
|
exports.DE_CALENDAR_CONFIG = DE_CALENDAR_CONFIG;
|
|
11942
11905
|
exports.DK_CALENDAR_CONFIG = DK_CALENDAR_CONFIG;
|