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