@magmamath/frontend-config 1.7.11-rc.0 → 1.7.11

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.
@@ -25,6 +25,7 @@ declare enum PlatformBuildTarget {
25
25
  }
26
26
  declare enum Locale {
27
27
  US = "en-SE",
28
+ HAW = "haw-US",
28
29
  SE = "sv-SE",
29
30
  GB = "en-GB",
30
31
  CA = "en-CA",
@@ -25,6 +25,7 @@ declare enum PlatformBuildTarget {
25
25
  }
26
26
  declare enum Locale {
27
27
  US = "en-SE",
28
+ HAW = "haw-US",
28
29
  SE = "sv-SE",
29
30
  GB = "en-GB",
30
31
  CA = "en-CA",
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
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';
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-qGUYqeWj.mjs';
2
+ export { c as Source } from './common.constants-qGUYqeWj.mjs';
3
3
  import { ComponentType } from 'react';
4
4
  import * as effector from 'effector';
5
5
 
@@ -28,6 +28,8 @@ declare enum DateFormat {
28
28
  }
29
29
  declare const DateLocale: {
30
30
  readonly US: "en";
31
+ readonly HAW: "en";
32
+ readonly 'haw-US': "en";
31
33
  readonly SV: "sv";
32
34
  readonly 'en-SE': "en";
33
35
  readonly 'sv-SE': "sv";
@@ -315,6 +317,7 @@ declare enum WeekStart {
315
317
  }
316
318
  declare enum CalendarLocale {
317
319
  EN = "en",
320
+ HAW = "haw",
318
321
  SE = "sv",
319
322
  DE = "de",
320
323
  PL = "pl",
@@ -357,6 +360,7 @@ declare const NL_BE_CALENDAR_CONFIG: CalendarConfig;
357
360
  declare const SV_FI_CALENDAR_CONFIG: CalendarConfig;
358
361
  declare const DK_CALENDAR_CONFIG: CalendarConfig;
359
362
  declare const IS_CALENDAR_CONFIG: CalendarConfig;
363
+ declare const HAW_CALENDAR_CONFIG: CalendarConfig;
360
364
  declare const IQ_CALENDAR_CONFIG: CalendarConfig;
361
365
 
362
366
  type GradeData = {
@@ -470,9 +474,11 @@ type SSO_PT = {
470
474
  MICROSOFT_AUTH: string;
471
475
  };
472
476
  type SSO_IQ = {};
473
- type SSOVariant = SSO_US | SSO_DE | SSO_UK | SSO_SE | SSO_PL | SSO_IT | SSO_FR | SSO_DK | SSO_NO | SSO_NL | SSO_FI | SSO_NL_BE | SSO_IE | SSO_IS | SSO_SV_FI | SSO_AT | SSO_CH | SSO_ES | SSO_PT | SSO_IQ;
477
+ type SSO_HAW = {};
478
+ type SSOVariant = SSO_US | SSO_DE | SSO_UK | SSO_SE | SSO_PL | SSO_IT | SSO_FR | SSO_DK | SSO_NO | SSO_NL | SSO_FI | SSO_NL_BE | SSO_IE | SSO_IS | SSO_SV_FI | SSO_AT | SSO_CH | SSO_ES | SSO_PT | SSO_IQ | SSO_HAW;
474
479
  type SSOByLocale = {
475
480
  [Locale.US]: SSO_US;
481
+ [Locale.HAW]: SSO_HAW;
476
482
  [Locale.CA]: SSO_US;
477
483
  [Locale.GB]: SSO_UK;
478
484
  [Locale.SCT]: SSO_UK;
@@ -675,6 +681,9 @@ type AuthWebEuLocalePreset = {
675
681
  [Locale.CA]: {
676
682
  [key in Environment]: AuthWebVars<SSO_US>;
677
683
  };
684
+ [Locale.HAW]: {
685
+ [key in Environment]: AuthWebVars<SSO_HAW>;
686
+ };
678
687
  [Locale.DE]: {
679
688
  [key in Environment]: AuthWebVars<SSO_DE>;
680
689
  };
@@ -784,6 +793,9 @@ type MobileEuLocalePreset = {
784
793
  [Locale.CA]: {
785
794
  [key in Environment]: MobileVars<SSO_US>;
786
795
  };
796
+ [Locale.HAW]: {
797
+ [key in Environment]: MobileVars<SSO_HAW>;
798
+ };
787
799
  [Locale.DE]: {
788
800
  [key in Environment]: MobileVars<SSO_DE>;
789
801
  };
@@ -1247,4 +1259,4 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
1247
1259
  };
1248
1260
  }
1249
1261
 
1250
- export { AT_CALENDAR_CONFIG, AppConfigManager, type AuthWebBaseVars, type AuthWebCommonMars, 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 DistrictCommonMars, 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 ParentWebCommonMars, 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 StudentsWebCommonMars, type StudentsWebVars, type StudentsWebVarsPreset, TTSOverrideSymbol, type TeachersLocaleConfig, type TeachersWebCommon, type TeachersWebCommonMars, type TeachersWebVars, type TeachersWebVarsPreset, TreeLevel, buildTargetToEnvironment, getMultiplicationSymbol, getVidisLogoutUrl, isHighSchoolStringGrade };
1262
+ export { AT_CALENDAR_CONFIG, AppConfigManager, type AuthWebBaseVars, type AuthWebCommonMars, 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 DistrictCommonMars, 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, HAW_CALENDAR_CONFIG, 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 ParentWebCommonMars, 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_HAW, 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 StudentsWebCommonMars, type StudentsWebVars, type StudentsWebVarsPreset, TTSOverrideSymbol, type TeachersLocaleConfig, type TeachersWebCommon, type TeachersWebCommonMars, 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, 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';
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-qGUYqeWj.js';
2
+ export { c as Source } from './common.constants-qGUYqeWj.js';
3
3
  import { ComponentType } from 'react';
4
4
  import * as effector from 'effector';
5
5
 
@@ -28,6 +28,8 @@ declare enum DateFormat {
28
28
  }
29
29
  declare const DateLocale: {
30
30
  readonly US: "en";
31
+ readonly HAW: "en";
32
+ readonly 'haw-US': "en";
31
33
  readonly SV: "sv";
32
34
  readonly 'en-SE': "en";
33
35
  readonly 'sv-SE': "sv";
@@ -315,6 +317,7 @@ declare enum WeekStart {
315
317
  }
316
318
  declare enum CalendarLocale {
317
319
  EN = "en",
320
+ HAW = "haw",
318
321
  SE = "sv",
319
322
  DE = "de",
320
323
  PL = "pl",
@@ -357,6 +360,7 @@ declare const NL_BE_CALENDAR_CONFIG: CalendarConfig;
357
360
  declare const SV_FI_CALENDAR_CONFIG: CalendarConfig;
358
361
  declare const DK_CALENDAR_CONFIG: CalendarConfig;
359
362
  declare const IS_CALENDAR_CONFIG: CalendarConfig;
363
+ declare const HAW_CALENDAR_CONFIG: CalendarConfig;
360
364
  declare const IQ_CALENDAR_CONFIG: CalendarConfig;
361
365
 
362
366
  type GradeData = {
@@ -470,9 +474,11 @@ type SSO_PT = {
470
474
  MICROSOFT_AUTH: string;
471
475
  };
472
476
  type SSO_IQ = {};
473
- type SSOVariant = SSO_US | SSO_DE | SSO_UK | SSO_SE | SSO_PL | SSO_IT | SSO_FR | SSO_DK | SSO_NO | SSO_NL | SSO_FI | SSO_NL_BE | SSO_IE | SSO_IS | SSO_SV_FI | SSO_AT | SSO_CH | SSO_ES | SSO_PT | SSO_IQ;
477
+ type SSO_HAW = {};
478
+ type SSOVariant = SSO_US | SSO_DE | SSO_UK | SSO_SE | SSO_PL | SSO_IT | SSO_FR | SSO_DK | SSO_NO | SSO_NL | SSO_FI | SSO_NL_BE | SSO_IE | SSO_IS | SSO_SV_FI | SSO_AT | SSO_CH | SSO_ES | SSO_PT | SSO_IQ | SSO_HAW;
474
479
  type SSOByLocale = {
475
480
  [Locale.US]: SSO_US;
481
+ [Locale.HAW]: SSO_HAW;
476
482
  [Locale.CA]: SSO_US;
477
483
  [Locale.GB]: SSO_UK;
478
484
  [Locale.SCT]: SSO_UK;
@@ -675,6 +681,9 @@ type AuthWebEuLocalePreset = {
675
681
  [Locale.CA]: {
676
682
  [key in Environment]: AuthWebVars<SSO_US>;
677
683
  };
684
+ [Locale.HAW]: {
685
+ [key in Environment]: AuthWebVars<SSO_HAW>;
686
+ };
678
687
  [Locale.DE]: {
679
688
  [key in Environment]: AuthWebVars<SSO_DE>;
680
689
  };
@@ -784,6 +793,9 @@ type MobileEuLocalePreset = {
784
793
  [Locale.CA]: {
785
794
  [key in Environment]: MobileVars<SSO_US>;
786
795
  };
796
+ [Locale.HAW]: {
797
+ [key in Environment]: MobileVars<SSO_HAW>;
798
+ };
787
799
  [Locale.DE]: {
788
800
  [key in Environment]: MobileVars<SSO_DE>;
789
801
  };
@@ -1247,4 +1259,4 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
1247
1259
  };
1248
1260
  }
1249
1261
 
1250
- export { AT_CALENDAR_CONFIG, AppConfigManager, type AuthWebBaseVars, type AuthWebCommonMars, 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 DistrictCommonMars, 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 ParentWebCommonMars, 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 StudentsWebCommonMars, type StudentsWebVars, type StudentsWebVarsPreset, TTSOverrideSymbol, type TeachersLocaleConfig, type TeachersWebCommon, type TeachersWebCommonMars, type TeachersWebVars, type TeachersWebVarsPreset, TreeLevel, buildTargetToEnvironment, getMultiplicationSymbol, getVidisLogoutUrl, isHighSchoolStringGrade };
1262
+ export { AT_CALENDAR_CONFIG, AppConfigManager, type AuthWebBaseVars, type AuthWebCommonMars, 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 DistrictCommonMars, 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, HAW_CALENDAR_CONFIG, 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 ParentWebCommonMars, 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_HAW, 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 StudentsWebCommonMars, type StudentsWebVars, type StudentsWebVarsPreset, TTSOverrideSymbol, type TeachersLocaleConfig, type TeachersWebCommon, type TeachersWebCommonMars, type TeachersWebVars, type TeachersWebVarsPreset, TreeLevel, buildTargetToEnvironment, getMultiplicationSymbol, getVidisLogoutUrl, isHighSchoolStringGrade };