mapa-frontend-i18n 2.1.0 → 2.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.
package/index.d.ts CHANGED
@@ -155,6 +155,41 @@ interface MapaUiTextGroups {
155
155
  negativeDirectionLabel: string;
156
156
  positiveDirectionLabel: string;
157
157
  };
158
+ report: {
159
+ summarized: string;
160
+ detailed: string;
161
+ list: string;
162
+ chart: string;
163
+ viewModeLabel: string;
164
+ readingInformationTitle: string;
165
+ dimensionTitle: string;
166
+ conceptTitle: string;
167
+ classificationTitle: string;
168
+ resultReadingTitle: string;
169
+ resultTitle: string;
170
+ globalAverageTitle: string;
171
+ factorsTitle: string;
172
+ strongPointsTitle: string;
173
+ attentionPointsTitle: string;
174
+ vulnerabilitiesTitle: string;
175
+ positiveDirectionLabel: string;
176
+ negativeDirectionLabel: string;
177
+ lowerIntensityLabel: string;
178
+ higherIntensityLabel: string;
179
+ noClassification: string;
180
+ emptyState: string;
181
+ interpretationTitle: string;
182
+ detailedListLabel: string;
183
+ groupAverageTitle: string;
184
+ groupDistributionLabel: string;
185
+ overallPercentageTitle: string;
186
+ scaleConceptTitle: string;
187
+ psychosocialFactorsTitle: string;
188
+ editConclusionLabel: string;
189
+ meterLabel: (name: string, value: number) => string;
190
+ gaugeLabel: (name: string, value: number) => string;
191
+ itemCountLabel: (count: number) => string;
192
+ };
158
193
  paginator: {
159
194
  itemsPerPage: string;
160
195
  nextPage: string;
@@ -201,6 +236,8 @@ interface PaginatorIntlLike {
201
236
  };
202
237
  }
203
238
  type PaginatorIntlMode = "range" | "showingRange";
239
+ /** Counter badges ("3 itens"), reusing the paginator's item wording. */
240
+ declare function formatItemCount(count: number, language: AppLanguage): string;
204
241
  declare function formatPaginatorRange(page: number, pageSize: number, length: number, language: AppLanguage): string;
205
242
  declare function formatPaginatorShowingRange(page: number, pageSize: number, length: number, language: AppLanguage): string;
206
243
  declare function applyPaginatorIntl(paginatorIntl: PaginatorIntlLike, language: AppLanguage, config?: {
@@ -238,6 +275,41 @@ declare const MAPA_UI_TEXTS_PT_BR: {
238
275
  negativeDirectionLabel: string;
239
276
  positiveDirectionLabel: string;
240
277
  };
278
+ report: {
279
+ summarized: string;
280
+ detailed: string;
281
+ list: string;
282
+ chart: string;
283
+ viewModeLabel: string;
284
+ readingInformationTitle: string;
285
+ dimensionTitle: string;
286
+ conceptTitle: string;
287
+ classificationTitle: string;
288
+ resultReadingTitle: string;
289
+ resultTitle: string;
290
+ globalAverageTitle: string;
291
+ factorsTitle: string;
292
+ strongPointsTitle: string;
293
+ attentionPointsTitle: string;
294
+ vulnerabilitiesTitle: string;
295
+ positiveDirectionLabel: string;
296
+ negativeDirectionLabel: string;
297
+ lowerIntensityLabel: string;
298
+ higherIntensityLabel: string;
299
+ noClassification: string;
300
+ emptyState: string;
301
+ interpretationTitle: string;
302
+ detailedListLabel: string;
303
+ groupAverageTitle: string;
304
+ groupDistributionLabel: string;
305
+ overallPercentageTitle: string;
306
+ scaleConceptTitle: string;
307
+ psychosocialFactorsTitle: string;
308
+ editConclusionLabel: string;
309
+ meterLabel: (name: string, value: number) => string;
310
+ gaugeLabel: (name: string, value: number) => string;
311
+ itemCountLabel: (count: number) => string;
312
+ };
241
313
  paginator: {
242
314
  itemsPerPage: string;
243
315
  nextPage: string;
@@ -273,5 +345,5 @@ declare const MAPA_UI_TEXTS_PT_BR: {
273
345
  };
274
346
  declare function getMapaUiTexts(language: AppLanguage): PartialMapaUiTexts;
275
347
 
276
- export { ANGULAR_RUNTIME_TRANSLATIONS, APP_LANGUAGE_OPTIONS, APP_LANGUAGE_STORAGE_KEY, DEFAULT_APP_LANGUAGE, MAPA_UI_TEXTS_PT_BR, MA_TRANSLATIONS, MCA_TRANSLATIONS, MENU_TRANSLATIONS, MF_TRANSLATIONS, MGA_TRANSLATIONS, MGC_TRANSLATIONS, MO_TRANSLATIONS, MP_TRANSLATIONS, MV_TRANSLATIONS, applyDocumentLanguage, applyPaginatorIntl, formatPaginatorRange, formatPaginatorShowingRange, getAngularLocale, getAppLanguageOption, getIntlLocale, getMapaUiTexts, getPaginatorNavigationLabels, getStoredAppLanguage, initializeAppLanguage, initializeAppLanguageAsync, initializeAppLanguageFromData, isAppLanguage, loadRemoteTranslations, persistAppLanguage, readCachedTranslations, resolveAppLanguage };
348
+ export { ANGULAR_RUNTIME_TRANSLATIONS, APP_LANGUAGE_OPTIONS, APP_LANGUAGE_STORAGE_KEY, DEFAULT_APP_LANGUAGE, MAPA_UI_TEXTS_PT_BR, MA_TRANSLATIONS, MCA_TRANSLATIONS, MENU_TRANSLATIONS, MF_TRANSLATIONS, MGA_TRANSLATIONS, MGC_TRANSLATIONS, MO_TRANSLATIONS, MP_TRANSLATIONS, MV_TRANSLATIONS, applyDocumentLanguage, applyPaginatorIntl, formatItemCount, formatPaginatorRange, formatPaginatorShowingRange, getAngularLocale, getAppLanguageOption, getIntlLocale, getMapaUiTexts, getPaginatorNavigationLabels, getStoredAppLanguage, initializeAppLanguage, initializeAppLanguageAsync, initializeAppLanguageFromData, isAppLanguage, loadRemoteTranslations, persistAppLanguage, readCachedTranslations, resolveAppLanguage };
277
349
  export type { AppLanguage, AppLanguageOption, FlatTranslations, InitializeAppLanguageAsyncOptions, InitializeAppLanguageFromDataOptions, InitializeAppLanguageOptions, MapaUiTextGroups, PartialMapaUiTexts, RemoteTranslationOptions, ValidationContext, ValidationTextResolver };
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mapa-frontend-i18n",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "peerDependencies": {
5
5
  "@angular/localize": "~20.3.0"
6
6
  },
Binary file