@esfaenza/es-table 15.2.5 → 15.2.7

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.
@@ -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, locale: string, lc: LocalizationService, cdr: ChangeDetectorRef, utilities_H: UtilitiesHandler, utiExts: UtilityService, expExts: ExportService, dateExts: DateService, msgExts: MessageService, copyPasteDetector: CopyPasteDetector, clipboardService: ClipboardService, logger: Logger);
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; }, { optional: true; }, null, null, null, null, null, null, null, null, null, null]>;
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(LOC_LOCALE: string);
7
- static ɵfac: i0.ɵɵFactoryDeclaration<EsTableLoc, [{ optional: true; }]>;
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, locale: string);
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, [null, null, null, { optional: true; }]>;
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(LOC_LOCALE: string);
7
- static ɵfac: i0.ɵɵFactoryDeclaration<TablePagerLoc, [{ optional: true; }]>;
7
+ constructor(injector: Injector);
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<TablePagerLoc, never>;
8
9
  static ɵprov: i0.ɵɵInjectableDeclaration<TablePagerLoc>;
9
10
  }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class EstPropInsensitivePipe implements PipeTransform {
4
+ transform(item: any, property: string): any;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<EstPropInsensitivePipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<EstPropInsensitivePipe, "est_propinsensitive", false>;
7
+ }
@@ -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 */
@@ -14,21 +14,22 @@ import * as i10 from "./components/pipes/est-lookup.pipe";
14
14
  import * as i11 from "./components/pipes/est-routerlink.pipe";
15
15
  import * as i12 from "./components/pipes/est-renderer.pipe";
16
16
  import * as i13 from "./components/pipes/est_editor.pipe";
17
- import * as i14 from "@angular/common";
18
- import * as i15 from "@angular/forms";
19
- import * as i16 from "@angular/router";
20
- import * as i17 from "@esfaenza/localizations";
21
- import * as i18 from "ngx-bootstrap/modal";
22
- import * as i19 from "ngx-bootstrap/dropdown";
23
- import * as i20 from "@esfaenza/ngx-contextmenu";
24
- import * as i21 from "@angular/material/legacy-select";
25
- import * as i22 from "@angular/material/legacy-input";
26
- import * as i23 from "@angular/material/legacy-tooltip";
27
- import * as i24 from "@angular/cdk/drag-drop";
28
- import * as i25 from "@esfaenza/forms-and-validations";
17
+ import * as i14 from "./components/pipes/est-propinsensitive.pipe";
18
+ import * as i15 from "@angular/common";
19
+ import * as i16 from "@angular/forms";
20
+ import * as i17 from "@angular/router";
21
+ import * as i18 from "@esfaenza/localizations";
22
+ import * as i19 from "ngx-bootstrap/modal";
23
+ import * as i20 from "ngx-bootstrap/dropdown";
24
+ import * as i21 from "@esfaenza/ngx-contextmenu";
25
+ import * as i22 from "@angular/material/legacy-select";
26
+ import * as i23 from "@angular/material/legacy-input";
27
+ import * as i24 from "@angular/material/legacy-tooltip";
28
+ import * as i25 from "@angular/cdk/drag-drop";
29
+ import * as i26 from "@esfaenza/forms-and-validations";
29
30
  export declare class EsTableModule {
30
31
  static forRoot(config?: EsTableModuleConfig): ModuleWithProviders<EsTableModule>;
31
32
  static ɵfac: i0.ɵɵFactoryDeclaration<EsTableModule, never>;
32
- static ɵmod: i0.ɵɵNgModuleDeclaration<EsTableModule, [typeof i1.EsTdDirective, typeof i2.EsThDirective, typeof i3.EsTdEditorDirective, typeof i4.EsTableComponent, typeof i5.TablePagerComponent, typeof i6.EsTableTemplate, typeof i7.EsTh, typeof i8.EsTd, typeof i9.EstFormatPipe, typeof i10.EstLookupPipe, typeof i11.EstRouterLinkPipe, typeof i12.EstRendererPipe, typeof i13.EstEditorPipe], [typeof i14.CommonModule, typeof i15.FormsModule, typeof i16.RouterModule, typeof i17.LocalizationModule, typeof i18.ModalModule, typeof i19.BsDropdownModule, typeof i20.ContextMenuModule, typeof i21.MatLegacySelectModule, typeof i22.MatLegacyInputModule, typeof i23.MatLegacyTooltipModule, typeof i24.DragDropModule, typeof i25.FormsAndValidationsModule], [typeof i1.EsTdDirective, typeof i2.EsThDirective, typeof i3.EsTdEditorDirective, typeof i4.EsTableComponent, typeof i5.TablePagerComponent, typeof i6.EsTableTemplate]>;
33
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EsTableModule, [typeof i1.EsTdDirective, typeof i2.EsThDirective, typeof i3.EsTdEditorDirective, typeof i4.EsTableComponent, typeof i5.TablePagerComponent, typeof i6.EsTableTemplate, typeof i7.EsTh, typeof i8.EsTd, typeof i9.EstFormatPipe, typeof i10.EstLookupPipe, typeof i11.EstRouterLinkPipe, typeof i12.EstRendererPipe, typeof i13.EstEditorPipe, typeof i14.EstPropInsensitivePipe], [typeof i15.CommonModule, typeof i16.FormsModule, typeof i17.RouterModule, typeof i18.LocalizationModule, typeof i19.ModalModule, typeof i20.BsDropdownModule, typeof i21.ContextMenuModule, typeof i22.MatLegacySelectModule, typeof i23.MatLegacyInputModule, typeof i24.MatLegacyTooltipModule, typeof i25.DragDropModule, typeof i26.FormsAndValidationsModule], [typeof i1.EsTdDirective, typeof i2.EsThDirective, typeof i3.EsTdEditorDirective, typeof i4.EsTableComponent, typeof i5.TablePagerComponent, typeof i6.EsTableTemplate]>;
33
34
  static ɵinj: i0.ɵɵInjectorDeclaration<EsTableModule>;
34
35
  }
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.5",
3
+ "version": "15.2.7",
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/extensions": "^15.2.0",
12
- "@esfaenza/localizations": "^15.2.0",
13
- "@esfaenza/forms-and-validations": "^15.2.0",
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",