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/README.md CHANGED
@@ -248,8 +248,9 @@ import {
248
248
  ```
249
249
 
250
250
  `getMapaUiTexts(language)` retorna textos de UI reutilizáveis (filtros, tabela,
251
- validações). Alguns valores são **funções** (paginador e validações com
252
- interpolação) e permanecem no código da lib — não são externalizados para JSON.
251
+ validações, widgets de relatório). Alguns valores são **funções** (paginador,
252
+ validações e contadores com interpolação) e permanecem no código da lib — não
253
+ são externalizados para JSON.
253
254
 
254
255
  ---
255
256
 
@@ -15757,6 +15757,10 @@ function getItemLabel(length, language) {
15757
15757
  const copy = getPaginatorCopy(language);
15758
15758
  return length === 1 ? copy.singularItem : copy.pluralItem;
15759
15759
  }
15760
+ /** Counter badges ("3 itens"), reusing the paginator's item wording. */
15761
+ function formatItemCount(count, language) {
15762
+ return `${count} ${getItemLabel(count, language)}`;
15763
+ }
15760
15764
  function formatPaginatorRange(page, pageSize, length, language) {
15761
15765
  const copy = getPaginatorCopy(language);
15762
15766
  if (length === 0 || pageSize === 0) {
@@ -15830,6 +15834,41 @@ const MAPA_UI_TEXTS_PT_BR = {
15830
15834
  negativeDirectionLabel: "Direção Negativa |",
15831
15835
  positiveDirectionLabel: "Direção Positiva |",
15832
15836
  },
15837
+ report: {
15838
+ summarized: "Resumida",
15839
+ detailed: "Detalhada",
15840
+ list: "Lista",
15841
+ chart: "Gráfico",
15842
+ viewModeLabel: "Modo de visualização",
15843
+ readingInformationTitle: "Informações de leitura",
15844
+ dimensionTitle: "Dimensão",
15845
+ conceptTitle: "Conceito",
15846
+ classificationTitle: "Classificação",
15847
+ resultReadingTitle: "Leitura do resultado",
15848
+ resultTitle: "Resultado",
15849
+ globalAverageTitle: "Média global",
15850
+ factorsTitle: "Fatores relativos à organização e ao trabalho",
15851
+ strongPointsTitle: "Pontos fortes",
15852
+ attentionPointsTitle: "Pontos de atenção",
15853
+ vulnerabilitiesTitle: "Vulnerabilidades socioemocionais",
15854
+ positiveDirectionLabel: "Direção positiva",
15855
+ negativeDirectionLabel: "Direção negativa",
15856
+ lowerIntensityLabel: "Menos intensamente",
15857
+ higherIntensityLabel: "Mais intensamente",
15858
+ noClassification: "Sem classificação",
15859
+ emptyState: "Não há resultados disponíveis para esta seção.",
15860
+ interpretationTitle: "Interpretação",
15861
+ detailedListLabel: "Lista detalhada",
15862
+ groupAverageTitle: "Média geral do grupo",
15863
+ groupDistributionLabel: "Distribuição do grupo",
15864
+ overallPercentageTitle: "% Geral",
15865
+ scaleConceptTitle: "Conceito da escala",
15866
+ psychosocialFactorsTitle: "Fatores psicossociais",
15867
+ editConclusionLabel: "Editar conclusão",
15868
+ meterLabel: (name, value) => `${name}: ${value}%`,
15869
+ gaugeLabel: (name, value) => `${name}: ${value}%`,
15870
+ itemCountLabel: (count) => formatItemCount(count, "pt-BR"),
15871
+ },
15833
15872
  paginator: {
15834
15873
  itemsPerPage: "Itens por página",
15835
15874
  nextPage: "Próxima página",
@@ -15889,6 +15928,41 @@ const MAPA_UI_TEXTS_ES = {
15889
15928
  negativeDirectionLabel: "Dirección negativa |",
15890
15929
  positiveDirectionLabel: "Dirección positiva |",
15891
15930
  },
15931
+ report: {
15932
+ summarized: "Resumida",
15933
+ detailed: "Detallada",
15934
+ list: "Lista",
15935
+ chart: "Gráfico",
15936
+ viewModeLabel: "Modo de visualización",
15937
+ readingInformationTitle: "Información de lectura",
15938
+ dimensionTitle: "Dimensión",
15939
+ conceptTitle: "Concepto",
15940
+ classificationTitle: "Clasificación",
15941
+ resultReadingTitle: "Lectura del resultado",
15942
+ resultTitle: "Resultado",
15943
+ globalAverageTitle: "Promedio global",
15944
+ factorsTitle: "Factores relacionados con la organización y el trabajo",
15945
+ strongPointsTitle: "Puntos fuertes",
15946
+ attentionPointsTitle: "Puntos de atención",
15947
+ vulnerabilitiesTitle: "Vulnerabilidades socioemocionales",
15948
+ positiveDirectionLabel: "Dirección positiva",
15949
+ negativeDirectionLabel: "Dirección negativa",
15950
+ lowerIntensityLabel: "Menos intensamente",
15951
+ higherIntensityLabel: "Más intensamente",
15952
+ noClassification: "Sin clasificación",
15953
+ emptyState: "No hay resultados disponibles para esta sección.",
15954
+ interpretationTitle: "Interpretación",
15955
+ detailedListLabel: "Lista detallada",
15956
+ groupAverageTitle: "Promedio general del grupo",
15957
+ groupDistributionLabel: "Distribución del grupo",
15958
+ overallPercentageTitle: "% General",
15959
+ scaleConceptTitle: "Concepto de la escala",
15960
+ psychosocialFactorsTitle: "Factores psicosociales",
15961
+ editConclusionLabel: "Editar conclusión",
15962
+ meterLabel: (name, value) => `${name}: ${value}%`,
15963
+ gaugeLabel: (name, value) => `${name}: ${value}%`,
15964
+ itemCountLabel: (count) => formatItemCount(count, "es"),
15965
+ },
15892
15966
  paginator: {
15893
15967
  itemsPerPage: "Elementos por página",
15894
15968
  nextPage: "Página siguiente",
@@ -15948,6 +16022,41 @@ const MAPA_UI_TEXTS_EN = {
15948
16022
  negativeDirectionLabel: "Negative direction |",
15949
16023
  positiveDirectionLabel: "Positive direction |",
15950
16024
  },
16025
+ report: {
16026
+ summarized: "Summary",
16027
+ detailed: "Detailed",
16028
+ list: "List",
16029
+ chart: "Chart",
16030
+ viewModeLabel: "View mode",
16031
+ readingInformationTitle: "Reading information",
16032
+ dimensionTitle: "Dimension",
16033
+ conceptTitle: "Concept",
16034
+ classificationTitle: "Classification",
16035
+ resultReadingTitle: "Result interpretation",
16036
+ resultTitle: "Result",
16037
+ globalAverageTitle: "Overall average",
16038
+ factorsTitle: "Organization and work factors",
16039
+ strongPointsTitle: "Strengths",
16040
+ attentionPointsTitle: "Attention points",
16041
+ vulnerabilitiesTitle: "Socioemotional vulnerabilities",
16042
+ positiveDirectionLabel: "Positive direction",
16043
+ negativeDirectionLabel: "Negative direction",
16044
+ lowerIntensityLabel: "Less intensely",
16045
+ higherIntensityLabel: "More intensely",
16046
+ noClassification: "No classification",
16047
+ emptyState: "No results are available for this section.",
16048
+ interpretationTitle: "Interpretation",
16049
+ detailedListLabel: "Detailed list",
16050
+ groupAverageTitle: "Group overall average",
16051
+ groupDistributionLabel: "Group distribution",
16052
+ overallPercentageTitle: "% Overall",
16053
+ scaleConceptTitle: "Scale concept",
16054
+ psychosocialFactorsTitle: "Psychosocial factors",
16055
+ editConclusionLabel: "Edit conclusion",
16056
+ meterLabel: (name, value) => `${name}: ${value}%`,
16057
+ gaugeLabel: (name, value) => `${name}: ${value}%`,
16058
+ itemCountLabel: (count) => formatItemCount(count, "en"),
16059
+ },
15951
16060
  paginator: {
15952
16061
  itemsPerPage: "Items per page",
15953
16062
  nextPage: "Next page",
@@ -15996,5 +16105,5 @@ function getMapaUiTexts(language) {
15996
16105
  * Generated bundle index. Do not edit.
15997
16106
  */
15998
16107
 
15999
- 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 };
16108
+ 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 };
16000
16109
  //# sourceMappingURL=mapa-frontend-i18n.mjs.map