@focus-reactive/payload-plugin-seo 1.10.2 → 1.11.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 (180) hide show
  1. package/README.md +36 -2
  2. package/dist/components/SeoButton/ScoreBadge.d.ts.map +1 -1
  3. package/dist/components/SeoButton/ScoreBadge.js +10 -1
  4. package/dist/components/SeoButton/ScoreBadge.js.map +1 -1
  5. package/dist/components/SeoButton/SeoButtonInner.d.ts.map +1 -1
  6. package/dist/components/SeoButton/SeoButtonInner.js +4 -2
  7. package/dist/components/SeoButton/SeoButtonInner.js.map +1 -1
  8. package/dist/components/SeoDrawer/TabsNav/constants.js +6 -6
  9. package/dist/components/SeoDrawer/TabsNav/constants.js.map +1 -1
  10. package/dist/components/SeoDrawer/TabsNav/index.d.ts.map +1 -1
  11. package/dist/components/SeoDrawer/TabsNav/index.js +4 -2
  12. package/dist/components/SeoDrawer/TabsNav/index.js.map +1 -1
  13. package/dist/components/SeoDrawer/TabsNav/types.d.ts +2 -1
  14. package/dist/components/SeoDrawer/TabsNav/types.d.ts.map +1 -1
  15. package/dist/components/SeoDrawer/components/Header.d.ts.map +1 -1
  16. package/dist/components/SeoDrawer/components/Header.js +4 -2
  17. package/dist/components/SeoDrawer/components/Header.js.map +1 -1
  18. package/dist/components/SeoDrawer/components/HeadingsSection/HeadingIssueBanner.d.ts.map +1 -1
  19. package/dist/components/SeoDrawer/components/HeadingsSection/HeadingIssueBanner.js +4 -2
  20. package/dist/components/SeoDrawer/components/HeadingsSection/HeadingIssueBanner.js.map +1 -1
  21. package/dist/components/SeoDrawer/components/HeadingsSection/HeadingIssuePills.d.ts.map +1 -1
  22. package/dist/components/SeoDrawer/components/HeadingsSection/HeadingIssuePills.js +4 -5
  23. package/dist/components/SeoDrawer/components/HeadingsSection/HeadingIssuePills.js.map +1 -1
  24. package/dist/components/SeoDrawer/components/HeadingsSection/HeadingTree/HeadingTreeRow.d.ts.map +1 -1
  25. package/dist/components/SeoDrawer/components/HeadingsSection/HeadingTree/HeadingTreeRow.js +5 -3
  26. package/dist/components/SeoDrawer/components/HeadingsSection/HeadingTree/HeadingTreeRow.js.map +1 -1
  27. package/dist/components/SeoDrawer/components/HeadingsSection/HeadingTree/index.d.ts.map +1 -1
  28. package/dist/components/SeoDrawer/components/HeadingsSection/HeadingTree/index.js +5 -3
  29. package/dist/components/SeoDrawer/components/HeadingsSection/HeadingTree/index.js.map +1 -1
  30. package/dist/components/SeoDrawer/components/HeadingsSection/headingIssueCopy.d.ts +3 -2
  31. package/dist/components/SeoDrawer/components/HeadingsSection/headingIssueCopy.d.ts.map +1 -1
  32. package/dist/components/SeoDrawer/components/HeadingsSection/headingIssueCopy.js +5 -5
  33. package/dist/components/SeoDrawer/components/HeadingsSection/headingIssueCopy.js.map +1 -1
  34. package/dist/components/SeoDrawer/components/HeadingsSection/index.d.ts.map +1 -1
  35. package/dist/components/SeoDrawer/components/HeadingsSection/index.js +4 -2
  36. package/dist/components/SeoDrawer/components/HeadingsSection/index.js.map +1 -1
  37. package/dist/components/SeoDrawer/index.d.ts.map +1 -1
  38. package/dist/components/SeoDrawer/index.js +3 -1
  39. package/dist/components/SeoDrawer/index.js.map +1 -1
  40. package/dist/components/SeoDrawer/languagePacks.d.ts.map +1 -1
  41. package/dist/components/SeoDrawer/languagePacks.js +8 -2
  42. package/dist/components/SeoDrawer/languagePacks.js.map +1 -1
  43. package/dist/components/SeoDrawer/tabs/InclusiveTab.d.ts.map +1 -1
  44. package/dist/components/SeoDrawer/tabs/InclusiveTab.js +36 -32
  45. package/dist/components/SeoDrawer/tabs/InclusiveTab.js.map +1 -1
  46. package/dist/components/SeoDrawer/tabs/KeyphraseTab.js +3 -3
  47. package/dist/components/SeoDrawer/tabs/KeyphraseTab.js.map +1 -1
  48. package/dist/components/SeoDrawer/tabs/OnPageTab.d.ts.map +1 -1
  49. package/dist/components/SeoDrawer/tabs/OnPageTab.js +16 -12
  50. package/dist/components/SeoDrawer/tabs/OnPageTab.js.map +1 -1
  51. package/dist/components/SeoDrawer/tabs/ReadabilityTab.d.ts.map +1 -1
  52. package/dist/components/SeoDrawer/tabs/ReadabilityTab.js +16 -12
  53. package/dist/components/SeoDrawer/tabs/ReadabilityTab.js.map +1 -1
  54. package/dist/components/SeoDrawer/tabs/SerpTab.d.ts.map +1 -1
  55. package/dist/components/SeoDrawer/tabs/SerpTab.js +6 -4
  56. package/dist/components/SeoDrawer/tabs/SerpTab.js.map +1 -1
  57. package/dist/components/SeoDrawer/tabs/VitalsTab.d.ts.map +1 -1
  58. package/dist/components/SeoDrawer/tabs/VitalsTab.js +18 -9
  59. package/dist/components/SeoDrawer/tabs/VitalsTab.js.map +1 -1
  60. package/dist/components/SeoDrawer/tabs/keyphrase/KeyphraseCard.d.ts.map +1 -1
  61. package/dist/components/SeoDrawer/tabs/keyphrase/KeyphraseCard.js +4 -2
  62. package/dist/components/SeoDrawer/tabs/keyphrase/KeyphraseCard.js.map +1 -1
  63. package/dist/components/SeoDrawer/tabs/keyphrase/KeyphraseDetail.d.ts +2 -1
  64. package/dist/components/SeoDrawer/tabs/keyphrase/KeyphraseDetail.d.ts.map +1 -1
  65. package/dist/components/SeoDrawer/tabs/keyphrase/KeyphraseDetail.js +26 -23
  66. package/dist/components/SeoDrawer/tabs/keyphrase/KeyphraseDetail.js.map +1 -1
  67. package/dist/components/SeoDrawer/tabs/keyphrase/KeyphraseRail.d.ts.map +1 -1
  68. package/dist/components/SeoDrawer/tabs/keyphrase/KeyphraseRail.js +5 -8
  69. package/dist/components/SeoDrawer/tabs/keyphrase/KeyphraseRail.js.map +1 -1
  70. package/dist/components/SeoDrawer/tabs/keyphrase/SynonymsField.d.ts.map +1 -1
  71. package/dist/components/SeoDrawer/tabs/keyphrase/SynonymsField.js +10 -7
  72. package/dist/components/SeoDrawer/tabs/keyphrase/SynonymsField.js.map +1 -1
  73. package/dist/components/SeoField/Meter.d.ts +3 -2
  74. package/dist/components/SeoField/Meter.d.ts.map +1 -1
  75. package/dist/components/SeoField/Meter.js +8 -6
  76. package/dist/components/SeoField/Meter.js.map +1 -1
  77. package/dist/components/SeoField/index.d.ts.map +1 -1
  78. package/dist/components/SeoField/index.js +16 -13
  79. package/dist/components/SeoField/index.js.map +1 -1
  80. package/dist/components/SeoField/useGenerate.d.ts.map +1 -1
  81. package/dist/components/SeoField/useGenerate.js +5 -3
  82. package/dist/components/SeoField/useGenerate.js.map +1 -1
  83. package/dist/constants/checkIds.d.ts +1 -0
  84. package/dist/constants/checkIds.d.ts.map +1 -1
  85. package/dist/constants/checkIds.js +2 -0
  86. package/dist/constants/checkIds.js.map +1 -1
  87. package/dist/constants/statuses.d.ts +2 -1
  88. package/dist/constants/statuses.d.ts.map +1 -1
  89. package/dist/constants/statuses.js +5 -5
  90. package/dist/constants/statuses.js.map +1 -1
  91. package/dist/engine/inclusiveScore.d.ts +4 -4
  92. package/dist/engine/inclusiveScore.d.ts.map +1 -1
  93. package/dist/engine/inclusiveScore.js +3 -3
  94. package/dist/engine/inclusiveScore.js.map +1 -1
  95. package/dist/engine/recommendations.d.ts +2 -1
  96. package/dist/engine/recommendations.d.ts.map +1 -1
  97. package/dist/engine/recommendations.js +20 -20
  98. package/dist/engine/recommendations.js.map +1 -1
  99. package/dist/engine/researcherAdapter.d.ts +3 -0
  100. package/dist/engine/researcherAdapter.d.ts.map +1 -1
  101. package/dist/engine/researcherAdapter.js +17 -2
  102. package/dist/engine/researcherAdapter.js.map +1 -1
  103. package/dist/engine/runAnalysis/services/derive-inclusive.d.ts.map +1 -1
  104. package/dist/engine/runAnalysis/services/derive-inclusive.js +15 -13
  105. package/dist/engine/runAnalysis/services/derive-inclusive.js.map +1 -1
  106. package/dist/engine/types/analysis.d.ts +5 -3
  107. package/dist/engine/types/analysis.d.ts.map +1 -1
  108. package/dist/engine/types/visualization.d.ts +4 -2
  109. package/dist/engine/types/visualization.d.ts.map +1 -1
  110. package/dist/engine/visualization/resolveVisualization/index.js +4 -4
  111. package/dist/engine/visualization/resolveVisualization/index.js.map +1 -1
  112. package/dist/engine/visualization/resolveVisualization/resolves/resolveDrilldown.d.ts +2 -2
  113. package/dist/engine/visualization/resolveVisualization/resolves/resolveDrilldown.d.ts.map +1 -1
  114. package/dist/engine/visualization/resolveVisualization/resolves/resolveDrilldown.js +2 -6
  115. package/dist/engine/visualization/resolveVisualization/resolves/resolveDrilldown.js.map +1 -1
  116. package/dist/engine/visualization/resolveVisualization/resolves/resolveLinks.js +2 -2
  117. package/dist/engine/visualization/resolveVisualization/resolves/resolveLinks.js.map +1 -1
  118. package/dist/index.d.ts +1 -0
  119. package/dist/index.d.ts.map +1 -1
  120. package/dist/index.js.map +1 -1
  121. package/dist/plugin.js +2 -2
  122. package/dist/plugin.js.map +1 -1
  123. package/dist/translations/index.d.ts +9 -0
  124. package/dist/translations/index.d.ts.map +1 -0
  125. package/dist/translations/index.js +27 -0
  126. package/dist/translations/index.js.map +1 -0
  127. package/dist/translations/messages/cs.d.ts +3 -0
  128. package/dist/translations/messages/cs.d.ts.map +1 -0
  129. package/dist/translations/messages/cs.js +197 -0
  130. package/dist/translations/messages/cs.js.map +1 -0
  131. package/dist/translations/messages/en.d.ts +189 -0
  132. package/dist/translations/messages/en.d.ts.map +1 -0
  133. package/dist/translations/messages/en.js +192 -0
  134. package/dist/translations/messages/en.js.map +1 -0
  135. package/dist/translations/translate.d.ts +7 -0
  136. package/dist/translations/translate.d.ts.map +1 -0
  137. package/dist/translations/translate.js +43 -0
  138. package/dist/translations/translate.js.map +1 -0
  139. package/dist/translations/types.d.ts +17 -1
  140. package/dist/translations/types.d.ts.map +1 -1
  141. package/dist/translations/useSeoTranslation.d.ts +6 -0
  142. package/dist/translations/useSeoTranslation.d.ts.map +1 -0
  143. package/dist/translations/useSeoTranslation.js +15 -0
  144. package/dist/translations/useSeoTranslation.js.map +1 -0
  145. package/dist/ui/CheckRow/CheckVisualization/visualizations/DistributionBar.d.ts.map +1 -1
  146. package/dist/ui/CheckRow/CheckVisualization/visualizations/DistributionBar.js +5 -3
  147. package/dist/ui/CheckRow/CheckVisualization/visualizations/DistributionBar.js.map +1 -1
  148. package/dist/ui/CheckRow/CheckVisualization/visualizations/DrillDown.d.ts +1 -1
  149. package/dist/ui/CheckRow/CheckVisualization/visualizations/DrillDown.d.ts.map +1 -1
  150. package/dist/ui/CheckRow/CheckVisualization/visualizations/DrillDown.js +6 -3
  151. package/dist/ui/CheckRow/CheckVisualization/visualizations/DrillDown.js.map +1 -1
  152. package/dist/ui/CheckRow/CheckVisualization/visualizations/SegmentBar.d.ts.map +1 -1
  153. package/dist/ui/CheckRow/CheckVisualization/visualizations/SegmentBar.js +4 -2
  154. package/dist/ui/CheckRow/CheckVisualization/visualizations/SegmentBar.js.map +1 -1
  155. package/dist/ui/CheckRow/index.d.ts.map +1 -1
  156. package/dist/ui/CheckRow/index.js +8 -8
  157. package/dist/ui/CheckRow/index.js.map +1 -1
  158. package/dist/ui/FilterPills.d.ts.map +1 -1
  159. package/dist/ui/FilterPills.js +6 -4
  160. package/dist/ui/FilterPills.js.map +1 -1
  161. package/dist/ui/TabHeader.d.ts.map +1 -1
  162. package/dist/ui/TabHeader.js +4 -2
  163. package/dist/ui/TabHeader.js.map +1 -1
  164. package/dist/utils/config/mergeTranslations.d.ts +3 -2
  165. package/dist/utils/config/mergeTranslations.d.ts.map +1 -1
  166. package/dist/utils/config/mergeTranslations.js +10 -2
  167. package/dist/utils/config/mergeTranslations.js.map +1 -1
  168. package/package.json +1 -1
  169. package/dist/engine/visualization/resolveVisualization/utils/pluralize.d.ts +0 -2
  170. package/dist/engine/visualization/resolveVisualization/utils/pluralize.d.ts.map +0 -1
  171. package/dist/engine/visualization/resolveVisualization/utils/pluralize.js +0 -5
  172. package/dist/engine/visualization/resolveVisualization/utils/pluralize.js.map +0 -1
  173. package/dist/translations/en.d.ts +0 -3
  174. package/dist/translations/en.d.ts.map +0 -1
  175. package/dist/translations/en.js +0 -17
  176. package/dist/translations/en.js.map +0 -1
  177. package/dist/ui/CheckRow/constants/labels.d.ts +0 -6
  178. package/dist/ui/CheckRow/constants/labels.d.ts.map +0 -1
  179. package/dist/ui/CheckRow/constants/labels.js +0 -103
  180. package/dist/ui/CheckRow/constants/labels.js.map +0 -1
@@ -0,0 +1,189 @@
1
+ export declare const en: {
2
+ readonly title: "SEO Analytics";
3
+ readonly close: "Close";
4
+ readonly analyzing: "Analyzing…";
5
+ readonly scoreBadge: "SEO score {{score}}";
6
+ readonly "tab.keyphrase": "Keyphrase";
7
+ readonly "tab.onpage": "On-page SEO";
8
+ readonly "tab.readability": "Readability";
9
+ readonly "tab.inclusive": "Inclusive";
10
+ readonly "tab.vitals": "Content vitals";
11
+ readonly "tab.serp": "Search result preview";
12
+ readonly "status.good": "Good";
13
+ readonly "status.warn": "Needs work";
14
+ readonly "status.bad": "Problem";
15
+ readonly "filter.all": "All";
16
+ readonly "filter.bad": "Problems";
17
+ readonly "filter.warn": "Needs work";
18
+ readonly "filter.good": "Good";
19
+ readonly "checks.title": "Checks";
20
+ readonly "checks.passing": "{{passing}} / {{total}} checks passing";
21
+ readonly "onpage.title": "On-page structure";
22
+ readonly "readability.title": "Readability";
23
+ readonly "keyphrase.optimization": "Keyphrase optimization";
24
+ readonly "keyphrase.rail": "Keyphrases · {{count}}/{{max}}";
25
+ readonly "keyphrase.add": "Add related keyphrase";
26
+ readonly "keyphrase.max": "Up to {{max}} keyphrases";
27
+ readonly "keyphrase.focusBadge": "Focus";
28
+ readonly "keyphrase.new": "New keyphrase";
29
+ readonly "keyphrase.focusLabel": "Focus keyphrase";
30
+ readonly "keyphrase.relatedLabel": "Related keyphrase";
31
+ readonly "keyphrase.setFocus": "Set as focus";
32
+ readonly "keyphrase.remove": "Remove keyphrase";
33
+ readonly "keyphrase.focusPlaceholder": "Type your primary keyphrase";
34
+ readonly "keyphrase.relatedPlaceholder": "Type a related keyphrase";
35
+ readonly "keyphrase.duplicate": "“{{text}}” is already in your keyphrase list.";
36
+ readonly "keyphrase.analyzing": "Analyzing keyphrase…";
37
+ readonly "keyphrase.hintDuplicate": "Resolve the duplicate to analyse this keyphrase.";
38
+ readonly "keyphrase.hintEmpty": "Start typing a keyphrase to see its analysis.";
39
+ readonly "synonyms.title": "Synonyms";
40
+ readonly "synonyms.add": "Add synonym";
41
+ readonly "synonyms.placeholder": "Add a synonym…";
42
+ readonly "synonyms.inputLabel": "Add a synonym";
43
+ readonly "synonyms.enter": "Enter";
44
+ readonly "synonyms.remove": "Remove synonym {{synonym}} ({{position}})";
45
+ readonly "synonyms.help": "Synonyms count as keyphrase matches in this keyphrase’s checks. One chip per synonym.";
46
+ readonly "inclusive.title": "Inclusive language";
47
+ readonly "inclusive.subtitle": "Flagged phrases: {{flagged}} · categories: {{categories}}";
48
+ readonly "inclusive.flagged": "Marked by category";
49
+ readonly "inclusive.clean": "No issues found";
50
+ readonly "inclusive.category.age": "Age";
51
+ readonly "inclusive.category.appearance": "Appearance & body";
52
+ readonly "inclusive.category.culture": "Culture, race & religion";
53
+ readonly "inclusive.category.disability": "Disability";
54
+ readonly "inclusive.category.gender": "Gendered language";
55
+ readonly "inclusive.category.sexualOrientation": "Sexual orientation";
56
+ readonly "inclusive.category.ses": "Socioeconomic status";
57
+ readonly "inclusive.category.other": "Other";
58
+ readonly "vitals.words": "Words";
59
+ readonly "vitals.sentences": "Sentences";
60
+ readonly "vitals.paragraphs": "Paragraphs";
61
+ readonly "vitals.images": "Images";
62
+ readonly "vitals.videos": "Videos";
63
+ readonly "vitals.readingTime": "Reading time";
64
+ readonly "vitals.minutes": "min";
65
+ readonly "vitals.prominentWords": "Prominent words";
66
+ readonly "vitals.keyBadge": "Key";
67
+ readonly "vitals.setKeyphrase": "Set a focus keyphrase to see which prominent words match it";
68
+ readonly "headings.title": "Headings";
69
+ readonly "headings.levels": "Levels";
70
+ readonly "headings.structure": "Structure";
71
+ readonly "headings.expandAll": "Expand all";
72
+ readonly "headings.collapseAll": "Collapse all";
73
+ readonly "headings.expand": "Expand";
74
+ readonly "headings.collapse": "Collapse";
75
+ readonly "headings.empty": "No headings found in this content.";
76
+ readonly "headings.emptyHeading": "(empty heading)";
77
+ readonly "headings.skipped": "Skipped {{levels}}";
78
+ readonly "headings.errors_one": "{{count}} error";
79
+ readonly "headings.errors_other": "{{count}} errors";
80
+ readonly "headings.warnings_one": "{{count}} warning";
81
+ readonly "headings.warnings_other": "{{count}} warnings";
82
+ readonly "headings.missingH1.title": "No H1 heading found";
83
+ readonly "headings.missingH1.body": "Add a single top-level heading so the page has a clear title anchor.";
84
+ readonly "headings.multipleH1.title": "Multiple H1 headings ({{count}})";
85
+ readonly "headings.multipleH1.body": "Use exactly one H1 so search engines and screen readers get a single page title.";
86
+ readonly "serp.title": "Search result preview";
87
+ readonly "serp.mobile": "Mobile";
88
+ readonly "serp.desktop": "Desktop";
89
+ readonly "serp.device": "Preview device";
90
+ readonly "viz.hide": "Hide";
91
+ readonly "viz.show.link_one": "Show {{count}} link";
92
+ readonly "viz.show.link_other": "Show {{count}} links";
93
+ readonly "viz.show.section_one": "Show {{count}} section";
94
+ readonly "viz.show.section_other": "Show {{count}} sections";
95
+ readonly "viz.show.paragraph_one": "Show {{count}} paragraph";
96
+ readonly "viz.show.paragraph_other": "Show {{count}} paragraphs";
97
+ readonly "viz.show.group_one": "Show {{count}} group";
98
+ readonly "viz.show.group_other": "Show {{count}} groups";
99
+ readonly "viz.dofollow": "{{count}} dofollow";
100
+ readonly "viz.nofollow": "{{count}} nofollow";
101
+ readonly "viz.start": "start";
102
+ readonly "viz.middle": "middle";
103
+ readonly "viz.end": "end";
104
+ readonly "check.introductionKeyword.name": "Keyphrase in introduction";
105
+ readonly "check.introductionKeyword.tip": "Whether the focus keyphrase appears in the first paragraph.";
106
+ readonly "check.keyphraseLength.name": "Keyphrase length";
107
+ readonly "check.keyphraseLength.tip": "Word count of the keyphrase itself.";
108
+ readonly "check.keyphraseDensity.name": "Keyphrase density";
109
+ readonly "check.keyphraseDensity.tip": "Occurrences relative to total words. Ideal 0.5–2.5%.";
110
+ readonly "check.metaDescriptionKeyword.name": "Keyphrase in meta description";
111
+ readonly "check.metaDescriptionKeyword.tip": "Whether the keyphrase appears in the meta description.";
112
+ readonly "check.subheadingsKeyword.name": "Keyphrase in subheadings";
113
+ readonly "check.subheadingsKeyword.tip": "Whether subheadings (H2+) use the keyphrase.";
114
+ readonly "check.textCompetingLinks.name": "Competing links";
115
+ readonly "check.textCompetingLinks.tip": "Links that use your keyphrase as anchor text.";
116
+ readonly "check.imageKeyphrase.name": "Keyphrase in image alts";
117
+ readonly "check.imageKeyphrase.tip": "How many images reference the keyphrase in alt text.";
118
+ readonly "check.keyphraseInSEOTitle.name": "Keyphrase in SEO title";
119
+ readonly "check.keyphraseInSEOTitle.tip": "Whether the keyphrase is in the SEO title, and where.";
120
+ readonly "check.slugKeyword.name": "Keyphrase in slug";
121
+ readonly "check.slugKeyword.tip": "Whether the keyphrase appears in the URL slug.";
122
+ readonly "check.functionWordsInKeyphrase.name": "Function words in keyphrase";
123
+ readonly "check.functionWordsInKeyphrase.tip": "Your keyphrase is made up only of function words.";
124
+ readonly "check.keyphraseDistribution.name": "Keyphrase distribution";
125
+ readonly "check.keyphraseDistribution.tip": "Where the keyphrase occurs across the document.";
126
+ readonly "check.textLength.name": "Total word count";
127
+ readonly "check.textLength.tip": "Total words vs the recommended minimum (300).";
128
+ readonly "check.metaDescriptionLength.name": "Meta description length";
129
+ readonly "check.metaDescriptionLength.tip": "Ideal 120–158 characters.";
130
+ readonly "check.titleWidth.name": "SEO title width";
131
+ readonly "check.titleWidth.tip": "Pixel width; over ~580px truncates.";
132
+ readonly "check.images.name": "Images";
133
+ readonly "check.images.tip": "Whether the text contains images.";
134
+ readonly "check.externalLinks.name": "Outbound links";
135
+ readonly "check.externalLinks.tip": "Follow / nofollow mix of outbound links.";
136
+ readonly "check.internalLinks.name": "Internal links";
137
+ readonly "check.internalLinks.tip": "Follow / nofollow mix of internal links.";
138
+ readonly "check.singleH1.name": "Exactly one H1";
139
+ readonly "check.singleH1.tip": "There is one H1, correctly positioned.";
140
+ readonly "check.subheadingsTooLong.name": "Subheading distribution";
141
+ readonly "check.subheadingsTooLong.tip": "Long sections without a subheading.";
142
+ readonly "check.textParagraphTooLong.name": "Paragraph length";
143
+ readonly "check.textParagraphTooLong.tip": "Paragraphs over the recommended length.";
144
+ readonly "check.textSentenceLength.name": "Sentence length";
145
+ readonly "check.textSentenceLength.tip": "Share of sentences over the recommended length.";
146
+ readonly "check.textTransitionWords.name": "Transition words";
147
+ readonly "check.textTransitionWords.tip": "Share of sentences using transition words.";
148
+ readonly "check.passiveVoice.name": "Passive voice";
149
+ readonly "check.passiveVoice.tip": "Share of sentences in passive voice.";
150
+ readonly "check.sentenceBeginnings.name": "Consecutive sentences";
151
+ readonly "check.sentenceBeginnings.tip": "Repetitive sentence beginnings.";
152
+ readonly "check.fleschReadingEase.name": "Reading ease";
153
+ readonly "check.fleschReadingEase.tip": "Flesch Reading Ease (0–100); higher is easier. Aim for 60+.";
154
+ readonly "reco.introductionKeyword.bad": "Add “{{keyphrase}}” to your opening paragraph.";
155
+ readonly "reco.introductionKeyword.badNoKeyphrase": "Add your keyphrase to your opening paragraph.";
156
+ readonly "reco.keyphraseDensity.bad": "Use the keyphrase a few more times to land in the ideal band.";
157
+ readonly "reco.keyphraseDensity.warn": "Use the keyphrase ~2 more times to land in the ideal band.";
158
+ readonly "reco.metaDescriptionKeyword.bad": "Add the keyphrase to the meta description to improve click-through.";
159
+ readonly "reco.imageKeyphrase.warn": "Add the keyphrase to the alt text of the remaining images.";
160
+ readonly "reco.imageKeyphrase.bad": "Add the keyphrase to your image alt texts.";
161
+ readonly "reco.keyphraseDistribution.warn": "Occurrences are clustered — spread the keyphrase through the body.";
162
+ readonly "reco.keyphraseDistribution.bad": "Distribute the keyphrase more evenly through the text.";
163
+ readonly "reco.metaDescriptionLength.warn": "You're near the limit — trim a few characters to avoid truncation.";
164
+ readonly "reco.metaDescriptionLength.bad": "Adjust the meta description toward 120–158 characters.";
165
+ readonly "reco.internalLinks.warn": "Add a few internal links to related pages.";
166
+ readonly "reco.internalLinks.bad": "Add internal links to related pages.";
167
+ readonly "reco.textLength.bad": "Add more content — aim for at least 300 words.";
168
+ readonly "reco.textLength.warn": "Add more content to comfortably clear the minimum.";
169
+ readonly "reco.fleschReadingEase.warn": "Shorten sentences and prefer simpler words to make the text easier to read.";
170
+ readonly "reco.fleschReadingEase.bad": "The text is hard to read — use shorter sentences and simpler words.";
171
+ readonly "reco.generic.warn": "This check needs some attention.";
172
+ readonly "reco.generic.bad": "This check needs improvement.";
173
+ readonly "field.generate": "Generate";
174
+ readonly "field.generating": "Generating…";
175
+ readonly "field.generationFailed": "Generation failed";
176
+ readonly "field.unchanged": "Your text is unchanged — press Generate to try again.";
177
+ readonly "field.noExtractor": "No content extractor is registered for this collection.";
178
+ readonly "field.auto.title": "Generated automatically";
179
+ readonly "field.auto.label": "Generated on publish";
180
+ readonly "field.auto.body.title": "Left empty, this title is generated from the page content when you publish. Type a value to keep your own.";
181
+ readonly "field.auto.body.description": "Left empty, this description is generated from the page content when you publish. Type a value to keep your own.";
182
+ readonly "meter.good": "Good";
183
+ readonly "meter.short": "Too short";
184
+ readonly "meter.long": "Too long";
185
+ readonly "meter.working": "Working…";
186
+ readonly "meter.empty.title": "No title";
187
+ readonly "meter.empty.description": "No description";
188
+ };
189
+ //# sourceMappingURL=en.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/translations/messages/en.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkNL,CAAC"}
@@ -0,0 +1,192 @@
1
+ const en = {
2
+ title: "SEO Analytics",
3
+ close: "Close",
4
+ analyzing: "Analyzing\u2026",
5
+ scoreBadge: "SEO score {{score}}",
6
+ "tab.keyphrase": "Keyphrase",
7
+ "tab.onpage": "On-page SEO",
8
+ "tab.readability": "Readability",
9
+ "tab.inclusive": "Inclusive",
10
+ "tab.vitals": "Content vitals",
11
+ "tab.serp": "Search result preview",
12
+ "status.good": "Good",
13
+ "status.warn": "Needs work",
14
+ "status.bad": "Problem",
15
+ "filter.all": "All",
16
+ "filter.bad": "Problems",
17
+ "filter.warn": "Needs work",
18
+ "filter.good": "Good",
19
+ "checks.title": "Checks",
20
+ "checks.passing": "{{passing}} / {{total}} checks passing",
21
+ "onpage.title": "On-page structure",
22
+ "readability.title": "Readability",
23
+ "keyphrase.optimization": "Keyphrase optimization",
24
+ "keyphrase.rail": "Keyphrases \xB7 {{count}}/{{max}}",
25
+ "keyphrase.add": "Add related keyphrase",
26
+ "keyphrase.max": "Up to {{max}} keyphrases",
27
+ "keyphrase.focusBadge": "Focus",
28
+ "keyphrase.new": "New keyphrase",
29
+ "keyphrase.focusLabel": "Focus keyphrase",
30
+ "keyphrase.relatedLabel": "Related keyphrase",
31
+ "keyphrase.setFocus": "Set as focus",
32
+ "keyphrase.remove": "Remove keyphrase",
33
+ "keyphrase.focusPlaceholder": "Type your primary keyphrase",
34
+ "keyphrase.relatedPlaceholder": "Type a related keyphrase",
35
+ "keyphrase.duplicate": "\u201C{{text}}\u201D is already in your keyphrase list.",
36
+ "keyphrase.analyzing": "Analyzing keyphrase\u2026",
37
+ "keyphrase.hintDuplicate": "Resolve the duplicate to analyse this keyphrase.",
38
+ "keyphrase.hintEmpty": "Start typing a keyphrase to see its analysis.",
39
+ "synonyms.title": "Synonyms",
40
+ "synonyms.add": "Add synonym",
41
+ "synonyms.placeholder": "Add a synonym\u2026",
42
+ "synonyms.inputLabel": "Add a synonym",
43
+ "synonyms.enter": "Enter",
44
+ "synonyms.remove": "Remove synonym {{synonym}} ({{position}})",
45
+ "synonyms.help": "Synonyms count as keyphrase matches in this keyphrase\u2019s checks. One chip per synonym.",
46
+ "inclusive.title": "Inclusive language",
47
+ "inclusive.subtitle": "Flagged phrases: {{flagged}} \xB7 categories: {{categories}}",
48
+ "inclusive.flagged": "Marked by category",
49
+ "inclusive.clean": "No issues found",
50
+ "inclusive.category.age": "Age",
51
+ "inclusive.category.appearance": "Appearance & body",
52
+ "inclusive.category.culture": "Culture, race & religion",
53
+ "inclusive.category.disability": "Disability",
54
+ "inclusive.category.gender": "Gendered language",
55
+ "inclusive.category.sexualOrientation": "Sexual orientation",
56
+ "inclusive.category.ses": "Socioeconomic status",
57
+ "inclusive.category.other": "Other",
58
+ "vitals.words": "Words",
59
+ "vitals.sentences": "Sentences",
60
+ "vitals.paragraphs": "Paragraphs",
61
+ "vitals.images": "Images",
62
+ "vitals.videos": "Videos",
63
+ "vitals.readingTime": "Reading time",
64
+ "vitals.minutes": "min",
65
+ "vitals.prominentWords": "Prominent words",
66
+ "vitals.keyBadge": "Key",
67
+ "vitals.setKeyphrase": "Set a focus keyphrase to see which prominent words match it",
68
+ "headings.title": "Headings",
69
+ "headings.levels": "Levels",
70
+ "headings.structure": "Structure",
71
+ "headings.expandAll": "Expand all",
72
+ "headings.collapseAll": "Collapse all",
73
+ "headings.expand": "Expand",
74
+ "headings.collapse": "Collapse",
75
+ "headings.empty": "No headings found in this content.",
76
+ "headings.emptyHeading": "(empty heading)",
77
+ "headings.skipped": "Skipped {{levels}}",
78
+ "headings.errors_one": "{{count}} error",
79
+ "headings.errors_other": "{{count}} errors",
80
+ "headings.warnings_one": "{{count}} warning",
81
+ "headings.warnings_other": "{{count}} warnings",
82
+ "headings.missingH1.title": "No H1 heading found",
83
+ "headings.missingH1.body": "Add a single top-level heading so the page has a clear title anchor.",
84
+ "headings.multipleH1.title": "Multiple H1 headings ({{count}})",
85
+ "headings.multipleH1.body": "Use exactly one H1 so search engines and screen readers get a single page title.",
86
+ "serp.title": "Search result preview",
87
+ "serp.mobile": "Mobile",
88
+ "serp.desktop": "Desktop",
89
+ "serp.device": "Preview device",
90
+ "viz.hide": "Hide",
91
+ "viz.show.link_one": "Show {{count}} link",
92
+ "viz.show.link_other": "Show {{count}} links",
93
+ "viz.show.section_one": "Show {{count}} section",
94
+ "viz.show.section_other": "Show {{count}} sections",
95
+ "viz.show.paragraph_one": "Show {{count}} paragraph",
96
+ "viz.show.paragraph_other": "Show {{count}} paragraphs",
97
+ "viz.show.group_one": "Show {{count}} group",
98
+ "viz.show.group_other": "Show {{count}} groups",
99
+ "viz.dofollow": "{{count}} dofollow",
100
+ "viz.nofollow": "{{count}} nofollow",
101
+ "viz.start": "start",
102
+ "viz.middle": "middle",
103
+ "viz.end": "end",
104
+ "check.introductionKeyword.name": "Keyphrase in introduction",
105
+ "check.introductionKeyword.tip": "Whether the focus keyphrase appears in the first paragraph.",
106
+ "check.keyphraseLength.name": "Keyphrase length",
107
+ "check.keyphraseLength.tip": "Word count of the keyphrase itself.",
108
+ "check.keyphraseDensity.name": "Keyphrase density",
109
+ "check.keyphraseDensity.tip": "Occurrences relative to total words. Ideal 0.5\u20132.5%.",
110
+ "check.metaDescriptionKeyword.name": "Keyphrase in meta description",
111
+ "check.metaDescriptionKeyword.tip": "Whether the keyphrase appears in the meta description.",
112
+ "check.subheadingsKeyword.name": "Keyphrase in subheadings",
113
+ "check.subheadingsKeyword.tip": "Whether subheadings (H2+) use the keyphrase.",
114
+ "check.textCompetingLinks.name": "Competing links",
115
+ "check.textCompetingLinks.tip": "Links that use your keyphrase as anchor text.",
116
+ "check.imageKeyphrase.name": "Keyphrase in image alts",
117
+ "check.imageKeyphrase.tip": "How many images reference the keyphrase in alt text.",
118
+ "check.keyphraseInSEOTitle.name": "Keyphrase in SEO title",
119
+ "check.keyphraseInSEOTitle.tip": "Whether the keyphrase is in the SEO title, and where.",
120
+ "check.slugKeyword.name": "Keyphrase in slug",
121
+ "check.slugKeyword.tip": "Whether the keyphrase appears in the URL slug.",
122
+ "check.functionWordsInKeyphrase.name": "Function words in keyphrase",
123
+ "check.functionWordsInKeyphrase.tip": "Your keyphrase is made up only of function words.",
124
+ "check.keyphraseDistribution.name": "Keyphrase distribution",
125
+ "check.keyphraseDistribution.tip": "Where the keyphrase occurs across the document.",
126
+ "check.textLength.name": "Total word count",
127
+ "check.textLength.tip": "Total words vs the recommended minimum (300).",
128
+ "check.metaDescriptionLength.name": "Meta description length",
129
+ "check.metaDescriptionLength.tip": "Ideal 120\u2013158 characters.",
130
+ "check.titleWidth.name": "SEO title width",
131
+ "check.titleWidth.tip": "Pixel width; over ~580px truncates.",
132
+ "check.images.name": "Images",
133
+ "check.images.tip": "Whether the text contains images.",
134
+ "check.externalLinks.name": "Outbound links",
135
+ "check.externalLinks.tip": "Follow / nofollow mix of outbound links.",
136
+ "check.internalLinks.name": "Internal links",
137
+ "check.internalLinks.tip": "Follow / nofollow mix of internal links.",
138
+ "check.singleH1.name": "Exactly one H1",
139
+ "check.singleH1.tip": "There is one H1, correctly positioned.",
140
+ "check.subheadingsTooLong.name": "Subheading distribution",
141
+ "check.subheadingsTooLong.tip": "Long sections without a subheading.",
142
+ "check.textParagraphTooLong.name": "Paragraph length",
143
+ "check.textParagraphTooLong.tip": "Paragraphs over the recommended length.",
144
+ "check.textSentenceLength.name": "Sentence length",
145
+ "check.textSentenceLength.tip": "Share of sentences over the recommended length.",
146
+ "check.textTransitionWords.name": "Transition words",
147
+ "check.textTransitionWords.tip": "Share of sentences using transition words.",
148
+ "check.passiveVoice.name": "Passive voice",
149
+ "check.passiveVoice.tip": "Share of sentences in passive voice.",
150
+ "check.sentenceBeginnings.name": "Consecutive sentences",
151
+ "check.sentenceBeginnings.tip": "Repetitive sentence beginnings.",
152
+ "check.fleschReadingEase.name": "Reading ease",
153
+ "check.fleschReadingEase.tip": "Flesch Reading Ease (0\u2013100); higher is easier. Aim for 60+.",
154
+ "reco.introductionKeyword.bad": "Add \u201C{{keyphrase}}\u201D to your opening paragraph.",
155
+ "reco.introductionKeyword.badNoKeyphrase": "Add your keyphrase to your opening paragraph.",
156
+ "reco.keyphraseDensity.bad": "Use the keyphrase a few more times to land in the ideal band.",
157
+ "reco.keyphraseDensity.warn": "Use the keyphrase ~2 more times to land in the ideal band.",
158
+ "reco.metaDescriptionKeyword.bad": "Add the keyphrase to the meta description to improve click-through.",
159
+ "reco.imageKeyphrase.warn": "Add the keyphrase to the alt text of the remaining images.",
160
+ "reco.imageKeyphrase.bad": "Add the keyphrase to your image alt texts.",
161
+ "reco.keyphraseDistribution.warn": "Occurrences are clustered \u2014 spread the keyphrase through the body.",
162
+ "reco.keyphraseDistribution.bad": "Distribute the keyphrase more evenly through the text.",
163
+ "reco.metaDescriptionLength.warn": "You're near the limit \u2014 trim a few characters to avoid truncation.",
164
+ "reco.metaDescriptionLength.bad": "Adjust the meta description toward 120\u2013158 characters.",
165
+ "reco.internalLinks.warn": "Add a few internal links to related pages.",
166
+ "reco.internalLinks.bad": "Add internal links to related pages.",
167
+ "reco.textLength.bad": "Add more content \u2014 aim for at least 300 words.",
168
+ "reco.textLength.warn": "Add more content to comfortably clear the minimum.",
169
+ "reco.fleschReadingEase.warn": "Shorten sentences and prefer simpler words to make the text easier to read.",
170
+ "reco.fleschReadingEase.bad": "The text is hard to read \u2014 use shorter sentences and simpler words.",
171
+ "reco.generic.warn": "This check needs some attention.",
172
+ "reco.generic.bad": "This check needs improvement.",
173
+ "field.generate": "Generate",
174
+ "field.generating": "Generating\u2026",
175
+ "field.generationFailed": "Generation failed",
176
+ "field.unchanged": "Your text is unchanged \u2014 press Generate to try again.",
177
+ "field.noExtractor": "No content extractor is registered for this collection.",
178
+ "field.auto.title": "Generated automatically",
179
+ "field.auto.label": "Generated on publish",
180
+ "field.auto.body.title": "Left empty, this title is generated from the page content when you publish. Type a value to keep your own.",
181
+ "field.auto.body.description": "Left empty, this description is generated from the page content when you publish. Type a value to keep your own.",
182
+ "meter.good": "Good",
183
+ "meter.short": "Too short",
184
+ "meter.long": "Too long",
185
+ "meter.working": "Working\u2026",
186
+ "meter.empty.title": "No title",
187
+ "meter.empty.description": "No description"
188
+ };
189
+ export {
190
+ en
191
+ };
192
+ //# sourceMappingURL=en.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/translations/messages/en.ts"],"sourcesContent":["export const en = {\n title: \"SEO Analytics\",\n close: \"Close\",\n analyzing: \"Analyzing…\",\n scoreBadge: \"SEO score {{score}}\",\n\n \"tab.keyphrase\": \"Keyphrase\",\n \"tab.onpage\": \"On-page SEO\",\n \"tab.readability\": \"Readability\",\n \"tab.inclusive\": \"Inclusive\",\n \"tab.vitals\": \"Content vitals\",\n \"tab.serp\": \"Search result preview\",\n\n \"status.good\": \"Good\",\n \"status.warn\": \"Needs work\",\n \"status.bad\": \"Problem\",\n\n \"filter.all\": \"All\",\n \"filter.bad\": \"Problems\",\n \"filter.warn\": \"Needs work\",\n \"filter.good\": \"Good\",\n\n \"checks.title\": \"Checks\",\n \"checks.passing\": \"{{passing}} / {{total}} checks passing\",\n \"onpage.title\": \"On-page structure\",\n \"readability.title\": \"Readability\",\n\n \"keyphrase.optimization\": \"Keyphrase optimization\",\n \"keyphrase.rail\": \"Keyphrases · {{count}}/{{max}}\",\n \"keyphrase.add\": \"Add related keyphrase\",\n \"keyphrase.max\": \"Up to {{max}} keyphrases\",\n \"keyphrase.focusBadge\": \"Focus\",\n \"keyphrase.new\": \"New keyphrase\",\n \"keyphrase.focusLabel\": \"Focus keyphrase\",\n \"keyphrase.relatedLabel\": \"Related keyphrase\",\n \"keyphrase.setFocus\": \"Set as focus\",\n \"keyphrase.remove\": \"Remove keyphrase\",\n \"keyphrase.focusPlaceholder\": \"Type your primary keyphrase\",\n \"keyphrase.relatedPlaceholder\": \"Type a related keyphrase\",\n \"keyphrase.duplicate\": \"“{{text}}” is already in your keyphrase list.\",\n \"keyphrase.analyzing\": \"Analyzing keyphrase…\",\n \"keyphrase.hintDuplicate\": \"Resolve the duplicate to analyse this keyphrase.\",\n \"keyphrase.hintEmpty\": \"Start typing a keyphrase to see its analysis.\",\n\n \"synonyms.title\": \"Synonyms\",\n \"synonyms.add\": \"Add synonym\",\n \"synonyms.placeholder\": \"Add a synonym…\",\n \"synonyms.inputLabel\": \"Add a synonym\",\n \"synonyms.enter\": \"Enter\",\n \"synonyms.remove\": \"Remove synonym {{synonym}} ({{position}})\",\n \"synonyms.help\":\n \"Synonyms count as keyphrase matches in this keyphrase’s checks. One chip per synonym.\",\n\n \"inclusive.title\": \"Inclusive language\",\n \"inclusive.subtitle\": \"Flagged phrases: {{flagged}} · categories: {{categories}}\",\n \"inclusive.flagged\": \"Marked by category\",\n \"inclusive.clean\": \"No issues found\",\n \"inclusive.category.age\": \"Age\",\n \"inclusive.category.appearance\": \"Appearance & body\",\n \"inclusive.category.culture\": \"Culture, race & religion\",\n \"inclusive.category.disability\": \"Disability\",\n \"inclusive.category.gender\": \"Gendered language\",\n \"inclusive.category.sexualOrientation\": \"Sexual orientation\",\n \"inclusive.category.ses\": \"Socioeconomic status\",\n \"inclusive.category.other\": \"Other\",\n\n \"vitals.words\": \"Words\",\n \"vitals.sentences\": \"Sentences\",\n \"vitals.paragraphs\": \"Paragraphs\",\n \"vitals.images\": \"Images\",\n \"vitals.videos\": \"Videos\",\n \"vitals.readingTime\": \"Reading time\",\n \"vitals.minutes\": \"min\",\n \"vitals.prominentWords\": \"Prominent words\",\n \"vitals.keyBadge\": \"Key\",\n \"vitals.setKeyphrase\": \"Set a focus keyphrase to see which prominent words match it\",\n\n \"headings.title\": \"Headings\",\n \"headings.levels\": \"Levels\",\n \"headings.structure\": \"Structure\",\n \"headings.expandAll\": \"Expand all\",\n \"headings.collapseAll\": \"Collapse all\",\n \"headings.expand\": \"Expand\",\n \"headings.collapse\": \"Collapse\",\n \"headings.empty\": \"No headings found in this content.\",\n \"headings.emptyHeading\": \"(empty heading)\",\n \"headings.skipped\": \"Skipped {{levels}}\",\n \"headings.errors_one\": \"{{count}} error\",\n \"headings.errors_other\": \"{{count}} errors\",\n \"headings.warnings_one\": \"{{count}} warning\",\n \"headings.warnings_other\": \"{{count}} warnings\",\n \"headings.missingH1.title\": \"No H1 heading found\",\n \"headings.missingH1.body\": \"Add a single top-level heading so the page has a clear title anchor.\",\n \"headings.multipleH1.title\": \"Multiple H1 headings ({{count}})\",\n \"headings.multipleH1.body\":\n \"Use exactly one H1 so search engines and screen readers get a single page title.\",\n\n \"serp.title\": \"Search result preview\",\n \"serp.mobile\": \"Mobile\",\n \"serp.desktop\": \"Desktop\",\n \"serp.device\": \"Preview device\",\n\n \"viz.hide\": \"Hide\",\n \"viz.show.link_one\": \"Show {{count}} link\",\n \"viz.show.link_other\": \"Show {{count}} links\",\n \"viz.show.section_one\": \"Show {{count}} section\",\n \"viz.show.section_other\": \"Show {{count}} sections\",\n \"viz.show.paragraph_one\": \"Show {{count}} paragraph\",\n \"viz.show.paragraph_other\": \"Show {{count}} paragraphs\",\n \"viz.show.group_one\": \"Show {{count}} group\",\n \"viz.show.group_other\": \"Show {{count}} groups\",\n \"viz.dofollow\": \"{{count}} dofollow\",\n \"viz.nofollow\": \"{{count}} nofollow\",\n \"viz.start\": \"start\",\n \"viz.middle\": \"middle\",\n \"viz.end\": \"end\",\n\n \"check.introductionKeyword.name\": \"Keyphrase in introduction\",\n \"check.introductionKeyword.tip\": \"Whether the focus keyphrase appears in the first paragraph.\",\n \"check.keyphraseLength.name\": \"Keyphrase length\",\n \"check.keyphraseLength.tip\": \"Word count of the keyphrase itself.\",\n \"check.keyphraseDensity.name\": \"Keyphrase density\",\n \"check.keyphraseDensity.tip\": \"Occurrences relative to total words. Ideal 0.5–2.5%.\",\n \"check.metaDescriptionKeyword.name\": \"Keyphrase in meta description\",\n \"check.metaDescriptionKeyword.tip\": \"Whether the keyphrase appears in the meta description.\",\n \"check.subheadingsKeyword.name\": \"Keyphrase in subheadings\",\n \"check.subheadingsKeyword.tip\": \"Whether subheadings (H2+) use the keyphrase.\",\n \"check.textCompetingLinks.name\": \"Competing links\",\n \"check.textCompetingLinks.tip\": \"Links that use your keyphrase as anchor text.\",\n \"check.imageKeyphrase.name\": \"Keyphrase in image alts\",\n \"check.imageKeyphrase.tip\": \"How many images reference the keyphrase in alt text.\",\n \"check.keyphraseInSEOTitle.name\": \"Keyphrase in SEO title\",\n \"check.keyphraseInSEOTitle.tip\": \"Whether the keyphrase is in the SEO title, and where.\",\n \"check.slugKeyword.name\": \"Keyphrase in slug\",\n \"check.slugKeyword.tip\": \"Whether the keyphrase appears in the URL slug.\",\n \"check.functionWordsInKeyphrase.name\": \"Function words in keyphrase\",\n \"check.functionWordsInKeyphrase.tip\": \"Your keyphrase is made up only of function words.\",\n \"check.keyphraseDistribution.name\": \"Keyphrase distribution\",\n \"check.keyphraseDistribution.tip\": \"Where the keyphrase occurs across the document.\",\n \"check.textLength.name\": \"Total word count\",\n \"check.textLength.tip\": \"Total words vs the recommended minimum (300).\",\n \"check.metaDescriptionLength.name\": \"Meta description length\",\n \"check.metaDescriptionLength.tip\": \"Ideal 120–158 characters.\",\n \"check.titleWidth.name\": \"SEO title width\",\n \"check.titleWidth.tip\": \"Pixel width; over ~580px truncates.\",\n \"check.images.name\": \"Images\",\n \"check.images.tip\": \"Whether the text contains images.\",\n \"check.externalLinks.name\": \"Outbound links\",\n \"check.externalLinks.tip\": \"Follow / nofollow mix of outbound links.\",\n \"check.internalLinks.name\": \"Internal links\",\n \"check.internalLinks.tip\": \"Follow / nofollow mix of internal links.\",\n \"check.singleH1.name\": \"Exactly one H1\",\n \"check.singleH1.tip\": \"There is one H1, correctly positioned.\",\n \"check.subheadingsTooLong.name\": \"Subheading distribution\",\n \"check.subheadingsTooLong.tip\": \"Long sections without a subheading.\",\n \"check.textParagraphTooLong.name\": \"Paragraph length\",\n \"check.textParagraphTooLong.tip\": \"Paragraphs over the recommended length.\",\n \"check.textSentenceLength.name\": \"Sentence length\",\n \"check.textSentenceLength.tip\": \"Share of sentences over the recommended length.\",\n \"check.textTransitionWords.name\": \"Transition words\",\n \"check.textTransitionWords.tip\": \"Share of sentences using transition words.\",\n \"check.passiveVoice.name\": \"Passive voice\",\n \"check.passiveVoice.tip\": \"Share of sentences in passive voice.\",\n \"check.sentenceBeginnings.name\": \"Consecutive sentences\",\n \"check.sentenceBeginnings.tip\": \"Repetitive sentence beginnings.\",\n \"check.fleschReadingEase.name\": \"Reading ease\",\n \"check.fleschReadingEase.tip\": \"Flesch Reading Ease (0–100); higher is easier. Aim for 60+.\",\n\n \"reco.introductionKeyword.bad\": \"Add “{{keyphrase}}” to your opening paragraph.\",\n \"reco.introductionKeyword.badNoKeyphrase\": \"Add your keyphrase to your opening paragraph.\",\n \"reco.keyphraseDensity.bad\": \"Use the keyphrase a few more times to land in the ideal band.\",\n \"reco.keyphraseDensity.warn\": \"Use the keyphrase ~2 more times to land in the ideal band.\",\n \"reco.metaDescriptionKeyword.bad\":\n \"Add the keyphrase to the meta description to improve click-through.\",\n \"reco.imageKeyphrase.warn\": \"Add the keyphrase to the alt text of the remaining images.\",\n \"reco.imageKeyphrase.bad\": \"Add the keyphrase to your image alt texts.\",\n \"reco.keyphraseDistribution.warn\":\n \"Occurrences are clustered — spread the keyphrase through the body.\",\n \"reco.keyphraseDistribution.bad\": \"Distribute the keyphrase more evenly through the text.\",\n \"reco.metaDescriptionLength.warn\":\n \"You're near the limit — trim a few characters to avoid truncation.\",\n \"reco.metaDescriptionLength.bad\": \"Adjust the meta description toward 120–158 characters.\",\n \"reco.internalLinks.warn\": \"Add a few internal links to related pages.\",\n \"reco.internalLinks.bad\": \"Add internal links to related pages.\",\n \"reco.textLength.bad\": \"Add more content — aim for at least 300 words.\",\n \"reco.textLength.warn\": \"Add more content to comfortably clear the minimum.\",\n \"reco.fleschReadingEase.warn\":\n \"Shorten sentences and prefer simpler words to make the text easier to read.\",\n \"reco.fleschReadingEase.bad\":\n \"The text is hard to read — use shorter sentences and simpler words.\",\n \"reco.generic.warn\": \"This check needs some attention.\",\n \"reco.generic.bad\": \"This check needs improvement.\",\n\n \"field.generate\": \"Generate\",\n \"field.generating\": \"Generating…\",\n \"field.generationFailed\": \"Generation failed\",\n \"field.unchanged\": \"Your text is unchanged — press Generate to try again.\",\n \"field.noExtractor\": \"No content extractor is registered for this collection.\",\n \"field.auto.title\": \"Generated automatically\",\n \"field.auto.label\": \"Generated on publish\",\n \"field.auto.body.title\":\n \"Left empty, this title is generated from the page content when you publish. Type a value to keep your own.\",\n \"field.auto.body.description\":\n \"Left empty, this description is generated from the page content when you publish. Type a value to keep your own.\",\n \"meter.good\": \"Good\",\n \"meter.short\": \"Too short\",\n \"meter.long\": \"Too long\",\n \"meter.working\": \"Working…\",\n \"meter.empty.title\": \"No title\",\n \"meter.empty.description\": \"No description\",\n} as const;\n"],"mappings":"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","names":[]}
@@ -0,0 +1,7 @@
1
+ import type { MessageVars, TranslationKey } from "./types";
2
+ export declare const TRANSLATION_NAMESPACE = "seo";
3
+ export type Messages = Readonly<Record<string, string>>;
4
+ export type Translate = (key: TranslationKey, vars?: MessageVars) => string;
5
+ export declare function createTranslator(language: string, messages: Messages | undefined, fallback?: Messages): Translate;
6
+ export declare function normalizeMessageKey(key: string): string;
7
+ //# sourceMappingURL=translate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translate.d.ts","sourceRoot":"","sources":["../../src/translations/translate.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE3D,eAAO,MAAM,qBAAqB,QAAQ,CAAC;AAE3C,MAAM,MAAM,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;AAExD,MAAM,MAAM,SAAS,GAAG,CAAC,GAAG,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,WAAW,KAAK,MAAM,CAAC;AA6B5E,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,QAAQ,GAAG,SAAS,EAC9B,QAAQ,GAAE,QAAa,GACtB,SAAS,CAiBX;AAED,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAKvD"}
@@ -0,0 +1,43 @@
1
+ import { en } from "./messages/en";
2
+ const TRANSLATION_NAMESPACE = "seo";
3
+ function pluralRules(language) {
4
+ try {
5
+ return new Intl.PluralRules(language);
6
+ } catch {
7
+ return new Intl.PluralRules("en");
8
+ }
9
+ }
10
+ function interpolate(template, vars) {
11
+ if (!vars)
12
+ return template;
13
+ return template.replace(/\{\{\s*(\w+)\s*\}\}/gu, (match, name) => {
14
+ const value = vars[name];
15
+ return value === void 0 ? match : String(value);
16
+ });
17
+ }
18
+ function pluralFrom(messages, rules, key, count) {
19
+ if (!messages?.[`${key}_other`])
20
+ return void 0;
21
+ if (count === 0 && messages[`${key}_zero`])
22
+ return messages[`${key}_zero`];
23
+ return messages[`${key}_${rules.select(count)}`] ?? messages[`${key}_other`];
24
+ }
25
+ function createTranslator(language, messages, fallback = en) {
26
+ const rules = pluralRules(language);
27
+ const fallbackRules = pluralRules("en");
28
+ return (key, vars) => {
29
+ const count = vars?.count;
30
+ const template = (typeof count === "number" ? pluralFrom(messages, rules, key, count) ?? pluralFrom(fallback, fallbackRules, key, count) : void 0) ?? messages?.[key] ?? fallback[key] ?? key;
31
+ return interpolate(template, vars);
32
+ };
33
+ }
34
+ function normalizeMessageKey(key) {
35
+ const unprefixed = key.startsWith(`${TRANSLATION_NAMESPACE}:`) ? key.slice(TRANSLATION_NAMESPACE.length + 1) : key;
36
+ return unprefixed.replaceAll(":", ".");
37
+ }
38
+ export {
39
+ TRANSLATION_NAMESPACE,
40
+ createTranslator,
41
+ normalizeMessageKey
42
+ };
43
+ //# sourceMappingURL=translate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/translations/translate.ts"],"sourcesContent":["import { en } from \"./messages/en\";\nimport type { MessageVars, TranslationKey } from \"./types\";\n\nexport const TRANSLATION_NAMESPACE = \"seo\";\n\nexport type Messages = Readonly<Record<string, string>>;\n\nexport type Translate = (key: TranslationKey, vars?: MessageVars) => string;\n\nfunction pluralRules(language: string): Intl.PluralRules {\n try {\n return new Intl.PluralRules(language);\n } catch {\n return new Intl.PluralRules(\"en\");\n }\n}\n\nfunction interpolate(template: string, vars: MessageVars | undefined): string {\n if (!vars) return template;\n return template.replace(/\\{\\{\\s*(\\w+)\\s*\\}\\}/gu, (match, name: string) => {\n const value = vars[name];\n return value === undefined ? match : String(value);\n });\n}\n\nfunction pluralFrom(\n messages: Messages | undefined,\n rules: Intl.PluralRules,\n key: string,\n count: number\n): string | undefined {\n if (!messages?.[`${key}_other`]) return undefined;\n if (count === 0 && messages[`${key}_zero`]) return messages[`${key}_zero`];\n return messages[`${key}_${rules.select(count)}`] ?? messages[`${key}_other`];\n}\n\nexport function createTranslator(\n language: string,\n messages: Messages | undefined,\n fallback: Messages = en\n): Translate {\n const rules = pluralRules(language);\n const fallbackRules = pluralRules(\"en\");\n\n return (key, vars) => {\n const count = vars?.count;\n const template =\n (typeof count === \"number\"\n ? (pluralFrom(messages, rules, key, count) ??\n pluralFrom(fallback, fallbackRules, key, count))\n : undefined) ??\n messages?.[key] ??\n fallback[key] ??\n key;\n\n return interpolate(template, vars);\n };\n}\n\nexport function normalizeMessageKey(key: string): string {\n const unprefixed = key.startsWith(`${TRANSLATION_NAMESPACE}:`)\n ? key.slice(TRANSLATION_NAMESPACE.length + 1)\n : key;\n return unprefixed.replaceAll(\":\", \".\");\n}\n"],"mappings":"AAAA,SAAS,UAAU;AAGZ,MAAM,wBAAwB;AAMrC,SAAS,YAAY,UAAoC;AACvD,MAAI;AACF,WAAO,IAAI,KAAK,YAAY,QAAQ;AAAA,EACtC,QAAQ;AACN,WAAO,IAAI,KAAK,YAAY,IAAI;AAAA,EAClC;AACF;AAEA,SAAS,YAAY,UAAkB,MAAuC;AAC5E,MAAI,CAAC;AAAM,WAAO;AAClB,SAAO,SAAS,QAAQ,yBAAyB,CAAC,OAAO,SAAiB;AACxE,UAAM,QAAQ,KAAK,IAAI;AACvB,WAAO,UAAU,SAAY,QAAQ,OAAO,KAAK;AAAA,EACnD,CAAC;AACH;AAEA,SAAS,WACP,UACA,OACA,KACA,OACoB;AACpB,MAAI,CAAC,WAAW,GAAG,GAAG,QAAQ;AAAG,WAAO;AACxC,MAAI,UAAU,KAAK,SAAS,GAAG,GAAG,OAAO;AAAG,WAAO,SAAS,GAAG,GAAG,OAAO;AACzE,SAAO,SAAS,GAAG,GAAG,IAAI,MAAM,OAAO,KAAK,CAAC,EAAE,KAAK,SAAS,GAAG,GAAG,QAAQ;AAC7E;AAEO,SAAS,iBACd,UACA,UACA,WAAqB,IACV;AACX,QAAM,QAAQ,YAAY,QAAQ;AAClC,QAAM,gBAAgB,YAAY,IAAI;AAEtC,SAAO,CAAC,KAAK,SAAS;AACpB,UAAM,QAAQ,MAAM;AACpB,UAAM,YACH,OAAO,UAAU,WACb,WAAW,UAAU,OAAO,KAAK,KAAK,KACvC,WAAW,UAAU,eAAe,KAAK,KAAK,IAC9C,WACJ,WAAW,GAAG,KACd,SAAS,GAAG,KACZ;AAEF,WAAO,YAAY,UAAU,IAAI;AAAA,EACnC;AACF;AAEO,SAAS,oBAAoB,KAAqB;AACvD,QAAM,aAAa,IAAI,WAAW,GAAG,qBAAqB,GAAG,IACzD,IAAI,MAAM,sBAAsB,SAAS,CAAC,IAC1C;AACJ,SAAO,WAAW,WAAW,KAAK,GAAG;AACvC;","names":[]}
@@ -1,2 +1,18 @@
1
- export type Translations = Record<string, Record<string, string>>;
1
+ import type { en } from "./messages/en";
2
+ export type MessageId = keyof typeof en;
3
+ export type PluralSuffix = "_zero" | "_one" | "_two" | "_few" | "_many" | "_other";
4
+ type PluralForm<K> = K extends `${string}${PluralSuffix}` ? K : never;
5
+ type PluralBase<K> = K extends `${infer B}_other` ? B : never;
6
+ export type PluralKey = PluralBase<MessageId>;
7
+ export type TranslationKey = Exclude<MessageId, PluralForm<MessageId>> | PluralKey;
8
+ export type MessageKey = Exclude<MessageId, PluralForm<MessageId>> | `${PluralKey}${PluralSuffix}`;
9
+ export type LanguageMessages = Partial<Record<MessageKey, string>>;
10
+ type LegacyColonTabKey = "seo:tab:keyphrase" | "seo:tab:onpage" | "seo:tab:readability" | "seo:tab:inclusive" | "seo:tab:vitals" | "seo:tab:serp";
11
+ export type Translations = Record<string, Partial<Record<MessageKey | `seo:${MessageKey}` | LegacyColonTabKey, string>>>;
12
+ export type MessageVars = Record<string, string | number>;
13
+ export interface Message {
14
+ key: TranslationKey;
15
+ vars?: MessageVars;
16
+ }
17
+ export {};
2
18
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/translations/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/translations/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,eAAe,CAAC;AAExC,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,EAAE,CAAC;AAExC,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEnF,KAAK,UAAU,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,MAAM,GAAG,YAAY,EAAE,GAAG,CAAC,GAAG,KAAK,CAAC;AACtE,KAAK,UAAU,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,QAAQ,GAAG,CAAC,GAAG,KAAK,CAAC;AAE9D,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC;AAE9C,MAAM,MAAM,cAAc,GAAG,OAAO,CAAC,SAAS,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,GAAG,SAAS,CAAC;AAEnF,MAAM,MAAM,UAAU,GAAG,OAAO,CAAC,SAAS,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,GAAG,GAAG,SAAS,GAAG,YAAY,EAAE,CAAC;AAEnG,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC;AAEnE,KAAK,iBAAiB,GAClB,mBAAmB,GACnB,gBAAgB,GAChB,qBAAqB,GACrB,mBAAmB,GACnB,gBAAgB,GAChB,cAAc,CAAC;AAEnB,MAAM,MAAM,YAAY,GAAG,MAAM,CAC/B,MAAM,EACN,OAAO,CAAC,MAAM,CAAC,UAAU,GAAG,OAAO,UAAU,EAAE,GAAG,iBAAiB,EAAE,MAAM,CAAC,CAAC,CAC9E,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;AAE1D,MAAM,WAAW,OAAO;IACtB,GAAG,EAAE,cAAc,CAAC;IACpB,IAAI,CAAC,EAAE,WAAW,CAAC;CACpB"}
@@ -0,0 +1,6 @@
1
+ import type { Translate } from "./translate";
2
+ export declare function useSeoTranslation(): {
3
+ t: Translate;
4
+ language: string;
5
+ };
6
+ //# sourceMappingURL=useSeoTranslation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSeoTranslation.d.ts","sourceRoot":"","sources":["../../src/translations/useSeoTranslation.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAY,SAAS,EAAE,MAAM,aAAa,CAAC;AAEvD,wBAAgB,iBAAiB,IAAI;IAAE,CAAC,EAAE,SAAS,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAUtE"}
@@ -0,0 +1,15 @@
1
+ "use client";
2
+ import { useTranslation } from "@payloadcms/ui";
3
+ import { useMemo } from "react";
4
+ import { createTranslator, TRANSLATION_NAMESPACE } from "./translate";
5
+ function useSeoTranslation() {
6
+ const { i18n } = useTranslation();
7
+ const language = i18n?.language ?? "en";
8
+ const messages = i18n?.translations?.[TRANSLATION_NAMESPACE];
9
+ const t = useMemo(() => createTranslator(language, messages), [language, messages]);
10
+ return { t, language };
11
+ }
12
+ export {
13
+ useSeoTranslation
14
+ };
15
+ //# sourceMappingURL=useSeoTranslation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/translations/useSeoTranslation.ts"],"sourcesContent":["\"use client\";\n\nimport { useTranslation } from \"@payloadcms/ui\";\nimport { useMemo } from \"react\";\nimport { createTranslator, TRANSLATION_NAMESPACE } from \"./translate\";\nimport type { Messages, Translate } from \"./translate\";\n\nexport function useSeoTranslation(): { t: Translate; language: string } {\n const { i18n } = useTranslation();\n const language = i18n?.language ?? \"en\";\n const messages = (i18n?.translations as Record<string, unknown> | undefined)?.[\n TRANSLATION_NAMESPACE\n ] as Messages | undefined;\n\n const t = useMemo(() => createTranslator(language, messages), [language, messages]);\n\n return { t, language };\n}\n"],"mappings":";AAEA,SAAS,sBAAsB;AAC/B,SAAS,eAAe;AACxB,SAAS,kBAAkB,6BAA6B;AAGjD,SAAS,oBAAwD;AACtE,QAAM,EAAE,KAAK,IAAI,eAAe;AAChC,QAAM,WAAW,MAAM,YAAY;AACnC,QAAM,WAAY,MAAM,eACtB,qBACF;AAEA,QAAM,IAAI,QAAQ,MAAM,iBAAiB,UAAU,QAAQ,GAAG,CAAC,UAAU,QAAQ,CAAC;AAElF,SAAO,EAAE,GAAG,SAAS;AACvB;","names":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"DistributionBar.d.ts","sourceRoot":"","sources":["../../../../../src/ui/CheckRow/CheckVisualization/visualizations/DistributionBar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAEhF,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,EAAE,iBAAiB,2CAoB/D"}
1
+ {"version":3,"file":"DistributionBar.d.ts","sourceRoot":"","sources":["../../../../../src/ui/CheckRow/CheckVisualization/visualizations/DistributionBar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAGhF,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,EAAE,iBAAiB,2CAqB/D"}
@@ -1,6 +1,8 @@
1
1
  "use client";
2
2
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
+ import { useSeoTranslation } from "../../../../translations/useSeoTranslation";
3
4
  function DistributionBar({ positions }) {
5
+ const { t } = useSeoTranslation();
4
6
  return /* @__PURE__ */ jsxs(Fragment, { children: [
5
7
  /* @__PURE__ */ jsx("div", { className: "frseo-docbar frseo:relative frseo:h-[24px] frseo:rounded-rs frseo:border frseo:border-neutral-200", children: positions.map((p, i) => /* @__PURE__ */ jsx(
6
8
  "i",
@@ -11,9 +13,9 @@ function DistributionBar({ positions }) {
11
13
  `${p}-${i}`
12
14
  )) }),
13
15
  /* @__PURE__ */ jsxs("div", { className: "frseo:flex frseo:justify-between frseo:text-[10px] frseo:text-neutral-500 frseo:mt-[5px]", children: [
14
- /* @__PURE__ */ jsx("span", { children: "start" }),
15
- /* @__PURE__ */ jsx("span", { children: "middle" }),
16
- /* @__PURE__ */ jsx("span", { children: "end" })
16
+ /* @__PURE__ */ jsx("span", { children: t("viz.start") }),
17
+ /* @__PURE__ */ jsx("span", { children: t("viz.middle") }),
18
+ /* @__PURE__ */ jsx("span", { children: t("viz.end") })
17
19
  ] })
18
20
  ] });
19
21
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/ui/CheckRow/CheckVisualization/visualizations/DistributionBar.tsx"],"sourcesContent":["\"use client\";\n\nimport type { DistributionModel } from \"../../../../engine/types/visualization\";\n\nexport function DistributionBar({ positions }: DistributionModel) {\n return (\n <>\n <div className=\"frseo-docbar relative h-[24px] rounded-rs border border-neutral-200\">\n {positions.map((p, i) => (\n <i\n key={`${p}-${i}`}\n className=\"absolute top-[3px] bottom-[3px] w-[3px] rounded-[2px] bg-neutral-800\"\n style={{ left: `${p}%` }}\n />\n ))}\n </div>\n\n <div className=\"flex justify-between text-[10px] text-neutral-500 mt-[5px]\">\n <span>start</span>\n <span>middle</span>\n <span>end</span>\n </div>\n </>\n );\n}\n"],"mappings":";AAMI,mBAGM,KAQJ,YAXF;AAFG,SAAS,gBAAgB,EAAE,UAAU,GAAsB;AAChE,SACE,iCACE;AAAA,wBAAC,SAAI,WAAU,uEACZ,oBAAU,IAAI,CAAC,GAAG,MACjB;AAAA,MAAC;AAAA;AAAA,QAEC,WAAU;AAAA,QACV,OAAO,EAAE,MAAM,GAAG,CAAC,IAAI;AAAA;AAAA,MAFlB,GAAG,CAAC,IAAI,CAAC;AAAA,IAGhB,CACD,GACH;AAAA,IAEA,qBAAC,SAAI,WAAU,8DACb;AAAA,0BAAC,UAAK,mBAAK;AAAA,MACX,oBAAC,UAAK,oBAAM;AAAA,MACZ,oBAAC,UAAK,iBAAG;AAAA,OACX;AAAA,KACF;AAEJ;","names":[]}
1
+ {"version":3,"sources":["../../../../../src/ui/CheckRow/CheckVisualization/visualizations/DistributionBar.tsx"],"sourcesContent":["\"use client\";\n\nimport type { DistributionModel } from \"../../../../engine/types/visualization\";\nimport { useSeoTranslation } from \"../../../../translations/useSeoTranslation\";\n\nexport function DistributionBar({ positions }: DistributionModel) {\n const { t } = useSeoTranslation();\n return (\n <>\n <div className=\"frseo-docbar relative h-[24px] rounded-rs border border-neutral-200\">\n {positions.map((p, i) => (\n <i\n key={`${p}-${i}`}\n className=\"absolute top-[3px] bottom-[3px] w-[3px] rounded-[2px] bg-neutral-800\"\n style={{ left: `${p}%` }}\n />\n ))}\n </div>\n\n <div className=\"flex justify-between text-[10px] text-neutral-500 mt-[5px]\">\n <span>{t(\"viz.start\")}</span>\n <span>{t(\"viz.middle\")}</span>\n <span>{t(\"viz.end\")}</span>\n </div>\n </>\n );\n}\n"],"mappings":";AAQI,mBAGM,KAQJ,YAXF;AALJ,SAAS,yBAAyB;AAE3B,SAAS,gBAAgB,EAAE,UAAU,GAAsB;AAChE,QAAM,EAAE,EAAE,IAAI,kBAAkB;AAChC,SACE,iCACE;AAAA,wBAAC,SAAI,WAAU,uEACZ,oBAAU,IAAI,CAAC,GAAG,MACjB;AAAA,MAAC;AAAA;AAAA,QAEC,WAAU;AAAA,QACV,OAAO,EAAE,MAAM,GAAG,CAAC,IAAI;AAAA;AAAA,MAFlB,GAAG,CAAC,IAAI,CAAC;AAAA,IAGhB,CACD,GACH;AAAA,IAEA,qBAAC,SAAI,WAAU,8DACb;AAAA,0BAAC,UAAM,YAAE,WAAW,GAAE;AAAA,MACtB,oBAAC,UAAM,YAAE,YAAY,GAAE;AAAA,MACvB,oBAAC,UAAM,YAAE,SAAS,GAAE;AAAA,OACtB;AAAA,KACF;AAEJ;","names":[]}
@@ -1,3 +1,3 @@
1
1
  import type { DrilldownModel } from "../../../../engine/types/visualization";
2
- export declare function DrillDown({ items, label }: DrilldownModel): import("react/jsx-runtime").JSX.Element | null;
2
+ export declare function DrillDown({ items, noun }: DrilldownModel): import("react/jsx-runtime").JSX.Element | null;
3
3
  //# sourceMappingURL=DrillDown.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DrillDown.d.ts","sourceRoot":"","sources":["../../../../../src/ui/CheckRow/CheckVisualization/visualizations/DrillDown.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAE7E,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,cAAc,kDAoCzD"}
1
+ {"version":3,"file":"DrillDown.d.ts","sourceRoot":"","sources":["../../../../../src/ui/CheckRow/CheckVisualization/visualizations/DrillDown.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAG7E,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,cAAc,kDAqCxD"}