@esfaenza/es-table 11.2.40 → 11.2.41

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.
@@ -2,11 +2,10 @@
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
4
  export * from './public-api';
5
- export { EsTableLoc as ɵa } from './lib/components/es-table/es_table.component.loc';
6
- export { EsTd as ɵg } from './lib/components/es-td/es_td.component';
7
- export { EsTh as ɵf } from './lib/components/es-th/es_th.component';
8
- export { TablePagerComponent as ɵh } from './lib/components/pager/table_pager.component';
9
- export { TablePagerLoc as ɵi } from './lib/components/pager/table_pager.component.loc';
10
- export { UtilitiesHandler as ɵe } from './lib/core/handlers/UtilitiesHandler';
5
+ export { EsTableLoc as ɵe } from './lib/components/es-table/es_table.component.loc';
6
+ export { EsTd as ɵh } from './lib/components/es-td/es_td.component';
7
+ export { EsTh as ɵg } from './lib/components/es-th/es_th.component';
8
+ export { TablePagerLoc as ɵa } from './lib/components/pager/table_pager.component.loc';
9
+ export { UtilitiesHandler as ɵf } from './lib/core/handlers/UtilitiesHandler';
11
10
  export { EST_DEBUG as ɵc, EST_DEFAULTS as ɵd, EST_LOCALE as ɵb } from './lib/tokens';
12
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXNmYWVuemEtZXMtdGFibGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy9lcy10YWJsZS9zcmMvZXNmYWVuemEtZXMtdGFibGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQztBQUU3QixPQUFPLEVBQUMsVUFBVSxJQUFJLEVBQUUsRUFBQyxNQUFNLGtEQUFrRCxDQUFDO0FBQ2xGLE9BQU8sRUFBQyxJQUFJLElBQUksRUFBRSxFQUFDLE1BQU0sd0NBQXdDLENBQUM7QUFDbEUs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5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljLWFwaSc7XG5cbmV4cG9ydCB7RXNUYWJsZUxvYyBhcyDJtWV9IGZyb20gJy4vbGliL2NvbXBvbmVudHMvZXMtdGFibGUvZXNfdGFibGUuY29tcG9uZW50LmxvYyc7XG5leHBvcnQge0VzVGQgYXMgybVofSBmcm9tICcuL2xpYi9jb21wb25lbnRzL2VzLXRkL2VzX3RkLmNvbXBvbmVudCc7XG5leHBvcnQge0VzVGggYXMgybVnfSBmcm9tICcuL2xpYi9jb21wb25lbnRzL2VzLXRoL2VzX3RoLmNvbXBvbmVudCc7XG5leHBvcnQge1RhYmxlUGFnZXJMb2MgYXMgybVhfSBmcm9tICcuL2xpYi9jb21wb25lbnRzL3BhZ2VyL3RhYmxlX3BhZ2VyLmNvbXBvbmVudC5sb2MnO1xuZXhwb3J0IHtVdGlsaXRpZXNIYW5kbGVyIGFzIMm1Zn0gZnJvbSAnLi9saWIvY29yZS9oYW5kbGVycy9VdGlsaXRpZXNIYW5kbGVyJztcbmV4cG9ydCB7RVNUX0RFQlVHIGFzIMm1YyxFU1RfREVGQVVMVFMgYXMgybVkLEVTVF9MT0NBTEUgYXMgybVifSBmcm9tICcuL2xpYi90b2tlbnMnOyJdfQ==
@@ -1,3 +1,4 @@
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/directives/es_td.directive';
3
4
  export * from './lib/directives/es_th.directive';
@@ -21,4 +22,4 @@ export * from './lib/domain/externals/report/ReportOrder';
21
22
  export * from './lib/domain/externals/report/ReportParam';
22
23
  export * from './lib/domain/externals/report/ReportResult';
23
24
  export * from './lib/domain/externals/report/ReportRow';
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2VzLXRhYmxlL3NyYy9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i9saWIvZG9tYWluL2V4dGVybmFscy9yZXBvcnQvUmVwb3J0T3JkZXInO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9kb21haW4vZXh0ZXJuYWxzL3JlcG9ydC9SZXBvcnRQYXJhbSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2RvbWFpbi9leHRlcm5hbHMvcmVwb3J0L1JlcG9ydFJlc3VsdCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2RvbWFpbi9leHRlcm5hbHMvcmVwb3J0L1JlcG9ydFJvdyc7Il19
@@ -1,10 +1,10 @@
1
- import { __awaiter } from 'tslib';
2
1
  import * as i0 from '@angular/core';
3
- import { Directive, TemplateRef, Input, InjectionToken, Injectable, Optional, Inject, EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, Self, ChangeDetectorRef, ContentChildren, ContentChild, Output, ViewChild, ElementRef, Renderer2, HostListener, ViewContainerRef, NgModule } from '@angular/core';
4
- import { NgControl, FormsModule } from '@angular/forms';
5
- import * as i1 from '@esfaenza/extensions';
6
- import { HashingService, UtilityService, ExportService, DateService, MessageService } from '@esfaenza/extensions';
2
+ import { InjectionToken, Injectable, Optional, Inject, EventEmitter, Component, ViewEncapsulation, ChangeDetectionStrategy, ChangeDetectorRef, Input, Output, Directive, TemplateRef, Self, ContentChildren, ContentChild, ViewChild, ElementRef, Renderer2, HostListener, ViewContainerRef, NgModule } from '@angular/core';
7
3
  import { LocalizationService, LocalizationModule } from '@esfaenza/localizations';
4
+ import * as i1 from '@esfaenza/extensions';
5
+ import { MessageService, HashingService, UtilityService, ExportService, DateService } from '@esfaenza/extensions';
6
+ import { __awaiter } from 'tslib';
7
+ import { NgControl, FormsModule } from '@angular/forms';
8
8
  import { PreferencesService } from '@esfaenza/preferences';
9
9
  import { moveItemInArray, DragDropModule } from '@angular/cdk/drag-drop';
10
10
  import { CommonModule } from '@angular/common';
@@ -17,6 +17,131 @@ import { BsDropdownModule } from 'ngx-bootstrap/dropdown';
17
17
  import { CsvModule } from '@ctrl/ngx-csv';
18
18
  import { ContextMenuModule } from '@esfaenza/ngx-contextmenu';
19
19
 
20
+ /** Token che indica il locale da utilizzare all'interno del componente. Supportati solo "it-IT" ed "en-US" */
21
+ const EST_LOCALE = new InjectionToken('EST_LOCALE');
22
+ /** Token che indica se emettere log a console o meno */
23
+ const EST_DEBUG = new InjectionToken('EST_DEBUG');
24
+ /** Token che indica i default da assegnare agli Input */
25
+ const EST_DEFAULTS = new InjectionToken('EST_DEFAULTS');
26
+
27
+ /** Classe di localizzazione per il componente **TablePagerComponent** */
28
+ class TablePagerLoc extends LocalizationService {
29
+ /** @ignore */
30
+ constructor(LOC_LOCALE) {
31
+ super(LOC_LOCALE !== null && LOC_LOCALE !== void 0 ? LOC_LOCALE : 'it-IT');
32
+ super.set("en->it", "All", ["Tutto"]);
33
+ super.set("en->it", "Shown Elements", ["Elementi visualizzati"]);
34
+ super.set("en->it", "Shown Groups", ["Gruppi visualizzati"]);
35
+ super.set("en->it", "Are you sure you want to retrieve all results?", ["Si è sicuri di voler caricare tutti i risultati?"]);
36
+ super.set("en->it", "This might slow down the page and possibly crash the entire application", ["L'operazione potrebbe rallentare la pagina fino al crash dell'applicazione"]);
37
+ }
38
+ }
39
+ TablePagerLoc.decorators = [
40
+ { type: Injectable }
41
+ ];
42
+ TablePagerLoc.ctorParameters = () => [
43
+ { type: String, decorators: [{ type: Optional }, { type: Inject, args: [EST_LOCALE,] }] }
44
+ ];
45
+
46
+ // Angular
47
+ /** Componente che si occupa della paginazione di una tabella */
48
+ class TablePagerComponent {
49
+ /** @ignore */
50
+ constructor(msgExts, lc, cdr, locale) {
51
+ this.msgExts = msgExts;
52
+ this.lc = lc;
53
+ this.cdr = cdr;
54
+ this.locale = locale;
55
+ /** Indica se deve mostrare un warning quando si cercano di solezionare come elementi da visualizzare "Tutti" */
56
+ this.WarnOnAll = true;
57
+ /** Indica se dare la possibilità o meno di selezionare "Tutti" nelle opzioni di paginazione */
58
+ this.AllSearch = true;
59
+ /** Placeholder che identifica il "Tutti" */
60
+ this.DefaultAll = 999999;
61
+ /** Indica se attivare la modalità gruppo con stili più snelli per apparire sotto ai raggruppamenti */
62
+ this.GroupMode = false;
63
+ /** Indica se utilizzare il conteggio dei gruppi o degli oggetti */
64
+ this.GroupCount = false;
65
+ /** Indica il testo che va a sostituire "Oggetti Visualizzati" in caso si stia facendo qualcosa di custom, Ignorato in caso di gruppi */
66
+ this.CountLabel = null;
67
+ /** Indica se visualizzare il numero totale di oggeti presenti */
68
+ this.ShowCount = true;
69
+ /** Indica se visualizzare il numero totale di oggeti presenti */
70
+ this.ShowPaging = true;
71
+ /** Output invocato quando il numero di elementi per pagina viene modificato da un click utente */
72
+ this.pagingSelected = new EventEmitter();
73
+ /** Opzioni di paginazione */
74
+ this.PagingOptions = [10, 15, 30, 45, 100];
75
+ }
76
+ /** @ignore */
77
+ ngOnInit() {
78
+ this.Model = this.View ? (this.View.itemsperpageoverride || 15) : this.CurrentPageSize;
79
+ if (this.AllSearch)
80
+ this.PagingOptions.push(this.DefaultAll);
81
+ }
82
+ /** @ignore */
83
+ ngOnChanges(changes) {
84
+ let newView = changes['View'];
85
+ let newCPS = changes['CurrentPageSize'];
86
+ if ((newView && !newView.firstChange) || (newCPS && !newCPS.firstChange))
87
+ this.Model = (newView === null || newView === void 0 ? void 0 : newView.currentValue) ? (newView.currentValue.itemsperpageoverride || 15) : (newCPS === null || newCPS === void 0 ? void 0 : newCPS.currentValue) ? newCPS.currentValue : null;
88
+ }
89
+ /**
90
+ * Funzione richiamata dal template quando un utente clicca su un numero di paginazione.
91
+ *
92
+ * Cliccare 2 volte sullo stesso numero causa comunque un refresh dei dati
93
+ *
94
+ * @param {number} pageSize Dimensione selezionata lato UI
95
+ */
96
+ choice(pageSize) {
97
+ if (pageSize == this.DefaultAll && this.WarnOnAll) {
98
+ this.msgExts.simpleWarningWithChoice(this.lc.loc("Are you sure you want to retrieve all results?"), this.lc.loc("This might slow down the page and possibly crash the entire application"), () => { this.pagingSelected.emit(pageSize); this.Model = pageSize; }, () => {
99
+ // Dio solo sa perché mi tocca fare sta roba... qui dentro per qualche motivo la CD non prende
100
+ let prevModel = this.Model;
101
+ this.Model = null;
102
+ this.cdr.detectChanges();
103
+ this.Model = prevModel;
104
+ this.cdr.detectChanges();
105
+ });
106
+ }
107
+ else {
108
+ this.pagingSelected.emit(pageSize);
109
+ this.Model = pageSize;
110
+ }
111
+ }
112
+ }
113
+ TablePagerComponent.decorators = [
114
+ { type: Component, args: [{
115
+ selector: "app-paging",
116
+ viewProviders: [{ provide: LocalizationService, useClass: TablePagerLoc }],
117
+ template: "<ng-container *ngIf=\"!Hidden\">\r\n <span class=\"est-fs-14\"> {{CountLabel && !GroupMode ? CountLabel : ((GroupMode ? 'Shown Groups' : 'Shown Elements') | localize : lc)}}:&nbsp;</span>\r\n <ng-container *ngIf=\"ShowPaging && Model && (Model == DefaultAll || PagerCount >= Model || PagerCount == -1)\">\r\n <mat-form-field [appearance]=\"'legacy'\" class=\"mat-paginator-page-size-select est-fs-14 est-ipp-bold\">\r\n <select matNativeControl [ngModel]=\"Model\" name=\"input\" (ngModelChange)=\"choice($event)\">\r\n <ng-container *ngFor=\"let pOpt of PagingOptions\">\r\n <option *ngIf=\"pOpt == DefaultAll || PagerCount >= pOpt || PagerCount == -1\" [value]=\"pOpt\">{{ pOpt == DefaultAll ? ('All' | localize : lc) : pOpt.toString()}}</option>\r\n </ng-container>\r\n </select>\r\n </mat-form-field>\r\n <span class=\"est-fs-14 est-ipp-bold\" *ngIf=\"ShowCount && PagerCount != -1\">&nbsp;/&nbsp;</span>\r\n </ng-container>\r\n <span class=\"est-fs-14 est-ipp-bold\" *ngIf=\"ShowCount && PagerCount != -1\">{{PagerCount | number : '0.0-0' : locale}}</span>\r\n</ng-container>",
118
+ encapsulation: ViewEncapsulation.None,
119
+ changeDetection: ChangeDetectionStrategy.OnPush,
120
+ styles: [".est-ipp-sel,.est-ipp-sel-all,.est-rg-ipp-sel,.est-rg-ipp-sel-all{color:#0275d8!important;cursor:pointer;text-decoration:none;display:block;display:inline}.est-ipp-bold{font-weight:700}.mat-paginator-page-size-select{margin:6px 4px 0;width:50px}.mat-paginator-page-size-select .mat-form-field-wrapper{height:52px!important;margin-top:-15px!important;padding:0!important}.mat-form-field-type-mat-native-select .mat-form-field-infix:after{margin-top:-5.5px!important}"]
121
+ },] }
122
+ ];
123
+ TablePagerComponent.ctorParameters = () => [
124
+ { type: MessageService },
125
+ { type: LocalizationService },
126
+ { type: ChangeDetectorRef },
127
+ { type: String, decorators: [{ type: Optional }, { type: Inject, args: [EST_LOCALE,] }] }
128
+ ];
129
+ TablePagerComponent.propDecorators = {
130
+ CurrentPageSize: [{ type: Input }],
131
+ View: [{ type: Input }],
132
+ WarnOnAll: [{ type: Input }],
133
+ AllSearch: [{ type: Input }],
134
+ DefaultAll: [{ type: Input }],
135
+ GroupMode: [{ type: Input }],
136
+ GroupCount: [{ type: Input }],
137
+ CountLabel: [{ type: Input }],
138
+ ShowCount: [{ type: Input }],
139
+ ShowPaging: [{ type: Input }],
140
+ PagerCount: [{ type: Input }],
141
+ Hidden: [{ type: Input }],
142
+ pagingSelected: [{ type: Output }]
143
+ };
144
+
20
145
  /**
21
146
  * Classe che identifica una ricerca paginata in tutte le sue sfumature (di grigio)
22
147
  */
@@ -196,13 +321,6 @@ EsThDirective.propDecorators = {
196
321
  thAggregation: [{ type: Input }]
197
322
  };
198
323
 
199
- /** Token che indica il locale da utilizzare all'interno del componente. Supportati solo "it-IT" ed "en-US" */
200
- const EST_LOCALE = new InjectionToken('EST_LOCALE');
201
- /** Token che indica se emettere log a console o meno */
202
- const EST_DEBUG = new InjectionToken('EST_DEBUG');
203
- /** Token che indica i default da assegnare agli Input */
204
- const EST_DEFAULTS = new InjectionToken('EST_DEFAULTS');
205
-
206
324
  /** Classe di localizzazione per il componente **EsTableComponent** */
207
325
  class EsTableLoc extends LocalizationService {
208
326
  /** @ignore */
@@ -3884,124 +4002,6 @@ EsTableComponent.propDecorators = {
3884
4002
  class EsTableModuleConfig {
3885
4003
  }
3886
4004
 
3887
- /** Classe di localizzazione per il componente **TablePagerComponent** */
3888
- class TablePagerLoc extends LocalizationService {
3889
- /** @ignore */
3890
- constructor(LOC_LOCALE) {
3891
- super(LOC_LOCALE !== null && LOC_LOCALE !== void 0 ? LOC_LOCALE : 'it-IT');
3892
- super.set("en->it", "All", ["Tutto"]);
3893
- super.set("en->it", "Shown Elements", ["Elementi visualizzati"]);
3894
- super.set("en->it", "Shown Groups", ["Gruppi visualizzati"]);
3895
- super.set("en->it", "Are you sure you want to retrieve all results?", ["Si è sicuri di voler caricare tutti i risultati?"]);
3896
- super.set("en->it", "This might slow down the page and possibly crash the entire application", ["L'operazione potrebbe rallentare la pagina fino al crash dell'applicazione"]);
3897
- }
3898
- }
3899
- TablePagerLoc.decorators = [
3900
- { type: Injectable }
3901
- ];
3902
- TablePagerLoc.ctorParameters = () => [
3903
- { type: String, decorators: [{ type: Optional }, { type: Inject, args: [EST_LOCALE,] }] }
3904
- ];
3905
-
3906
- // Angular
3907
- /** Componente che si occupa della paginazione di una tabella */
3908
- class TablePagerComponent {
3909
- /** @ignore */
3910
- constructor(msgExts, lc, cdr, locale) {
3911
- this.msgExts = msgExts;
3912
- this.lc = lc;
3913
- this.cdr = cdr;
3914
- this.locale = locale;
3915
- /** Indica se deve mostrare un warning quando si cercano di solezionare come elementi da visualizzare "Tutti" */
3916
- this.WarnOnAll = true;
3917
- /** Indica se dare la possibilità o meno di selezionare "Tutti" nelle opzioni di paginazione */
3918
- this.AllSearch = true;
3919
- /** Placeholder che identifica il "Tutti" */
3920
- this.DefaultAll = 999999;
3921
- /** Indica se attivare la modalità gruppo con stili più snelli per apparire sotto ai raggruppamenti */
3922
- this.GroupMode = false;
3923
- /** Indica se utilizzare il conteggio dei gruppi o degli oggetti */
3924
- this.GroupCount = false;
3925
- /** Indica il testo che va a sostituire "Oggetti Visualizzati" in caso si stia facendo qualcosa di custom, Ignorato in caso di gruppi */
3926
- this.CountLabel = null;
3927
- /** Indica se visualizzare il numero totale di oggeti presenti */
3928
- this.ShowCount = true;
3929
- /** Indica se visualizzare il numero totale di oggeti presenti */
3930
- this.ShowPaging = true;
3931
- /** Output invocato quando il numero di elementi per pagina viene modificato da un click utente */
3932
- this.pagingSelected = new EventEmitter();
3933
- /** Opzioni di paginazione */
3934
- this.PagingOptions = [10, 15, 30, 45, 100];
3935
- }
3936
- /** @ignore */
3937
- ngOnInit() {
3938
- this.Model = this.View ? (this.View.itemsperpageoverride || 15) : this.CurrentPageSize;
3939
- if (this.AllSearch)
3940
- this.PagingOptions.push(this.DefaultAll);
3941
- }
3942
- /** @ignore */
3943
- ngOnChanges(changes) {
3944
- let newView = changes['View'];
3945
- let newCPS = changes['CurrentPageSize'];
3946
- if ((newView && !newView.firstChange) || (newCPS && !newCPS.firstChange))
3947
- this.Model = (newView === null || newView === void 0 ? void 0 : newView.currentValue) ? (newView.currentValue.itemsperpageoverride || 15) : (newCPS === null || newCPS === void 0 ? void 0 : newCPS.currentValue) ? newCPS.currentValue : null;
3948
- }
3949
- /**
3950
- * Funzione richiamata dal template quando un utente clicca su un numero di paginazione.
3951
- *
3952
- * Cliccare 2 volte sullo stesso numero causa comunque un refresh dei dati
3953
- *
3954
- * @param {number} pageSize Dimensione selezionata lato UI
3955
- */
3956
- choice(pageSize) {
3957
- if (pageSize == this.DefaultAll && this.WarnOnAll) {
3958
- this.msgExts.simpleWarningWithChoice(this.lc.loc("Are you sure you want to retrieve all results?"), this.lc.loc("This might slow down the page and possibly crash the entire application"), () => { this.pagingSelected.emit(pageSize); this.Model = pageSize; }, () => {
3959
- // Dio solo sa perché mi tocca fare sta roba... qui dentro per qualche motivo la CD non prende
3960
- let prevModel = this.Model;
3961
- this.Model = null;
3962
- this.cdr.detectChanges();
3963
- this.Model = prevModel;
3964
- this.cdr.detectChanges();
3965
- });
3966
- }
3967
- else {
3968
- this.pagingSelected.emit(pageSize);
3969
- this.Model = pageSize;
3970
- }
3971
- }
3972
- }
3973
- TablePagerComponent.decorators = [
3974
- { type: Component, args: [{
3975
- selector: "app-paging",
3976
- viewProviders: [{ provide: LocalizationService, useClass: TablePagerLoc }],
3977
- template: "<ng-container *ngIf=\"!Hidden\">\r\n <span class=\"est-fs-14\"> {{CountLabel && !GroupMode ? CountLabel : ((GroupMode ? 'Shown Groups' : 'Shown Elements') | localize : lc)}}:&nbsp;</span>\r\n <ng-container *ngIf=\"ShowPaging && Model && (Model == DefaultAll || PagerCount >= Model || PagerCount == -1)\">\r\n <mat-form-field [appearance]=\"'legacy'\" class=\"mat-paginator-page-size-select est-fs-14 est-ipp-bold\">\r\n <select matNativeControl [ngModel]=\"Model\" name=\"input\" (ngModelChange)=\"choice($event)\">\r\n <ng-container *ngFor=\"let pOpt of PagingOptions\">\r\n <option *ngIf=\"pOpt == DefaultAll || PagerCount >= pOpt || PagerCount == -1\" [value]=\"pOpt\">{{ pOpt == DefaultAll ? ('All' | localize : lc) : pOpt.toString()}}</option>\r\n </ng-container>\r\n </select>\r\n </mat-form-field>\r\n <span class=\"est-fs-14 est-ipp-bold\" *ngIf=\"ShowCount && PagerCount != -1\">&nbsp;/&nbsp;</span>\r\n </ng-container>\r\n <span class=\"est-fs-14 est-ipp-bold\" *ngIf=\"ShowCount && PagerCount != -1\">{{PagerCount | number : '0.0-0' : locale}}</span>\r\n</ng-container>",
3978
- encapsulation: ViewEncapsulation.None,
3979
- changeDetection: ChangeDetectionStrategy.OnPush,
3980
- styles: [".est-ipp-sel,.est-ipp-sel-all,.est-rg-ipp-sel,.est-rg-ipp-sel-all{color:#0275d8!important;cursor:pointer;text-decoration:none;display:block;display:inline}.est-ipp-bold{font-weight:700}.mat-paginator-page-size-select{margin:6px 4px 0;width:50px}.mat-paginator-page-size-select .mat-form-field-wrapper{height:52px!important;margin-top:-15px!important;padding:0!important}.mat-form-field-type-mat-native-select .mat-form-field-infix:after{margin-top:-5.5px!important}"]
3981
- },] }
3982
- ];
3983
- TablePagerComponent.ctorParameters = () => [
3984
- { type: MessageService },
3985
- { type: LocalizationService },
3986
- { type: ChangeDetectorRef },
3987
- { type: String, decorators: [{ type: Optional }, { type: Inject, args: [EST_LOCALE,] }] }
3988
- ];
3989
- TablePagerComponent.propDecorators = {
3990
- CurrentPageSize: [{ type: Input }],
3991
- View: [{ type: Input }],
3992
- WarnOnAll: [{ type: Input }],
3993
- AllSearch: [{ type: Input }],
3994
- DefaultAll: [{ type: Input }],
3995
- GroupMode: [{ type: Input }],
3996
- GroupCount: [{ type: Input }],
3997
- CountLabel: [{ type: Input }],
3998
- ShowCount: [{ type: Input }],
3999
- ShowPaging: [{ type: Input }],
4000
- PagerCount: [{ type: Input }],
4001
- Hidden: [{ type: Input }],
4002
- pagingSelected: [{ type: Output }]
4003
- };
4004
-
4005
4005
  //Angular
4006
4006
  /** Componente rappresentante una Colonna della tabella */
4007
4007
  class EsTh {
@@ -4320,5 +4320,5 @@ class ReportRow {
4320
4320
  * Generated bundle index. Do not edit.
4321
4321
  */
4322
4322
 
4323
- export { AppOrdering, AppSearch, CornerMenuOption, EsTableColumnsDefinition, EsTableComponent, EsTableDefaultable, EsTableModule, EsTableModuleConfig, EsTableOperationDefinition, EsTdDirective, EsThDirective, GenericItem, Group, GroupAggregation, GroupFilter, GroupOrAggregation, ItemsSelection, ReportColumn, ReportDefinition, ReportOrder, ReportParam, ReportResult, ReportRow, EsTableLoc as ɵa, EST_LOCALE as ɵb, EST_DEBUG as ɵc, EST_DEFAULTS as ɵd, UtilitiesHandler as ɵe, EsTh as ɵf, EsTd as ɵg, TablePagerComponent as ɵh, TablePagerLoc as ɵi };
4323
+ export { AppOrdering, AppSearch, CornerMenuOption, EsTableColumnsDefinition, EsTableComponent, EsTableDefaultable, EsTableModule, EsTableModuleConfig, EsTableOperationDefinition, EsTdDirective, EsThDirective, GenericItem, Group, GroupAggregation, GroupFilter, GroupOrAggregation, ItemsSelection, ReportColumn, ReportDefinition, ReportOrder, ReportParam, ReportResult, ReportRow, TablePagerComponent, TablePagerLoc as ɵa, EST_LOCALE as ɵb, EST_DEBUG as ɵc, EST_DEFAULTS as ɵd, EsTableLoc as ɵe, UtilitiesHandler as ɵf, EsTh as ɵg, EsTd as ɵh };
4324
4324
  //# sourceMappingURL=esfaenza-es-table.js.map