@magmamath/frontend-config 1.7.1 → 1.7.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/index.d.mts +17 -2
- package/dist/index.d.ts +17 -2
- package/dist/index.js +76 -52
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +74 -53
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -131,6 +131,8 @@ declare enum Grade {
|
|
|
131
131
|
HSN = "HSN",
|
|
132
132
|
K = "K"
|
|
133
133
|
}
|
|
134
|
+
declare const HIGH_SCHOOL_STRING_GRADES: ReadonlySet<Grade>;
|
|
135
|
+
type NumericGrade = Exclude<Grade, Grade.K | Grade.HS | Grade.HSG | Grade.HSA | Grade.HSS | Grade.HSF | Grade.HSN>;
|
|
134
136
|
|
|
135
137
|
declare enum NumberDecimalSeparator {
|
|
136
138
|
DOT = ".",
|
|
@@ -1037,6 +1039,15 @@ declare enum MultiplicationSymbol {
|
|
|
1037
1039
|
TIMES = "TIMES"
|
|
1038
1040
|
}
|
|
1039
1041
|
|
|
1042
|
+
type MultiplicationGradeRule = {
|
|
1043
|
+
fromGrade: NumericGrade;
|
|
1044
|
+
symbol: MultiplicationSymbol;
|
|
1045
|
+
};
|
|
1046
|
+
type MultiplicationConfig = {
|
|
1047
|
+
default: MultiplicationSymbol;
|
|
1048
|
+
byGrade?: MultiplicationGradeRule[];
|
|
1049
|
+
};
|
|
1050
|
+
|
|
1040
1051
|
type CommonLocaleConfig = Readonly<{
|
|
1041
1052
|
name: string;
|
|
1042
1053
|
languageName: string;
|
|
@@ -1051,7 +1062,7 @@ type CommonLocaleConfig = Readonly<{
|
|
|
1051
1062
|
groupingSeparator: NumberGroupingSeparator;
|
|
1052
1063
|
};
|
|
1053
1064
|
mathSymbols: {
|
|
1054
|
-
multiplication:
|
|
1065
|
+
multiplication: MultiplicationConfig;
|
|
1055
1066
|
};
|
|
1056
1067
|
}>;
|
|
1057
1068
|
type LocalePreset = {
|
|
@@ -1086,6 +1097,10 @@ type DistrictLocaleConfig = CommonLocaleConfig & {
|
|
|
1086
1097
|
problemCreator: ProblemCreatorConfig;
|
|
1087
1098
|
};
|
|
1088
1099
|
|
|
1100
|
+
declare const getMultiplicationSymbol: (config: MultiplicationConfig, grade: Grade | number | null) => MultiplicationSymbol;
|
|
1101
|
+
|
|
1102
|
+
declare const isHighSchoolStringGrade: (grade: Grade | number | null) => boolean;
|
|
1103
|
+
|
|
1089
1104
|
type DevOverrides<P extends Platform> = {
|
|
1090
1105
|
[K in Locale]?: Partial<EnvironmentVars<P>>;
|
|
1091
1106
|
};
|
|
@@ -1146,4 +1161,4 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
1146
1161
|
};
|
|
1147
1162
|
}
|
|
1148
1163
|
|
|
1149
|
-
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, DrawboardCoinVariant, EN_CALENDAR_CONFIG, ES_CALENDAR_CONFIG, type EnvPreset, Environment, type EnvironmentVars, FI_CALENDAR_CONFIG, FR_CALENDAR_CONFIG, Grade, type GradeData, 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, 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_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 };
|
|
1164
|
+
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, 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, 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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -131,6 +131,8 @@ declare enum Grade {
|
|
|
131
131
|
HSN = "HSN",
|
|
132
132
|
K = "K"
|
|
133
133
|
}
|
|
134
|
+
declare const HIGH_SCHOOL_STRING_GRADES: ReadonlySet<Grade>;
|
|
135
|
+
type NumericGrade = Exclude<Grade, Grade.K | Grade.HS | Grade.HSG | Grade.HSA | Grade.HSS | Grade.HSF | Grade.HSN>;
|
|
134
136
|
|
|
135
137
|
declare enum NumberDecimalSeparator {
|
|
136
138
|
DOT = ".",
|
|
@@ -1037,6 +1039,15 @@ declare enum MultiplicationSymbol {
|
|
|
1037
1039
|
TIMES = "TIMES"
|
|
1038
1040
|
}
|
|
1039
1041
|
|
|
1042
|
+
type MultiplicationGradeRule = {
|
|
1043
|
+
fromGrade: NumericGrade;
|
|
1044
|
+
symbol: MultiplicationSymbol;
|
|
1045
|
+
};
|
|
1046
|
+
type MultiplicationConfig = {
|
|
1047
|
+
default: MultiplicationSymbol;
|
|
1048
|
+
byGrade?: MultiplicationGradeRule[];
|
|
1049
|
+
};
|
|
1050
|
+
|
|
1040
1051
|
type CommonLocaleConfig = Readonly<{
|
|
1041
1052
|
name: string;
|
|
1042
1053
|
languageName: string;
|
|
@@ -1051,7 +1062,7 @@ type CommonLocaleConfig = Readonly<{
|
|
|
1051
1062
|
groupingSeparator: NumberGroupingSeparator;
|
|
1052
1063
|
};
|
|
1053
1064
|
mathSymbols: {
|
|
1054
|
-
multiplication:
|
|
1065
|
+
multiplication: MultiplicationConfig;
|
|
1055
1066
|
};
|
|
1056
1067
|
}>;
|
|
1057
1068
|
type LocalePreset = {
|
|
@@ -1086,6 +1097,10 @@ type DistrictLocaleConfig = CommonLocaleConfig & {
|
|
|
1086
1097
|
problemCreator: ProblemCreatorConfig;
|
|
1087
1098
|
};
|
|
1088
1099
|
|
|
1100
|
+
declare const getMultiplicationSymbol: (config: MultiplicationConfig, grade: Grade | number | null) => MultiplicationSymbol;
|
|
1101
|
+
|
|
1102
|
+
declare const isHighSchoolStringGrade: (grade: Grade | number | null) => boolean;
|
|
1103
|
+
|
|
1089
1104
|
type DevOverrides<P extends Platform> = {
|
|
1090
1105
|
[K in Locale]?: Partial<EnvironmentVars<P>>;
|
|
1091
1106
|
};
|
|
@@ -1146,4 +1161,4 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
1146
1161
|
};
|
|
1147
1162
|
}
|
|
1148
1163
|
|
|
1149
|
-
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, DrawboardCoinVariant, EN_CALENDAR_CONFIG, ES_CALENDAR_CONFIG, type EnvPreset, Environment, type EnvironmentVars, FI_CALENDAR_CONFIG, FR_CALENDAR_CONFIG, Grade, type GradeData, 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, 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_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 };
|
|
1164
|
+
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, 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, 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 };
|
package/dist/index.js
CHANGED
|
@@ -219,38 +219,46 @@ var MatrixMode = /* @__PURE__ */ ((MatrixMode2) => {
|
|
|
219
219
|
})(MatrixMode || {});
|
|
220
220
|
|
|
221
221
|
// src/shared/constants/grades.constants.ts
|
|
222
|
-
var Grade = /* @__PURE__ */ ((
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
return
|
|
222
|
+
var Grade = /* @__PURE__ */ ((Grade3) => {
|
|
223
|
+
Grade3[Grade3["OTHER"] = -1] = "OTHER";
|
|
224
|
+
Grade3[Grade3["ZERO"] = 0] = "ZERO";
|
|
225
|
+
Grade3[Grade3["ONE"] = 1] = "ONE";
|
|
226
|
+
Grade3[Grade3["TWO"] = 2] = "TWO";
|
|
227
|
+
Grade3[Grade3["THREE"] = 3] = "THREE";
|
|
228
|
+
Grade3[Grade3["FOUR"] = 4] = "FOUR";
|
|
229
|
+
Grade3[Grade3["FIVE"] = 5] = "FIVE";
|
|
230
|
+
Grade3[Grade3["SIX"] = 6] = "SIX";
|
|
231
|
+
Grade3[Grade3["SEVEN"] = 7] = "SEVEN";
|
|
232
|
+
Grade3[Grade3["EIGHT"] = 8] = "EIGHT";
|
|
233
|
+
Grade3[Grade3["NINE"] = 9] = "NINE";
|
|
234
|
+
Grade3[Grade3["TEN"] = 10] = "TEN";
|
|
235
|
+
Grade3[Grade3["ELEVEN"] = 11] = "ELEVEN";
|
|
236
|
+
Grade3[Grade3["TWELVE"] = 12] = "TWELVE";
|
|
237
|
+
Grade3[Grade3["THIRTEEN"] = 13] = "THIRTEEN";
|
|
238
|
+
Grade3[Grade3["ALGEBRA_1"] = 21] = "ALGEBRA_1";
|
|
239
|
+
Grade3[Grade3["GEOMETRY"] = 22] = "GEOMETRY";
|
|
240
|
+
Grade3[Grade3["ALGEBRA_2"] = 23] = "ALGEBRA_2";
|
|
241
|
+
Grade3[Grade3["INTEGRATED_MATH_I"] = 24] = "INTEGRATED_MATH_I";
|
|
242
|
+
Grade3[Grade3["INTEGRATED_MATH_II"] = 25] = "INTEGRATED_MATH_II";
|
|
243
|
+
Grade3[Grade3["INTEGRATED_MATH_III"] = 26] = "INTEGRATED_MATH_III";
|
|
244
|
+
Grade3[Grade3["PRECALCULUS"] = 27] = "PRECALCULUS";
|
|
245
|
+
Grade3["HS"] = "HS";
|
|
246
|
+
Grade3["HSG"] = "HSG";
|
|
247
|
+
Grade3["HSA"] = "HSA";
|
|
248
|
+
Grade3["HSS"] = "HSS";
|
|
249
|
+
Grade3["HSF"] = "HSF";
|
|
250
|
+
Grade3["HSN"] = "HSN";
|
|
251
|
+
Grade3["K"] = "K";
|
|
252
|
+
return Grade3;
|
|
253
253
|
})(Grade || {});
|
|
254
|
+
var HIGH_SCHOOL_STRING_GRADES = /* @__PURE__ */ new Set([
|
|
255
|
+
"HS" /* HS */,
|
|
256
|
+
"HSG" /* HSG */,
|
|
257
|
+
"HSA" /* HSA */,
|
|
258
|
+
"HSS" /* HSS */,
|
|
259
|
+
"HSF" /* HSF */,
|
|
260
|
+
"HSN" /* HSN */
|
|
261
|
+
]);
|
|
254
262
|
|
|
255
263
|
// src/shared/constants/numbers.constants.ts
|
|
256
264
|
var NumberDecimalSeparator = /* @__PURE__ */ ((NumberDecimalSeparator2) => {
|
|
@@ -1404,6 +1412,16 @@ var MultiplicationSymbol = /* @__PURE__ */ ((MultiplicationSymbol2) => {
|
|
|
1404
1412
|
return MultiplicationSymbol2;
|
|
1405
1413
|
})(MultiplicationSymbol || {});
|
|
1406
1414
|
|
|
1415
|
+
// src/shared/helpers/grades.helpers.ts
|
|
1416
|
+
var isHighSchoolStringGrade = (grade) => typeof grade === "string" && HIGH_SCHOOL_STRING_GRADES.has(grade);
|
|
1417
|
+
|
|
1418
|
+
// src/shared/helpers/mathSymbols.helpers.ts
|
|
1419
|
+
var getMultiplicationSymbol = (config, grade) => {
|
|
1420
|
+
if (grade === null || !config.byGrade?.length) return config.default;
|
|
1421
|
+
const matchedRule = config.byGrade.filter((rule) => isHighSchoolStringGrade(grade) || typeof grade === "number" && grade >= rule.fromGrade).sort((a, b) => b.fromGrade - a.fromGrade)[0];
|
|
1422
|
+
return matchedRule?.symbol ?? config.default;
|
|
1423
|
+
};
|
|
1424
|
+
|
|
1407
1425
|
// src/configs/env/platform.urls.ts
|
|
1408
1426
|
var PLATFORM_URLS = {
|
|
1409
1427
|
MARS: {
|
|
@@ -7817,7 +7835,10 @@ var LOCALE_COMMON_US = {
|
|
|
7817
7835
|
decimalSeparator: "." /* DOT */
|
|
7818
7836
|
},
|
|
7819
7837
|
mathSymbols: {
|
|
7820
|
-
multiplication:
|
|
7838
|
+
multiplication: {
|
|
7839
|
+
default: "TIMES" /* TIMES */,
|
|
7840
|
+
byGrade: [{ fromGrade: 6 /* SIX */, symbol: "CDOT" /* CDOT */ }]
|
|
7841
|
+
}
|
|
7821
7842
|
}
|
|
7822
7843
|
};
|
|
7823
7844
|
|
|
@@ -7873,7 +7894,7 @@ var LOCALE_COMMON_SE = {
|
|
|
7873
7894
|
decimalSeparator: "," /* COMMA */
|
|
7874
7895
|
},
|
|
7875
7896
|
mathSymbols: {
|
|
7876
|
-
multiplication: "CDOT" /* CDOT */
|
|
7897
|
+
multiplication: { default: "CDOT" /* CDOT */ }
|
|
7877
7898
|
}
|
|
7878
7899
|
};
|
|
7879
7900
|
|
|
@@ -7921,7 +7942,7 @@ var LOCALE_COMMON_GB = {
|
|
|
7921
7942
|
decimalSeparator: "." /* DOT */
|
|
7922
7943
|
},
|
|
7923
7944
|
mathSymbols: {
|
|
7924
|
-
multiplication: "TIMES" /* TIMES */
|
|
7945
|
+
multiplication: { default: "TIMES" /* TIMES */ }
|
|
7925
7946
|
}
|
|
7926
7947
|
};
|
|
7927
7948
|
|
|
@@ -7968,7 +7989,7 @@ var LOCALE_COMMON_CA = {
|
|
|
7968
7989
|
decimalSeparator: "." /* DOT */
|
|
7969
7990
|
},
|
|
7970
7991
|
mathSymbols: {
|
|
7971
|
-
multiplication: "TIMES" /* TIMES */
|
|
7992
|
+
multiplication: { default: "TIMES" /* TIMES */ }
|
|
7972
7993
|
}
|
|
7973
7994
|
};
|
|
7974
7995
|
|
|
@@ -8001,7 +8022,7 @@ var LOCALE_COMMON_SCT = {
|
|
|
8001
8022
|
decimalSeparator: "." /* DOT */
|
|
8002
8023
|
},
|
|
8003
8024
|
mathSymbols: {
|
|
8004
|
-
multiplication: "TIMES" /* TIMES */
|
|
8025
|
+
multiplication: { default: "TIMES" /* TIMES */ }
|
|
8005
8026
|
}
|
|
8006
8027
|
};
|
|
8007
8028
|
|
|
@@ -8030,7 +8051,7 @@ var LOCALE_COMMON_DE = {
|
|
|
8030
8051
|
decimalSeparator: "," /* COMMA */
|
|
8031
8052
|
},
|
|
8032
8053
|
mathSymbols: {
|
|
8033
|
-
multiplication: "
|
|
8054
|
+
multiplication: { default: "CDOT" /* CDOT */ }
|
|
8034
8055
|
}
|
|
8035
8056
|
};
|
|
8036
8057
|
|
|
@@ -9410,7 +9431,7 @@ var LOCALE_COMMON_PL = {
|
|
|
9410
9431
|
decimalSeparator: "," /* COMMA */
|
|
9411
9432
|
},
|
|
9412
9433
|
mathSymbols: {
|
|
9413
|
-
multiplication: "
|
|
9434
|
+
multiplication: { default: "CDOT" /* CDOT */ }
|
|
9414
9435
|
}
|
|
9415
9436
|
};
|
|
9416
9437
|
|
|
@@ -9574,7 +9595,7 @@ var LOCALE_COMMON_IT = {
|
|
|
9574
9595
|
decimalSeparator: "," /* COMMA */
|
|
9575
9596
|
},
|
|
9576
9597
|
mathSymbols: {
|
|
9577
|
-
multiplication: "
|
|
9598
|
+
multiplication: { default: "CDOT" /* CDOT */ }
|
|
9578
9599
|
}
|
|
9579
9600
|
};
|
|
9580
9601
|
|
|
@@ -9740,7 +9761,7 @@ var LOCALE_COMMON_FR = {
|
|
|
9740
9761
|
decimalSeparator: "," /* COMMA */
|
|
9741
9762
|
},
|
|
9742
9763
|
mathSymbols: {
|
|
9743
|
-
multiplication: "
|
|
9764
|
+
multiplication: { default: "CDOT" /* CDOT */ }
|
|
9744
9765
|
}
|
|
9745
9766
|
};
|
|
9746
9767
|
|
|
@@ -9906,7 +9927,7 @@ var LOCALE_COMMON_DK = {
|
|
|
9906
9927
|
decimalSeparator: "," /* COMMA */
|
|
9907
9928
|
},
|
|
9908
9929
|
mathSymbols: {
|
|
9909
|
-
multiplication: "CDOT" /* CDOT */
|
|
9930
|
+
multiplication: { default: "CDOT" /* CDOT */ }
|
|
9910
9931
|
}
|
|
9911
9932
|
};
|
|
9912
9933
|
|
|
@@ -10074,7 +10095,7 @@ var LOCALE_COMMON_NO = {
|
|
|
10074
10095
|
decimalSeparator: "," /* COMMA */
|
|
10075
10096
|
},
|
|
10076
10097
|
mathSymbols: {
|
|
10077
|
-
multiplication: "CDOT" /* CDOT */
|
|
10098
|
+
multiplication: { default: "CDOT" /* CDOT */ }
|
|
10078
10099
|
}
|
|
10079
10100
|
};
|
|
10080
10101
|
|
|
@@ -10244,7 +10265,7 @@ var LOCALE_COMMON_NL = {
|
|
|
10244
10265
|
decimalSeparator: "," /* COMMA */
|
|
10245
10266
|
},
|
|
10246
10267
|
mathSymbols: {
|
|
10247
|
-
multiplication: "
|
|
10268
|
+
multiplication: { default: "CDOT" /* CDOT */ }
|
|
10248
10269
|
}
|
|
10249
10270
|
};
|
|
10250
10271
|
|
|
@@ -10412,7 +10433,7 @@ var LOCALE_COMMON_FI = {
|
|
|
10412
10433
|
decimalSeparator: "," /* COMMA */
|
|
10413
10434
|
},
|
|
10414
10435
|
mathSymbols: {
|
|
10415
|
-
multiplication: "CDOT" /* CDOT */
|
|
10436
|
+
multiplication: { default: "CDOT" /* CDOT */ }
|
|
10416
10437
|
}
|
|
10417
10438
|
};
|
|
10418
10439
|
|
|
@@ -10580,7 +10601,7 @@ var LOCALE_COMMON_NL_BE = {
|
|
|
10580
10601
|
decimalSeparator: "," /* COMMA */
|
|
10581
10602
|
},
|
|
10582
10603
|
mathSymbols: {
|
|
10583
|
-
multiplication: "
|
|
10604
|
+
multiplication: { default: "CDOT" /* CDOT */ }
|
|
10584
10605
|
}
|
|
10585
10606
|
};
|
|
10586
10607
|
|
|
@@ -10746,7 +10767,7 @@ var LOCALE_COMMON_IE = {
|
|
|
10746
10767
|
decimalSeparator: "." /* DOT */
|
|
10747
10768
|
},
|
|
10748
10769
|
mathSymbols: {
|
|
10749
|
-
multiplication: "TIMES" /* TIMES */
|
|
10770
|
+
multiplication: { default: "TIMES" /* TIMES */ }
|
|
10750
10771
|
}
|
|
10751
10772
|
};
|
|
10752
10773
|
|
|
@@ -10912,7 +10933,7 @@ var LOCALE_COMMON_IS = {
|
|
|
10912
10933
|
decimalSeparator: "," /* COMMA */
|
|
10913
10934
|
},
|
|
10914
10935
|
mathSymbols: {
|
|
10915
|
-
multiplication: "CDOT" /* CDOT */
|
|
10936
|
+
multiplication: { default: "CDOT" /* CDOT */ }
|
|
10916
10937
|
}
|
|
10917
10938
|
};
|
|
10918
10939
|
|
|
@@ -11082,7 +11103,7 @@ var LOCALE_COMMON_SV_FI = {
|
|
|
11082
11103
|
decimalSeparator: "," /* COMMA */
|
|
11083
11104
|
},
|
|
11084
11105
|
mathSymbols: {
|
|
11085
|
-
multiplication: "CDOT" /* CDOT */
|
|
11106
|
+
multiplication: { default: "CDOT" /* CDOT */ }
|
|
11086
11107
|
}
|
|
11087
11108
|
};
|
|
11088
11109
|
|
|
@@ -11242,7 +11263,7 @@ var LOCALE_COMMON_AT = {
|
|
|
11242
11263
|
decimalSeparator: "," /* COMMA */
|
|
11243
11264
|
},
|
|
11244
11265
|
mathSymbols: {
|
|
11245
|
-
multiplication: "
|
|
11266
|
+
multiplication: { default: "CDOT" /* CDOT */ }
|
|
11246
11267
|
}
|
|
11247
11268
|
};
|
|
11248
11269
|
|
|
@@ -11422,7 +11443,7 @@ var LOCALE_COMMON_CH = {
|
|
|
11422
11443
|
decimalSeparator: "." /* DOT */
|
|
11423
11444
|
},
|
|
11424
11445
|
mathSymbols: {
|
|
11425
|
-
multiplication: "CDOT" /* CDOT */
|
|
11446
|
+
multiplication: { default: "CDOT" /* CDOT */ }
|
|
11426
11447
|
}
|
|
11427
11448
|
};
|
|
11428
11449
|
|
|
@@ -11583,7 +11604,7 @@ var LOCALE_COMMON_ES = {
|
|
|
11583
11604
|
decimalSeparator: "," /* COMMA */
|
|
11584
11605
|
},
|
|
11585
11606
|
mathSymbols: {
|
|
11586
|
-
multiplication: "CDOT" /* CDOT */
|
|
11607
|
+
multiplication: { default: "CDOT" /* CDOT */ }
|
|
11587
11608
|
}
|
|
11588
11609
|
};
|
|
11589
11610
|
|
|
@@ -11763,7 +11784,7 @@ var LOCALE_COMMON_PT = {
|
|
|
11763
11784
|
decimalSeparator: "," /* COMMA */
|
|
11764
11785
|
},
|
|
11765
11786
|
mathSymbols: {
|
|
11766
|
-
multiplication: "CDOT" /* CDOT */
|
|
11787
|
+
multiplication: { default: "CDOT" /* CDOT */ }
|
|
11767
11788
|
}
|
|
11768
11789
|
};
|
|
11769
11790
|
|
|
@@ -12325,6 +12346,7 @@ exports.Environment = Environment;
|
|
|
12325
12346
|
exports.FI_CALENDAR_CONFIG = FI_CALENDAR_CONFIG;
|
|
12326
12347
|
exports.FR_CALENDAR_CONFIG = FR_CALENDAR_CONFIG;
|
|
12327
12348
|
exports.Grade = Grade;
|
|
12349
|
+
exports.HIGH_SCHOOL_STRING_GRADES = HIGH_SCHOOL_STRING_GRADES;
|
|
12328
12350
|
exports.HomeRegion = HomeRegion;
|
|
12329
12351
|
exports.IQ_CALENDAR_CONFIG = IQ_CALENDAR_CONFIG;
|
|
12330
12352
|
exports.IS_CALENDAR_CONFIG = IS_CALENDAR_CONFIG;
|
|
@@ -12362,5 +12384,7 @@ exports.Source = Source;
|
|
|
12362
12384
|
exports.TTSOverrideSymbol = TTSOverrideSymbol;
|
|
12363
12385
|
exports.TreeLevel = TreeLevel;
|
|
12364
12386
|
exports.buildTargetToEnvironment = buildTargetToEnvironment;
|
|
12387
|
+
exports.getMultiplicationSymbol = getMultiplicationSymbol;
|
|
12388
|
+
exports.isHighSchoolStringGrade = isHighSchoolStringGrade;
|
|
12365
12389
|
//# sourceMappingURL=index.js.map
|
|
12366
12390
|
//# sourceMappingURL=index.js.map
|