@magmamath/frontend-config 1.5.7 → 1.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +10 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +37 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +37 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2,6 +2,16 @@ import { createEvent, restore } from 'effector';
|
|
|
2
2
|
import Svg, { Path, Rect, G, Defs, ClipPath } from 'react-native-svg';
|
|
3
3
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
|
+
// src/shared/constants/calculator.constants.ts
|
|
6
|
+
var CalculatorType = /* @__PURE__ */ ((CalculatorType2) => {
|
|
7
|
+
CalculatorType2[CalculatorType2["Off"] = 0] = "Off";
|
|
8
|
+
CalculatorType2[CalculatorType2["Regular"] = 1] = "Regular";
|
|
9
|
+
CalculatorType2[CalculatorType2["Scientific"] = 2] = "Scientific";
|
|
10
|
+
CalculatorType2[CalculatorType2["Graphic"] = 3] = "Graphic";
|
|
11
|
+
CalculatorType2[CalculatorType2["Cas"] = 4] = "Cas";
|
|
12
|
+
return CalculatorType2;
|
|
13
|
+
})(CalculatorType || {});
|
|
14
|
+
|
|
5
15
|
// src/shared/constants/dates.constants.ts
|
|
6
16
|
var DateFormat = /* @__PURE__ */ ((DateFormat2) => {
|
|
7
17
|
DateFormat2["FULL"] = "YYYY-MM-DD HH:mm";
|
|
@@ -8103,6 +8113,13 @@ var LOCALE_DISTRICT_CA = {
|
|
|
8103
8113
|
}
|
|
8104
8114
|
};
|
|
8105
8115
|
|
|
8116
|
+
// src/configs/locale/teachers-web/teachers.constants.ts
|
|
8117
|
+
var BASE_CALCULATORS = [
|
|
8118
|
+
1 /* Regular */,
|
|
8119
|
+
2 /* Scientific */,
|
|
8120
|
+
3 /* Graphic */
|
|
8121
|
+
];
|
|
8122
|
+
|
|
8106
8123
|
// src/configs/locale/teachers-web/us/locale.us.ts
|
|
8107
8124
|
var LOCALE_TEACHERS_US = {
|
|
8108
8125
|
...LOCALE_COMMON_US,
|
|
@@ -8137,6 +8154,7 @@ var LOCALE_TEACHERS_US = {
|
|
|
8137
8154
|
gradesModal: {
|
|
8138
8155
|
withOtherOption: false
|
|
8139
8156
|
},
|
|
8157
|
+
calculators: BASE_CALCULATORS,
|
|
8140
8158
|
problemCreator: PROBLEM_CREATOR_US
|
|
8141
8159
|
};
|
|
8142
8160
|
|
|
@@ -8175,6 +8193,7 @@ var LOCALE_TEACHERS_SE = {
|
|
|
8175
8193
|
gradesModal: {
|
|
8176
8194
|
withOtherOption: false
|
|
8177
8195
|
},
|
|
8196
|
+
calculators: [...BASE_CALCULATORS, 4 /* Cas */],
|
|
8178
8197
|
problemCreator: PROBLEM_CREATOR_SE
|
|
8179
8198
|
};
|
|
8180
8199
|
|
|
@@ -8212,6 +8231,7 @@ var LOCALE_TEACHERS_GB = {
|
|
|
8212
8231
|
gradesModal: {
|
|
8213
8232
|
withOtherOption: true
|
|
8214
8233
|
},
|
|
8234
|
+
calculators: BASE_CALCULATORS,
|
|
8215
8235
|
problemCreator: PROBLEM_CREATOR_GB
|
|
8216
8236
|
};
|
|
8217
8237
|
|
|
@@ -8275,6 +8295,7 @@ var LOCALE_TEACHERS_DE = {
|
|
|
8275
8295
|
gradesModal: {
|
|
8276
8296
|
withOtherOption: false
|
|
8277
8297
|
},
|
|
8298
|
+
calculators: [...BASE_CALCULATORS, 4 /* Cas */],
|
|
8278
8299
|
problemCreator: PROBLEM_CREATOR_DE
|
|
8279
8300
|
};
|
|
8280
8301
|
var GoogleIcon = ({ size = 38 }) => {
|
|
@@ -9203,6 +9224,7 @@ var LOCALE_TEACHERS_PL = {
|
|
|
9203
9224
|
gradesModal: {
|
|
9204
9225
|
withOtherOption: false
|
|
9205
9226
|
},
|
|
9227
|
+
calculators: BASE_CALCULATORS,
|
|
9206
9228
|
problemCreator: PROBLEM_CREATOR_PL
|
|
9207
9229
|
};
|
|
9208
9230
|
|
|
@@ -9366,6 +9388,7 @@ var LOCALE_TEACHERS_IT = {
|
|
|
9366
9388
|
gradesModal: {
|
|
9367
9389
|
withOtherOption: false
|
|
9368
9390
|
},
|
|
9391
|
+
calculators: BASE_CALCULATORS,
|
|
9369
9392
|
problemCreator: PROBLEM_CREATOR_IT
|
|
9370
9393
|
};
|
|
9371
9394
|
|
|
@@ -9531,6 +9554,7 @@ var LOCALE_TEACHERS_FR = {
|
|
|
9531
9554
|
gradesModal: {
|
|
9532
9555
|
withOtherOption: false
|
|
9533
9556
|
},
|
|
9557
|
+
calculators: BASE_CALCULATORS,
|
|
9534
9558
|
problemCreator: PROBLEM_CREATOR_FR
|
|
9535
9559
|
};
|
|
9536
9560
|
|
|
@@ -9696,6 +9720,7 @@ var LOCALE_TEACHERS_DK = {
|
|
|
9696
9720
|
gradesModal: {
|
|
9697
9721
|
withOtherOption: false
|
|
9698
9722
|
},
|
|
9723
|
+
calculators: BASE_CALCULATORS,
|
|
9699
9724
|
problemCreator: PROBLEM_CREATOR_DK
|
|
9700
9725
|
};
|
|
9701
9726
|
|
|
@@ -9863,6 +9888,7 @@ var LOCALE_TEACHERS_NO = {
|
|
|
9863
9888
|
gradesModal: {
|
|
9864
9889
|
withOtherOption: false
|
|
9865
9890
|
},
|
|
9891
|
+
calculators: BASE_CALCULATORS,
|
|
9866
9892
|
problemCreator: PROBLEM_CREATOR_NO
|
|
9867
9893
|
};
|
|
9868
9894
|
|
|
@@ -10032,6 +10058,7 @@ var LOCALE_TEACHERS_NL = {
|
|
|
10032
10058
|
gradesModal: {
|
|
10033
10059
|
withOtherOption: false
|
|
10034
10060
|
},
|
|
10061
|
+
calculators: BASE_CALCULATORS,
|
|
10035
10062
|
problemCreator: PROBLEM_CREATOR_NL
|
|
10036
10063
|
};
|
|
10037
10064
|
|
|
@@ -10199,6 +10226,7 @@ var LOCALE_TEACHERS_FI = {
|
|
|
10199
10226
|
gradesModal: {
|
|
10200
10227
|
withOtherOption: false
|
|
10201
10228
|
},
|
|
10229
|
+
calculators: BASE_CALCULATORS,
|
|
10202
10230
|
problemCreator: PROBLEM_CREATOR_FI
|
|
10203
10231
|
};
|
|
10204
10232
|
|
|
@@ -10366,6 +10394,7 @@ var LOCALE_TEACHERS_NL_BE = {
|
|
|
10366
10394
|
gradesModal: {
|
|
10367
10395
|
withOtherOption: false
|
|
10368
10396
|
},
|
|
10397
|
+
calculators: BASE_CALCULATORS,
|
|
10369
10398
|
problemCreator: PROBLEM_CREATOR_NL_BE
|
|
10370
10399
|
};
|
|
10371
10400
|
|
|
@@ -10531,6 +10560,7 @@ var LOCALE_TEACHERS_IE = {
|
|
|
10531
10560
|
gradesModal: {
|
|
10532
10561
|
withOtherOption: true
|
|
10533
10562
|
},
|
|
10563
|
+
calculators: BASE_CALCULATORS,
|
|
10534
10564
|
problemCreator: PROBLEM_CREATOR_IE
|
|
10535
10565
|
};
|
|
10536
10566
|
|
|
@@ -10696,6 +10726,7 @@ var LOCALE_TEACHERS_IS = {
|
|
|
10696
10726
|
gradesModal: {
|
|
10697
10727
|
withOtherOption: false
|
|
10698
10728
|
},
|
|
10729
|
+
calculators: BASE_CALCULATORS,
|
|
10699
10730
|
problemCreator: PROBLEM_CREATOR_IS
|
|
10700
10731
|
};
|
|
10701
10732
|
|
|
@@ -10865,6 +10896,7 @@ var LOCALE_TEACHERS_SV_FI = {
|
|
|
10865
10896
|
gradesModal: {
|
|
10866
10897
|
withOtherOption: false
|
|
10867
10898
|
},
|
|
10899
|
+
calculators: BASE_CALCULATORS,
|
|
10868
10900
|
problemCreator: PROBLEM_CREATOR_SV_FI
|
|
10869
10901
|
};
|
|
10870
10902
|
|
|
@@ -11024,6 +11056,7 @@ var LOCALE_TEACHERS_AT = {
|
|
|
11024
11056
|
gradesModal: {
|
|
11025
11057
|
withOtherOption: false
|
|
11026
11058
|
},
|
|
11059
|
+
calculators: BASE_CALCULATORS,
|
|
11027
11060
|
problemCreator: PROBLEM_CREATOR_AT
|
|
11028
11061
|
};
|
|
11029
11062
|
|
|
@@ -11203,6 +11236,7 @@ var LOCALE_TEACHERS_CH = {
|
|
|
11203
11236
|
gradesModal: {
|
|
11204
11237
|
withOtherOption: false
|
|
11205
11238
|
},
|
|
11239
|
+
calculators: BASE_CALCULATORS,
|
|
11206
11240
|
problemCreator: PROBLEM_CREATOR_CH
|
|
11207
11241
|
};
|
|
11208
11242
|
|
|
@@ -11363,6 +11397,7 @@ var LOCALE_TEACHERS_ES = {
|
|
|
11363
11397
|
gradesModal: {
|
|
11364
11398
|
withOtherOption: false
|
|
11365
11399
|
},
|
|
11400
|
+
calculators: BASE_CALCULATORS,
|
|
11366
11401
|
problemCreator: PROBLEM_CREATOR_ES
|
|
11367
11402
|
};
|
|
11368
11403
|
|
|
@@ -11542,6 +11577,7 @@ var LOCALE_TEACHERS_PT = {
|
|
|
11542
11577
|
gradesModal: {
|
|
11543
11578
|
withOtherOption: false
|
|
11544
11579
|
},
|
|
11580
|
+
calculators: BASE_CALCULATORS,
|
|
11545
11581
|
problemCreator: PROBLEM_CREATOR_PT
|
|
11546
11582
|
};
|
|
11547
11583
|
|
|
@@ -11891,6 +11927,6 @@ var AppConfigManager = class {
|
|
|
11891
11927
|
};
|
|
11892
11928
|
};
|
|
11893
11929
|
|
|
11894
|
-
export { AT_CALENDAR_CONFIG, AppConfigManager, CH_CALENDAR_CONFIG, CalendarLocale, DE_CALENDAR_CONFIG, DK_CALENDAR_CONFIG, DateFormat, DateLocale, DrawboardCoinVariant, EN_CALENDAR_CONFIG, ES_CALENDAR_CONFIG, Environment, FI_CALENDAR_CONFIG, FR_CALENDAR_CONFIG, Grade, HomeRegion, IS_CALENDAR_CONFIG, IT_CALENDAR_CONFIG, KeyboardCurrencyVariant, KeyboardPreset, KeyboardTimeVariant, LANGUAGES_CONFIG, LANGUAGES_LIST, Language, Locale, LoginSource, MOST_USED_LANGUAGES, MatrixMode, MomentDateLocale, MultiplicationSymbol, NL_BE_CALENDAR_CONFIG, NL_CALENDAR_CONFIG, NO_CALENDAR_CONFIG, NumberDecimalSeparator, NumberGroupingSeparator, PL_CALENDAR_CONFIG, PRIORITY_LANGUAGES, PT_CALENDAR_CONFIG, Platform, PlatformBuildTarget, ProblemCreatorDescriptionVariant, ProblemCreatorKeyboardPreset, ProblemCreatorMathEntryVariant, QRCodeSize, SE_CALENDAR_CONFIG, SSO, SV_FI_CALENDAR_CONFIG, Source, TTSOverrideSymbol, TreeLevel, buildTargetToEnvironment };
|
|
11930
|
+
export { AT_CALENDAR_CONFIG, AppConfigManager, CH_CALENDAR_CONFIG, CalculatorType, CalendarLocale, DE_CALENDAR_CONFIG, DK_CALENDAR_CONFIG, DateFormat, DateLocale, DrawboardCoinVariant, EN_CALENDAR_CONFIG, ES_CALENDAR_CONFIG, Environment, FI_CALENDAR_CONFIG, FR_CALENDAR_CONFIG, Grade, HomeRegion, IS_CALENDAR_CONFIG, IT_CALENDAR_CONFIG, KeyboardCurrencyVariant, KeyboardPreset, KeyboardTimeVariant, LANGUAGES_CONFIG, LANGUAGES_LIST, Language, Locale, LoginSource, MOST_USED_LANGUAGES, MatrixMode, MomentDateLocale, MultiplicationSymbol, NL_BE_CALENDAR_CONFIG, NL_CALENDAR_CONFIG, NO_CALENDAR_CONFIG, NumberDecimalSeparator, NumberGroupingSeparator, PL_CALENDAR_CONFIG, PRIORITY_LANGUAGES, PT_CALENDAR_CONFIG, Platform, PlatformBuildTarget, ProblemCreatorDescriptionVariant, ProblemCreatorKeyboardPreset, ProblemCreatorMathEntryVariant, QRCodeSize, SE_CALENDAR_CONFIG, SSO, SV_FI_CALENDAR_CONFIG, Source, TTSOverrideSymbol, TreeLevel, buildTargetToEnvironment };
|
|
11895
11931
|
//# sourceMappingURL=index.mjs.map
|
|
11896
11932
|
//# sourceMappingURL=index.mjs.map
|