primeng 19.0.1 → 19.0.2
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/autocomplete/autocomplete.d.ts +1 -1
- package/cascadeselect/cascadeselect.d.ts +1 -1
- package/dropdown/dropdown.d.ts +2 -1
- package/dynamicdialog/dialogservice.d.ts +1 -1
- package/dynamicdialog/dynamicdialog-config.d.ts +7 -2
- package/dynamicdialog/dynamicdialog.d.ts +5 -4
- package/fesm2022/primeng-autocomplete.mjs +5 -5
- package/fesm2022/primeng-autocomplete.mjs.map +1 -1
- package/fesm2022/primeng-breadcrumb.mjs +76 -70
- package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
- package/fesm2022/primeng-calendar.mjs +2 -2
- package/fesm2022/primeng-calendar.mjs.map +1 -1
- package/fesm2022/primeng-carousel.mjs +14 -5
- package/fesm2022/primeng-carousel.mjs.map +1 -1
- package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
- package/fesm2022/primeng-confirmdialog.mjs +1 -1
- package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
- package/fesm2022/primeng-datepicker.mjs +2 -2
- package/fesm2022/primeng-datepicker.mjs.map +1 -1
- package/fesm2022/primeng-dialog.mjs +1 -0
- package/fesm2022/primeng-dialog.mjs.map +1 -1
- package/fesm2022/primeng-dock.mjs +90 -80
- package/fesm2022/primeng-dock.mjs.map +1 -1
- package/fesm2022/primeng-dropdown.mjs +8 -15
- package/fesm2022/primeng-dropdown.mjs.map +1 -1
- package/fesm2022/primeng-dynamicdialog.mjs +19 -6
- package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
- package/fesm2022/primeng-fileupload.mjs +2 -2
- package/fesm2022/primeng-fileupload.mjs.map +1 -1
- package/fesm2022/primeng-galleria.mjs +229 -86
- package/fesm2022/primeng-galleria.mjs.map +1 -1
- package/fesm2022/primeng-inputnumber.mjs +1 -1
- package/fesm2022/primeng-inputnumber.mjs.map +1 -1
- package/fesm2022/primeng-inputotp.mjs +17 -8
- package/fesm2022/primeng-inputotp.mjs.map +1 -1
- package/fesm2022/primeng-listbox.mjs +23 -12
- package/fesm2022/primeng-listbox.mjs.map +1 -1
- package/fesm2022/primeng-menu.mjs +38 -48
- package/fesm2022/primeng-menu.mjs.map +1 -1
- package/fesm2022/primeng-multiselect.mjs +48 -24
- package/fesm2022/primeng-multiselect.mjs.map +1 -1
- package/fesm2022/primeng-paginator.mjs +5 -1
- package/fesm2022/primeng-paginator.mjs.map +1 -1
- package/fesm2022/primeng-panel.mjs +58 -52
- package/fesm2022/primeng-panel.mjs.map +1 -1
- package/fesm2022/primeng-popover.mjs +10 -19
- package/fesm2022/primeng-popover.mjs.map +1 -1
- package/fesm2022/primeng-select.mjs +15 -21
- package/fesm2022/primeng-select.mjs.map +1 -1
- package/fesm2022/primeng-splitter.mjs +28 -14
- package/fesm2022/primeng-splitter.mjs.map +1 -1
- package/fesm2022/primeng-steps.mjs +100 -90
- package/fesm2022/primeng-steps.mjs.map +1 -1
- package/fesm2022/primeng-table.mjs +3 -3
- package/fesm2022/primeng-table.mjs.map +1 -1
- package/fesm2022/primeng-tag.mjs +0 -1
- package/fesm2022/primeng-tag.mjs.map +1 -1
- package/fesm2022/primeng-togglebutton.mjs +3 -3
- package/fesm2022/primeng-tree.mjs +15 -11
- package/fesm2022/primeng-tree.mjs.map +1 -1
- package/fesm2022/primeng-treetable.mjs +385 -175
- package/fesm2022/primeng-treetable.mjs.map +1 -1
- package/galleria/galleria.d.ts +18 -1
- package/inputotp/inputotp.d.ts +1 -0
- package/package.json +98 -98
- package/popover/popover.d.ts +1 -7
- package/select/select.d.ts +1 -0
- package/splitter/splitter.d.ts +2 -1
- package/tag/tag.d.ts +0 -1
- package/togglebutton/public_api.d.ts +2 -1
- package/treetable/treetable.d.ts +28 -1
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as i1 from '@angular/common';
|
2
2
|
import { isPlatformBrowser, DOCUMENT, CommonModule } from '@angular/common';
|
3
3
|
import * as i0 from '@angular/core';
|
4
|
-
import { Injectable, inject, EventEmitter, NgZone, booleanAttribute, numberAttribute, Component, ViewEncapsulation, Input, Output, ViewChild, ContentChildren, PLATFORM_ID, Inject, Directive, HostListener, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
4
|
+
import { Injectable, inject, EventEmitter, NgZone, booleanAttribute, numberAttribute, Component, ViewEncapsulation, Input, Output, ViewChild, ContentChild, ContentChildren, PLATFORM_ID, Inject, Directive, HostListener, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
5
5
|
import * as i4 from '@angular/forms';
|
6
6
|
import { FormsModule } from '@angular/forms';
|
7
7
|
import { resolveFieldData, isEmpty, getOffset, addClass, findSingle, getIndex, calculateScrollbarWidth, removeClass, hasClass, getHiddenElementOuterWidth, getHiddenElementOuterHeight, reorderArray, equals, find, calculateScrollbarHeight, clearSelection, invokeElementMethod, focus, isNotEmpty, getAttribute } from '@primeuix/utils';
|
@@ -636,17 +636,43 @@ var TreeTableClasses;
|
|
636
636
|
TreeTableClasses["columnResizeIndicator"] = "p-treetable-column-resize-indicator";
|
637
637
|
})(TreeTableClasses || (TreeTableClasses = {}));
|
638
638
|
|
639
|
-
const _c0 = ["
|
640
|
-
const _c1 = ["
|
641
|
-
const _c2 = ["
|
642
|
-
const _c3 = ["
|
643
|
-
const _c4 = ["
|
644
|
-
const _c5 = ["
|
645
|
-
const _c6 = ["
|
646
|
-
const _c7 =
|
647
|
-
const _c8 =
|
648
|
-
const _c9 =
|
649
|
-
const _c10 =
|
639
|
+
const _c0 = ["colgroup"];
|
640
|
+
const _c1 = ["caption"];
|
641
|
+
const _c2 = ["header"];
|
642
|
+
const _c3 = ["body"];
|
643
|
+
const _c4 = ["footer"];
|
644
|
+
const _c5 = ["summary"];
|
645
|
+
const _c6 = ["emptymessage"];
|
646
|
+
const _c7 = ["paginatorleft"];
|
647
|
+
const _c8 = ["paginatorright"];
|
648
|
+
const _c9 = ["paginatordropdownitem"];
|
649
|
+
const _c10 = ["frozenheader"];
|
650
|
+
const _c11 = ["frozenbody"];
|
651
|
+
const _c12 = ["frozenfooter"];
|
652
|
+
const _c13 = ["frozencolgroup"];
|
653
|
+
const _c14 = ["loadingicon"];
|
654
|
+
const _c15 = ["reorderindicatorupicon"];
|
655
|
+
const _c16 = ["reorderindicatordownicon"];
|
656
|
+
const _c17 = ["sorticon"];
|
657
|
+
const _c18 = ["checkboxicon"];
|
658
|
+
const _c19 = ["headercheckboxicon"];
|
659
|
+
const _c20 = ["togglericon"];
|
660
|
+
const _c21 = ["paginatorfirstpagelinkicon"];
|
661
|
+
const _c22 = ["paginatorlastpagelinkicon"];
|
662
|
+
const _c23 = ["paginatorpreviouspagelinkicon"];
|
663
|
+
const _c24 = ["paginatornextpagelinkicon"];
|
664
|
+
const _c25 = ["loader"];
|
665
|
+
const _c26 = ["container"];
|
666
|
+
const _c27 = ["resizeHelper"];
|
667
|
+
const _c28 = ["reorderIndicatorUp"];
|
668
|
+
const _c29 = ["reorderIndicatorDown"];
|
669
|
+
const _c30 = ["table"];
|
670
|
+
const _c31 = ["scrollableView"];
|
671
|
+
const _c32 = ["scrollableFrozenView"];
|
672
|
+
const _c33 = (a0, a1, a2, a3, a4, a5) => ({ "p-treetable p-component": true, "p-treetable-gridlines": a0, "p-treetable-hoverable-rows": a1, "p-treetable-auto-layout": a2, "p-treetable-resizable": a3, "p-treetable-resizable-fit": a4, "p-treetable-flex-scrollable": a5 });
|
673
|
+
const _c34 = a0 => ({ $implicit: a0 });
|
674
|
+
const _c35 = (a0, a1) => ({ left: a0, width: a1 });
|
675
|
+
const _c36 = a0 => ({ width: a0 });
|
650
676
|
function TreeTable_div_2_i_2_Template(rf, ctx) { if (rf & 1) {
|
651
677
|
i0.ɵɵelement(0, "i");
|
652
678
|
} if (rf & 2) {
|
@@ -669,7 +695,7 @@ function TreeTable_div_2_ng_container_3_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
669
695
|
} if (rf & 2) {
|
670
696
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
671
697
|
i0.ɵɵadvance();
|
672
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.loadingIconTemplate);
|
698
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.loadingIconTemplate || ctx_r0._loadingIconTemplate);
|
673
699
|
} }
|
674
700
|
function TreeTable_div_2_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
675
701
|
i0.ɵɵelementContainerStart(0);
|
@@ -678,9 +704,9 @@ function TreeTable_div_2_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
678
704
|
} if (rf & 2) {
|
679
705
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
680
706
|
i0.ɵɵadvance();
|
681
|
-
i0.ɵɵproperty("ngIf", !ctx_r0.loadingIconTemplate);
|
707
|
+
i0.ɵɵproperty("ngIf", !ctx_r0.loadingIconTemplate && !ctx_r0._loadingIconTemplate);
|
682
708
|
i0.ɵɵadvance();
|
683
|
-
i0.ɵɵproperty("ngIf", ctx_r0.loadingIconTemplate);
|
709
|
+
i0.ɵɵproperty("ngIf", ctx_r0.loadingIconTemplate || ctx_r0._loadingIconTemplate);
|
684
710
|
} }
|
685
711
|
function TreeTable_div_2_Template(rf, ctx) { if (rf & 1) {
|
686
712
|
i0.ɵɵelementStart(0, "div", 18)(1, "div", 19);
|
@@ -703,7 +729,7 @@ function TreeTable_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
703
729
|
} if (rf & 2) {
|
704
730
|
const ctx_r0 = i0.ɵɵnextContext();
|
705
731
|
i0.ɵɵadvance();
|
706
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.captionTemplate);
|
732
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.captionTemplate || ctx_r0._captionTemplate);
|
707
733
|
} }
|
708
734
|
function TreeTable_p_paginator_4_1_ng_template_0_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
709
735
|
i0.ɵɵelementContainer(0);
|
@@ -712,7 +738,7 @@ function TreeTable_p_paginator_4_1_ng_template_0_Template(rf, ctx) { if (rf & 1)
|
|
712
738
|
i0.ɵɵtemplate(0, TreeTable_p_paginator_4_1_ng_template_0_ng_container_0_Template, 1, 0, "ng-container", 26);
|
713
739
|
} if (rf & 2) {
|
714
740
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
715
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.paginatorFirstPageLinkIconTemplate);
|
741
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.paginatorFirstPageLinkIconTemplate || ctx_r0._paginatorFirstPageLinkIconTemplate);
|
716
742
|
} }
|
717
743
|
function TreeTable_p_paginator_4_1_Template(rf, ctx) { if (rf & 1) {
|
718
744
|
i0.ɵɵtemplate(0, TreeTable_p_paginator_4_1_ng_template_0_Template, 1, 1, "ng-template", 29);
|
@@ -724,7 +750,7 @@ function TreeTable_p_paginator_4_2_ng_template_0_Template(rf, ctx) { if (rf & 1)
|
|
724
750
|
i0.ɵɵtemplate(0, TreeTable_p_paginator_4_2_ng_template_0_ng_container_0_Template, 1, 0, "ng-container", 26);
|
725
751
|
} if (rf & 2) {
|
726
752
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
727
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.paginatorPreviousPageLinkIconTemplate);
|
753
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.paginatorPreviousPageLinkIconTemplate || ctx_r0._paginatorPreviousPageLinkIconTemplate);
|
728
754
|
} }
|
729
755
|
function TreeTable_p_paginator_4_2_Template(rf, ctx) { if (rf & 1) {
|
730
756
|
i0.ɵɵtemplate(0, TreeTable_p_paginator_4_2_ng_template_0_Template, 1, 1, "ng-template", 30);
|
@@ -736,7 +762,7 @@ function TreeTable_p_paginator_4_3_ng_template_0_Template(rf, ctx) { if (rf & 1)
|
|
736
762
|
i0.ɵɵtemplate(0, TreeTable_p_paginator_4_3_ng_template_0_ng_container_0_Template, 1, 0, "ng-container", 26);
|
737
763
|
} if (rf & 2) {
|
738
764
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
739
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.paginatorLastPageLinkIconTemplate);
|
765
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.paginatorLastPageLinkIconTemplate || ctx_r0._paginatorLastPageLinkIconTemplate);
|
740
766
|
} }
|
741
767
|
function TreeTable_p_paginator_4_3_Template(rf, ctx) { if (rf & 1) {
|
742
768
|
i0.ɵɵtemplate(0, TreeTable_p_paginator_4_3_ng_template_0_Template, 1, 1, "ng-template", 31);
|
@@ -748,7 +774,7 @@ function TreeTable_p_paginator_4_4_ng_template_0_Template(rf, ctx) { if (rf & 1)
|
|
748
774
|
i0.ɵɵtemplate(0, TreeTable_p_paginator_4_4_ng_template_0_ng_container_0_Template, 1, 0, "ng-container", 26);
|
749
775
|
} if (rf & 2) {
|
750
776
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
751
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.paginatorNextPageLinkIconTemplate);
|
777
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.paginatorNextPageLinkIconTemplate || ctx_r0._paginatorNextPageLinkIconTemplate);
|
752
778
|
} }
|
753
779
|
function TreeTable_p_paginator_4_4_Template(rf, ctx) { if (rf & 1) {
|
754
780
|
i0.ɵɵtemplate(0, TreeTable_p_paginator_4_4_ng_template_0_Template, 1, 1, "ng-template", 32);
|
@@ -760,16 +786,19 @@ function TreeTable_p_paginator_4_Template(rf, ctx) { if (rf & 1) {
|
|
760
786
|
i0.ɵɵtemplate(1, TreeTable_p_paginator_4_1_Template, 1, 0, null, 21)(2, TreeTable_p_paginator_4_2_Template, 1, 0, null, 21)(3, TreeTable_p_paginator_4_3_Template, 1, 0, null, 21)(4, TreeTable_p_paginator_4_4_Template, 1, 0, null, 21);
|
761
787
|
i0.ɵɵelementEnd();
|
762
788
|
} if (rf & 2) {
|
789
|
+
let tmp_8_0;
|
790
|
+
let tmp_9_0;
|
791
|
+
let tmp_13_0;
|
763
792
|
const ctx_r0 = i0.ɵɵnextContext();
|
764
|
-
i0.ɵɵproperty("rows", ctx_r0.rows)("first", ctx_r0.first)("totalRecords", ctx_r0.totalRecords)("pageLinkSize", ctx_r0.pageLinks)("alwaysShow", ctx_r0.alwaysShowPaginator)("rowsPerPageOptions", ctx_r0.rowsPerPageOptions)("templateLeft", ctx_r0.paginatorLeftTemplate)("templateRight", ctx_r0.paginatorRightTemplate)("dropdownAppendTo", ctx_r0.paginatorDropdownAppendTo)("currentPageReportTemplate", ctx_r0.currentPageReportTemplate)("showFirstLastIcon", ctx_r0.showFirstLastIcon)("dropdownItemTemplate", ctx_r0.paginatorDropdownItemTemplate)("showCurrentPageReport", ctx_r0.showCurrentPageReport)("showJumpToPageDropdown", ctx_r0.showJumpToPageDropdown)("showPageLinks", ctx_r0.showPageLinks)("styleClass", ctx_r0.paginatorStyleClass)("locale", ctx_r0.paginatorLocale);
|
793
|
+
i0.ɵɵproperty("rows", ctx_r0.rows)("first", ctx_r0.first)("totalRecords", ctx_r0.totalRecords)("pageLinkSize", ctx_r0.pageLinks)("alwaysShow", ctx_r0.alwaysShowPaginator)("rowsPerPageOptions", ctx_r0.rowsPerPageOptions)("templateLeft", (tmp_8_0 = ctx_r0.paginatorLeftTemplate) !== null && tmp_8_0 !== undefined ? tmp_8_0 : ctx_r0._paginatorLeftTemplate)("templateRight", (tmp_9_0 = ctx_r0.paginatorRightTemplate) !== null && tmp_9_0 !== undefined ? tmp_9_0 : ctx_r0._paginatorRightTemplate)("dropdownAppendTo", ctx_r0.paginatorDropdownAppendTo)("currentPageReportTemplate", ctx_r0.currentPageReportTemplate)("showFirstLastIcon", ctx_r0.showFirstLastIcon)("dropdownItemTemplate", (tmp_13_0 = ctx_r0.paginatorDropdownItemTemplate) !== null && tmp_13_0 !== undefined ? tmp_13_0 : ctx_r0._paginatorDropdownItemTemplate)("showCurrentPageReport", ctx_r0.showCurrentPageReport)("showJumpToPageDropdown", ctx_r0.showJumpToPageDropdown)("showPageLinks", ctx_r0.showPageLinks)("styleClass", ctx_r0.paginatorStyleClass)("locale", ctx_r0.paginatorLocale);
|
765
794
|
i0.ɵɵadvance();
|
766
|
-
i0.ɵɵproperty("ngIf", ctx_r0.paginatorFirstPageLinkIconTemplate);
|
795
|
+
i0.ɵɵproperty("ngIf", ctx_r0.paginatorFirstPageLinkIconTemplate || ctx_r0._paginatorFirstPageLinkIconTemplate);
|
767
796
|
i0.ɵɵadvance();
|
768
|
-
i0.ɵɵproperty("ngIf", ctx_r0.paginatorPreviousPageLinkIconTemplate);
|
797
|
+
i0.ɵɵproperty("ngIf", ctx_r0.paginatorPreviousPageLinkIconTemplate || ctx_r0._paginatorPreviousPageLinkIconTemplate);
|
769
798
|
i0.ɵɵadvance();
|
770
|
-
i0.ɵɵproperty("ngIf", ctx_r0.paginatorLastPageLinkIconTemplate);
|
799
|
+
i0.ɵɵproperty("ngIf", ctx_r0.paginatorLastPageLinkIconTemplate || ctx_r0._paginatorLastPageLinkIconTemplate);
|
771
800
|
i0.ɵɵadvance();
|
772
|
-
i0.ɵɵproperty("ngIf", ctx_r0.paginatorNextPageLinkIconTemplate);
|
801
|
+
i0.ɵɵproperty("ngIf", ctx_r0.paginatorNextPageLinkIconTemplate || ctx_r0._paginatorNextPageLinkIconTemplate);
|
773
802
|
} }
|
774
803
|
function TreeTable_div_5_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
775
804
|
i0.ɵɵelementContainer(0);
|
@@ -791,23 +820,24 @@ function TreeTable_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
791
820
|
i0.ɵɵtemplate(8, TreeTable_div_5_ng_container_8_Template, 1, 0, "ng-container", 35);
|
792
821
|
i0.ɵɵelementEnd()()();
|
793
822
|
} if (rf & 2) {
|
823
|
+
let tmp_10_0;
|
794
824
|
const ctx_r0 = i0.ɵɵnextContext();
|
795
825
|
i0.ɵɵadvance();
|
796
826
|
i0.ɵɵproperty("ngClass", ctx_r0.tableStyleClass)("ngStyle", ctx_r0.tableStyle);
|
797
827
|
i0.ɵɵadvance(2);
|
798
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.colGroupTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(10,
|
828
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.colGroupTemplate || ctx_r0._colGroupTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(10, _c34, ctx_r0.columns));
|
799
829
|
i0.ɵɵadvance(2);
|
800
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.headerTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(12,
|
830
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.headerTemplate || ctx_r0._headerTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(12, _c34, ctx_r0.columns));
|
801
831
|
i0.ɵɵadvance();
|
802
|
-
i0.ɵɵproperty("pTreeTableBody", ctx_r0.columns)("pTreeTableBodyTemplate", ctx_r0.bodyTemplate);
|
832
|
+
i0.ɵɵproperty("pTreeTableBody", ctx_r0.columns)("pTreeTableBodyTemplate", (tmp_10_0 = ctx_r0.bodyTemplate) !== null && tmp_10_0 !== undefined ? tmp_10_0 : ctx_r0._bodyTemplate);
|
803
833
|
i0.ɵɵadvance(2);
|
804
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.footerTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(14,
|
834
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.footerTemplate || ctx_r0._footerTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(14, _c34, ctx_r0.columns));
|
805
835
|
} }
|
806
836
|
function TreeTable_div_6_div_1_Template(rf, ctx) { if (rf & 1) {
|
807
837
|
i0.ɵɵelement(0, "div", 42, 3);
|
808
838
|
} if (rf & 2) {
|
809
839
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
810
|
-
i0.ɵɵproperty("ttScrollableView", ctx_r0.frozenColumns)("frozen", true)("ngStyle", i0.ɵɵpureFunction1(4,
|
840
|
+
i0.ɵɵproperty("ttScrollableView", ctx_r0.frozenColumns)("frozen", true)("ngStyle", i0.ɵɵpureFunction1(4, _c36, ctx_r0.frozenWidth))("scrollHeight", ctx_r0.scrollHeight);
|
811
841
|
} }
|
812
842
|
function TreeTable_div_6_Template(rf, ctx) { if (rf & 1) {
|
813
843
|
i0.ɵɵelementStart(0, "div", 39);
|
@@ -817,9 +847,9 @@ function TreeTable_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
817
847
|
} if (rf & 2) {
|
818
848
|
const ctx_r0 = i0.ɵɵnextContext();
|
819
849
|
i0.ɵɵadvance();
|
820
|
-
i0.ɵɵproperty("ngIf", ctx_r0.frozenColumns || ctx_r0.frozenBodyTemplate);
|
850
|
+
i0.ɵɵproperty("ngIf", ctx_r0.frozenColumns || ctx_r0.frozenBodyTemplate || ctx_r0._frozenBodyTemplate);
|
821
851
|
i0.ɵɵadvance();
|
822
|
-
i0.ɵɵproperty("ttScrollableView", ctx_r0.columns)("frozen", false)("scrollHeight", ctx_r0.scrollHeight)("ngStyle", i0.ɵɵpureFunction2(5,
|
852
|
+
i0.ɵɵproperty("ttScrollableView", ctx_r0.columns)("frozen", false)("scrollHeight", ctx_r0.scrollHeight)("ngStyle", i0.ɵɵpureFunction2(5, _c35, ctx_r0.frozenWidth, "calc(100% - " + ctx_r0.frozenWidth + ")"));
|
823
853
|
} }
|
824
854
|
function TreeTable_p_paginator_7_1_ng_template_0_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
825
855
|
i0.ɵɵelementContainer(0);
|
@@ -828,7 +858,7 @@ function TreeTable_p_paginator_7_1_ng_template_0_Template(rf, ctx) { if (rf & 1)
|
|
828
858
|
i0.ɵɵtemplate(0, TreeTable_p_paginator_7_1_ng_template_0_ng_container_0_Template, 1, 0, "ng-container", 26);
|
829
859
|
} if (rf & 2) {
|
830
860
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
831
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.paginatorFirstPageLinkIconTemplate);
|
861
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.paginatorFirstPageLinkIconTemplate || ctx_r0._paginatorFirstPageLinkIconTemplate);
|
832
862
|
} }
|
833
863
|
function TreeTable_p_paginator_7_1_Template(rf, ctx) { if (rf & 1) {
|
834
864
|
i0.ɵɵtemplate(0, TreeTable_p_paginator_7_1_ng_template_0_Template, 1, 1, "ng-template", 29);
|
@@ -840,7 +870,7 @@ function TreeTable_p_paginator_7_2_ng_template_0_Template(rf, ctx) { if (rf & 1)
|
|
840
870
|
i0.ɵɵtemplate(0, TreeTable_p_paginator_7_2_ng_template_0_ng_container_0_Template, 1, 0, "ng-container", 26);
|
841
871
|
} if (rf & 2) {
|
842
872
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
843
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.paginatorPreviousPageLinkIconTemplate);
|
873
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.paginatorPreviousPageLinkIconTemplate || ctx_r0._paginatorPreviousPageLinkIconTemplate);
|
844
874
|
} }
|
845
875
|
function TreeTable_p_paginator_7_2_Template(rf, ctx) { if (rf & 1) {
|
846
876
|
i0.ɵɵtemplate(0, TreeTable_p_paginator_7_2_ng_template_0_Template, 1, 1, "ng-template", 30);
|
@@ -852,7 +882,7 @@ function TreeTable_p_paginator_7_3_ng_template_0_Template(rf, ctx) { if (rf & 1)
|
|
852
882
|
i0.ɵɵtemplate(0, TreeTable_p_paginator_7_3_ng_template_0_ng_container_0_Template, 1, 0, "ng-container", 26);
|
853
883
|
} if (rf & 2) {
|
854
884
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
855
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.paginatorLastPageLinkIconTemplate);
|
885
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.paginatorLastPageLinkIconTemplate || ctx_r0._paginatorLastPageLinkIconTemplate);
|
856
886
|
} }
|
857
887
|
function TreeTable_p_paginator_7_3_Template(rf, ctx) { if (rf & 1) {
|
858
888
|
i0.ɵɵtemplate(0, TreeTable_p_paginator_7_3_ng_template_0_Template, 1, 1, "ng-template", 31);
|
@@ -864,7 +894,7 @@ function TreeTable_p_paginator_7_4_ng_template_0_Template(rf, ctx) { if (rf & 1)
|
|
864
894
|
i0.ɵɵtemplate(0, TreeTable_p_paginator_7_4_ng_template_0_ng_container_0_Template, 1, 0, "ng-container", 26);
|
865
895
|
} if (rf & 2) {
|
866
896
|
const ctx_r0 = i0.ɵɵnextContext(3);
|
867
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.paginatorNextPageLinkIconTemplate);
|
897
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.paginatorNextPageLinkIconTemplate || ctx_r0._paginatorNextPageLinkIconTemplate);
|
868
898
|
} }
|
869
899
|
function TreeTable_p_paginator_7_4_Template(rf, ctx) { if (rf & 1) {
|
870
900
|
i0.ɵɵtemplate(0, TreeTable_p_paginator_7_4_ng_template_0_Template, 1, 1, "ng-template", 32);
|
@@ -876,16 +906,19 @@ function TreeTable_p_paginator_7_Template(rf, ctx) { if (rf & 1) {
|
|
876
906
|
i0.ɵɵtemplate(1, TreeTable_p_paginator_7_1_Template, 1, 0, null, 21)(2, TreeTable_p_paginator_7_2_Template, 1, 0, null, 21)(3, TreeTable_p_paginator_7_3_Template, 1, 0, null, 21)(4, TreeTable_p_paginator_7_4_Template, 1, 0, null, 21);
|
877
907
|
i0.ɵɵelementEnd();
|
878
908
|
} if (rf & 2) {
|
909
|
+
let tmp_8_0;
|
910
|
+
let tmp_9_0;
|
911
|
+
let tmp_13_0;
|
879
912
|
const ctx_r0 = i0.ɵɵnextContext();
|
880
|
-
i0.ɵɵproperty("rows", ctx_r0.rows)("first", ctx_r0.first)("totalRecords", ctx_r0.totalRecords)("pageLinkSize", ctx_r0.pageLinks)("alwaysShow", ctx_r0.alwaysShowPaginator)("rowsPerPageOptions", ctx_r0.rowsPerPageOptions)("templateLeft", ctx_r0.paginatorLeftTemplate)("templateRight", ctx_r0.paginatorRightTemplate)("dropdownAppendTo", ctx_r0.paginatorDropdownAppendTo)("currentPageReportTemplate", ctx_r0.currentPageReportTemplate)("showFirstLastIcon", ctx_r0.showFirstLastIcon)("dropdownItemTemplate", ctx_r0.paginatorDropdownItemTemplate)("showCurrentPageReport", ctx_r0.showCurrentPageReport)("showJumpToPageDropdown", ctx_r0.showJumpToPageDropdown)("showPageLinks", ctx_r0.showPageLinks)("styleClass", ctx_r0.paginatorStyleClass)("locale", ctx_r0.paginatorLocale);
|
913
|
+
i0.ɵɵproperty("rows", ctx_r0.rows)("first", ctx_r0.first)("totalRecords", ctx_r0.totalRecords)("pageLinkSize", ctx_r0.pageLinks)("alwaysShow", ctx_r0.alwaysShowPaginator)("rowsPerPageOptions", ctx_r0.rowsPerPageOptions)("templateLeft", (tmp_8_0 = ctx_r0.paginatorLeftTemplate) !== null && tmp_8_0 !== undefined ? tmp_8_0 : ctx_r0._paginatorLeftTemplate)("templateRight", (tmp_9_0 = ctx_r0.paginatorRightTemplate) !== null && tmp_9_0 !== undefined ? tmp_9_0 : ctx_r0._paginatorRightTemplate)("dropdownAppendTo", ctx_r0.paginatorDropdownAppendTo)("currentPageReportTemplate", ctx_r0.currentPageReportTemplate)("showFirstLastIcon", ctx_r0.showFirstLastIcon)("dropdownItemTemplate", (tmp_13_0 = ctx_r0.paginatorDropdownItemTemplate) !== null && tmp_13_0 !== undefined ? tmp_13_0 : ctx_r0._paginatorDropdownItemTemplate)("showCurrentPageReport", ctx_r0.showCurrentPageReport)("showJumpToPageDropdown", ctx_r0.showJumpToPageDropdown)("showPageLinks", ctx_r0.showPageLinks)("styleClass", ctx_r0.paginatorStyleClass)("locale", ctx_r0.paginatorLocale);
|
881
914
|
i0.ɵɵadvance();
|
882
|
-
i0.ɵɵproperty("ngIf", ctx_r0.paginatorFirstPageLinkIconTemplate);
|
915
|
+
i0.ɵɵproperty("ngIf", ctx_r0.paginatorFirstPageLinkIconTemplate || ctx_r0._paginatorFirstPageLinkIconTemplate);
|
883
916
|
i0.ɵɵadvance();
|
884
|
-
i0.ɵɵproperty("ngIf", ctx_r0.paginatorPreviousPageLinkIconTemplate);
|
917
|
+
i0.ɵɵproperty("ngIf", ctx_r0.paginatorPreviousPageLinkIconTemplate || ctx_r0._paginatorPreviousPageLinkIconTemplate);
|
885
918
|
i0.ɵɵadvance();
|
886
|
-
i0.ɵɵproperty("ngIf", ctx_r0.paginatorLastPageLinkIconTemplate);
|
919
|
+
i0.ɵɵproperty("ngIf", ctx_r0.paginatorLastPageLinkIconTemplate || ctx_r0._paginatorLastPageLinkIconTemplate);
|
887
920
|
i0.ɵɵadvance();
|
888
|
-
i0.ɵɵproperty("ngIf", ctx_r0.paginatorNextPageLinkIconTemplate);
|
921
|
+
i0.ɵɵproperty("ngIf", ctx_r0.paginatorNextPageLinkIconTemplate || ctx_r0._paginatorNextPageLinkIconTemplate);
|
889
922
|
} }
|
890
923
|
function TreeTable_div_8_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
891
924
|
i0.ɵɵelementContainer(0);
|
@@ -897,7 +930,7 @@ function TreeTable_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
897
930
|
} if (rf & 2) {
|
898
931
|
const ctx_r0 = i0.ɵɵnextContext();
|
899
932
|
i0.ɵɵadvance();
|
900
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.summaryTemplate);
|
933
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.summaryTemplate || ctx_r0._summaryTemplate);
|
901
934
|
} }
|
902
935
|
function TreeTable_div_9_Template(rf, ctx) { if (rf & 1) {
|
903
936
|
i0.ɵɵelement(0, "div", 45, 4);
|
@@ -916,9 +949,9 @@ function TreeTable_span_10_Template(rf, ctx) { if (rf & 1) {
|
|
916
949
|
} if (rf & 2) {
|
917
950
|
const ctx_r0 = i0.ɵɵnextContext();
|
918
951
|
i0.ɵɵadvance(2);
|
919
|
-
i0.ɵɵproperty("ngIf", !ctx_r0.reorderIndicatorUpIconTemplate);
|
952
|
+
i0.ɵɵproperty("ngIf", !ctx_r0.reorderIndicatorUpIconTemplate && !ctx_r0._reorderIndicatorUpIconTemplate);
|
920
953
|
i0.ɵɵadvance();
|
921
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.reorderIndicatorUpIconTemplate);
|
954
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.reorderIndicatorUpIconTemplate || ctx_r0._reorderIndicatorUpIconTemplate);
|
922
955
|
} }
|
923
956
|
function TreeTable_span_11_ArrowUpIcon_2_Template(rf, ctx) { if (rf & 1) {
|
924
957
|
i0.ɵɵelement(0, "ArrowUpIcon");
|
@@ -934,13 +967,13 @@ function TreeTable_span_11_Template(rf, ctx) { if (rf & 1) {
|
|
934
967
|
} if (rf & 2) {
|
935
968
|
const ctx_r0 = i0.ɵɵnextContext();
|
936
969
|
i0.ɵɵadvance(2);
|
937
|
-
i0.ɵɵproperty("ngIf", !ctx_r0.reorderIndicatorDownIconTemplate);
|
970
|
+
i0.ɵɵproperty("ngIf", !ctx_r0.reorderIndicatorDownIconTemplate && !ctx_r0._reorderIndicatorDownIconTemplate);
|
938
971
|
i0.ɵɵadvance();
|
939
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.reorderIndicatorDownIconTemplate);
|
972
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.reorderIndicatorDownIconTemplate || ctx_r0._reorderIndicatorDownIconTemplate);
|
940
973
|
} }
|
941
|
-
const
|
942
|
-
const
|
943
|
-
const
|
974
|
+
const _c37 = ["pTreeTableBody", ""];
|
975
|
+
const _c38 = (a0, a1, a2, a3) => ({ $implicit: a0, node: a1, rowData: a2, columns: a3 });
|
976
|
+
const _c39 = (a0, a1) => ({ $implicit: a0, frozen: a1 });
|
944
977
|
function TTBody_ng_template_0_ng_container_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
945
978
|
i0.ɵɵelementContainer(0);
|
946
979
|
} }
|
@@ -952,7 +985,7 @@ function TTBody_ng_template_0_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
952
985
|
const serializedNode_r1 = i0.ɵɵnextContext().$implicit;
|
953
986
|
const ctx_r1 = i0.ɵɵnextContext();
|
954
987
|
i0.ɵɵadvance();
|
955
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.template)("ngTemplateOutletContext", i0.ɵɵpureFunction4(2,
|
988
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.template)("ngTemplateOutletContext", i0.ɵɵpureFunction4(2, _c38, serializedNode_r1, serializedNode_r1.node, serializedNode_r1.node.data, ctx_r1.columns));
|
956
989
|
} }
|
957
990
|
function TTBody_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
958
991
|
i0.ɵɵtemplate(0, TTBody_ng_template_0_ng_container_0_Template, 2, 7, "ng-container", 1);
|
@@ -970,23 +1003,23 @@ function TTBody_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
970
1003
|
} if (rf & 2) {
|
971
1004
|
const ctx_r1 = i0.ɵɵnextContext();
|
972
1005
|
i0.ɵɵadvance();
|
973
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.tt.emptyMessageTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2,
|
1006
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.tt.emptyMessageTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c39, ctx_r1.columns, ctx_r1.frozen));
|
974
1007
|
} }
|
975
|
-
const
|
976
|
-
const
|
977
|
-
const
|
978
|
-
const
|
979
|
-
const
|
980
|
-
const
|
981
|
-
const
|
982
|
-
const
|
983
|
-
const
|
984
|
-
const
|
985
|
-
const
|
986
|
-
const
|
987
|
-
const
|
988
|
-
const
|
989
|
-
const
|
1008
|
+
const _c40 = ["scrollHeader"];
|
1009
|
+
const _c41 = ["scrollHeaderBox"];
|
1010
|
+
const _c42 = ["scrollBody"];
|
1011
|
+
const _c43 = ["scrollTable"];
|
1012
|
+
const _c44 = ["loadingTable"];
|
1013
|
+
const _c45 = ["scrollFooter"];
|
1014
|
+
const _c46 = ["scrollFooterBox"];
|
1015
|
+
const _c47 = ["scrollableAligner"];
|
1016
|
+
const _c48 = ["scroller"];
|
1017
|
+
const _c49 = ["ttScrollableView", ""];
|
1018
|
+
const _c50 = a0 => ({ height: a0 });
|
1019
|
+
const _c51 = (a0, a1) => ({ $implicit: a0, options: a1 });
|
1020
|
+
const _c52 = a0 => ({ options: a0 });
|
1021
|
+
const _c53 = (a0, a1) => ({ "max-height": a0, "overflow-y": a1 });
|
1022
|
+
const _c54 = () => ({});
|
990
1023
|
function TTScrollableView_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
991
1024
|
i0.ɵɵelementContainer(0);
|
992
1025
|
} }
|
@@ -1003,7 +1036,7 @@ function TTScrollableView_p_scroller_8_ng_template_2_Template(rf, ctx) { if (rf
|
|
1003
1036
|
const scrollerOptions_r4 = ctx.options;
|
1004
1037
|
i0.ɵɵnextContext(2);
|
1005
1038
|
const buildInItems_r5 = i0.ɵɵreference(11);
|
1006
|
-
i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r5)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2,
|
1039
|
+
i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r5)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c51, items_r3, scrollerOptions_r4));
|
1007
1040
|
} }
|
1008
1041
|
function TTScrollableView_p_scroller_8_ng_container_4_ng_template_1_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
1009
1042
|
i0.ɵɵelementContainer(0);
|
@@ -1013,7 +1046,7 @@ function TTScrollableView_p_scroller_8_ng_container_4_ng_template_1_Template(rf,
|
|
1013
1046
|
} if (rf & 2) {
|
1014
1047
|
const scrollerOptions_r6 = ctx.options;
|
1015
1048
|
const ctx_r1 = i0.ɵɵnextContext(3);
|
1016
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.loaderTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2,
|
1049
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.tt.loaderTemplate || ctx_r1.tt._loaderTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c52, scrollerOptions_r6));
|
1017
1050
|
} }
|
1018
1051
|
function TTScrollableView_p_scroller_8_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
1019
1052
|
i0.ɵɵelementContainerStart(0);
|
@@ -1028,10 +1061,10 @@ function TTScrollableView_p_scroller_8_Template(rf, ctx) { if (rf & 1) {
|
|
1028
1061
|
i0.ɵɵelementEnd();
|
1029
1062
|
} if (rf & 2) {
|
1030
1063
|
const ctx_r1 = i0.ɵɵnextContext();
|
1031
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(8,
|
1064
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(8, _c50, ctx_r1.tt.scrollHeight !== "flex" ? ctx_r1.tt.scrollHeight : undefined));
|
1032
1065
|
i0.ɵɵproperty("items", ctx_r1.tt.serializedValue)("scrollHeight", ctx_r1.scrollHeight !== "flex" ? undefined : "100%")("itemSize", ctx_r1.tt.virtualScrollItemSize || ctx_r1.tt._virtualRowHeight)("lazy", ctx_r1.tt.lazy)("options", ctx_r1.tt.virtualScrollOptions);
|
1033
1066
|
i0.ɵɵadvance(4);
|
1034
|
-
i0.ɵɵproperty("ngIf", ctx_r1.loaderTemplate);
|
1067
|
+
i0.ɵɵproperty("ngIf", ctx_r1.tt.loaderTemplate || ctx_r1.tt._loaderTemplate);
|
1035
1068
|
} }
|
1036
1069
|
function TTScrollableView_ng_container_9_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
1037
1070
|
i0.ɵɵelementContainer(0);
|
@@ -1046,9 +1079,9 @@ function TTScrollableView_ng_container_9_Template(rf, ctx) { if (rf & 1) {
|
|
1046
1079
|
const ctx_r1 = i0.ɵɵnextContext();
|
1047
1080
|
const buildInItems_r5 = i0.ɵɵreference(11);
|
1048
1081
|
i0.ɵɵadvance();
|
1049
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(3,
|
1082
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(3, _c53, ctx_r1.tt.scrollHeight !== "flex" ? ctx_r1.scrollHeight : undefined, !ctx_r1.frozen && ctx_r1.tt.scrollHeight ? "scroll" : undefined));
|
1050
1083
|
i0.ɵɵadvance(2);
|
1051
|
-
i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r5)("ngTemplateOutletContext", i0.ɵɵpureFunction2(7,
|
1084
|
+
i0.ɵɵproperty("ngTemplateOutlet", buildInItems_r5)("ngTemplateOutletContext", i0.ɵɵpureFunction2(7, _c51, ctx_r1.serializedValue, i0.ɵɵpureFunction0(6, _c54)));
|
1052
1085
|
} }
|
1053
1086
|
function TTScrollableView_ng_template_10_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
1054
1087
|
i0.ɵɵelementContainer(0);
|
@@ -1070,9 +1103,9 @@ function TTScrollableView_ng_template_10_Template(rf, ctx) { if (rf & 1) {
|
|
1070
1103
|
i0.ɵɵclassMap(ctx_r1.tt.tableStyleClass);
|
1071
1104
|
i0.ɵɵproperty("ngClass", scrollerOptions_r8.contentStyleClass)("ngStyle", ctx_r1.tt.tableStyle);
|
1072
1105
|
i0.ɵɵadvance(2);
|
1073
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.frozen ? ctx_r1.tt.frozenColGroupTemplate || ctx_r1.tt.colGroupTemplate : ctx_r1.tt.colGroupTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(13,
|
1106
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.frozen ? ctx_r1.tt.frozenColGroupTemplate || ctx_r1.tt._frozenColGroupTemplate || ctx_r1.tt.colGroupTemplate || ctx_r1.tt._colGroupTemplate : ctx_r1.tt.colGroupTemplate || ctx_r1.tt._colGroupTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(13, _c34, ctx_r1.columns));
|
1074
1107
|
i0.ɵɵadvance();
|
1075
|
-
i0.ɵɵproperty("pTreeTableBody", ctx_r1.columns)("pTreeTableBodyTemplate", ctx_r1.frozen ? ctx_r1.tt.frozenBodyTemplate || ctx_r1.tt.bodyTemplate : ctx_r1.tt.bodyTemplate)("serializedNodes", items_r7)("frozen", ctx_r1.frozen);
|
1108
|
+
i0.ɵɵproperty("pTreeTableBody", ctx_r1.columns)("pTreeTableBodyTemplate", ctx_r1.frozen ? ctx_r1.tt.frozenBodyTemplate || ctx_r1.tt._frozenBodyTemplate || ctx_r1.tt.bodyTemplate || ctx_r1.tt._bodyTemplate : ctx_r1.tt.bodyTemplate || ctx_r1.tt._bodyTemplate)("serializedNodes", items_r7)("frozen", ctx_r1.frozen);
|
1076
1109
|
i0.ɵɵadvance();
|
1077
1110
|
i0.ɵɵproperty("ngIf", ctx_r1.frozen);
|
1078
1111
|
} }
|
@@ -1093,9 +1126,9 @@ function TTScrollableView_div_12_Template(rf, ctx) { if (rf & 1) {
|
|
1093
1126
|
i0.ɵɵadvance(4);
|
1094
1127
|
i0.ɵɵproperty("ngClass", ctx_r1.tt.tableStyleClass)("ngStyle", ctx_r1.tt.tableStyle);
|
1095
1128
|
i0.ɵɵadvance();
|
1096
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.frozen ? ctx_r1.tt.frozenColGroupTemplate || ctx_r1.tt.colGroupTemplate : ctx_r1.tt.colGroupTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(6,
|
1129
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.frozen ? ctx_r1.tt.frozenColGroupTemplate || ctx_r1.tt._frozenColGroupTemplate || ctx_r1.tt.colGroupTemplate || ctx_r1.tt._colGroupTemplate : ctx_r1.tt.colGroupTemplate || ctx_r1.tt._colGroupTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(6, _c34, ctx_r1.columns));
|
1097
1130
|
i0.ɵɵadvance(2);
|
1098
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.frozen ? ctx_r1.tt.frozenFooterTemplate || ctx_r1.tt.footerTemplate : ctx_r1.tt.footerTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(8,
|
1131
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.frozen ? ctx_r1.tt.frozenFooterTemplate || ctx_r1.tt._frozenFooterTemplate || ctx_r1.tt.footerTemplate || ctx_r1.tt._footerTemplate : ctx_r1.tt.footerTemplate || ctx_r1.tt._footerTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(8, _c34, ctx_r1.columns));
|
1099
1132
|
} }
|
1100
1133
|
function TTSortIcon_ng_container_0_SortAltIcon_1_Template(rf, ctx) { if (rf & 1) {
|
1101
1134
|
i0.ɵɵelement(0, "SortAltIcon", 3);
|
@@ -1136,9 +1169,9 @@ function TTSortIcon_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
1136
1169
|
} if (rf & 2) {
|
1137
1170
|
const ctx_r0 = i0.ɵɵnextContext();
|
1138
1171
|
i0.ɵɵadvance();
|
1139
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.tt.sortIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2,
|
1172
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.tt.sortIconTemplate || ctx_r0.tt._sortIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c34, ctx_r0.sortOrder));
|
1140
1173
|
} }
|
1141
|
-
const
|
1174
|
+
const _c55 = (a0, a1) => ({ $implicit: a0, partialSelected: a1 });
|
1142
1175
|
function TTCheckbox_ng_container_1_ng_template_1_0_ng_template_0_Template(rf, ctx) { }
|
1143
1176
|
function TTCheckbox_ng_container_1_ng_template_1_0_Template(rf, ctx) { if (rf & 1) {
|
1144
1177
|
i0.ɵɵtemplate(0, TTCheckbox_ng_container_1_ng_template_1_0_ng_template_0_Template, 0, 0, "ng-template");
|
@@ -1147,7 +1180,7 @@ function TTCheckbox_ng_container_1_ng_template_1_Template(rf, ctx) { if (rf & 1)
|
|
1147
1180
|
i0.ɵɵtemplate(0, TTCheckbox_ng_container_1_ng_template_1_0_Template, 1, 0, null, 3);
|
1148
1181
|
} if (rf & 2) {
|
1149
1182
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
1150
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.tt.checkboxIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2,
|
1183
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.tt.checkboxIconTemplate || ctx_r0.tt._checkboxIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c55, ctx_r0.checked, ctx_r0.partialChecked));
|
1151
1184
|
} }
|
1152
1185
|
function TTCheckbox_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
1153
1186
|
i0.ɵɵelementContainerStart(0);
|
@@ -1162,7 +1195,7 @@ function TTHeaderCheckbox_ng_container_1_ng_template_1_Template(rf, ctx) { if (r
|
|
1162
1195
|
i0.ɵɵtemplate(0, TTHeaderCheckbox_ng_container_1_ng_template_1_0_Template, 1, 0, null, 3);
|
1163
1196
|
} if (rf & 2) {
|
1164
1197
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
1165
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.tt.headerCheckboxIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2,
|
1198
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.tt.headerCheckboxIconTemplate || ctx_r0.tt._headerCheckboxIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c34, ctx_r0.checked));
|
1166
1199
|
} }
|
1167
1200
|
function TTHeaderCheckbox_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
1168
1201
|
i0.ɵɵelementContainerStart(0);
|
@@ -1757,31 +1790,58 @@ class TreeTable extends BaseComponent {
|
|
1757
1790
|
_sortOrder = 1;
|
1758
1791
|
filteredNodes;
|
1759
1792
|
filterTimeout;
|
1793
|
+
_colGroupTemplate;
|
1760
1794
|
colGroupTemplate;
|
1795
|
+
_captionTemplate;
|
1761
1796
|
captionTemplate;
|
1797
|
+
_headerTemplate;
|
1762
1798
|
headerTemplate;
|
1799
|
+
_bodyTemplate;
|
1763
1800
|
bodyTemplate;
|
1801
|
+
_footerTemplate;
|
1764
1802
|
footerTemplate;
|
1803
|
+
_summaryTemplate;
|
1765
1804
|
summaryTemplate;
|
1805
|
+
_emptyMessageTemplate;
|
1766
1806
|
emptyMessageTemplate;
|
1807
|
+
_paginatorLeftTemplate;
|
1767
1808
|
paginatorLeftTemplate;
|
1809
|
+
_paginatorRightTemplate;
|
1768
1810
|
paginatorRightTemplate;
|
1811
|
+
_paginatorDropdownItemTemplate;
|
1769
1812
|
paginatorDropdownItemTemplate;
|
1813
|
+
_frozenHeaderTemplate;
|
1770
1814
|
frozenHeaderTemplate;
|
1815
|
+
_frozenBodyTemplate;
|
1771
1816
|
frozenBodyTemplate;
|
1817
|
+
_frozenFooterTemplate;
|
1772
1818
|
frozenFooterTemplate;
|
1819
|
+
_frozenColGroupTemplate;
|
1773
1820
|
frozenColGroupTemplate;
|
1821
|
+
_loadingIconTemplate;
|
1774
1822
|
loadingIconTemplate;
|
1823
|
+
_reorderIndicatorUpIconTemplate;
|
1775
1824
|
reorderIndicatorUpIconTemplate;
|
1825
|
+
_reorderIndicatorDownIconTemplate;
|
1776
1826
|
reorderIndicatorDownIconTemplate;
|
1827
|
+
_sortIconTemplate;
|
1777
1828
|
sortIconTemplate;
|
1829
|
+
_checkboxIconTemplate;
|
1778
1830
|
checkboxIconTemplate;
|
1831
|
+
_headerCheckboxIconTemplate;
|
1779
1832
|
headerCheckboxIconTemplate;
|
1833
|
+
_togglerIconTemplate;
|
1780
1834
|
togglerIconTemplate;
|
1835
|
+
_paginatorFirstPageLinkIconTemplate;
|
1781
1836
|
paginatorFirstPageLinkIconTemplate;
|
1837
|
+
_paginatorLastPageLinkIconTemplate;
|
1782
1838
|
paginatorLastPageLinkIconTemplate;
|
1839
|
+
_paginatorPreviousPageLinkIconTemplate;
|
1783
1840
|
paginatorPreviousPageLinkIconTemplate;
|
1841
|
+
_paginatorNextPageLinkIconTemplate;
|
1784
1842
|
paginatorNextPageLinkIconTemplate;
|
1843
|
+
_loaderTemplate;
|
1844
|
+
loaderTemplate;
|
1785
1845
|
lastResizerHelperX;
|
1786
1846
|
reorderIconWidth;
|
1787
1847
|
reorderIconHeight;
|
@@ -1884,6 +1944,9 @@ class TreeTable extends BaseComponent {
|
|
1884
1944
|
case 'paginatornextpagelinkicon':
|
1885
1945
|
this.paginatorNextPageLinkIconTemplate = item.template;
|
1886
1946
|
break;
|
1947
|
+
case 'loader':
|
1948
|
+
this.loaderTemplate = item.template;
|
1949
|
+
break;
|
1887
1950
|
}
|
1888
1951
|
});
|
1889
1952
|
}
|
@@ -3064,18 +3127,70 @@ class TreeTable extends BaseComponent {
|
|
3064
3127
|
}
|
3065
3128
|
static ɵfac = /*@__PURE__*/ (() => { let ɵTreeTable_BaseFactory; return function TreeTable_Factory(__ngFactoryType__) { return (ɵTreeTable_BaseFactory || (ɵTreeTable_BaseFactory = i0.ɵɵgetInheritedFactory(TreeTable)))(__ngFactoryType__ || TreeTable); }; })();
|
3066
3129
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TreeTable, selectors: [["p-treeTable"], ["p-treetable"], ["p-tree-table"]], contentQueries: function TreeTable_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
3130
|
+
i0.ɵɵcontentQuery(dirIndex, _c0, 4);
|
3131
|
+
i0.ɵɵcontentQuery(dirIndex, _c1, 4);
|
3132
|
+
i0.ɵɵcontentQuery(dirIndex, _c2, 4);
|
3133
|
+
i0.ɵɵcontentQuery(dirIndex, _c3, 4);
|
3134
|
+
i0.ɵɵcontentQuery(dirIndex, _c4, 4);
|
3135
|
+
i0.ɵɵcontentQuery(dirIndex, _c5, 4);
|
3136
|
+
i0.ɵɵcontentQuery(dirIndex, _c6, 4);
|
3137
|
+
i0.ɵɵcontentQuery(dirIndex, _c7, 4);
|
3138
|
+
i0.ɵɵcontentQuery(dirIndex, _c8, 4);
|
3139
|
+
i0.ɵɵcontentQuery(dirIndex, _c9, 4);
|
3140
|
+
i0.ɵɵcontentQuery(dirIndex, _c10, 4);
|
3141
|
+
i0.ɵɵcontentQuery(dirIndex, _c11, 4);
|
3142
|
+
i0.ɵɵcontentQuery(dirIndex, _c12, 4);
|
3143
|
+
i0.ɵɵcontentQuery(dirIndex, _c13, 4);
|
3144
|
+
i0.ɵɵcontentQuery(dirIndex, _c14, 4);
|
3145
|
+
i0.ɵɵcontentQuery(dirIndex, _c15, 4);
|
3146
|
+
i0.ɵɵcontentQuery(dirIndex, _c16, 4);
|
3147
|
+
i0.ɵɵcontentQuery(dirIndex, _c17, 4);
|
3148
|
+
i0.ɵɵcontentQuery(dirIndex, _c18, 4);
|
3149
|
+
i0.ɵɵcontentQuery(dirIndex, _c19, 4);
|
3150
|
+
i0.ɵɵcontentQuery(dirIndex, _c20, 4);
|
3151
|
+
i0.ɵɵcontentQuery(dirIndex, _c21, 4);
|
3152
|
+
i0.ɵɵcontentQuery(dirIndex, _c22, 4);
|
3153
|
+
i0.ɵɵcontentQuery(dirIndex, _c23, 4);
|
3154
|
+
i0.ɵɵcontentQuery(dirIndex, _c24, 4);
|
3155
|
+
i0.ɵɵcontentQuery(dirIndex, _c25, 4);
|
3067
3156
|
i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);
|
3068
3157
|
} if (rf & 2) {
|
3069
3158
|
let _t;
|
3159
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._colGroupTemplate = _t.first);
|
3160
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._captionTemplate = _t.first);
|
3161
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._headerTemplate = _t.first);
|
3162
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._bodyTemplate = _t.first);
|
3163
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._footerTemplate = _t.first);
|
3164
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._summaryTemplate = _t.first);
|
3165
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._emptyMessageTemplate = _t.first);
|
3166
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._paginatorLeftTemplate = _t.first);
|
3167
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._paginatorRightTemplate = _t.first);
|
3168
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._paginatorDropdownItemTemplate = _t.first);
|
3169
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._frozenHeaderTemplate = _t.first);
|
3170
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._frozenBodyTemplate = _t.first);
|
3171
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._frozenFooterTemplate = _t.first);
|
3172
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._frozenColGroupTemplate = _t.first);
|
3173
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._loadingIconTemplate = _t.first);
|
3174
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._reorderIndicatorUpIconTemplate = _t.first);
|
3175
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._reorderIndicatorDownIconTemplate = _t.first);
|
3176
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._sortIconTemplate = _t.first);
|
3177
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._checkboxIconTemplate = _t.first);
|
3178
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._headerCheckboxIconTemplate = _t.first);
|
3179
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._togglerIconTemplate = _t.first);
|
3180
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._paginatorFirstPageLinkIconTemplate = _t.first);
|
3181
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._paginatorLastPageLinkIconTemplate = _t.first);
|
3182
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._paginatorPreviousPageLinkIconTemplate = _t.first);
|
3183
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._paginatorNextPageLinkIconTemplate = _t.first);
|
3184
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._loaderTemplate = _t.first);
|
3070
3185
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);
|
3071
3186
|
} }, viewQuery: function TreeTable_Query(rf, ctx) { if (rf & 1) {
|
3072
|
-
i0.ɵɵviewQuery(
|
3073
|
-
i0.ɵɵviewQuery(
|
3074
|
-
i0.ɵɵviewQuery(
|
3075
|
-
i0.ɵɵviewQuery(
|
3076
|
-
i0.ɵɵviewQuery(
|
3077
|
-
i0.ɵɵviewQuery(
|
3078
|
-
i0.ɵɵviewQuery(
|
3187
|
+
i0.ɵɵviewQuery(_c26, 5);
|
3188
|
+
i0.ɵɵviewQuery(_c27, 5);
|
3189
|
+
i0.ɵɵviewQuery(_c28, 5);
|
3190
|
+
i0.ɵɵviewQuery(_c29, 5);
|
3191
|
+
i0.ɵɵviewQuery(_c30, 5);
|
3192
|
+
i0.ɵɵviewQuery(_c31, 5);
|
3193
|
+
i0.ɵɵviewQuery(_c32, 5);
|
3079
3194
|
} if (rf & 2) {
|
3080
3195
|
let _t;
|
3081
3196
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.containerViewChild = _t.first);
|
@@ -3091,11 +3206,11 @@ class TreeTable extends BaseComponent {
|
|
3091
3206
|
i0.ɵɵelementEnd();
|
3092
3207
|
} if (rf & 2) {
|
3093
3208
|
i0.ɵɵclassMap(ctx.styleClass);
|
3094
|
-
i0.ɵɵproperty("ngStyle", ctx.style)("ngClass", i0.ɵɵpureFunction6(14,
|
3209
|
+
i0.ɵɵproperty("ngStyle", ctx.style)("ngClass", i0.ɵɵpureFunction6(14, _c33, ctx.showGridlines, ctx.rowHover || ctx.selectionMode === "single" || ctx.selectionMode === "multiple", ctx.autoLayout, ctx.resizableColumns, ctx.resizableColumns && ctx.columnResizeMode === "fit", ctx.scrollable && ctx.scrollHeight === "flex"));
|
3095
3210
|
i0.ɵɵadvance(2);
|
3096
3211
|
i0.ɵɵproperty("ngIf", ctx.loading && ctx.showLoader);
|
3097
3212
|
i0.ɵɵadvance();
|
3098
|
-
i0.ɵɵproperty("ngIf", ctx.captionTemplate);
|
3213
|
+
i0.ɵɵproperty("ngIf", ctx.captionTemplate || ctx._captionTemplate);
|
3099
3214
|
i0.ɵɵadvance();
|
3100
3215
|
i0.ɵɵproperty("ngIf", ctx.paginator && (ctx.paginatorPosition === "top" || ctx.paginatorPosition == "both"));
|
3101
3216
|
i0.ɵɵadvance();
|
@@ -3105,7 +3220,7 @@ class TreeTable extends BaseComponent {
|
|
3105
3220
|
i0.ɵɵadvance();
|
3106
3221
|
i0.ɵɵproperty("ngIf", ctx.paginator && (ctx.paginatorPosition === "bottom" || ctx.paginatorPosition == "both"));
|
3107
3222
|
i0.ɵɵadvance();
|
3108
|
-
i0.ɵɵproperty("ngIf", ctx.summaryTemplate);
|
3223
|
+
i0.ɵɵproperty("ngIf", ctx.summaryTemplate || ctx._summaryTemplate);
|
3109
3224
|
i0.ɵɵadvance();
|
3110
3225
|
i0.ɵɵproperty("ngIf", ctx.resizableColumns);
|
3111
3226
|
i0.ɵɵadvance();
|
@@ -3141,15 +3256,15 @@ class TreeTable extends BaseComponent {
|
|
3141
3256
|
<div class="p-overlay-mask p-treetable-mask">
|
3142
3257
|
<i *ngIf="loadingIcon" [class]="'p-treetable-loading-icon pi-spin ' + loadingIcon"></i>
|
3143
3258
|
<ng-container *ngIf="!loadingIcon">
|
3144
|
-
<SpinnerIcon *ngIf="!loadingIconTemplate" [spin]="true" [styleClass]="'p-treetable-loading-icon'" />
|
3145
|
-
<span *ngIf="loadingIconTemplate" class="p-treetable-loading-icon">
|
3146
|
-
<ng-template *ngTemplateOutlet="loadingIconTemplate"></ng-template>
|
3259
|
+
<SpinnerIcon *ngIf="!loadingIconTemplate && !_loadingIconTemplate" [spin]="true" [styleClass]="'p-treetable-loading-icon'" />
|
3260
|
+
<span *ngIf="loadingIconTemplate || _loadingIconTemplate" class="p-treetable-loading-icon">
|
3261
|
+
<ng-template *ngTemplateOutlet="loadingIconTemplate || _loadingIconTemplate"></ng-template>
|
3147
3262
|
</span>
|
3148
3263
|
</ng-container>
|
3149
3264
|
</div>
|
3150
3265
|
</div>
|
3151
|
-
<div *ngIf="captionTemplate" class="p-treetable-header">
|
3152
|
-
<ng-container *ngTemplateOutlet="captionTemplate"></ng-container>
|
3266
|
+
<div *ngIf="captionTemplate || _captionTemplate" class="p-treetable-header">
|
3267
|
+
<ng-container *ngTemplateOutlet="captionTemplate || _captionTemplate"></ng-container>
|
3153
3268
|
</div>
|
3154
3269
|
<p-paginator
|
3155
3270
|
[rows]="rows"
|
@@ -3161,44 +3276,44 @@ class TreeTable extends BaseComponent {
|
|
3161
3276
|
(onPageChange)="onPageChange($event)"
|
3162
3277
|
[rowsPerPageOptions]="rowsPerPageOptions"
|
3163
3278
|
*ngIf="paginator && (paginatorPosition === 'top' || paginatorPosition == 'both')"
|
3164
|
-
[templateLeft]="paginatorLeftTemplate"
|
3165
|
-
[templateRight]="paginatorRightTemplate"
|
3279
|
+
[templateLeft]="paginatorLeftTemplate ?? _paginatorLeftTemplate"
|
3280
|
+
[templateRight]="paginatorRightTemplate ?? _paginatorRightTemplate"
|
3166
3281
|
[dropdownAppendTo]="paginatorDropdownAppendTo"
|
3167
3282
|
[currentPageReportTemplate]="currentPageReportTemplate"
|
3168
3283
|
[showFirstLastIcon]="showFirstLastIcon"
|
3169
|
-
[dropdownItemTemplate]="paginatorDropdownItemTemplate"
|
3284
|
+
[dropdownItemTemplate]="paginatorDropdownItemTemplate ?? _paginatorDropdownItemTemplate"
|
3170
3285
|
[showCurrentPageReport]="showCurrentPageReport"
|
3171
3286
|
[showJumpToPageDropdown]="showJumpToPageDropdown"
|
3172
3287
|
[showPageLinks]="showPageLinks"
|
3173
3288
|
[styleClass]="paginatorStyleClass"
|
3174
3289
|
[locale]="paginatorLocale"
|
3175
3290
|
>
|
3176
|
-
<ng-template pTemplate="firstpagelinkicon" *ngIf="paginatorFirstPageLinkIconTemplate">
|
3177
|
-
<ng-container *ngTemplateOutlet="paginatorFirstPageLinkIconTemplate"></ng-container>
|
3291
|
+
<ng-template pTemplate="firstpagelinkicon" *ngIf="paginatorFirstPageLinkIconTemplate || _paginatorFirstPageLinkIconTemplate">
|
3292
|
+
<ng-container *ngTemplateOutlet="paginatorFirstPageLinkIconTemplate || _paginatorFirstPageLinkIconTemplate"></ng-container>
|
3178
3293
|
</ng-template>
|
3179
3294
|
|
3180
|
-
<ng-template pTemplate="previouspagelinkicon" *ngIf="paginatorPreviousPageLinkIconTemplate">
|
3181
|
-
<ng-container *ngTemplateOutlet="paginatorPreviousPageLinkIconTemplate"></ng-container>
|
3295
|
+
<ng-template pTemplate="previouspagelinkicon" *ngIf="paginatorPreviousPageLinkIconTemplate || _paginatorPreviousPageLinkIconTemplate">
|
3296
|
+
<ng-container *ngTemplateOutlet="paginatorPreviousPageLinkIconTemplate || _paginatorPreviousPageLinkIconTemplate"></ng-container>
|
3182
3297
|
</ng-template>
|
3183
3298
|
|
3184
|
-
<ng-template pTemplate="lastpagelinkicon" *ngIf="paginatorLastPageLinkIconTemplate">
|
3185
|
-
<ng-container *ngTemplateOutlet="paginatorLastPageLinkIconTemplate"></ng-container>
|
3299
|
+
<ng-template pTemplate="lastpagelinkicon" *ngIf="paginatorLastPageLinkIconTemplate || _paginatorLastPageLinkIconTemplate">
|
3300
|
+
<ng-container *ngTemplateOutlet="paginatorLastPageLinkIconTemplate || _paginatorLastPageLinkIconTemplate"></ng-container>
|
3186
3301
|
</ng-template>
|
3187
3302
|
|
3188
|
-
<ng-template pTemplate="nextpagelinkicon" *ngIf="paginatorNextPageLinkIconTemplate">
|
3189
|
-
<ng-container *ngTemplateOutlet="paginatorNextPageLinkIconTemplate"></ng-container>
|
3303
|
+
<ng-template pTemplate="nextpagelinkicon" *ngIf="paginatorNextPageLinkIconTemplate || _paginatorNextPageLinkIconTemplate">
|
3304
|
+
<ng-container *ngTemplateOutlet="paginatorNextPageLinkIconTemplate || _paginatorNextPageLinkIconTemplate"></ng-container>
|
3190
3305
|
</ng-template>
|
3191
3306
|
</p-paginator>
|
3192
3307
|
|
3193
3308
|
<div class="p-treetable-wrapper" *ngIf="!scrollable">
|
3194
3309
|
<table role="table" #table [ngClass]="tableStyleClass" [ngStyle]="tableStyle">
|
3195
|
-
<ng-container *ngTemplateOutlet="colGroupTemplate; context: { $implicit: columns }"></ng-container>
|
3310
|
+
<ng-container *ngTemplateOutlet="colGroupTemplate || _colGroupTemplate; context: { $implicit: columns }"></ng-container>
|
3196
3311
|
<thead role="rowgroup" class="p-treetable-thead">
|
3197
|
-
<ng-container *ngTemplateOutlet="headerTemplate; context: { $implicit: columns }"></ng-container>
|
3312
|
+
<ng-container *ngTemplateOutlet="headerTemplate || _headerTemplate; context: { $implicit: columns }"></ng-container>
|
3198
3313
|
</thead>
|
3199
|
-
<tbody class="p-treetable-tbody" role="rowgroup" [pTreeTableBody]="columns" [pTreeTableBodyTemplate]="bodyTemplate"></tbody>
|
3314
|
+
<tbody class="p-treetable-tbody" role="rowgroup" [pTreeTableBody]="columns" [pTreeTableBodyTemplate]="bodyTemplate ?? _bodyTemplate"></tbody>
|
3200
3315
|
<tfoot class="p-treetable-tfoot" role="rowgroup">
|
3201
|
-
<ng-container *ngTemplateOutlet="footerTemplate; context: { $implicit: columns }"></ng-container>
|
3316
|
+
<ng-container *ngTemplateOutlet="footerTemplate || _footerTemplate; context: { $implicit: columns }"></ng-container>
|
3202
3317
|
</tfoot>
|
3203
3318
|
</table>
|
3204
3319
|
</div>
|
@@ -3206,7 +3321,7 @@ class TreeTable extends BaseComponent {
|
|
3206
3321
|
<div class="p-treetable-scrollable-wrapper" *ngIf="scrollable">
|
3207
3322
|
<div
|
3208
3323
|
class="p-treetable-scrollable-view p-treetable-frozen-view"
|
3209
|
-
*ngIf="frozenColumns || frozenBodyTemplate"
|
3324
|
+
*ngIf="frozenColumns || frozenBodyTemplate || _frozenBodyTemplate"
|
3210
3325
|
#scrollableFrozenView
|
3211
3326
|
[ttScrollableView]="frozenColumns"
|
3212
3327
|
[frozen]="true"
|
@@ -3226,46 +3341,46 @@ class TreeTable extends BaseComponent {
|
|
3226
3341
|
(onPageChange)="onPageChange($event)"
|
3227
3342
|
[rowsPerPageOptions]="rowsPerPageOptions"
|
3228
3343
|
*ngIf="paginator && (paginatorPosition === 'bottom' || paginatorPosition == 'both')"
|
3229
|
-
[templateLeft]="paginatorLeftTemplate"
|
3230
|
-
[templateRight]="paginatorRightTemplate"
|
3344
|
+
[templateLeft]="paginatorLeftTemplate ?? _paginatorLeftTemplate"
|
3345
|
+
[templateRight]="paginatorRightTemplate ?? _paginatorRightTemplate"
|
3231
3346
|
[dropdownAppendTo]="paginatorDropdownAppendTo"
|
3232
3347
|
[currentPageReportTemplate]="currentPageReportTemplate"
|
3233
3348
|
[showFirstLastIcon]="showFirstLastIcon"
|
3234
|
-
[dropdownItemTemplate]="paginatorDropdownItemTemplate"
|
3349
|
+
[dropdownItemTemplate]="paginatorDropdownItemTemplate ?? _paginatorDropdownItemTemplate"
|
3235
3350
|
[showCurrentPageReport]="showCurrentPageReport"
|
3236
3351
|
[showJumpToPageDropdown]="showJumpToPageDropdown"
|
3237
3352
|
[showPageLinks]="showPageLinks"
|
3238
3353
|
[styleClass]="paginatorStyleClass"
|
3239
3354
|
[locale]="paginatorLocale"
|
3240
3355
|
>
|
3241
|
-
<ng-template pTemplate="firstpagelinkicon" *ngIf="paginatorFirstPageLinkIconTemplate">
|
3242
|
-
<ng-container *ngTemplateOutlet="paginatorFirstPageLinkIconTemplate"></ng-container>
|
3356
|
+
<ng-template pTemplate="firstpagelinkicon" *ngIf="paginatorFirstPageLinkIconTemplate || _paginatorFirstPageLinkIconTemplate">
|
3357
|
+
<ng-container *ngTemplateOutlet="paginatorFirstPageLinkIconTemplate || _paginatorFirstPageLinkIconTemplate"></ng-container>
|
3243
3358
|
</ng-template>
|
3244
3359
|
|
3245
|
-
<ng-template pTemplate="previouspagelinkicon" *ngIf="paginatorPreviousPageLinkIconTemplate">
|
3246
|
-
<ng-container *ngTemplateOutlet="paginatorPreviousPageLinkIconTemplate"></ng-container>
|
3360
|
+
<ng-template pTemplate="previouspagelinkicon" *ngIf="paginatorPreviousPageLinkIconTemplate || _paginatorPreviousPageLinkIconTemplate">
|
3361
|
+
<ng-container *ngTemplateOutlet="paginatorPreviousPageLinkIconTemplate || _paginatorPreviousPageLinkIconTemplate"></ng-container>
|
3247
3362
|
</ng-template>
|
3248
3363
|
|
3249
|
-
<ng-template pTemplate="lastpagelinkicon" *ngIf="paginatorLastPageLinkIconTemplate">
|
3250
|
-
<ng-container *ngTemplateOutlet="paginatorLastPageLinkIconTemplate"></ng-container>
|
3364
|
+
<ng-template pTemplate="lastpagelinkicon" *ngIf="paginatorLastPageLinkIconTemplate || _paginatorLastPageLinkIconTemplate">
|
3365
|
+
<ng-container *ngTemplateOutlet="paginatorLastPageLinkIconTemplate || _paginatorLastPageLinkIconTemplate"></ng-container>
|
3251
3366
|
</ng-template>
|
3252
3367
|
|
3253
|
-
<ng-template pTemplate="nextpagelinkicon" *ngIf="paginatorNextPageLinkIconTemplate">
|
3254
|
-
<ng-container *ngTemplateOutlet="paginatorNextPageLinkIconTemplate"></ng-container>
|
3368
|
+
<ng-template pTemplate="nextpagelinkicon" *ngIf="paginatorNextPageLinkIconTemplate || _paginatorNextPageLinkIconTemplate">
|
3369
|
+
<ng-container *ngTemplateOutlet="paginatorNextPageLinkIconTemplate || _paginatorNextPageLinkIconTemplate"></ng-container>
|
3255
3370
|
</ng-template>
|
3256
3371
|
</p-paginator>
|
3257
|
-
<div *ngIf="summaryTemplate" class="p-treetable-footer">
|
3258
|
-
<ng-container *ngTemplateOutlet="summaryTemplate"></ng-container>
|
3372
|
+
<div *ngIf="summaryTemplate || _summaryTemplate" class="p-treetable-footer">
|
3373
|
+
<ng-container *ngTemplateOutlet="summaryTemplate || _summaryTemplate"></ng-container>
|
3259
3374
|
</div>
|
3260
3375
|
|
3261
3376
|
<div #resizeHelper class="p-column-resizer-helper" style="display:none" *ngIf="resizableColumns"></div>
|
3262
3377
|
<span #reorderIndicatorUp class="p-treetable-reorder-indicator-up" style="display: none;" *ngIf="reorderableColumns">
|
3263
|
-
<ArrowDownIcon *ngIf="!reorderIndicatorUpIconTemplate" />
|
3264
|
-
<ng-template *ngTemplateOutlet="reorderIndicatorUpIconTemplate"></ng-template>
|
3378
|
+
<ArrowDownIcon *ngIf="!reorderIndicatorUpIconTemplate && !_reorderIndicatorUpIconTemplate" />
|
3379
|
+
<ng-template *ngTemplateOutlet="reorderIndicatorUpIconTemplate || _reorderIndicatorUpIconTemplate"></ng-template>
|
3265
3380
|
</span>
|
3266
3381
|
<span #reorderIndicatorDown class="p-treetable-reorder-indicator-down" style="display: none;" *ngIf="reorderableColumns">
|
3267
|
-
<ArrowUpIcon *ngIf="!reorderIndicatorDownIconTemplate" />
|
3268
|
-
<ng-template *ngTemplateOutlet="reorderIndicatorDownIconTemplate"></ng-template>
|
3382
|
+
<ArrowUpIcon *ngIf="!reorderIndicatorDownIconTemplate && !_reorderIndicatorDownIconTemplate" />
|
3383
|
+
<ng-template *ngTemplateOutlet="reorderIndicatorDownIconTemplate || _reorderIndicatorDownIconTemplate"></ng-template>
|
3269
3384
|
</span>
|
3270
3385
|
</div>
|
3271
3386
|
`,
|
@@ -3486,11 +3601,89 @@ class TreeTable extends BaseComponent {
|
|
3486
3601
|
}], scrollableFrozenViewChild: [{
|
3487
3602
|
type: ViewChild,
|
3488
3603
|
args: ['scrollableFrozenView']
|
3604
|
+
}], _colGroupTemplate: [{
|
3605
|
+
type: ContentChild,
|
3606
|
+
args: ['colgroup', { descendants: false }]
|
3607
|
+
}], _captionTemplate: [{
|
3608
|
+
type: ContentChild,
|
3609
|
+
args: ['caption', { descendants: false }]
|
3610
|
+
}], _headerTemplate: [{
|
3611
|
+
type: ContentChild,
|
3612
|
+
args: ['header', { descendants: false }]
|
3613
|
+
}], _bodyTemplate: [{
|
3614
|
+
type: ContentChild,
|
3615
|
+
args: ['body', { descendants: false }]
|
3616
|
+
}], _footerTemplate: [{
|
3617
|
+
type: ContentChild,
|
3618
|
+
args: ['footer', { descendants: false }]
|
3619
|
+
}], _summaryTemplate: [{
|
3620
|
+
type: ContentChild,
|
3621
|
+
args: ['summary', { descendants: false }]
|
3622
|
+
}], _emptyMessageTemplate: [{
|
3623
|
+
type: ContentChild,
|
3624
|
+
args: ['emptymessage', { descendants: false }]
|
3625
|
+
}], _paginatorLeftTemplate: [{
|
3626
|
+
type: ContentChild,
|
3627
|
+
args: ['paginatorleft', { descendants: false }]
|
3628
|
+
}], _paginatorRightTemplate: [{
|
3629
|
+
type: ContentChild,
|
3630
|
+
args: ['paginatorright', { descendants: false }]
|
3631
|
+
}], _paginatorDropdownItemTemplate: [{
|
3632
|
+
type: ContentChild,
|
3633
|
+
args: ['paginatordropdownitem', { descendants: false }]
|
3634
|
+
}], _frozenHeaderTemplate: [{
|
3635
|
+
type: ContentChild,
|
3636
|
+
args: ['frozenheader', { descendants: false }]
|
3637
|
+
}], _frozenBodyTemplate: [{
|
3638
|
+
type: ContentChild,
|
3639
|
+
args: ['frozenbody', { descendants: false }]
|
3640
|
+
}], _frozenFooterTemplate: [{
|
3641
|
+
type: ContentChild,
|
3642
|
+
args: ['frozenfooter', { descendants: false }]
|
3643
|
+
}], _frozenColGroupTemplate: [{
|
3644
|
+
type: ContentChild,
|
3645
|
+
args: ['frozencolgroup', { descendants: false }]
|
3646
|
+
}], _loadingIconTemplate: [{
|
3647
|
+
type: ContentChild,
|
3648
|
+
args: ['loadingicon', { descendants: false }]
|
3649
|
+
}], _reorderIndicatorUpIconTemplate: [{
|
3650
|
+
type: ContentChild,
|
3651
|
+
args: ['reorderindicatorupicon', { descendants: false }]
|
3652
|
+
}], _reorderIndicatorDownIconTemplate: [{
|
3653
|
+
type: ContentChild,
|
3654
|
+
args: ['reorderindicatordownicon', { descendants: false }]
|
3655
|
+
}], _sortIconTemplate: [{
|
3656
|
+
type: ContentChild,
|
3657
|
+
args: ['sorticon', { descendants: false }]
|
3658
|
+
}], _checkboxIconTemplate: [{
|
3659
|
+
type: ContentChild,
|
3660
|
+
args: ['checkboxicon', { descendants: false }]
|
3661
|
+
}], _headerCheckboxIconTemplate: [{
|
3662
|
+
type: ContentChild,
|
3663
|
+
args: ['headercheckboxicon', { descendants: false }]
|
3664
|
+
}], _togglerIconTemplate: [{
|
3665
|
+
type: ContentChild,
|
3666
|
+
args: ['togglericon', { descendants: false }]
|
3667
|
+
}], _paginatorFirstPageLinkIconTemplate: [{
|
3668
|
+
type: ContentChild,
|
3669
|
+
args: ['paginatorfirstpagelinkicon', { descendants: false }]
|
3670
|
+
}], _paginatorLastPageLinkIconTemplate: [{
|
3671
|
+
type: ContentChild,
|
3672
|
+
args: ['paginatorlastpagelinkicon', { descendants: false }]
|
3673
|
+
}], _paginatorPreviousPageLinkIconTemplate: [{
|
3674
|
+
type: ContentChild,
|
3675
|
+
args: ['paginatorpreviouspagelinkicon', { descendants: false }]
|
3676
|
+
}], _paginatorNextPageLinkIconTemplate: [{
|
3677
|
+
type: ContentChild,
|
3678
|
+
args: ['paginatornextpagelinkicon', { descendants: false }]
|
3679
|
+
}], _loaderTemplate: [{
|
3680
|
+
type: ContentChild,
|
3681
|
+
args: ['loader', { descendants: false }]
|
3489
3682
|
}], templates: [{
|
3490
3683
|
type: ContentChildren,
|
3491
3684
|
args: [PrimeTemplate]
|
3492
3685
|
}] }); })();
|
3493
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TreeTable, { className: "TreeTable", filePath: "treetable.ts", lineNumber:
|
3686
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TreeTable, { className: "TreeTable", filePath: "treetable.ts", lineNumber: 277 }); })();
|
3494
3687
|
class TTBody {
|
3495
3688
|
tt;
|
3496
3689
|
treeTableService;
|
@@ -3528,7 +3721,7 @@ class TTBody {
|
|
3528
3721
|
}
|
3529
3722
|
}
|
3530
3723
|
static ɵfac = function TTBody_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TTBody)(i0.ɵɵdirectiveInject(TreeTable), i0.ɵɵdirectiveInject(TreeTableService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
3531
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TTBody, selectors: [["", "pTreeTableBody", ""]], inputs: { columns: [0, "pTreeTableBody", "columns"], template: [0, "pTreeTableBodyTemplate", "template"], frozen: [2, "frozen", "frozen", booleanAttribute], serializedNodes: "serializedNodes", scrollerOptions: "scrollerOptions" }, standalone: false, features: [i0.ɵɵInputTransformsFeature], attrs:
|
3724
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TTBody, selectors: [["", "pTreeTableBody", ""]], inputs: { columns: [0, "pTreeTableBody", "columns"], template: [0, "pTreeTableBodyTemplate", "template"], frozen: [2, "frozen", "frozen", booleanAttribute], serializedNodes: "serializedNodes", scrollerOptions: "scrollerOptions" }, standalone: false, features: [i0.ɵɵInputTransformsFeature], attrs: _c37, decls: 2, vars: 3, consts: [["ngFor", "", 3, "ngForOf", "ngForTrackBy"], [4, "ngIf"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"]], template: function TTBody_Template(rf, ctx) { if (rf & 1) {
|
3532
3725
|
i0.ɵɵtemplate(0, TTBody_ng_template_0_Template, 1, 1, "ng-template", 0)(1, TTBody_ng_container_1_Template, 2, 5, "ng-container", 1);
|
3533
3726
|
} if (rf & 2) {
|
3534
3727
|
i0.ɵɵproperty("ngForOf", ctx.serializedNodes || ctx.tt.serializedValue)("ngForTrackBy", ctx.tt.rowTrackBy);
|
@@ -3577,7 +3770,7 @@ class TTBody {
|
|
3577
3770
|
}], scrollerOptions: [{
|
3578
3771
|
type: Input
|
3579
3772
|
}] }); })();
|
3580
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TTBody, { className: "TTBody", filePath: "treetable.ts", lineNumber:
|
3773
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TTBody, { className: "TTBody", filePath: "treetable.ts", lineNumber: 2356 }); })();
|
3581
3774
|
class TTScrollableView {
|
3582
3775
|
platformId;
|
3583
3776
|
renderer;
|
@@ -3621,7 +3814,7 @@ class TTScrollableView {
|
|
3621
3814
|
ngAfterViewInit() {
|
3622
3815
|
if (isPlatformBrowser(this.platformId)) {
|
3623
3816
|
if (!this.frozen) {
|
3624
|
-
if (this.tt.frozenColumns || this.tt.frozenBodyTemplate) {
|
3817
|
+
if (this.tt.frozenColumns || this.tt.frozenBodyTemplate || this.tt._frozenBodyTemplate) {
|
3625
3818
|
addClass(this.el.nativeElement, 'p-treetable-unfrozen-view');
|
3626
3819
|
}
|
3627
3820
|
let frozenView = this.el.nativeElement.previousElementSibling;
|
@@ -3751,15 +3944,15 @@ class TTScrollableView {
|
|
3751
3944
|
}
|
3752
3945
|
static ɵfac = function TTScrollableView_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TTScrollableView)(i0.ɵɵdirectiveInject(PLATFORM_ID), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(TreeTable), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
|
3753
3946
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TTScrollableView, selectors: [["", "ttScrollableView", ""]], viewQuery: function TTScrollableView_Query(rf, ctx) { if (rf & 1) {
|
3754
|
-
i0.ɵɵviewQuery(
|
3755
|
-
i0.ɵɵviewQuery(
|
3756
|
-
i0.ɵɵviewQuery(
|
3757
|
-
i0.ɵɵviewQuery(
|
3758
|
-
i0.ɵɵviewQuery(
|
3759
|
-
i0.ɵɵviewQuery(
|
3760
|
-
i0.ɵɵviewQuery(
|
3761
|
-
i0.ɵɵviewQuery(
|
3762
|
-
i0.ɵɵviewQuery(
|
3947
|
+
i0.ɵɵviewQuery(_c40, 5);
|
3948
|
+
i0.ɵɵviewQuery(_c41, 5);
|
3949
|
+
i0.ɵɵviewQuery(_c42, 5);
|
3950
|
+
i0.ɵɵviewQuery(_c43, 5);
|
3951
|
+
i0.ɵɵviewQuery(_c44, 5);
|
3952
|
+
i0.ɵɵviewQuery(_c45, 5);
|
3953
|
+
i0.ɵɵviewQuery(_c46, 5);
|
3954
|
+
i0.ɵɵviewQuery(_c47, 5);
|
3955
|
+
i0.ɵɵviewQuery(_c48, 5);
|
3763
3956
|
} if (rf & 2) {
|
3764
3957
|
let _t;
|
3765
3958
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.scrollHeaderViewChild = _t.first);
|
@@ -3771,7 +3964,7 @@ class TTScrollableView {
|
|
3771
3964
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.scrollFooterBoxViewChild = _t.first);
|
3772
3965
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.scrollableAlignerViewChild = _t.first);
|
3773
3966
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.scroller = _t.first);
|
3774
|
-
} }, inputs: { columns: [0, "ttScrollableView", "columns"], frozen: [2, "frozen", "frozen", booleanAttribute], scrollHeight: "scrollHeight" }, standalone: false, features: [i0.ɵɵInputTransformsFeature], attrs:
|
3967
|
+
} }, inputs: { columns: [0, "ttScrollableView", "columns"], frozen: [2, "frozen", "frozen", booleanAttribute], scrollHeight: "scrollHeight" }, standalone: false, features: [i0.ɵɵInputTransformsFeature], attrs: _c49, decls: 13, vars: 13, consts: [["scrollHeader", ""], ["scrollHeaderBox", ""], ["buildInItems", ""], ["scroller", ""], ["content", ""], ["loader", ""], ["scrollBody", ""], ["scrollTable", ""], ["scrollableAligner", ""], ["scrollFooter", ""], ["scrollFooterBox", ""], [1, "p-treetable-scrollable-header"], [1, "p-treetable-scrollable-header-box"], [1, "p-treetable-scrollable-header-table", 3, "ngClass", "ngStyle"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["role", "rowgroup", 1, "p-treetable-thead"], ["styleClass", "p-treetable-scrollable-body", 3, "items", "style", "scrollHeight", "itemSize", "lazy", "options", "onLazyLoad", 4, "ngIf"], [4, "ngIf"], ["class", "p-treetable-scrollable-footer", 4, "ngIf"], ["styleClass", "p-treetable-scrollable-body", 3, "onLazyLoad", "items", "scrollHeight", "itemSize", "lazy", "options"], [1, "p-treetable-scrollable-body", 3, "ngStyle"], ["role", "table", 3, "ngClass", "ngStyle"], ["role", "rowgroup", 1, "p-treetable-tbody", 3, "pTreeTableBody", "pTreeTableBodyTemplate", "serializedNodes", "frozen"], ["style", "background-color:transparent", 4, "ngIf"], [2, "background-color", "transparent"], [1, "p-treetable-scrollable-footer"], [1, "p-treetable-scrollable-footer-box"], [1, "p-treetable-scrollable-footer-table", 3, "ngClass", "ngStyle"], ["role", "rowgroup", 1, "p-treetable-tfoot"]], template: function TTScrollableView_Template(rf, ctx) { if (rf & 1) {
|
3775
3968
|
i0.ɵɵelementStart(0, "div", 11, 0)(2, "div", 12, 1)(4, "table", 13);
|
3776
3969
|
i0.ɵɵtemplate(5, TTScrollableView_ng_container_5_Template, 1, 0, "ng-container", 14);
|
3777
3970
|
i0.ɵɵelementStart(6, "thead", 15);
|
@@ -3782,15 +3975,15 @@ class TTScrollableView {
|
|
3782
3975
|
i0.ɵɵadvance(4);
|
3783
3976
|
i0.ɵɵproperty("ngClass", ctx.tt.tableStyleClass)("ngStyle", ctx.tt.tableStyle);
|
3784
3977
|
i0.ɵɵadvance();
|
3785
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx.frozen ? ctx.tt.frozenColGroupTemplate || ctx.tt.colGroupTemplate : ctx.tt.colGroupTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(9,
|
3978
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx.frozen ? ctx.tt.frozenColGroupTemplate || ctx.tt._frozenColGroupTemplate || ctx.tt.colGroupTemplate || ctx.tt._colGroupTemplate : ctx.tt.colGroupTemplate || ctx.tt._colGroupTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(9, _c34, ctx.columns));
|
3786
3979
|
i0.ɵɵadvance(2);
|
3787
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx.frozen ? ctx.tt.frozenHeaderTemplate || ctx.tt.headerTemplate : ctx.tt.headerTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(11,
|
3980
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx.frozen ? ctx.tt.frozenHeaderTemplate || ctx.tt._frozenHeaderTemplate || ctx.tt.headerTemplate || ctx.tt._headerTemplate : ctx.tt.headerTemplate || ctx.tt._headerTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(11, _c34, ctx.columns));
|
3788
3981
|
i0.ɵɵadvance();
|
3789
3982
|
i0.ɵɵproperty("ngIf", ctx.tt.virtualScroll);
|
3790
3983
|
i0.ɵɵadvance();
|
3791
3984
|
i0.ɵɵproperty("ngIf", !ctx.tt.virtualScroll);
|
3792
3985
|
i0.ɵɵadvance(3);
|
3793
|
-
i0.ɵɵproperty("ngIf", ctx.tt.footerTemplate);
|
3986
|
+
i0.ɵɵproperty("ngIf", ctx.tt.footerTemplate || ctx.tt._footerTemplate);
|
3794
3987
|
} }, dependencies: () => [i1.NgClass, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, Scroller, TTBody], encapsulation: 2 });
|
3795
3988
|
}
|
3796
3989
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TTScrollableView, [{
|
@@ -3802,9 +3995,13 @@ class TTScrollableView {
|
|
3802
3995
|
<div #scrollHeader class="p-treetable-scrollable-header">
|
3803
3996
|
<div #scrollHeaderBox class="p-treetable-scrollable-header-box">
|
3804
3997
|
<table class="p-treetable-scrollable-header-table" [ngClass]="tt.tableStyleClass" [ngStyle]="tt.tableStyle">
|
3805
|
-
<ng-container
|
3998
|
+
<ng-container
|
3999
|
+
*ngTemplateOutlet="frozen ? tt.frozenColGroupTemplate || tt._frozenColGroupTemplate || tt.colGroupTemplate || tt._colGroupTemplate : tt.colGroupTemplate || tt._colGroupTemplate; context: { $implicit: columns }"
|
4000
|
+
></ng-container>
|
3806
4001
|
<thead role="rowgroup" class="p-treetable-thead">
|
3807
|
-
<ng-container
|
4002
|
+
<ng-container
|
4003
|
+
*ngTemplateOutlet="frozen ? tt.frozenHeaderTemplate || tt._frozenHeaderTemplate || tt.headerTemplate || tt._headerTemplate : tt.headerTemplate || tt._headerTemplate; context: { $implicit: columns }"
|
4004
|
+
></ng-container>
|
3808
4005
|
</thead>
|
3809
4006
|
</table>
|
3810
4007
|
</div>
|
@@ -3825,9 +4022,9 @@ class TTScrollableView {
|
|
3825
4022
|
<ng-template #content let-items let-scrollerOptions="options">
|
3826
4023
|
<ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
|
3827
4024
|
</ng-template>
|
3828
|
-
<ng-container *ngIf="loaderTemplate">
|
4025
|
+
<ng-container *ngIf="tt.loaderTemplate || tt._loaderTemplate">
|
3829
4026
|
<ng-template #loader let-scrollerOptions="options">
|
3830
|
-
<ng-container *ngTemplateOutlet="loaderTemplate; context: { options: scrollerOptions }"></ng-container>
|
4027
|
+
<ng-container *ngTemplateOutlet="tt.loaderTemplate || tt._loaderTemplate; context: { options: scrollerOptions }"></ng-container>
|
3831
4028
|
</ng-template>
|
3832
4029
|
</ng-container>
|
3833
4030
|
</p-scroller>
|
@@ -3846,18 +4043,31 @@ class TTScrollableView {
|
|
3846
4043
|
|
3847
4044
|
<ng-template #buildInItems let-items let-scrollerOptions="options">
|
3848
4045
|
<table role="table" #scrollTable [class]="tt.tableStyleClass" [ngClass]="scrollerOptions.contentStyleClass" [ngStyle]="tt.tableStyle" [style]="scrollerOptions.contentStyle">
|
3849
|
-
<ng-container
|
3850
|
-
|
4046
|
+
<ng-container
|
4047
|
+
*ngTemplateOutlet="frozen ? tt.frozenColGroupTemplate || tt._frozenColGroupTemplate || tt.colGroupTemplate || tt._colGroupTemplate : tt.colGroupTemplate || tt._colGroupTemplate; context: { $implicit: columns }"
|
4048
|
+
></ng-container>
|
4049
|
+
<tbody
|
4050
|
+
role="rowgroup"
|
4051
|
+
class="p-treetable-tbody"
|
4052
|
+
[pTreeTableBody]="columns"
|
4053
|
+
[pTreeTableBodyTemplate]="frozen ? tt.frozenBodyTemplate || tt._frozenBodyTemplate || tt.bodyTemplate || tt._bodyTemplate : tt.bodyTemplate || tt._bodyTemplate"
|
4054
|
+
[serializedNodes]="items"
|
4055
|
+
[frozen]="frozen"
|
4056
|
+
></tbody>
|
3851
4057
|
</table>
|
3852
4058
|
<div #scrollableAligner style="background-color:transparent" *ngIf="frozen"></div>
|
3853
4059
|
</ng-template>
|
3854
4060
|
|
3855
|
-
<div #scrollFooter *ngIf="tt.footerTemplate" class="p-treetable-scrollable-footer">
|
4061
|
+
<div #scrollFooter *ngIf="tt.footerTemplate || tt._footerTemplate" class="p-treetable-scrollable-footer">
|
3856
4062
|
<div #scrollFooterBox class="p-treetable-scrollable-footer-box">
|
3857
4063
|
<table class="p-treetable-scrollable-footer-table" [ngClass]="tt.tableStyleClass" [ngStyle]="tt.tableStyle">
|
3858
|
-
<ng-container
|
4064
|
+
<ng-container
|
4065
|
+
*ngTemplateOutlet="frozen ? tt.frozenColGroupTemplate || tt._frozenColGroupTemplate || tt.colGroupTemplate || tt._colGroupTemplate : tt.colGroupTemplate || tt._colGroupTemplate; context: { $implicit: columns }"
|
4066
|
+
></ng-container>
|
3859
4067
|
<tfoot role="rowgroup" class="p-treetable-tfoot">
|
3860
|
-
<ng-container
|
4068
|
+
<ng-container
|
4069
|
+
*ngTemplateOutlet="frozen ? tt.frozenFooterTemplate || tt._frozenFooterTemplate || tt.footerTemplate || tt._footerTemplate : tt.footerTemplate || tt._footerTemplate; context: { $implicit: columns }"
|
4070
|
+
></ng-container>
|
3861
4071
|
</tfoot>
|
3862
4072
|
</table>
|
3863
4073
|
</div>
|
@@ -3904,7 +4114,7 @@ class TTScrollableView {
|
|
3904
4114
|
}], scrollHeight: [{
|
3905
4115
|
type: Input
|
3906
4116
|
}] }); })();
|
3907
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TTScrollableView, { className: "TTScrollableView", filePath: "treetable.ts", lineNumber:
|
4117
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TTScrollableView, { className: "TTScrollableView", filePath: "treetable.ts", lineNumber: 2489 }); })();
|
3908
4118
|
class TTSortableColumn {
|
3909
4119
|
tt;
|
3910
4120
|
field;
|
@@ -4030,9 +4240,9 @@ class TTSortIcon {
|
|
4030
4240
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TTSortIcon, selectors: [["p-treeTableSortIcon"]], inputs: { field: "field", ariaLabelDesc: "ariaLabelDesc", ariaLabelAsc: "ariaLabelAsc" }, standalone: false, decls: 2, vars: 2, consts: [[4, "ngIf"], ["class", "p-sortable-column-icon", 4, "ngIf"], [3, "styleClass", 4, "ngIf"], [3, "styleClass"], [1, "p-sortable-column-icon"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"]], template: function TTSortIcon_Template(rf, ctx) { if (rf & 1) {
|
4031
4241
|
i0.ɵɵtemplate(0, TTSortIcon_ng_container_0_Template, 4, 3, "ng-container", 0)(1, TTSortIcon_span_1_Template, 2, 4, "span", 1);
|
4032
4242
|
} if (rf & 2) {
|
4033
|
-
i0.ɵɵproperty("ngIf", !ctx.tt.sortIconTemplate);
|
4243
|
+
i0.ɵɵproperty("ngIf", !ctx.tt.sortIconTemplate && !ctx.tt._sortIconTemplate);
|
4034
4244
|
i0.ɵɵadvance();
|
4035
|
-
i0.ɵɵproperty("ngIf", ctx.tt.sortIconTemplate);
|
4245
|
+
i0.ɵɵproperty("ngIf", ctx.tt.sortIconTemplate || ctx.tt._sortIconTemplate);
|
4036
4246
|
} }, dependencies: () => [i1.NgIf, i1.NgTemplateOutlet, SortAltIcon,
|
4037
4247
|
SortAmountUpAltIcon,
|
4038
4248
|
SortAmountDownIcon], encapsulation: 2, changeDetection: 0 });
|
@@ -4042,13 +4252,13 @@ class TTSortIcon {
|
|
4042
4252
|
args: [{
|
4043
4253
|
selector: 'p-treeTableSortIcon',
|
4044
4254
|
standalone: false,
|
4045
|
-
template: ` <ng-container *ngIf="!tt.sortIconTemplate">
|
4255
|
+
template: ` <ng-container *ngIf="!tt.sortIconTemplate && !tt._sortIconTemplate">
|
4046
4256
|
<SortAltIcon [styleClass]="'p-sortable-column-icon'" *ngIf="sortOrder === 0" />
|
4047
4257
|
<SortAmountUpAltIcon [styleClass]="'p-sortable-column-icon'" *ngIf="sortOrder === 1" />
|
4048
4258
|
<SortAmountDownIcon [styleClass]="'p-sortable-column-icon'" *ngIf="sortOrder === -1" />
|
4049
4259
|
</ng-container>
|
4050
|
-
<span *ngIf="tt.sortIconTemplate" class="p-sortable-column-icon">
|
4051
|
-
<ng-template *ngTemplateOutlet="tt.sortIconTemplate; context: { $implicit: sortOrder }"></ng-template>
|
4260
|
+
<span *ngIf="tt.sortIconTemplate || tt._sortIconTemplate" class="p-sortable-column-icon">
|
4261
|
+
<ng-template *ngTemplateOutlet="tt.sortIconTemplate || tt._sortIconTemplate; context: { $implicit: sortOrder }"></ng-template>
|
4052
4262
|
</span>`,
|
4053
4263
|
encapsulation: ViewEncapsulation.None,
|
4054
4264
|
changeDetection: ChangeDetectionStrategy.OnPush
|
@@ -4060,7 +4270,7 @@ class TTSortIcon {
|
|
4060
4270
|
}], ariaLabelAsc: [{
|
4061
4271
|
type: Input
|
4062
4272
|
}] }); })();
|
4063
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TTSortIcon, { className: "TTSortIcon", filePath: "treetable.ts", lineNumber:
|
4273
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TTSortIcon, { className: "TTSortIcon", filePath: "treetable.ts", lineNumber: 2784 }); })();
|
4064
4274
|
class TTResizableColumn {
|
4065
4275
|
document;
|
4066
4276
|
platformId;
|
@@ -4561,7 +4771,7 @@ class TTCheckbox {
|
|
4561
4771
|
} if (rf & 2) {
|
4562
4772
|
i0.ɵɵproperty("ngModel", ctx.checked)("binary", true)("indeterminate", ctx.partialChecked)("tabIndex", -1);
|
4563
4773
|
i0.ɵɵadvance();
|
4564
|
-
i0.ɵɵproperty("ngIf", ctx.tt.checkboxIconTemplate);
|
4774
|
+
i0.ɵɵproperty("ngIf", ctx.tt.checkboxIconTemplate || ctx.tt._checkboxIconTemplate);
|
4565
4775
|
} }, dependencies: () => [i1.NgIf, i1.NgTemplateOutlet, i3.PrimeTemplate, Checkbox, i4.NgControlStatus, i4.NgModel], encapsulation: 2, changeDetection: 0 });
|
4566
4776
|
}
|
4567
4777
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TTCheckbox, [{
|
@@ -4571,9 +4781,9 @@ class TTCheckbox {
|
|
4571
4781
|
standalone: false,
|
4572
4782
|
template: `
|
4573
4783
|
<p-checkbox [ngModel]="checked" (onChange)="onClick($event)" [binary]="true" [indeterminate]="partialChecked" styleClass="p-treetable-node-checkbox" [tabIndex]="-1">
|
4574
|
-
<ng-container *ngIf="tt.checkboxIconTemplate">
|
4784
|
+
<ng-container *ngIf="tt.checkboxIconTemplate || tt._checkboxIconTemplate">
|
4575
4785
|
<ng-template pTemplate="icon">
|
4576
|
-
<ng-template *ngTemplateOutlet="tt.checkboxIconTemplate; context: { $implicit: checked, partialSelected: partialChecked }"></ng-template>
|
4786
|
+
<ng-template *ngTemplateOutlet="tt.checkboxIconTemplate || tt._checkboxIconTemplate; context: { $implicit: checked, partialSelected: partialChecked }"></ng-template>
|
4577
4787
|
</ng-template>
|
4578
4788
|
</ng-container>
|
4579
4789
|
</p-checkbox>
|
@@ -4588,7 +4798,7 @@ class TTCheckbox {
|
|
4588
4798
|
type: Input,
|
4589
4799
|
args: ['value']
|
4590
4800
|
}] }); })();
|
4591
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TTCheckbox, { className: "TTCheckbox", filePath: "treetable.ts", lineNumber:
|
4801
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TTCheckbox, { className: "TTCheckbox", filePath: "treetable.ts", lineNumber: 3230 }); })();
|
4592
4802
|
class TTHeaderCheckbox {
|
4593
4803
|
tt;
|
4594
4804
|
tableService;
|
@@ -4668,7 +4878,7 @@ class TTHeaderCheckbox {
|
|
4668
4878
|
} if (rf & 2) {
|
4669
4879
|
i0.ɵɵproperty("ngModel", ctx.checked)("binary", true)("disabled", !ctx.tt.value || ctx.tt.value.length === 0);
|
4670
4880
|
i0.ɵɵadvance();
|
4671
|
-
i0.ɵɵproperty("ngIf", ctx.tt.headerCheckboxIconTemplate);
|
4881
|
+
i0.ɵɵproperty("ngIf", ctx.tt.headerCheckboxIconTemplate || ctx.tt._headerCheckboxIconTemplate);
|
4672
4882
|
} }, dependencies: () => [i1.NgIf, i1.NgTemplateOutlet, i3.PrimeTemplate, Checkbox, i4.NgControlStatus, i4.NgModel], encapsulation: 2, changeDetection: 0 });
|
4673
4883
|
}
|
4674
4884
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TTHeaderCheckbox, [{
|
@@ -4678,9 +4888,9 @@ class TTHeaderCheckbox {
|
|
4678
4888
|
standalone: false,
|
4679
4889
|
template: `
|
4680
4890
|
<p-checkbox [ngModel]="checked" (onChange)="onClick($event)" [binary]="true" [disabled]="!tt.value || tt.value.length === 0">
|
4681
|
-
<ng-container *ngIf="tt.headerCheckboxIconTemplate">
|
4891
|
+
<ng-container *ngIf="tt.headerCheckboxIconTemplate || tt._headerCheckboxIconTemplate">
|
4682
4892
|
<ng-template pTemplate="icon">
|
4683
|
-
<ng-template *ngTemplateOutlet="tt.headerCheckboxIconTemplate; context: { $implicit: checked }"></ng-template>
|
4893
|
+
<ng-template *ngTemplateOutlet="tt.headerCheckboxIconTemplate || tt._headerCheckboxIconTemplate; context: { $implicit: checked }"></ng-template>
|
4684
4894
|
</ng-template>
|
4685
4895
|
</ng-container>
|
4686
4896
|
</p-checkbox>
|
@@ -4689,7 +4899,7 @@ class TTHeaderCheckbox {
|
|
4689
4899
|
changeDetection: ChangeDetectionStrategy.OnPush
|
4690
4900
|
}]
|
4691
4901
|
}], () => [{ type: TreeTable }, { type: TreeTableService }, { type: i0.ChangeDetectorRef }], null); })();
|
4692
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TTHeaderCheckbox, { className: "TTHeaderCheckbox", filePath: "treetable.ts", lineNumber:
|
4902
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TTHeaderCheckbox, { className: "TTHeaderCheckbox", filePath: "treetable.ts", lineNumber: 3320 }); })();
|
4693
4903
|
class TTEditableColumn {
|
4694
4904
|
tt;
|
4695
4905
|
el;
|
@@ -4925,7 +5135,7 @@ class TreeTableCellEditor extends BaseComponent {
|
|
4925
5135
|
type: ContentChildren,
|
4926
5136
|
args: [PrimeTemplate]
|
4927
5137
|
}] }); })();
|
4928
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TreeTableCellEditor, { className: "TreeTableCellEditor", filePath: "treetable.ts", lineNumber:
|
5138
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TreeTableCellEditor, { className: "TreeTableCellEditor", filePath: "treetable.ts", lineNumber: 3588 }); })();
|
4929
5139
|
class TTRow {
|
4930
5140
|
tt;
|
4931
5141
|
el;
|
@@ -5142,9 +5352,9 @@ class TreeTableToggler extends BaseComponent {
|
|
5142
5352
|
i0.ɵɵstyleProp("visibility", ctx.rowNode.node.leaf === false || ctx.rowNode.node.children && ctx.rowNode.node.children.length ? "visible" : "hidden")("margin-left", ctx.rowNode.level * 16 + "px");
|
5143
5353
|
i0.ɵɵattribute("data-pc-section", "rowtoggler")("data-pc-group-section", "rowactionbutton")("aria-label", ctx.toggleButtonAriaLabel);
|
5144
5354
|
i0.ɵɵadvance();
|
5145
|
-
i0.ɵɵproperty("ngIf", !ctx.tt.togglerIconTemplate);
|
5355
|
+
i0.ɵɵproperty("ngIf", !ctx.tt.togglerIconTemplate && !ctx.tt._togglerIconTemplate);
|
5146
5356
|
i0.ɵɵadvance();
|
5147
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx.tt.togglerIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(10,
|
5357
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx.tt.togglerIconTemplate || ctx.tt._togglerIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(10, _c34, ctx.rowNode.node.expanded));
|
5148
5358
|
} }, dependencies: () => [i1.NgIf, i1.NgTemplateOutlet, Ripple,
|
5149
5359
|
ChevronDownIcon,
|
5150
5360
|
ChevronRightIcon], encapsulation: 2 });
|
@@ -5167,11 +5377,11 @@ class TreeTableToggler extends BaseComponent {
|
|
5167
5377
|
[attr.data-pc-group-section]="'rowactionbutton'"
|
5168
5378
|
[attr.aria-label]="toggleButtonAriaLabel"
|
5169
5379
|
>
|
5170
|
-
<ng-container *ngIf="!tt.togglerIconTemplate">
|
5380
|
+
<ng-container *ngIf="!tt.togglerIconTemplate && !tt._togglerIconTemplate">
|
5171
5381
|
<ChevronDownIcon *ngIf="rowNode.node.expanded" [attr.aria-hidden]="true" />
|
5172
5382
|
<ChevronRightIcon *ngIf="!rowNode.node.expanded" [attr.aria-hidden]="true" />
|
5173
5383
|
</ng-container>
|
5174
|
-
<ng-template *ngTemplateOutlet="tt.togglerIconTemplate; context: { $implicit: rowNode.node.expanded }"></ng-template>
|
5384
|
+
<ng-template *ngTemplateOutlet="tt.togglerIconTemplate || tt._togglerIconTemplate; context: { $implicit: rowNode.node.expanded }"></ng-template>
|
5175
5385
|
</button>
|
5176
5386
|
`,
|
5177
5387
|
encapsulation: ViewEncapsulation.None
|
@@ -5179,7 +5389,7 @@ class TreeTableToggler extends BaseComponent {
|
|
5179
5389
|
}], () => [{ type: TreeTable }], { rowNode: [{
|
5180
5390
|
type: Input
|
5181
5391
|
}] }); })();
|
5182
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TreeTableToggler, { className: "TreeTableToggler", filePath: "treetable.ts", lineNumber:
|
5392
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TreeTableToggler, { className: "TreeTableToggler", filePath: "treetable.ts", lineNumber: 3842 }); })();
|
5183
5393
|
class TreeTableModule {
|
5184
5394
|
static ɵfac = function TreeTableModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TreeTableModule)(); };
|
5185
5395
|
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: TreeTableModule });
|