@exhaustive-ui/core 22.1.0 → 22.3.0
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/fesm2022/exhaustive-ui-core-autocomplete.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-autocomplete.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-avatargroup.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-avatargroup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-blockui.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-blockui.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-buttongroup.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-buttongroup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-cascadeselect.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-cascadeselect.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-colorpicker.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-colorpicker.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-confirmdialog.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-confirmdialog.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-confirmpopup.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-confirmpopup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-contextmenu.mjs +6 -6
- package/fesm2022/exhaustive-ui-core-contextmenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dataview.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-dataview.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-datepicker.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-datepicker.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dialog.mjs +14 -14
- package/fesm2022/exhaustive-ui-core-dialog.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-fileinput.mjs +1504 -0
- package/fesm2022/exhaustive-ui-core-fileinput.mjs.map +1 -0
- package/fesm2022/exhaustive-ui-core-fileupload.mjs +3 -3
- package/fesm2022/exhaustive-ui-core-fileupload.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-floatlabel.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-floatlabel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-iconfield.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-iconfield.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-iftalabel.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-iftalabel.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-imagecompare.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-imagecompare.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputgroup.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-inputgroup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputgroupaddon.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-inputgroupaddon.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputicon.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-inputicon.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputmask.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-inputmask.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputnumber.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-inputnumber.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-inputotp.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-inputotp.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-listbox.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-listbox.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-megamenu.mjs +6 -6
- package/fesm2022/exhaustive-ui-core-megamenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-menubar.mjs +4 -4
- package/fesm2022/exhaustive-ui-core-menubar.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-metergroup.mjs +5 -5
- package/fesm2022/exhaustive-ui-core-metergroup.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-multiselect.mjs +3 -3
- package/fesm2022/exhaustive-ui-core-multiselect.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-orderlist.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-orderlist.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-organizationchart.mjs +7 -2
- package/fesm2022/exhaustive-ui-core-organizationchart.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-overlaybadge.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-overlaybadge.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-paginator.mjs +1 -1
- package/fesm2022/exhaustive-ui-core-panelmenu.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-panelmenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-picklist.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-picklist.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-progressbar.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-progressbar.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-progressspinner.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-progressspinner.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-radiobutton.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-radiobutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-scrolltop.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-scrolltop.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-select.mjs +3 -3
- package/fesm2022/exhaustive-ui-core-select.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-selectbutton.mjs +3 -3
- package/fesm2022/exhaustive-ui-core-selectbutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-speeddial.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-speeddial.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-splitbutton.mjs +3 -3
- package/fesm2022/exhaustive-ui-core-splitbutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-splitter.mjs +4 -0
- package/fesm2022/exhaustive-ui-core-splitter.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-table.mjs +175 -28
- package/fesm2022/exhaustive-ui-core-table.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tabs.mjs +6 -6
- package/fesm2022/exhaustive-ui-core-tabs.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tieredmenu.mjs +6 -6
- package/fesm2022/exhaustive-ui-core-tieredmenu.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-toast.mjs +3 -3
- package/fesm2022/exhaustive-ui-core-toast.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-togglebutton.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-togglebutton.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-toggleswitch.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-toggleswitch.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-tree.mjs +4 -4
- package/fesm2022/exhaustive-ui-core-tree.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-treeselect.mjs +2 -2
- package/fesm2022/exhaustive-ui-core-treeselect.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-treetable.mjs +141 -12
- package/fesm2022/exhaustive-ui-core-treetable.mjs.map +1 -1
- package/fesm2022/exhaustive-ui-core-types-fileinput.mjs +4 -0
- package/fesm2022/exhaustive-ui-core-types-fileinput.mjs.map +1 -0
- package/package.json +13 -5
- package/schematics/utils/versions.json +8 -8
- package/types/exhaustive-ui-core-autocomplete.d.ts +1 -1
- package/types/exhaustive-ui-core-avatargroup.d.ts +1 -1
- package/types/exhaustive-ui-core-blockui.d.ts +1 -1
- package/types/exhaustive-ui-core-buttongroup.d.ts +1 -1
- package/types/exhaustive-ui-core-cascadeselect.d.ts +1 -1
- package/types/exhaustive-ui-core-colorpicker.d.ts +1 -1
- package/types/exhaustive-ui-core-config.d.ts +2 -0
- package/types/exhaustive-ui-core-confirmdialog.d.ts +1 -1
- package/types/exhaustive-ui-core-confirmpopup.d.ts +1 -1
- package/types/exhaustive-ui-core-contextmenu.d.ts +2 -2
- package/types/exhaustive-ui-core-dataview.d.ts +1 -1
- package/types/exhaustive-ui-core-datepicker.d.ts +1 -1
- package/types/exhaustive-ui-core-dialog.d.ts +14 -14
- package/types/exhaustive-ui-core-dynamicdialog.d.ts +1 -1
- package/types/exhaustive-ui-core-fileinput.d.ts +512 -0
- package/types/exhaustive-ui-core-fileupload.d.ts +1 -1
- package/types/exhaustive-ui-core-floatlabel.d.ts +1 -1
- package/types/exhaustive-ui-core-iconfield.d.ts +1 -1
- package/types/exhaustive-ui-core-iftalabel.d.ts +1 -1
- package/types/exhaustive-ui-core-imagecompare.d.ts +1 -1
- package/types/exhaustive-ui-core-inputgroup.d.ts +1 -1
- package/types/exhaustive-ui-core-inputgroupaddon.d.ts +1 -1
- package/types/exhaustive-ui-core-inputicon.d.ts +1 -1
- package/types/exhaustive-ui-core-inputmask.d.ts +1 -1
- package/types/exhaustive-ui-core-inputnumber.d.ts +1 -1
- package/types/exhaustive-ui-core-inputotp.d.ts +1 -1
- package/types/exhaustive-ui-core-megamenu.d.ts +2 -2
- package/types/exhaustive-ui-core-menubar.d.ts +1 -1
- package/types/exhaustive-ui-core-metergroup.d.ts +2 -2
- package/types/exhaustive-ui-core-multiselect.d.ts +1 -1
- package/types/exhaustive-ui-core-orderlist.d.ts +1 -1
- package/types/exhaustive-ui-core-organizationchart.d.ts +8 -3
- package/types/exhaustive-ui-core-overlaybadge.d.ts +1 -1
- package/types/exhaustive-ui-core-panelmenu.d.ts +1 -1
- package/types/exhaustive-ui-core-picklist.d.ts +1 -1
- package/types/exhaustive-ui-core-progressbar.d.ts +1 -1
- package/types/exhaustive-ui-core-progressspinner.d.ts +1 -1
- package/types/exhaustive-ui-core-radiobutton.d.ts +1 -1
- package/types/exhaustive-ui-core-scrolltop.d.ts +1 -1
- package/types/exhaustive-ui-core-selectbutton.d.ts +1 -1
- package/types/exhaustive-ui-core-speeddial.d.ts +1 -1
- package/types/exhaustive-ui-core-splitbutton.d.ts +1 -1
- package/types/exhaustive-ui-core-splitter.d.ts +6 -2
- package/types/exhaustive-ui-core-table.d.ts +200 -51
- package/types/exhaustive-ui-core-tabs.d.ts +3 -3
- package/types/exhaustive-ui-core-tieredmenu.d.ts +2 -2
- package/types/exhaustive-ui-core-toast.d.ts +1 -1
- package/types/exhaustive-ui-core-togglebutton.d.ts +1 -1
- package/types/exhaustive-ui-core-toggleswitch.d.ts +1 -1
- package/types/exhaustive-ui-core-tree.d.ts +1 -1
- package/types/exhaustive-ui-core-treeselect.d.ts +1 -1
- package/types/exhaustive-ui-core-treetable.d.ts +144 -13
- package/types/exhaustive-ui-core-types-chip.d.ts +0 -4
- package/types/exhaustive-ui-core-types-dataview.d.ts +0 -8
- package/types/exhaustive-ui-core-types-fileinput.d.ts +429 -0
- package/types/exhaustive-ui-core-types-megamenu.d.ts +0 -4
- package/types/exhaustive-ui-core-types-orderlist.d.ts +0 -4
- package/types/exhaustive-ui-core-types-organizationchart.d.ts +11 -1
- package/types/exhaustive-ui-core-types-table.d.ts +365 -320
- package/types/exhaustive-ui-core-types-treeselect.d.ts +0 -4
|
@@ -2,7 +2,7 @@ import { TemplateRef } from '@angular/core';
|
|
|
2
2
|
import { PassThrough, PassThroughOption, FilterMetadata, LazyLoadMeta } from '@exhaustive-ui/core/api';
|
|
3
3
|
import { ButtonPassThrough, ButtonProps } from '@exhaustive-ui/core/types/button';
|
|
4
4
|
import { CheckboxPassThrough } from '@exhaustive-ui/core/types/checkbox';
|
|
5
|
-
import { PaginatorPassThrough } from '@exhaustive-ui/core/types/paginator';
|
|
5
|
+
import { PaginatorPassThrough, PaginatorTemplateContext, PaginatorDropdownItemTemplateContext } from '@exhaustive-ui/core/types/paginator';
|
|
6
6
|
import { VirtualScrollerPassThrough } from '@exhaustive-ui/core/types/scroller';
|
|
7
7
|
import { InputTextPassThrough } from '@exhaustive-ui/core/types/inputtext';
|
|
8
8
|
import { SelectPassThrough } from '@exhaustive-ui/core/types/select';
|
|
@@ -539,334 +539,379 @@ interface ExportCSVOptions {
|
|
|
539
539
|
*/
|
|
540
540
|
allValues?: boolean;
|
|
541
541
|
}
|
|
542
|
+
/**
|
|
543
|
+
* Context of the templates that receive the columns: header, headergrouped, footer, footergrouped and colgroup.
|
|
544
|
+
* @group Interface
|
|
545
|
+
*/
|
|
546
|
+
interface TableColumnsTemplateContext {
|
|
547
|
+
/**
|
|
548
|
+
* Columns of the table, the value of the columns property.
|
|
549
|
+
*/
|
|
550
|
+
$implicit: any[] | undefined;
|
|
551
|
+
}
|
|
552
|
+
/**
|
|
553
|
+
* Context of the body, frozenbody, groupheader and groupfooter templates, rendered once per row.
|
|
554
|
+
* @group Interface
|
|
555
|
+
*/
|
|
556
|
+
interface TableBodyTemplateContext<T = any> {
|
|
557
|
+
/**
|
|
558
|
+
* Data of the row.
|
|
559
|
+
*/
|
|
560
|
+
$implicit: T;
|
|
561
|
+
/**
|
|
562
|
+
* Index of the row in the whole data set, including the rows of the previous pages.
|
|
563
|
+
*/
|
|
564
|
+
rowIndex: number;
|
|
565
|
+
/**
|
|
566
|
+
* Columns of the table.
|
|
567
|
+
*/
|
|
568
|
+
columns: any[] | undefined;
|
|
569
|
+
/**
|
|
570
|
+
* Whether the row is being edited, with editMode set to row.
|
|
571
|
+
*/
|
|
572
|
+
editing: boolean;
|
|
573
|
+
/**
|
|
574
|
+
* Whether the row belongs to the frozen part of the table.
|
|
575
|
+
*/
|
|
576
|
+
frozen: boolean;
|
|
577
|
+
/**
|
|
578
|
+
* Whether the row is expanded. Only passed when an expandedrow template is defined.
|
|
579
|
+
*/
|
|
580
|
+
expanded?: boolean;
|
|
581
|
+
/**
|
|
582
|
+
* Whether this row starts a group. Only passed with rowGroupMode set to rowspan.
|
|
583
|
+
*/
|
|
584
|
+
rowgroup?: boolean;
|
|
585
|
+
/**
|
|
586
|
+
* Number of rows of the group this row starts. Only passed with rowGroupMode set to rowspan.
|
|
587
|
+
*/
|
|
588
|
+
rowspan?: number;
|
|
589
|
+
}
|
|
590
|
+
/**
|
|
591
|
+
* Context of the expandedrow and frozenexpandedrow templates.
|
|
592
|
+
* @group Interface
|
|
593
|
+
*/
|
|
594
|
+
interface TableExpandedRowTemplateContext<T = any> {
|
|
595
|
+
/**
|
|
596
|
+
* Data of the expanded row.
|
|
597
|
+
*/
|
|
598
|
+
$implicit: T;
|
|
599
|
+
/**
|
|
600
|
+
* Index of the row in the whole data set.
|
|
601
|
+
*/
|
|
602
|
+
rowIndex: number;
|
|
603
|
+
/**
|
|
604
|
+
* Columns of the table.
|
|
605
|
+
*/
|
|
606
|
+
columns: any[] | undefined;
|
|
607
|
+
/**
|
|
608
|
+
* Whether the row belongs to the frozen part of the table.
|
|
609
|
+
*/
|
|
610
|
+
frozen: boolean;
|
|
611
|
+
}
|
|
612
|
+
/**
|
|
613
|
+
* Context of the loadingbody template. While the table is loading, the template is rendered once with the columns as $implicit.
|
|
614
|
+
* With lazy virtual scrolling, it is also rendered for each row not loaded yet, with the same context as the body template and an undefined $implicit.
|
|
615
|
+
* @group Interface
|
|
616
|
+
*/
|
|
617
|
+
interface TableLoadingBodyTemplateContext {
|
|
618
|
+
/**
|
|
619
|
+
* Columns while the table is loading, undefined for a row not loaded yet.
|
|
620
|
+
*/
|
|
621
|
+
$implicit: any;
|
|
622
|
+
/**
|
|
623
|
+
* Whether the rows belong to the frozen part of the table.
|
|
624
|
+
*/
|
|
625
|
+
frozen: boolean;
|
|
626
|
+
/**
|
|
627
|
+
* Index of the row not loaded yet.
|
|
628
|
+
*/
|
|
629
|
+
rowIndex?: number;
|
|
630
|
+
/**
|
|
631
|
+
* Columns of the table, for a row not loaded yet.
|
|
632
|
+
*/
|
|
633
|
+
columns?: any[];
|
|
634
|
+
/**
|
|
635
|
+
* Always false for a row not loaded yet.
|
|
636
|
+
*/
|
|
637
|
+
editing?: boolean;
|
|
638
|
+
/**
|
|
639
|
+
* Whether the row is expanded.
|
|
640
|
+
*/
|
|
641
|
+
expanded?: boolean;
|
|
642
|
+
/**
|
|
643
|
+
* Whether this row starts a group, with rowGroupMode set to rowspan.
|
|
644
|
+
*/
|
|
645
|
+
rowgroup?: boolean;
|
|
646
|
+
/**
|
|
647
|
+
* Size of the group, with rowGroupMode set to rowspan.
|
|
648
|
+
*/
|
|
649
|
+
rowspan?: number;
|
|
650
|
+
}
|
|
651
|
+
/**
|
|
652
|
+
* Context of the emptymessage template.
|
|
653
|
+
* @group Interface
|
|
654
|
+
*/
|
|
655
|
+
interface TableEmptyMessageTemplateContext {
|
|
656
|
+
/**
|
|
657
|
+
* Columns of the table.
|
|
658
|
+
*/
|
|
659
|
+
$implicit: any[] | undefined;
|
|
660
|
+
/**
|
|
661
|
+
* Whether the message is rendered in the frozen part of the table.
|
|
662
|
+
*/
|
|
663
|
+
frozen: boolean;
|
|
664
|
+
}
|
|
665
|
+
/**
|
|
666
|
+
* Context of the sorticon template.
|
|
667
|
+
* @group Interface
|
|
668
|
+
*/
|
|
669
|
+
interface TableSortIconTemplateContext {
|
|
670
|
+
/**
|
|
671
|
+
* Sort order of the column: 1 ascending, -1 descending, 0 unsorted.
|
|
672
|
+
*/
|
|
673
|
+
$implicit: number;
|
|
674
|
+
}
|
|
675
|
+
/**
|
|
676
|
+
* Context of the checkboxicon and headercheckboxicon templates.
|
|
677
|
+
* @group Interface
|
|
678
|
+
*/
|
|
679
|
+
interface TableCheckboxIconTemplateContext {
|
|
680
|
+
/**
|
|
681
|
+
* Whether the checkbox is checked.
|
|
682
|
+
*/
|
|
683
|
+
$implicit: boolean;
|
|
684
|
+
}
|
|
685
|
+
/**
|
|
686
|
+
* Context of the header and footer templates of a column filter.
|
|
687
|
+
* @group Interface
|
|
688
|
+
*/
|
|
689
|
+
interface ColumnFilterFieldTemplateContext {
|
|
690
|
+
/**
|
|
691
|
+
* Field of the column.
|
|
692
|
+
*/
|
|
693
|
+
$implicit: string | undefined;
|
|
694
|
+
}
|
|
695
|
+
/**
|
|
696
|
+
* Context of the filter template of a column filter.
|
|
697
|
+
* @group Interface
|
|
698
|
+
*/
|
|
699
|
+
interface ColumnFilterTemplateContext {
|
|
700
|
+
/**
|
|
701
|
+
* Current value of the filter constraint.
|
|
702
|
+
*/
|
|
703
|
+
$implicit: any;
|
|
704
|
+
/**
|
|
705
|
+
* Applies a new value to the filter: call it with the value.
|
|
706
|
+
*/
|
|
707
|
+
filterCallback: (value: any) => void;
|
|
708
|
+
/**
|
|
709
|
+
* Type of the filter: text, numeric, date or boolean.
|
|
710
|
+
*/
|
|
711
|
+
type: string | undefined;
|
|
712
|
+
/**
|
|
713
|
+
* Field of the column.
|
|
714
|
+
*/
|
|
715
|
+
field: string | undefined;
|
|
716
|
+
/**
|
|
717
|
+
* Filter constraint being edited.
|
|
718
|
+
*/
|
|
719
|
+
filterConstraint: FilterMetadata | undefined;
|
|
720
|
+
/**
|
|
721
|
+
* Placeholder of the filter.
|
|
722
|
+
*/
|
|
723
|
+
placeholder: string | undefined;
|
|
724
|
+
/**
|
|
725
|
+
* Minimum fraction digits of a numeric filter.
|
|
726
|
+
*/
|
|
727
|
+
minFractionDigits: number | undefined;
|
|
728
|
+
/**
|
|
729
|
+
* Maximum fraction digits of a numeric filter.
|
|
730
|
+
*/
|
|
731
|
+
maxFractionDigits: number | undefined;
|
|
732
|
+
/**
|
|
733
|
+
* Prefix of a numeric filter.
|
|
734
|
+
*/
|
|
735
|
+
prefix: string | undefined;
|
|
736
|
+
/**
|
|
737
|
+
* Suffix of a numeric filter.
|
|
738
|
+
*/
|
|
739
|
+
suffix: string | undefined;
|
|
740
|
+
/**
|
|
741
|
+
* Locale of a numeric filter.
|
|
742
|
+
*/
|
|
743
|
+
locale: string | undefined;
|
|
744
|
+
/**
|
|
745
|
+
* Locale matching algorithm of a numeric filter.
|
|
746
|
+
*/
|
|
747
|
+
localeMatcher: any;
|
|
748
|
+
/**
|
|
749
|
+
* Currency of a numeric filter.
|
|
750
|
+
*/
|
|
751
|
+
currency: string | undefined;
|
|
752
|
+
/**
|
|
753
|
+
* Currency display of a numeric filter.
|
|
754
|
+
*/
|
|
755
|
+
currencyDisplay: string | undefined;
|
|
756
|
+
/**
|
|
757
|
+
* Whether a numeric filter uses grouping separators.
|
|
758
|
+
*/
|
|
759
|
+
useGrouping: boolean;
|
|
760
|
+
/**
|
|
761
|
+
* Whether a numeric filter shows buttons.
|
|
762
|
+
*/
|
|
763
|
+
showButtons: boolean;
|
|
764
|
+
}
|
|
765
|
+
/**
|
|
766
|
+
* Context of the filtericon template of a column filter.
|
|
767
|
+
* @group Interface
|
|
768
|
+
*/
|
|
769
|
+
interface ColumnFilterIconTemplateContext {
|
|
770
|
+
/**
|
|
771
|
+
* Whether the column has an active filter.
|
|
772
|
+
*/
|
|
773
|
+
hasFilter: boolean;
|
|
774
|
+
}
|
|
542
775
|
/**
|
|
543
776
|
* Defines valid templates in Table.
|
|
544
777
|
* @group Templates
|
|
545
778
|
*/
|
|
546
779
|
interface TableTemplates {
|
|
547
780
|
/**
|
|
548
|
-
* Custom caption
|
|
549
|
-
*/
|
|
550
|
-
caption(): TemplateRef<
|
|
551
|
-
/**
|
|
552
|
-
* Custom
|
|
553
|
-
* @param {Object} context -
|
|
554
|
-
*/
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
*
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
*
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
*
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
/**
|
|
621
|
-
* Custom
|
|
622
|
-
* @param {Object} context -
|
|
623
|
-
*/
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
*
|
|
645
|
-
*/
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
/**
|
|
653
|
-
* Custom
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
*
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
/**
|
|
675
|
-
* Custom group header template.
|
|
676
|
-
* @param {Object} context - row data.
|
|
677
|
-
*/
|
|
678
|
-
groupheader(context: {
|
|
679
|
-
/**
|
|
680
|
-
* Row data.
|
|
681
|
-
*/
|
|
682
|
-
$implicit?: any;
|
|
683
|
-
/**
|
|
684
|
-
* Row index.
|
|
685
|
-
*/
|
|
686
|
-
rowIndex?: number;
|
|
687
|
-
/**
|
|
688
|
-
* Columns.
|
|
689
|
-
*/
|
|
690
|
-
columns?: any[];
|
|
691
|
-
/**
|
|
692
|
-
* Editing state.
|
|
693
|
-
*/
|
|
694
|
-
editing?: boolean;
|
|
695
|
-
/**
|
|
696
|
-
* Frozen state.
|
|
697
|
-
*/
|
|
698
|
-
frozen?: boolean;
|
|
699
|
-
}): TemplateRef<any>;
|
|
700
|
-
/**
|
|
701
|
-
* Custom group footer template.
|
|
702
|
-
* @param {TableRowContext} context - row data.
|
|
703
|
-
*/
|
|
704
|
-
groupfooter(context: {
|
|
705
|
-
/**
|
|
706
|
-
* Row data.
|
|
707
|
-
*/
|
|
708
|
-
$implicit?: any;
|
|
709
|
-
/**
|
|
710
|
-
* Row index.
|
|
711
|
-
*/
|
|
712
|
-
rowIndex?: number;
|
|
713
|
-
/**
|
|
714
|
-
* Columns.
|
|
715
|
-
*/
|
|
716
|
-
columns?: any[];
|
|
717
|
-
/**
|
|
718
|
-
* Editing state.
|
|
719
|
-
*/
|
|
720
|
-
editing?: boolean;
|
|
721
|
-
/**
|
|
722
|
-
* Frozen state.
|
|
723
|
-
*/
|
|
724
|
-
frozen?: boolean;
|
|
725
|
-
}): TemplateRef<any>;
|
|
726
|
-
/**
|
|
727
|
-
* Custom frozen body template.
|
|
728
|
-
* @param {Object} context - row data.
|
|
729
|
-
*/
|
|
730
|
-
frozenbody(context: {
|
|
731
|
-
/**
|
|
732
|
-
* Row data.
|
|
733
|
-
*/
|
|
734
|
-
$implicit?: any;
|
|
735
|
-
/**
|
|
736
|
-
* Row index.
|
|
737
|
-
*/
|
|
738
|
-
rowIndex?: number;
|
|
739
|
-
/**
|
|
740
|
-
* Columns.
|
|
741
|
-
*/
|
|
742
|
-
columns?: any[];
|
|
743
|
-
/**
|
|
744
|
-
* Editing state.
|
|
745
|
-
*/
|
|
746
|
-
editing?: boolean;
|
|
747
|
-
/**
|
|
748
|
-
* Frozen state.
|
|
749
|
-
*/
|
|
750
|
-
frozen?: boolean;
|
|
751
|
-
}): TemplateRef<any>;
|
|
752
|
-
/**
|
|
753
|
-
* Custom frozen expanded row template.
|
|
754
|
-
* @param {Object} context - row data.
|
|
755
|
-
*/
|
|
756
|
-
frozenexpandedrow(context: {
|
|
757
|
-
/**
|
|
758
|
-
* Row span.
|
|
759
|
-
*/
|
|
760
|
-
rowspan?: number;
|
|
761
|
-
/**
|
|
762
|
-
* Row group.
|
|
763
|
-
*/
|
|
764
|
-
rowgroup?: number;
|
|
765
|
-
/**
|
|
766
|
-
* Expanded state.
|
|
767
|
-
*/
|
|
768
|
-
expanded: boolean;
|
|
769
|
-
}): TemplateRef<any>;
|
|
770
|
-
/**
|
|
771
|
-
* Custom empty message template.
|
|
772
|
-
*/
|
|
773
|
-
emptymessage(context: {
|
|
774
|
-
/**
|
|
775
|
-
* Columns
|
|
776
|
-
*/
|
|
777
|
-
$implicit: any[];
|
|
778
|
-
/**
|
|
779
|
-
* Frozen state.
|
|
780
|
-
*/
|
|
781
|
-
frozen: boolean;
|
|
782
|
-
}): TemplateRef<{
|
|
783
|
-
$implicit: any[];
|
|
784
|
-
frozen: boolean;
|
|
785
|
-
}>;
|
|
786
|
-
/**
|
|
787
|
-
* Custom paginator left template.
|
|
788
|
-
*/
|
|
789
|
-
paginatorleft(): TemplateRef<any>;
|
|
790
|
-
/**
|
|
791
|
-
* Custom paginator right template.
|
|
792
|
-
*/
|
|
793
|
-
paginatorright(): TemplateRef<any>;
|
|
794
|
-
/**
|
|
795
|
-
* Custom paginator dropdown trigger icon template.
|
|
796
|
-
*/
|
|
797
|
-
paginatordropdownicon(): TemplateRef<any>;
|
|
798
|
-
/**
|
|
799
|
-
* Custom paginator dropdown item template.
|
|
800
|
-
*/
|
|
801
|
-
paginatordropdownitem(): TemplateRef<any>;
|
|
802
|
-
/**
|
|
803
|
-
* Custom paginator first page link icon template.
|
|
804
|
-
*/
|
|
805
|
-
paginatorfirstpagelinkicon(): TemplateRef<any>;
|
|
806
|
-
/**
|
|
807
|
-
* Custom paginator last page link icon template.
|
|
808
|
-
*/
|
|
809
|
-
paginatorlastpagelinkicon(): TemplateRef<any>;
|
|
810
|
-
/**
|
|
811
|
-
* Custom paginator previous page link icon template.
|
|
812
|
-
*/
|
|
813
|
-
paginatorpreviouspagelinkicon(): TemplateRef<any>;
|
|
814
|
-
/**
|
|
815
|
-
* Custom paginator next page link icon template.
|
|
816
|
-
*/
|
|
817
|
-
paginatornextpagelinkicon(): TemplateRef<any>;
|
|
818
|
-
/**
|
|
819
|
-
* Custom loading icon template.
|
|
820
|
-
*/
|
|
821
|
-
loadingicon(): TemplateRef<any>;
|
|
822
|
-
/**
|
|
823
|
-
* Custom reorder indicator up icon template.
|
|
824
|
-
*/
|
|
825
|
-
reorderindicatorupicon(): TemplateRef<any>;
|
|
826
|
-
/**
|
|
827
|
-
* Custom reorder indicator down icon template.
|
|
828
|
-
*/
|
|
829
|
-
reorderindicatordownicon(): TemplateRef<any>;
|
|
830
|
-
/**
|
|
831
|
-
* Custom sort icon template.
|
|
832
|
-
*/
|
|
833
|
-
sorticon(context: {
|
|
834
|
-
/**
|
|
835
|
-
* Sort order.
|
|
836
|
-
*/
|
|
837
|
-
$implicit: number;
|
|
838
|
-
}): TemplateRef<{
|
|
839
|
-
$implicit: number;
|
|
840
|
-
}>;
|
|
781
|
+
* Custom caption, rendered above the table.
|
|
782
|
+
*/
|
|
783
|
+
caption(): TemplateRef<void>;
|
|
784
|
+
/**
|
|
785
|
+
* Custom header rows, rendered in the thead.
|
|
786
|
+
* @param {Object} context - header template context.
|
|
787
|
+
*/
|
|
788
|
+
header(context: TableColumnsTemplateContext): TemplateRef<TableColumnsTemplateContext>;
|
|
789
|
+
/**
|
|
790
|
+
* Custom grouped header rows, used in place of the header template.
|
|
791
|
+
* @param {Object} context - headergrouped template context.
|
|
792
|
+
*/
|
|
793
|
+
headergrouped(context: TableColumnsTemplateContext): TemplateRef<TableColumnsTemplateContext>;
|
|
794
|
+
/**
|
|
795
|
+
* Custom row, rendered for each row of data.
|
|
796
|
+
* @param {Object} context - body template context.
|
|
797
|
+
*/
|
|
798
|
+
body(context: TableBodyTemplateContext): TemplateRef<TableBodyTemplateContext>;
|
|
799
|
+
/**
|
|
800
|
+
* Custom content while the table is loading, and for each row not loaded yet with lazy virtual scrolling.
|
|
801
|
+
* @param {Object} context - loadingbody template context.
|
|
802
|
+
*/
|
|
803
|
+
loadingbody(context: TableLoadingBodyTemplateContext): TemplateRef<TableLoadingBodyTemplateContext>;
|
|
804
|
+
/**
|
|
805
|
+
* Custom footer rows, rendered in the tfoot.
|
|
806
|
+
* @param {Object} context - footer template context.
|
|
807
|
+
*/
|
|
808
|
+
footer(context: TableColumnsTemplateContext): TemplateRef<TableColumnsTemplateContext>;
|
|
809
|
+
/**
|
|
810
|
+
* Custom grouped footer rows, used in place of the footer template.
|
|
811
|
+
* @param {Object} context - footergrouped template context.
|
|
812
|
+
*/
|
|
813
|
+
footergrouped(context: TableColumnsTemplateContext): TemplateRef<TableColumnsTemplateContext>;
|
|
814
|
+
/**
|
|
815
|
+
* Custom colgroup element.
|
|
816
|
+
* @param {Object} context - colgroup template context.
|
|
817
|
+
*/
|
|
818
|
+
colgroup(context: TableColumnsTemplateContext): TemplateRef<TableColumnsTemplateContext>;
|
|
819
|
+
/**
|
|
820
|
+
* Custom summary, rendered below the table.
|
|
821
|
+
*/
|
|
822
|
+
summary(): TemplateRef<void>;
|
|
823
|
+
/**
|
|
824
|
+
* Custom content of an expanded row.
|
|
825
|
+
* @param {Object} context - expandedrow template context.
|
|
826
|
+
*/
|
|
827
|
+
expandedrow(context: TableExpandedRowTemplateContext): TemplateRef<TableExpandedRowTemplateContext>;
|
|
828
|
+
/**
|
|
829
|
+
* Custom row group header, with rowGroupMode set to subheader.
|
|
830
|
+
* @param {Object} context - groupheader template context.
|
|
831
|
+
*/
|
|
832
|
+
groupheader(context: TableBodyTemplateContext): TemplateRef<TableBodyTemplateContext>;
|
|
833
|
+
/**
|
|
834
|
+
* Custom row group footer, with rowGroupMode set to subheader.
|
|
835
|
+
* @param {Object} context - groupfooter template context.
|
|
836
|
+
*/
|
|
837
|
+
groupfooter(context: TableBodyTemplateContext): TemplateRef<TableBodyTemplateContext>;
|
|
838
|
+
/**
|
|
839
|
+
* Custom row of the frozen rows.
|
|
840
|
+
* @param {Object} context - frozenbody template context.
|
|
841
|
+
*/
|
|
842
|
+
frozenbody(context: TableBodyTemplateContext): TemplateRef<TableBodyTemplateContext>;
|
|
843
|
+
/**
|
|
844
|
+
* Custom content of an expanded frozen row.
|
|
845
|
+
* @param {Object} context - frozenexpandedrow template context.
|
|
846
|
+
*/
|
|
847
|
+
frozenexpandedrow(context: TableExpandedRowTemplateContext): TemplateRef<TableExpandedRowTemplateContext>;
|
|
848
|
+
/**
|
|
849
|
+
* Custom content when there is no data.
|
|
850
|
+
* @param {Object} context - emptymessage template context.
|
|
851
|
+
*/
|
|
852
|
+
emptymessage(context: TableEmptyMessageTemplateContext): TemplateRef<TableEmptyMessageTemplateContext>;
|
|
853
|
+
/**
|
|
854
|
+
* Custom content on the left of the paginator.
|
|
855
|
+
* @param {Object} context - paginatorleft template context.
|
|
856
|
+
*/
|
|
857
|
+
paginatorleft(context: PaginatorTemplateContext): TemplateRef<PaginatorTemplateContext>;
|
|
858
|
+
/**
|
|
859
|
+
* Custom content on the right of the paginator.
|
|
860
|
+
* @param {Object} context - paginatorright template context.
|
|
861
|
+
*/
|
|
862
|
+
paginatorright(context: PaginatorTemplateContext): TemplateRef<PaginatorTemplateContext>;
|
|
863
|
+
/**
|
|
864
|
+
* Custom item of the rows per page dropdown of the paginator.
|
|
865
|
+
* @param {Object} context - paginatordropdownitem template context.
|
|
866
|
+
*/
|
|
867
|
+
paginatordropdownitem(context: PaginatorDropdownItemTemplateContext): TemplateRef<PaginatorDropdownItemTemplateContext>;
|
|
868
|
+
/**
|
|
869
|
+
* Custom loading icon.
|
|
870
|
+
*/
|
|
871
|
+
loadingicon(): TemplateRef<void>;
|
|
872
|
+
/**
|
|
873
|
+
* Custom icon of the upper column reorder indicator.
|
|
874
|
+
*/
|
|
875
|
+
reorderindicatorupicon(): TemplateRef<void>;
|
|
876
|
+
/**
|
|
877
|
+
* Custom icon of the lower column reorder indicator.
|
|
878
|
+
*/
|
|
879
|
+
reorderindicatordownicon(): TemplateRef<void>;
|
|
880
|
+
/**
|
|
881
|
+
* Custom sort icon of a sortable column.
|
|
882
|
+
* @param {Object} context - sorticon template context.
|
|
883
|
+
*/
|
|
884
|
+
sorticon(context: TableSortIconTemplateContext): TemplateRef<TableSortIconTemplateContext>;
|
|
885
|
+
/**
|
|
886
|
+
* Custom icon of the row checkboxes.
|
|
887
|
+
* @param {Object} context - checkboxicon template context.
|
|
888
|
+
*/
|
|
889
|
+
checkboxicon(context: TableCheckboxIconTemplateContext): TemplateRef<TableCheckboxIconTemplateContext>;
|
|
890
|
+
/**
|
|
891
|
+
* Custom icon of the header checkbox.
|
|
892
|
+
* @param {Object} context - headercheckboxicon template context.
|
|
893
|
+
*/
|
|
894
|
+
headercheckboxicon(context: TableCheckboxIconTemplateContext): TemplateRef<TableCheckboxIconTemplateContext>;
|
|
895
|
+
/**
|
|
896
|
+
* Custom dropdown icon of the paginator.
|
|
897
|
+
*/
|
|
898
|
+
paginatordropdownicon(): TemplateRef<void>;
|
|
899
|
+
/**
|
|
900
|
+
* Custom icon of the first page button of the paginator.
|
|
901
|
+
*/
|
|
902
|
+
paginatorfirstpagelinkicon(): TemplateRef<void>;
|
|
903
|
+
/**
|
|
904
|
+
* Custom icon of the last page button of the paginator.
|
|
905
|
+
*/
|
|
906
|
+
paginatorlastpagelinkicon(): TemplateRef<void>;
|
|
841
907
|
/**
|
|
842
|
-
* Custom
|
|
843
|
-
* @param {Object} context - checkbox data.
|
|
908
|
+
* Custom icon of the previous page button of the paginator.
|
|
844
909
|
*/
|
|
845
|
-
|
|
846
|
-
/**
|
|
847
|
-
* Checkbox state.
|
|
848
|
-
*/
|
|
849
|
-
$implicit: boolean;
|
|
850
|
-
/**
|
|
851
|
-
* Partial selection state of row node.
|
|
852
|
-
*/
|
|
853
|
-
partialSelected: boolean;
|
|
854
|
-
}): TemplateRef<{
|
|
855
|
-
$implicit: boolean;
|
|
856
|
-
partialSelected: boolean;
|
|
857
|
-
}>;
|
|
910
|
+
paginatorpreviouspagelinkicon(): TemplateRef<void>;
|
|
858
911
|
/**
|
|
859
|
-
* Custom
|
|
860
|
-
* @param {Object} context - checkbox data.
|
|
912
|
+
* Custom icon of the next page button of the paginator.
|
|
861
913
|
*/
|
|
862
|
-
|
|
863
|
-
/**
|
|
864
|
-
* Checked state.
|
|
865
|
-
*/
|
|
866
|
-
$implicit: boolean;
|
|
867
|
-
}): TemplateRef<{
|
|
868
|
-
$implicit: boolean;
|
|
869
|
-
}>;
|
|
914
|
+
paginatornextpagelinkicon(): TemplateRef<void>;
|
|
870
915
|
}
|
|
871
916
|
|
|
872
|
-
export type { ColumnFilterPassThrough, ColumnFilterPassThroughOptions, ExportCSVOptions, TableColResizeEvent, TableColumnReorderEvent, TableContextMenuSelectEvent, TableContextMenuSelectionChangeEvent, TableEditCancelEvent, TableEditCompleteEvent, TableEditEvent, TableEditInitEvent, TableFilterButtonInlinePropsOptions, TableFilterButtonPopoverPropsOptions, TableFilterButtonPropsOptions, TableFilterEvent, TableHeaderCheckboxToggleEvent, TableLazyLoadEvent, TablePageEvent, TablePassThrough, TablePassThroughOptions, TableRowCollapseEvent, TableRowExpandEvent, TableRowReorderEvent, TableRowSelectEvent, TableRowUnSelectEvent, TableSelectAllChangeEvent, TableTemplates };
|
|
917
|
+
export type { ColumnFilterFieldTemplateContext, ColumnFilterIconTemplateContext, ColumnFilterPassThrough, ColumnFilterPassThroughOptions, ColumnFilterTemplateContext, ExportCSVOptions, TableBodyTemplateContext, TableCheckboxIconTemplateContext, TableColResizeEvent, TableColumnReorderEvent, TableColumnsTemplateContext, TableContextMenuSelectEvent, TableContextMenuSelectionChangeEvent, TableEditCancelEvent, TableEditCompleteEvent, TableEditEvent, TableEditInitEvent, TableEmptyMessageTemplateContext, TableExpandedRowTemplateContext, TableFilterButtonInlinePropsOptions, TableFilterButtonPopoverPropsOptions, TableFilterButtonPropsOptions, TableFilterEvent, TableHeaderCheckboxToggleEvent, TableLazyLoadEvent, TableLoadingBodyTemplateContext, TablePageEvent, TablePassThrough, TablePassThroughOptions, TableRowCollapseEvent, TableRowExpandEvent, TableRowReorderEvent, TableRowSelectEvent, TableRowUnSelectEvent, TableSelectAllChangeEvent, TableSortIconTemplateContext, TableTemplates };
|