gt-next 6.16.21 → 6.16.23
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/CHANGELOG.md +22 -0
- package/dist/_dictionary.d.ts.map +1 -1
- package/dist/_dictionary.js +1 -1
- package/dist/_dictionary.js.map +1 -1
- package/dist/_load-dictionary.d.ts.map +1 -1
- package/dist/_load-dictionary.js +1 -1
- package/dist/_load-dictionary.js.map +1 -1
- package/dist/_load-translations.d.ts.map +1 -1
- package/dist/_load-translations.js +1 -1
- package/dist/_load-translations.js.map +1 -1
- package/dist/branches/Branch.d.ts +2 -3
- package/dist/branches/Branch.d.ts.map +1 -1
- package/dist/branches/Branch.js +1 -1
- package/dist/branches/Branch.js.map +1 -1
- package/dist/branches/Plural.d.ts +2 -3
- package/dist/branches/Plural.d.ts.map +1 -1
- package/dist/branches/Plural.js +3 -6
- package/dist/branches/Plural.js.map +1 -1
- package/dist/config-dir/DictionaryManager.d.ts +1 -2
- package/dist/config-dir/DictionaryManager.d.ts.map +1 -1
- package/dist/config-dir/DictionaryManager.js +4 -8
- package/dist/config-dir/DictionaryManager.js.map +1 -1
- package/dist/config-dir/I18NConfiguration.d.ts +17 -77
- package/dist/config-dir/I18NConfiguration.d.ts.map +1 -1
- package/dist/config-dir/I18NConfiguration.js +81 -246
- package/dist/config-dir/I18NConfiguration.js.map +1 -1
- package/dist/config-dir/getI18NConfig.d.ts +2 -2
- package/dist/config-dir/getI18NConfig.d.ts.map +1 -1
- package/dist/config-dir/getI18NConfig.js +6 -9
- package/dist/config-dir/getI18NConfig.js.map +1 -1
- package/dist/config-dir/loadTranslation.d.ts +1 -1
- package/dist/config-dir/loadTranslation.d.ts.map +1 -1
- package/dist/config-dir/loadTranslation.js +5 -8
- package/dist/config-dir/loadTranslation.js.map +1 -1
- package/dist/config-dir/props/defaultWithGTConfigProps.d.ts +2 -2
- package/dist/config-dir/props/defaultWithGTConfigProps.d.ts.map +1 -1
- package/dist/config-dir/props/defaultWithGTConfigProps.js +2 -3
- package/dist/config-dir/props/defaultWithGTConfigProps.js.map +1 -1
- package/dist/config-dir/props/withGTConfigProps.d.ts +1 -2
- package/dist/config-dir/props/withGTConfigProps.d.ts.map +1 -1
- package/dist/config-dir/utils/resolveConfigFilepath.d.ts.map +1 -1
- package/dist/config-dir/utils/resolveConfigFilepath.js +2 -11
- package/dist/config-dir/utils/resolveConfigFilepath.js.map +1 -1
- package/dist/config-dir/utils/resolveRequestFunctionPaths.d.ts +1 -1
- package/dist/config-dir/utils/resolveRequestFunctionPaths.d.ts.map +1 -1
- package/dist/config-dir/utils/resolveRequestFunctionPaths.js.map +1 -1
- package/dist/config-dir/utils/validateCompiler.d.ts +1 -1
- package/dist/config-dir/utils/validateCompiler.d.ts.map +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +28 -62
- package/dist/config.js.map +1 -1
- package/dist/dictionary/getDictionary.d.ts +1 -1
- package/dist/dictionary/getDictionary.d.ts.map +1 -1
- package/dist/dictionary/getDictionary.js +8 -9
- package/dist/dictionary/getDictionary.js.map +1 -1
- package/dist/dictionary/setDictionary.d.ts +1 -1
- package/dist/dictionary/setDictionary.d.ts.map +1 -1
- package/dist/dictionary/setDictionary.js +1 -1
- package/dist/dictionary/setDictionary.js.map +1 -1
- package/dist/index.server.d.ts +9 -9
- package/dist/index.server.d.ts.map +1 -1
- package/dist/index.server.js +23 -26
- package/dist/index.server.js.map +1 -1
- package/dist/index.types.d.ts +2 -2
- package/dist/index.types.d.ts.map +1 -1
- package/dist/middleware-dir/createNextMiddleware.d.ts +1 -1
- package/dist/middleware-dir/createNextMiddleware.d.ts.map +1 -1
- package/dist/middleware-dir/createNextMiddleware.js +1 -1
- package/dist/middleware-dir/createNextMiddleware.js.map +1 -1
- package/dist/middleware-dir/utils.js +1 -1
- package/dist/middleware-dir/utils.js.map +1 -1
- package/dist/middleware.d.ts +1 -1
- package/dist/middleware.d.ts.map +1 -1
- package/dist/middleware.js +2 -5
- package/dist/middleware.js.map +1 -1
- package/dist/plugin/checks/cacheComponentsChecks.d.ts +1 -1
- package/dist/plugin/checks/cacheComponentsChecks.d.ts.map +1 -1
- package/dist/plugin/checks/ssgChecks.d.ts +1 -1
- package/dist/plugin/checks/ssgChecks.d.ts.map +1 -1
- package/dist/plugin/checks/ssgChecks.js.map +1 -1
- package/dist/provider/ClientProviderWrapper.d.ts +1 -1
- package/dist/provider/ClientProviderWrapper.d.ts.map +1 -1
- package/dist/provider/ClientProviderWrapper.js +2 -2
- package/dist/provider/ClientProviderWrapper.js.map +1 -1
- package/dist/provider/GTProvider.d.ts +1 -1
- package/dist/provider/GTProvider.d.ts.map +1 -1
- package/dist/provider/GTProvider.js +7 -43
- package/dist/provider/GTProvider.js.map +1 -1
- package/dist/request/getLocale.js +4 -7
- package/dist/request/getLocale.js.map +1 -1
- package/dist/request/getLocaleDirection.js +3 -6
- package/dist/request/getLocaleDirection.js.map +1 -1
- package/dist/request/headers/getNextLocale.js +5 -8
- package/dist/request/headers/getNextLocale.js.map +1 -1
- package/dist/request/registerLocale.js +2 -5
- package/dist/request/registerLocale.js.map +1 -1
- package/dist/request/utils/getRequestFunction.js +2 -5
- package/dist/request/utils/getRequestFunction.js.map +1 -1
- package/dist/request/utils/isSSR.d.ts +1 -1
- package/dist/request/utils/isSSR.d.ts.map +1 -1
- package/dist/request/utils/isSSR.js +3 -3
- package/dist/request/utils/isSSR.js.map +1 -1
- package/dist/request/utils/legacyGetLocaleFunction.d.ts +1 -1
- package/dist/request/utils/legacyGetLocaleFunction.d.ts.map +1 -1
- package/dist/request/utils/legacyGetLocaleFunction.js +2 -5
- package/dist/request/utils/legacyGetLocaleFunction.js.map +1 -1
- package/dist/request/utils/legacyGetRegionFunction.js +2 -5
- package/dist/request/utils/legacyGetRegionFunction.js.map +1 -1
- package/dist/request/utils/legacyGetRequestFunction.d.ts +1 -1
- package/dist/request/utils/legacyGetRequestFunction.d.ts.map +1 -1
- package/dist/request/utils/legacyGetRequestFunction.js +9 -9
- package/dist/request/utils/legacyGetRequestFunction.js.map +1 -1
- package/dist/resolvers/resolveDictionaryLoader.d.ts +1 -1
- package/dist/resolvers/resolveDictionaryLoader.d.ts.map +1 -1
- package/dist/resolvers/resolveDictionaryLoader.js +4 -2
- package/dist/resolvers/resolveDictionaryLoader.js.map +1 -1
- package/dist/resolvers/resolveTranslationLoader.d.ts +1 -1
- package/dist/resolvers/resolveTranslationLoader.d.ts.map +1 -1
- package/dist/resolvers/resolveTranslationLoader.js +4 -2
- package/dist/resolvers/resolveTranslationLoader.js.map +1 -1
- package/dist/server-dir/buildtime/T.d.ts +2 -3
- package/dist/server-dir/buildtime/T.d.ts.map +1 -1
- package/dist/server-dir/buildtime/T.js +8 -11
- package/dist/server-dir/buildtime/T.js.map +1 -1
- package/dist/server-dir/buildtime/getTranslationFunction.d.ts.map +1 -1
- package/dist/server-dir/buildtime/getTranslationFunction.js +9 -12
- package/dist/server-dir/buildtime/getTranslationFunction.js.map +1 -1
- package/dist/server-dir/buildtime/getTranslations.d.ts.map +1 -1
- package/dist/server-dir/buildtime/getTranslations.js +19 -25
- package/dist/server-dir/buildtime/getTranslations.js.map +1 -1
- package/dist/server-dir/runtime/_Tx.d.ts +2 -3
- package/dist/server-dir/runtime/_Tx.d.ts.map +1 -1
- package/dist/server-dir/runtime/_Tx.js +19 -18
- package/dist/server-dir/runtime/_Tx.js.map +1 -1
- package/dist/server-dir/runtime/tx.d.ts +1 -1
- package/dist/server-dir/runtime/tx.d.ts.map +1 -1
- package/dist/server-dir/runtime/tx.js +17 -16
- package/dist/server-dir/runtime/tx.js.map +1 -1
- package/dist/server-dir/variables/renderVariable.d.ts +1 -2
- package/dist/server-dir/variables/renderVariable.d.ts.map +1 -1
- package/dist/server-dir/variables/renderVariable.js +13 -15
- package/dist/server-dir/variables/renderVariable.js.map +1 -1
- package/dist/server.d.ts +4 -4
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +13 -16
- package/dist/server.js.map +1 -1
- package/dist/utils/errors.d.ts.map +1 -1
- package/dist/utils/errors.js +0 -1
- package/dist/utils/errors.js.map +1 -1
- package/dist/utils/use.d.ts +1 -2
- package/dist/utils/use.d.ts.map +1 -1
- package/dist/utils/use.js +2 -1
- package/dist/utils/use.js.map +1 -1
- package/dist/variables/Currency.d.ts +2 -3
- package/dist/variables/Currency.d.ts.map +1 -1
- package/dist/variables/Currency.js +4 -7
- package/dist/variables/Currency.js.map +1 -1
- package/dist/variables/DateTime.d.ts +2 -3
- package/dist/variables/DateTime.d.ts.map +1 -1
- package/dist/variables/DateTime.js +4 -7
- package/dist/variables/DateTime.js.map +1 -1
- package/dist/variables/Num.d.ts +2 -3
- package/dist/variables/Num.d.ts.map +1 -1
- package/dist/variables/Num.js +4 -7
- package/dist/variables/Num.js.map +1 -1
- package/dist/variables/RelativeTime.d.ts +2 -3
- package/dist/variables/RelativeTime.d.ts.map +1 -1
- package/dist/variables/RelativeTime.js +4 -7
- package/dist/variables/RelativeTime.js.map +1 -1
- package/dist/variables/Var.d.ts +2 -3
- package/dist/variables/Var.d.ts.map +1 -1
- package/dist/variables/Var.js +1 -1
- package/dist/variables/Var.js.map +1 -1
- package/package.json +6 -8
- package/dist/config-dir/TranslationManager.d.ts +0 -69
- package/dist/config-dir/TranslationManager.d.ts.map +0 -1
- package/dist/config-dir/TranslationManager.js +0 -186
- package/dist/config-dir/TranslationManager.js.map +0 -1
- package/dist/errors/index.d.ts +0 -3
- package/dist/errors/index.d.ts.map +0 -1
- package/dist/errors/index.js +0 -19
- package/dist/errors/index.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# gt-next
|
|
2
2
|
|
|
3
|
+
## 6.16.23
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1311](https://github.com/generaltranslation/gt/pull/1311) [`4976fc6`](https://github.com/generaltranslation/gt/commit/4976fc682c84fa95b7deace431b2235ca1fccf24) Thanks [@bgub](https://github.com/bgub)! - Route gt-next cached and runtime translation lookups through I18nManager.
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`c7f8dbe`](https://github.com/generaltranslation/gt/commit/c7f8dbe7841b772358e4e0391fd7782e223cbec8), [`5801996`](https://github.com/generaltranslation/gt/commit/58019961cf4142e5468fbbc523a514e3f90b4123), [`3af2461`](https://github.com/generaltranslation/gt/commit/3af2461b5456a87883431561712615fdb4f8c89e), [`6f56c52`](https://github.com/generaltranslation/gt/commit/6f56c52d2d6687b614b3eee7226f886c8eac9a96), [`a5b18eb`](https://github.com/generaltranslation/gt/commit/a5b18eb39f6f74e77df78b58f11f065cc7dbdbda), [`4976fc6`](https://github.com/generaltranslation/gt/commit/4976fc682c84fa95b7deace431b2235ca1fccf24), [`3dedd4a`](https://github.com/generaltranslation/gt/commit/3dedd4a07b674f7b943f963190232e5c0f01026f)]:
|
|
10
|
+
- gt-i18n@0.8.13
|
|
11
|
+
- @generaltranslation/compiler@1.3.19
|
|
12
|
+
- gt-react@10.19.12
|
|
13
|
+
|
|
14
|
+
## 6.16.22
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [[`b6098f8`](https://github.com/generaltranslation/gt/commit/b6098f87e2355e7d862d201c24b25467fb569015), [`fecaf93`](https://github.com/generaltranslation/gt/commit/fecaf93d1dcae65598b3f81b8eeabaeb35be13c6)]:
|
|
19
|
+
- @generaltranslation/compiler@1.3.18
|
|
20
|
+
- generaltranslation@8.2.11
|
|
21
|
+
- gt-i18n@0.8.12
|
|
22
|
+
- gt-react@10.19.11
|
|
23
|
+
- @generaltranslation/supported-locales@2.0.69
|
|
24
|
+
|
|
3
25
|
## 6.16.21
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_dictionary.d.ts","sourceRoot":"","sources":["../src/_dictionary.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"_dictionary.d.ts","sourceRoot":"","sources":["../src/_dictionary.ts"],"names":[],"mappings":";AACA,wBAAkB"}
|
package/dist/_dictionary.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
// hidden internal route
|
|
4
|
-
throw new Error("Something has gone seriously wrong if you're seeing this error message. Check docs.generaltranslation.com for the latest documentation and make sure you've got the library configured properly.");
|
|
5
4
|
exports.default = {};
|
|
5
|
+
throw new Error("Something has gone seriously wrong if you're seeing this error message. Check docs.generaltranslation.com for the latest documentation and make sure you've got the library configured properly.");
|
|
6
6
|
//# sourceMappingURL=_dictionary.js.map
|
package/dist/_dictionary.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_dictionary.js","sourceRoot":"","sources":["../src/_dictionary.ts"],"names":[],"mappings":";;AAAA,wBAAwB;AACxB,MAAM,IAAI,KAAK,CACb,kMAAkM,CACnM,CAAC
|
|
1
|
+
{"version":3,"file":"_dictionary.js","sourceRoot":"","sources":["../src/_dictionary.ts"],"names":[],"mappings":";;AAAA,wBAAwB;AACxB,kBAAe,EAAE,CAAC;AAClB,MAAM,IAAI,KAAK,CACb,kMAAkM,CACnM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_load-dictionary.d.ts","sourceRoot":"","sources":["../src/_load-dictionary.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"_load-dictionary.d.ts","sourceRoot":"","sources":["../src/_load-dictionary.ts"],"names":[],"mappings":";AACA,wBAAkB"}
|
package/dist/_load-dictionary.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
// hidden internal route
|
|
4
|
-
throw new Error("Something has gone seriously wrong if you're seeing this error message. Check docs.generaltranslation.com for the latest documentation and make sure you've got the library configured properly.");
|
|
5
4
|
exports.default = {};
|
|
5
|
+
throw new Error("Something has gone seriously wrong if you're seeing this error message. Check docs.generaltranslation.com for the latest documentation and make sure you've got the library configured properly.");
|
|
6
6
|
//# sourceMappingURL=_load-dictionary.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_load-dictionary.js","sourceRoot":"","sources":["../src/_load-dictionary.ts"],"names":[],"mappings":";;AAAA,wBAAwB;AACxB,MAAM,IAAI,KAAK,CACb,kMAAkM,CACnM,CAAC
|
|
1
|
+
{"version":3,"file":"_load-dictionary.js","sourceRoot":"","sources":["../src/_load-dictionary.ts"],"names":[],"mappings":";;AAAA,wBAAwB;AACxB,kBAAe,EAAE,CAAC;AAClB,MAAM,IAAI,KAAK,CACb,kMAAkM,CACnM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_load-translations.d.ts","sourceRoot":"","sources":["../src/_load-translations.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"_load-translations.d.ts","sourceRoot":"","sources":["../src/_load-translations.ts"],"names":[],"mappings":";AACA,wBAAkB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
// hidden internal route
|
|
4
|
-
throw new Error("Something has gone seriously wrong if you're seeing this error message. Check docs.generaltranslation.com for the latest documentation and make sure you've got the library configured properly.");
|
|
5
4
|
exports.default = {};
|
|
5
|
+
throw new Error("Something has gone seriously wrong if you're seeing this error message. Check docs.generaltranslation.com for the latest documentation and make sure you've got the library configured properly.");
|
|
6
6
|
//# sourceMappingURL=_load-translations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_load-translations.js","sourceRoot":"","sources":["../src/_load-translations.ts"],"names":[],"mappings":";;AAAA,wBAAwB;AACxB,MAAM,IAAI,KAAK,CACb,kMAAkM,CACnM,CAAC
|
|
1
|
+
{"version":3,"file":"_load-translations.js","sourceRoot":"","sources":["../src/_load-translations.ts"],"names":[],"mappings":";;AAAA,wBAAwB;AACxB,kBAAe,EAAE,CAAC;AAClB,MAAM,IAAI,KAAK,CACb,kMAAkM,CACnM,CAAC"}
|
|
@@ -21,13 +21,12 @@
|
|
|
21
21
|
* @param {...branches} [branches] - A spread object containing possible branches as keys and their corresponding content as values.
|
|
22
22
|
* @returns {React.JSX.Element} The rendered branch or fallback content.
|
|
23
23
|
*/
|
|
24
|
-
declare function Branch({ children, branch, ...branches }: {
|
|
24
|
+
export declare function Branch({ children, branch, ...branches }: {
|
|
25
25
|
children?: any;
|
|
26
26
|
branch?: string | number | boolean;
|
|
27
27
|
[key: string]: any;
|
|
28
28
|
}): React.JSX.Element;
|
|
29
|
-
declare namespace Branch {
|
|
29
|
+
export declare namespace Branch {
|
|
30
30
|
var _gtt: string;
|
|
31
31
|
}
|
|
32
|
-
export default Branch;
|
|
33
32
|
//# sourceMappingURL=Branch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Branch.d.ts","sourceRoot":"","sources":["../../src/branches/Branch.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,
|
|
1
|
+
{"version":3,"file":"Branch.d.ts","sourceRoot":"","sources":["../../src/branches/Branch.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,MAAM,CAAC,EACrB,QAAQ,EACR,MAAM,EACN,GAAG,QAAQ,EACZ,EAAE;IACD,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IACnC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAWpB;yBAnBe,MAAM"}
|
package/dist/branches/Branch.js
CHANGED
|
@@ -11,6 +11,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
11
11
|
return t;
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.Branch = Branch;
|
|
14
15
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
15
16
|
/**
|
|
16
17
|
* The `<Branch>` component dynamically renders a specified branch of content or a fallback child component.
|
|
@@ -49,5 +50,4 @@ function Branch(_a) {
|
|
|
49
50
|
}
|
|
50
51
|
/** @internal _gtt - The GT transformation for the component. */
|
|
51
52
|
Branch._gtt = 'branch';
|
|
52
|
-
exports.default = Branch;
|
|
53
53
|
//# sourceMappingURL=Branch.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Branch.js","sourceRoot":"","sources":["../../src/branches/Branch.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Branch.js","sourceRoot":"","sources":["../../src/branches/Branch.tsx"],"names":[],"mappings":";;;;;;;;;;;;;AAuBA,wBAmBC;;AA1CD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,MAAM,CAAC,EAQtB;IAPC,IAAA,QAAQ,cAAA,EACR,MAAM,YAAA,EACH,QAAQ,cAHU,sBAItB,CADY;IAMX,MAAM,GAAG,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,QAAQ,EAAE,CAAC;IAC5B,2BAA2B;IAC3B,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,CAAC;QAC7D,MAAM,GAAG,SAAS,CAAC;IACrB,CAAC;IACD,IAAM,cAAc,GAClB,MAAM,IAAI,OAAO,QAAQ,CAAC,MAAM,CAAC,KAAK,WAAW;QAC/C,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC;QAClB,CAAC,CAAC,QAAQ,CAAC;IACf,OAAO,2DAAG,cAAc,GAAI,CAAC;AAC/B,CAAC;AACD,gEAAgE;AAChE,MAAM,CAAC,IAAI,GAAG,QAAQ,CAAC"}
|
|
@@ -22,14 +22,13 @@
|
|
|
22
22
|
* @returns {React.JSX.Element} The rendered content corresponding to the plural form of `n`, or the fallback content.
|
|
23
23
|
* @throws {Error} If `n` is not provided or not a valid number.
|
|
24
24
|
*/
|
|
25
|
-
declare function Plural({ children, n, locales, ...branches }: {
|
|
25
|
+
export declare function Plural({ children, n, locales, ...branches }: {
|
|
26
26
|
children?: React.ReactNode;
|
|
27
27
|
n?: number;
|
|
28
28
|
locales?: string[];
|
|
29
29
|
[key: string]: any;
|
|
30
30
|
}): import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
declare namespace Plural {
|
|
31
|
+
export declare namespace Plural {
|
|
32
32
|
var _gtt: string;
|
|
33
33
|
}
|
|
34
|
-
export default Plural;
|
|
35
34
|
//# sourceMappingURL=Plural.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plural.d.ts","sourceRoot":"","sources":["../../src/branches/Plural.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,
|
|
1
|
+
{"version":3,"file":"Plural.d.ts","sourceRoot":"","sources":["../../src/branches/Plural.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,MAAM,CAAC,EACrB,QAAQ,EACR,CAAC,EACD,OAA2D,EAC3D,GAAG,QAAQ,EACZ,EAAE;IACD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,2CAQA;yBAlBe,MAAM"}
|
package/dist/branches/Plural.js
CHANGED
|
@@ -10,13 +10,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
10
10
|
}
|
|
11
11
|
return t;
|
|
12
12
|
};
|
|
13
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
-
};
|
|
16
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.Plural = Plural;
|
|
17
15
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
18
16
|
var internal_1 = require("gt-react/internal");
|
|
19
|
-
var getI18NConfig_1 =
|
|
17
|
+
var getI18NConfig_1 = require("../config-dir/getI18NConfig");
|
|
20
18
|
var getLocale_1 = require("../request/getLocale");
|
|
21
19
|
/**
|
|
22
20
|
* The `<Plural>` component dynamically renders content based on the plural form of the given number (`n`).
|
|
@@ -43,12 +41,11 @@ var getLocale_1 = require("../request/getLocale");
|
|
|
43
41
|
* @throws {Error} If `n` is not provided or not a valid number.
|
|
44
42
|
*/
|
|
45
43
|
function Plural(_a) {
|
|
46
|
-
var children = _a.children, n = _a.n, _b = _a.locales, locales = _b === void 0 ? [(0, getLocale_1.useLocale)(), (0, getI18NConfig_1.
|
|
44
|
+
var children = _a.children, n = _a.n, _b = _a.locales, locales = _b === void 0 ? [(0, getLocale_1.useLocale)(), (0, getI18NConfig_1.getI18NConfig)().getDefaultLocale()] : _b, branches = __rest(_a, ["children", "n", "locales"]);
|
|
47
45
|
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (typeof n === 'number'
|
|
48
46
|
? (0, internal_1.getPluralBranch)(n, locales, branches)
|
|
49
47
|
: children) || children }));
|
|
50
48
|
}
|
|
51
49
|
/** @internal _gtt - The GT transformation for the component. */
|
|
52
50
|
Plural._gtt = 'plural';
|
|
53
|
-
exports.default = Plural;
|
|
54
51
|
//# sourceMappingURL=Plural.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plural.js","sourceRoot":"","sources":["../../src/branches/Plural.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Plural.js","sourceRoot":"","sources":["../../src/branches/Plural.tsx"],"names":[],"mappings":";;;;;;;;;;;;;AA4BA,wBAkBC;;AA9CD,8CAAoD;AACpD,6DAA4D;AAC5D,kDAAiD;AAEjD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,MAAM,CAAC,EAUtB;IATC,IAAA,QAAQ,cAAA,EACR,CAAC,OAAA,EACD,eAA2D,EAA3D,OAAO,mBAAG,CAAC,IAAA,qBAAS,GAAE,EAAE,IAAA,6BAAa,GAAE,CAAC,gBAAgB,EAAE,CAAC,KAAA,EACxD,QAAQ,cAJU,4BAKtB,CADY;IAOX,OAAO,CACL,2DACG,CAAC,OAAO,CAAC,KAAK,QAAQ;YACrB,CAAC,CAAC,IAAA,0BAAe,EAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC;YACvC,CAAC,CAAC,QAAQ,CAAC,IAAI,QAAQ,GACxB,CACJ,CAAC;AACJ,CAAC;AACD,gEAAgE;AAChE,MAAM,CAAC,IAAI,GAAG,QAAQ,CAAC"}
|
|
@@ -22,6 +22,5 @@ export declare class DictionaryManager {
|
|
|
22
22
|
*/
|
|
23
23
|
setDictionary(locale: string, dictionary: Dictionary): void;
|
|
24
24
|
}
|
|
25
|
-
declare const dictionaryManager: DictionaryManager;
|
|
26
|
-
export default dictionaryManager;
|
|
25
|
+
export declare const dictionaryManager: DictionaryManager;
|
|
27
26
|
//# sourceMappingURL=DictionaryManager.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DictionaryManager.d.ts","sourceRoot":"","sources":["../../src/config-dir/DictionaryManager.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAI/C;;GAEG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,aAAa,CAA0B;IAE/C;;;OAGG;;IAKH;;;;OAIG;IACG,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,GAAG,SAAS,CAAC;IA4BpE;;;;OAIG;IACH,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU;CAGrD;AAED,
|
|
1
|
+
{"version":3,"file":"DictionaryManager.d.ts","sourceRoot":"","sources":["../../src/config-dir/DictionaryManager.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAI/C;;GAEG;AACH,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,aAAa,CAA0B;IAE/C;;;OAGG;;IAKH;;;;OAIG;IACG,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,GAAG,SAAS,CAAC;IA4BpE;;;;OAIG;IACH,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU;CAGrD;AAED,eAAO,MAAM,iBAAiB,mBAA0B,CAAC"}
|
|
@@ -35,13 +35,10 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
35
35
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
39
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
40
|
-
};
|
|
41
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
|
-
exports.DictionaryManager = void 0;
|
|
39
|
+
exports.dictionaryManager = exports.DictionaryManager = void 0;
|
|
43
40
|
var generaltranslation_1 = require("generaltranslation");
|
|
44
|
-
var resolveDictionaryLoader_1 =
|
|
41
|
+
var resolveDictionaryLoader_1 = require("../resolvers/resolveDictionaryLoader");
|
|
45
42
|
var createErrors_1 = require("../errors/createErrors");
|
|
46
43
|
/**
|
|
47
44
|
* Manages Dictionary
|
|
@@ -71,7 +68,7 @@ var DictionaryManager = /** @class */ (function () {
|
|
|
71
68
|
result = this.dictionaryMap.get(reference);
|
|
72
69
|
if (result)
|
|
73
70
|
return [2 /*return*/, result];
|
|
74
|
-
customLoadDictionary = (0, resolveDictionaryLoader_1.
|
|
71
|
+
customLoadDictionary = (0, resolveDictionaryLoader_1.resolveDictionaryLoader)();
|
|
75
72
|
if (!customLoadDictionary) return [3 /*break*/, 4];
|
|
76
73
|
_a.label = 1;
|
|
77
74
|
case 1:
|
|
@@ -105,6 +102,5 @@ var DictionaryManager = /** @class */ (function () {
|
|
|
105
102
|
return DictionaryManager;
|
|
106
103
|
}());
|
|
107
104
|
exports.DictionaryManager = DictionaryManager;
|
|
108
|
-
|
|
109
|
-
exports.default = dictionaryManager;
|
|
105
|
+
exports.dictionaryManager = new DictionaryManager();
|
|
110
106
|
//# sourceMappingURL=DictionaryManager.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DictionaryManager.js","sourceRoot":"","sources":["../../src/config-dir/DictionaryManager.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DictionaryManager.js","sourceRoot":"","sources":["../../src/config-dir/DictionaryManager.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yDAAuD;AAEvD,gFAA+E;AAC/E,uDAAqE;AAErE;;GAEG;AACH;IAGE;;;OAGG;IACH;QACE,IAAI,CAAC,aAAa,GAAG,IAAI,GAAG,EAAE,CAAC;IACjC,CAAC;IAED;;;;OAIG;IACG,yCAAa,GAAnB,UAAoB,MAAc;;;;;;wBAC1B,SAAS,GACb,OAAO,CAAC,GAAG,CAAC,uCAAuC,KAAK,MAAM;4BAC5D,CAAC,CAAC,IAAA,sCAAiB,EAAC,MAAM,CAAC;4BAC3B,CAAC,CAAC,MAAM,CAAC;wBAGT,MAAM,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;wBAC/C,IAAI,MAAM;4BAAE,sBAAO,MAAM,EAAC;wBAGpB,oBAAoB,GAAG,IAAA,iDAAuB,GAAE,CAAC;6BACnD,oBAAoB,EAApB,wBAAoB;;;;wBAEX,qBAAM,oBAAoB,CAAC,SAAS,CAAC,EAAA;;wBAA9C,MAAM,GAAG,SAAqC,CAAC;wBAC/C,IAAI,CAAC,MAAM;4BAAE,sBAAO,SAAS,EAAC;wBAC9B,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;;;;wBAE1C,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,aAAa,EAAE,CAAC;4BAC3C,OAAO,CAAC,IAAI,CAAC,IAAA,0CAA2B,EAAC,SAAS,CAAC,EAAE,OAAK,CAAC,CAAC;wBAC9D,CAAC;wBACD,sBAAO,SAAS,EAAC;4BAIrB,sBAAO,MAAM,EAAC;;;;KACf;IAED;;;;OAIG;IACH,yCAAa,GAAb,UAAc,MAAc,EAAE,UAAsB;QAClD,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IAC7C,CAAC;IACH,wBAAC;AAAD,CAAC,AApDD,IAoDC;AApDY,8CAAiB;AAsDjB,QAAA,iBAAiB,GAAG,IAAI,iBAAiB,EAAE,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { GT } from 'generaltranslation';
|
|
2
|
-
import { RenderMethod
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import type { GT } from 'generaltranslation';
|
|
2
|
+
import { RenderMethod } from 'gt-react/internal';
|
|
3
|
+
import type { Dictionary, TranslatedChildren, Translations } from 'gt-react/internal';
|
|
4
|
+
import type { HeadersAndCookies } from './props/withGTConfigProps';
|
|
5
|
+
import type { CustomMapping } from 'generaltranslation/types';
|
|
6
|
+
import type { LookupOptions } from 'gt-i18n/internal/types';
|
|
7
7
|
type I18NConfigurationParams = {
|
|
8
8
|
apiKey?: string;
|
|
9
9
|
devApiKey?: string;
|
|
@@ -27,41 +27,31 @@ type I18NConfigurationParams = {
|
|
|
27
27
|
customMapping?: CustomMapping | undefined;
|
|
28
28
|
[key: string]: any;
|
|
29
29
|
};
|
|
30
|
-
|
|
30
|
+
type RuntimeTranslationParams = {
|
|
31
|
+
source: TranslatedChildren;
|
|
32
|
+
targetLocale: string;
|
|
33
|
+
options: LookupOptions;
|
|
34
|
+
};
|
|
35
|
+
export declare class I18NConfiguration {
|
|
31
36
|
translationEnabled: boolean;
|
|
32
37
|
developmentApiEnabled: boolean;
|
|
33
38
|
productionApiEnabled: boolean;
|
|
34
39
|
dictionaryEnabled: boolean;
|
|
35
40
|
projectId?: string;
|
|
36
|
-
apiKey?: string;
|
|
37
41
|
devApiKey?: string;
|
|
38
42
|
runtimeUrl: string | undefined;
|
|
39
|
-
cacheUrl: string | null;
|
|
40
|
-
cacheExpiryTime?: number;
|
|
41
|
-
_versionId?: string;
|
|
42
|
-
defaultLocale: string;
|
|
43
|
-
locales: string[];
|
|
44
43
|
renderSettings: {
|
|
45
44
|
method: RenderMethod;
|
|
46
45
|
timeout?: number;
|
|
47
46
|
};
|
|
48
|
-
private
|
|
47
|
+
private _i18nManager;
|
|
49
48
|
private _dictionaryManager;
|
|
50
|
-
metadata: Record<string, any>;
|
|
51
|
-
maxConcurrentRequests: number;
|
|
52
|
-
maxBatchSize: number;
|
|
53
|
-
batchInterval: number;
|
|
54
|
-
private _queue;
|
|
55
|
-
private _activeRequests;
|
|
56
|
-
private _translationCache;
|
|
57
49
|
private localeHeaderName;
|
|
58
50
|
private localeCookieName;
|
|
59
51
|
private referrerLocaleCookieName;
|
|
60
52
|
private localeRoutingEnabledCookieName;
|
|
61
53
|
private resetLocaleCookieName;
|
|
62
|
-
|
|
63
|
-
private gt;
|
|
64
|
-
constructor({ apiKey, devApiKey, projectId, _versionId, runtimeUrl, cacheUrl, cacheExpiryTime, loadTranslationsType, loadDictionaryEnabled, defaultLocale, locales, renderSettings, dictionary, maxConcurrentRequests, maxBatchSize, batchInterval, _usingPlugin, headersAndCookies, customMapping, ...metadata }: I18NConfigurationParams);
|
|
54
|
+
constructor({ apiKey, devApiKey, projectId, _versionId, runtimeUrl, cacheUrl, cacheExpiryTime, loadTranslationsType, loadDictionaryEnabled, defaultLocale, locales, renderSettings, dictionary: _dictionary, maxConcurrentRequests, maxBatchSize, batchInterval, _usingPlugin, headersAndCookies, customMapping, ...metadata }: I18NConfigurationParams);
|
|
65
55
|
/**
|
|
66
56
|
* Get the rendering instructions
|
|
67
57
|
* @returns An object containing the current method and timeout.
|
|
@@ -90,7 +80,7 @@ export default class I18NConfiguration {
|
|
|
90
80
|
referrerLocaleCookieName: string;
|
|
91
81
|
localeCookieName: string;
|
|
92
82
|
resetLocaleCookieName: string;
|
|
93
|
-
customMapping: CustomMapping
|
|
83
|
+
customMapping: CustomMapping;
|
|
94
84
|
_versionId: string | undefined;
|
|
95
85
|
};
|
|
96
86
|
/**
|
|
@@ -156,58 +146,8 @@ export default class I18NConfiguration {
|
|
|
156
146
|
* @returns A promise that resolves to the translations.
|
|
157
147
|
*/
|
|
158
148
|
getCachedTranslations(locale: string): Promise<Translations>;
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
* @param {string} locale - The locale code.
|
|
162
|
-
* @returns {Translations} The translations data or an empty object if not found.
|
|
163
|
-
*/
|
|
164
|
-
getRecentTranslations(locale: string): Translations;
|
|
165
|
-
private _translateContent;
|
|
166
|
-
/**
|
|
167
|
-
* Translate content into language associated with a given locale
|
|
168
|
-
* @param params - Parameters for translation
|
|
169
|
-
* @returns Translated string
|
|
170
|
-
*/
|
|
171
|
-
translateI18Next(params: {
|
|
172
|
-
source: _Content;
|
|
173
|
-
targetLocale: string;
|
|
174
|
-
options: {
|
|
175
|
-
hash: string;
|
|
176
|
-
} & Record<string, any>;
|
|
177
|
-
}): Promise<TranslatedChildren>;
|
|
178
|
-
/**
|
|
179
|
-
* Translate content into language associated with a given locale
|
|
180
|
-
* @param params - Parameters for translation
|
|
181
|
-
* @returns Translated string
|
|
182
|
-
*/
|
|
183
|
-
translateIcu(params: {
|
|
184
|
-
source: _Content;
|
|
185
|
-
targetLocale: string;
|
|
186
|
-
options: {
|
|
187
|
-
hash: string;
|
|
188
|
-
} & Record<string, any>;
|
|
189
|
-
}): Promise<TranslatedChildren>;
|
|
190
|
-
/**
|
|
191
|
-
* Translate the children components
|
|
192
|
-
* @param params - Parameters for translation
|
|
193
|
-
* @returns A promise that resolves when translation is complete
|
|
194
|
-
*/
|
|
195
|
-
translateJsx(params: {
|
|
196
|
-
source: JsxChildren;
|
|
197
|
-
targetLocale: string;
|
|
198
|
-
options: {
|
|
199
|
-
hash: string;
|
|
200
|
-
} & Record<string, any>;
|
|
201
|
-
}): Promise<TranslatedChildren>;
|
|
202
|
-
/**
|
|
203
|
-
* Send a batch request for React translation
|
|
204
|
-
* @param batch - The batch of requests to be sent
|
|
205
|
-
*/
|
|
206
|
-
private _sendBatchRequest;
|
|
207
|
-
/**
|
|
208
|
-
* Start the batching process with a set interval
|
|
209
|
-
*/
|
|
210
|
-
private _startBatching;
|
|
149
|
+
lookupTranslation({ source, targetLocale, options, }: RuntimeTranslationParams): TranslatedChildren | undefined;
|
|
150
|
+
translate({ source, targetLocale, options, }: RuntimeTranslationParams): Promise<TranslatedChildren>;
|
|
211
151
|
}
|
|
212
152
|
export {};
|
|
213
153
|
//# sourceMappingURL=I18NConfiguration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"I18NConfiguration.d.ts","sourceRoot":"","sources":["../../src/config-dir/I18NConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"I18NConfiguration.d.ts","sourceRoot":"","sources":["../../src/config-dir/I18NConfiguration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EACL,YAAY,EAGb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EACV,UAAU,EACV,kBAAkB,EAClB,YAAY,EACb,MAAM,mBAAmB,CAAC;AAG3B,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