@esfaenza/es-table 12.2.26 → 13.1.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/esfaenza-es-table.d.ts +1 -7
- package/esm2020/esfaenza-es-table.mjs +5 -0
- package/esm2020/lib/components/es-table/es_table.component.loc.mjs +41 -0
- package/esm2020/lib/components/es-table/es_table.component.mjs +1396 -0
- package/esm2020/lib/components/es-td/es_td.component.mjs +106 -0
- package/esm2020/lib/components/es-th/es_th.component.mjs +176 -0
- package/esm2020/lib/components/pager/table_pager.component.loc.mjs +27 -0
- package/esm2020/lib/components/pager/table_pager.component.mjs +118 -0
- package/esm2020/lib/core/handlers/classes/ColumnMetadataHandler.mjs +719 -0
- package/{esm2015/lib/core/handlers/classes/DynamicModeHandler.js → esm2020/lib/core/handlers/classes/DynamicModeHandler.mjs} +0 -0
- package/esm2020/lib/core/handlers/classes/ExportHandler.mjs +103 -0
- package/{esm2015/lib/core/handlers/classes/HierarchyModeHandler.js → esm2020/lib/core/handlers/classes/HierarchyModeHandler.mjs} +0 -0
- package/esm2020/lib/core/handlers/classes/ItemsHandler.mjs +129 -0
- package/{esm2015/lib/core/handlers/classes/ReportModeHandler.js → esm2020/lib/core/handlers/classes/ReportModeHandler.mjs} +0 -0
- package/esm2020/lib/core/handlers/classes/RowGroupingHandler.mjs +474 -0
- package/esm2020/lib/core/handlers/classes/SelectionHandler.mjs +525 -0
- package/esm2020/lib/core/handlers/classes/UtilitiesHandler.mjs +166 -0
- package/{esm2015/lib/core/handlers/index.js → esm2020/lib/core/handlers/index.mjs} +0 -0
- package/esm2020/lib/directives/es_td.directive.mjs +32 -0
- package/esm2020/lib/directives/es_th.directive.mjs +84 -0
- package/{esm2015/lib/domain/configuration/EsTableDefaultable.js → esm2020/lib/domain/configuration/EsTableDefaultable.mjs} +0 -0
- package/{esm2015/lib/domain/configuration/EsTableModuleConfig.js → esm2020/lib/domain/configuration/EsTableModuleConfig.mjs} +0 -0
- package/{esm2015/lib/domain/externals/classes/CornerMenuOption.js → esm2020/lib/domain/externals/classes/CornerMenuOption.mjs} +0 -0
- package/{esm2015/lib/domain/externals/classes/EsTableColumnsDefinition.js → esm2020/lib/domain/externals/classes/EsTableColumnsDefinition.mjs} +0 -0
- package/{esm2015/lib/domain/externals/classes/EsTableOperationDefinition.js → esm2020/lib/domain/externals/classes/EsTableOperationDefinition.mjs} +0 -0
- package/{esm2015/lib/domain/externals/classes/appsearch/AppOrdering.js → esm2020/lib/domain/externals/classes/appsearch/AppOrdering.mjs} +0 -0
- package/{esm2015/lib/domain/externals/classes/appsearch/AppSearch.js → esm2020/lib/domain/externals/classes/appsearch/AppSearch.mjs} +0 -0
- package/{esm2015/lib/domain/externals/classes/appsearch/GenericItem.js → esm2020/lib/domain/externals/classes/appsearch/GenericItem.mjs} +0 -0
- package/{esm2015/lib/domain/externals/classes/appsearch/Group.js → esm2020/lib/domain/externals/classes/appsearch/Group.mjs} +0 -0
- package/{esm2015/lib/domain/externals/classes/appsearch/GroupAggregation.js → esm2020/lib/domain/externals/classes/appsearch/GroupAggregation.mjs} +0 -0
- package/{esm2015/lib/domain/externals/classes/appsearch/GroupFilter.js → esm2020/lib/domain/externals/classes/appsearch/GroupFilter.mjs} +0 -0
- package/{esm2015/lib/domain/externals/classes/appsearch/GroupOrAggregation.js → esm2020/lib/domain/externals/classes/appsearch/GroupOrAggregation.mjs} +0 -0
- package/{esm2015/lib/domain/externals/classes/appsearch/ItemsSelection.js → esm2020/lib/domain/externals/classes/appsearch/ItemsSelection.mjs} +0 -0
- package/{esm2015/lib/domain/externals/classes/report/ReportColumn.js → esm2020/lib/domain/externals/classes/report/ReportColumn.mjs} +0 -0
- package/{esm2015/lib/domain/externals/classes/report/ReportDefinition.js → esm2020/lib/domain/externals/classes/report/ReportDefinition.mjs} +0 -0
- package/{esm2015/lib/domain/externals/classes/report/ReportOrder.js → esm2020/lib/domain/externals/classes/report/ReportOrder.mjs} +0 -0
- package/{esm2015/lib/domain/externals/classes/report/ReportParam.js → esm2020/lib/domain/externals/classes/report/ReportParam.mjs} +0 -0
- package/{esm2015/lib/domain/externals/classes/report/ReportResult.js → esm2020/lib/domain/externals/classes/report/ReportResult.mjs} +0 -0
- package/{esm2015/lib/domain/externals/classes/report/ReportRow.js → esm2020/lib/domain/externals/classes/report/ReportRow.mjs} +0 -0
- package/{esm2015/lib/domain/externals/index.js → esm2020/lib/domain/externals/index.mjs} +0 -0
- package/{esm2015/lib/domain/index.js → esm2020/lib/domain/index.mjs} +0 -0
- package/{esm2015/lib/domain/internals/classes/CacheTriptic.js → esm2020/lib/domain/internals/classes/CacheTriptic.mjs} +0 -0
- package/{esm2015/lib/domain/internals/classes/EsTableColumn.js → esm2020/lib/domain/internals/classes/EsTableColumn.mjs} +0 -0
- package/{esm2015/lib/domain/internals/classes/GroupPager.js → esm2020/lib/domain/internals/classes/GroupPager.mjs} +0 -0
- package/{esm2015/lib/domain/internals/classes/GroupRouteFragment.js → esm2020/lib/domain/internals/classes/GroupRouteFragment.mjs} +0 -0
- package/{esm2015/lib/domain/internals/classes/ThAggregation.js → esm2020/lib/domain/internals/classes/ThAggregation.mjs} +0 -0
- package/{esm2015/lib/domain/internals/classes/ThElement.js → esm2020/lib/domain/internals/classes/ThElement.mjs} +0 -0
- package/{esm2015/lib/domain/internals/index.js → esm2020/lib/domain/internals/index.mjs} +0 -0
- package/esm2020/lib/es-table.module.mjs +79 -0
- package/{esm2015/lib/tokens.js → esm2020/lib/tokens.mjs} +0 -0
- package/esm2020/public-api.mjs +14 -0
- package/fesm2015/{esfaenza-es-table.js → esfaenza-es-table.mjs} +622 -380
- package/fesm2015/esfaenza-es-table.mjs.map +1 -0
- package/fesm2020/esfaenza-es-table.mjs +4731 -0
- package/fesm2020/esfaenza-es-table.mjs.map +1 -0
- package/lib/components/es-table/es_table.component.d.ts +5 -2
- package/lib/components/es-table/es_table.component.loc.d.ts +3 -0
- package/lib/components/es-td/es_td.component.d.ts +3 -0
- package/lib/components/es-th/es_th.component.d.ts +3 -0
- package/lib/components/pager/table_pager.component.d.ts +3 -0
- package/lib/components/pager/table_pager.component.loc.d.ts +3 -0
- package/lib/core/handlers/classes/ExportHandler.d.ts +8 -2
- package/lib/core/handlers/classes/UtilitiesHandler.d.ts +3 -0
- package/lib/directives/es_td.directive.d.ts +3 -0
- package/lib/directives/es_th.directive.d.ts +3 -0
- package/lib/es-table.module.d.ts +21 -0
- package/package.json +30 -16
- package/public-api.d.ts +3 -0
- package/bundles/esfaenza-es-table.umd.js +0 -5075
- package/bundles/esfaenza-es-table.umd.js.map +0 -1
- package/esfaenza-es-table.metadata.json +0 -1
- package/esm2015/esfaenza-es-table.js +0 -12
- package/esm2015/lib/components/es-table/es_table.component.js +0 -1312
- package/esm2015/lib/components/es-table/es_table.component.loc.js +0 -36
- package/esm2015/lib/components/es-td/es_td.component.js +0 -106
- package/esm2015/lib/components/es-th/es_th.component.js +0 -160
- package/esm2015/lib/components/pager/table_pager.component.js +0 -106
- package/esm2015/lib/components/pager/table_pager.component.loc.js +0 -22
- package/esm2015/lib/core/handlers/classes/ColumnMetadataHandler.js +0 -712
- package/esm2015/lib/core/handlers/classes/ExportHandler.js +0 -43
- package/esm2015/lib/core/handlers/classes/ItemsHandler.js +0 -130
- package/esm2015/lib/core/handlers/classes/RowGroupingHandler.js +0 -475
- package/esm2015/lib/core/handlers/classes/SelectionHandler.js +0 -527
- package/esm2015/lib/core/handlers/classes/UtilitiesHandler.js +0 -169
- package/esm2015/lib/directives/es_td.directive.js +0 -29
- package/esm2015/lib/directives/es_th.directive.js +0 -69
- package/esm2015/lib/es-table.module.js +0 -52
- package/esm2015/public-api.js +0 -11
- package/fesm2015/esfaenza-es-table.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { QueryList, ChangeDetectorRef, EventEmitter, OnChanges, SimpleChanges, ElementRef, TemplateRef } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
|
-
import { UtilityService, ExportService, MessageService, DateService } from '@esfaenza/extensions';
|
|
3
|
+
import { UtilityService, ExportService, MessageService, DateService, CsvHeaders } from '@esfaenza/extensions';
|
|
4
4
|
import { LocalizationService } from '@esfaenza/localizations';
|
|
5
5
|
import { PreferencesService } from '@esfaenza/preferences';
|
|
6
6
|
import { ContextMenuComponent } from '@esfaenza/ngx-contextmenu';
|
|
@@ -12,6 +12,7 @@ import { ItemsSelection } from '../../domain/externals/classes/appsearch/ItemsSe
|
|
|
12
12
|
import { Group } from "../../domain/externals/classes/appsearch/Group";
|
|
13
13
|
import { EsTableDefaultable } from '../../domain/configuration/EsTableDefaultable';
|
|
14
14
|
import { ExportHandler, ColumnMetadataHandler, DynamicModeHandler, HierarchyModeHandler, ItemsHandler, ReportModeHandler, RowGroupingHandler, SelectionHandler, UtilitiesHandler } from '../../core/handlers';
|
|
15
|
+
import * as i0 from "@angular/core";
|
|
15
16
|
/** Componente che permette di rappresentare una griglia di valori */
|
|
16
17
|
export declare class EsTableComponent implements ControlValueAccessor, OnChanges {
|
|
17
18
|
ngControl: NgControl;
|
|
@@ -343,7 +344,7 @@ export declare class EsTableComponent implements ControlValueAccessor, OnChanges
|
|
|
343
344
|
/** Dati esportati da ngx-csv */
|
|
344
345
|
data: any[];
|
|
345
346
|
/** Header dei dati esportati da ngx-csv */
|
|
346
|
-
headers:
|
|
347
|
+
headers: CsvHeaders[];
|
|
347
348
|
/** Elemento HTML da cliccare per l'esportazione */
|
|
348
349
|
exportDownloader: ElementRef;
|
|
349
350
|
/** Placeholder di menù contestuale per quando non ci sono opzioni nel placeholder "Vero" */
|
|
@@ -629,4 +630,6 @@ export declare class EsTableComponent implements ControlValueAccessor, OnChanges
|
|
|
629
630
|
* Metodo eventualmente richiamabile anche dal componente esterno che permette di forzare un refresh della tabella
|
|
630
631
|
*/
|
|
631
632
|
forceRefresh(): void;
|
|
633
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EsTableComponent, [{ optional: true; self: true; }, { optional: true; }, { optional: true; }, { optional: true; }, null, null, null, null, null, null, null]>;
|
|
634
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EsTableComponent, "es-table", never, { "CornerMenuOptions": "CornerMenuOptions"; "ColumnsResizable": "ColumnsResizable"; "AutoUpdate": "AutoUpdate"; "UseCustomCellActions": "UseCustomCellActions"; "CustomCellActionsOn": "CustomCellActionsOn"; "CellActionPropagates": "CellActionPropagates"; "UseCustomCells": "UseCustomCells"; "MaxHeight": "MaxHeight"; "ContainerClass": "ContainerClass"; "XLSXExport": "XLSXExport"; "CSVExport": "CSVExport"; "AllSearch": "AllSearch"; "HighCellDensity": "HighCellDensity"; "Selection": "Selection"; "ShowLoadingOnBootstrap": "ShowLoadingOnBootstrap"; "Removal": "Removal"; "RemovalCondition": "RemovalCondition"; "Export": "Export"; "ShiftClick": "ShiftClick"; "CountLabel": "CountLabel"; "HidePaging": "HidePaging"; "HidePagingCount": "HidePagingCount"; "HidePagingButtons": "HidePagingButtons"; "ContextMenu": "ContextMenu"; "ExportFileName": "ExportFileName"; "TableClass": "TableClass"; "ExportFunction": "ExportFunction"; "HasHeaderGroup": "HasHeaderGroup"; "HasSecondaryHeaderGroup": "HasSecondaryHeaderGroup"; "SliceSize": "SliceSize"; "EndlessScroll": "EndlessScroll"; "EndlessScrollOnlyForAll": "EndlessScrollOnlyForAll"; "HeaderHidden": "HeaderHidden"; "BodyHidden": "BodyHidden"; "SelectionDisabled": "SelectionDisabled"; "SingleSelection": "SingleSelection"; "RowClassAssigner": "RowClassAssigner"; "OrderByColumn": "OrderByColumn"; "MultipleOrderingDirectives": "MultipleOrderingDirectives"; "HiddenColumns": "HiddenColumns"; "ColumnsOrdering": "ColumnsOrdering"; "SearchView": "SearchView"; "SelectAll": "SelectAll"; "UseArrayModePaging": "UseArrayModePaging"; "DynamicRowColumnsDefinition": "DynamicRowColumnsDefinition"; "DynamicOperations": "DynamicOperations"; "Hierarchy": "Hierarchy"; "ParentKey": "ParentKey"; "OwnKey": "OwnKey"; "StartsExpanded": "StartsExpanded"; "SavePreferences": "SavePreferences"; "PagingStyle": "PagingStyle"; "RowGroupingPagingStyle": "RowGroupingPagingStyle"; "SecondarySource": "SecondarySource"; "TertiarySource": "TertiarySource"; "UseSelectionCache": "UseSelectionCache"; "ShowItemGroupsColumns": "ShowItemGroupsColumns"; "ArraymodeItemsPerPage": "ArraymodeItemsPerPage"; }, { "onOrderChanged": "onOrderChanged"; "onSearchRequest": "onSearchRequest"; "onSelectionChanged": "onSelectionChanged"; "onRemoval": "onRemoval"; "onAbortRemoval": "onAbortRemoval"; "onCellClick": "onCellClick"; "onCornerAction": "onCornerAction"; "onDynamicOperation": "onDynamicOperation"; }, ["bodyRef", "headerRef", "headerGroupRef", "secondaryHeaderGroupRef", "EsTdsDirective", "EsThsDirective", "EsThs", "EsTds"], never>;
|
|
632
635
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { LocalizationService } from "@esfaenza/localizations";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
/** Classe di localizzazione per il componente **EsTableComponent** */
|
|
3
4
|
export declare class EsTableLoc extends LocalizationService {
|
|
4
5
|
/** @ignore */
|
|
5
6
|
constructor(LOC_LOCALE: string);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EsTableLoc, [{ optional: true; }]>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EsTableLoc>;
|
|
6
9
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Renderer2, ElementRef, ViewContainerRef } from "@angular/core";
|
|
2
2
|
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
/** Componente rappresentante una singola cella del body della tabella */
|
|
4
5
|
export declare class EsTd {
|
|
5
6
|
private myself;
|
|
@@ -42,4 +43,6 @@ export declare class EsTd {
|
|
|
42
43
|
ngAfterViewInit(): void;
|
|
43
44
|
/** Ottiene il contesto della view su cui è istanziato il componente */
|
|
44
45
|
private getTemplateContext;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EsTd, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EsTd, "[es-td]", never, { "ID": "es-td"; "Internal": "Internal"; "RouterLink": "RouterLink"; "Display": "Display"; "Template": "Template"; "Context": "Context"; "Visible": "Visible"; }, {}, never, ["*"]>;
|
|
45
48
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, ElementRef, Renderer2 } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
/** Componente rappresentante una Colonna della tabella */
|
|
3
4
|
export declare class EsTh {
|
|
4
5
|
private myself;
|
|
@@ -86,4 +87,6 @@ export declare class EsTh {
|
|
|
86
87
|
* @param {$event} ev Evento MouseMove
|
|
87
88
|
*/
|
|
88
89
|
onMouseMove($event: any): void;
|
|
90
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EsTh, never>;
|
|
91
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EsTh, "[es-th]", never, { "ID": "es-th"; "Order": "Order"; "Orderable": "Orderable"; "Display": "Display"; "Resizable": "Resizable"; "Pinned": "Pinned"; "SearchInProgress": "SearchInProgress"; "OrderBy": "OrderBy"; "Wrap": "Wrap"; "Fixed": "Fixed"; "Template": "Template"; "Visible": "Visible"; }, { "onOrderChange": "onOrderChange"; "onUnpinning": "onUnpinning"; }, never, ["*"]>;
|
|
89
92
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef, EventEmitter, SimpleChanges } from "@angular/core";
|
|
2
2
|
import { LocalizationService } from "@esfaenza/localizations";
|
|
3
3
|
import { MessageService } from "@esfaenza/extensions";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
/** Componente che si occupa della paginazione di una tabella */
|
|
5
6
|
export declare class TablePagerComponent {
|
|
6
7
|
private msgExts;
|
|
@@ -51,4 +52,6 @@ export declare class TablePagerComponent {
|
|
|
51
52
|
* @param {number} pageSize Dimensione selezionata lato UI
|
|
52
53
|
*/
|
|
53
54
|
choice(pageSize: number): void;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TablePagerComponent, [null, null, null, { optional: true; }]>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TablePagerComponent, "app-paging", never, { "CurrentPageSize": "CurrentPageSize"; "View": "View"; "WarnOnAll": "WarnOnAll"; "AllSearch": "AllSearch"; "DefaultAll": "DefaultAll"; "GroupMode": "GroupMode"; "GroupCount": "GroupCount"; "CountLabel": "CountLabel"; "ShowCount": "ShowCount"; "ShowPaging": "ShowPaging"; "PagerCount": "PagerCount"; "Hidden": "Hidden"; }, { "pagingSelected": "pagingSelected"; }, never, never>;
|
|
54
57
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { LocalizationService } from "@esfaenza/localizations";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
/** Classe di localizzazione per il componente **TablePagerComponent** */
|
|
3
4
|
export declare class TablePagerLoc extends LocalizationService {
|
|
4
5
|
/** @ignore */
|
|
5
6
|
constructor(LOC_LOCALE: string);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TablePagerLoc, [{ optional: true; }]>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TablePagerLoc>;
|
|
6
9
|
}
|
|
@@ -1,18 +1,24 @@
|
|
|
1
|
-
import { ExportService, MessageService } from "@esfaenza/extensions";
|
|
1
|
+
import { DateService, ExportService, MessageService, UtilityService } from "@esfaenza/extensions";
|
|
2
2
|
import { EsTableComponent } from "../../../components/es-table/es_table.component";
|
|
3
3
|
/** Classe contenente la gestione delle importazioni */
|
|
4
4
|
export declare class ExportHandler {
|
|
5
5
|
private est;
|
|
6
6
|
private expExts;
|
|
7
7
|
private msgExts;
|
|
8
|
+
private utiExts;
|
|
9
|
+
private dateExts;
|
|
10
|
+
/** Cache del modulo per l'esportazione Excel */
|
|
11
|
+
private ExcelJS;
|
|
8
12
|
/** @ignore Costruttore*/
|
|
9
|
-
constructor(est: EsTableComponent, expExts: ExportService, msgExts: MessageService);
|
|
13
|
+
constructor(est: EsTableComponent, expExts: ExportService, msgExts: MessageService, utiExts: UtilityService, dateExts: DateService);
|
|
10
14
|
/**
|
|
11
15
|
* Effettua l'esportazione dei dati
|
|
12
16
|
*
|
|
13
17
|
* @param {string} format Formato di esportazione. Letto solo in modalità Report della tabella
|
|
14
18
|
*/
|
|
15
19
|
tryExport(format?: string): void;
|
|
20
|
+
/** Effettua l'esportazione del file Excel basandosi sul modulo **ExcelJS**, sugli header **this.est.headers** e sui dati **this.est.data** */
|
|
21
|
+
private exportExcel;
|
|
16
22
|
/**
|
|
17
23
|
* Metodo che effettivamente genera gli header e i dati per l'esportazione con **ngx-csv**
|
|
18
24
|
*
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HashingService } from "@esfaenza/extensions";
|
|
2
2
|
import { EsTd } from "../../../components/es-td/es_td.component";
|
|
3
3
|
import { EsTh } from "../../../components/es-th/es_th.component";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
/** Classe di utilità per le cose comuni */
|
|
5
6
|
export declare class UtilitiesHandler {
|
|
6
7
|
private hashExts;
|
|
@@ -64,4 +65,6 @@ export declare class UtilitiesHandler {
|
|
|
64
65
|
* @param {T} fallbackValue Valore dell'Input per quando non è stato assegnato dal programmatore e non ha un default
|
|
65
66
|
*/
|
|
66
67
|
InputOrDefault<T>(inputValue: T, defaultValue: T, fallbackValue?: T): T;
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UtilitiesHandler, never>;
|
|
69
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UtilitiesHandler>;
|
|
67
70
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
/** Direttiva per la dichiarazione snella di un EsTd da emettere per ogni elemento, data una colonna */
|
|
3
4
|
export declare class EsTdDirective {
|
|
4
5
|
Template: TemplateRef<any>;
|
|
@@ -16,4 +17,6 @@ export declare class EsTdDirective {
|
|
|
16
17
|
* @ignore
|
|
17
18
|
*/
|
|
18
19
|
constructor(Template: TemplateRef<any>);
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EsTdDirective, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EsTdDirective, "[td]", never, { "tdVisible": "tdVisible"; "td": "td"; "tdIf": "tdIf"; "tdClass": "tdClass"; }, {}, never>;
|
|
19
22
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TemplateRef } from "@angular/core";
|
|
2
2
|
import { ThAggregation } from "../domain";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
/** Direttiva per la dichiarazione snella di un EsTh da emettere come header */
|
|
4
5
|
export declare class EsThDirective {
|
|
5
6
|
Template: TemplateRef<any>;
|
|
@@ -47,4 +48,6 @@ export declare class EsThDirective {
|
|
|
47
48
|
* @ignore
|
|
48
49
|
*/
|
|
49
50
|
constructor(Template: TemplateRef<any>);
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EsThDirective, never>;
|
|
52
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EsThDirective, "[th]", never, { "th": "th"; "thPinned": "thPinned"; "thPinnedWidth": "thPinnedWidth"; "thVisible": "thVisible"; "thFixed": "thFixed"; "thParent": "thParent"; "thOrder": "thOrder"; "thOrderable": "thOrderable"; "thWrap": "thWrap"; "thResizable": "thResizable"; "thClass": "thClass"; "thGroupClass": "thGroupClass"; "thIf": "thIf"; "thEmpty": "thEmpty"; "thGroup": "thGroup"; "thAggregation": "thAggregation"; }, {}, never>;
|
|
50
53
|
}
|
package/lib/es-table.module.d.ts
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
import { ModuleWithProviders } from '@angular/core';
|
|
2
2
|
import { EsTableModuleConfig } from './domain/configuration/EsTableModuleConfig';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "./components/es-th/es_th.component";
|
|
5
|
+
import * as i2 from "./components/es-td/es_td.component";
|
|
6
|
+
import * as i3 from "./components/es-table/es_table.component";
|
|
7
|
+
import * as i4 from "./directives/es_td.directive";
|
|
8
|
+
import * as i5 from "./directives/es_th.directive";
|
|
9
|
+
import * as i6 from "./components/pager/table_pager.component";
|
|
10
|
+
import * as i7 from "@angular/common";
|
|
11
|
+
import * as i8 from "@angular/forms";
|
|
12
|
+
import * as i9 from "@angular/router";
|
|
13
|
+
import * as i10 from "@esfaenza/localizations";
|
|
14
|
+
import * as i11 from "ngx-bootstrap/modal";
|
|
15
|
+
import * as i12 from "ngx-bootstrap/dropdown";
|
|
16
|
+
import * as i13 from "@ctrl/ngx-csv";
|
|
17
|
+
import * as i14 from "@esfaenza/ngx-contextmenu";
|
|
18
|
+
import * as i15 from "@angular/material/select";
|
|
19
|
+
import * as i16 from "@angular/material/input";
|
|
20
|
+
import * as i17 from "@angular/cdk/drag-drop";
|
|
3
21
|
export declare class EsTableModule {
|
|
4
22
|
static forRoot(config?: EsTableModuleConfig): ModuleWithProviders<EsTableModule>;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EsTableModule, never>;
|
|
24
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EsTableModule, [typeof i1.EsTh, typeof i2.EsTd, typeof i3.EsTableComponent, typeof i4.EsTdDirective, typeof i5.EsThDirective, typeof i6.TablePagerComponent], [typeof i7.CommonModule, typeof i8.FormsModule, typeof i9.RouterModule, typeof i10.LocalizationModule, typeof i11.ModalModule, typeof i12.BsDropdownModule, typeof i13.CsvModule, typeof i14.ContextMenuModule, typeof i15.MatSelectModule, typeof i16.MatInputModule, typeof i17.DragDropModule], [typeof i1.EsTh, typeof i2.EsTd, typeof i3.EsTableComponent, typeof i4.EsTdDirective, typeof i5.EsThDirective, typeof i6.TablePagerComponent]>;
|
|
25
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<EsTableModule>;
|
|
5
26
|
}
|
package/package.json
CHANGED
|
@@ -1,27 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esfaenza/es-table",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.1.3",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"tslib": "^2.0.0"
|
|
6
6
|
},
|
|
7
7
|
"peerDependencies": {
|
|
8
|
-
"@angular/common": "~
|
|
9
|
-
"@angular/core": "~
|
|
10
|
-
"@angular/material": "~
|
|
11
|
-
"@esfaenza/extensions": "^12.2.
|
|
12
|
-
"@esfaenza/localizations": "^12.2.
|
|
13
|
-
"@ctrl/ngx-csv": "
|
|
14
|
-
"@esfaenza/ngx-contextmenu": "^12.2.
|
|
15
|
-
"@esfaenza/preferences": "^12.2.
|
|
8
|
+
"@angular/common": "~13.1.1",
|
|
9
|
+
"@angular/core": "~13.1.1",
|
|
10
|
+
"@angular/material": "~13.1.1",
|
|
11
|
+
"@esfaenza/extensions": "^12.2.15",
|
|
12
|
+
"@esfaenza/localizations": "^12.2.11",
|
|
13
|
+
"@ctrl/ngx-csv": "5.0.0",
|
|
14
|
+
"@esfaenza/ngx-contextmenu": "^12.2.9",
|
|
15
|
+
"@esfaenza/preferences": "^12.2.11",
|
|
16
16
|
"ngx-toastr": "14.2.1",
|
|
17
|
-
"ngx-bootstrap": "7.0.0"
|
|
17
|
+
"ngx-bootstrap": "7.0.0",
|
|
18
|
+
"exceljs": "4.3.0",
|
|
19
|
+
"stream": "0.0.2"
|
|
18
20
|
},
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"fesm2015": "fesm2015/esfaenza-es-table.
|
|
21
|
+
"module": "fesm2015/esfaenza-es-table.mjs",
|
|
22
|
+
"es2020": "fesm2020/esfaenza-es-table.mjs",
|
|
23
|
+
"esm2020": "esm2020/esfaenza-es-table.mjs",
|
|
24
|
+
"fesm2020": "fesm2020/esfaenza-es-table.mjs",
|
|
25
|
+
"fesm2015": "fesm2015/esfaenza-es-table.mjs",
|
|
24
26
|
"typings": "esfaenza-es-table.d.ts",
|
|
25
|
-
"
|
|
27
|
+
"exports": {
|
|
28
|
+
"./package.json": {
|
|
29
|
+
"default": "./package.json"
|
|
30
|
+
},
|
|
31
|
+
".": {
|
|
32
|
+
"types": "./esfaenza-es-table.d.ts",
|
|
33
|
+
"esm2020": "./esm2020/esfaenza-es-table.mjs",
|
|
34
|
+
"es2020": "./fesm2020/esfaenza-es-table.mjs",
|
|
35
|
+
"es2015": "./fesm2015/esfaenza-es-table.mjs",
|
|
36
|
+
"node": "./fesm2015/esfaenza-es-table.mjs",
|
|
37
|
+
"default": "./fesm2020/esfaenza-es-table.mjs"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
26
40
|
"sideEffects": false
|
|
27
41
|
}
|
package/public-api.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
export * from './lib/components/pager/table_pager.component';
|
|
1
2
|
export * from './lib/components/es-table/es_table.component';
|
|
2
3
|
export * from './lib/components/es-th/es_th.component';
|
|
3
4
|
export * from './lib/components/es-td/es_td.component';
|
|
5
|
+
export * from './lib/directives/es_td.directive';
|
|
6
|
+
export * from './lib/directives/es_th.directive';
|
|
4
7
|
export * from './lib/domain/configuration/EsTableModuleConfig';
|
|
5
8
|
export * from './lib/domain/configuration/EsTableDefaultable';
|
|
6
9
|
export * from './lib/es-table.module';
|