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
|
@@ -3,7 +3,7 @@ import { CommonModule, NgClass, NgTemplateOutlet, DatePipe } from '@angular/comm
|
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { InjectionToken, inject, Injector, signal, Optional, Inject, Injectable, effect, EventEmitter, DestroyRef, Input, Output, Directive, SecurityContext, Pipe, Component, TemplateRef, contentChildren, ChangeDetectorRef, viewChild, afterEveryRender, ChangeDetectionStrategy } from '@angular/core';
|
|
5
5
|
import { toObservable, takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
6
|
-
import { getExportUiTexts, getStoredAppLanguage, getIntlLocale } from 'mapa-frontend-i18n';
|
|
6
|
+
import { MAPA_UI_TEXTS_PT_BR, getExportUiTexts, getStoredAppLanguage, getIntlLocale } from 'mapa-frontend-i18n';
|
|
7
7
|
import * as i1 from '@angular/material/paginator';
|
|
8
8
|
import { MatPaginatorIntl, MatPaginatorModule } from '@angular/material/paginator';
|
|
9
9
|
import * as i1$3 from '@angular/material/checkbox';
|
|
@@ -161,6 +161,14 @@ const DEFAULT_MAPA_UI_TEXTS = {
|
|
|
161
161
|
pattern: 'Formato inválido',
|
|
162
162
|
required: 'Campo obrigatório',
|
|
163
163
|
},
|
|
164
|
+
// Guia V5 components (21.x) use the pt-BR texts published by mapa-frontend-i18n.
|
|
165
|
+
wizardSteps: MAPA_UI_TEXTS_PT_BR.wizardSteps,
|
|
166
|
+
deadlineField: MAPA_UI_TEXTS_PT_BR.deadlineField,
|
|
167
|
+
welcomePreview: MAPA_UI_TEXTS_PT_BR.welcomePreview,
|
|
168
|
+
catalogOrder: MAPA_UI_TEXTS_PT_BR.catalogOrder,
|
|
169
|
+
palettePicker: MAPA_UI_TEXTS_PT_BR.palettePicker,
|
|
170
|
+
launchOptions: MAPA_UI_TEXTS_PT_BR.launchOptions,
|
|
171
|
+
fileDrop: MAPA_UI_TEXTS_PT_BR.fileDrop,
|
|
164
172
|
};
|
|
165
173
|
function getDefaultTexts() {
|
|
166
174
|
return DEFAULT_MAPA_UI_TEXTS;
|
|
@@ -178,6 +186,13 @@ function mergeMapaUiTexts(customTexts) {
|
|
|
178
186
|
warning: { ...defaults.warning, ...(customTexts?.warning ?? {}) },
|
|
179
187
|
table: { ...defaults.table, ...(customTexts?.table ?? {}) },
|
|
180
188
|
validation: { ...defaults.validation, ...(customTexts?.validation ?? {}) },
|
|
189
|
+
wizardSteps: { ...defaults.wizardSteps, ...(customTexts?.wizardSteps ?? {}) },
|
|
190
|
+
deadlineField: { ...defaults.deadlineField, ...(customTexts?.deadlineField ?? {}) },
|
|
191
|
+
welcomePreview: { ...defaults.welcomePreview, ...(customTexts?.welcomePreview ?? {}) },
|
|
192
|
+
catalogOrder: { ...defaults.catalogOrder, ...(customTexts?.catalogOrder ?? {}) },
|
|
193
|
+
palettePicker: { ...defaults.palettePicker, ...(customTexts?.palettePicker ?? {}) },
|
|
194
|
+
launchOptions: { ...defaults.launchOptions, ...(customTexts?.launchOptions ?? {}) },
|
|
195
|
+
fileDrop: { ...defaults.fileDrop, ...(customTexts?.fileDrop ?? {}) },
|
|
181
196
|
};
|
|
182
197
|
}
|
|
183
198
|
function provideMapaUiTexts(texts) {
|