@esfaenza/es-table 15.2.4 → 15.2.6
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.loc.mjs +6 -12
- package/esm2020/lib/components/es-table/es_table.component.mjs +9 -13
- package/esm2020/lib/components/pager/table_pager.component.loc.mjs +6 -12
- package/esm2020/lib/components/pager/table_pager.component.mjs +7 -14
- package/esm2020/lib/core/handlers/SelectionHandler.mjs +2 -2
- package/esm2020/lib/domain/configuration/EsTableModuleConfig.mjs +1 -1
- package/esm2020/lib/es-table.module.mjs +3 -6
- package/esm2020/lib/tokens.mjs +1 -3
- package/fesm2015/esfaenza-es-table.mjs +28 -59
- package/fesm2015/esfaenza-es-table.mjs.map +1 -1
- package/fesm2020/esfaenza-es-table.mjs +28 -53
- package/fesm2020/esfaenza-es-table.mjs.map +1 -1
- package/lib/components/es-table/es_table.component.d.ts +2 -3
- package/lib/components/es-table/es_table.component.loc.d.ts +3 -2
- package/lib/components/pager/table_pager.component.d.ts +2 -3
- package/lib/components/pager/table_pager.component.loc.d.ts +3 -2
- package/lib/domain/configuration/EsTableModuleConfig.d.ts +0 -2
- package/lib/tokens.d.ts +0 -2
- package/package.json +4 -4
|
@@ -44,7 +44,6 @@ export declare class EsTableComponent implements ControlValueAccessor, OnChanges
|
|
|
44
44
|
ngControl: NgControl;
|
|
45
45
|
private prefService;
|
|
46
46
|
private deafults;
|
|
47
|
-
locale: string;
|
|
48
47
|
lc: LocalizationService;
|
|
49
48
|
cdr: ChangeDetectorRef;
|
|
50
49
|
private utilities_H;
|
|
@@ -66,7 +65,7 @@ export declare class EsTableComponent implements ControlValueAccessor, OnChanges
|
|
|
66
65
|
/** @ignore */ private copySubscription;
|
|
67
66
|
/** @ignore */ private pasteSubscription;
|
|
68
67
|
/** @ignore */
|
|
69
|
-
constructor(ngControl: NgControl, prefService: PreferencesService, deafults: EsTableDefaultable,
|
|
68
|
+
constructor(ngControl: NgControl, prefService: PreferencesService, deafults: EsTableDefaultable, lc: LocalizationService, cdr: ChangeDetectorRef, utilities_H: UtilitiesHandler, utiExts: UtilityService, expExts: ExportService, dateExts: DateService, msgExts: MessageService, copyPasteDetector: CopyPasteDetector, clipboardService: ClipboardService, logger: Logger);
|
|
70
69
|
/** Subject utilizzato internamente lato EsTable per causare il Focus lato componente di Input */
|
|
71
70
|
FocusSubject: Subject<void>;
|
|
72
71
|
/** Timer che verrà impostato a **doubleClickBufferMs** per capire se è stato effettuato un click singolo o un doubleclick */
|
|
@@ -722,7 +721,7 @@ export declare class EsTableComponent implements ControlValueAccessor, OnChanges
|
|
|
722
721
|
private EsTdsCache;
|
|
723
722
|
getCellReference(object: any, column: string): EsTd;
|
|
724
723
|
registerCell(event: EsTdReference): void;
|
|
725
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EsTableComponent, [{ optional: true; self: true; }, { optional: true; }, { optional: true; },
|
|
724
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EsTableComponent, [{ optional: true; self: true; }, { optional: true; }, { optional: true; }, null, null, null, null, null, null, null, null, null, null]>;
|
|
726
725
|
static ɵcmp: i0.ɵɵComponentDeclaration<EsTableComponent, "es-table", never, { "EsTableTemplate": "EsTableTemplate"; "CornerMenuOptions": "CornerMenuOptions"; "ColumnsResizable": "ColumnsResizable"; "ColumnsPinnable": "ColumnsPinnable"; "AutoUpdate": "AutoUpdate"; "Height": "Height"; "EmptySpaceBackgroundColor": "EmptySpaceBackgroundColor"; "EsTableHandledSearch": "EsTableHandledSearch"; "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"; "ExportOnlyVisibleColumns": "ExportOnlyVisibleColumns"; "HasHeaderGroup": "HasHeaderGroup"; "HasSecondaryHeaderGroup": "HasSecondaryHeaderGroup"; "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"; "DefaultAlignment": "DefaultAlignment"; "PagingStyle": "PagingStyle"; "RowGroupingPagingStyle": "RowGroupingPagingStyle"; "ItemSourceProperty": "ItemSourceProperty"; "UseSelectionCache": "UseSelectionCache"; "ShowItemGroupsColumns": "ShowItemGroupsColumns"; "Editable": "Editable"; "RangeSelection": "RangeSelection"; "SearchThrottle": "SearchThrottle"; "ArraymodeItemsPerPage": "ArraymodeItemsPerPage"; }, { "onOrderChanged": "onOrderChanged"; "onSearchRequest": "onSearchRequest"; "onSelectionChanged": "onSelectionChanged"; "onRemoval": "onRemoval"; "onAbortRemoval": "onAbortRemoval"; "onModelChange": "onModelChange"; "onOpenContextMenu": "onOpenContextMenu"; "onCornerAction": "onCornerAction"; "onDynamicOperation": "onDynamicOperation"; }, ["bodyRef", "headerRef", "headerGroupRef", "secondaryHeaderGroupRef", "EsTdEditorDirectives", "EsTdsDirective", "EsThsDirective"], never, false, never>;
|
|
727
726
|
}
|
|
728
727
|
export declare class EsTdReference {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { Injector } from "@angular/core";
|
|
1
2
|
import { LocalizationService } from "@esfaenza/localizations";
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
/** Classe di localizzazione per il componente **EsTableComponent** */
|
|
4
5
|
export declare class EsTableLoc extends LocalizationService {
|
|
5
6
|
/** @ignore */
|
|
6
|
-
constructor(
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EsTableLoc,
|
|
7
|
+
constructor(injector: Injector);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EsTableLoc, never>;
|
|
8
9
|
static ɵprov: i0.ɵɵInjectableDeclaration<EsTableLoc>;
|
|
9
10
|
}
|
|
@@ -7,7 +7,6 @@ export declare class TablePagerComponent {
|
|
|
7
7
|
private msgExts;
|
|
8
8
|
lc: LocalizationService;
|
|
9
9
|
cdr: ChangeDetectorRef;
|
|
10
|
-
locale: string;
|
|
11
10
|
/** Dimensione di pagina attuale */
|
|
12
11
|
CurrentPageSize: any;
|
|
13
12
|
/** View gestita, che può essere un IAppSearch o una ReportView */
|
|
@@ -35,7 +34,7 @@ export declare class TablePagerComponent {
|
|
|
35
34
|
/** Output invocato quando il numero di elementi per pagina viene modificato da un click utente */
|
|
36
35
|
pagingSelected: EventEmitter<number>;
|
|
37
36
|
/** @ignore */
|
|
38
|
-
constructor(msgExts: MessageService, lc: LocalizationService, cdr: ChangeDetectorRef
|
|
37
|
+
constructor(msgExts: MessageService, lc: LocalizationService, cdr: ChangeDetectorRef);
|
|
39
38
|
/** Modello su cui la select effettua operazioni di selezione */
|
|
40
39
|
Model: number;
|
|
41
40
|
/** Opzioni di paginazione */
|
|
@@ -52,6 +51,6 @@ export declare class TablePagerComponent {
|
|
|
52
51
|
* @param {number} pageSize Dimensione selezionata lato UI
|
|
53
52
|
*/
|
|
54
53
|
choice(pageSize: number): void;
|
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TablePagerComponent,
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TablePagerComponent, never>;
|
|
56
55
|
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, false, never>;
|
|
57
56
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { Injector } from "@angular/core";
|
|
1
2
|
import { LocalizationService } from "@esfaenza/localizations";
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
/** Classe di localizzazione per il componente **TablePagerComponent** */
|
|
4
5
|
export declare class TablePagerLoc extends LocalizationService {
|
|
5
6
|
/** @ignore */
|
|
6
|
-
constructor(
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TablePagerLoc,
|
|
7
|
+
constructor(injector: Injector);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TablePagerLoc, never>;
|
|
8
9
|
static ɵprov: i0.ɵɵInjectableDeclaration<TablePagerLoc>;
|
|
9
10
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { EsTableDefaultable } from "./EsTableDefaultable";
|
|
2
2
|
/** Modello di configurazione per L'EsTable */
|
|
3
3
|
export declare class EsTableModuleConfig {
|
|
4
|
-
/** Locale da utilizzare per i messaggi, supportati "it-IT" ed "en-US" */
|
|
5
|
-
locale?: string;
|
|
6
4
|
/** Indica se scrivere messaggi di log a console */
|
|
7
5
|
debugMode?: boolean;
|
|
8
6
|
/** Eventuali proprietà di default per l'EsTable */
|
package/lib/tokens.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
import { EsTableDefaultable } from './domain/configuration/EsTableDefaultable';
|
|
3
|
-
/** Token che indica il locale da utilizzare all'interno del componente. Supportati solo "it-IT" ed "en-US" */
|
|
4
|
-
export declare const EST_LOCALE: InjectionToken<string>;
|
|
5
3
|
/** Token che indica se emettere log a console o meno */
|
|
6
4
|
export declare const EST_DEBUG: InjectionToken<string>;
|
|
7
5
|
/** Token che indica i default da assegnare agli Input */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esfaenza/es-table",
|
|
3
|
-
"version": "15.2.
|
|
3
|
+
"version": "15.2.6",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"tslib": "^2.0.0"
|
|
6
6
|
},
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
"@angular/common": "^15.2.9",
|
|
9
9
|
"@angular/core": "^15.2.9",
|
|
10
10
|
"@angular/material": "^15.2.9",
|
|
11
|
-
"@esfaenza/
|
|
12
|
-
"@esfaenza/
|
|
13
|
-
"@esfaenza/forms-and-validations": "^15.2.
|
|
11
|
+
"@esfaenza/localizations": "^15.2.8",
|
|
12
|
+
"@esfaenza/extensions": "^15.2.8",
|
|
13
|
+
"@esfaenza/forms-and-validations": "^15.2.7",
|
|
14
14
|
"@esfaenza/ngx-contextmenu": "^15.2.0",
|
|
15
15
|
"@esfaenza/preferences": "^15.2.0",
|
|
16
16
|
"ngx-toastr": "16.2.0",
|