@intlayer/core 7.3.15 → 7.5.0-canary.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.
- package/dist/cjs/index.cjs +3 -1
- package/dist/cjs/localization/getLocalizedUrl.cjs +8 -2
- package/dist/cjs/localization/getLocalizedUrl.cjs.map +1 -1
- package/dist/cjs/localization/getMultilingualUrls.cjs +7 -1
- package/dist/cjs/localization/getMultilingualUrls.cjs.map +1 -1
- package/dist/cjs/localization/getPrefix.cjs +8 -2
- package/dist/cjs/localization/getPrefix.cjs.map +1 -1
- package/dist/cjs/localization/index.cjs +3 -1
- package/dist/cjs/localization/validatePrefix.cjs +54 -0
- package/dist/cjs/localization/validatePrefix.cjs.map +1 -0
- package/dist/cjs/messageFormat/ICU.cjs +309 -0
- package/dist/cjs/messageFormat/ICU.cjs.map +1 -0
- package/dist/cjs/messageFormat/i18next.cjs +320 -0
- package/dist/cjs/messageFormat/i18next.cjs.map +1 -0
- package/dist/cjs/messageFormat/index.cjs +10 -0
- package/dist/cjs/messageFormat/vue-i18n.cjs +166 -0
- package/dist/cjs/messageFormat/vue-i18n.cjs.map +1 -0
- package/dist/esm/index.mjs +2 -1
- package/dist/esm/localization/getLocalizedUrl.mjs +8 -2
- package/dist/esm/localization/getLocalizedUrl.mjs.map +1 -1
- package/dist/esm/localization/getMultilingualUrls.mjs +7 -1
- package/dist/esm/localization/getMultilingualUrls.mjs.map +1 -1
- package/dist/esm/localization/getPrefix.mjs +8 -2
- package/dist/esm/localization/getPrefix.mjs.map +1 -1
- package/dist/esm/localization/index.mjs +2 -1
- package/dist/esm/localization/validatePrefix.mjs +52 -0
- package/dist/esm/localization/validatePrefix.mjs.map +1 -0
- package/dist/esm/messageFormat/ICU.mjs +307 -0
- package/dist/esm/messageFormat/ICU.mjs.map +1 -0
- package/dist/esm/messageFormat/i18next.mjs +318 -0
- package/dist/esm/messageFormat/i18next.mjs.map +1 -0
- package/dist/esm/messageFormat/index.mjs +5 -0
- package/dist/esm/messageFormat/vue-i18n.mjs +164 -0
- package/dist/esm/messageFormat/vue-i18n.mjs.map +1 -0
- package/dist/types/deepTransformPlugins/getFilterMissingTranslationsContent.d.ts +1 -0
- package/dist/types/deepTransformPlugins/getFilterTranslationsOnlyContent.d.ts +8 -7
- package/dist/types/deepTransformPlugins/getFilterTranslationsOnlyContent.d.ts.map +1 -1
- package/dist/types/deepTransformPlugins/getFilteredLocalesContent.d.ts +8 -7
- package/dist/types/deepTransformPlugins/getFilteredLocalesContent.d.ts.map +1 -1
- package/dist/types/dictionaryManipulator/orderDictionaries.d.ts +2 -2
- package/dist/types/index.d.ts +2 -1
- package/dist/types/localization/getMultilingualUrls.d.ts.map +1 -1
- package/dist/types/localization/getPrefix.d.ts +2 -1
- package/dist/types/localization/getPrefix.d.ts.map +1 -1
- package/dist/types/localization/index.d.ts +2 -1
- package/dist/types/localization/validatePrefix.d.ts +38 -0
- package/dist/types/localization/validatePrefix.d.ts.map +1 -0
- package/dist/types/messageFormat/ICU.d.ts +11 -0
- package/dist/types/messageFormat/ICU.d.ts.map +1 -0
- package/dist/types/messageFormat/i18next.d.ts +9 -0
- package/dist/types/messageFormat/i18next.d.ts.map +1 -0
- package/dist/types/messageFormat/index.d.ts +4 -0
- package/dist/types/messageFormat/vue-i18n.d.ts +9 -0
- package/dist/types/messageFormat/vue-i18n.d.ts.map +1 -0
- package/dist/types/transpiler/enumeration/enumeration.d.ts.map +1 -1
- package/package.json +11 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFilteredLocalesContent.d.ts","names":[],"sources":["../../../src/deepTransformPlugins/getFilteredLocalesContent.ts"],"sourcesContent":[],"mappings":";;;;;;cAsCa,kCACL,sBACG,gBAAgB,4BACd;cAwBA,2CACC,oBACJ,gBAAgB;;;EA7Bb,EAAA,CAAA,EA6B0B,iBAAA,CAAA,YAbtC;EAfO,UAAA,CAAA,EAAA,MAAA,EAAA;EACG,OAAA,CAAA,qCAAA;EAAgB,QAAA,CAAA,uCAAA;EACd,GAAA,iCAAA;
|
|
1
|
+
{"version":3,"file":"getFilteredLocalesContent.d.ts","names":[],"sources":["../../../src/deepTransformPlugins/getFilteredLocalesContent.ts"],"sourcesContent":[],"mappings":";;;;;;cAsCa,kCACL,sBACG,gBAAgB,4BACd;cAwBA,2CACC,oBACJ,gBAAgB;;;EA7Bb,EAAA,CAAA,EA6B0B,iBAAA,CAAA,YAbtC;EAfO,UAAA,CAAA,EAAA,MAAA,EAAA;EACG,OAAA,CAAA,qCAAA;EAAgB,QAAA,CAAA,uCAAA;EACd,MAAA,CAAA,oCAAA;EAAS,GAAA,iCAAA;EAwBT,KAAA,CAAA,EAAA,MAAA;EACC,WAAA,CAAA,EAAA,MAAA;EACJ,QAAA,CAAA,EAAA,MAAA,EAAA;EAAgB,OAAA,CAAA,EAAA,MAAA;EAAa,QAAA,CAAA,EAAA,MAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _intlayer_types20 from "@intlayer/types";
|
|
2
2
|
import { Dictionary } from "@intlayer/types";
|
|
3
3
|
|
|
4
4
|
//#region src/dictionaryManipulator/orderDictionaries.d.ts
|
|
@@ -10,7 +10,7 @@ import { Dictionary } from "@intlayer/types";
|
|
|
10
10
|
* @param priorityStrategy - The priority strategy ('local_first' or 'distant_first')
|
|
11
11
|
* @returns Ordered array of dictionaries
|
|
12
12
|
*/
|
|
13
|
-
declare const orderDictionaries: (dictionaries: Dictionary[], configuration?:
|
|
13
|
+
declare const orderDictionaries: (dictionaries: Dictionary[], configuration?: _intlayer_types20.IntlayerConfig) => Dictionary[];
|
|
14
14
|
//#endregion
|
|
15
15
|
export { orderDictionaries };
|
|
16
16
|
//# sourceMappingURL=orderDictionaries.d.ts.map
|
package/dist/types/index.d.ts
CHANGED
|
@@ -67,6 +67,7 @@ import { GetPrefixOptions, GetPrefixResult, getPrefix } from "./localization/get
|
|
|
67
67
|
import { localeDetector } from "./localization/localeDetector.js";
|
|
68
68
|
import { localeFlatMap, localeMap, localeRecord } from "./localization/localeMapper.js";
|
|
69
69
|
import { localeResolver } from "./localization/localeResolver.js";
|
|
70
|
+
import { validatePrefix } from "./localization/validatePrefix.js";
|
|
70
71
|
import "./localization/index.js";
|
|
71
72
|
import { checkIsURLAbsolute } from "./utils/checkIsURLAbsolute.js";
|
|
72
73
|
import { getCookie } from "./utils/getCookie.js";
|
|
@@ -74,4 +75,4 @@ import { CachedIntl, createCachedIntl } from "./utils/intl.js";
|
|
|
74
75
|
import { isSameKeyPath } from "./utils/isSameKeyPath.js";
|
|
75
76
|
import { isValidElement } from "./utils/isValidReactElement.js";
|
|
76
77
|
import { parseYaml } from "./utils/parseYaml.js";
|
|
77
|
-
export { CachedIntl, CachedIntl as Intl, ConditionCond, ConditionContent, ConditionContentStates, DeepTransformContent, DotPath, EnterFormat, EnumerationCond, EnumerationContent, EnumerationContentState, FileCond, FileContent, FileContentConstructor, Gender, GenderCond, GenderContent, GenderContentStates, GetNestingResult, GetPrefixOptions, GetPrefixResult, IInterpreterPlugin, IInterpreterPluginState, InsertionCond, InsertionContent, InsertionContentConstructor, IsAny, LocaleStorage, LocaleStorageOptions, MarkdownContent, MarkdownContentConstructor, NestedCond, NestedContent, NestedContentState, NodeProps, Plugins, ProcessedStorageAttributes, RequestContext, TranslationCond, TranslationContent, ValidDotPathsFor, buildMaskPlugin, checkIsURLAbsolute, checkMissingLocalesPlugin, compact, condition as cond, conditionPlugin, createCachedIntl, currency, date, deepTransformNode, editDictionaryByKeyPath, enumeration as enu, enumerationPlugin, file, fileContent, filePlugin, filterMissingTranslationsOnlyPlugin, filterTranslationsOnlyPlugin, findMatchingCondition, gender, genderPlugin, getBrowserLocale, getCondition, getContent, getContentNodeByKeyPath, getCookie, getDefaultNode, getDictionary, getEmptyNode, getEnumeration, getFilterMissingTranslationsContent, getFilterMissingTranslationsDictionary, getFilterTranslationsOnlyContent, getFilterTranslationsOnlyDictionary, getFilteredLocalesContent, getFilteredLocalesDictionary, getHTMLTextDir, getInsertionValues, getIntlayer, getLocale, getLocaleFromPath, getLocaleFromStorage, getLocaleLang, getLocaleName, getLocalizedContent, getLocalizedUrl, getMarkdownMetadata, getMaskContent, getMissingLocalesContent, getMissingLocalesContentFromDictionary, getMultilingualDictionary, getMultilingualUrls, getNesting, getNodeChildren, getNodeType, getPathWithoutLocale, getPerLocaleDictionary, getPrefix, getReplacedValuesContent, getSplittedContent, getSplittedDictionaryContent, getStorageAttributes, getTranslation, insertion as insert, insertContentInDictionary, insertionPlugin, isSameKeyPath, isValidElement, list, localeDetector, localeFlatMap, localeMap, localeRecord, localeResolver, localeStorageOptions, markdown as md, mergeDictionaries, nesting as nest, nestedPlugin, normalizeDictionaries, normalizeDictionary, number, orderDictionaries, parseYaml, percentage, relativeTime, removeContentNodeByKeyPath, renameContentNodeByKeyPath, setLocaleInStorage, translation as t, translationPlugin, units, updateNodeChildren };
|
|
78
|
+
export { CachedIntl, CachedIntl as Intl, ConditionCond, ConditionContent, ConditionContentStates, DeepTransformContent, DotPath, EnterFormat, EnumerationCond, EnumerationContent, EnumerationContentState, FileCond, FileContent, FileContentConstructor, Gender, GenderCond, GenderContent, GenderContentStates, GetNestingResult, GetPrefixOptions, GetPrefixResult, IInterpreterPlugin, IInterpreterPluginState, InsertionCond, InsertionContent, InsertionContentConstructor, IsAny, LocaleStorage, LocaleStorageOptions, MarkdownContent, MarkdownContentConstructor, NestedCond, NestedContent, NestedContentState, NodeProps, Plugins, ProcessedStorageAttributes, RequestContext, TranslationCond, TranslationContent, ValidDotPathsFor, buildMaskPlugin, checkIsURLAbsolute, checkMissingLocalesPlugin, compact, condition as cond, conditionPlugin, createCachedIntl, currency, date, deepTransformNode, editDictionaryByKeyPath, enumeration as enu, enumerationPlugin, file, fileContent, filePlugin, filterMissingTranslationsOnlyPlugin, filterTranslationsOnlyPlugin, findMatchingCondition, gender, genderPlugin, getBrowserLocale, getCondition, getContent, getContentNodeByKeyPath, getCookie, getDefaultNode, getDictionary, getEmptyNode, getEnumeration, getFilterMissingTranslationsContent, getFilterMissingTranslationsDictionary, getFilterTranslationsOnlyContent, getFilterTranslationsOnlyDictionary, getFilteredLocalesContent, getFilteredLocalesDictionary, getHTMLTextDir, getInsertionValues, getIntlayer, getLocale, getLocaleFromPath, getLocaleFromStorage, getLocaleLang, getLocaleName, getLocalizedContent, getLocalizedUrl, getMarkdownMetadata, getMaskContent, getMissingLocalesContent, getMissingLocalesContentFromDictionary, getMultilingualDictionary, getMultilingualUrls, getNesting, getNodeChildren, getNodeType, getPathWithoutLocale, getPerLocaleDictionary, getPrefix, getReplacedValuesContent, getSplittedContent, getSplittedDictionaryContent, getStorageAttributes, getTranslation, insertion as insert, insertContentInDictionary, insertionPlugin, isSameKeyPath, isValidElement, list, localeDetector, localeFlatMap, localeMap, localeRecord, localeResolver, localeStorageOptions, markdown as md, mergeDictionaries, nesting as nest, nestedPlugin, normalizeDictionaries, normalizeDictionary, number, orderDictionaries, parseYaml, percentage, relativeTime, removeContentNodeByKeyPath, renameContentNodeByKeyPath, setLocaleInStorage, translation as t, translationPlugin, units, updateNodeChildren, validatePrefix };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getMultilingualUrls.d.ts","names":[],"sources":["../../../src/localization/getMultilingualUrls.ts"],"sourcesContent":[],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"getMultilingualUrls.d.ts","names":[],"sources":["../../../src/localization/getMultilingualUrls.ts"],"sourcesContent":[],"mappings":";;;;;;AAuCA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAa;YAGC;kBACM;;MAGjB"}
|
|
@@ -56,8 +56,9 @@ type GetPrefixResult = {
|
|
|
56
56
|
* @param options.mode - URL routing mode for locale handling. Defaults to configured mode.
|
|
57
57
|
* @returns An object containing pathPrefix, prefix, and localePrefix for the given locale.
|
|
58
58
|
*/
|
|
59
|
-
declare const getPrefix: (locale: LocalesValues, options?: {
|
|
59
|
+
declare const getPrefix: (locale: LocalesValues | undefined, options?: {
|
|
60
60
|
defaultLocale?: LocalesValues;
|
|
61
|
+
locales?: LocalesValues[];
|
|
61
62
|
mode?: "prefix-no-default" | "prefix-all" | "no-prefix" | "search-params";
|
|
62
63
|
}) => GetPrefixResult;
|
|
63
64
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPrefix.d.ts","names":[],"sources":["../../../src/localization/getPrefix.ts"],"sourcesContent":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"getPrefix.d.ts","names":[],"sources":["../../../src/localization/getPrefix.ts"],"sourcesContent":[],"mappings":";;;KAIY,gBAAA;kBACM;EADN,IAAA,CAAA,EAAA,mBAAgB,GAAA,YACV,GAAA,WAAa,GAAA,eAAA;AAI/B,CAAA;AAoDa,KApDD,eAAA,GA8FX;EAzCS;;;;;;;;;;;;;;;gBArCM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoCH,oBACH;kBAEU;YACN;;MAGX"}
|
|
@@ -10,4 +10,5 @@ import { GetPrefixOptions, GetPrefixResult, getPrefix } from "./getPrefix.js";
|
|
|
10
10
|
import { localeDetector } from "./localeDetector.js";
|
|
11
11
|
import { localeFlatMap, localeMap, localeRecord } from "./localeMapper.js";
|
|
12
12
|
import { localeResolver } from "./localeResolver.js";
|
|
13
|
-
|
|
13
|
+
import { validatePrefix } from "./validatePrefix.js";
|
|
14
|
+
export { type GetPrefixOptions, type GetPrefixResult, getBrowserLocale, getHTMLTextDir, getLocaleFromPath, getLocaleLang, getLocaleName, getLocalizedUrl, getMultilingualUrls, getPathWithoutLocale, getPrefix, localeDetector, localeFlatMap, localeMap, localeRecord, localeResolver, localeStorageOptions, validatePrefix };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { LocalesValues } from "@intlayer/types";
|
|
2
|
+
import configuration from "@intlayer/config/built";
|
|
3
|
+
|
|
4
|
+
//#region src/localization/validatePrefix.d.ts
|
|
5
|
+
type ValidatePrefixResult = {
|
|
6
|
+
isValid: boolean;
|
|
7
|
+
localePrefix: string | undefined;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Checks whether a given locale is valid based on the configured locales.
|
|
11
|
+
*
|
|
12
|
+
* @param locale - The locale value to validate. Can be `undefined` or `null`.
|
|
13
|
+
* @param options - Optional configuration to override default settings.
|
|
14
|
+
* @param options.locales - Array of valid locales. Defaults to the configured internationalization locales.
|
|
15
|
+
* @param options.defaultLocale - The default locale to use as fallback. Defaults to the configured default locale.
|
|
16
|
+
* @param options.mode - The routing mode (`'prefix'`, `'prefix-all'`, or `'no-prefix'`). Defaults to the configured routing mode.
|
|
17
|
+
* @returns An object containing the validation result and the locale prefix.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* // Check if 'en' is a valid locale
|
|
21
|
+
* const { isValid, localePrefix } = validatePrefix('en');
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* // Check with custom options
|
|
25
|
+
* const { isValid, localePrefix } = validatePrefix('fr', {
|
|
26
|
+
* locales: ['en', 'fr', 'es'],
|
|
27
|
+
* defaultLocale: 'en',
|
|
28
|
+
* mode: 'prefix-all',
|
|
29
|
+
* });
|
|
30
|
+
*/
|
|
31
|
+
declare const validatePrefix: (locale: LocalesValues | undefined | null, options?: {
|
|
32
|
+
locales?: LocalesValues[];
|
|
33
|
+
defaultLocale?: LocalesValues;
|
|
34
|
+
mode?: typeof configuration.routing.mode;
|
|
35
|
+
}) => ValidatePrefixResult;
|
|
36
|
+
//#endregion
|
|
37
|
+
export { ValidatePrefixResult, validatePrefix };
|
|
38
|
+
//# sourceMappingURL=validatePrefix.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validatePrefix.d.ts","names":[],"sources":["../../../src/localization/validatePrefix.ts"],"sourcesContent":[],"mappings":";;;;KAKY,oBAAA;;EAAA,YAAA,EAAA,MAAA,GAAoB,SAAA;AA2BhC,CAAA;;;;;;;;;;;;;;;;;;;;;;;cAAa,yBACH;YAEI;kBACM;gBACF,aAAA,CAAc,OAAA,CAAQ;MAErC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Dictionary } from "@intlayer/types";
|
|
2
|
+
|
|
3
|
+
//#region src/messageFormat/ICU.d.ts
|
|
4
|
+
type JsonValue = string | number | boolean | null | JsonValue[] | {
|
|
5
|
+
[key: string]: JsonValue;
|
|
6
|
+
};
|
|
7
|
+
declare const intlayerToICUFormatter: (message: Dictionary["content"]) => JsonValue;
|
|
8
|
+
declare const icuToIntlayerFormatter: (message: Dictionary["content"]) => JsonValue;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { JsonValue, icuToIntlayerFormatter, intlayerToICUFormatter };
|
|
11
|
+
//# sourceMappingURL=ICU.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ICU.d.ts","names":[],"sources":["../../../src/messageFormat/ICU.ts"],"sourcesContent":[],"mappings":";;;KAeY,SAAA,sCAKR;iBACiB;AANrB,CAAA;AA2ba,cAAA,sBACF,EAAA,CAAA,OACR,EADQ,UAOV,CAAA,SAAA,CAAA,EAAA,GANE,SAMF;AAEY,cAAA,sBACF,EAAA,CAAA,OACR,EADQ,UAOV,CAAA,SAAA,CAAA,EAAA,GANE,SAMF"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { JsonValue } from "./ICU.js";
|
|
2
|
+
import { Dictionary } from "@intlayer/types";
|
|
3
|
+
|
|
4
|
+
//#region src/messageFormat/i18next.d.ts
|
|
5
|
+
declare const intlayerToI18nextFormatter: (message: Dictionary["content"]) => JsonValue;
|
|
6
|
+
declare const i18nextToIntlayerFormatter: (message: JsonValue) => Dictionary["content"];
|
|
7
|
+
//#endregion
|
|
8
|
+
export { i18nextToIntlayerFormatter, intlayerToI18nextFormatter };
|
|
9
|
+
//# sourceMappingURL=i18next.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18next.d.ts","names":[],"sources":["../../../src/messageFormat/i18next.ts"],"sourcesContent":[],"mappings":";;;;cAwca,sCACF,0BACR;cAQU,sCACF,cACR"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { JsonValue, icuToIntlayerFormatter, intlayerToICUFormatter } from "./ICU.js";
|
|
2
|
+
import { i18nextToIntlayerFormatter, intlayerToI18nextFormatter } from "./i18next.js";
|
|
3
|
+
import { intlayerToVueI18nFormatter, vueI18nToIntlayerFormatter } from "./vue-i18n.js";
|
|
4
|
+
export { JsonValue, i18nextToIntlayerFormatter, icuToIntlayerFormatter, intlayerToI18nextFormatter, intlayerToICUFormatter, intlayerToVueI18nFormatter, vueI18nToIntlayerFormatter };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { JsonValue } from "./ICU.js";
|
|
2
|
+
import { Dictionary } from "@intlayer/types";
|
|
3
|
+
|
|
4
|
+
//#region src/messageFormat/vue-i18n.d.ts
|
|
5
|
+
declare const intlayerToVueI18nFormatter: (message: Dictionary["content"]) => JsonValue;
|
|
6
|
+
declare const vueI18nToIntlayerFormatter: (message: JsonValue) => Dictionary["content"];
|
|
7
|
+
//#endregion
|
|
8
|
+
export { intlayerToVueI18nFormatter, vueI18nToIntlayerFormatter };
|
|
9
|
+
//# sourceMappingURL=vue-i18n.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vue-i18n.d.ts","names":[],"sources":["../../../src/messageFormat/vue-i18n.ts"],"sourcesContent":[],"mappings":";;;;cAqQa,sCACF,0BACR;cAQU,sCACF,cACR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enumeration.d.ts","names":[],"sources":["../../../../src/transpiler/enumeration/enumeration.ts"],"sourcesContent":[],"mappings":";;;KAEK,QAAA;KACA,QAAA;AAH2E,KAI3E,OAAA,GAAU,QAFF,GAEa,QAFb;AAAA,KAIR,KAAA,GAAQ,OAHA;AAAA,KAIR,WAAA,GAHO,IAGW,OAHR,EAAA;AAAmB,KAI7B,QAAA,GAFK,IAEU,OAFP,EAAA;AAAO,KAGf,eAAA,GAFW,KAEY,OAFL,EAAA;AAAO,KAGzB,QAAA,GAFQ,IAEO,
|
|
1
|
+
{"version":3,"file":"enumeration.d.ts","names":[],"sources":["../../../../src/transpiler/enumeration/enumeration.ts"],"sourcesContent":[],"mappings":";;;KAEK,QAAA;KACA,QAAA;AAH2E,KAI3E,OAAA,GAAU,QAFF,GAEa,QAFb;AAAA,KAIR,KAAA,GAAQ,OAHA;AAAA,KAIR,WAAA,GAHO,IAGW,OAHR,EAAA;AAAmB,KAI7B,QAAA,GAFK,IAEU,OAFP,EAAA;AAAO,KAGf,eAAA,GAFW,KAEY,OAFL,EAAA;AAAO,KAGzB,QAAA,GAFQ,IAEO,OAFP,EAAO;AAAO,KAGtB,eAAA,GAFe,KAEQ,OAFA,EAAA;AACvB,KAGO,WAAA,GACR,KAJgB,GAKhB,WALuB,GAMvB,QANuB,GAOvB,eAPuB,GAQvB,QARuB,GASvB,eATuB;AACtB,KAUO,uBAVgB,CAAA,OAAO,CAAA,GAUY,OAVZ,CAWjC,MAXiC,CAW1B,WAX0B,EAWb,OAXa,CAAA,CAAA,GAAA;EAEvB,QAAA,CAAA,EAWC,OAXU;CACnB;AACA,KAYQ,kBAZR,CAAA,UAAA,OAAA,CAAA,GAYgD,cAZhD,CAaF,QAAA,CAAS,WAbP,EAcF,uBAdE,CAcsB,OAdtB,CAAA,CAAA;;;;;;AAMJ;;;;;;;AAMA;;;;;;AAGE;cAqBI,WAA0D,EAAA,CAAA,OAAA,CAAA,CAAA,OAAA,CAAA,EAAxB,uBAAwB,CAAA,OAAA,CAAA,EAAA,GAAQ,cAAR,CAAQ,QAAA,CAAA,WAAR,EAAQ,uBAAR,CAAQ,OAAR,CAAA,EAAA,CAAA,CAAA,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/core",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.5.0-canary.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Includes core Intlayer functions like translation, dictionary, and utility functions shared across multiple packages.",
|
|
6
6
|
"keywords": [
|
|
@@ -42,6 +42,11 @@
|
|
|
42
42
|
"require": "./dist/cjs/index.cjs",
|
|
43
43
|
"import": "./dist/esm/index.mjs"
|
|
44
44
|
},
|
|
45
|
+
"./messageFormat": {
|
|
46
|
+
"types": "./dist/types/messageFormat/index.d.ts",
|
|
47
|
+
"require": "./dist/cjs/messageFormat/index.cjs",
|
|
48
|
+
"import": "./dist/esm/messageFormat/index.mjs"
|
|
49
|
+
},
|
|
45
50
|
"./file": {
|
|
46
51
|
"types": "./dist/types/transpiler/file/file.d.ts",
|
|
47
52
|
"node": {
|
|
@@ -102,11 +107,11 @@
|
|
|
102
107
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
103
108
|
},
|
|
104
109
|
"dependencies": {
|
|
105
|
-
"@intlayer/api": "7.
|
|
106
|
-
"@intlayer/config": "7.
|
|
107
|
-
"@intlayer/dictionaries-entry": "7.
|
|
108
|
-
"@intlayer/types": "7.
|
|
109
|
-
"@intlayer/unmerged-dictionaries-entry": "7.
|
|
110
|
+
"@intlayer/api": "7.5.0-canary.0",
|
|
111
|
+
"@intlayer/config": "7.5.0-canary.0",
|
|
112
|
+
"@intlayer/dictionaries-entry": "7.5.0-canary.0",
|
|
113
|
+
"@intlayer/types": "7.5.0-canary.0",
|
|
114
|
+
"@intlayer/unmerged-dictionaries-entry": "7.5.0-canary.0",
|
|
110
115
|
"defu": "6.1.4"
|
|
111
116
|
},
|
|
112
117
|
"devDependencies": {
|