@typeolymp/utils 1.0.2 → 1.0.3
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/build/enums/ChartDataType.d.ts +8 -0
- package/build/enums/ChartDataType.js +13 -0
- package/build/enums/ChartDataType.js.map +1 -0
- package/build/enums/CourseTranslation.d.ts +3 -0
- package/build/enums/CourseTranslation.js +9 -0
- package/build/enums/CourseTranslation.js.map +1 -0
- package/build/enums/KeyboardLayout.d.ts +3 -2
- package/build/enums/KeyboardLayout.js +2 -1
- package/build/enums/KeyboardLayout.js.map +1 -1
- package/build/parsers/formatPrice.d.ts +2 -0
- package/build/parsers/formatPrice.js +8 -0
- package/build/parsers/formatPrice.js.map +1 -0
- package/build/parsers/getCountryByLocale.d.ts +2 -0
- package/build/parsers/getCountryByLocale.js +13 -0
- package/build/parsers/getCountryByLocale.js.map +1 -0
- package/build/parsers/getCountryCodeByLocale.d.ts +2 -0
- package/build/parsers/getCountryCodeByLocale.js +6 -0
- package/build/parsers/getCountryCodeByLocale.js.map +1 -0
- package/build/parsers/getCourseTranslationByLocale.d.ts +2 -0
- package/build/parsers/getCourseTranslationByLocale.js +18 -0
- package/build/parsers/getCourseTranslationByLocale.js.map +1 -0
- package/build/parsers/getCurrencyByLocale.d.ts +2 -0
- package/build/parsers/getCurrencyByLocale.js +14 -0
- package/build/parsers/getCurrencyByLocale.js.map +1 -0
- package/build/parsers/getKeyboardLayoutByLocale.d.ts +2 -0
- package/build/parsers/getKeyboardLayoutByLocale.js +18 -0
- package/build/parsers/getKeyboardLayoutByLocale.js.map +1 -0
- package/build/parsers/getLanguageCodeByLocale.d.ts +2 -0
- package/build/parsers/getLanguageCodeByLocale.js +6 -0
- package/build/parsers/getLanguageCodeByLocale.js.map +1 -0
- package/build/parsers/getNativeLanguageByLocale.d.ts +2 -0
- package/build/parsers/getNativeLanguageByLocale.js +17 -0
- package/build/parsers/getNativeLanguageByLocale.js.map +1 -0
- package/build/parsers/getPricing.d.ts +5 -0
- package/build/parsers/getPricing.js +18 -0
- package/build/parsers/getPricing.js.map +1 -0
- package/build/parsers/index.d.ts +9 -0
- package/build/parsers/index.js +26 -0
- package/build/parsers/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChartDataType = void 0;
|
|
4
|
+
var ChartDataType;
|
|
5
|
+
(function (ChartDataType) {
|
|
6
|
+
ChartDataType["PROGRESS"] = "progress";
|
|
7
|
+
ChartDataType["TIME_PRACTISED"] = "timePractised";
|
|
8
|
+
ChartDataType["RESULTS"] = "results";
|
|
9
|
+
ChartDataType["HITS"] = "hits";
|
|
10
|
+
ChartDataType["KPM"] = "kpm";
|
|
11
|
+
ChartDataType["ACCURACY"] = "accuracy";
|
|
12
|
+
})(ChartDataType = exports.ChartDataType || (exports.ChartDataType = {}));
|
|
13
|
+
//# sourceMappingURL=ChartDataType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChartDataType.js","sourceRoot":"","sources":["../../src/enums/ChartDataType.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,sCAAqB,CAAA;IACrB,iDAAgC,CAAA;IAChC,oCAAmB,CAAA;IACnB,8BAAa,CAAA;IACb,4BAAW,CAAA;IACX,sCAAqB,CAAA;AACvB,CAAC,EAPW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAOxB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CourseTranslation = void 0;
|
|
4
|
+
var CourseTranslation;
|
|
5
|
+
(function (CourseTranslation) {
|
|
6
|
+
CourseTranslation["NL_NL"] = "nl-NL";
|
|
7
|
+
// EN_GB = "en-GB",
|
|
8
|
+
})(CourseTranslation = exports.CourseTranslation || (exports.CourseTranslation = {}));
|
|
9
|
+
//# sourceMappingURL=CourseTranslation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CourseTranslation.js","sourceRoot":"","sources":["../../src/enums/CourseTranslation.ts"],"names":[],"mappings":";;;AAEA,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,oCAAoB,CAAA;IACpB,qBAAqB;AACvB,CAAC,EAHW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAG5B"}
|
|
@@ -2,8 +2,9 @@ export declare enum KeyboardLayout {
|
|
|
2
2
|
QWERTY_NL = "qwerty-nl",
|
|
3
3
|
QWERTY_UK = "qwerty-uk",
|
|
4
4
|
QWERTY_US = "qwerty-us",
|
|
5
|
-
QWERTY_TR = "qwerty-tr",
|
|
6
5
|
AZERTY_BE = "azerty-be",
|
|
7
6
|
AZERTY_FR = "azerty-fr",
|
|
8
|
-
QWERTZ_DE = "qwertz-de"
|
|
7
|
+
QWERTZ_DE = "qwertz-de",
|
|
8
|
+
TURKISH_Q = "turkish-q",
|
|
9
|
+
TURKISH_F = "turkish-f"
|
|
9
10
|
}
|
|
@@ -6,9 +6,10 @@ var KeyboardLayout;
|
|
|
6
6
|
KeyboardLayout["QWERTY_NL"] = "qwerty-nl";
|
|
7
7
|
KeyboardLayout["QWERTY_UK"] = "qwerty-uk";
|
|
8
8
|
KeyboardLayout["QWERTY_US"] = "qwerty-us";
|
|
9
|
-
KeyboardLayout["QWERTY_TR"] = "qwerty-tr";
|
|
10
9
|
KeyboardLayout["AZERTY_BE"] = "azerty-be";
|
|
11
10
|
KeyboardLayout["AZERTY_FR"] = "azerty-fr";
|
|
12
11
|
KeyboardLayout["QWERTZ_DE"] = "qwertz-de";
|
|
12
|
+
KeyboardLayout["TURKISH_Q"] = "turkish-q";
|
|
13
|
+
KeyboardLayout["TURKISH_F"] = "turkish-f";
|
|
13
14
|
})(KeyboardLayout = exports.KeyboardLayout || (exports.KeyboardLayout = {}));
|
|
14
15
|
//# sourceMappingURL=KeyboardLayout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyboardLayout.js","sourceRoot":"","sources":["../../src/enums/KeyboardLayout.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"KeyboardLayout.js","sourceRoot":"","sources":["../../src/enums/KeyboardLayout.ts"],"names":[],"mappings":";;;AAAA,IAAY,cASX;AATD,WAAY,cAAc;IACxB,yCAAuB,CAAA;IACvB,yCAAuB,CAAA;IACvB,yCAAuB,CAAA;IACvB,yCAAuB,CAAA;IACvB,yCAAuB,CAAA;IACvB,yCAAuB,CAAA;IACvB,yCAAuB,CAAA;IACvB,yCAAuB,CAAA;AACzB,CAAC,EATW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QASzB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.formatPrice = void 0;
|
|
4
|
+
var formatPrice = function (locale, currency, price) {
|
|
5
|
+
return new Intl.NumberFormat(locale, { style: "currency", currency: currency }).format(price);
|
|
6
|
+
};
|
|
7
|
+
exports.formatPrice = formatPrice;
|
|
8
|
+
//# sourceMappingURL=formatPrice.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatPrice.js","sourceRoot":"","sources":["../../src/parsers/formatPrice.ts"],"names":[],"mappings":";;;AAEO,IAAM,WAAW,GAAG,UACzB,MAAc,EACd,QAAkB,EAClB,KAAa;IAEb,OAAA,IAAI,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,UAAA,EAAE,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;AAA5E,CAA4E,CAAC;AALlE,QAAA,WAAW,eAKuD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCountryByLocale = void 0;
|
|
4
|
+
var enums_1 = require("../enums");
|
|
5
|
+
var getCountryByLocale = function (locale) {
|
|
6
|
+
var countries = {
|
|
7
|
+
"nl-NL": enums_1.Country.NL,
|
|
8
|
+
"nl-BE": enums_1.Country.BE,
|
|
9
|
+
};
|
|
10
|
+
return countries[locale];
|
|
11
|
+
};
|
|
12
|
+
exports.getCountryByLocale = getCountryByLocale;
|
|
13
|
+
//# sourceMappingURL=getCountryByLocale.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCountryByLocale.js","sourceRoot":"","sources":["../../src/parsers/getCountryByLocale.ts"],"names":[],"mappings":";;;AAAA,kCAA2C;AAEpC,IAAM,kBAAkB,GAAG,UAAC,MAAc;IAC/C,IAAM,SAAS,GAAiC;QAC9C,OAAO,EAAE,eAAO,CAAC,EAAE;QACnB,OAAO,EAAE,eAAO,CAAC,EAAE;KACpB,CAAC;IAEF,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC;AAC3B,CAAC,CAAC;AAPW,QAAA,kBAAkB,sBAO7B"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCountryCodeByLocale = void 0;
|
|
4
|
+
var getCountryCodeByLocale = function (locale) { return locale.split("-")[1]; };
|
|
5
|
+
exports.getCountryCodeByLocale = getCountryCodeByLocale;
|
|
6
|
+
//# sourceMappingURL=getCountryCodeByLocale.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCountryCodeByLocale.js","sourceRoot":"","sources":["../../src/parsers/getCountryCodeByLocale.ts"],"names":[],"mappings":";;;AAEO,IAAM,sBAAsB,GAAG,UAAC,MAAc,IAAK,OAAA,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAApB,CAAoB,CAAC;AAAlE,QAAA,sBAAsB,0BAA4C"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCourseTranslationByLocale = void 0;
|
|
4
|
+
var enums_1 = require("../enums");
|
|
5
|
+
var getCourseTranslationByLocale = function (locale) {
|
|
6
|
+
var courseTranslations = {
|
|
7
|
+
"nl-NL": enums_1.CourseTranslation.NL_NL,
|
|
8
|
+
"nl-BE": enums_1.CourseTranslation.NL_NL,
|
|
9
|
+
// "en-GB": KeyboardLayout.QWERTY_UK,
|
|
10
|
+
// "en-US": KeyboardLayout.QWERTY_US,
|
|
11
|
+
// "fr-BE": KeyboardLayout.AZERTY_FR,
|
|
12
|
+
// "fr-FR": KeyboardLayout.AZERTY_FR,
|
|
13
|
+
// "de-DE": KeyboardLayout.QWERTZ_DE,
|
|
14
|
+
};
|
|
15
|
+
return courseTranslations[locale];
|
|
16
|
+
};
|
|
17
|
+
exports.getCourseTranslationByLocale = getCourseTranslationByLocale;
|
|
18
|
+
//# sourceMappingURL=getCourseTranslationByLocale.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCourseTranslationByLocale.js","sourceRoot":"","sources":["../../src/parsers/getCourseTranslationByLocale.ts"],"names":[],"mappings":";;;AAAA,kCAAqD;AAE9C,IAAM,4BAA4B,GAAG,UAAC,MAAc;IACzD,IAAM,kBAAkB,GAA2C;QACjE,OAAO,EAAE,yBAAiB,CAAC,KAAK;QAChC,OAAO,EAAE,yBAAiB,CAAC,KAAK;QAChC,qCAAqC;QACrC,qCAAqC;QACrC,qCAAqC;QACrC,qCAAqC;QACrC,qCAAqC;KACtC,CAAC;IAEF,OAAO,kBAAkB,CAAC,MAAM,CAAC,CAAC;AACpC,CAAC,CAAC;AAZW,QAAA,4BAA4B,gCAYvC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCurrencyByLocale = void 0;
|
|
4
|
+
var enums_1 = require("../enums");
|
|
5
|
+
var getCurrencyByLocale = function (locale) {
|
|
6
|
+
var _a;
|
|
7
|
+
var map = (_a = {},
|
|
8
|
+
_a[enums_1.Locale.NL_NL] = enums_1.Currency.EUR,
|
|
9
|
+
_a[enums_1.Locale.NL_BE] = enums_1.Currency.EUR,
|
|
10
|
+
_a);
|
|
11
|
+
return map[locale];
|
|
12
|
+
};
|
|
13
|
+
exports.getCurrencyByLocale = getCurrencyByLocale;
|
|
14
|
+
//# sourceMappingURL=getCurrencyByLocale.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCurrencyByLocale.js","sourceRoot":"","sources":["../../src/parsers/getCurrencyByLocale.ts"],"names":[],"mappings":";;;AAAA,kCAA4C;AAErC,IAAM,mBAAmB,GAAG,UAAC,MAAc;;IAChD,IAAM,GAAG;QACP,GAAC,cAAM,CAAC,KAAK,IAAG,gBAAQ,CAAC,GAAG;QAC5B,GAAC,cAAM,CAAC,KAAK,IAAG,gBAAQ,CAAC,GAAG;WAC7B,CAAC;IAEF,OAAO,GAAG,CAAC,MAAM,CAAC,CAAC;AACrB,CAAC,CAAC;AAPW,QAAA,mBAAmB,uBAO9B"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getKeyboardLayoutByLocale = void 0;
|
|
4
|
+
var enums_1 = require("../enums");
|
|
5
|
+
var getKeyboardLayoutByLocale = function (locale) {
|
|
6
|
+
var keyboardLayouts = {
|
|
7
|
+
"nl-NL": enums_1.KeyboardLayout.QWERTY_NL,
|
|
8
|
+
"nl-BE": enums_1.KeyboardLayout.AZERTY_BE,
|
|
9
|
+
// "en-GB": KeyboardLayout.QWERTY_UK,
|
|
10
|
+
// "en-US": KeyboardLayout.QWERTY_US,
|
|
11
|
+
// "fr-BE": KeyboardLayout.AZERTY_FR,
|
|
12
|
+
// "fr-FR": KeyboardLayout.AZERTY_FR,
|
|
13
|
+
// "de-DE": KeyboardLayout.QWERTZ_DE,
|
|
14
|
+
};
|
|
15
|
+
return keyboardLayouts[locale];
|
|
16
|
+
};
|
|
17
|
+
exports.getKeyboardLayoutByLocale = getKeyboardLayoutByLocale;
|
|
18
|
+
//# sourceMappingURL=getKeyboardLayoutByLocale.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getKeyboardLayoutByLocale.js","sourceRoot":"","sources":["../../src/parsers/getKeyboardLayoutByLocale.ts"],"names":[],"mappings":";;;AAAA,kCAAkD;AAE3C,IAAM,yBAAyB,GAAG,UAAC,MAAc;IACtD,IAAM,eAAe,GAAwC;QAC3D,OAAO,EAAE,sBAAc,CAAC,SAAS;QACjC,OAAO,EAAE,sBAAc,CAAC,SAAS;QACjC,qCAAqC;QACrC,qCAAqC;QACrC,qCAAqC;QACrC,qCAAqC;QACrC,qCAAqC;KACtC,CAAC;IAEF,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC,CAAC;AAZW,QAAA,yBAAyB,6BAYpC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getLanguageCodeByLocale = void 0;
|
|
4
|
+
var getLanguageCodeByLocale = function (locale) { return locale.split("-")[0]; };
|
|
5
|
+
exports.getLanguageCodeByLocale = getLanguageCodeByLocale;
|
|
6
|
+
//# sourceMappingURL=getLanguageCodeByLocale.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getLanguageCodeByLocale.js","sourceRoot":"","sources":["../../src/parsers/getLanguageCodeByLocale.ts"],"names":[],"mappings":";;;AAEO,IAAM,uBAAuB,GAAG,UAAC,MAAc,IAAK,OAAA,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAApB,CAAoB,CAAC;AAAnE,QAAA,uBAAuB,2BAA4C"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getNativeLanguageByLocale = void 0;
|
|
4
|
+
var getNativeLanguageByLocale = function (locale) {
|
|
5
|
+
var nativeLanguages = {
|
|
6
|
+
"nl-NL": "Nederlands",
|
|
7
|
+
"nl-BE": "Nederlands (BE)",
|
|
8
|
+
// "en-GB": "English (UK)",
|
|
9
|
+
// "en-US": "English (US)",
|
|
10
|
+
// "fr-BE": "Français (BE)",
|
|
11
|
+
// "fr-FR": "Français",
|
|
12
|
+
// "de-DE": "Deutsch",
|
|
13
|
+
};
|
|
14
|
+
return nativeLanguages[locale];
|
|
15
|
+
};
|
|
16
|
+
exports.getNativeLanguageByLocale = getNativeLanguageByLocale;
|
|
17
|
+
//# sourceMappingURL=getNativeLanguageByLocale.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNativeLanguageByLocale.js","sourceRoot":"","sources":["../../src/parsers/getNativeLanguageByLocale.ts"],"names":[],"mappings":";;;AAEO,IAAM,yBAAyB,GAAG,UAAC,MAAc;IACtD,IAAM,eAAe,GAAgC;QACnD,OAAO,EAAE,YAAY;QACrB,OAAO,EAAE,iBAAiB;QAC1B,2BAA2B;QAC3B,2BAA2B;QAC3B,4BAA4B;QAC5B,uBAAuB;QACvB,sBAAsB;KACvB,CAAC;IAEF,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC,CAAC;AAZW,QAAA,yBAAyB,6BAYpC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getPricing = void 0;
|
|
4
|
+
var enums_1 = require("../enums");
|
|
5
|
+
var getPricing = function (currency) {
|
|
6
|
+
var _a, _b;
|
|
7
|
+
var plans = (_a = {},
|
|
8
|
+
_a[enums_1.Plan.HOBBY] = { EUR: 0, GBP: 0, USD: 0 },
|
|
9
|
+
_a[enums_1.Plan.PROFESSIONAL] = { EUR: 14.95, GBP: 12.95, USD: 15.95 },
|
|
10
|
+
_a);
|
|
11
|
+
var pricing = (_b = {},
|
|
12
|
+
_b[enums_1.Plan.HOBBY] = plans.hobby[currency],
|
|
13
|
+
_b[enums_1.Plan.PROFESSIONAL] = plans.professional[currency],
|
|
14
|
+
_b);
|
|
15
|
+
return pricing;
|
|
16
|
+
};
|
|
17
|
+
exports.getPricing = getPricing;
|
|
18
|
+
//# sourceMappingURL=getPricing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPricing.js","sourceRoot":"","sources":["../../src/parsers/getPricing.ts"],"names":[],"mappings":";;;AAAA,kCAA0C;AAEnC,IAAM,UAAU,GAAG,UAAC,QAAkB;;IAC3C,IAAM,KAAK;QACT,GAAC,YAAI,CAAC,KAAK,IAAG,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE;QACxC,GAAC,YAAI,CAAC,YAAY,IAAG,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE;WAC5D,CAAC;IAEF,IAAM,OAAO;QACX,GAAC,YAAI,CAAC,KAAK,IAAG,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC;QACnC,GAAC,YAAI,CAAC,YAAY,IAAG,KAAK,CAAC,YAAY,CAAC,QAAQ,CAAC;WAClD,CAAC;IAEF,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC;AAZW,QAAA,UAAU,cAYrB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./formatPrice";
|
|
2
|
+
export * from "./getCountryByLocale";
|
|
3
|
+
export * from "./getCourseTranslationByLocale";
|
|
4
|
+
export * from "./getCurrencyByLocale";
|
|
5
|
+
export * from "./getKeyboardLayoutByLocale";
|
|
6
|
+
export * from "./getLanguageCodeByLocale";
|
|
7
|
+
export * from "./getCountryCodeByLocale";
|
|
8
|
+
export * from "./getNativeLanguageByLocale";
|
|
9
|
+
export * from "./getPricing";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./formatPrice"), exports);
|
|
18
|
+
__exportStar(require("./getCountryByLocale"), exports);
|
|
19
|
+
__exportStar(require("./getCourseTranslationByLocale"), exports);
|
|
20
|
+
__exportStar(require("./getCurrencyByLocale"), exports);
|
|
21
|
+
__exportStar(require("./getKeyboardLayoutByLocale"), exports);
|
|
22
|
+
__exportStar(require("./getLanguageCodeByLocale"), exports);
|
|
23
|
+
__exportStar(require("./getCountryCodeByLocale"), exports);
|
|
24
|
+
__exportStar(require("./getNativeLanguageByLocale"), exports);
|
|
25
|
+
__exportStar(require("./getPricing"), exports);
|
|
26
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/parsers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,uDAAqC;AACrC,iEAA+C;AAC/C,wDAAsC;AACtC,8DAA4C;AAC5C,4DAA0C;AAC1C,2DAAyC;AACzC,8DAA4C;AAC5C,+CAA6B"}
|