@magmamath/frontend-config 1.3.6 → 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-DM-Bg4xS.d.mts → common.constants-4kbCK3_q.d.mts} +15 -1
- package/dist/{common.constants-DM-Bg4xS.d.ts → common.constants-4kbCK3_q.d.ts} +15 -1
- package/dist/index.d.mts +199 -7
- package/dist/index.d.ts +199 -7
- package/dist/index.js +8305 -1580
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8293 -1581
- 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
|
@@ -25,7 +25,21 @@ declare enum Locale {
|
|
|
25
25
|
CA = "en-CA",
|
|
26
26
|
SCT = "en-SCT",
|
|
27
27
|
DE = "de-DE",
|
|
28
|
-
PL = "pl-PL"
|
|
28
|
+
PL = "pl-PL",
|
|
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"
|
|
29
43
|
}
|
|
30
44
|
declare enum Source {
|
|
31
45
|
MATTEAPPEN = 0,
|
|
@@ -25,7 +25,21 @@ declare enum Locale {
|
|
|
25
25
|
CA = "en-CA",
|
|
26
26
|
SCT = "en-SCT",
|
|
27
27
|
DE = "de-DE",
|
|
28
|
-
PL = "pl-PL"
|
|
28
|
+
PL = "pl-PL",
|
|
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"
|
|
29
43
|
}
|
|
30
44
|
declare enum Source {
|
|
31
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
|
|
|
@@ -33,6 +33,34 @@ declare const DateLocale: {
|
|
|
33
33
|
readonly 'de-DE': "de";
|
|
34
34
|
readonly PL: "pl";
|
|
35
35
|
readonly 'pl-PL': "pl";
|
|
36
|
+
readonly IT: "it";
|
|
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";
|
|
36
64
|
};
|
|
37
65
|
type DateLocale = (typeof DateLocale)[keyof typeof DateLocale];
|
|
38
66
|
declare const MomentDateLocale: {
|
|
@@ -40,6 +68,20 @@ declare const MomentDateLocale: {
|
|
|
40
68
|
SE: string;
|
|
41
69
|
DE: string;
|
|
42
70
|
PL: string;
|
|
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;
|
|
43
85
|
};
|
|
44
86
|
|
|
45
87
|
declare enum MatrixMode {
|
|
@@ -261,7 +303,18 @@ declare enum CalendarLocale {
|
|
|
261
303
|
EN = "en",
|
|
262
304
|
SE = "sv",
|
|
263
305
|
DE = "de",
|
|
264
|
-
PL = "pl"
|
|
306
|
+
PL = "pl",
|
|
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"
|
|
265
318
|
}
|
|
266
319
|
type CalendarConfig = {
|
|
267
320
|
locale: CalendarLocale;
|
|
@@ -275,7 +328,20 @@ type CalendarConfig = {
|
|
|
275
328
|
declare const EN_CALENDAR_CONFIG: CalendarConfig;
|
|
276
329
|
declare const SE_CALENDAR_CONFIG: CalendarConfig;
|
|
277
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;
|
|
278
335
|
declare const PL_CALENDAR_CONFIG: CalendarConfig;
|
|
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;
|
|
279
345
|
|
|
280
346
|
type GradeData = {
|
|
281
347
|
name: string;
|
|
@@ -401,7 +467,33 @@ type SSO_PL = {
|
|
|
401
467
|
GOOGLE_AUTH: string;
|
|
402
468
|
MICROSOFT_AUTH: string;
|
|
403
469
|
};
|
|
404
|
-
type
|
|
470
|
+
type SSO_IT = {};
|
|
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;
|
|
405
497
|
type SSOByLocale = {
|
|
406
498
|
[Locale.US]: SSO_US;
|
|
407
499
|
[Locale.CA]: SSO_US;
|
|
@@ -410,6 +502,20 @@ type SSOByLocale = {
|
|
|
410
502
|
[Locale.SE]: SSO_SE;
|
|
411
503
|
[Locale.DE]: SSO_DE;
|
|
412
504
|
[Locale.PL]: SSO_PL;
|
|
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;
|
|
413
519
|
};
|
|
414
520
|
|
|
415
521
|
type Prettify<T> = T extends Function ? T : {
|
|
@@ -446,6 +552,48 @@ type AuthWebVarsPreset = {
|
|
|
446
552
|
[Locale.PL]: {
|
|
447
553
|
[key in Environment]: AuthWebVars<SSO_PL>;
|
|
448
554
|
};
|
|
555
|
+
[Locale.IT]: {
|
|
556
|
+
[key in Environment]: AuthWebVars<SSO_IT>;
|
|
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
|
+
};
|
|
449
597
|
};
|
|
450
598
|
|
|
451
599
|
type MobileCommon = {
|
|
@@ -500,6 +648,48 @@ type MobileVarsPreset = {
|
|
|
500
648
|
[Locale.PL]: {
|
|
501
649
|
[key in Environment]: MobileVars<SSO_PL>;
|
|
502
650
|
};
|
|
651
|
+
[Locale.IT]: {
|
|
652
|
+
[key in Environment]: MobileVars<SSO_IT>;
|
|
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
|
+
};
|
|
503
693
|
};
|
|
504
694
|
|
|
505
695
|
type RegionSpecificWebAdminVars = {
|
|
@@ -554,7 +744,8 @@ declare enum KeyboardCurrencyVariant {
|
|
|
554
744
|
POUND_PENCE = "PoundPence",
|
|
555
745
|
KRONE_EURO_POUND = "KroneEuroPound",
|
|
556
746
|
EURO_DOLLAR_POUND = "EuroDollarPound",
|
|
557
|
-
ZLOTY_GROSZ = "ZlotyGrosz"
|
|
747
|
+
ZLOTY_GROSZ = "ZlotyGrosz",
|
|
748
|
+
FRANC_RAPPEN = "FrancRappen"
|
|
558
749
|
}
|
|
559
750
|
declare enum KeyboardTimeVariant {
|
|
560
751
|
H12 = "H12",
|
|
@@ -611,7 +802,8 @@ declare enum ProblemCreatorMathEntryVariant {
|
|
|
611
802
|
KRONE = "Krone",
|
|
612
803
|
POUND_PENCE = "PoundPence",
|
|
613
804
|
EURO = "Euro",
|
|
614
|
-
ZLOTY = "Zloty"
|
|
805
|
+
ZLOTY = "Zloty",
|
|
806
|
+
FRANC = "Franc"
|
|
615
807
|
}
|
|
616
808
|
declare enum ProblemCreatorDescriptionVariant {
|
|
617
809
|
EXTENDED_MULT_BASIC_ROOTS = "ExtendedMultBasicRoots",
|
|
@@ -836,4 +1028,4 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
836
1028
|
};
|
|
837
1029
|
}
|
|
838
1030
|
|
|
839
|
-
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, 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_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
|
|
|
@@ -33,6 +33,34 @@ declare const DateLocale: {
|
|
|
33
33
|
readonly 'de-DE': "de";
|
|
34
34
|
readonly PL: "pl";
|
|
35
35
|
readonly 'pl-PL': "pl";
|
|
36
|
+
readonly IT: "it";
|
|
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";
|
|
36
64
|
};
|
|
37
65
|
type DateLocale = (typeof DateLocale)[keyof typeof DateLocale];
|
|
38
66
|
declare const MomentDateLocale: {
|
|
@@ -40,6 +68,20 @@ declare const MomentDateLocale: {
|
|
|
40
68
|
SE: string;
|
|
41
69
|
DE: string;
|
|
42
70
|
PL: string;
|
|
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;
|
|
43
85
|
};
|
|
44
86
|
|
|
45
87
|
declare enum MatrixMode {
|
|
@@ -261,7 +303,18 @@ declare enum CalendarLocale {
|
|
|
261
303
|
EN = "en",
|
|
262
304
|
SE = "sv",
|
|
263
305
|
DE = "de",
|
|
264
|
-
PL = "pl"
|
|
306
|
+
PL = "pl",
|
|
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"
|
|
265
318
|
}
|
|
266
319
|
type CalendarConfig = {
|
|
267
320
|
locale: CalendarLocale;
|
|
@@ -275,7 +328,20 @@ type CalendarConfig = {
|
|
|
275
328
|
declare const EN_CALENDAR_CONFIG: CalendarConfig;
|
|
276
329
|
declare const SE_CALENDAR_CONFIG: CalendarConfig;
|
|
277
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;
|
|
278
335
|
declare const PL_CALENDAR_CONFIG: CalendarConfig;
|
|
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;
|
|
279
345
|
|
|
280
346
|
type GradeData = {
|
|
281
347
|
name: string;
|
|
@@ -401,7 +467,33 @@ type SSO_PL = {
|
|
|
401
467
|
GOOGLE_AUTH: string;
|
|
402
468
|
MICROSOFT_AUTH: string;
|
|
403
469
|
};
|
|
404
|
-
type
|
|
470
|
+
type SSO_IT = {};
|
|
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;
|
|
405
497
|
type SSOByLocale = {
|
|
406
498
|
[Locale.US]: SSO_US;
|
|
407
499
|
[Locale.CA]: SSO_US;
|
|
@@ -410,6 +502,20 @@ type SSOByLocale = {
|
|
|
410
502
|
[Locale.SE]: SSO_SE;
|
|
411
503
|
[Locale.DE]: SSO_DE;
|
|
412
504
|
[Locale.PL]: SSO_PL;
|
|
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;
|
|
413
519
|
};
|
|
414
520
|
|
|
415
521
|
type Prettify<T> = T extends Function ? T : {
|
|
@@ -446,6 +552,48 @@ type AuthWebVarsPreset = {
|
|
|
446
552
|
[Locale.PL]: {
|
|
447
553
|
[key in Environment]: AuthWebVars<SSO_PL>;
|
|
448
554
|
};
|
|
555
|
+
[Locale.IT]: {
|
|
556
|
+
[key in Environment]: AuthWebVars<SSO_IT>;
|
|
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
|
+
};
|
|
449
597
|
};
|
|
450
598
|
|
|
451
599
|
type MobileCommon = {
|
|
@@ -500,6 +648,48 @@ type MobileVarsPreset = {
|
|
|
500
648
|
[Locale.PL]: {
|
|
501
649
|
[key in Environment]: MobileVars<SSO_PL>;
|
|
502
650
|
};
|
|
651
|
+
[Locale.IT]: {
|
|
652
|
+
[key in Environment]: MobileVars<SSO_IT>;
|
|
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
|
+
};
|
|
503
693
|
};
|
|
504
694
|
|
|
505
695
|
type RegionSpecificWebAdminVars = {
|
|
@@ -554,7 +744,8 @@ declare enum KeyboardCurrencyVariant {
|
|
|
554
744
|
POUND_PENCE = "PoundPence",
|
|
555
745
|
KRONE_EURO_POUND = "KroneEuroPound",
|
|
556
746
|
EURO_DOLLAR_POUND = "EuroDollarPound",
|
|
557
|
-
ZLOTY_GROSZ = "ZlotyGrosz"
|
|
747
|
+
ZLOTY_GROSZ = "ZlotyGrosz",
|
|
748
|
+
FRANC_RAPPEN = "FrancRappen"
|
|
558
749
|
}
|
|
559
750
|
declare enum KeyboardTimeVariant {
|
|
560
751
|
H12 = "H12",
|
|
@@ -611,7 +802,8 @@ declare enum ProblemCreatorMathEntryVariant {
|
|
|
611
802
|
KRONE = "Krone",
|
|
612
803
|
POUND_PENCE = "PoundPence",
|
|
613
804
|
EURO = "Euro",
|
|
614
|
-
ZLOTY = "Zloty"
|
|
805
|
+
ZLOTY = "Zloty",
|
|
806
|
+
FRANC = "Franc"
|
|
615
807
|
}
|
|
616
808
|
declare enum ProblemCreatorDescriptionVariant {
|
|
617
809
|
EXTENDED_MULT_BASIC_ROOTS = "ExtendedMultBasicRoots",
|
|
@@ -836,4 +1028,4 @@ declare class AppConfigManager<P extends Platform, L extends Locale> {
|
|
|
836
1028
|
};
|
|
837
1029
|
}
|
|
838
1030
|
|
|
839
|
-
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, 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_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 };
|