mapa-frontend-i18n 2.0.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
|
@@ -132,6 +132,7 @@ type ValidationTextResolver = string | ((context?: ValidationContext) => string)
|
|
|
132
132
|
interface MapaUiTextGroups {
|
|
133
133
|
common: {
|
|
134
134
|
selectAll: string;
|
|
135
|
+
retry: string;
|
|
135
136
|
};
|
|
136
137
|
filters: {
|
|
137
138
|
clear: string;
|
|
@@ -154,6 +155,41 @@ interface MapaUiTextGroups {
|
|
|
154
155
|
negativeDirectionLabel: string;
|
|
155
156
|
positiveDirectionLabel: string;
|
|
156
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
|
+
};
|
|
157
193
|
paginator: {
|
|
158
194
|
itemsPerPage: string;
|
|
159
195
|
nextPage: string;
|
|
@@ -168,6 +204,12 @@ interface MapaUiTextGroups {
|
|
|
168
204
|
table: {
|
|
169
205
|
emptyTitle: string;
|
|
170
206
|
emptySubtitle: string;
|
|
207
|
+
loading: string;
|
|
208
|
+
errorTitle: string;
|
|
209
|
+
selectAllVisible: string;
|
|
210
|
+
selectionColumn: string;
|
|
211
|
+
selectRow: string;
|
|
212
|
+
selectNamedRow: (item: string) => string;
|
|
171
213
|
};
|
|
172
214
|
validation: {
|
|
173
215
|
cnpj: ValidationTextResolver;
|
|
@@ -194,6 +236,8 @@ interface PaginatorIntlLike {
|
|
|
194
236
|
};
|
|
195
237
|
}
|
|
196
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;
|
|
197
241
|
declare function formatPaginatorRange(page: number, pageSize: number, length: number, language: AppLanguage): string;
|
|
198
242
|
declare function formatPaginatorShowingRange(page: number, pageSize: number, length: number, language: AppLanguage): string;
|
|
199
243
|
declare function applyPaginatorIntl(paginatorIntl: PaginatorIntlLike, language: AppLanguage, config?: {
|
|
@@ -208,6 +252,7 @@ declare function getPaginatorNavigationLabels(language: AppLanguage): {
|
|
|
208
252
|
declare const MAPA_UI_TEXTS_PT_BR: {
|
|
209
253
|
common: {
|
|
210
254
|
selectAll: string;
|
|
255
|
+
retry: string;
|
|
211
256
|
};
|
|
212
257
|
filters: {
|
|
213
258
|
clear: string;
|
|
@@ -230,6 +275,41 @@ declare const MAPA_UI_TEXTS_PT_BR: {
|
|
|
230
275
|
negativeDirectionLabel: string;
|
|
231
276
|
positiveDirectionLabel: string;
|
|
232
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
|
+
};
|
|
233
313
|
paginator: {
|
|
234
314
|
itemsPerPage: string;
|
|
235
315
|
nextPage: string;
|
|
@@ -244,6 +324,12 @@ declare const MAPA_UI_TEXTS_PT_BR: {
|
|
|
244
324
|
table: {
|
|
245
325
|
emptyTitle: string;
|
|
246
326
|
emptySubtitle: string;
|
|
327
|
+
loading: string;
|
|
328
|
+
errorTitle: string;
|
|
329
|
+
selectAllVisible: string;
|
|
330
|
+
selectionColumn: string;
|
|
331
|
+
selectRow: string;
|
|
332
|
+
selectNamedRow: (item: string) => string;
|
|
247
333
|
};
|
|
248
334
|
validation: {
|
|
249
335
|
cnpj: string;
|
|
@@ -259,5 +345,5 @@ declare const MAPA_UI_TEXTS_PT_BR: {
|
|
|
259
345
|
};
|
|
260
346
|
declare function getMapaUiTexts(language: AppLanguage): PartialMapaUiTexts;
|
|
261
347
|
|
|
262
|
-
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 };
|
|
263
349
|
export type { AppLanguage, AppLanguageOption, FlatTranslations, InitializeAppLanguageAsyncOptions, InitializeAppLanguageFromDataOptions, InitializeAppLanguageOptions, MapaUiTextGroups, PartialMapaUiTexts, RemoteTranslationOptions, ValidationContext, ValidationTextResolver };
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|