@fuentis/phoenix-ui 0.0.9-alpha.646 → 0.0.9-alpha.648
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/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, ElementRef, OnChanges, SimpleChanges, QueryList, OnDestroy, OnInit, InjectionToken } from '@angular/core';
|
|
2
|
+
import { EventEmitter, ElementRef, OnChanges, SimpleChanges, QueryList, OnDestroy, TemplateRef, OnInit, InjectionToken } from '@angular/core';
|
|
3
3
|
import { ButtonProps } from 'primeng/button';
|
|
4
4
|
import { Popover } from 'primeng/popover';
|
|
5
5
|
import { TranslateService } from '@ngx-translate/core';
|
|
@@ -657,6 +657,11 @@ interface TableConfiguration {
|
|
|
657
657
|
* work with virtual scroll) and `disableSort`.
|
|
658
658
|
*/
|
|
659
659
|
reorderable?: boolean;
|
|
660
|
+
/**
|
|
661
|
+
* Row density. Defaults to compact (`small`). Set `false` for taller,
|
|
662
|
+
* roomier rows (better for lists with wrapping text).
|
|
663
|
+
*/
|
|
664
|
+
dense?: boolean;
|
|
660
665
|
/**
|
|
661
666
|
* Optional per-row inline style, e.g. a danger background for rows that fail a
|
|
662
667
|
* check. Returns a style object (or null) for each row.
|
|
@@ -832,6 +837,12 @@ declare class TableComponent implements OnChanges, OnDestroy {
|
|
|
832
837
|
saveColumns: EventEmitter<string[]>;
|
|
833
838
|
/** Emits the full data array in its new order after a drag reorder. */
|
|
834
839
|
rowReorder: EventEmitter<any[]>;
|
|
840
|
+
/**
|
|
841
|
+
* Optional expandable-row content, projected as
|
|
842
|
+
* `<ng-template #rowExpansion let-row>…</ng-template>`. When present, a toggler
|
|
843
|
+
* column is shown and each row can expand to render this template.
|
|
844
|
+
*/
|
|
845
|
+
rowExpansionTpl?: TemplateRef<any>;
|
|
835
846
|
private sortWorker;
|
|
836
847
|
/**
|
|
837
848
|
* reqId counters ensure we can ignore outdated results
|
|
@@ -958,6 +969,8 @@ declare class TableComponent implements OnChanges, OnDestroy {
|
|
|
958
969
|
tagOverflowCount(list: any[], col: any): number;
|
|
959
970
|
/** PrimeNG has already reordered `tableData` in place; emit the new order. */
|
|
960
971
|
onRowReorder(_event: any): void;
|
|
972
|
+
/** Colspan for the expanded row's single cell — spans every visible column. */
|
|
973
|
+
get expansionColspan(): number;
|
|
961
974
|
/** Open the overflow popover with the hidden items' labels. */
|
|
962
975
|
openTagOverflow(event: Event, panel: any, list: any[], col: any): void;
|
|
963
976
|
/**
|
|
@@ -973,7 +986,7 @@ declare class TableComponent implements OnChanges, OnDestroy {
|
|
|
973
986
|
*/
|
|
974
987
|
applyColumns(selected: any[]): void;
|
|
975
988
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
976
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "phoenix-table", never, { "columns": { "alias": "columns"; "required": false; }; "selectedColumnsInput": { "alias": "selectedColumnsInput"; "required": false; }; "tableConfiguration": { "alias": "tableConfiguration"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "actionClick": "actionClick"; "rowSelection": "rowSelection"; "checkBoxSelection": "checkBoxSelection"; "saveColumns": "saveColumns"; "rowReorder": "rowReorder"; },
|
|
989
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "phoenix-table", never, { "columns": { "alias": "columns"; "required": false; }; "selectedColumnsInput": { "alias": "selectedColumnsInput"; "required": false; }; "tableConfiguration": { "alias": "tableConfiguration"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "actionClick": "actionClick"; "rowSelection": "rowSelection"; "checkBoxSelection": "checkBoxSelection"; "saveColumns": "saveColumns"; "rowReorder": "rowReorder"; }, ["rowExpansionTpl"], never, true, never>;
|
|
977
990
|
}
|
|
978
991
|
|
|
979
992
|
interface MetaControl {
|