mapa-library-ui 2.13.1 → 2.13.3
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/TABLE_EXPORT.md +147 -2
- package/fesm2022/mapa-library-ui-src-lib-components-capability.mjs +3 -0
- package/fesm2022/mapa-library-ui-src-lib-components-capability.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-chart.mjs +3 -0
- package/fesm2022/mapa-library-ui-src-lib-components-chart.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-datepicker.mjs +3 -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 +3 -0
- package/fesm2022/mapa-library-ui-src-lib-components-dropdown-tree.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-dropdown.mjs +3 -0
- package/fesm2022/mapa-library-ui-src-lib-components-dropdown.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-filters.mjs +3 -0
- package/fesm2022/mapa-library-ui-src-lib-components-filters.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-form.mjs +3 -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 +3 -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 +3 -0
- package/fesm2022/mapa-library-ui-src-lib-components-input.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-scale-parameterization.mjs +3 -0
- package/fesm2022/mapa-library-ui-src-lib-components-scale-parameterization.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-scale.mjs +3 -0
- package/fesm2022/mapa-library-ui-src-lib-components-scale.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-table.mjs +3 -1
- package/fesm2022/mapa-library-ui-src-lib-components-table.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-textarea.mjs +3 -0
- package/fesm2022/mapa-library-ui-src-lib-components-textarea.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-components-warning.mjs +3 -0
- package/fesm2022/mapa-library-ui-src-lib-components-warning.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-core-excel-export.mjs +242 -39
- package/fesm2022/mapa-library-ui-src-lib-core-excel-export.mjs.map +1 -1
- package/fesm2022/mapa-library-ui-src-lib-core-export.mjs +107 -26
- package/fesm2022/mapa-library-ui-src-lib-core-export.mjs.map +1 -1
- package/fesm2022/mapa-library-ui.mjs +3 -1
- package/fesm2022/mapa-library-ui.mjs.map +1 -1
- package/index.d.ts +72 -0
- package/mapa-library-ui-2.13.3.tgz +0 -0
- package/package.json +2 -2
- package/src/lib/core/excel-export/index.d.ts +86 -4
- package/src/lib/core/export/index.d.ts +215 -3
- package/worker/excel-export.runtime.d.ts +2 -2
- package/worker/excel-export.runtime.js +23 -23
- package/worker/excel-export.worker.js +23 -23
- package/mapa-library-ui-2.13.1.tgz +0 -0
|
@@ -3,6 +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
7
|
import * as i1 from '@angular/material/paginator';
|
|
7
8
|
import { MatPaginatorIntl, MatPaginatorModule } from '@angular/material/paginator';
|
|
8
9
|
import * as i1$3 from '@angular/material/checkbox';
|
|
@@ -14,7 +15,6 @@ import { MatMenuModule } from '@angular/material/menu';
|
|
|
14
15
|
import { RouterLink } from '@angular/router';
|
|
15
16
|
import { map, startWith } from 'rxjs/operators';
|
|
16
17
|
import * as i1$1 from '@angular/platform-browser';
|
|
17
|
-
import { getStoredAppLanguage, getIntlLocale } from 'mapa-frontend-i18n';
|
|
18
18
|
import * as i1$2 from '@angular/common/http';
|
|
19
19
|
|
|
20
20
|
const MAPA_UI_TEXTS = new InjectionToken('MAPA_UI_TEXTS');
|
|
@@ -45,6 +45,7 @@ function formatItemCount(count) {
|
|
|
45
45
|
return `${count} ${count === 1 ? 'item' : 'itens'}`;
|
|
46
46
|
}
|
|
47
47
|
const DEFAULT_MAPA_UI_TEXTS = {
|
|
48
|
+
export: getExportUiTexts('pt-BR'),
|
|
48
49
|
common: {
|
|
49
50
|
selectAll: 'Selecionar todos',
|
|
50
51
|
retry: 'Tentar novamente',
|
|
@@ -167,6 +168,7 @@ function getDefaultTexts() {
|
|
|
167
168
|
function mergeMapaUiTexts(customTexts) {
|
|
168
169
|
const defaults = getDefaultTexts();
|
|
169
170
|
return {
|
|
171
|
+
export: { ...defaults.export, ...(customTexts?.export ?? {}) },
|
|
170
172
|
common: { ...defaults.common, ...(customTexts?.common ?? {}) },
|
|
171
173
|
filters: { ...defaults.filters, ...(customTexts?.filters ?? {}) },
|
|
172
174
|
datepicker: { ...defaults.datepicker, ...(customTexts?.datepicker ?? {}) },
|