@esfaenza/es-table 11.2.148 → 11.2.150
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 +42 -27
- 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 +28 -27
- package/esm2015/lib/directives/es_th_td_provider.directive.js +13 -0
- package/esm2015/lib/es-table.module.js +4 -2
- package/esm2015/public-api.js +2 -1
- package/fesm2015/esfaenza-es-table.js +40 -29
- package/fesm2015/esfaenza-es-table.js.map +1 -1
- package/lib/components/es-table/es_table.component.d.ts +6 -0
- package/lib/directives/es_th_td_provider.directive.d.ts +7 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -25,6 +25,7 @@ import { EsTd } from '../es-td/es_td.component';
|
|
|
25
25
|
import { EsTdDirective } from '../../directives/es_td.directive';
|
|
26
26
|
import { EsThDirective } from '../../directives/es_th.directive';
|
|
27
27
|
import { EsTdEditorDirective } from '../../directives/es_td_editor.directive';
|
|
28
|
+
import { ThTdProvider } from '../../directives/es_th_td_provider.directive';
|
|
28
29
|
import { IEsTableTemplateWrapper } from '../es-table-template/es_table_template.component';
|
|
29
30
|
import { ExportHandler } from "../../core/handlers/ExportHandler";
|
|
30
31
|
import { ColumnMetadataHandler } from "../../core/handlers/ColumnMetadataHandler";
|
|
@@ -175,6 +176,8 @@ export declare class EsTableComponent implements ControlValueAccessor, OnChanges
|
|
|
175
176
|
EsTdsDirective: QueryList<EsTdDirective>;
|
|
176
177
|
/** Query per recuperare tutti gli es-td assegnati a direttiva (Per la modalità dinamica dell'es-table) */
|
|
177
178
|
EsThsDirective: QueryList<EsThDirective>;
|
|
179
|
+
/** Query per recuperare tutti gli es-td e gli es-th assegnati da parte di un provider (per integrare in maniera dinamica i th e td esistenti) */
|
|
180
|
+
ThTdProvider: QueryList<ThTdProvider>;
|
|
178
181
|
/** Input collegato a un template che contiene le direttive per renderizzare questa tabella. se ci sono **EsTdsDirective** e **EsThsDirective** questi hanno la priorità */
|
|
179
182
|
EsTableTemplate: IEsTableTemplateWrapper;
|
|
180
183
|
/** Query per recuperare le informazioni del body (punto della tabella dove vengono mostrate le righe) */
|
|
@@ -432,6 +435,9 @@ export declare class EsTableComponent implements ControlValueAccessor, OnChanges
|
|
|
432
435
|
private thsCache;
|
|
433
436
|
/** Indica quando la cache dei th è stata fillata almeno la prima volta */
|
|
434
437
|
private thsCacheSet;
|
|
438
|
+
/** Variabili da fillare nell'After Content Init poi da riutilizzare nell'internal post bound source */
|
|
439
|
+
private EsTds;
|
|
440
|
+
private EsThs;
|
|
435
441
|
/**
|
|
436
442
|
* Flag che, se **true**, per un giro di binding mantiene la visibilità impostata localmente, piuttosto che allineare alla View bindata.
|
|
437
443
|
* Usata per modificare in maniera programmatica la visibilità delle colonne dal metodo **setHeaderVisibility**,
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { QueryList } from '@angular/core';
|
|
2
|
+
import { EsTdDirective } from './es_td.directive';
|
|
3
|
+
import { EsThDirective } from './es_th.directive';
|
|
4
|
+
export declare class ThTdProvider {
|
|
5
|
+
EsTdsDirective: QueryList<EsTdDirective>;
|
|
6
|
+
EsThsDirective: QueryList<EsThDirective>;
|
|
7
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from './lib/components/es-table/es_table.component';
|
|
|
3
3
|
export * from './lib/components/es-table-template/es_table_template.component';
|
|
4
4
|
export * from './lib/directives/es_td.directive';
|
|
5
5
|
export * from './lib/directives/es_td_editor.directive';
|
|
6
|
+
export * from './lib/directives/es_th_td_provider.directive';
|
|
6
7
|
export * from './lib/directives/es_th.directive';
|
|
7
8
|
export * from './lib/domain/configuration/EsTableModuleConfig';
|
|
8
9
|
export * from './lib/domain/configuration/EsTableDefaultable';
|