@anywayseo/tools 6.0.0 → 6.2.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.
Files changed (81) hide show
  1. package/dist/components/index.cjs +3 -3
  2. package/dist/components/index.mjs +3 -3
  3. package/dist/components/seo/href-langs/index.d.ts +2 -2
  4. package/dist/components/seo/index.d.ts +2 -8
  5. package/dist/components/seo/open-graph/index.d.ts +8 -0
  6. package/dist/components/seo/utils.d.ts +2 -2
  7. package/dist/hooks/index.cjs +1 -1
  8. package/dist/hooks/index.mjs +1 -1
  9. package/dist/i18n/index.cjs +24 -12
  10. package/dist/i18n/index.mjs +24 -12
  11. package/dist/i18n/resources/bn/index.d.ts +331 -0
  12. package/dist/i18n/resources/cs/index.d.ts +331 -0
  13. package/dist/i18n/resources/el/index.d.ts +331 -0
  14. package/dist/i18n/resources/hu/index.d.ts +331 -0
  15. package/dist/i18n/resources/nb/index.d.ts +331 -0
  16. package/dist/i18n/resources/nl/index.d.ts +331 -0
  17. package/dist/i18n/resources/pl/index.d.ts +331 -0
  18. package/dist/i18n/resources/ro/index.d.ts +331 -0
  19. package/dist/i18n/resources/sr/index.d.ts +331 -0
  20. package/dist/i18n/resources/sv/index.d.ts +331 -0
  21. package/dist/i18n/resources/tr/index.d.ts +331 -0
  22. package/dist/i18n/resources/uz/index.d.ts +331 -0
  23. package/dist/{index-C7buhUOk.mjs → index-2sU4ya6z.mjs} +3 -3
  24. package/dist/{index-CUDzMwnz.mjs → index-B--qmL1V.mjs} +29 -20
  25. package/dist/{index-U-DmPFa7.mjs → index-B5WurBlm.mjs} +1 -1
  26. package/dist/{index-DJSBjQzq.js → index-BAxlqkw0.js} +2 -2
  27. package/dist/{index-BJsA8Upb.js → index-BKWX6mIo.js} +29 -20
  28. package/dist/{index-C1kr7Vd-.mjs → index-BS5T9Il4.mjs} +1 -1
  29. package/dist/{index-0AAkKSsc.mjs → index-BTfTkIed.mjs} +63 -9
  30. package/dist/{index-BhzKUTPZ.mjs → index-BtS01kyg.mjs} +45 -33
  31. package/dist/{index-RzByAgHO.mjs → index-C6A-3gBz.mjs} +4577 -432
  32. package/dist/{index-CBRFCYhV.js → index-CMLDQbgR.js} +4577 -432
  33. package/dist/{index-CVv755RW.js → index-CuIVcnIS.js} +1 -1
  34. package/dist/{index-BSAasfl2.js → index-CxuOu0E2.js} +3 -3
  35. package/dist/{index-DZc8PJET.js → index-DAPaiozu.js} +1 -1
  36. package/dist/{index-BU1gLt1p.js → index-DHKoOk4o.js} +54 -0
  37. package/dist/{index-B5SWTYZm.js → index-ISfgFSXE.js} +45 -33
  38. package/dist/{index-B5C9u9UE.mjs → index-TcBorTSf.mjs} +2 -2
  39. package/dist/index.cjs +11 -9
  40. package/dist/index.mjs +20 -18
  41. package/dist/layout/header/locale-switcher/icons/bangladesh/index.d.ts +2 -0
  42. package/dist/layout/header/locale-switcher/icons/belgium/index.d.ts +2 -0
  43. package/dist/layout/header/locale-switcher/icons/canada/index.d.ts +2 -0
  44. package/dist/layout/header/locale-switcher/icons/czechia/index.d.ts +2 -0
  45. package/dist/layout/header/locale-switcher/icons/greece/index.d.ts +2 -0
  46. package/dist/layout/header/locale-switcher/icons/hungary/index.d.ts +2 -0
  47. package/dist/layout/header/locale-switcher/icons/index.d.ts +20 -1
  48. package/dist/layout/header/locale-switcher/icons/india/index.d.ts +2 -0
  49. package/dist/layout/header/locale-switcher/icons/morocco/index.d.ts +2 -0
  50. package/dist/layout/header/locale-switcher/icons/netherlands/index.d.ts +2 -0
  51. package/dist/layout/header/locale-switcher/icons/nigeria/index.d.ts +2 -0
  52. package/dist/layout/header/locale-switcher/icons/norway/index.d.ts +2 -0
  53. package/dist/layout/header/locale-switcher/icons/poland/index.d.ts +2 -0
  54. package/dist/layout/header/locale-switcher/icons/romania/index.d.ts +2 -0
  55. package/dist/layout/header/locale-switcher/icons/serbia/index.d.ts +2 -0
  56. package/dist/layout/header/locale-switcher/icons/south-africa/index.d.ts +2 -0
  57. package/dist/layout/header/locale-switcher/icons/sweden/index.d.ts +2 -0
  58. package/dist/layout/header/locale-switcher/icons/switzerland/index.d.ts +2 -0
  59. package/dist/layout/header/locale-switcher/icons/turkey/index.d.ts +2 -0
  60. package/dist/layout/header/locale-switcher/icons/uzbekistan/index.d.ts +2 -0
  61. package/dist/layout/index.cjs +392 -48
  62. package/dist/layout/index.mjs +392 -48
  63. package/dist/providers/index.cjs +2 -2
  64. package/dist/providers/index.mjs +2 -2
  65. package/dist/types/api/strapi-page.d.ts +13 -12
  66. package/dist/types/content/seo/index.d.ts +56 -3
  67. package/dist/types/i18n/index.d.ts +1 -1
  68. package/dist/types/index.d.ts +1 -1
  69. package/dist/types/seo/index.d.ts +2 -0
  70. package/dist/types/seo/open-graph/index.d.ts +11 -0
  71. package/dist/utils/api/strapi-guards.d.ts +2 -1
  72. package/dist/utils/api/strapi-seo.d.ts +2 -13
  73. package/dist/utils/index.cjs +5 -3
  74. package/dist/utils/index.d.ts +1 -1
  75. package/dist/utils/index.mjs +14 -12
  76. package/dist/utils/seo/index.d.ts +2 -0
  77. package/dist/utils/{json-ld → seo/json-ld}/index.d.ts +1 -1
  78. package/dist/utils/seo/open-graph/index.d.ts +15 -0
  79. package/package.json +1 -1
  80. package/dist/components/seo/types.d.ts +0 -14
  81. /package/dist/types/{json-ld → seo/json-ld}/index.d.ts +0 -0
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("../index-B5SWTYZm.js");
4
- const index$1 = require("../index-BSAasfl2.js");
3
+ const index = require("../index-ISfgFSXE.js");
4
+ const index$1 = require("../index-CxuOu0E2.js");
5
5
  const index$2 = require("../index-DDg_PkD2.js");
6
- const index$3 = require("../index-DZc8PJET.js");
6
+ const index$3 = require("../index-DAPaiozu.js");
7
7
  exports.ActionButton = index.ActionButton;
8
8
  exports.ArticleCard = index.ArticleCard;
9
9
  exports.ArticleCardGrid = index.ArticleCardGrid;
@@ -1,7 +1,7 @@
1
- import { A, a, b, c, n, o, d, B, e, C, r, q, F, f, g, G, h, i, j, p, H, I, L, N, s, P, S, k, T, l, t, m } from "../index-BhzKUTPZ.mjs";
2
- import { C as C2, a as a2, b as b2, L as L2, c as c2, R, S as S2, d as d2 } from "../index-C7buhUOk.mjs";
1
+ import { A, a, b, c, n, o, d, B, e, C, r, q, F, f, g, G, h, i, j, p, H, I, L, N, s, P, S, k, T, l, t, m } from "../index-BtS01kyg.mjs";
2
+ import { C as C2, a as a2, b as b2, L as L2, c as c2, R, S as S2, d as d2 } from "../index-2sU4ya6z.mjs";
3
3
  import { H as H2, a as a3, b as b3, O, P as P2, U } from "../index-BEjKnOZA.mjs";
4
- import { I as I2, L as L3 } from "../index-U-DmPFa7.mjs";
4
+ import { I as I2, L as L3 } from "../index-B5WurBlm.mjs";
5
5
  export {
6
6
  A as ActionButton,
7
7
  a as ArticleCard,
@@ -1,8 +1,8 @@
1
1
  import { FC } from 'react';
2
- import { IHrefLang } from '../../../types';
2
+ import { ISeo } from '../../../types';
3
3
  type HrefLangsProps = {
4
4
  siteName: string;
5
- hrefLangs: IHrefLang[];
5
+ hrefLangs: ISeo['hrefLangs'];
6
6
  };
7
7
  declare const HrefLangs: FC<HrefLangsProps>;
8
8
  export default HrefLangs;
@@ -1,13 +1,7 @@
1
1
  import { FC, PropsWithChildren } from 'react';
2
- import { SeoCanonical, SeoDescription, SeoHrefLangs, SeoLocale, SeoStructuredData, SeoTitle } from './types';
3
- type SeoProps = PropsWithChildren<{
2
+ import { ISeo } from '../../types';
3
+ type SeoProps = PropsWithChildren<ISeo & {
4
4
  pathname: Location['pathname'];
5
- locale?: SeoLocale;
6
- title?: SeoTitle;
7
- description?: SeoDescription;
8
- canonicalUrl?: SeoCanonical;
9
- hrefLangs?: SeoHrefLangs;
10
- structuredData?: SeoStructuredData;
11
5
  }>;
12
6
  declare const Seo: FC<SeoProps>;
13
7
  export default Seo;
@@ -0,0 +1,8 @@
1
+ import { FC } from 'react';
2
+ import { IOpenGraph, IOpenGraphMetaItem } from '../../../types';
3
+ type OpenGraphProps = {
4
+ meta: IOpenGraphMetaItem[];
5
+ options?: IOpenGraph['options'];
6
+ };
7
+ declare const OpenGraph: FC<OpenGraphProps>;
8
+ export default OpenGraph;
@@ -1,3 +1,3 @@
1
- import { ISeoMetaItemPlaceholders, SeoDescription, SeoTitle } from './types';
1
+ import { ISeoMetaItemPlaceholders, SeoMetaItem } from '../../types';
2
2
  export declare function buildPlaceholders(siteName: string, lang: string): ISeoMetaItemPlaceholders;
3
- export declare function getSeoMetaItem<T extends SeoTitle | SeoDescription>(item: NonNullable<T>, placeholders: ISeoMetaItemPlaceholders): string;
3
+ export declare function getSeoMetaItem<T extends SeoMetaItem>(item: NonNullable<T>, placeholders: ISeoMetaItemPlaceholders): string;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const index = require("../index-ma-iV7GU.js");
4
- const index$1 = require("../index-CVv755RW.js");
4
+ const index$1 = require("../index-CuIVcnIS.js");
5
5
  exports.useLocalization = index.useLocalization;
6
6
  exports.usePrimaryColors = index$1.usePrimaryColors;
@@ -1,5 +1,5 @@
1
1
  import { u } from "../index-DHURrUMW.mjs";
2
- import { u as u2 } from "../index-C1kr7Vd-.mjs";
2
+ import { u as u2 } from "../index-BS5T9Il4.mjs";
3
3
  export {
4
4
  u as useLocalization,
5
5
  u2 as usePrimaryColors
@@ -1,18 +1,30 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("../index-CBRFCYhV.js");
3
+ const index = require("../index-CMLDQbgR.js");
4
4
  const resources = {
5
- bg: index.dictionary$10,
6
- de: index.dictionary$9,
7
- da: index.dictionary$8,
8
- en: index.dictionary$7,
9
- es: index.dictionary$6,
10
- fi: index.dictionary$5,
11
- fr: index.dictionary$4,
12
- it: index.dictionary$3,
13
- ka: index.dictionary$2,
14
- pt: index.dictionary$1,
15
- ru: index.dictionary
5
+ bg: index.dictionary$22,
6
+ bn: index.dictionary$21,
7
+ cs: index.dictionary$20,
8
+ da: index.dictionary$19,
9
+ de: index.dictionary$18,
10
+ el: index.dictionary$17,
11
+ en: index.dictionary$16,
12
+ es: index.dictionary$15,
13
+ fi: index.dictionary$14,
14
+ fr: index.dictionary$13,
15
+ hu: index.dictionary$12,
16
+ it: index.dictionary$11,
17
+ ka: index.dictionary$10,
18
+ nb: index.dictionary$9,
19
+ nl: index.dictionary$8,
20
+ pl: index.dictionary$7,
21
+ pt: index.dictionary$6,
22
+ ro: index.dictionary$5,
23
+ ru: index.dictionary$4,
24
+ sr: index.dictionary$3,
25
+ sv: index.dictionary$2,
26
+ tr: index.dictionary$1,
27
+ uz: index.dictionary
16
28
  };
17
29
  const DEFAULT_LANGUAGE = "en";
18
30
  exports.DEFAULT_LANGUAGE = DEFAULT_LANGUAGE;
@@ -1,16 +1,28 @@
1
- import { d as dictionary, c as dictionary$1, e as dictionary$2, f as dictionary$3, g as dictionary$4, h as dictionary$5, i as dictionary$6, j as dictionary$7, k as dictionary$8, l as dictionary$9, m as dictionary$a } from "../index-RzByAgHO.mjs";
1
+ import { d as dictionary, c as dictionary$1, e as dictionary$2, f as dictionary$3, g as dictionary$4, h as dictionary$5, i as dictionary$6, j as dictionary$7, k as dictionary$8, l as dictionary$9, m as dictionary$a, n as dictionary$b, o as dictionary$c, p as dictionary$d, q as dictionary$e, r as dictionary$f, s as dictionary$g, t as dictionary$h, u as dictionary$i, v as dictionary$j, w as dictionary$k, x as dictionary$l, y as dictionary$m } from "../index-C6A-3gBz.mjs";
2
2
  const resources = {
3
- bg: dictionary$a,
4
- de: dictionary$9,
5
- da: dictionary$8,
6
- en: dictionary$7,
7
- es: dictionary$6,
8
- fi: dictionary$5,
9
- fr: dictionary$4,
10
- it: dictionary$3,
11
- ka: dictionary$2,
12
- pt: dictionary$1,
13
- ru: dictionary
3
+ bg: dictionary$m,
4
+ bn: dictionary$l,
5
+ cs: dictionary$k,
6
+ da: dictionary$j,
7
+ de: dictionary$i,
8
+ el: dictionary$h,
9
+ en: dictionary$g,
10
+ es: dictionary$f,
11
+ fi: dictionary$e,
12
+ fr: dictionary$d,
13
+ hu: dictionary$c,
14
+ it: dictionary$b,
15
+ ka: dictionary$a,
16
+ nb: dictionary$9,
17
+ nl: dictionary$8,
18
+ pl: dictionary$7,
19
+ pt: dictionary$6,
20
+ ro: dictionary$5,
21
+ ru: dictionary$4,
22
+ sr: dictionary$3,
23
+ sv: dictionary$2,
24
+ tr: dictionary$1,
25
+ uz: dictionary
14
26
  };
15
27
  const DEFAULT_LANGUAGE = "en";
16
28
  export {
@@ -0,0 +1,331 @@
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 pageContacts: {
11
+ title: string;
12
+ text: string;
13
+ };
14
+ readonly pagePrivacyPolicy: {
15
+ title: string;
16
+ text: string;
17
+ sectionOne: {
18
+ title: string;
19
+ text: string;
20
+ };
21
+ sectionTwo: {
22
+ title: string;
23
+ textOne: string;
24
+ list: {
25
+ itemOne: string;
26
+ itemTwo: string;
27
+ };
28
+ textTwo: string;
29
+ };
30
+ sectionThree: {
31
+ title: string;
32
+ text: string;
33
+ };
34
+ sectionFour: {
35
+ title: string;
36
+ text: string;
37
+ };
38
+ sectionFive: {
39
+ title: string;
40
+ text: string;
41
+ };
42
+ sectionSix: {
43
+ title: string;
44
+ text: string;
45
+ textWithLink: {
46
+ contentStart: string;
47
+ link: string;
48
+ contentEnd: string;
49
+ };
50
+ };
51
+ };
52
+ readonly pageCookiePolicy: {
53
+ title: string;
54
+ text: string;
55
+ sectionOne: {
56
+ title: string;
57
+ textOne: string;
58
+ textTwo: string;
59
+ };
60
+ sectionTwo: {
61
+ title: string;
62
+ textOne: string;
63
+ list: {
64
+ itemOne: string;
65
+ itemTwo: string;
66
+ itemThree: string;
67
+ };
68
+ textTwo: string;
69
+ };
70
+ sectionThree: {
71
+ title: string;
72
+ list: {
73
+ itemOne: string;
74
+ itemTwo: string;
75
+ itemThree: string;
76
+ itemFour: string;
77
+ };
78
+ text: string;
79
+ };
80
+ };
81
+ readonly pageTermsAndConditions: {
82
+ title: string;
83
+ text: string;
84
+ sectionOne: {
85
+ title: string;
86
+ text: string;
87
+ list: {
88
+ itemOne: {
89
+ title: string;
90
+ description: string;
91
+ };
92
+ itemTwo: {
93
+ title: string;
94
+ description: string;
95
+ };
96
+ itemThree: {
97
+ title: string;
98
+ description: string;
99
+ };
100
+ itemFour: {
101
+ title: string;
102
+ description: string;
103
+ };
104
+ };
105
+ };
106
+ sectionTwo: {
107
+ title: string;
108
+ list: {
109
+ itemOne: {
110
+ title: string;
111
+ description: string;
112
+ };
113
+ itemTwo: {
114
+ title: string;
115
+ description: string;
116
+ };
117
+ itemThree: {
118
+ title: string;
119
+ description: string;
120
+ };
121
+ itemFour: {
122
+ title: string;
123
+ description: string;
124
+ };
125
+ };
126
+ };
127
+ sectionThree: {
128
+ title: string;
129
+ text: string;
130
+ };
131
+ sectionFour: {
132
+ title: string;
133
+ text: string;
134
+ list: {
135
+ itemOne: {
136
+ title: string;
137
+ description: string;
138
+ };
139
+ itemTwo: {
140
+ title: string;
141
+ description: string;
142
+ };
143
+ };
144
+ };
145
+ sectionFive: {
146
+ title: string;
147
+ text: string;
148
+ };
149
+ sectionSix: {
150
+ title: string;
151
+ textOne: string;
152
+ list: {
153
+ itemOne: string;
154
+ itemTwo: string;
155
+ itemThree: string;
156
+ };
157
+ textTwo: string;
158
+ textTwoWithLink: {
159
+ contentStart: string;
160
+ link: string;
161
+ contentEnd: string;
162
+ };
163
+ };
164
+ sectionSeven: {
165
+ title: string;
166
+ list: {
167
+ itemOne: {
168
+ title: string;
169
+ description: string;
170
+ };
171
+ itemTwo: {
172
+ title: string;
173
+ description: string;
174
+ };
175
+ };
176
+ };
177
+ };
178
+ readonly footer: {
179
+ copyright: string;
180
+ disclaimer: {
181
+ title: string;
182
+ description: string;
183
+ };
184
+ };
185
+ readonly article: {
186
+ meta: {
187
+ author: string;
188
+ publicationDate: string;
189
+ readingTime: {
190
+ label: string;
191
+ count_one: string;
192
+ count_few: string;
193
+ count_many: string;
194
+ count_other: string;
195
+ };
196
+ };
197
+ };
198
+ readonly casinoInfo: {
199
+ feature: {
200
+ RTP: string;
201
+ GAMES_COUNT: string;
202
+ MIN_DEPOSIT: string;
203
+ PAYOUT_SPEED: string;
204
+ };
205
+ };
206
+ readonly casinoTable: {
207
+ column: {
208
+ ID: string;
209
+ LOGO: string;
210
+ NAME: string;
211
+ LICENSE: string;
212
+ BONUS: string;
213
+ INFO: string;
214
+ ACTIONS: string;
215
+ };
216
+ row: {
217
+ logo: {
218
+ bestChoiceBadge: string;
219
+ };
220
+ actions: {
221
+ getBonus: string;
222
+ readReview: string;
223
+ };
224
+ };
225
+ };
226
+ readonly copyText: {
227
+ title: string;
228
+ };
229
+ readonly gameDemo: {
230
+ warning: string;
231
+ action: {
232
+ playForReal: string;
233
+ playForFree: string;
234
+ activateFullscreen: string;
235
+ deactivateFullscreen: string;
236
+ exit: string;
237
+ };
238
+ alert: {
239
+ title: string;
240
+ description: string;
241
+ };
242
+ };
243
+ readonly gameInfo: {
244
+ title: string;
245
+ group: {
246
+ general: string;
247
+ features: string;
248
+ };
249
+ feature: {
250
+ BONUS_FEATURES: string;
251
+ COMPATIBILITY: string;
252
+ FUNCTIONS: string;
253
+ DEVELOPER: string;
254
+ HAS_AUTOPLAY: string;
255
+ HAS_BONUS_PURCHASE: string;
256
+ HAS_COLLECTION_SYMBOLS: string;
257
+ HAS_DEMO: string;
258
+ HAS_FAST_SPIN: string;
259
+ HAS_FREE_SPINS: string;
260
+ HAS_PROGRESSIVE_JACKPOT: string;
261
+ LANGUAGES: string;
262
+ MAX_WIN: string;
263
+ MAX_BET: string;
264
+ MIN_BET: string;
265
+ NAME: string;
266
+ PAY_LINES: string;
267
+ REELS_NUMBER: string;
268
+ RELEASE_DATE: string;
269
+ ROWS_WITH_PINS: string;
270
+ RTP: string;
271
+ THEME: string;
272
+ TYPE: string;
273
+ VOLATILITY: string;
274
+ };
275
+ value: {
276
+ boolean: {
277
+ true: string;
278
+ false: string;
279
+ };
280
+ volatility: {
281
+ HIGH: string;
282
+ MEDIUM: string;
283
+ LOW: string;
284
+ };
285
+ };
286
+ };
287
+ readonly prosCons: {
288
+ advantages: string;
289
+ disadvantages: string;
290
+ };
291
+ readonly author: {
292
+ title: string;
293
+ action: {
294
+ expand: string;
295
+ collapse: string;
296
+ };
297
+ };
298
+ readonly contactForm: {
299
+ field: {
300
+ name: {
301
+ label: string;
302
+ placeholder: string;
303
+ };
304
+ email: {
305
+ label: string;
306
+ placeholder: string;
307
+ };
308
+ message: {
309
+ label: string;
310
+ placeholder: string;
311
+ };
312
+ };
313
+ notification: {
314
+ title: string;
315
+ description: string;
316
+ };
317
+ action: {
318
+ send: string;
319
+ };
320
+ };
321
+ readonly bonusCard: {
322
+ action: {
323
+ expand: string;
324
+ collapse: string;
325
+ };
326
+ };
327
+ readonly informer: {
328
+ [x: string]: string;
329
+ };
330
+ };
331
+ export default dictionary;