@magmamath/frontend-config 1.4.0-rc.0 → 1.4.0-rc.1
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/{common.constants-CI3y8sgm.d.mts → common.constants-4kbCK3_q.d.mts} +14 -1
- package/dist/{common.constants-CI3y8sgm.d.ts → common.constants-4kbCK3_q.d.ts} +14 -1
- package/dist/index.d.mts +186 -7
- package/dist/index.d.ts +186 -7
- package/dist/index.js +7968 -1721
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7957 -1722
- package/dist/index.mjs.map +1 -1
- package/dist/translation/index.d.mts +1 -1
- package/dist/translation/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -26,7 +26,20 @@ declare enum Locale {
|
|
|
26
26
|
SCT = "en-SCT",
|
|
27
27
|
DE = "de-DE",
|
|
28
28
|
PL = "pl-PL",
|
|
29
|
-
IT = "it-IT"
|
|
29
|
+
IT = "it-IT",
|
|
30
|
+
FR = "fr-FR",
|
|
31
|
+
DK = "da-DK",
|
|
32
|
+
NO = "no-NO",
|
|
33
|
+
NL = "nl-NL",
|
|
34
|
+
FI = "fi-FI",
|
|
35
|
+
NL_BE = "nl-BE",
|
|
36
|
+
IE = "en-IE",
|
|
37
|
+
IS = "is-IS",
|
|
38
|
+
SV_FI = "sv-FI",
|
|
39
|
+
AT = "de-AT",
|
|
40
|
+
CH = "de-CH",
|
|
41
|
+
ES = "es-ES",
|
|
42
|
+
PT = "pt-PT"
|
|
30
43
|
}
|
|
31
44
|
declare enum Source {
|
|
32
45
|
MATTEAPPEN = 0,
|
|
@@ -26,7 +26,20 @@ declare enum Locale {
|
|
|
26
26
|
SCT = "en-SCT",
|
|
27
27
|
DE = "de-DE",
|
|
28
28
|
PL = "pl-PL",
|
|
29
|
-
IT = "it-IT"
|
|
29
|
+
IT = "it-IT",
|
|
30
|
+
FR = "fr-FR",
|
|
31
|
+
DK = "da-DK",
|
|
32
|
+
NO = "no-NO",
|
|
33
|
+
NL = "nl-NL",
|
|
34
|
+
FI = "fi-FI",
|
|
35
|
+
NL_BE = "nl-BE",
|
|
36
|
+
IE = "en-IE",
|
|
37
|
+
IS = "is-IS",
|
|
38
|
+
SV_FI = "sv-FI",
|
|
39
|
+
AT = "de-AT",
|
|
40
|
+
CH = "de-CH",
|
|
41
|
+
ES = "es-ES",
|
|
42
|
+
PT = "pt-PT"
|
|
30
43
|
}
|
|
31
44
|
declare enum Source {
|
|
32
45
|
MATTEAPPEN = 0,
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
2
|
-
export { c as Source } from './common.constants-
|
|
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-4kbCK3_q.mjs';
|
|
2
|
+
export { c as Source } from './common.constants-4kbCK3_q.mjs';
|
|
3
3
|
import { ComponentType } from 'react';
|
|
4
4
|
import * as effector from 'effector';
|
|
5
5
|
|
|
@@ -35,6 +35,32 @@ declare const DateLocale: {
|
|
|
35
35
|
readonly 'pl-PL': "pl";
|
|
36
36
|
readonly IT: "it";
|
|
37
37
|
readonly 'it-IT': "it";
|
|
38
|
+
readonly FR: "fr";
|
|
39
|
+
readonly 'fr-FR': "fr";
|
|
40
|
+
readonly DK: "da";
|
|
41
|
+
readonly 'da-DK': "da";
|
|
42
|
+
readonly NO: "no";
|
|
43
|
+
readonly 'no-NO': "no";
|
|
44
|
+
readonly NL: "nl";
|
|
45
|
+
readonly 'nl-NL': "nl";
|
|
46
|
+
readonly FI: "fi";
|
|
47
|
+
readonly 'fi-FI': "fi";
|
|
48
|
+
readonly NL_BE: "nl";
|
|
49
|
+
readonly 'nl-BE': "nl";
|
|
50
|
+
readonly IE: "en";
|
|
51
|
+
readonly 'en-IE': "en";
|
|
52
|
+
readonly IS: "is";
|
|
53
|
+
readonly 'is-IS': "is";
|
|
54
|
+
readonly SV_FI: "sv";
|
|
55
|
+
readonly 'sv-FI': "sv";
|
|
56
|
+
readonly AT: "de";
|
|
57
|
+
readonly 'de-AT': "de";
|
|
58
|
+
readonly CH: "de";
|
|
59
|
+
readonly 'de-CH': "de";
|
|
60
|
+
readonly ES: "es";
|
|
61
|
+
readonly 'es-ES': "es";
|
|
62
|
+
readonly PT: "pt";
|
|
63
|
+
readonly 'pt-PT': "pt";
|
|
38
64
|
};
|
|
39
65
|
type DateLocale = (typeof DateLocale)[keyof typeof DateLocale];
|
|
40
66
|
declare const MomentDateLocale: {
|
|
@@ -43,6 +69,19 @@ declare const MomentDateLocale: {
|
|
|
43
69
|
DE: string;
|
|
44
70
|
PL: string;
|
|
45
71
|
IT: string;
|
|
72
|
+
FR: string;
|
|
73
|
+
DK: string;
|
|
74
|
+
NO: string;
|
|
75
|
+
NL: string;
|
|
76
|
+
FI: string;
|
|
77
|
+
NL_BE: string;
|
|
78
|
+
IE: string;
|
|
79
|
+
IS: string;
|
|
80
|
+
SV_FI: string;
|
|
81
|
+
AT: string;
|
|
82
|
+
CH: string;
|
|
83
|
+
ES: string;
|
|
84
|
+
PT: string;
|
|
46
85
|
};
|
|
47
86
|
|
|
48
87
|
declare enum MatrixMode {
|
|
@@ -265,7 +304,17 @@ declare enum CalendarLocale {
|
|
|
265
304
|
SE = "sv",
|
|
266
305
|
DE = "de",
|
|
267
306
|
PL = "pl",
|
|
268
|
-
IT = "it"
|
|
307
|
+
IT = "it",
|
|
308
|
+
FR = "fr",
|
|
309
|
+
DK = "da",
|
|
310
|
+
NO = "no",
|
|
311
|
+
NL = "nl",
|
|
312
|
+
FI = "fi",
|
|
313
|
+
NL_BE = "nl-be",
|
|
314
|
+
SV_FI = "sv-fi",
|
|
315
|
+
IS = "is",
|
|
316
|
+
ES = "es",
|
|
317
|
+
PT = "pt"
|
|
269
318
|
}
|
|
270
319
|
type CalendarConfig = {
|
|
271
320
|
locale: CalendarLocale;
|
|
@@ -279,8 +328,20 @@ type CalendarConfig = {
|
|
|
279
328
|
declare const EN_CALENDAR_CONFIG: CalendarConfig;
|
|
280
329
|
declare const SE_CALENDAR_CONFIG: CalendarConfig;
|
|
281
330
|
declare const DE_CALENDAR_CONFIG: CalendarConfig;
|
|
331
|
+
declare const AT_CALENDAR_CONFIG: CalendarConfig;
|
|
332
|
+
declare const CH_CALENDAR_CONFIG: CalendarConfig;
|
|
333
|
+
declare const ES_CALENDAR_CONFIG: CalendarConfig;
|
|
334
|
+
declare const PT_CALENDAR_CONFIG: CalendarConfig;
|
|
282
335
|
declare const PL_CALENDAR_CONFIG: CalendarConfig;
|
|
283
336
|
declare const IT_CALENDAR_CONFIG: CalendarConfig;
|
|
337
|
+
declare const FR_CALENDAR_CONFIG: CalendarConfig;
|
|
338
|
+
declare const NO_CALENDAR_CONFIG: CalendarConfig;
|
|
339
|
+
declare const NL_CALENDAR_CONFIG: CalendarConfig;
|
|
340
|
+
declare const FI_CALENDAR_CONFIG: CalendarConfig;
|
|
341
|
+
declare const NL_BE_CALENDAR_CONFIG: CalendarConfig;
|
|
342
|
+
declare const SV_FI_CALENDAR_CONFIG: CalendarConfig;
|
|
343
|
+
declare const DK_CALENDAR_CONFIG: CalendarConfig;
|
|
344
|
+
declare const IS_CALENDAR_CONFIG: CalendarConfig;
|
|
284
345
|
|
|
285
346
|
type GradeData = {
|
|
286
347
|
name: string;
|
|
@@ -407,7 +468,32 @@ type SSO_PL = {
|
|
|
407
468
|
MICROSOFT_AUTH: string;
|
|
408
469
|
};
|
|
409
470
|
type SSO_IT = {};
|
|
410
|
-
type
|
|
471
|
+
type SSO_FR = {};
|
|
472
|
+
type SSO_DK = {};
|
|
473
|
+
type SSO_NO = {};
|
|
474
|
+
type SSO_NL = {};
|
|
475
|
+
type SSO_FI = {};
|
|
476
|
+
type SSO_NL_BE = {};
|
|
477
|
+
type SSO_IE = {};
|
|
478
|
+
type SSO_IS = {};
|
|
479
|
+
type SSO_SV_FI = {};
|
|
480
|
+
type SSO_AT = {
|
|
481
|
+
GOOGLE_AUTH: string;
|
|
482
|
+
MICROSOFT_AUTH: string;
|
|
483
|
+
};
|
|
484
|
+
type SSO_CH = {
|
|
485
|
+
GOOGLE_AUTH: string;
|
|
486
|
+
MICROSOFT_AUTH: string;
|
|
487
|
+
};
|
|
488
|
+
type SSO_ES = {
|
|
489
|
+
GOOGLE_AUTH: string;
|
|
490
|
+
MICROSOFT_AUTH: string;
|
|
491
|
+
};
|
|
492
|
+
type SSO_PT = {
|
|
493
|
+
GOOGLE_AUTH: string;
|
|
494
|
+
MICROSOFT_AUTH: string;
|
|
495
|
+
};
|
|
496
|
+
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;
|
|
411
497
|
type SSOByLocale = {
|
|
412
498
|
[Locale.US]: SSO_US;
|
|
413
499
|
[Locale.CA]: SSO_US;
|
|
@@ -417,6 +503,19 @@ type SSOByLocale = {
|
|
|
417
503
|
[Locale.DE]: SSO_DE;
|
|
418
504
|
[Locale.PL]: SSO_PL;
|
|
419
505
|
[Locale.IT]: SSO_IT;
|
|
506
|
+
[Locale.FR]: SSO_FR;
|
|
507
|
+
[Locale.DK]: SSO_DK;
|
|
508
|
+
[Locale.NO]: SSO_NO;
|
|
509
|
+
[Locale.NL]: SSO_NL;
|
|
510
|
+
[Locale.FI]: SSO_FI;
|
|
511
|
+
[Locale.NL_BE]: SSO_NL_BE;
|
|
512
|
+
[Locale.IE]: SSO_IE;
|
|
513
|
+
[Locale.IS]: SSO_IS;
|
|
514
|
+
[Locale.SV_FI]: SSO_SV_FI;
|
|
515
|
+
[Locale.AT]: SSO_AT;
|
|
516
|
+
[Locale.CH]: SSO_CH;
|
|
517
|
+
[Locale.ES]: SSO_ES;
|
|
518
|
+
[Locale.PT]: SSO_PT;
|
|
420
519
|
};
|
|
421
520
|
|
|
422
521
|
type Prettify<T> = T extends Function ? T : {
|
|
@@ -456,6 +555,45 @@ type AuthWebVarsPreset = {
|
|
|
456
555
|
[Locale.IT]: {
|
|
457
556
|
[key in Environment]: AuthWebVars<SSO_IT>;
|
|
458
557
|
};
|
|
558
|
+
[Locale.FR]: {
|
|
559
|
+
[key in Environment]: AuthWebVars<SSO_FR>;
|
|
560
|
+
};
|
|
561
|
+
[Locale.DK]: {
|
|
562
|
+
[key in Environment]: AuthWebVars<SSO_DK>;
|
|
563
|
+
};
|
|
564
|
+
[Locale.NO]: {
|
|
565
|
+
[key in Environment]: AuthWebVars<SSO_NO>;
|
|
566
|
+
};
|
|
567
|
+
[Locale.NL]: {
|
|
568
|
+
[key in Environment]: AuthWebVars<SSO_NL>;
|
|
569
|
+
};
|
|
570
|
+
[Locale.FI]: {
|
|
571
|
+
[key in Environment]: AuthWebVars<SSO_FI>;
|
|
572
|
+
};
|
|
573
|
+
[Locale.NL_BE]: {
|
|
574
|
+
[key in Environment]: AuthWebVars<SSO_NL_BE>;
|
|
575
|
+
};
|
|
576
|
+
[Locale.IE]: {
|
|
577
|
+
[key in Environment]: AuthWebVars<SSO_IE>;
|
|
578
|
+
};
|
|
579
|
+
[Locale.IS]: {
|
|
580
|
+
[key in Environment]: AuthWebVars<SSO_IS>;
|
|
581
|
+
};
|
|
582
|
+
[Locale.SV_FI]: {
|
|
583
|
+
[key in Environment]: AuthWebVars<SSO_SV_FI>;
|
|
584
|
+
};
|
|
585
|
+
[Locale.AT]: {
|
|
586
|
+
[key in Environment]: AuthWebVars<SSO_AT>;
|
|
587
|
+
};
|
|
588
|
+
[Locale.CH]: {
|
|
589
|
+
[key in Environment]: AuthWebVars<SSO_CH>;
|
|
590
|
+
};
|
|
591
|
+
[Locale.ES]: {
|
|
592
|
+
[key in Environment]: AuthWebVars<SSO_ES>;
|
|
593
|
+
};
|
|
594
|
+
[Locale.PT]: {
|
|
595
|
+
[key in Environment]: AuthWebVars<SSO_PT>;
|
|
596
|
+
};
|
|
459
597
|
};
|
|
460
598
|
|
|
461
599
|
type MobileCommon = {
|
|
@@ -513,6 +651,45 @@ type MobileVarsPreset = {
|
|
|
513
651
|
[Locale.IT]: {
|
|
514
652
|
[key in Environment]: MobileVars<SSO_IT>;
|
|
515
653
|
};
|
|
654
|
+
[Locale.FR]: {
|
|
655
|
+
[key in Environment]: MobileVars<SSO_FR>;
|
|
656
|
+
};
|
|
657
|
+
[Locale.DK]: {
|
|
658
|
+
[key in Environment]: MobileVars<SSO_DK>;
|
|
659
|
+
};
|
|
660
|
+
[Locale.NO]: {
|
|
661
|
+
[key in Environment]: MobileVars<SSO_NO>;
|
|
662
|
+
};
|
|
663
|
+
[Locale.NL]: {
|
|
664
|
+
[key in Environment]: MobileVars<SSO_NL>;
|
|
665
|
+
};
|
|
666
|
+
[Locale.FI]: {
|
|
667
|
+
[key in Environment]: MobileVars<SSO_FI>;
|
|
668
|
+
};
|
|
669
|
+
[Locale.NL_BE]: {
|
|
670
|
+
[key in Environment]: MobileVars<SSO_NL_BE>;
|
|
671
|
+
};
|
|
672
|
+
[Locale.IE]: {
|
|
673
|
+
[key in Environment]: MobileVars<SSO_IE>;
|
|
674
|
+
};
|
|
675
|
+
[Locale.IS]: {
|
|
676
|
+
[key in Environment]: MobileVars<SSO_IS>;
|
|
677
|
+
};
|
|
678
|
+
[Locale.SV_FI]: {
|
|
679
|
+
[key in Environment]: MobileVars<SSO_SV_FI>;
|
|
680
|
+
};
|
|
681
|
+
[Locale.AT]: {
|
|
682
|
+
[key in Environment]: MobileVars<SSO_AT>;
|
|
683
|
+
};
|
|
684
|
+
[Locale.CH]: {
|
|
685
|
+
[key in Environment]: MobileVars<SSO_CH>;
|
|
686
|
+
};
|
|
687
|
+
[Locale.ES]: {
|
|
688
|
+
[key in Environment]: MobileVars<SSO_ES>;
|
|
689
|
+
};
|
|
690
|
+
[Locale.PT]: {
|
|
691
|
+
[key in Environment]: MobileVars<SSO_PT>;
|
|
692
|
+
};
|
|
516
693
|
};
|
|
517
694
|
|
|
518
695
|
type RegionSpecificWebAdminVars = {
|
|
@@ -567,7 +744,8 @@ declare enum KeyboardCurrencyVariant {
|
|
|
567
744
|
POUND_PENCE = "PoundPence",
|
|
568
745
|
KRONE_EURO_POUND = "KroneEuroPound",
|
|
569
746
|
EURO_DOLLAR_POUND = "EuroDollarPound",
|
|
570
|
-
ZLOTY_GROSZ = "ZlotyGrosz"
|
|
747
|
+
ZLOTY_GROSZ = "ZlotyGrosz",
|
|
748
|
+
FRANC_RAPPEN = "FrancRappen"
|
|
571
749
|
}
|
|
572
750
|
declare enum KeyboardTimeVariant {
|
|
573
751
|
H12 = "H12",
|
|
@@ -624,7 +802,8 @@ declare enum ProblemCreatorMathEntryVariant {
|
|
|
624
802
|
KRONE = "Krone",
|
|
625
803
|
POUND_PENCE = "PoundPence",
|
|
626
804
|
EURO = "Euro",
|
|
627
|
-
ZLOTY = "Zloty"
|
|
805
|
+
ZLOTY = "Zloty",
|
|
806
|
+
FRANC = "Franc"
|
|
628
807
|
}
|
|
629
808
|
declare enum ProblemCreatorDescriptionVariant {
|
|
630
809
|
EXTENDED_MULT_BASIC_ROOTS = "ExtendedMultBasicRoots",
|
|
@@ -849,4 +1028,4 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
849
1028
|
};
|
|
850
1029
|
}
|
|
851
1030
|
|
|
852
|
-
export { ApiRegion, AppConfigManager, type AuthWebBaseVars, type AuthWebVars, type AuthWebVarsPreset, type CalendarConfig, CalendarLocale, type CommonGrades, DE_CALENDAR_CONFIG, DateFormat, DateLocale, type DistrictCommon, type DistrictDashboardVars, type DistrictLocaleConfig, type DistrictWebVarsPreset, DrawboardCoinVariant, EN_CALENDAR_CONFIG, type EnvPreset, Environment, type EnvironmentVars, Grade, type GradeData, type HighSchoolGrades, 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 MobileLocaleConfig, type MobileVars, type MobileVarsPreset, MomentDateLocale, MultiplicationSymbol, NumberDecimalSeparator, NumberGroupingSeparator, PL_CALENDAR_CONFIG, PRIORITY_LANGUAGES, 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_DE, type SSO_IT, type SSO_PL, 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 };
|
|
1031
|
+
export { AT_CALENDAR_CONFIG, ApiRegion, AppConfigManager, type AuthWebBaseVars, 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, 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 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
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
2
|
-
export { c as Source } from './common.constants-
|
|
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-4kbCK3_q.js';
|
|
2
|
+
export { c as Source } from './common.constants-4kbCK3_q.js';
|
|
3
3
|
import { ComponentType } from 'react';
|
|
4
4
|
import * as effector from 'effector';
|
|
5
5
|
|
|
@@ -35,6 +35,32 @@ declare const DateLocale: {
|
|
|
35
35
|
readonly 'pl-PL': "pl";
|
|
36
36
|
readonly IT: "it";
|
|
37
37
|
readonly 'it-IT': "it";
|
|
38
|
+
readonly FR: "fr";
|
|
39
|
+
readonly 'fr-FR': "fr";
|
|
40
|
+
readonly DK: "da";
|
|
41
|
+
readonly 'da-DK': "da";
|
|
42
|
+
readonly NO: "no";
|
|
43
|
+
readonly 'no-NO': "no";
|
|
44
|
+
readonly NL: "nl";
|
|
45
|
+
readonly 'nl-NL': "nl";
|
|
46
|
+
readonly FI: "fi";
|
|
47
|
+
readonly 'fi-FI': "fi";
|
|
48
|
+
readonly NL_BE: "nl";
|
|
49
|
+
readonly 'nl-BE': "nl";
|
|
50
|
+
readonly IE: "en";
|
|
51
|
+
readonly 'en-IE': "en";
|
|
52
|
+
readonly IS: "is";
|
|
53
|
+
readonly 'is-IS': "is";
|
|
54
|
+
readonly SV_FI: "sv";
|
|
55
|
+
readonly 'sv-FI': "sv";
|
|
56
|
+
readonly AT: "de";
|
|
57
|
+
readonly 'de-AT': "de";
|
|
58
|
+
readonly CH: "de";
|
|
59
|
+
readonly 'de-CH': "de";
|
|
60
|
+
readonly ES: "es";
|
|
61
|
+
readonly 'es-ES': "es";
|
|
62
|
+
readonly PT: "pt";
|
|
63
|
+
readonly 'pt-PT': "pt";
|
|
38
64
|
};
|
|
39
65
|
type DateLocale = (typeof DateLocale)[keyof typeof DateLocale];
|
|
40
66
|
declare const MomentDateLocale: {
|
|
@@ -43,6 +69,19 @@ declare const MomentDateLocale: {
|
|
|
43
69
|
DE: string;
|
|
44
70
|
PL: string;
|
|
45
71
|
IT: string;
|
|
72
|
+
FR: string;
|
|
73
|
+
DK: string;
|
|
74
|
+
NO: string;
|
|
75
|
+
NL: string;
|
|
76
|
+
FI: string;
|
|
77
|
+
NL_BE: string;
|
|
78
|
+
IE: string;
|
|
79
|
+
IS: string;
|
|
80
|
+
SV_FI: string;
|
|
81
|
+
AT: string;
|
|
82
|
+
CH: string;
|
|
83
|
+
ES: string;
|
|
84
|
+
PT: string;
|
|
46
85
|
};
|
|
47
86
|
|
|
48
87
|
declare enum MatrixMode {
|
|
@@ -265,7 +304,17 @@ declare enum CalendarLocale {
|
|
|
265
304
|
SE = "sv",
|
|
266
305
|
DE = "de",
|
|
267
306
|
PL = "pl",
|
|
268
|
-
IT = "it"
|
|
307
|
+
IT = "it",
|
|
308
|
+
FR = "fr",
|
|
309
|
+
DK = "da",
|
|
310
|
+
NO = "no",
|
|
311
|
+
NL = "nl",
|
|
312
|
+
FI = "fi",
|
|
313
|
+
NL_BE = "nl-be",
|
|
314
|
+
SV_FI = "sv-fi",
|
|
315
|
+
IS = "is",
|
|
316
|
+
ES = "es",
|
|
317
|
+
PT = "pt"
|
|
269
318
|
}
|
|
270
319
|
type CalendarConfig = {
|
|
271
320
|
locale: CalendarLocale;
|
|
@@ -279,8 +328,20 @@ type CalendarConfig = {
|
|
|
279
328
|
declare const EN_CALENDAR_CONFIG: CalendarConfig;
|
|
280
329
|
declare const SE_CALENDAR_CONFIG: CalendarConfig;
|
|
281
330
|
declare const DE_CALENDAR_CONFIG: CalendarConfig;
|
|
331
|
+
declare const AT_CALENDAR_CONFIG: CalendarConfig;
|
|
332
|
+
declare const CH_CALENDAR_CONFIG: CalendarConfig;
|
|
333
|
+
declare const ES_CALENDAR_CONFIG: CalendarConfig;
|
|
334
|
+
declare const PT_CALENDAR_CONFIG: CalendarConfig;
|
|
282
335
|
declare const PL_CALENDAR_CONFIG: CalendarConfig;
|
|
283
336
|
declare const IT_CALENDAR_CONFIG: CalendarConfig;
|
|
337
|
+
declare const FR_CALENDAR_CONFIG: CalendarConfig;
|
|
338
|
+
declare const NO_CALENDAR_CONFIG: CalendarConfig;
|
|
339
|
+
declare const NL_CALENDAR_CONFIG: CalendarConfig;
|
|
340
|
+
declare const FI_CALENDAR_CONFIG: CalendarConfig;
|
|
341
|
+
declare const NL_BE_CALENDAR_CONFIG: CalendarConfig;
|
|
342
|
+
declare const SV_FI_CALENDAR_CONFIG: CalendarConfig;
|
|
343
|
+
declare const DK_CALENDAR_CONFIG: CalendarConfig;
|
|
344
|
+
declare const IS_CALENDAR_CONFIG: CalendarConfig;
|
|
284
345
|
|
|
285
346
|
type GradeData = {
|
|
286
347
|
name: string;
|
|
@@ -407,7 +468,32 @@ type SSO_PL = {
|
|
|
407
468
|
MICROSOFT_AUTH: string;
|
|
408
469
|
};
|
|
409
470
|
type SSO_IT = {};
|
|
410
|
-
type
|
|
471
|
+
type SSO_FR = {};
|
|
472
|
+
type SSO_DK = {};
|
|
473
|
+
type SSO_NO = {};
|
|
474
|
+
type SSO_NL = {};
|
|
475
|
+
type SSO_FI = {};
|
|
476
|
+
type SSO_NL_BE = {};
|
|
477
|
+
type SSO_IE = {};
|
|
478
|
+
type SSO_IS = {};
|
|
479
|
+
type SSO_SV_FI = {};
|
|
480
|
+
type SSO_AT = {
|
|
481
|
+
GOOGLE_AUTH: string;
|
|
482
|
+
MICROSOFT_AUTH: string;
|
|
483
|
+
};
|
|
484
|
+
type SSO_CH = {
|
|
485
|
+
GOOGLE_AUTH: string;
|
|
486
|
+
MICROSOFT_AUTH: string;
|
|
487
|
+
};
|
|
488
|
+
type SSO_ES = {
|
|
489
|
+
GOOGLE_AUTH: string;
|
|
490
|
+
MICROSOFT_AUTH: string;
|
|
491
|
+
};
|
|
492
|
+
type SSO_PT = {
|
|
493
|
+
GOOGLE_AUTH: string;
|
|
494
|
+
MICROSOFT_AUTH: string;
|
|
495
|
+
};
|
|
496
|
+
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;
|
|
411
497
|
type SSOByLocale = {
|
|
412
498
|
[Locale.US]: SSO_US;
|
|
413
499
|
[Locale.CA]: SSO_US;
|
|
@@ -417,6 +503,19 @@ type SSOByLocale = {
|
|
|
417
503
|
[Locale.DE]: SSO_DE;
|
|
418
504
|
[Locale.PL]: SSO_PL;
|
|
419
505
|
[Locale.IT]: SSO_IT;
|
|
506
|
+
[Locale.FR]: SSO_FR;
|
|
507
|
+
[Locale.DK]: SSO_DK;
|
|
508
|
+
[Locale.NO]: SSO_NO;
|
|
509
|
+
[Locale.NL]: SSO_NL;
|
|
510
|
+
[Locale.FI]: SSO_FI;
|
|
511
|
+
[Locale.NL_BE]: SSO_NL_BE;
|
|
512
|
+
[Locale.IE]: SSO_IE;
|
|
513
|
+
[Locale.IS]: SSO_IS;
|
|
514
|
+
[Locale.SV_FI]: SSO_SV_FI;
|
|
515
|
+
[Locale.AT]: SSO_AT;
|
|
516
|
+
[Locale.CH]: SSO_CH;
|
|
517
|
+
[Locale.ES]: SSO_ES;
|
|
518
|
+
[Locale.PT]: SSO_PT;
|
|
420
519
|
};
|
|
421
520
|
|
|
422
521
|
type Prettify<T> = T extends Function ? T : {
|
|
@@ -456,6 +555,45 @@ type AuthWebVarsPreset = {
|
|
|
456
555
|
[Locale.IT]: {
|
|
457
556
|
[key in Environment]: AuthWebVars<SSO_IT>;
|
|
458
557
|
};
|
|
558
|
+
[Locale.FR]: {
|
|
559
|
+
[key in Environment]: AuthWebVars<SSO_FR>;
|
|
560
|
+
};
|
|
561
|
+
[Locale.DK]: {
|
|
562
|
+
[key in Environment]: AuthWebVars<SSO_DK>;
|
|
563
|
+
};
|
|
564
|
+
[Locale.NO]: {
|
|
565
|
+
[key in Environment]: AuthWebVars<SSO_NO>;
|
|
566
|
+
};
|
|
567
|
+
[Locale.NL]: {
|
|
568
|
+
[key in Environment]: AuthWebVars<SSO_NL>;
|
|
569
|
+
};
|
|
570
|
+
[Locale.FI]: {
|
|
571
|
+
[key in Environment]: AuthWebVars<SSO_FI>;
|
|
572
|
+
};
|
|
573
|
+
[Locale.NL_BE]: {
|
|
574
|
+
[key in Environment]: AuthWebVars<SSO_NL_BE>;
|
|
575
|
+
};
|
|
576
|
+
[Locale.IE]: {
|
|
577
|
+
[key in Environment]: AuthWebVars<SSO_IE>;
|
|
578
|
+
};
|
|
579
|
+
[Locale.IS]: {
|
|
580
|
+
[key in Environment]: AuthWebVars<SSO_IS>;
|
|
581
|
+
};
|
|
582
|
+
[Locale.SV_FI]: {
|
|
583
|
+
[key in Environment]: AuthWebVars<SSO_SV_FI>;
|
|
584
|
+
};
|
|
585
|
+
[Locale.AT]: {
|
|
586
|
+
[key in Environment]: AuthWebVars<SSO_AT>;
|
|
587
|
+
};
|
|
588
|
+
[Locale.CH]: {
|
|
589
|
+
[key in Environment]: AuthWebVars<SSO_CH>;
|
|
590
|
+
};
|
|
591
|
+
[Locale.ES]: {
|
|
592
|
+
[key in Environment]: AuthWebVars<SSO_ES>;
|
|
593
|
+
};
|
|
594
|
+
[Locale.PT]: {
|
|
595
|
+
[key in Environment]: AuthWebVars<SSO_PT>;
|
|
596
|
+
};
|
|
459
597
|
};
|
|
460
598
|
|
|
461
599
|
type MobileCommon = {
|
|
@@ -513,6 +651,45 @@ type MobileVarsPreset = {
|
|
|
513
651
|
[Locale.IT]: {
|
|
514
652
|
[key in Environment]: MobileVars<SSO_IT>;
|
|
515
653
|
};
|
|
654
|
+
[Locale.FR]: {
|
|
655
|
+
[key in Environment]: MobileVars<SSO_FR>;
|
|
656
|
+
};
|
|
657
|
+
[Locale.DK]: {
|
|
658
|
+
[key in Environment]: MobileVars<SSO_DK>;
|
|
659
|
+
};
|
|
660
|
+
[Locale.NO]: {
|
|
661
|
+
[key in Environment]: MobileVars<SSO_NO>;
|
|
662
|
+
};
|
|
663
|
+
[Locale.NL]: {
|
|
664
|
+
[key in Environment]: MobileVars<SSO_NL>;
|
|
665
|
+
};
|
|
666
|
+
[Locale.FI]: {
|
|
667
|
+
[key in Environment]: MobileVars<SSO_FI>;
|
|
668
|
+
};
|
|
669
|
+
[Locale.NL_BE]: {
|
|
670
|
+
[key in Environment]: MobileVars<SSO_NL_BE>;
|
|
671
|
+
};
|
|
672
|
+
[Locale.IE]: {
|
|
673
|
+
[key in Environment]: MobileVars<SSO_IE>;
|
|
674
|
+
};
|
|
675
|
+
[Locale.IS]: {
|
|
676
|
+
[key in Environment]: MobileVars<SSO_IS>;
|
|
677
|
+
};
|
|
678
|
+
[Locale.SV_FI]: {
|
|
679
|
+
[key in Environment]: MobileVars<SSO_SV_FI>;
|
|
680
|
+
};
|
|
681
|
+
[Locale.AT]: {
|
|
682
|
+
[key in Environment]: MobileVars<SSO_AT>;
|
|
683
|
+
};
|
|
684
|
+
[Locale.CH]: {
|
|
685
|
+
[key in Environment]: MobileVars<SSO_CH>;
|
|
686
|
+
};
|
|
687
|
+
[Locale.ES]: {
|
|
688
|
+
[key in Environment]: MobileVars<SSO_ES>;
|
|
689
|
+
};
|
|
690
|
+
[Locale.PT]: {
|
|
691
|
+
[key in Environment]: MobileVars<SSO_PT>;
|
|
692
|
+
};
|
|
516
693
|
};
|
|
517
694
|
|
|
518
695
|
type RegionSpecificWebAdminVars = {
|
|
@@ -567,7 +744,8 @@ declare enum KeyboardCurrencyVariant {
|
|
|
567
744
|
POUND_PENCE = "PoundPence",
|
|
568
745
|
KRONE_EURO_POUND = "KroneEuroPound",
|
|
569
746
|
EURO_DOLLAR_POUND = "EuroDollarPound",
|
|
570
|
-
ZLOTY_GROSZ = "ZlotyGrosz"
|
|
747
|
+
ZLOTY_GROSZ = "ZlotyGrosz",
|
|
748
|
+
FRANC_RAPPEN = "FrancRappen"
|
|
571
749
|
}
|
|
572
750
|
declare enum KeyboardTimeVariant {
|
|
573
751
|
H12 = "H12",
|
|
@@ -624,7 +802,8 @@ declare enum ProblemCreatorMathEntryVariant {
|
|
|
624
802
|
KRONE = "Krone",
|
|
625
803
|
POUND_PENCE = "PoundPence",
|
|
626
804
|
EURO = "Euro",
|
|
627
|
-
ZLOTY = "Zloty"
|
|
805
|
+
ZLOTY = "Zloty",
|
|
806
|
+
FRANC = "Franc"
|
|
628
807
|
}
|
|
629
808
|
declare enum ProblemCreatorDescriptionVariant {
|
|
630
809
|
EXTENDED_MULT_BASIC_ROOTS = "ExtendedMultBasicRoots",
|
|
@@ -849,4 +1028,4 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
849
1028
|
};
|
|
850
1029
|
}
|
|
851
1030
|
|
|
852
|
-
export { ApiRegion, AppConfigManager, type AuthWebBaseVars, type AuthWebVars, type AuthWebVarsPreset, type CalendarConfig, CalendarLocale, type CommonGrades, DE_CALENDAR_CONFIG, DateFormat, DateLocale, type DistrictCommon, type DistrictDashboardVars, type DistrictLocaleConfig, type DistrictWebVarsPreset, DrawboardCoinVariant, EN_CALENDAR_CONFIG, type EnvPreset, Environment, type EnvironmentVars, Grade, type GradeData, type HighSchoolGrades, 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 MobileLocaleConfig, type MobileVars, type MobileVarsPreset, MomentDateLocale, MultiplicationSymbol, NumberDecimalSeparator, NumberGroupingSeparator, PL_CALENDAR_CONFIG, PRIORITY_LANGUAGES, 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_DE, type SSO_IT, type SSO_PL, 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 };
|
|
1031
|
+
export { AT_CALENDAR_CONFIG, ApiRegion, AppConfigManager, type AuthWebBaseVars, 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, 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 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 };
|