@magmamath/frontend-config 1.7.3 → 1.7.5-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 +12 -1
- package/dist/index.d.ts +12 -1
- package/dist/index.js +323 -842
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +323 -843
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -709,6 +709,7 @@ type MobileBaseVars = {
|
|
|
709
709
|
PROBLEM_CREATOR_URL: string;
|
|
710
710
|
} & MobileCommon;
|
|
711
711
|
type MobileVars<T extends SSOVariant> = Prettify<MobileBaseVars & T>;
|
|
712
|
+
type MobileCommonMars = MobileCommon & Pick<MobileBaseVars, 'API_URL' | 'CDN_HOST' | 'SOCKET_URL' | 'WEBSOCKETS_URL'>;
|
|
712
713
|
type MobileEuLocalePreset = {
|
|
713
714
|
[Locale.CA]: {
|
|
714
715
|
[key in Environment]: MobileVars<SSO_US>;
|
|
@@ -876,6 +877,15 @@ declare enum DrawboardCoinVariant {
|
|
|
876
877
|
CH = "ch",
|
|
877
878
|
IQ = "iq"
|
|
878
879
|
}
|
|
880
|
+
declare enum DrawBoardSectionName {
|
|
881
|
+
ALGEBRA = "ALGEBRA",
|
|
882
|
+
ALGEBRA_SIMPLE = "ALGEBRA_SIMPLE"
|
|
883
|
+
}
|
|
884
|
+
type ManipulativeOverride = {
|
|
885
|
+
grades: number[];
|
|
886
|
+
sections: DrawBoardSectionName[];
|
|
887
|
+
shapes: string[];
|
|
888
|
+
};
|
|
879
889
|
|
|
880
890
|
type KeyboardConfig = {
|
|
881
891
|
preset: KeyboardPreset;
|
|
@@ -896,6 +906,7 @@ type StudentsLocaleConfig = CommonLocaleConfig & {
|
|
|
896
906
|
drawboard: {
|
|
897
907
|
basicManipulativesMaxGrade: number;
|
|
898
908
|
coinVariant: DrawboardCoinVariant;
|
|
909
|
+
manipulativeOverrides?: ManipulativeOverride[];
|
|
899
910
|
};
|
|
900
911
|
exampleSolutions: {
|
|
901
912
|
languageName: string;
|
|
@@ -1162,4 +1173,4 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
1162
1173
|
};
|
|
1163
1174
|
}
|
|
1164
1175
|
|
|
1165
|
-
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 };
|
|
1176
|
+
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 MobileCommonMars, 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
|
@@ -709,6 +709,7 @@ type MobileBaseVars = {
|
|
|
709
709
|
PROBLEM_CREATOR_URL: string;
|
|
710
710
|
} & MobileCommon;
|
|
711
711
|
type MobileVars<T extends SSOVariant> = Prettify<MobileBaseVars & T>;
|
|
712
|
+
type MobileCommonMars = MobileCommon & Pick<MobileBaseVars, 'API_URL' | 'CDN_HOST' | 'SOCKET_URL' | 'WEBSOCKETS_URL'>;
|
|
712
713
|
type MobileEuLocalePreset = {
|
|
713
714
|
[Locale.CA]: {
|
|
714
715
|
[key in Environment]: MobileVars<SSO_US>;
|
|
@@ -876,6 +877,15 @@ declare enum DrawboardCoinVariant {
|
|
|
876
877
|
CH = "ch",
|
|
877
878
|
IQ = "iq"
|
|
878
879
|
}
|
|
880
|
+
declare enum DrawBoardSectionName {
|
|
881
|
+
ALGEBRA = "ALGEBRA",
|
|
882
|
+
ALGEBRA_SIMPLE = "ALGEBRA_SIMPLE"
|
|
883
|
+
}
|
|
884
|
+
type ManipulativeOverride = {
|
|
885
|
+
grades: number[];
|
|
886
|
+
sections: DrawBoardSectionName[];
|
|
887
|
+
shapes: string[];
|
|
888
|
+
};
|
|
879
889
|
|
|
880
890
|
type KeyboardConfig = {
|
|
881
891
|
preset: KeyboardPreset;
|
|
@@ -896,6 +906,7 @@ type StudentsLocaleConfig = CommonLocaleConfig & {
|
|
|
896
906
|
drawboard: {
|
|
897
907
|
basicManipulativesMaxGrade: number;
|
|
898
908
|
coinVariant: DrawboardCoinVariant;
|
|
909
|
+
manipulativeOverrides?: ManipulativeOverride[];
|
|
899
910
|
};
|
|
900
911
|
exampleSolutions: {
|
|
901
912
|
languageName: string;
|
|
@@ -1162,4 +1173,4 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
1162
1173
|
};
|
|
1163
1174
|
}
|
|
1164
1175
|
|
|
1165
|
-
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 };
|
|
1176
|
+
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 MobileCommonMars, 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 };
|