mapa-library-ui 2.13.3 → 2.14.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/docs/GUIDE_V5_COMPONENTS.md +73 -0
- package/fesm2022/mapa-library-ui-src-lib-components-capability.mjs +16 -1
- package/fesm2022/mapa-library-ui-src-lib-components-capability.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-chart.mjs +16 -1
- package/fesm2022/mapa-library-ui-src-lib-components-chart.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-datepicker.mjs +16 -1
- package/fesm2022/mapa-library-ui-src-lib-components-datepicker.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-dropdown-tree.mjs +16 -1
- package/fesm2022/mapa-library-ui-src-lib-components-dropdown-tree.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-dropdown.mjs +16 -1
- package/fesm2022/mapa-library-ui-src-lib-components-dropdown.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-filters.mjs +16 -1
- package/fesm2022/mapa-library-ui-src-lib-components-filters.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-form.mjs +16 -1
- package/fesm2022/mapa-library-ui-src-lib-components-form.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-group-report.mjs +16 -1
- package/fesm2022/mapa-library-ui-src-lib-components-group-report.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-input.mjs +16 -1
- package/fesm2022/mapa-library-ui-src-lib-components-input.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-scale-parameterization.mjs +16 -1
- package/fesm2022/mapa-library-ui-src-lib-components-scale-parameterization.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-scale.mjs +16 -1
- package/fesm2022/mapa-library-ui-src-lib-components-scale.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-table.mjs +16 -1
- package/fesm2022/mapa-library-ui-src-lib-components-table.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-textarea.mjs +16 -1
- package/fesm2022/mapa-library-ui-src-lib-components-textarea.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-warning.mjs +16 -1
- package/fesm2022/mapa-library-ui-src-lib-components-warning.mjs.map +1 -1
- package/fesm2022/mapa-library-ui.mjs +905 -4
- package/fesm2022/mapa-library-ui.mjs.map +1 -1
- package/index.d.ts +785 -345
- package/mapa-library-ui-2.14.1.tgz +0 -0
- package/package.json +38 -2
- package/mapa-library-ui-2.13.3.tgz +0 -0
|
@@ -14,7 +14,7 @@ import * as i3 from '@angular/material/menu';
|
|
|
14
14
|
import { MatMenuModule } from '@angular/material/menu';
|
|
15
15
|
import { RouterLink } from '@angular/router';
|
|
16
16
|
import * as i1$1 from '@angular/platform-browser';
|
|
17
|
-
import { getExportUiTexts, getStoredAppLanguage, getIntlLocale } from 'mapa-frontend-i18n';
|
|
17
|
+
import { MAPA_UI_TEXTS_PT_BR, getExportUiTexts, getStoredAppLanguage, getIntlLocale } from 'mapa-frontend-i18n';
|
|
18
18
|
import * as i1$2 from '@angular/common/http';
|
|
19
19
|
|
|
20
20
|
class BubblePaginationDirective {
|
|
@@ -465,6 +465,14 @@ const DEFAULT_MAPA_UI_TEXTS = {
|
|
|
465
465
|
pattern: 'Formato inválido',
|
|
466
466
|
required: 'Campo obrigatório',
|
|
467
467
|
},
|
|
468
|
+
// Guia V5 components (21.x) use the pt-BR texts published by mapa-frontend-i18n.
|
|
469
|
+
wizardSteps: MAPA_UI_TEXTS_PT_BR.wizardSteps,
|
|
470
|
+
deadlineField: MAPA_UI_TEXTS_PT_BR.deadlineField,
|
|
471
|
+
welcomePreview: MAPA_UI_TEXTS_PT_BR.welcomePreview,
|
|
472
|
+
catalogOrder: MAPA_UI_TEXTS_PT_BR.catalogOrder,
|
|
473
|
+
palettePicker: MAPA_UI_TEXTS_PT_BR.palettePicker,
|
|
474
|
+
launchOptions: MAPA_UI_TEXTS_PT_BR.launchOptions,
|
|
475
|
+
fileDrop: MAPA_UI_TEXTS_PT_BR.fileDrop,
|
|
468
476
|
};
|
|
469
477
|
function getDefaultTexts() {
|
|
470
478
|
return DEFAULT_MAPA_UI_TEXTS;
|
|
@@ -482,6 +490,13 @@ function mergeMapaUiTexts(customTexts) {
|
|
|
482
490
|
warning: { ...defaults.warning, ...(customTexts?.warning ?? {}) },
|
|
483
491
|
table: { ...defaults.table, ...(customTexts?.table ?? {}) },
|
|
484
492
|
validation: { ...defaults.validation, ...(customTexts?.validation ?? {}) },
|
|
493
|
+
wizardSteps: { ...defaults.wizardSteps, ...(customTexts?.wizardSteps ?? {}) },
|
|
494
|
+
deadlineField: { ...defaults.deadlineField, ...(customTexts?.deadlineField ?? {}) },
|
|
495
|
+
welcomePreview: { ...defaults.welcomePreview, ...(customTexts?.welcomePreview ?? {}) },
|
|
496
|
+
catalogOrder: { ...defaults.catalogOrder, ...(customTexts?.catalogOrder ?? {}) },
|
|
497
|
+
palettePicker: { ...defaults.palettePicker, ...(customTexts?.palettePicker ?? {}) },
|
|
498
|
+
launchOptions: { ...defaults.launchOptions, ...(customTexts?.launchOptions ?? {}) },
|
|
499
|
+
fileDrop: { ...defaults.fileDrop, ...(customTexts?.fileDrop ?? {}) },
|
|
485
500
|
};
|
|
486
501
|
}
|
|
487
502
|
function provideMapaUiTexts(texts) {
|