@anywayseo/tools 4.2.2 → 5.0.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/components/base/index.d.ts +1 -0
- package/dist/components/base/link/index.d.ts +2 -0
- package/dist/components/base/link/utils.d.ts +1 -0
- package/dist/components/game-info/utils.d.ts +2 -2
- package/dist/components/index.cjs +3 -1
- package/dist/components/index.mjs +3 -1
- package/dist/components/layout/header/locale-switcher/icons/earth/index.d.ts +2 -0
- package/dist/components/layout/header/locale-switcher/icons/france/index.d.ts +2 -0
- package/dist/components/layout/header/locale-switcher/icons/germany/index.d.ts +2 -0
- package/dist/components/layout/header/locale-switcher/icons/globe/index.d.ts +2 -0
- package/dist/components/layout/header/locale-switcher/icons/index.d.ts +6 -0
- package/dist/components/layout/header/locale-switcher/icons/italy/index.d.ts +2 -0
- package/dist/components/layout/header/locale-switcher/icons/russia/index.d.ts +2 -0
- package/dist/components/layout/header/locale-switcher/index.d.ts +8 -0
- package/dist/components/layout/header/locale-switcher/utils.d.ts +2 -0
- package/dist/components/layout/header/navigation/desktop/index.d.ts +1 -1
- package/dist/components/layout/header/navigation/index.d.ts +1 -1
- package/dist/components/layout/header/navigation/mobile/index.d.ts +1 -1
- package/dist/components/seo/index.d.ts +2 -3
- package/dist/hooks/index.cjs +4 -2
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.mjs +4 -2
- package/dist/hooks/use-localization/index.d.ts +6 -0
- package/dist/i18n/index.cjs +11 -5
- package/dist/i18n/index.d.ts +3 -2
- package/dist/i18n/index.mjs +11 -5
- package/dist/i18n/resources/fr/index.d.ts +112 -0
- package/dist/{index-N8nXj4-i.js → index-3nQCWHPU.js} +219 -86
- package/dist/index-At00w6EN.js +9 -0
- package/dist/{index-BPLxhZG_.js → index-BHfpWNqh.js} +183 -73
- package/dist/{index-MpNfBHkQ.mjs → index-BJRvnR8Q.mjs} +1 -5
- package/dist/index-BRVKhbs6.mjs +6 -0
- package/dist/index-BmaWfWLV.mjs +10 -0
- package/dist/{index-BV0hDmYP.js → index-BnmGE5_x.js} +3 -2
- package/dist/{index-DPO0aIC3.mjs → index-Bu4S7kG8.mjs} +7 -10
- package/dist/{index-DVcQxWMZ.js → index-C6MG_f24.js} +0 -4
- package/dist/{index-BE9gNdXx.mjs → index-CACDltm3.mjs} +183 -73
- package/dist/index-CYr1ct1t.js +93 -0
- package/dist/index-CbuiYkSg.js +5 -0
- package/dist/index-Cc85xj4h.mjs +27 -0
- package/dist/index-D1bJmcpz.js +49 -0
- package/dist/{index-DuQjQMNN.js → index-D34TfBTR.js} +7 -10
- package/dist/{index-CcsbqDXL.mjs → index-DVAydNYV.mjs} +7 -3
- package/dist/index-DnvTeCy9.mjs +50 -0
- package/dist/index-DqGO34ef.js +26 -0
- package/dist/{index-DF_u_tzx.js → index-Dur8aLpm.js} +7 -3
- package/dist/{index-CkTgVjZS.mjs → index-QazOxABc.mjs} +3 -2
- package/dist/{index-DAbZBo7_.mjs → index-X2ihbchG.mjs} +200 -67
- package/dist/index-cQqALZIW.mjs +94 -0
- package/dist/index.cjs +41 -31
- package/dist/index.mjs +30 -20
- package/dist/providers/index.cjs +2 -2
- package/dist/providers/index.mjs +2 -2
- package/dist/providers/site-provider/index.d.ts +11 -5
- package/dist/types/api/index.d.ts +2 -2
- package/dist/types/components/icon/index.d.ts +2 -0
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/components/locale-switcher/index.d.ts +5 -0
- package/dist/types/components/navigation/index.d.ts +9 -10
- package/dist/types/i18n/index.d.ts +7 -1
- package/dist/types/site/index.d.ts +15 -13
- package/dist/utils/api/index.d.ts +5 -0
- package/dist/utils/date/index.d.ts +4 -3
- package/dist/utils/index.cjs +23 -16
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.mjs +16 -9
- package/dist/utils/navigation/index.d.ts +2 -2
- package/dist/utils/numbers/index.d.ts +3 -3
- package/package.json +1 -1
- package/dist/components/layout/header/navigation/types.d.ts +0 -4
- package/dist/index-BClxYYix.js +0 -40
- package/dist/index-BNb-P8a6.mjs +0 -17
- package/dist/index-BhsXlbd8.js +0 -16
- package/dist/index-Ca_M-II5.mjs +0 -41
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getLocalizedPath(path: string, currentLocaleCode: string, defaultLocaleCode: string): string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Currency, GameCharacteristic } from '../../types';
|
|
2
|
-
export declare function getGameInfoItemValue(key: GameCharacteristic, value: unknown, currency: Currency | Currency[]): string;
|
|
1
|
+
import { Currency, ILocale, GameCharacteristic } from '../../types';
|
|
2
|
+
export declare function getGameInfoItemValue(key: GameCharacteristic, value: unknown, locale: ILocale['code'], currency: Currency | Currency[]): string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("../index-
|
|
3
|
+
const index = require("../index-3nQCWHPU.js");
|
|
4
|
+
const index$1 = require("../index-D1bJmcpz.js");
|
|
4
5
|
exports.Author = index.Author;
|
|
5
6
|
exports.AuthorCard = index.AuthorCard;
|
|
6
7
|
exports.BonusCard = index.BonusCard;
|
|
@@ -26,3 +27,4 @@ exports.StrapiContentRenderer = index.StrapiContentRenderer;
|
|
|
26
27
|
exports.Table = index.Table;
|
|
27
28
|
exports.Tabs = index.Tabs;
|
|
28
29
|
exports.Tip = index.Tip;
|
|
30
|
+
exports.Link = index$1.Link;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { k, A, B, a, l, C, F, b, c, G, d, e, f, m, H, L, n, g, N, P, S, h, T, i, j } from "../index-
|
|
1
|
+
import { k, A, B, a, l, C, F, b, c, G, d, e, f, m, H, L, n, g, N, P, S, h, T, i, j } from "../index-X2ihbchG.mjs";
|
|
2
|
+
import { L as L2 } from "../index-DnvTeCy9.mjs";
|
|
2
3
|
export {
|
|
3
4
|
k as Author,
|
|
4
5
|
A as AuthorCard,
|
|
@@ -16,6 +17,7 @@ export {
|
|
|
16
17
|
m as Grid,
|
|
17
18
|
H as HowTo,
|
|
18
19
|
L as Layout,
|
|
20
|
+
L2 as Link,
|
|
19
21
|
n as LinkButton,
|
|
20
22
|
g as List,
|
|
21
23
|
N as NotFound,
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { FC, PropsWithChildren } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ILocale, ISeo } from '../../types';
|
|
3
3
|
import { SeoItemGetter } from './types';
|
|
4
4
|
type SeoProps = PropsWithChildren<{
|
|
5
|
-
siteMetadata: ISiteMetadata;
|
|
6
5
|
title?: ISeo['title'] | SeoItemGetter;
|
|
7
6
|
description?: ISeo['description'] | SeoItemGetter;
|
|
8
|
-
lang?:
|
|
7
|
+
lang?: ILocale['code'];
|
|
9
8
|
}>;
|
|
10
9
|
declare const Seo: FC<SeoProps>;
|
|
11
10
|
export default Seo;
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("../index-
|
|
4
|
-
|
|
3
|
+
const index = require("../index-DqGO34ef.js");
|
|
4
|
+
const index$1 = require("../index-BnmGE5_x.js");
|
|
5
|
+
exports.useLocalization = index.useLocalization;
|
|
6
|
+
exports.usePrimaryColors = index$1.usePrimaryColors;
|
package/dist/hooks/index.d.ts
CHANGED
package/dist/hooks/index.mjs
CHANGED
package/dist/i18n/index.cjs
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
require("
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
const index = require("../index-BHfpWNqh.js");
|
|
4
|
+
const resources = {
|
|
5
|
+
en: index.dictionary$4,
|
|
6
|
+
it: index.dictionary$3,
|
|
7
|
+
de: index.dictionary$2,
|
|
8
|
+
ru: index.dictionary$1,
|
|
9
|
+
fr: index.dictionary
|
|
10
|
+
};
|
|
11
|
+
const DEFAULT_LANGUAGE = "en";
|
|
12
|
+
exports.DEFAULT_LANGUAGE = DEFAULT_LANGUAGE;
|
|
13
|
+
exports.resources = resources;
|
package/dist/i18n/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { LanguageCode } from '../types';
|
|
1
2
|
import { DefaultResourceType, default as resources } from './resources';
|
|
2
|
-
import { default as i18n } from 'i18next';
|
|
3
3
|
declare module 'i18next' {
|
|
4
4
|
interface CustomTypeOptions {
|
|
5
5
|
defaultNS: Extract<DefaultResourceType, 'common'>;
|
|
6
6
|
resources: DefaultResourceType;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
|
|
9
|
+
declare const DEFAULT_LANGUAGE: LanguageCode;
|
|
10
|
+
export { resources, DEFAULT_LANGUAGE };
|
package/dist/i18n/index.mjs
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
import "
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { d as dictionary, b as dictionary$1, c as dictionary$2, e as dictionary$3, f as dictionary$4 } from "../index-CACDltm3.mjs";
|
|
2
|
+
const resources = {
|
|
3
|
+
en: dictionary$4,
|
|
4
|
+
it: dictionary$3,
|
|
5
|
+
de: dictionary$2,
|
|
6
|
+
ru: dictionary$1,
|
|
7
|
+
fr: dictionary
|
|
8
|
+
};
|
|
9
|
+
const DEFAULT_LANGUAGE = "en";
|
|
4
10
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
11
|
+
DEFAULT_LANGUAGE,
|
|
12
|
+
resources
|
|
7
13
|
};
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
declare const dictionary: {
|
|
2
|
+
readonly pageNotFound: {
|
|
3
|
+
seo: {
|
|
4
|
+
title: string;
|
|
5
|
+
};
|
|
6
|
+
title: string;
|
|
7
|
+
description: string;
|
|
8
|
+
action: string;
|
|
9
|
+
};
|
|
10
|
+
readonly footer: {
|
|
11
|
+
copyright: string;
|
|
12
|
+
disclaimer: {
|
|
13
|
+
title: string;
|
|
14
|
+
description: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
readonly gameDemo: {
|
|
18
|
+
warning: string;
|
|
19
|
+
action: {
|
|
20
|
+
playForReal: string;
|
|
21
|
+
playForFree: string;
|
|
22
|
+
activateFullscreen: string;
|
|
23
|
+
deactivateFullscreen: string;
|
|
24
|
+
exit: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
readonly gameInfo: {
|
|
28
|
+
title: string;
|
|
29
|
+
group: {
|
|
30
|
+
general: string;
|
|
31
|
+
features: string;
|
|
32
|
+
};
|
|
33
|
+
feature: {
|
|
34
|
+
BONUS_FEATURES: string;
|
|
35
|
+
COMPATIBILITY: string;
|
|
36
|
+
FUNCTIONS: string;
|
|
37
|
+
DEVELOPER: string;
|
|
38
|
+
HAS_AUTOPLAY: string;
|
|
39
|
+
HAS_BONUS_PURCHASE: string;
|
|
40
|
+
HAS_COLLECTION_SYMBOLS: string;
|
|
41
|
+
HAS_DEMO: string;
|
|
42
|
+
HAS_FAST_SPIN: string;
|
|
43
|
+
HAS_FREE_SPINS: string;
|
|
44
|
+
HAS_PROGRESSIVE_JACKPOT: string;
|
|
45
|
+
LANGUAGES: string;
|
|
46
|
+
MAX_WIN: string;
|
|
47
|
+
MAX_BET: string;
|
|
48
|
+
MIN_BET: string;
|
|
49
|
+
NAME: string;
|
|
50
|
+
PAY_LINES: string;
|
|
51
|
+
REELS_NUMBER: string;
|
|
52
|
+
RELEASE_DATE: string;
|
|
53
|
+
ROWS_WITH_PINS: string;
|
|
54
|
+
RTP: string;
|
|
55
|
+
THEME: string;
|
|
56
|
+
TYPE: string;
|
|
57
|
+
VOLATILITY: string;
|
|
58
|
+
};
|
|
59
|
+
value: {
|
|
60
|
+
boolean: {
|
|
61
|
+
true: string;
|
|
62
|
+
false: string;
|
|
63
|
+
};
|
|
64
|
+
volatility: {
|
|
65
|
+
HIGH: string;
|
|
66
|
+
MEDIUM: string;
|
|
67
|
+
LOW: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
readonly prosCons: {
|
|
72
|
+
advantages: string;
|
|
73
|
+
disadvantages: string;
|
|
74
|
+
};
|
|
75
|
+
readonly author: {
|
|
76
|
+
title: string;
|
|
77
|
+
action: {
|
|
78
|
+
expand: string;
|
|
79
|
+
collapse: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
readonly contactForm: {
|
|
83
|
+
field: {
|
|
84
|
+
name: {
|
|
85
|
+
label: string;
|
|
86
|
+
placeholder: string;
|
|
87
|
+
};
|
|
88
|
+
email: {
|
|
89
|
+
label: string;
|
|
90
|
+
placeholder: string;
|
|
91
|
+
};
|
|
92
|
+
message: {
|
|
93
|
+
label: string;
|
|
94
|
+
placeholder: string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
notification: {
|
|
98
|
+
title: string;
|
|
99
|
+
description: string;
|
|
100
|
+
};
|
|
101
|
+
action: {
|
|
102
|
+
send: string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
readonly bonusCard: {
|
|
106
|
+
action: {
|
|
107
|
+
expand: string;
|
|
108
|
+
collapse: string;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
export default dictionary;
|