@exhaustive-ui/core 22.2.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.
Files changed (167) hide show
  1. package/fesm2022/exhaustive-ui-core-autocomplete.mjs +2 -2
  2. package/fesm2022/exhaustive-ui-core-autocomplete.mjs.map +1 -1
  3. package/fesm2022/exhaustive-ui-core-avatargroup.mjs +2 -2
  4. package/fesm2022/exhaustive-ui-core-avatargroup.mjs.map +1 -1
  5. package/fesm2022/exhaustive-ui-core-blockui.mjs +2 -2
  6. package/fesm2022/exhaustive-ui-core-blockui.mjs.map +1 -1
  7. package/fesm2022/exhaustive-ui-core-buttongroup.mjs +2 -2
  8. package/fesm2022/exhaustive-ui-core-buttongroup.mjs.map +1 -1
  9. package/fesm2022/exhaustive-ui-core-cascadeselect.mjs +2 -2
  10. package/fesm2022/exhaustive-ui-core-cascadeselect.mjs.map +1 -1
  11. package/fesm2022/exhaustive-ui-core-colorpicker.mjs +2 -2
  12. package/fesm2022/exhaustive-ui-core-colorpicker.mjs.map +1 -1
  13. package/fesm2022/exhaustive-ui-core-confirmdialog.mjs +2 -2
  14. package/fesm2022/exhaustive-ui-core-confirmdialog.mjs.map +1 -1
  15. package/fesm2022/exhaustive-ui-core-confirmpopup.mjs +2 -2
  16. package/fesm2022/exhaustive-ui-core-confirmpopup.mjs.map +1 -1
  17. package/fesm2022/exhaustive-ui-core-contextmenu.mjs +6 -6
  18. package/fesm2022/exhaustive-ui-core-contextmenu.mjs.map +1 -1
  19. package/fesm2022/exhaustive-ui-core-dataview.mjs +2 -2
  20. package/fesm2022/exhaustive-ui-core-dataview.mjs.map +1 -1
  21. package/fesm2022/exhaustive-ui-core-datepicker.mjs +2 -2
  22. package/fesm2022/exhaustive-ui-core-datepicker.mjs.map +1 -1
  23. package/fesm2022/exhaustive-ui-core-dialog.mjs +14 -14
  24. package/fesm2022/exhaustive-ui-core-dialog.mjs.map +1 -1
  25. package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs +2 -2
  26. package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs.map +1 -1
  27. package/fesm2022/exhaustive-ui-core-fileinput.mjs +2 -2
  28. package/fesm2022/exhaustive-ui-core-fileinput.mjs.map +1 -1
  29. package/fesm2022/exhaustive-ui-core-fileupload.mjs +3 -3
  30. package/fesm2022/exhaustive-ui-core-fileupload.mjs.map +1 -1
  31. package/fesm2022/exhaustive-ui-core-floatlabel.mjs +2 -2
  32. package/fesm2022/exhaustive-ui-core-floatlabel.mjs.map +1 -1
  33. package/fesm2022/exhaustive-ui-core-iconfield.mjs +2 -2
  34. package/fesm2022/exhaustive-ui-core-iconfield.mjs.map +1 -1
  35. package/fesm2022/exhaustive-ui-core-iftalabel.mjs +2 -2
  36. package/fesm2022/exhaustive-ui-core-iftalabel.mjs.map +1 -1
  37. package/fesm2022/exhaustive-ui-core-imagecompare.mjs +2 -2
  38. package/fesm2022/exhaustive-ui-core-imagecompare.mjs.map +1 -1
  39. package/fesm2022/exhaustive-ui-core-inputgroup.mjs +2 -2
  40. package/fesm2022/exhaustive-ui-core-inputgroup.mjs.map +1 -1
  41. package/fesm2022/exhaustive-ui-core-inputgroupaddon.mjs +2 -2
  42. package/fesm2022/exhaustive-ui-core-inputgroupaddon.mjs.map +1 -1
  43. package/fesm2022/exhaustive-ui-core-inputicon.mjs +2 -2
  44. package/fesm2022/exhaustive-ui-core-inputicon.mjs.map +1 -1
  45. package/fesm2022/exhaustive-ui-core-inputmask.mjs +2 -2
  46. package/fesm2022/exhaustive-ui-core-inputmask.mjs.map +1 -1
  47. package/fesm2022/exhaustive-ui-core-inputnumber.mjs +2 -2
  48. package/fesm2022/exhaustive-ui-core-inputnumber.mjs.map +1 -1
  49. package/fesm2022/exhaustive-ui-core-inputotp.mjs +2 -2
  50. package/fesm2022/exhaustive-ui-core-inputotp.mjs.map +1 -1
  51. package/fesm2022/exhaustive-ui-core-listbox.mjs +1 -1
  52. package/fesm2022/exhaustive-ui-core-listbox.mjs.map +1 -1
  53. package/fesm2022/exhaustive-ui-core-megamenu.mjs +6 -6
  54. package/fesm2022/exhaustive-ui-core-megamenu.mjs.map +1 -1
  55. package/fesm2022/exhaustive-ui-core-menubar.mjs +4 -4
  56. package/fesm2022/exhaustive-ui-core-menubar.mjs.map +1 -1
  57. package/fesm2022/exhaustive-ui-core-metergroup.mjs +5 -5
  58. package/fesm2022/exhaustive-ui-core-metergroup.mjs.map +1 -1
  59. package/fesm2022/exhaustive-ui-core-multiselect.mjs +3 -3
  60. package/fesm2022/exhaustive-ui-core-multiselect.mjs.map +1 -1
  61. package/fesm2022/exhaustive-ui-core-orderlist.mjs +2 -2
  62. package/fesm2022/exhaustive-ui-core-orderlist.mjs.map +1 -1
  63. package/fesm2022/exhaustive-ui-core-organizationchart.mjs +7 -2
  64. package/fesm2022/exhaustive-ui-core-organizationchart.mjs.map +1 -1
  65. package/fesm2022/exhaustive-ui-core-overlaybadge.mjs +2 -2
  66. package/fesm2022/exhaustive-ui-core-overlaybadge.mjs.map +1 -1
  67. package/fesm2022/exhaustive-ui-core-paginator.mjs +1 -1
  68. package/fesm2022/exhaustive-ui-core-panelmenu.mjs +2 -2
  69. package/fesm2022/exhaustive-ui-core-panelmenu.mjs.map +1 -1
  70. package/fesm2022/exhaustive-ui-core-picklist.mjs +2 -2
  71. package/fesm2022/exhaustive-ui-core-picklist.mjs.map +1 -1
  72. package/fesm2022/exhaustive-ui-core-progressbar.mjs +2 -2
  73. package/fesm2022/exhaustive-ui-core-progressbar.mjs.map +1 -1
  74. package/fesm2022/exhaustive-ui-core-progressspinner.mjs +2 -2
  75. package/fesm2022/exhaustive-ui-core-progressspinner.mjs.map +1 -1
  76. package/fesm2022/exhaustive-ui-core-radiobutton.mjs +2 -2
  77. package/fesm2022/exhaustive-ui-core-radiobutton.mjs.map +1 -1
  78. package/fesm2022/exhaustive-ui-core-scrolltop.mjs +2 -2
  79. package/fesm2022/exhaustive-ui-core-scrolltop.mjs.map +1 -1
  80. package/fesm2022/exhaustive-ui-core-select.mjs +3 -3
  81. package/fesm2022/exhaustive-ui-core-select.mjs.map +1 -1
  82. package/fesm2022/exhaustive-ui-core-selectbutton.mjs +3 -3
  83. package/fesm2022/exhaustive-ui-core-selectbutton.mjs.map +1 -1
  84. package/fesm2022/exhaustive-ui-core-speeddial.mjs +2 -2
  85. package/fesm2022/exhaustive-ui-core-speeddial.mjs.map +1 -1
  86. package/fesm2022/exhaustive-ui-core-splitbutton.mjs +3 -3
  87. package/fesm2022/exhaustive-ui-core-splitbutton.mjs.map +1 -1
  88. package/fesm2022/exhaustive-ui-core-splitter.mjs +4 -0
  89. package/fesm2022/exhaustive-ui-core-splitter.mjs.map +1 -1
  90. package/fesm2022/exhaustive-ui-core-table.mjs +175 -28
  91. package/fesm2022/exhaustive-ui-core-table.mjs.map +1 -1
  92. package/fesm2022/exhaustive-ui-core-tabs.mjs +6 -6
  93. package/fesm2022/exhaustive-ui-core-tabs.mjs.map +1 -1
  94. package/fesm2022/exhaustive-ui-core-tieredmenu.mjs +6 -6
  95. package/fesm2022/exhaustive-ui-core-tieredmenu.mjs.map +1 -1
  96. package/fesm2022/exhaustive-ui-core-toast.mjs +3 -3
  97. package/fesm2022/exhaustive-ui-core-toast.mjs.map +1 -1
  98. package/fesm2022/exhaustive-ui-core-togglebutton.mjs +2 -2
  99. package/fesm2022/exhaustive-ui-core-togglebutton.mjs.map +1 -1
  100. package/fesm2022/exhaustive-ui-core-toggleswitch.mjs +2 -2
  101. package/fesm2022/exhaustive-ui-core-toggleswitch.mjs.map +1 -1
  102. package/fesm2022/exhaustive-ui-core-tree.mjs +4 -4
  103. package/fesm2022/exhaustive-ui-core-tree.mjs.map +1 -1
  104. package/fesm2022/exhaustive-ui-core-treeselect.mjs +2 -2
  105. package/fesm2022/exhaustive-ui-core-treeselect.mjs.map +1 -1
  106. package/fesm2022/exhaustive-ui-core-treetable.mjs +141 -12
  107. package/fesm2022/exhaustive-ui-core-treetable.mjs.map +1 -1
  108. package/package.json +5 -5
  109. package/schematics/utils/versions.json +8 -8
  110. package/types/exhaustive-ui-core-autocomplete.d.ts +1 -1
  111. package/types/exhaustive-ui-core-avatargroup.d.ts +1 -1
  112. package/types/exhaustive-ui-core-blockui.d.ts +1 -1
  113. package/types/exhaustive-ui-core-buttongroup.d.ts +1 -1
  114. package/types/exhaustive-ui-core-cascadeselect.d.ts +1 -1
  115. package/types/exhaustive-ui-core-colorpicker.d.ts +1 -1
  116. package/types/exhaustive-ui-core-confirmdialog.d.ts +1 -1
  117. package/types/exhaustive-ui-core-confirmpopup.d.ts +1 -1
  118. package/types/exhaustive-ui-core-contextmenu.d.ts +2 -2
  119. package/types/exhaustive-ui-core-dataview.d.ts +1 -1
  120. package/types/exhaustive-ui-core-datepicker.d.ts +1 -1
  121. package/types/exhaustive-ui-core-dialog.d.ts +14 -14
  122. package/types/exhaustive-ui-core-dynamicdialog.d.ts +1 -1
  123. package/types/exhaustive-ui-core-fileinput.d.ts +1 -1
  124. package/types/exhaustive-ui-core-fileupload.d.ts +1 -1
  125. package/types/exhaustive-ui-core-floatlabel.d.ts +1 -1
  126. package/types/exhaustive-ui-core-iconfield.d.ts +1 -1
  127. package/types/exhaustive-ui-core-iftalabel.d.ts +1 -1
  128. package/types/exhaustive-ui-core-imagecompare.d.ts +1 -1
  129. package/types/exhaustive-ui-core-inputgroup.d.ts +1 -1
  130. package/types/exhaustive-ui-core-inputgroupaddon.d.ts +1 -1
  131. package/types/exhaustive-ui-core-inputicon.d.ts +1 -1
  132. package/types/exhaustive-ui-core-inputmask.d.ts +1 -1
  133. package/types/exhaustive-ui-core-inputnumber.d.ts +1 -1
  134. package/types/exhaustive-ui-core-inputotp.d.ts +1 -1
  135. package/types/exhaustive-ui-core-megamenu.d.ts +2 -2
  136. package/types/exhaustive-ui-core-menubar.d.ts +1 -1
  137. package/types/exhaustive-ui-core-metergroup.d.ts +2 -2
  138. package/types/exhaustive-ui-core-multiselect.d.ts +1 -1
  139. package/types/exhaustive-ui-core-orderlist.d.ts +1 -1
  140. package/types/exhaustive-ui-core-organizationchart.d.ts +8 -3
  141. package/types/exhaustive-ui-core-overlaybadge.d.ts +1 -1
  142. package/types/exhaustive-ui-core-panelmenu.d.ts +1 -1
  143. package/types/exhaustive-ui-core-picklist.d.ts +1 -1
  144. package/types/exhaustive-ui-core-progressbar.d.ts +1 -1
  145. package/types/exhaustive-ui-core-progressspinner.d.ts +1 -1
  146. package/types/exhaustive-ui-core-radiobutton.d.ts +1 -1
  147. package/types/exhaustive-ui-core-scrolltop.d.ts +1 -1
  148. package/types/exhaustive-ui-core-selectbutton.d.ts +1 -1
  149. package/types/exhaustive-ui-core-speeddial.d.ts +1 -1
  150. package/types/exhaustive-ui-core-splitbutton.d.ts +1 -1
  151. package/types/exhaustive-ui-core-splitter.d.ts +6 -2
  152. package/types/exhaustive-ui-core-table.d.ts +200 -51
  153. package/types/exhaustive-ui-core-tabs.d.ts +3 -3
  154. package/types/exhaustive-ui-core-tieredmenu.d.ts +2 -2
  155. package/types/exhaustive-ui-core-toast.d.ts +1 -1
  156. package/types/exhaustive-ui-core-togglebutton.d.ts +1 -1
  157. package/types/exhaustive-ui-core-toggleswitch.d.ts +1 -1
  158. package/types/exhaustive-ui-core-tree.d.ts +1 -1
  159. package/types/exhaustive-ui-core-treeselect.d.ts +1 -1
  160. package/types/exhaustive-ui-core-treetable.d.ts +144 -13
  161. package/types/exhaustive-ui-core-types-chip.d.ts +0 -4
  162. package/types/exhaustive-ui-core-types-dataview.d.ts +0 -8
  163. package/types/exhaustive-ui-core-types-megamenu.d.ts +0 -4
  164. package/types/exhaustive-ui-core-types-orderlist.d.ts +0 -4
  165. package/types/exhaustive-ui-core-types-organizationchart.d.ts +11 -1
  166. package/types/exhaustive-ui-core-types-table.d.ts +365 -320
  167. 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 template.
549
- */
550
- caption(): TemplateRef<any>;
551
- /**
552
- * Custom grouped header template.
553
- * @param {Object} context - row data.
554
- */
555
- headergrouped(context: {
556
- /**
557
- * Row data.
558
- */
559
- $implicit?: any;
560
- /**
561
- * Row index.
562
- */
563
- rowIndex?: number;
564
- /**
565
- * Columns.
566
- */
567
- columns?: any[];
568
- /**
569
- * Editing state.
570
- */
571
- editing?: boolean;
572
- /**
573
- * Frozen state.
574
- */
575
- frozen?: boolean;
576
- }): TemplateRef<any>;
577
- /**
578
- * Custom grouped header template.
579
- * @param {Object} context - header data.
580
- */
581
- header(context: {
582
- /**
583
- * Field.
584
- */
585
- $implicit: string;
586
- }): TemplateRef<{
587
- $implicit: string;
588
- }>;
589
- /**
590
- * Custom body template.
591
- * @param {Object} context - body data.
592
- */
593
- body(context: {
594
- /**
595
- * Columns.
596
- */
597
- $implicit: any;
598
- /**
599
- * Frozen state.
600
- */
601
- frozen: boolean;
602
- }): TemplateRef<{
603
- $implicit: any;
604
- frozen: boolean;
605
- }>;
606
- /**
607
- * Custom loading body template.
608
- * @param {Object} context - loading body data.
609
- */
610
- loadingbody(context: {
611
- /**
612
- * Row span.
613
- */
614
- rowspan?: number;
615
- /**
616
- * Row group.
617
- */
618
- rowgroup?: number;
619
- }): TemplateRef<any>;
620
- /**
621
- * Custom footer template.
622
- * @param {Object} context - footer data.
623
- */
624
- footer(context: {
625
- /**
626
- * Field.
627
- */
628
- $implicit: string;
629
- }): TemplateRef<{
630
- $implicit: string;
631
- }>;
632
- /**
633
- * Custom footer template.
634
- * @param {Object} context - footer data.
635
- */
636
- footergrouped(context: {
637
- /**
638
- * Columns.
639
- */
640
- $implicit: any[];
641
- }): TemplateRef<any[]>;
642
- /**
643
- * Custom column group template.
644
- * @param {Object} context - columns data.
645
- */
646
- colgroup(context: {
647
- /**
648
- * Columns.
649
- */
650
- $implicit: any[];
651
- }): TemplateRef<any[]>;
652
- /**
653
- * Custom summary template.
654
- */
655
- summary(): TemplateRef<any>;
656
- /**
657
- * Custom expanded row template.
658
- * @param {Object} context - expanded row data.
659
- */
660
- expandedrow(context: {
661
- /**
662
- * Row span.
663
- */
664
- rowspan?: number;
665
- /**
666
- * Row group.
667
- */
668
- rowgroup?: number;
669
- /**
670
- * Expanded state.
671
- */
672
- expanded: boolean;
673
- }): TemplateRef<any>;
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 checkbox icon template.
843
- * @param {Object} context - checkbox data.
908
+ * Custom icon of the previous page button of the paginator.
844
909
  */
845
- checkboxicon(context: {
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 header checkbox icon template.
860
- * @param {Object} context - checkbox data.
912
+ * Custom icon of the next page button of the paginator.
861
913
  */
862
- headercheckboxicon(context: {
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 };