@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.
- package/bundles/esfaenza-es-table.umd.js +140 -140
- package/bundles/esfaenza-es-table.umd.js.map +1 -1
- package/bundles/esfaenza-es-table.umd.min.js +1 -1
- package/bundles/esfaenza-es-table.umd.min.js.map +1 -1
- package/esfaenza-es-table.d.ts +5 -6
- package/esfaenza-es-table.metadata.json +1 -1
- package/esm2015/esfaenza-es-table.js +6 -7
- package/esm2015/public-api.js +2 -1
- package/fesm2015/esfaenza-es-table.js +131 -131
- package/fesm2015/esfaenza-es-table.js.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@esfaenza/es-table', ['exports', '@angular/core', '@
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.esfaenza = global.esfaenza || {}, global.esfaenza['es-table'] = {}), global.ng.core, global.
|
|
5
|
-
}(this, (function (exports, i0,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@esfaenza/localizations'), require('@esfaenza/extensions'), require('@angular/forms'), require('@esfaenza/preferences'), require('@angular/cdk/drag-drop'), require('@angular/common'), require('@angular/router'), require('@angular/material/select'), require('@angular/material/input'), require('@angular/platform-browser'), require('ngx-bootstrap/modal'), require('ngx-bootstrap/dropdown'), require('@ctrl/ngx-csv'), require('@esfaenza/ngx-contextmenu')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@esfaenza/es-table', ['exports', '@angular/core', '@esfaenza/localizations', '@esfaenza/extensions', '@angular/forms', '@esfaenza/preferences', '@angular/cdk/drag-drop', '@angular/common', '@angular/router', '@angular/material/select', '@angular/material/input', '@angular/platform-browser', 'ngx-bootstrap/modal', 'ngx-bootstrap/dropdown', '@ctrl/ngx-csv', '@esfaenza/ngx-contextmenu'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.esfaenza = global.esfaenza || {}, global.esfaenza['es-table'] = {}), global.ng.core, global.localizations, global.i1, global.ng.forms, global.preferences, global.ng.cdk.dragDrop, global.ng.common, global.ng.router, global.ng.material.select, global.ng.material.input, global.ng.platformBrowser, global.modal, global.dropdown, global.ngxCsv, global.ngxContextmenu));
|
|
5
|
+
}(this, (function (exports, i0, localizations, i1, forms, preferences, dragDrop, common, router, select, input, platformBrowser, modal, dropdown, ngxCsv, ngxContextmenu) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -336,6 +336,136 @@
|
|
|
336
336
|
return value;
|
|
337
337
|
}
|
|
338
338
|
|
|
339
|
+
/** Token che indica il locale da utilizzare all'interno del componente. Supportati solo "it-IT" ed "en-US" */
|
|
340
|
+
var EST_LOCALE = new i0.InjectionToken('EST_LOCALE');
|
|
341
|
+
/** Token che indica se emettere log a console o meno */
|
|
342
|
+
var EST_DEBUG = new i0.InjectionToken('EST_DEBUG');
|
|
343
|
+
/** Token che indica i default da assegnare agli Input */
|
|
344
|
+
var EST_DEFAULTS = new i0.InjectionToken('EST_DEFAULTS');
|
|
345
|
+
|
|
346
|
+
/** Classe di localizzazione per il componente **TablePagerComponent** */
|
|
347
|
+
var TablePagerLoc = /** @class */ (function (_super) {
|
|
348
|
+
__extends(TablePagerLoc, _super);
|
|
349
|
+
/** @ignore */
|
|
350
|
+
function TablePagerLoc(LOC_LOCALE) {
|
|
351
|
+
var _this = _super.call(this, LOC_LOCALE !== null && LOC_LOCALE !== void 0 ? LOC_LOCALE : 'it-IT') || this;
|
|
352
|
+
_super.prototype.set.call(_this, "en->it", "All", ["Tutto"]);
|
|
353
|
+
_super.prototype.set.call(_this, "en->it", "Shown Elements", ["Elementi visualizzati"]);
|
|
354
|
+
_super.prototype.set.call(_this, "en->it", "Shown Groups", ["Gruppi visualizzati"]);
|
|
355
|
+
_super.prototype.set.call(_this, "en->it", "Are you sure you want to retrieve all results?", ["Si è sicuri di voler caricare tutti i risultati?"]);
|
|
356
|
+
_super.prototype.set.call(_this, "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"]);
|
|
357
|
+
return _this;
|
|
358
|
+
}
|
|
359
|
+
return TablePagerLoc;
|
|
360
|
+
}(localizations.LocalizationService));
|
|
361
|
+
TablePagerLoc.decorators = [
|
|
362
|
+
{ type: i0.Injectable }
|
|
363
|
+
];
|
|
364
|
+
TablePagerLoc.ctorParameters = function () { return [
|
|
365
|
+
{ type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [EST_LOCALE,] }] }
|
|
366
|
+
]; };
|
|
367
|
+
|
|
368
|
+
// Angular
|
|
369
|
+
/** Componente che si occupa della paginazione di una tabella */
|
|
370
|
+
var TablePagerComponent = /** @class */ (function () {
|
|
371
|
+
/** @ignore */
|
|
372
|
+
function TablePagerComponent(msgExts, lc, cdr, locale) {
|
|
373
|
+
this.msgExts = msgExts;
|
|
374
|
+
this.lc = lc;
|
|
375
|
+
this.cdr = cdr;
|
|
376
|
+
this.locale = locale;
|
|
377
|
+
/** Indica se deve mostrare un warning quando si cercano di solezionare come elementi da visualizzare "Tutti" */
|
|
378
|
+
this.WarnOnAll = true;
|
|
379
|
+
/** Indica se dare la possibilità o meno di selezionare "Tutti" nelle opzioni di paginazione */
|
|
380
|
+
this.AllSearch = true;
|
|
381
|
+
/** Placeholder che identifica il "Tutti" */
|
|
382
|
+
this.DefaultAll = 999999;
|
|
383
|
+
/** Indica se attivare la modalità gruppo con stili più snelli per apparire sotto ai raggruppamenti */
|
|
384
|
+
this.GroupMode = false;
|
|
385
|
+
/** Indica se utilizzare il conteggio dei gruppi o degli oggetti */
|
|
386
|
+
this.GroupCount = false;
|
|
387
|
+
/** Indica il testo che va a sostituire "Oggetti Visualizzati" in caso si stia facendo qualcosa di custom, Ignorato in caso di gruppi */
|
|
388
|
+
this.CountLabel = null;
|
|
389
|
+
/** Indica se visualizzare il numero totale di oggeti presenti */
|
|
390
|
+
this.ShowCount = true;
|
|
391
|
+
/** Indica se visualizzare il numero totale di oggeti presenti */
|
|
392
|
+
this.ShowPaging = true;
|
|
393
|
+
/** Output invocato quando il numero di elementi per pagina viene modificato da un click utente */
|
|
394
|
+
this.pagingSelected = new i0.EventEmitter();
|
|
395
|
+
/** Opzioni di paginazione */
|
|
396
|
+
this.PagingOptions = [10, 15, 30, 45, 100];
|
|
397
|
+
}
|
|
398
|
+
/** @ignore */
|
|
399
|
+
TablePagerComponent.prototype.ngOnInit = function () {
|
|
400
|
+
this.Model = this.View ? (this.View.itemsperpageoverride || 15) : this.CurrentPageSize;
|
|
401
|
+
if (this.AllSearch)
|
|
402
|
+
this.PagingOptions.push(this.DefaultAll);
|
|
403
|
+
};
|
|
404
|
+
/** @ignore */
|
|
405
|
+
TablePagerComponent.prototype.ngOnChanges = function (changes) {
|
|
406
|
+
var newView = changes['View'];
|
|
407
|
+
var newCPS = changes['CurrentPageSize'];
|
|
408
|
+
if ((newView && !newView.firstChange) || (newCPS && !newCPS.firstChange))
|
|
409
|
+
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;
|
|
410
|
+
};
|
|
411
|
+
/**
|
|
412
|
+
* Funzione richiamata dal template quando un utente clicca su un numero di paginazione.
|
|
413
|
+
*
|
|
414
|
+
* Cliccare 2 volte sullo stesso numero causa comunque un refresh dei dati
|
|
415
|
+
*
|
|
416
|
+
* @param {number} pageSize Dimensione selezionata lato UI
|
|
417
|
+
*/
|
|
418
|
+
TablePagerComponent.prototype.choice = function (pageSize) {
|
|
419
|
+
var _this = this;
|
|
420
|
+
if (pageSize == this.DefaultAll && this.WarnOnAll) {
|
|
421
|
+
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"), function () { _this.pagingSelected.emit(pageSize); _this.Model = pageSize; }, function () {
|
|
422
|
+
// Dio solo sa perché mi tocca fare sta roba... qui dentro per qualche motivo la CD non prende
|
|
423
|
+
var prevModel = _this.Model;
|
|
424
|
+
_this.Model = null;
|
|
425
|
+
_this.cdr.detectChanges();
|
|
426
|
+
_this.Model = prevModel;
|
|
427
|
+
_this.cdr.detectChanges();
|
|
428
|
+
});
|
|
429
|
+
}
|
|
430
|
+
else {
|
|
431
|
+
this.pagingSelected.emit(pageSize);
|
|
432
|
+
this.Model = pageSize;
|
|
433
|
+
}
|
|
434
|
+
};
|
|
435
|
+
return TablePagerComponent;
|
|
436
|
+
}());
|
|
437
|
+
TablePagerComponent.decorators = [
|
|
438
|
+
{ type: i0.Component, args: [{
|
|
439
|
+
selector: "app-paging",
|
|
440
|
+
viewProviders: [{ provide: localizations.LocalizationService, useClass: TablePagerLoc }],
|
|
441
|
+
template: "<ng-container *ngIf=\"!Hidden\">\r\n <span class=\"est-fs-14\"> {{CountLabel && !GroupMode ? CountLabel : ((GroupMode ? 'Shown Groups' : 'Shown Elements') | localize : lc)}}: </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\"> / </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>",
|
|
442
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
443
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
444
|
+
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}"]
|
|
445
|
+
},] }
|
|
446
|
+
];
|
|
447
|
+
TablePagerComponent.ctorParameters = function () { return [
|
|
448
|
+
{ type: i1.MessageService },
|
|
449
|
+
{ type: localizations.LocalizationService },
|
|
450
|
+
{ type: i0.ChangeDetectorRef },
|
|
451
|
+
{ type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [EST_LOCALE,] }] }
|
|
452
|
+
]; };
|
|
453
|
+
TablePagerComponent.propDecorators = {
|
|
454
|
+
CurrentPageSize: [{ type: i0.Input }],
|
|
455
|
+
View: [{ type: i0.Input }],
|
|
456
|
+
WarnOnAll: [{ type: i0.Input }],
|
|
457
|
+
AllSearch: [{ type: i0.Input }],
|
|
458
|
+
DefaultAll: [{ type: i0.Input }],
|
|
459
|
+
GroupMode: [{ type: i0.Input }],
|
|
460
|
+
GroupCount: [{ type: i0.Input }],
|
|
461
|
+
CountLabel: [{ type: i0.Input }],
|
|
462
|
+
ShowCount: [{ type: i0.Input }],
|
|
463
|
+
ShowPaging: [{ type: i0.Input }],
|
|
464
|
+
PagerCount: [{ type: i0.Input }],
|
|
465
|
+
Hidden: [{ type: i0.Input }],
|
|
466
|
+
pagingSelected: [{ type: i0.Output }]
|
|
467
|
+
};
|
|
468
|
+
|
|
339
469
|
/**
|
|
340
470
|
* Classe che identifica una ricerca paginata in tutte le sue sfumature (di grigio)
|
|
341
471
|
*/
|
|
@@ -526,13 +656,6 @@
|
|
|
526
656
|
thAggregation: [{ type: i0.Input }]
|
|
527
657
|
};
|
|
528
658
|
|
|
529
|
-
/** Token che indica il locale da utilizzare all'interno del componente. Supportati solo "it-IT" ed "en-US" */
|
|
530
|
-
var EST_LOCALE = new i0.InjectionToken('EST_LOCALE');
|
|
531
|
-
/** Token che indica se emettere log a console o meno */
|
|
532
|
-
var EST_DEBUG = new i0.InjectionToken('EST_DEBUG');
|
|
533
|
-
/** Token che indica i default da assegnare agli Input */
|
|
534
|
-
var EST_DEFAULTS = new i0.InjectionToken('EST_DEFAULTS');
|
|
535
|
-
|
|
536
659
|
/** Classe di localizzazione per il componente **EsTableComponent** */
|
|
537
660
|
var EsTableLoc = /** @class */ (function (_super) {
|
|
538
661
|
__extends(EsTableLoc, _super);
|
|
@@ -4402,129 +4525,6 @@
|
|
|
4402
4525
|
return EsTableModuleConfig;
|
|
4403
4526
|
}());
|
|
4404
4527
|
|
|
4405
|
-
/** Classe di localizzazione per il componente **TablePagerComponent** */
|
|
4406
|
-
var TablePagerLoc = /** @class */ (function (_super) {
|
|
4407
|
-
__extends(TablePagerLoc, _super);
|
|
4408
|
-
/** @ignore */
|
|
4409
|
-
function TablePagerLoc(LOC_LOCALE) {
|
|
4410
|
-
var _this = _super.call(this, LOC_LOCALE !== null && LOC_LOCALE !== void 0 ? LOC_LOCALE : 'it-IT') || this;
|
|
4411
|
-
_super.prototype.set.call(_this, "en->it", "All", ["Tutto"]);
|
|
4412
|
-
_super.prototype.set.call(_this, "en->it", "Shown Elements", ["Elementi visualizzati"]);
|
|
4413
|
-
_super.prototype.set.call(_this, "en->it", "Shown Groups", ["Gruppi visualizzati"]);
|
|
4414
|
-
_super.prototype.set.call(_this, "en->it", "Are you sure you want to retrieve all results?", ["Si è sicuri di voler caricare tutti i risultati?"]);
|
|
4415
|
-
_super.prototype.set.call(_this, "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"]);
|
|
4416
|
-
return _this;
|
|
4417
|
-
}
|
|
4418
|
-
return TablePagerLoc;
|
|
4419
|
-
}(localizations.LocalizationService));
|
|
4420
|
-
TablePagerLoc.decorators = [
|
|
4421
|
-
{ type: i0.Injectable }
|
|
4422
|
-
];
|
|
4423
|
-
TablePagerLoc.ctorParameters = function () { return [
|
|
4424
|
-
{ type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [EST_LOCALE,] }] }
|
|
4425
|
-
]; };
|
|
4426
|
-
|
|
4427
|
-
// Angular
|
|
4428
|
-
/** Componente che si occupa della paginazione di una tabella */
|
|
4429
|
-
var TablePagerComponent = /** @class */ (function () {
|
|
4430
|
-
/** @ignore */
|
|
4431
|
-
function TablePagerComponent(msgExts, lc, cdr, locale) {
|
|
4432
|
-
this.msgExts = msgExts;
|
|
4433
|
-
this.lc = lc;
|
|
4434
|
-
this.cdr = cdr;
|
|
4435
|
-
this.locale = locale;
|
|
4436
|
-
/** Indica se deve mostrare un warning quando si cercano di solezionare come elementi da visualizzare "Tutti" */
|
|
4437
|
-
this.WarnOnAll = true;
|
|
4438
|
-
/** Indica se dare la possibilità o meno di selezionare "Tutti" nelle opzioni di paginazione */
|
|
4439
|
-
this.AllSearch = true;
|
|
4440
|
-
/** Placeholder che identifica il "Tutti" */
|
|
4441
|
-
this.DefaultAll = 999999;
|
|
4442
|
-
/** Indica se attivare la modalità gruppo con stili più snelli per apparire sotto ai raggruppamenti */
|
|
4443
|
-
this.GroupMode = false;
|
|
4444
|
-
/** Indica se utilizzare il conteggio dei gruppi o degli oggetti */
|
|
4445
|
-
this.GroupCount = false;
|
|
4446
|
-
/** Indica il testo che va a sostituire "Oggetti Visualizzati" in caso si stia facendo qualcosa di custom, Ignorato in caso di gruppi */
|
|
4447
|
-
this.CountLabel = null;
|
|
4448
|
-
/** Indica se visualizzare il numero totale di oggeti presenti */
|
|
4449
|
-
this.ShowCount = true;
|
|
4450
|
-
/** Indica se visualizzare il numero totale di oggeti presenti */
|
|
4451
|
-
this.ShowPaging = true;
|
|
4452
|
-
/** Output invocato quando il numero di elementi per pagina viene modificato da un click utente */
|
|
4453
|
-
this.pagingSelected = new i0.EventEmitter();
|
|
4454
|
-
/** Opzioni di paginazione */
|
|
4455
|
-
this.PagingOptions = [10, 15, 30, 45, 100];
|
|
4456
|
-
}
|
|
4457
|
-
/** @ignore */
|
|
4458
|
-
TablePagerComponent.prototype.ngOnInit = function () {
|
|
4459
|
-
this.Model = this.View ? (this.View.itemsperpageoverride || 15) : this.CurrentPageSize;
|
|
4460
|
-
if (this.AllSearch)
|
|
4461
|
-
this.PagingOptions.push(this.DefaultAll);
|
|
4462
|
-
};
|
|
4463
|
-
/** @ignore */
|
|
4464
|
-
TablePagerComponent.prototype.ngOnChanges = function (changes) {
|
|
4465
|
-
var newView = changes['View'];
|
|
4466
|
-
var newCPS = changes['CurrentPageSize'];
|
|
4467
|
-
if ((newView && !newView.firstChange) || (newCPS && !newCPS.firstChange))
|
|
4468
|
-
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;
|
|
4469
|
-
};
|
|
4470
|
-
/**
|
|
4471
|
-
* Funzione richiamata dal template quando un utente clicca su un numero di paginazione.
|
|
4472
|
-
*
|
|
4473
|
-
* Cliccare 2 volte sullo stesso numero causa comunque un refresh dei dati
|
|
4474
|
-
*
|
|
4475
|
-
* @param {number} pageSize Dimensione selezionata lato UI
|
|
4476
|
-
*/
|
|
4477
|
-
TablePagerComponent.prototype.choice = function (pageSize) {
|
|
4478
|
-
var _this = this;
|
|
4479
|
-
if (pageSize == this.DefaultAll && this.WarnOnAll) {
|
|
4480
|
-
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"), function () { _this.pagingSelected.emit(pageSize); _this.Model = pageSize; }, function () {
|
|
4481
|
-
// Dio solo sa perché mi tocca fare sta roba... qui dentro per qualche motivo la CD non prende
|
|
4482
|
-
var prevModel = _this.Model;
|
|
4483
|
-
_this.Model = null;
|
|
4484
|
-
_this.cdr.detectChanges();
|
|
4485
|
-
_this.Model = prevModel;
|
|
4486
|
-
_this.cdr.detectChanges();
|
|
4487
|
-
});
|
|
4488
|
-
}
|
|
4489
|
-
else {
|
|
4490
|
-
this.pagingSelected.emit(pageSize);
|
|
4491
|
-
this.Model = pageSize;
|
|
4492
|
-
}
|
|
4493
|
-
};
|
|
4494
|
-
return TablePagerComponent;
|
|
4495
|
-
}());
|
|
4496
|
-
TablePagerComponent.decorators = [
|
|
4497
|
-
{ type: i0.Component, args: [{
|
|
4498
|
-
selector: "app-paging",
|
|
4499
|
-
viewProviders: [{ provide: localizations.LocalizationService, useClass: TablePagerLoc }],
|
|
4500
|
-
template: "<ng-container *ngIf=\"!Hidden\">\r\n <span class=\"est-fs-14\"> {{CountLabel && !GroupMode ? CountLabel : ((GroupMode ? 'Shown Groups' : 'Shown Elements') | localize : lc)}}: </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\"> / </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>",
|
|
4501
|
-
encapsulation: i0.ViewEncapsulation.None,
|
|
4502
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
4503
|
-
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}"]
|
|
4504
|
-
},] }
|
|
4505
|
-
];
|
|
4506
|
-
TablePagerComponent.ctorParameters = function () { return [
|
|
4507
|
-
{ type: i1.MessageService },
|
|
4508
|
-
{ type: localizations.LocalizationService },
|
|
4509
|
-
{ type: i0.ChangeDetectorRef },
|
|
4510
|
-
{ type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [EST_LOCALE,] }] }
|
|
4511
|
-
]; };
|
|
4512
|
-
TablePagerComponent.propDecorators = {
|
|
4513
|
-
CurrentPageSize: [{ type: i0.Input }],
|
|
4514
|
-
View: [{ type: i0.Input }],
|
|
4515
|
-
WarnOnAll: [{ type: i0.Input }],
|
|
4516
|
-
AllSearch: [{ type: i0.Input }],
|
|
4517
|
-
DefaultAll: [{ type: i0.Input }],
|
|
4518
|
-
GroupMode: [{ type: i0.Input }],
|
|
4519
|
-
GroupCount: [{ type: i0.Input }],
|
|
4520
|
-
CountLabel: [{ type: i0.Input }],
|
|
4521
|
-
ShowCount: [{ type: i0.Input }],
|
|
4522
|
-
ShowPaging: [{ type: i0.Input }],
|
|
4523
|
-
PagerCount: [{ type: i0.Input }],
|
|
4524
|
-
Hidden: [{ type: i0.Input }],
|
|
4525
|
-
pagingSelected: [{ type: i0.Output }]
|
|
4526
|
-
};
|
|
4527
|
-
|
|
4528
4528
|
//Angular
|
|
4529
4529
|
/** Componente rappresentante una Colonna della tabella */
|
|
4530
4530
|
var EsTh = /** @class */ (function () {
|
|
@@ -4896,15 +4896,15 @@
|
|
|
4896
4896
|
exports.ReportParam = ReportParam;
|
|
4897
4897
|
exports.ReportResult = ReportResult;
|
|
4898
4898
|
exports.ReportRow = ReportRow;
|
|
4899
|
-
exports
|
|
4899
|
+
exports.TablePagerComponent = TablePagerComponent;
|
|
4900
|
+
exports.ɵa = TablePagerLoc;
|
|
4900
4901
|
exports.ɵb = EST_LOCALE;
|
|
4901
4902
|
exports.ɵc = EST_DEBUG;
|
|
4902
4903
|
exports.ɵd = EST_DEFAULTS;
|
|
4903
|
-
exports.ɵe =
|
|
4904
|
-
exports.ɵf =
|
|
4905
|
-
exports.ɵg =
|
|
4906
|
-
exports.ɵh =
|
|
4907
|
-
exports.ɵi = TablePagerLoc;
|
|
4904
|
+
exports.ɵe = EsTableLoc;
|
|
4905
|
+
exports.ɵf = UtilitiesHandler;
|
|
4906
|
+
exports.ɵg = EsTh;
|
|
4907
|
+
exports.ɵh = EsTd;
|
|
4908
4908
|
|
|
4909
4909
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4910
4910
|
|