mapa-frontend-i18n 2.8.0 → 2.9.1
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 +24 -0
- package/fesm2022/mapa-frontend-i18n.mjs +301 -1
- package/fesm2022/mapa-frontend-i18n.mjs.map +1 -1
- package/index.d.ts +151 -2
- package/mapa-frontend-i18n-2.9.1.tgz +0 -0
- package/package.json +1 -1
- package/mapa-frontend-i18n-2.8.0.tgz +0 -0
package/index.d.ts
CHANGED
|
@@ -122,6 +122,82 @@ interface InitializeAppLanguageFromDataOptions {
|
|
|
122
122
|
*/
|
|
123
123
|
declare function initializeAppLanguageFromData(language: AppLanguage, remote: FlatTranslations, options?: InitializeAppLanguageFromDataOptions): AppLanguage;
|
|
124
124
|
|
|
125
|
+
/** Only serializable strings: document labels can also be passed to workers. */
|
|
126
|
+
declare const EXPORT_UI_TEXTS_PT_BR: {
|
|
127
|
+
locale: string;
|
|
128
|
+
title: string;
|
|
129
|
+
description: string;
|
|
130
|
+
close: string;
|
|
131
|
+
scope: string;
|
|
132
|
+
allRecords: string;
|
|
133
|
+
selectedOnly: string;
|
|
134
|
+
record: string;
|
|
135
|
+
records: string;
|
|
136
|
+
selectedRecord: string;
|
|
137
|
+
selectedRecords: string;
|
|
138
|
+
content: string;
|
|
139
|
+
format: string;
|
|
140
|
+
excel: string;
|
|
141
|
+
csv: string;
|
|
142
|
+
excelDescription: string;
|
|
143
|
+
csvDescription: string;
|
|
144
|
+
visibleOnly: string;
|
|
145
|
+
cancel: string;
|
|
146
|
+
generate: string;
|
|
147
|
+
exports: string;
|
|
148
|
+
remove: string;
|
|
149
|
+
download: string;
|
|
150
|
+
downloadFile: string;
|
|
151
|
+
queued: string;
|
|
152
|
+
fetching: string;
|
|
153
|
+
building: string;
|
|
154
|
+
serializing: string;
|
|
155
|
+
part: string;
|
|
156
|
+
background: string;
|
|
157
|
+
ready: string;
|
|
158
|
+
file: string;
|
|
159
|
+
files: string;
|
|
160
|
+
retry: string;
|
|
161
|
+
cancelled: string;
|
|
162
|
+
errorStart: string;
|
|
163
|
+
errorExport: string;
|
|
164
|
+
sheetContext: string;
|
|
165
|
+
sheetFilters: string;
|
|
166
|
+
sheetNoFilters: string;
|
|
167
|
+
sheetTotal: string;
|
|
168
|
+
sheetFooter: string;
|
|
169
|
+
errorEngine: string;
|
|
170
|
+
errorDate: string;
|
|
171
|
+
errorCellLength: string;
|
|
172
|
+
errorCellValue: string;
|
|
173
|
+
errorColumns: string;
|
|
174
|
+
errorColumnLimit: string;
|
|
175
|
+
errorMetadata: string;
|
|
176
|
+
errorHeight: string;
|
|
177
|
+
errorRowLimit: string;
|
|
178
|
+
errorColumnKey: string;
|
|
179
|
+
errorWidth: string;
|
|
180
|
+
errorSheets: string;
|
|
181
|
+
errorDecimals: string;
|
|
182
|
+
errorCriteria: string;
|
|
183
|
+
errorColor: string;
|
|
184
|
+
errorStyle: string;
|
|
185
|
+
errorBorder: string;
|
|
186
|
+
errorAutoWidth: string;
|
|
187
|
+
errorRowCount: string;
|
|
188
|
+
errorDataChanged: string;
|
|
189
|
+
errorDuplicate: string;
|
|
190
|
+
errorIncomplete: string;
|
|
191
|
+
errorWorker: string;
|
|
192
|
+
errorSelection: string;
|
|
193
|
+
errorNoColumns: string;
|
|
194
|
+
errorWorkerResponse: string;
|
|
195
|
+
errorWorkerFailure: string;
|
|
196
|
+
errorWorkerReceive: string;
|
|
197
|
+
};
|
|
198
|
+
type ExportUiTexts = typeof EXPORT_UI_TEXTS_PT_BR;
|
|
199
|
+
declare function getExportUiTexts(language: AppLanguage): ExportUiTexts;
|
|
200
|
+
|
|
125
201
|
interface ValidationContext {
|
|
126
202
|
actualLength?: number;
|
|
127
203
|
max?: string | number;
|
|
@@ -130,6 +206,7 @@ interface ValidationContext {
|
|
|
130
206
|
}
|
|
131
207
|
type ValidationTextResolver = string | ((context?: ValidationContext) => string);
|
|
132
208
|
interface MapaUiTextGroups {
|
|
209
|
+
export: ExportUiTexts;
|
|
133
210
|
common: {
|
|
134
211
|
selectAll: string;
|
|
135
212
|
retry: string;
|
|
@@ -273,6 +350,78 @@ declare function getPaginatorNavigationLabels(language: AppLanguage): {
|
|
|
273
350
|
goToPageLabel: (page: number) => string;
|
|
274
351
|
};
|
|
275
352
|
declare const MAPA_UI_TEXTS_PT_BR: {
|
|
353
|
+
export: {
|
|
354
|
+
locale: string;
|
|
355
|
+
title: string;
|
|
356
|
+
description: string;
|
|
357
|
+
close: string;
|
|
358
|
+
scope: string;
|
|
359
|
+
allRecords: string;
|
|
360
|
+
selectedOnly: string;
|
|
361
|
+
record: string;
|
|
362
|
+
records: string;
|
|
363
|
+
selectedRecord: string;
|
|
364
|
+
selectedRecords: string;
|
|
365
|
+
content: string;
|
|
366
|
+
format: string;
|
|
367
|
+
excel: string;
|
|
368
|
+
csv: string;
|
|
369
|
+
excelDescription: string;
|
|
370
|
+
csvDescription: string;
|
|
371
|
+
visibleOnly: string;
|
|
372
|
+
cancel: string;
|
|
373
|
+
generate: string;
|
|
374
|
+
exports: string;
|
|
375
|
+
remove: string;
|
|
376
|
+
download: string;
|
|
377
|
+
downloadFile: string;
|
|
378
|
+
queued: string;
|
|
379
|
+
fetching: string;
|
|
380
|
+
building: string;
|
|
381
|
+
serializing: string;
|
|
382
|
+
part: string;
|
|
383
|
+
background: string;
|
|
384
|
+
ready: string;
|
|
385
|
+
file: string;
|
|
386
|
+
files: string;
|
|
387
|
+
retry: string;
|
|
388
|
+
cancelled: string;
|
|
389
|
+
errorStart: string;
|
|
390
|
+
errorExport: string;
|
|
391
|
+
sheetContext: string;
|
|
392
|
+
sheetFilters: string;
|
|
393
|
+
sheetNoFilters: string;
|
|
394
|
+
sheetTotal: string;
|
|
395
|
+
sheetFooter: string;
|
|
396
|
+
errorEngine: string;
|
|
397
|
+
errorDate: string;
|
|
398
|
+
errorCellLength: string;
|
|
399
|
+
errorCellValue: string;
|
|
400
|
+
errorColumns: string;
|
|
401
|
+
errorColumnLimit: string;
|
|
402
|
+
errorMetadata: string;
|
|
403
|
+
errorHeight: string;
|
|
404
|
+
errorRowLimit: string;
|
|
405
|
+
errorColumnKey: string;
|
|
406
|
+
errorWidth: string;
|
|
407
|
+
errorSheets: string;
|
|
408
|
+
errorDecimals: string;
|
|
409
|
+
errorCriteria: string;
|
|
410
|
+
errorColor: string;
|
|
411
|
+
errorStyle: string;
|
|
412
|
+
errorBorder: string;
|
|
413
|
+
errorAutoWidth: string;
|
|
414
|
+
errorRowCount: string;
|
|
415
|
+
errorDataChanged: string;
|
|
416
|
+
errorDuplicate: string;
|
|
417
|
+
errorIncomplete: string;
|
|
418
|
+
errorWorker: string;
|
|
419
|
+
errorSelection: string;
|
|
420
|
+
errorNoColumns: string;
|
|
421
|
+
errorWorkerResponse: string;
|
|
422
|
+
errorWorkerFailure: string;
|
|
423
|
+
errorWorkerReceive: string;
|
|
424
|
+
};
|
|
276
425
|
common: {
|
|
277
426
|
selectAll: string;
|
|
278
427
|
retry: string;
|
|
@@ -391,5 +540,5 @@ declare const MAPA_UI_TEXTS_PT_BR: {
|
|
|
391
540
|
};
|
|
392
541
|
declare function getMapaUiTexts(language: AppLanguage): PartialMapaUiTexts;
|
|
393
542
|
|
|
394
|
-
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 };
|
|
395
|
-
export type { AppLanguage, AppLanguageOption, FlatTranslations, InitializeAppLanguageAsyncOptions, InitializeAppLanguageFromDataOptions, InitializeAppLanguageOptions, MapaUiTextGroups, PartialMapaUiTexts, RemoteTranslationOptions, ValidationContext, ValidationTextResolver };
|
|
543
|
+
export { ANGULAR_RUNTIME_TRANSLATIONS, APP_LANGUAGE_OPTIONS, APP_LANGUAGE_STORAGE_KEY, DEFAULT_APP_LANGUAGE, EXPORT_UI_TEXTS_PT_BR, 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, getExportUiTexts, getIntlLocale, getMapaUiTexts, getPaginatorNavigationLabels, getStoredAppLanguage, initializeAppLanguage, initializeAppLanguageAsync, initializeAppLanguageFromData, isAppLanguage, loadRemoteTranslations, persistAppLanguage, readCachedTranslations, resolveAppLanguage };
|
|
544
|
+
export type { AppLanguage, AppLanguageOption, ExportUiTexts, FlatTranslations, InitializeAppLanguageAsyncOptions, InitializeAppLanguageFromDataOptions, InitializeAppLanguageOptions, MapaUiTextGroups, PartialMapaUiTexts, RemoteTranslationOptions, ValidationContext, ValidationTextResolver };
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|