@magmamath/frontend-config 1.6.0 → 1.7.0-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.
@@ -12,11 +12,6 @@ declare enum Environment {
12
12
  VENUS = "VENUS",
13
13
  PROD = "PROD"
14
14
  }
15
- declare enum HomeRegion {
16
- US_MAIN = "us-main",
17
- CA_MAIN = "ca-main",
18
- EU_MAIN = "eu-main"
19
- }
20
15
  declare enum PlatformBuildTarget {
21
16
  PLUTO = "pluto",
22
17
  MARS = "mars",
@@ -31,20 +26,11 @@ declare enum Locale {
31
26
  SCT = "en-SCT",
32
27
  DE = "de-DE",
33
28
  PL = "pl-PL",
34
- IT = "it-IT",
35
- FR = "fr-FR",
36
- DK = "da-DK",
37
- NO = "no-NO",
38
- NL = "nl-NL",
39
- FI = "fi-FI",
40
- NL_BE = "nl-BE",
41
- IE = "en-IE",
42
- IS = "is-IS",
43
- SV_FI = "sv-FI",
44
29
  AT = "de-AT",
45
30
  CH = "de-CH",
46
31
  ES = "es-ES",
47
- PT = "pt-PT"
32
+ PT = "pt-PT",
33
+ IQ = "ckb-IQ"
48
34
  }
49
35
  declare enum Source {
50
36
  MATTEAPPEN = 0,
@@ -89,10 +75,14 @@ declare enum SSO {
89
75
  CANVAS = "CANVAS",
90
76
  QR_CODE = "QR_CODE"
91
77
  }
78
+ declare enum ApiRegion {
79
+ MAIN = "MAIN",
80
+ CANADA = "CANADA"
81
+ }
92
82
  declare enum QRCodeSize {
93
83
  DEFAULT = "default",
94
84
  MEDIUM = "medium",
95
85
  LARGE = "large"
96
86
  }
97
87
 
98
- export { Environment as E, HomeRegion as H, LoginSource as L, Platform as P, QRCodeSize as Q, SSO as S, Locale as a, PlatformBuildTarget as b, Source as c };
88
+ export { ApiRegion as A, Environment as E, LoginSource as L, Platform as P, QRCodeSize as Q, SSO as S, Locale as a, PlatformBuildTarget as b, Source as c };
@@ -12,11 +12,6 @@ declare enum Environment {
12
12
  VENUS = "VENUS",
13
13
  PROD = "PROD"
14
14
  }
15
- declare enum HomeRegion {
16
- US_MAIN = "us-main",
17
- CA_MAIN = "ca-main",
18
- EU_MAIN = "eu-main"
19
- }
20
15
  declare enum PlatformBuildTarget {
21
16
  PLUTO = "pluto",
22
17
  MARS = "mars",
@@ -31,20 +26,11 @@ declare enum Locale {
31
26
  SCT = "en-SCT",
32
27
  DE = "de-DE",
33
28
  PL = "pl-PL",
34
- IT = "it-IT",
35
- FR = "fr-FR",
36
- DK = "da-DK",
37
- NO = "no-NO",
38
- NL = "nl-NL",
39
- FI = "fi-FI",
40
- NL_BE = "nl-BE",
41
- IE = "en-IE",
42
- IS = "is-IS",
43
- SV_FI = "sv-FI",
44
29
  AT = "de-AT",
45
30
  CH = "de-CH",
46
31
  ES = "es-ES",
47
- PT = "pt-PT"
32
+ PT = "pt-PT",
33
+ IQ = "ckb-IQ"
48
34
  }
49
35
  declare enum Source {
50
36
  MATTEAPPEN = 0,
@@ -89,10 +75,14 @@ declare enum SSO {
89
75
  CANVAS = "CANVAS",
90
76
  QR_CODE = "QR_CODE"
91
77
  }
78
+ declare enum ApiRegion {
79
+ MAIN = "MAIN",
80
+ CANADA = "CANADA"
81
+ }
92
82
  declare enum QRCodeSize {
93
83
  DEFAULT = "default",
94
84
  MEDIUM = "medium",
95
85
  LARGE = "large"
96
86
  }
97
87
 
98
- export { Environment as E, HomeRegion as H, LoginSource as L, Platform as P, QRCodeSize as Q, SSO as S, Locale as a, PlatformBuildTarget as b, Source as c };
88
+ export { ApiRegion as A, Environment as E, LoginSource as L, Platform as P, QRCodeSize as Q, SSO as S, Locale as a, PlatformBuildTarget as b, Source as c };
package/dist/index.d.mts CHANGED
@@ -1,16 +1,8 @@
1
- import { S as SSO, L as LoginSource, H as HomeRegion, E as Environment, a as Locale, P as Platform, b as PlatformBuildTarget, Q as QRCodeSize } from './common.constants-C63VsNO4.mjs';
2
- export { c as Source } from './common.constants-C63VsNO4.mjs';
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-CjiyQMVZ.mjs';
2
+ export { c as Source } from './common.constants-CjiyQMVZ.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",
@@ -41,26 +33,6 @@ declare const DateLocale: {
41
33
  readonly 'de-DE': "de";
42
34
  readonly PL: "pl";
43
35
  readonly 'pl-PL': "pl";
44
- readonly IT: "it";
45
- readonly 'it-IT': "it";
46
- readonly FR: "fr";
47
- readonly 'fr-FR': "fr";
48
- readonly DK: "da";
49
- readonly 'da-DK': "da";
50
- readonly NO: "no";
51
- readonly 'no-NO': "no";
52
- readonly NL: "nl";
53
- readonly 'nl-NL': "nl";
54
- readonly FI: "fi";
55
- readonly 'fi-FI': "fi";
56
- readonly NL_BE: "nl";
57
- readonly 'nl-BE': "nl";
58
- readonly IE: "en";
59
- readonly 'en-IE': "en";
60
- readonly IS: "is";
61
- readonly 'is-IS': "is";
62
- readonly SV_FI: "sv";
63
- readonly 'sv-FI': "sv";
64
36
  readonly AT: "de";
65
37
  readonly 'de-AT': "de";
66
38
  readonly CH: "de";
@@ -69,6 +41,8 @@ declare const DateLocale: {
69
41
  readonly 'es-ES': "es";
70
42
  readonly PT: "pt";
71
43
  readonly 'pt-PT': "pt";
44
+ readonly IQ: "ckb";
45
+ readonly 'ckb-IQ': "ckb";
72
46
  };
73
47
  type DateLocale = (typeof DateLocale)[keyof typeof DateLocale];
74
48
  declare const MomentDateLocale: {
@@ -76,20 +50,11 @@ declare const MomentDateLocale: {
76
50
  SE: string;
77
51
  DE: string;
78
52
  PL: string;
79
- IT: string;
80
- FR: string;
81
- DK: string;
82
- NO: string;
83
- NL: string;
84
- FI: string;
85
- NL_BE: string;
86
- IE: string;
87
- IS: string;
88
- SV_FI: string;
89
53
  AT: string;
90
54
  CH: string;
91
55
  ES: string;
92
56
  PT: string;
57
+ IQ: string;
93
58
  };
94
59
 
95
60
  declare enum MatrixMode {
@@ -305,24 +270,17 @@ declare enum TreeLevel {
305
270
 
306
271
  declare enum WeekStart {
307
272
  SUNDAY = 0,
308
- MONDAY = 1
273
+ MONDAY = 1,
274
+ SATURDAY = 6
309
275
  }
310
276
  declare enum CalendarLocale {
311
277
  EN = "en",
312
278
  SE = "sv",
313
279
  DE = "de",
314
280
  PL = "pl",
315
- IT = "it",
316
- FR = "fr",
317
- DK = "da",
318
- NO = "no",
319
- NL = "nl",
320
- FI = "fi",
321
- NL_BE = "nl-be",
322
- SV_FI = "sv-fi",
323
- IS = "is",
324
281
  ES = "es",
325
- PT = "pt"
282
+ PT = "pt",
283
+ IQ = "ckb"
326
284
  }
327
285
  type CalendarConfig = {
328
286
  locale: CalendarLocale;
@@ -341,15 +299,7 @@ declare const CH_CALENDAR_CONFIG: CalendarConfig;
341
299
  declare const ES_CALENDAR_CONFIG: CalendarConfig;
342
300
  declare const PT_CALENDAR_CONFIG: CalendarConfig;
343
301
  declare const PL_CALENDAR_CONFIG: CalendarConfig;
344
- declare const IT_CALENDAR_CONFIG: CalendarConfig;
345
- declare const FR_CALENDAR_CONFIG: CalendarConfig;
346
- declare const NO_CALENDAR_CONFIG: CalendarConfig;
347
- declare const NL_CALENDAR_CONFIG: CalendarConfig;
348
- declare const FI_CALENDAR_CONFIG: CalendarConfig;
349
- declare const NL_BE_CALENDAR_CONFIG: CalendarConfig;
350
- declare const SV_FI_CALENDAR_CONFIG: CalendarConfig;
351
- declare const DK_CALENDAR_CONFIG: CalendarConfig;
352
- declare const IS_CALENDAR_CONFIG: CalendarConfig;
302
+ declare const IQ_CALENDAR_CONFIG: CalendarConfig;
353
303
 
354
304
  type GradeData = {
355
305
  name: string;
@@ -407,17 +357,9 @@ type StudentsWebCommon = {
407
357
  };
408
358
  type StudentsWebVars = RegionSpecificVars & StudentsWebCommon;
409
359
  type StudentsWebVarsPreset = {
410
- [HomeRegion.US_MAIN]: {
411
- [key in Environment]: StudentsWebVars;
412
- };
413
- [HomeRegion.CA_MAIN]: {
360
+ [key in Locale]: {
414
361
  [key in Environment]: StudentsWebVars;
415
362
  };
416
- [HomeRegion.EU_MAIN]: {
417
- [key in Locale]: {
418
- [key in Environment]: StudentsWebVars;
419
- };
420
- };
421
363
  };
422
364
 
423
365
  type TeachersWebCommon = {
@@ -427,6 +369,7 @@ type TeachersWebCommon = {
427
369
  MYSCRIPT_REST_HMAC_KEY: string;
428
370
  PROBLEM_IMAGE_SIZE_LIMIT: number;
429
371
  INTERCOM_APP_ID: string;
372
+ CLARITY_PROJECT_ID: string;
430
373
  LOGGLY_CUSTOMER_TOKEN: string;
431
374
  TOLGEE_API_URL?: string;
432
375
  TOLGEE_API_KEY?: string;
@@ -435,40 +378,24 @@ type TeachersWebCommon = {
435
378
  };
436
379
  type TeachersWebVars = RegionSpecificVars & TeachersWebCommon;
437
380
  type TeachersWebVarsPreset = {
438
- [HomeRegion.US_MAIN]: {
381
+ [key in Locale]: {
439
382
  [key in Environment]: TeachersWebVars;
440
383
  };
441
- [HomeRegion.CA_MAIN]: {
442
- [key in Environment]: TeachersWebVars;
443
- };
444
- [HomeRegion.EU_MAIN]: {
445
- [key in Locale]: {
446
- [key in Environment]: TeachersWebVars;
447
- };
448
- };
449
384
  };
450
385
 
451
386
  type DistrictCommon = {
452
387
  CDN_HOST_TRANSLATIONS: string;
453
388
  INTERCOM_APP_ID: string;
454
- AMPLITUDE_API_KEY?: string;
389
+ CLARITY_PROJECT_ID: string;
455
390
  PROBLEM_IMAGE_SIZE_LIMIT: number;
456
391
  TOLGEE_API_URL?: string;
457
392
  TOLGEE_API_KEY?: string;
458
393
  };
459
394
  type DistrictDashboardVars = RegionSpecificVars & DistrictCommon;
460
395
  type DistrictWebVarsPreset = {
461
- [HomeRegion.US_MAIN]: {
462
- [key in Environment]: DistrictDashboardVars;
463
- };
464
- [HomeRegion.CA_MAIN]: {
396
+ [key in Locale]: {
465
397
  [key in Environment]: DistrictDashboardVars;
466
398
  };
467
- [HomeRegion.EU_MAIN]: {
468
- [key in Locale]: {
469
- [key in Environment]: DistrictDashboardVars;
470
- };
471
- };
472
399
  };
473
400
 
474
401
  type SSO_UK = {
@@ -498,46 +425,6 @@ type SSO_PL = {
498
425
  GOOGLE_AUTH: string;
499
426
  MICROSOFT_AUTH: string;
500
427
  };
501
- type SSO_IT = {
502
- GOOGLE_AUTH: string;
503
- MICROSOFT_AUTH: string;
504
- };
505
- type SSO_FR = {
506
- GOOGLE_AUTH: string;
507
- MICROSOFT_AUTH: string;
508
- };
509
- type SSO_DK = {
510
- GOOGLE_AUTH: string;
511
- MICROSOFT_AUTH: string;
512
- };
513
- type SSO_NO = {
514
- GOOGLE_AUTH: string;
515
- MICROSOFT_AUTH: string;
516
- };
517
- type SSO_NL = {
518
- GOOGLE_AUTH: string;
519
- MICROSOFT_AUTH: string;
520
- };
521
- type SSO_FI = {
522
- GOOGLE_AUTH: string;
523
- MICROSOFT_AUTH: string;
524
- };
525
- type SSO_NL_BE = {
526
- GOOGLE_AUTH: string;
527
- MICROSOFT_AUTH: string;
528
- };
529
- type SSO_IE = {
530
- GOOGLE_AUTH: string;
531
- MICROSOFT_AUTH: string;
532
- };
533
- type SSO_IS = {
534
- GOOGLE_AUTH: string;
535
- MICROSOFT_AUTH: string;
536
- };
537
- type SSO_SV_FI = {
538
- GOOGLE_AUTH: string;
539
- MICROSOFT_AUTH: string;
540
- };
541
428
  type SSO_AT = {
542
429
  GOOGLE_AUTH: string;
543
430
  MICROSOFT_AUTH: string;
@@ -554,7 +441,8 @@ type SSO_PT = {
554
441
  GOOGLE_AUTH: string;
555
442
  MICROSOFT_AUTH: string;
556
443
  };
557
- 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;
444
+ type SSO_IQ = {};
445
+ type SSOVariant = SSO_US | SSO_DE | SSO_UK | SSO_SE | SSO_PL | SSO_AT | SSO_CH | SSO_ES | SSO_PT | SSO_IQ;
558
446
  type SSOByLocale = {
559
447
  [Locale.US]: SSO_US;
560
448
  [Locale.CA]: SSO_US;
@@ -563,20 +451,11 @@ type SSOByLocale = {
563
451
  [Locale.SE]: SSO_SE;
564
452
  [Locale.DE]: SSO_DE;
565
453
  [Locale.PL]: SSO_PL;
566
- [Locale.IT]: SSO_IT;
567
- [Locale.FR]: SSO_FR;
568
- [Locale.DK]: SSO_DK;
569
- [Locale.NO]: SSO_NO;
570
- [Locale.NL]: SSO_NL;
571
- [Locale.FI]: SSO_FI;
572
- [Locale.NL_BE]: SSO_NL_BE;
573
- [Locale.IE]: SSO_IE;
574
- [Locale.IS]: SSO_IS;
575
- [Locale.SV_FI]: SSO_SV_FI;
576
454
  [Locale.AT]: SSO_AT;
577
455
  [Locale.CH]: SSO_CH;
578
456
  [Locale.ES]: SSO_ES;
579
457
  [Locale.PT]: SSO_PT;
458
+ [Locale.IQ]: SSO_IQ;
580
459
  };
581
460
 
582
461
  type Prettify<T> = T extends Function ? T : {
@@ -586,12 +465,12 @@ type Prettify<T> = T extends Function ? T : {
586
465
  type AuthWebVars<T extends SSOVariant> = Prettify<AuthWebBaseVars & T>;
587
466
  type AuthWebBaseVars = Omit<RegionSpecificVars, 'CDN_HOST' | 'LOGGLY_TAG' | 'SOCKET_URL' | 'WEBSOCKETS_URL'> & {
588
467
  TOS_URL: string;
589
- AMPLITUDE_API_KEY?: string;
468
+ CLARITY_PROJECT_ID: string;
590
469
  INTERCOM_APP_ID: string;
591
470
  TOLGEE_API_URL?: string;
592
471
  TOLGEE_API_KEY?: string;
593
472
  };
594
- type AuthWebEuLocalePreset = {
473
+ type AuthWebVarsPreset = {
595
474
  [Locale.CA]: {
596
475
  [key in Environment]: AuthWebVars<SSO_US>;
597
476
  };
@@ -613,36 +492,6 @@ type AuthWebEuLocalePreset = {
613
492
  [Locale.PL]: {
614
493
  [key in Environment]: AuthWebVars<SSO_PL>;
615
494
  };
616
- [Locale.IT]: {
617
- [key in Environment]: AuthWebVars<SSO_IT>;
618
- };
619
- [Locale.FR]: {
620
- [key in Environment]: AuthWebVars<SSO_FR>;
621
- };
622
- [Locale.DK]: {
623
- [key in Environment]: AuthWebVars<SSO_DK>;
624
- };
625
- [Locale.NO]: {
626
- [key in Environment]: AuthWebVars<SSO_NO>;
627
- };
628
- [Locale.NL]: {
629
- [key in Environment]: AuthWebVars<SSO_NL>;
630
- };
631
- [Locale.FI]: {
632
- [key in Environment]: AuthWebVars<SSO_FI>;
633
- };
634
- [Locale.NL_BE]: {
635
- [key in Environment]: AuthWebVars<SSO_NL_BE>;
636
- };
637
- [Locale.IE]: {
638
- [key in Environment]: AuthWebVars<SSO_IE>;
639
- };
640
- [Locale.IS]: {
641
- [key in Environment]: AuthWebVars<SSO_IS>;
642
- };
643
- [Locale.SV_FI]: {
644
- [key in Environment]: AuthWebVars<SSO_SV_FI>;
645
- };
646
495
  [Locale.AT]: {
647
496
  [key in Environment]: AuthWebVars<SSO_AT>;
648
497
  };
@@ -655,15 +504,9 @@ type AuthWebEuLocalePreset = {
655
504
  [Locale.PT]: {
656
505
  [key in Environment]: AuthWebVars<SSO_PT>;
657
506
  };
658
- };
659
- type AuthWebVarsPreset = {
660
- [HomeRegion.US_MAIN]: {
661
- [key in Environment]: AuthWebVars<SSO_US>;
662
- };
663
- [HomeRegion.CA_MAIN]: {
664
- [key in Environment]: AuthWebVars<SSO_US>;
507
+ [Locale.IQ]: {
508
+ [key in Environment]: AuthWebVars<SSO_IQ>;
665
509
  };
666
- [HomeRegion.EU_MAIN]: AuthWebEuLocalePreset;
667
510
  };
668
511
 
669
512
  type MobileCommon = {
@@ -696,7 +539,7 @@ type MobileBaseVars = {
696
539
  PROBLEM_CREATOR_URL: string;
697
540
  } & MobileCommon;
698
541
  type MobileVars<T extends SSOVariant> = Prettify<MobileBaseVars & T>;
699
- type MobileEuLocalePreset = {
542
+ type MobileVarsPreset = {
700
543
  [Locale.CA]: {
701
544
  [key in Environment]: MobileVars<SSO_US>;
702
545
  };
@@ -718,36 +561,6 @@ type MobileEuLocalePreset = {
718
561
  [Locale.PL]: {
719
562
  [key in Environment]: MobileVars<SSO_PL>;
720
563
  };
721
- [Locale.IT]: {
722
- [key in Environment]: MobileVars<SSO_IT>;
723
- };
724
- [Locale.FR]: {
725
- [key in Environment]: MobileVars<SSO_FR>;
726
- };
727
- [Locale.DK]: {
728
- [key in Environment]: MobileVars<SSO_DK>;
729
- };
730
- [Locale.NO]: {
731
- [key in Environment]: MobileVars<SSO_NO>;
732
- };
733
- [Locale.NL]: {
734
- [key in Environment]: MobileVars<SSO_NL>;
735
- };
736
- [Locale.FI]: {
737
- [key in Environment]: MobileVars<SSO_FI>;
738
- };
739
- [Locale.NL_BE]: {
740
- [key in Environment]: MobileVars<SSO_NL_BE>;
741
- };
742
- [Locale.IE]: {
743
- [key in Environment]: MobileVars<SSO_IE>;
744
- };
745
- [Locale.IS]: {
746
- [key in Environment]: MobileVars<SSO_IS>;
747
- };
748
- [Locale.SV_FI]: {
749
- [key in Environment]: MobileVars<SSO_SV_FI>;
750
- };
751
564
  [Locale.AT]: {
752
565
  [key in Environment]: MobileVars<SSO_AT>;
753
566
  };
@@ -760,15 +573,9 @@ type MobileEuLocalePreset = {
760
573
  [Locale.PT]: {
761
574
  [key in Environment]: MobileVars<SSO_PT>;
762
575
  };
763
- };
764
- type MobileVarsPreset = {
765
- [HomeRegion.US_MAIN]: {
766
- [key in Environment]: MobileVars<SSO_US>;
576
+ [Locale.IQ]: {
577
+ [key in Environment]: MobileVars<SSO_IQ>;
767
578
  };
768
- [HomeRegion.CA_MAIN]: {
769
- [key in Environment]: MobileVars<SSO_US>;
770
- };
771
- [HomeRegion.EU_MAIN]: MobileEuLocalePreset;
772
579
  };
773
580
 
774
581
  type RegionSpecificWebAdminVars = {
@@ -784,17 +591,9 @@ type WebAdminCommon = {
784
591
  };
785
592
  type WebAdminVars = RegionSpecificWebAdminVars & WebAdminCommon;
786
593
  type WebAdminVarsPreset = {
787
- [HomeRegion.US_MAIN]: {
788
- [key in Environment]: WebAdminVars;
789
- };
790
- [HomeRegion.CA_MAIN]: {
594
+ [key in Locale]: {
791
595
  [key in Environment]: WebAdminVars;
792
596
  };
793
- [HomeRegion.EU_MAIN]: {
794
- [key in Locale]: {
795
- [key in Environment]: WebAdminVars;
796
- };
797
- };
798
597
  };
799
598
 
800
599
  type ParentWebVars = {
@@ -803,17 +602,9 @@ type ParentWebVars = {
803
602
  AUTH_WEB_URL: string;
804
603
  };
805
604
  type ParentWebVarsPreset = {
806
- [HomeRegion.US_MAIN]: {
605
+ [key in Locale]: {
807
606
  [key in Environment]: ParentWebVars;
808
607
  };
809
- [HomeRegion.CA_MAIN]: {
810
- [key in Environment]: ParentWebVars;
811
- };
812
- [HomeRegion.EU_MAIN]: {
813
- [key in Locale]: {
814
- [key in Environment]: ParentWebVars;
815
- };
816
- };
817
608
  };
818
609
 
819
610
  type EnvPreset = Readonly<{
@@ -825,7 +616,7 @@ type EnvPreset = Readonly<{
825
616
  [Platform.MOBILE]: MobileVarsPreset;
826
617
  [Platform.PARENT_WEB]: ParentWebVarsPreset;
827
618
  }>;
828
- type EnvironmentVars<P extends Platform> = EnvPreset[P][HomeRegion.US_MAIN][Environment] | EnvPreset[P][HomeRegion.CA_MAIN][Environment] | EnvPreset[P][HomeRegion.EU_MAIN][Locale][Environment];
619
+ type EnvironmentVars<P extends Platform> = EnvPreset[P][Locale][Environment];
829
620
 
830
621
  declare function buildTargetToEnvironment(buildTarget: PlatformBuildTarget): Environment;
831
622
 
@@ -840,7 +631,8 @@ declare enum KeyboardCurrencyVariant {
840
631
  KRONE_EURO_POUND = "KroneEuroPound",
841
632
  EURO_DOLLAR_POUND = "EuroDollarPound",
842
633
  ZLOTY_GROSZ = "ZlotyGrosz",
843
- FRANC_RAPPEN = "FrancRappen"
634
+ FRANC_RAPPEN = "FrancRappen",
635
+ DINAR = "Dinar"
844
636
  }
845
637
  declare enum KeyboardTimeVariant {
846
638
  H12 = "H12",
@@ -854,7 +646,9 @@ declare enum DrawboardCoinVariant {
854
646
  CA = "ca",
855
647
  UK = "uk",
856
648
  SE = "se",
857
- PL = "pl"
649
+ PL = "pl",
650
+ CH = "ch",
651
+ IQ = "iq"
858
652
  }
859
653
 
860
654
  type KeyboardConfig = {
@@ -898,7 +692,8 @@ declare enum ProblemCreatorMathEntryVariant {
898
692
  POUND_PENCE = "PoundPence",
899
693
  EURO = "Euro",
900
694
  ZLOTY = "Zloty",
901
- FRANC = "Franc"
695
+ FRANC = "Franc",
696
+ DINAR = "Dinar"
902
697
  }
903
698
  declare enum ProblemCreatorDescriptionVariant {
904
699
  EXTENDED_MULT_BASIC_ROOTS = "ExtendedMultBasicRoots",
@@ -919,7 +714,6 @@ type ProblemCreatorConfig = {
919
714
  };
920
715
 
921
716
  type TeachersLocaleConfig = CommonLocaleConfig & {
922
- calculators: CalculatorType[];
923
717
  emails: {
924
718
  studentsList: string;
925
719
  };
@@ -984,7 +778,7 @@ type WebAdminLocaleConfig = {
984
778
  locale: Locale;
985
779
  isPrimaryRegion: boolean;
986
780
  regionGroup: string;
987
- homeRegion: HomeRegion;
781
+ apiRegion: ApiRegion;
988
782
  };
989
783
 
990
784
  type DateConfig = Readonly<{
@@ -1074,14 +868,12 @@ type DevOverrides<P extends Platform> = {
1074
868
  type ConfigOptions<P extends Platform> = {
1075
869
  platform: P;
1076
870
  environment: Environment;
1077
- homeRegion?: HomeRegion;
1078
871
  _DEV_OVERRIDES_?: DevOverrides<P>;
1079
872
  };
1080
873
  type SetProps<L extends Locale> = {
1081
874
  locale?: L;
1082
875
  envsRegion?: L;
1083
876
  environment?: Environment;
1084
- homeRegion?: HomeRegion;
1085
877
  };
1086
878
  declare class AppConfigManager<P extends Platform, L extends Locale> {
1087
879
  private readonly _DEV_OVERRIDES_?;
@@ -1089,7 +881,6 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
1089
881
  environment: Environment;
1090
882
  locale: L;
1091
883
  envsRegion: L;
1092
- homeRegion: HomeRegion;
1093
884
  private readonly setEnvs;
1094
885
  private readonly setLocaleConfig;
1095
886
  readonly $envs: effector.StoreWritable<EnvironmentVars<P>>;
@@ -1104,7 +895,6 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
1104
895
  isPolish: boolean;
1105
896
  }>;
1106
897
  constructor(opts: ConfigOptions<P>);
1107
- private readonly resolveEnvs;
1108
898
  private readonly syncConfigsStores;
1109
899
  readonly set: (props: SetProps<L>) => void;
1110
900
  getEnvs: () => EnvironmentVars<P>;
@@ -1128,4 +918,4 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
1128
918
  };
1129
919
  }
1130
920
 
1131
- 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, 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 };
921
+ export { AT_CALENDAR_CONFIG, ApiRegion, AppConfigManager, type AuthWebBaseVars, type AuthWebVars, type AuthWebVarsPreset, CH_CALENDAR_CONFIG, type CalendarConfig, CalendarLocale, type CommonGrades, DE_CALENDAR_CONFIG, DateFormat, DateLocale, type DistrictCommon, type DistrictDashboardVars, type DistrictLocaleConfig, type DistrictWebVarsPreset, DrawboardCoinVariant, EN_CALENDAR_CONFIG, ES_CALENDAR_CONFIG, type EnvPreset, Environment, type EnvironmentVars, Grade, type GradeData, type HighSchoolGrades, IQ_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 MobileLocaleConfig, type MobileVars, type MobileVarsPreset, MomentDateLocale, MultiplicationSymbol, 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_ES, type SSO_IQ, type SSO_PL, type SSO_PT, 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 };