@esfaenza/es-table 13.1.3 → 13.1.8
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/esm2020/lib/components/es-table/es_table.component.mjs +37 -129
- package/esm2020/lib/components/es-td/es_td.component.mjs +1 -35
- package/esm2020/lib/core/handlers/classes/ColumnMetadataHandler.mjs +44 -96
- package/esm2020/lib/core/handlers/classes/RowGroupingHandler.mjs +2 -4
- package/esm2020/lib/core/handlers/classes/UtilitiesHandler.mjs +1 -15
- package/esm2020/lib/directives/es_td.directive.mjs +1 -1
- package/esm2020/lib/directives/es_th.directive.mjs +1 -1
- package/esm2020/lib/domain/internals/classes/TdElement.mjs +2 -0
- package/esm2020/lib/domain/internals/index.mjs +2 -1
- package/esm2020/lib/es-table.module.mjs +3 -3
- package/esm2020/public-api.mjs +1 -3
- package/fesm2015/esfaenza-es-table.mjs +411 -603
- package/fesm2015/esfaenza-es-table.mjs.map +1 -1
- package/fesm2020/esfaenza-es-table.mjs +411 -603
- package/fesm2020/esfaenza-es-table.mjs.map +1 -1
- package/lib/components/es-table/es_table.component.d.ts +9 -51
- package/lib/components/es-td/es_td.component.d.ts +0 -2
- package/lib/core/handlers/classes/ColumnMetadataHandler.d.ts +15 -16
- package/lib/core/handlers/classes/RowGroupingHandler.d.ts +2 -3
- package/lib/core/handlers/classes/UtilitiesHandler.d.ts +0 -16
- package/lib/domain/internals/classes/TdElement.d.ts +19 -0
- package/lib/domain/internals/index.d.ts +1 -0
- package/lib/es-table.module.d.ts +1 -1
- package/package.json +5 -5
- package/public-api.d.ts +0 -2
|
@@ -4,8 +4,7 @@ import { UtilityService, ExportService, MessageService, DateService, CsvHeaders
|
|
|
4
4
|
import { LocalizationService } from '@esfaenza/localizations';
|
|
5
5
|
import { PreferencesService } from '@esfaenza/preferences';
|
|
6
6
|
import { ContextMenuComponent } from '@esfaenza/ngx-contextmenu';
|
|
7
|
-
import { AppSearch, AppOrdering, EsTableColumnsDefinition, CornerMenuOption, ReportResult, EsTableOperationDefinition, EsTableColumn, GroupPager, GroupRouteFragment, ThElement } from '../../domain';
|
|
8
|
-
import { EsTd } from '../es-td/es_td.component';
|
|
7
|
+
import { AppSearch, AppOrdering, EsTableColumnsDefinition, CornerMenuOption, ReportResult, EsTableOperationDefinition, EsTableColumn, GroupPager, GroupRouteFragment, ThElement, TdElement } from '../../domain';
|
|
9
8
|
import { EsTdDirective } from '../../directives/es_td.directive';
|
|
10
9
|
import { EsThDirective } from '../../directives/es_th.directive';
|
|
11
10
|
import { ItemsSelection } from '../../domain/externals/classes/appsearch/ItemsSelection';
|
|
@@ -83,11 +82,11 @@ export declare class EsTableComponent implements ControlValueAccessor, OnChanges
|
|
|
83
82
|
researchInProgress: boolean;
|
|
84
83
|
/** Modello rappresentante un singolo td della tabella, generato in base alle configurazioni e agli oggetti ricevuti */
|
|
85
84
|
RowTDs: {
|
|
86
|
-
[context: string]:
|
|
85
|
+
[context: string]: TdElement[];
|
|
87
86
|
};
|
|
88
87
|
/** Modello di appoggio temporaneo per i **RowTDs** */
|
|
89
88
|
TMPRowTDs: {
|
|
90
|
-
[context: string]:
|
|
89
|
+
[context: string]: TdElement[];
|
|
91
90
|
};
|
|
92
91
|
/** Modello rappresentante un singolo th della tabella, generato in base alle configurazioni e agli oggetti ricevuti */
|
|
93
92
|
RowTHs: ThElement[];
|
|
@@ -133,13 +132,9 @@ export declare class EsTableComponent implements ControlValueAccessor, OnChanges
|
|
|
133
132
|
EsTdsDirective: QueryList<EsTdDirective>;
|
|
134
133
|
/** Query per recuperare tutti gli es-td assegnati a direttiva (Per la modalità dinamica dell'es-table) */
|
|
135
134
|
EsThsDirective: QueryList<EsThDirective>;
|
|
136
|
-
/**
|
|
137
|
-
private EsThs;
|
|
138
|
-
/** @deprecated Query per recuperare tutti gli es-td */
|
|
139
|
-
private EsTds;
|
|
140
|
-
/** @deprecated Query per recuperare le informazioni del body (punto della tabella dove vengono mostrate le righe) */
|
|
135
|
+
/** Query per recuperare le informazioni del body (punto della tabella dove vengono mostrate le righe) */
|
|
141
136
|
bodyRef: any;
|
|
142
|
-
/**
|
|
137
|
+
/** Query per recuperare le informazioni dell'header (punto della tabella dove vengono mostrate le intestazioni delle righe) */
|
|
143
138
|
headerRef: any;
|
|
144
139
|
/** Query per recuperare le informazioni sul raggruppamento degli header */
|
|
145
140
|
headerGroupRef: any;
|
|
@@ -151,26 +146,6 @@ export declare class EsTableComponent implements ControlValueAccessor, OnChanges
|
|
|
151
146
|
ColumnsResizable: boolean;
|
|
152
147
|
/** Indica se dev'essere disponibile il sistema di aggiornamento automatico */
|
|
153
148
|
AutoUpdate: boolean;
|
|
154
|
-
/** Indica se la tabella (configurata con **UseCustomCells**) deve mettersi in ascolto per i click sulle celle desiderate
|
|
155
|
-
*
|
|
156
|
-
* @deprecated Utilizzare l'Input **Template** delle es-td e assegnare un template con tutti i binding che si vuole ai click
|
|
157
|
-
*/
|
|
158
|
-
UseCustomCellActions: boolean;
|
|
159
|
-
/**
|
|
160
|
-
* Indica le celle desiderate su cui intercettare i click. Attiva solo quando **UseCustomCellActions** è true.
|
|
161
|
-
* Ogni cella dev'essere separata dalla successiva dal carattere del Simoleon:
|
|
162
|
-
*
|
|
163
|
-
* Es, "MiaCella1§MiaCella2"
|
|
164
|
-
*
|
|
165
|
-
* @deprecated Utilizzare l'Input **Template** delle es-td e assegnare un template con tutti i binding che si vuole ai click
|
|
166
|
-
*/
|
|
167
|
-
CustomCellActionsOn: string;
|
|
168
|
-
/**
|
|
169
|
-
* Serve per decidere di lanciare o meno il **event.stopPropagation()** al termine della gestione dell'evento
|
|
170
|
-
*
|
|
171
|
-
* @deprecated Utilizzare l'Input **Template** delle es-td e assegnare un template con tutti i binding che si vuole ai click
|
|
172
|
-
*/
|
|
173
|
-
CellActionPropagates: boolean;
|
|
174
149
|
/**
|
|
175
150
|
* Decide se utilizzare o meno le CustomCells. Impostandolo a **true** l'es-table diventa in grado di gestire nativamente:
|
|
176
151
|
*
|
|
@@ -323,14 +298,6 @@ export declare class EsTableComponent implements ControlValueAccessor, OnChanges
|
|
|
323
298
|
onRemoval: EventEmitter<any>;
|
|
324
299
|
/** Evento richiamato all'annullamento di un'eliminazione */
|
|
325
300
|
onAbortRemoval: EventEmitter<any>;
|
|
326
|
-
/** Evento richiamato al click su una cella quando **UseCustomCellActions** è attivo
|
|
327
|
-
*
|
|
328
|
-
* @deprecated Utilizzare l'Input **Template** delle es-td e assegnare un template con tutti i binding che si vuole ai click
|
|
329
|
-
*/
|
|
330
|
-
onCellClick: EventEmitter<{
|
|
331
|
-
column: string;
|
|
332
|
-
model: any;
|
|
333
|
-
}>;
|
|
334
301
|
/** Evento richiamato quando si clicca su un opzione definita nelle **CornerMenuOptions** */
|
|
335
302
|
onCornerAction: EventEmitter<{
|
|
336
303
|
id: string;
|
|
@@ -500,8 +467,8 @@ export declare class EsTableComponent implements ControlValueAccessor, OnChanges
|
|
|
500
467
|
*
|
|
501
468
|
* Costo: 2 scan EsThs, 1 scan EsTds
|
|
502
469
|
*
|
|
503
|
-
* @param {
|
|
504
|
-
* @param {
|
|
470
|
+
* @param {EsThDirective[]} ths Colonne della tabella
|
|
471
|
+
* @param {EsTdDirective[]} tds Celle della tabella
|
|
505
472
|
*/
|
|
506
473
|
private evaluateRowTds;
|
|
507
474
|
/**
|
|
@@ -511,7 +478,7 @@ export declare class EsTableComponent implements ControlValueAccessor, OnChanges
|
|
|
511
478
|
*
|
|
512
479
|
* Costo: 1 scan EsThs
|
|
513
480
|
*
|
|
514
|
-
* @param {
|
|
481
|
+
* @param {EsThDirective[]} ths Colonne della tabella
|
|
515
482
|
*/
|
|
516
483
|
private evaluateRowThs;
|
|
517
484
|
/**
|
|
@@ -600,15 +567,6 @@ export declare class EsTableComponent implements ControlValueAccessor, OnChanges
|
|
|
600
567
|
* @param {number} page Pagina a cui navigare
|
|
601
568
|
*/
|
|
602
569
|
arrayGoToPage(page: number): void;
|
|
603
|
-
/**
|
|
604
|
-
* Gestore dei click sulle celle per le quali era impostata una azione custom da **CustomCellActionsOn**
|
|
605
|
-
*
|
|
606
|
-
* @param {string} name Nome della cella su cui si è fatto click
|
|
607
|
-
* @param {any} model Modello relativo alla cella cliccata
|
|
608
|
-
*
|
|
609
|
-
* @returns {boolean} **true** se il click è stato fatto su una cella cliccabile, **false** altrimenti
|
|
610
|
-
*/
|
|
611
|
-
cellClicked(name: string, model: any): boolean;
|
|
612
570
|
/**
|
|
613
571
|
* Gestione dei click sulle opzioni del menù contestuale in alto a destra generato dall'Input **CornerMenuOptions**
|
|
614
572
|
*
|
|
@@ -631,5 +589,5 @@ export declare class EsTableComponent implements ControlValueAccessor, OnChanges
|
|
|
631
589
|
*/
|
|
632
590
|
forceRefresh(): void;
|
|
633
591
|
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"; "
|
|
592
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EsTableComponent, "es-table", never, { "CornerMenuOptions": "CornerMenuOptions"; "ColumnsResizable": "ColumnsResizable"; "AutoUpdate": "AutoUpdate"; "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"; "onCornerAction": "onCornerAction"; "onDynamicOperation": "onDynamicOperation"; }, ["bodyRef", "headerRef", "headerGroupRef", "secondaryHeaderGroupRef", "EsTdsDirective", "EsThsDirective"], never>;
|
|
635
593
|
}
|
|
@@ -41,8 +41,6 @@ export declare class EsTd {
|
|
|
41
41
|
get Visible(): boolean;
|
|
42
42
|
/** @ignore */
|
|
43
43
|
ngAfterViewInit(): void;
|
|
44
|
-
/** Ottiene il contesto della view su cui è istanziato il componente */
|
|
45
|
-
private getTemplateContext;
|
|
46
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<EsTd, never>;
|
|
47
45
|
static ɵcmp: i0.ɵɵComponentDeclaration<EsTd, "[es-td]", never, { "ID": "es-td"; "Internal": "Internal"; "RouterLink": "RouterLink"; "Display": "Display"; "Template": "Template"; "Context": "Context"; "Visible": "Visible"; }, {}, never, ["*"]>;
|
|
48
46
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { UtilityService } from "@esfaenza/extensions";
|
|
2
2
|
import { PreferencesService } from "@esfaenza/preferences";
|
|
3
3
|
import { EsTd } from "../../../components/es-td/es_td.component";
|
|
4
|
-
import { EsTh } from "../../../components/es-th/es_th.component";
|
|
5
4
|
import { EsTableComponent } from "../../../components/es-table/es_table.component";
|
|
6
5
|
import { EsTdDirective } from "../../../directives/es_td.directive";
|
|
7
6
|
import { EsThDirective } from "../../../directives/es_th.directive";
|
|
@@ -29,13 +28,13 @@ export declare class ColumnMetadataHandler {
|
|
|
29
28
|
*
|
|
30
29
|
* Costo: 1 scan EsThs
|
|
31
30
|
*
|
|
32
|
-
* @param {
|
|
31
|
+
* @param {EsThDirective[]} ths Colonne della tabella
|
|
33
32
|
*/
|
|
34
|
-
reviewColumnsList(ths:
|
|
33
|
+
reviewColumnsList(ths: EsThDirective[]): void;
|
|
35
34
|
/**
|
|
36
35
|
* Prende i th e i td in modalità diretive e li ordina in base a se ci sono colonne fixed o meno
|
|
37
36
|
*/
|
|
38
|
-
moveFixedColumnsAtTheBeginning(ths:
|
|
37
|
+
moveFixedColumnsAtTheBeginning(ths: EsThDirective[], tds: EsTd[] | EsTdDirective[]): void;
|
|
39
38
|
/** In base alla configurazione delle colonne calcola le dimenioni delle colonne pinnate */
|
|
40
39
|
evaluatePinnedColumnsWidth(): void;
|
|
41
40
|
/**
|
|
@@ -50,28 +49,28 @@ export declare class ColumnMetadataHandler {
|
|
|
50
49
|
*
|
|
51
50
|
* Costo: 1 scan ColumnsList, 1 scan EsThs, 1 scan EsTds
|
|
52
51
|
*
|
|
53
|
-
* @param {
|
|
54
|
-
* @param {
|
|
52
|
+
* @param {EsThDirective[]} ths Header della tabella
|
|
53
|
+
* @param {EsTdDirective[]} tds Celle della tabella
|
|
55
54
|
* @param {AppSearch<any>} view AppSearch da utilizzare per questa operazione
|
|
56
55
|
*/
|
|
57
|
-
refreshColumnsVisibility(ths:
|
|
56
|
+
refreshColumnsVisibility(ths: EsThDirective[], tds: EsTdDirective[], view: AppSearch<any>): void;
|
|
58
57
|
/**
|
|
59
58
|
* Allinea gli ordinamenti dati fra le **EsThs** e le informazioni all'interno della View bindata
|
|
60
59
|
*
|
|
61
60
|
* @param {AppSearch<any>} view AppSearch da utilizzare per questa operazione
|
|
62
|
-
* @param {
|
|
61
|
+
* @param {EsThDirective[]} ths Colonne della tabella
|
|
63
62
|
*/
|
|
64
|
-
alignHeadersOrdering(ths:
|
|
63
|
+
alignHeadersOrdering(ths: EsThDirective[], view: AppSearch<any>): void;
|
|
65
64
|
/**
|
|
66
65
|
* Genera tutte le informazioni che servono per gestire il raggruppamento degli header
|
|
67
66
|
*
|
|
68
|
-
* @param {
|
|
67
|
+
* @param {EsThDirective[]} ths Colonne della tabella
|
|
69
68
|
*
|
|
70
|
-
* @returns {{ leafs:
|
|
69
|
+
* @returns {{ leafs: EsThDirective[], groupingLevel: number, parentsCache: any, thsCache: any }} Oggetto contenente la lista delle foglie (header base), il livello
|
|
71
70
|
* massimo di raggruppamento raggiunto, una cache in cui vengono indicati tutti i gruppi che sono "parent" (quindi che raggruppano almeno 1 header) e la cache degli header
|
|
72
71
|
*/
|
|
73
|
-
evaluateHeadersGroupingInfos(ths:
|
|
74
|
-
leafs:
|
|
72
|
+
evaluateHeadersGroupingInfos(ths: EsThDirective[]): {
|
|
73
|
+
leafs: EsThDirective[];
|
|
75
74
|
groupingLevel: number;
|
|
76
75
|
parentsCache: any;
|
|
77
76
|
thsCache: any;
|
|
@@ -79,10 +78,10 @@ export declare class ColumnMetadataHandler {
|
|
|
79
78
|
/**
|
|
80
79
|
* Genera gli header groups da una lista di info sui th all'interno della variabile **TMPRowThGroups**
|
|
81
80
|
*
|
|
82
|
-
* @param {{ leafs:
|
|
81
|
+
* @param {{ leafs: EsThDirective[], groupingLevel: number, parentsCache: any, thsCache: any }} infos Informazioni di raggruppamento valutate precedentemente
|
|
83
82
|
*/
|
|
84
83
|
evaluateHeaderGroups(infos: {
|
|
85
|
-
leafs:
|
|
84
|
+
leafs: EsThDirective[];
|
|
86
85
|
groupingLevel: number;
|
|
87
86
|
parentsCache: any;
|
|
88
87
|
thsCache: any;
|
|
@@ -99,7 +98,7 @@ export declare class ColumnMetadataHandler {
|
|
|
99
98
|
*
|
|
100
99
|
* @param {AppSearch<any>} view AppSearch da utilizzare per questa operazione
|
|
101
100
|
*/
|
|
102
|
-
generateDefaultOrder(ths:
|
|
101
|
+
generateDefaultOrder(ths: EsThDirective[], view: AppSearch<any>): void;
|
|
103
102
|
/**
|
|
104
103
|
* Applica l'ordine specificato alle varie colonne
|
|
105
104
|
*
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { DateService } from "@esfaenza/extensions";
|
|
2
|
-
import { EsTh } from "../../../components/es-th/es_th.component";
|
|
3
2
|
import { EsThDirective } from "../../../directives/es_th.directive";
|
|
4
3
|
import { EsTableComponent } from "../../../components/es-table/es_table.component";
|
|
5
4
|
import { AppOrdering, AppSearch, Group, GroupOrAggregation, GroupPager, GroupRouteFragment } from "../../../domain";
|
|
@@ -31,9 +30,9 @@ export declare class RowGroupingHandler {
|
|
|
31
30
|
/**
|
|
32
31
|
* Se in modalità array applica i raggruppamenti definiti lato row-grouping
|
|
33
32
|
*
|
|
34
|
-
* @param {ths:
|
|
33
|
+
* @param {ths: EsThDirective[]} ths Header
|
|
35
34
|
*/
|
|
36
|
-
arrayModeReviewGroupings(ths:
|
|
35
|
+
arrayModeReviewGroupings(ths: EsThDirective[]): void;
|
|
37
36
|
/**
|
|
38
37
|
* Data una direttiva EsTh restituisce la lista delle aggregazioni richiesta per questa colonna o il gruppo che rappresenta
|
|
39
38
|
*
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { HashingService } from "@esfaenza/extensions";
|
|
2
|
-
import { EsTd } from "../../../components/es-td/es_td.component";
|
|
3
|
-
import { EsTh } from "../../../components/es-th/es_th.component";
|
|
4
2
|
import * as i0 from "@angular/core";
|
|
5
3
|
/** Classe di utilità per le cose comuni */
|
|
6
4
|
export declare class UtilitiesHandler {
|
|
@@ -27,20 +25,6 @@ export declare class UtilitiesHandler {
|
|
|
27
25
|
cacheAggregations(group: any): void;
|
|
28
26
|
/** Helper per spostare un oggetto di un array da un indice all'altro, in place */
|
|
29
27
|
arrayMove(array: any[], oldI: number, newI: number): void;
|
|
30
|
-
/**
|
|
31
|
-
* Helper che identifica se il td attuale è di tipo **EsTd**. In caso contrario è da considerarsi **EsTdDirective**
|
|
32
|
-
*
|
|
33
|
-
* @param {any} td Cella da valutare
|
|
34
|
-
* @returns {boolean} Restituisce **true** se il **td** è di tipo **EsTd**, **false** se è di tipo **EsTdDirective**
|
|
35
|
-
*/
|
|
36
|
-
isEsTd(td: any): td is EsTd;
|
|
37
|
-
/**
|
|
38
|
-
* Helper che identifica se il th attuale è di tipo **EsTh**. In caso contrario è da considerarsi **EsThDirective**
|
|
39
|
-
*
|
|
40
|
-
* @param {any} td Header da valutare
|
|
41
|
-
* @returns {boolean} Restituisce **true** se il **th** è di tipo **EsTh**, **false** se è di tipo **EsThDirective**
|
|
42
|
-
*/
|
|
43
|
-
isEsTh(th: any): th is EsTh;
|
|
44
28
|
/**
|
|
45
29
|
* Date le informazioni di paginazione ottiene l'array dei pulsanti
|
|
46
30
|
*
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SafeHtml } from "@angular/platform-browser";
|
|
2
|
+
export interface TdElement {
|
|
3
|
+
/** Id della cella, dev'essere lo stesso della colonna **EsTh** relativa */
|
|
4
|
+
ID: string;
|
|
5
|
+
/** Indica se è una cella interna (rigenerata programmaticamente) o no */
|
|
6
|
+
Internal?: boolean;
|
|
7
|
+
/** RouterLink qualora il click su questa cella debba navigare da qualche parte */
|
|
8
|
+
RouterLink?: any;
|
|
9
|
+
/** Valore da mostrare all'interno della cella. Se omesso verrà proiettato il contenuto dal template in cui è stata usata */
|
|
10
|
+
Display?: string;
|
|
11
|
+
/** Template Angular da istanziare per questo TD */
|
|
12
|
+
Template?: any;
|
|
13
|
+
/** Classi da applicare alla cella */
|
|
14
|
+
Class?: string;
|
|
15
|
+
/** Contenuto da mostrare proiettato dal componente padre */
|
|
16
|
+
Content?: SafeHtml;
|
|
17
|
+
/** Contesto dell'oggetto a cui si riferisce il dato visualizzato. Contiene l'hash dell'oggetto in questione */
|
|
18
|
+
Context: string;
|
|
19
|
+
}
|
package/lib/es-table.module.d.ts
CHANGED
|
@@ -21,6 +21,6 @@ import * as i17 from "@angular/cdk/drag-drop";
|
|
|
21
21
|
export declare class EsTableModule {
|
|
22
22
|
static forRoot(config?: EsTableModuleConfig): ModuleWithProviders<EsTableModule>;
|
|
23
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
|
|
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 i3.EsTableComponent, typeof i4.EsTdDirective, typeof i5.EsThDirective, typeof i6.TablePagerComponent]>;
|
|
25
25
|
static ɵinj: i0.ɵɵInjectorDeclaration<EsTableModule>;
|
|
26
26
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esfaenza/es-table",
|
|
3
|
-
"version": "13.1.
|
|
3
|
+
"version": "13.1.8",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"tslib": "^2.0.0"
|
|
6
6
|
},
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
"@angular/common": "~13.1.1",
|
|
9
9
|
"@angular/core": "~13.1.1",
|
|
10
10
|
"@angular/material": "~13.1.1",
|
|
11
|
-
"@esfaenza/extensions": "^
|
|
12
|
-
"@esfaenza/localizations": "^
|
|
11
|
+
"@esfaenza/extensions": "^13.1.3",
|
|
12
|
+
"@esfaenza/localizations": "^13.1.3",
|
|
13
13
|
"@ctrl/ngx-csv": "5.0.0",
|
|
14
|
-
"@esfaenza/ngx-contextmenu": "^
|
|
15
|
-
"@esfaenza/preferences": "^
|
|
14
|
+
"@esfaenza/ngx-contextmenu": "^13.1.3",
|
|
15
|
+
"@esfaenza/preferences": "^13.1.6",
|
|
16
16
|
"ngx-toastr": "14.2.1",
|
|
17
17
|
"ngx-bootstrap": "7.0.0",
|
|
18
18
|
"exceljs": "4.3.0",
|
package/public-api.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
export * from './lib/components/pager/table_pager.component';
|
|
2
2
|
export * from './lib/components/es-table/es_table.component';
|
|
3
|
-
export * from './lib/components/es-th/es_th.component';
|
|
4
|
-
export * from './lib/components/es-td/es_td.component';
|
|
5
3
|
export * from './lib/directives/es_td.directive';
|
|
6
4
|
export * from './lib/directives/es_th.directive';
|
|
7
5
|
export * from './lib/domain/configuration/EsTableModuleConfig';
|