@esfaenza/es-table 11.2.92 → 11.2.93
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 +45 -10
- 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.metadata.json +1 -1
- package/esm2015/lib/components/es-table/es_table.component.js +19 -3
- package/esm2015/lib/components/es-td/es_td.component.js +18 -5
- package/esm2015/lib/core/handlers/UtilitiesHandler.js +2 -1
- package/esm2015/lib/es-table.module.js +3 -1
- package/fesm2015/esfaenza-es-table.js +39 -7
- package/fesm2015/esfaenza-es-table.js.map +1 -1
- package/lib/components/es-table/es_table.component.d.ts +9 -0
- package/lib/components/es-td/es_td.component.d.ts +11 -2
- package/package.json +2 -2
|
@@ -33,6 +33,7 @@ import { SelectionHandler } from "../../core/handlers/SelectionHandler";
|
|
|
33
33
|
import { UtilitiesHandler } from "../../core/handlers/UtilitiesHandler";
|
|
34
34
|
import { CopyPasteDetector } from '../../core/CopyPasteDetector';
|
|
35
35
|
import { Subject } from 'rxjs';
|
|
36
|
+
import { EsTd } from '../es-td/es_td.component';
|
|
36
37
|
/** Componente che permette di rappresentare una griglia di valori */
|
|
37
38
|
export declare class EsTableComponent implements ControlValueAccessor, OnChanges {
|
|
38
39
|
ngControl: NgControl;
|
|
@@ -690,4 +691,12 @@ export declare class EsTableComponent implements ControlValueAccessor, OnChanges
|
|
|
690
691
|
mousedown(event: MouseEvent, rowItem: any, item: any): void;
|
|
691
692
|
mouseenter(event: MouseEvent): void;
|
|
692
693
|
mouseup(event: any): void;
|
|
694
|
+
private EsTdsList;
|
|
695
|
+
getCellReference(object: any, column: string): EsTd;
|
|
696
|
+
registerCell(event: EsTdReference): void;
|
|
697
|
+
}
|
|
698
|
+
export declare class EsTdReference {
|
|
699
|
+
id: string;
|
|
700
|
+
hash: string;
|
|
701
|
+
self: EsTd;
|
|
693
702
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Renderer2, ElementRef } from "@angular/core";
|
|
1
|
+
import { Renderer2, ElementRef, EventEmitter, ChangeDetectorRef } from "@angular/core";
|
|
2
2
|
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
3
3
|
/** Componente rappresentante una singola cella del body della tabella */
|
|
4
4
|
export declare class EsTd {
|
|
5
|
+
private cdr;
|
|
5
6
|
private myself;
|
|
6
7
|
private renderer;
|
|
7
8
|
protected sanitizer: DomSanitizer;
|
|
@@ -21,10 +22,16 @@ export declare class EsTd {
|
|
|
21
22
|
Content?: SafeHtml;
|
|
22
23
|
/** Contesto dell'oggetto a cui si riferisce il dato visualizzato. Contiene l'hash dell'oggetto in questione */
|
|
23
24
|
Context: string;
|
|
25
|
+
/** Quando questa cella viene generata questo evento permette di dire "ehi, sono nato!" */
|
|
26
|
+
onCellGeneration: EventEmitter<{
|
|
27
|
+
id: string;
|
|
28
|
+
hash: string;
|
|
29
|
+
self: EsTd;
|
|
30
|
+
}>;
|
|
24
31
|
/** Indicazioni sulla visibilità della cella */
|
|
25
32
|
private _Visible?;
|
|
26
33
|
/** @ignore */
|
|
27
|
-
constructor(myself: ElementRef, renderer: Renderer2, sanitizer: DomSanitizer);
|
|
34
|
+
constructor(cdr: ChangeDetectorRef, myself: ElementRef, renderer: Renderer2, sanitizer: DomSanitizer);
|
|
28
35
|
/**
|
|
29
36
|
* Imposta la visibilità o meno della cella, si traduce nell'applicazione o rimozione della classe **app-display-none**
|
|
30
37
|
*
|
|
@@ -39,4 +46,6 @@ export declare class EsTd {
|
|
|
39
46
|
get Visible(): boolean;
|
|
40
47
|
/** @ignore */
|
|
41
48
|
ngAfterViewInit(): void;
|
|
49
|
+
ImAMistake: string;
|
|
50
|
+
validationError(isError: boolean, error?: string): void;
|
|
42
51
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esfaenza/es-table",
|
|
3
|
-
"version": "11.2.
|
|
3
|
+
"version": "11.2.93",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"tslib": "^2.0.0"
|
|
6
6
|
},
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"@angular/common": "~11.2.14",
|
|
9
9
|
"@angular/core": "~11.2.14",
|
|
10
10
|
"@angular/material": "~11.2.13",
|
|
11
|
-
"@esfaenza/extensions": "^11.2.
|
|
11
|
+
"@esfaenza/extensions": "^11.2.28",
|
|
12
12
|
"@esfaenza/localizations": "^11.2.6",
|
|
13
13
|
"@esfaenza/forms-and-validations": "^11.2.60",
|
|
14
14
|
"@ctrl/ngx-csv": "4.0.0",
|