@intlayer/core 9.3.3 → 9.4.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/README.md +1 -1
- package/dist/types/interpreter/getPlural.d.ts +1 -1
- package/package.json +6 -6
- package/dist/types/@intlayer/core/dist/types/formatters/compact.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/formatters/currency.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/formatters/date.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/formatters/index.d.ts +0 -9
- package/dist/types/@intlayer/core/dist/types/formatters/list.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/formatters/number.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/formatters/percentage.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/formatters/relativeTime.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/formatters/units.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/interpreter/getCondition.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/interpreter/getContent/deepTransform.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/interpreter/getContent/getContent.d.ts +0 -3
- package/dist/types/@intlayer/core/dist/types/interpreter/getContent/index.d.ts +0 -3
- package/dist/types/@intlayer/core/dist/types/interpreter/getContent/plugins.d.ts +0 -7
- package/dist/types/@intlayer/core/dist/types/interpreter/getDictionary.d.ts +0 -4
- package/dist/types/@intlayer/core/dist/types/interpreter/getEnumeration.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/interpreter/getGender.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/interpreter/getInsertion.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/interpreter/getIntlayer.d.ts +0 -4
- package/dist/types/@intlayer/core/dist/types/interpreter/getNesting.d.ts +0 -6
- package/dist/types/@intlayer/core/dist/types/interpreter/getPlural.d.ts +0 -3
- package/dist/types/@intlayer/core/dist/types/interpreter/getSelect.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/interpreter/getTranslation.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/interpreter/index.d.ts +0 -15
- package/dist/types/@intlayer/core/dist/types/interpreter/interpolableNode.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/localization/comparePaths.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/localization/domainUtils.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/localization/generateSitemap.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/localization/getBrowserLocale.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/localization/getHTMLTextDir.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/localization/getLocale.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/localization/getLocaleFromPath.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/localization/getLocaleLang.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/localization/getLocaleName.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/localization/getLocalizedPath.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/localization/getLocalizedUrl.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/localization/getMultilingualUrls.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/localization/getPathWithoutLocale.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/localization/getPrefix.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/localization/index.d.ts +0 -20
- package/dist/types/@intlayer/core/dist/types/localization/localeDetector.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/localization/localeMapper.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/localization/localeResolver.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/localization/resolveBrowserLocale.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/localization/rewriteUtils.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/localization/validatePrefix.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/markdown/index.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/transpiler/condition/condition.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/condition/index.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/enumeration/enumeration.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/enumeration/index.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/file/file.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/file/index.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/gender/gender.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/gender/index.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/html/html.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/html/index.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/index.d.ts +0 -22
- package/dist/types/@intlayer/core/dist/types/transpiler/insertion/index.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/insertion/insertion.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/markdown/index.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/markdown/markdown.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/nesting/index.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/nesting/nesting.d.ts +0 -4
- package/dist/types/@intlayer/core/dist/types/transpiler/plural/index.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/plural/plural.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/select/index.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/select/select.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/translation/index.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/transpiler/translation/translation.d.ts +0 -2
- package/dist/types/@intlayer/core/dist/types/utils/index.d.ts +0 -3
- package/dist/types/@intlayer/core/dist/types/utils/intl.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/utils/isSameKeyPath.d.ts +0 -1
- package/dist/types/@intlayer/core/dist/types/utils/localeStorage.d.ts +0 -2
- package/dist/types/intlayer/dist/types/index.d.ts +0 -14
package/README.md
CHANGED
|
@@ -327,4 +327,4 @@ Contribute on [GitHub](https://github.com/aymericzip/intlayer), [GitLab](https:/
|
|
|
327
327
|
|
|
328
328
|
If you like Intlayer, give us a ⭐ on GitHub. It helps others discover the project! [See why GitHub Stars matter](https://github.com/aymericzip/intlayer/blob/main/CONTRIBUTING.md#why-github-stars-matter-).
|
|
329
329
|
|
|
330
|
-
[](https://star-history.dera.page/#aymericzip/intlayer&Date)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PluralContentState } from "../transpiler/plural/plural.js";
|
|
2
|
-
import { LocalesValues } from "../intlayer/dist/types/index.js";
|
|
3
2
|
import { DeclaredLocales } from "@intlayer/types";
|
|
3
|
+
import { LocalesValues } from "intlayer";
|
|
4
4
|
//#region src/interpreter/getPlural.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Picks content from a plural map based on a count and locale, using CLDR
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/core",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.4.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": [
|
|
@@ -172,11 +172,11 @@
|
|
|
172
172
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
173
173
|
},
|
|
174
174
|
"dependencies": {
|
|
175
|
-
"@intlayer/api": "9.
|
|
176
|
-
"@intlayer/config": "9.
|
|
177
|
-
"@intlayer/dictionaries-entry": "9.
|
|
178
|
-
"@intlayer/types": "9.
|
|
179
|
-
"@intlayer/unmerged-dictionaries-entry": "9.
|
|
175
|
+
"@intlayer/api": "9.4.0-canary.0",
|
|
176
|
+
"@intlayer/config": "9.4.0-canary.0",
|
|
177
|
+
"@intlayer/dictionaries-entry": "9.4.0-canary.0",
|
|
178
|
+
"@intlayer/types": "9.4.0-canary.0",
|
|
179
|
+
"@intlayer/unmerged-dictionaries-entry": "9.4.0-canary.0",
|
|
180
180
|
"defu": "6.1.7"
|
|
181
181
|
},
|
|
182
182
|
"devDependencies": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./plugins.js";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import "../../transpiler/gender/gender.js";
|
|
2
|
-
import "../getNesting.js";
|
|
3
|
-
import "../../transpiler/index.js";
|
|
4
|
-
import { DeclaredLocales, DictionaryKeys, LocalesValues } from "@intlayer/types/module_augmentation";
|
|
5
|
-
import { NodeType } from "@intlayer/types/nodeType";
|
|
6
|
-
import { Locale } from "@intlayer/types/allLocales";
|
|
7
|
-
import { KeyPath } from "@intlayer/types/keyPath";
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import "./getContent/index.js";
|
|
2
|
-
import "./getContent/plugins.js";
|
|
3
|
-
import { Dictionary, DictionarySelector, QualifiedDictionaryGroup, ResolveQualifiedDictionaryContent } from "@intlayer/types/dictionary";
|
|
4
|
-
import { DeclaredLocales, ExtractSelectorLocale, LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import "./getContent/index.js";
|
|
2
|
-
import "./getContent/plugins.js";
|
|
3
|
-
import { DictionarySelector } from "@intlayer/types/dictionary";
|
|
4
|
-
import { DeclaredLocales, DictionaryKeys, DictionaryRegistryResult, ExtractSelectorLocale, LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import "./getContent/index.js";
|
|
2
|
-
import "./getContent/plugins.js";
|
|
3
|
-
import "../transpiler/nesting/nesting.js";
|
|
4
|
-
import "../transpiler/index.js";
|
|
5
|
-
import { GetSubPath } from "@intlayer/types/dictionary";
|
|
6
|
-
import { DictionaryKeys, DictionaryRegistryContent } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { LocalesValues, StrictModeLocaleMap } from "@intlayer/types/module_augmentation";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import "./getContent/deepTransform.js";
|
|
2
|
-
import "./getContent/getContent.js";
|
|
3
|
-
import "./getContent/index.js";
|
|
4
|
-
import "./getNesting.js";
|
|
5
|
-
import "./getContent/plugins.js";
|
|
6
|
-
import "./getCondition.js";
|
|
7
|
-
import "./getDictionary.js";
|
|
8
|
-
import "./getEnumeration.js";
|
|
9
|
-
import "./getGender.js";
|
|
10
|
-
import "./getInsertion.js";
|
|
11
|
-
import "./getIntlayer.js";
|
|
12
|
-
import "./getPlural.js";
|
|
13
|
-
import "./getSelect.js";
|
|
14
|
-
import "./getTranslation.js";
|
|
15
|
-
import "./interpolableNode.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { DeclaredLocales, LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { Locale } from "@intlayer/types/allLocales";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { DeclaredLocales } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { GetLocaleLang, LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { DeclaredLocales, LocalesValues, PathWithoutLocale } from "@intlayer/types/module_augmentation";
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import "./comparePaths.js";
|
|
2
|
-
import "./domainUtils.js";
|
|
3
|
-
import "./generateSitemap.js";
|
|
4
|
-
import "./getBrowserLocale.js";
|
|
5
|
-
import "./getHTMLTextDir.js";
|
|
6
|
-
import "./getLocale.js";
|
|
7
|
-
import "./getPrefix.js";
|
|
8
|
-
import "./getLocaleFromPath.js";
|
|
9
|
-
import "./getLocaleLang.js";
|
|
10
|
-
import "./getLocaleName.js";
|
|
11
|
-
import "./getLocalizedPath.js";
|
|
12
|
-
import "./getLocalizedUrl.js";
|
|
13
|
-
import "./getMultilingualUrls.js";
|
|
14
|
-
import "./getPathWithoutLocale.js";
|
|
15
|
-
import "./localeDetector.js";
|
|
16
|
-
import "./localeMapper.js";
|
|
17
|
-
import "./localeResolver.js";
|
|
18
|
-
import "./resolveBrowserLocale.js";
|
|
19
|
-
import "./rewriteUtils.js";
|
|
20
|
-
import "./validatePrefix.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { DeclaredLocales, LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { DeclaredLocales, LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { CONDITION, TypedNodeModel } from "@intlayer/types/nodeType";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./condition.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { ENUMERATION, TypedNodeModel } from "@intlayer/types/nodeType";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./enumeration.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { FILE, TypedNodeModel } from "@intlayer/types/nodeType";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./file.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { GENDER, TypedNodeModel } from "@intlayer/types/nodeType";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./gender.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { HTML, TypedNodeModel } from "@intlayer/types/nodeType";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./html.js";
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import "./file/file.js";
|
|
2
|
-
import "./condition/condition.js";
|
|
3
|
-
import "./condition/index.js";
|
|
4
|
-
import "./enumeration/enumeration.js";
|
|
5
|
-
import "./enumeration/index.js";
|
|
6
|
-
import "./file/index.js";
|
|
7
|
-
import "./gender/gender.js";
|
|
8
|
-
import "./gender/index.js";
|
|
9
|
-
import "./html/html.js";
|
|
10
|
-
import "./html/index.js";
|
|
11
|
-
import "./insertion/insertion.js";
|
|
12
|
-
import "./insertion/index.js";
|
|
13
|
-
import "./markdown/markdown.js";
|
|
14
|
-
import "./markdown/index.js";
|
|
15
|
-
import "./nesting/nesting.js";
|
|
16
|
-
import "./nesting/index.js";
|
|
17
|
-
import "./plural/plural.js";
|
|
18
|
-
import "./plural/index.js";
|
|
19
|
-
import "./select/select.js";
|
|
20
|
-
import "./select/index.js";
|
|
21
|
-
import "./translation/translation.js";
|
|
22
|
-
import "./translation/index.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./insertion.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { INSERTION, TypedNodeModel } from "@intlayer/types/nodeType";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./markdown.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { MARKDOWN, TypedNodeModel } from "@intlayer/types/nodeType";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./nesting.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./plural.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { PLURAL, TypedNodeModel } from "@intlayer/types/nodeType";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./select.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { SELECT, TypedNodeModel } from "@intlayer/types/nodeType";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./translation.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { KeyPath } from "@intlayer/types/keyPath";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import "../../../@intlayer/core/dist/types/transpiler/file/file.js";
|
|
2
|
-
import "../../../@intlayer/core/dist/types/formatters/index.js";
|
|
3
|
-
import "../../../@intlayer/core/dist/types/transpiler/index.js";
|
|
4
|
-
import "../../../@intlayer/core/dist/types/interpreter/index.js";
|
|
5
|
-
import "../../../@intlayer/core/dist/types/localization/index.js";
|
|
6
|
-
import "../../../@intlayer/core/dist/types/markdown/index.js";
|
|
7
|
-
import "../../../@intlayer/core/dist/types/utils/index.js";
|
|
8
|
-
import { Dictionary } from "@intlayer/types/dictionary";
|
|
9
|
-
import { LocalesValues as LocalesValues$1 } from "@intlayer/types/module_augmentation";
|
|
10
|
-
import "@intlayer/types/allLocales";
|
|
11
|
-
import { IntlayerConfig } from "@intlayer/types/config";
|
|
12
|
-
import "@intlayer/types/locales";
|
|
13
|
-
import "@intlayer/config/built";
|
|
14
|
-
export type { LocalesValues$1 as LocalesValues };
|