@esfaenza/es-table 15.2.30 → 15.2.32
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 +39 -6
- package/fesm2015/esfaenza-es-table.mjs +38 -5
- package/fesm2015/esfaenza-es-table.mjs.map +1 -1
- package/fesm2020/esfaenza-es-table.mjs +38 -5
- package/fesm2020/esfaenza-es-table.mjs.map +1 -1
- package/lib/components/es-table/es_table.component.d.ts +10 -4
- package/package.json +6 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { QueryList, ChangeDetectorRef, EventEmitter, OnChanges, SimpleChanges, ElementRef, TemplateRef, Type } from '@angular/core';
|
|
1
|
+
import { QueryList, ChangeDetectorRef, EventEmitter, OnChanges, SimpleChanges, ElementRef, TemplateRef, Type, Renderer2 } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
|
-
import { UtilityService, ExportService, MessageService, DateService, ClipboardService } from '@esfaenza/extensions';
|
|
3
|
+
import { UtilityService, ExportService, MessageService, DateService, ClipboardService, AppEmbeddingExtensions } from '@esfaenza/extensions';
|
|
4
4
|
import { LocalizationService } from '@esfaenza/localizations';
|
|
5
5
|
import { PreferencesService } from '@esfaenza/preferences';
|
|
6
6
|
import { ContextMenuComponent } from '@esfaenza/ngx-contextmenu';
|
|
@@ -38,6 +38,7 @@ import { UtilitiesHandler } from "../../core/handlers/UtilitiesHandler";
|
|
|
38
38
|
import { CopyPasteDetector } from '../../core/CopyPasteDetector';
|
|
39
39
|
import { Logger } from '../../core/Logger';
|
|
40
40
|
import { Subject } from 'rxjs';
|
|
41
|
+
import { ModalDirective } from 'ngx-bootstrap/modal';
|
|
41
42
|
import * as i0 from "@angular/core";
|
|
42
43
|
/** Componente che permette di rappresentare una griglia di valori */
|
|
43
44
|
export declare class EsTableComponent implements ControlValueAccessor, OnChanges {
|
|
@@ -54,6 +55,8 @@ export declare class EsTableComponent implements ControlValueAccessor, OnChanges
|
|
|
54
55
|
private copyPasteDetector;
|
|
55
56
|
private clipboardService;
|
|
56
57
|
private logger;
|
|
58
|
+
private emb;
|
|
59
|
+
private rendererRef;
|
|
57
60
|
/** @ignore */ export_H: ExportHandler;
|
|
58
61
|
/** @ignore */ columnMetadata_H: ColumnMetadataHandler;
|
|
59
62
|
/** @ignore */ dynamicMode_H: DynamicModeHandler;
|
|
@@ -65,7 +68,7 @@ export declare class EsTableComponent implements ControlValueAccessor, OnChanges
|
|
|
65
68
|
/** @ignore */ private copySubscription;
|
|
66
69
|
/** @ignore */ private pasteSubscription;
|
|
67
70
|
/** @ignore */
|
|
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);
|
|
71
|
+
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, emb: AppEmbeddingExtensions, rendererRef: Renderer2);
|
|
69
72
|
/** Subject utilizzato internamente lato EsTable per causare il Focus lato componente di Input */
|
|
70
73
|
FocusSubject: Subject<void>;
|
|
71
74
|
/** Timer che verrà impostato a **doubleClickBufferMs** per capire se è stato effettuato un click singolo o un doubleclick */
|
|
@@ -722,7 +725,10 @@ export declare class EsTableComponent implements ControlValueAccessor, OnChanges
|
|
|
722
725
|
private EsTdsCache;
|
|
723
726
|
getCellReference(object: any, column: string): EsTd;
|
|
724
727
|
registerCell(event: EsTdReference): void;
|
|
725
|
-
|
|
728
|
+
showDialog(dlg: ModalDirective, elementRef: ElementRef): void;
|
|
729
|
+
doFixBody(elementRef: ElementRef): void;
|
|
730
|
+
hideDialog(dlg: ModalDirective): void;
|
|
731
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EsTableComponent, [{ optional: true; self: true; }, { optional: true; }, { optional: true; }, null, null, null, null, null, null, null, null, null, null, null, null]>;
|
|
726
732
|
static ɵcmp: i0.ɵɵComponentDeclaration<EsTableComponent, "es-table", never, { "EsThTdProvider": "EsThTdProvider"; "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", "ThTdProvider"], never, false, never>;
|
|
727
733
|
}
|
|
728
734
|
export declare class EsTdReference {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esfaenza/es-table",
|
|
3
|
-
"version": "15.2.
|
|
3
|
+
"version": "15.2.32",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"tslib": "^2.0.0"
|
|
6
6
|
},
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
"@angular/common": "^15.2.9",
|
|
9
9
|
"@angular/core": "^15.2.9",
|
|
10
10
|
"@angular/material": "^15.2.9",
|
|
11
|
-
"@esfaenza/localizations": "^15.2.
|
|
12
|
-
"@esfaenza/extensions": "^15.2.
|
|
13
|
-
"@esfaenza/forms-and-validations": "^15.2.
|
|
14
|
-
"@esfaenza/ngx-contextmenu": "^15.2.
|
|
15
|
-
"@esfaenza/preferences": "^15.2.
|
|
11
|
+
"@esfaenza/localizations": "^15.2.14",
|
|
12
|
+
"@esfaenza/extensions": "^15.2.44",
|
|
13
|
+
"@esfaenza/forms-and-validations": "^15.2.55",
|
|
14
|
+
"@esfaenza/ngx-contextmenu": "^15.2.1",
|
|
15
|
+
"@esfaenza/preferences": "^15.2.5",
|
|
16
16
|
"ngx-toastr": "16.2.0",
|
|
17
17
|
"ngx-bootstrap": "10.2.0"
|
|
18
18
|
},
|