@anguless/angulux 22.0.0-rc.0 → 22.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +291 -0
- package/fesm2022/anguless-angulux-api.mjs +40 -82
- package/fesm2022/anguless-angulux-api.mjs.map +1 -1
- package/fesm2022/anguless-angulux-autofocus.mjs +7 -7
- package/fesm2022/anguless-angulux-avatar.mjs +10 -10
- package/fesm2022/anguless-angulux-avatargroup.mjs +10 -10
- package/fesm2022/anguless-angulux-badge.mjs +13 -13
- package/fesm2022/anguless-angulux-base.mjs +3 -3
- package/fesm2022/anguless-angulux-basecomponent.mjs +6 -6
- package/fesm2022/anguless-angulux-baseeditableholder.mjs +3 -3
- package/fesm2022/anguless-angulux-baseinput.mjs +3 -3
- package/fesm2022/anguless-angulux-basemodelholder.mjs +3 -3
- package/fesm2022/anguless-angulux-bind.mjs +7 -7
- package/fesm2022/anguless-angulux-button.mjs +43 -74
- package/fesm2022/anguless-angulux-button.mjs.map +1 -1
- package/fesm2022/anguless-angulux-card.mjs +42 -102
- package/fesm2022/anguless-angulux-card.mjs.map +1 -1
- package/fesm2022/anguless-angulux-chart.mjs +10 -10
- package/fesm2022/anguless-angulux-checkbox.mjs +18 -38
- package/fesm2022/anguless-angulux-checkbox.mjs.map +1 -1
- package/fesm2022/anguless-angulux-chip.mjs +20 -40
- package/fesm2022/anguless-angulux-chip.mjs.map +1 -1
- package/fesm2022/anguless-angulux-colorpicker.mjs +10 -10
- package/fesm2022/anguless-angulux-config.mjs +6 -6
- package/fesm2022/anguless-angulux-confirmdialog.mjs +52 -117
- package/fesm2022/anguless-angulux-confirmdialog.mjs.map +1 -1
- package/fesm2022/anguless-angulux-datepicker.mjs +104 -212
- package/fesm2022/anguless-angulux-datepicker.mjs.map +1 -1
- package/fesm2022/anguless-angulux-dialog.mjs +50 -114
- package/fesm2022/anguless-angulux-dialog.mjs.map +1 -1
- package/fesm2022/anguless-angulux-divider.mjs +10 -10
- package/fesm2022/anguless-angulux-dom.mjs +7 -0
- package/fesm2022/anguless-angulux-dom.mjs.map +1 -1
- package/fesm2022/anguless-angulux-drawer.mjs +34 -82
- package/fesm2022/anguless-angulux-drawer.mjs.map +1 -1
- package/fesm2022/anguless-angulux-fileupload.mjs +83 -159
- package/fesm2022/anguless-angulux-fileupload.mjs.map +1 -1
- package/fesm2022/anguless-angulux-fluid.mjs +10 -10
- package/fesm2022/anguless-angulux-focustrap.mjs +7 -7
- package/fesm2022/anguless-angulux-iconfield.mjs +10 -10
- package/fesm2022/anguless-angulux-icons-angledoubledown.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-angledoubleleft.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-angledoubleright.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-angledoubleup.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-angledown.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-angleleft.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-angleright.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-angleup.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-arrowdown.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-arrowdownleft.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-arrowdownright.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-arrowleft.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-arrowright.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-arrowup.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-ban.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-bars.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-baseicon.mjs +6 -6
- package/fesm2022/anguless-angulux-icons-blank.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-calendar.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-caretleft.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-caretright.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-check.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-chevrondown.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-chevronleft.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-chevronright.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-chevronup.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-exclamationtriangle.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-eye.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-eyeslash.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-filter.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-filterfill.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-filterslash.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-home.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-infocircle.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-minus.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-pencil.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-plus.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-refresh.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-search.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-searchminus.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-searchplus.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-sortalt.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-sortamountdown.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-sortamountupalt.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-spinner.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-star.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-starfill.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-thlarge.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-times.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-timescircle.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-trash.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-undo.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-upload.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-windowmaximize.mjs +3 -3
- package/fesm2022/anguless-angulux-icons-windowminimize.mjs +3 -3
- package/fesm2022/anguless-angulux-inputicon.mjs +10 -10
- package/fesm2022/anguless-angulux-inputnumber.mjs +38 -69
- package/fesm2022/anguless-angulux-inputnumber.mjs.map +1 -1
- package/fesm2022/anguless-angulux-inputtext.mjs +10 -10
- package/fesm2022/anguless-angulux-menu.mjs +44 -90
- package/fesm2022/anguless-angulux-menu.mjs.map +1 -1
- package/fesm2022/anguless-angulux-message.mjs +30 -61
- package/fesm2022/anguless-angulux-message.mjs.map +1 -1
- package/fesm2022/anguless-angulux-motion.mjs +13 -13
- package/fesm2022/anguless-angulux-multiselect.mjs +103 -248
- package/fesm2022/anguless-angulux-multiselect.mjs.map +1 -1
- package/fesm2022/anguless-angulux-overlay.mjs +18 -39
- package/fesm2022/anguless-angulux-overlay.mjs.map +1 -1
- package/fesm2022/anguless-angulux-paginator.mjs +57 -103
- package/fesm2022/anguless-angulux-paginator.mjs.map +1 -1
- package/fesm2022/anguless-angulux-password.mjs +49 -104
- package/fesm2022/anguless-angulux-password.mjs.map +1 -1
- package/fesm2022/anguless-angulux-popover.mjs +16 -33
- package/fesm2022/anguless-angulux-popover.mjs.map +1 -1
- package/fesm2022/anguless-angulux-progressbar.mjs +18 -37
- package/fesm2022/anguless-angulux-progressbar.mjs.map +1 -1
- package/fesm2022/anguless-angulux-progressspinner.mjs +10 -10
- package/fesm2022/anguless-angulux-radiobutton.mjs +13 -13
- package/fesm2022/anguless-angulux-ripple.mjs +10 -10
- package/fesm2022/anguless-angulux-scroller.mjs +36 -77
- package/fesm2022/anguless-angulux-scroller.mjs.map +1 -1
- package/fesm2022/anguless-angulux-select.mjs +85 -225
- package/fesm2022/anguless-angulux-select.mjs.map +1 -1
- package/fesm2022/anguless-angulux-selectbutton.mjs +18 -35
- package/fesm2022/anguless-angulux-selectbutton.mjs.map +1 -1
- package/fesm2022/anguless-angulux-skeleton.mjs +10 -10
- package/fesm2022/anguless-angulux-splitbutton.mjs +23 -50
- package/fesm2022/anguless-angulux-splitbutton.mjs.map +1 -1
- package/fesm2022/anguless-angulux-table.mjs +332 -638
- package/fesm2022/anguless-angulux-table.mjs.map +1 -1
- package/fesm2022/anguless-angulux-tabs.mjs +47 -71
- package/fesm2022/anguless-angulux-tabs.mjs.map +1 -1
- package/fesm2022/anguless-angulux-tag.mjs +20 -37
- package/fesm2022/anguless-angulux-tag.mjs.map +1 -1
- package/fesm2022/anguless-angulux-textarea.mjs +10 -10
- package/fesm2022/anguless-angulux-tieredmenu.mjs +28 -55
- package/fesm2022/anguless-angulux-tieredmenu.mjs.map +1 -1
- package/fesm2022/anguless-angulux-timeline.mjs +24 -55
- package/fesm2022/anguless-angulux-timeline.mjs.map +1 -1
- package/fesm2022/anguless-angulux-toast.mjs +24 -49
- package/fesm2022/anguless-angulux-toast.mjs.map +1 -1
- package/fesm2022/anguless-angulux-togglebutton.mjs +23 -50
- package/fesm2022/anguless-angulux-togglebutton.mjs.map +1 -1
- package/fesm2022/anguless-angulux-toggleswitch.mjs +18 -38
- package/fesm2022/anguless-angulux-toggleswitch.mjs.map +1 -1
- package/fesm2022/anguless-angulux-tooltip.mjs +10 -10
- package/fesm2022/anguless-angulux-treetable.mjs +229 -428
- package/fesm2022/anguless-angulux-treetable.mjs.map +1 -1
- package/fesm2022/anguless-angulux-usestyle.mjs +3 -3
- package/package.json +6 -6
- package/types/anguless-angulux-api.d.ts +17 -21
- package/types/anguless-angulux-button.d.ts +6 -12
- package/types/anguless-angulux-card.d.ts +8 -17
- package/types/anguless-angulux-checkbox.d.ts +4 -8
- package/types/anguless-angulux-chip.d.ts +4 -8
- package/types/anguless-angulux-confirmdialog.d.ts +19 -29
- package/types/anguless-angulux-datepicker.d.ts +27 -42
- package/types/anguless-angulux-dialog.d.ts +10 -20
- package/types/anguless-angulux-drawer.d.ts +8 -16
- package/types/anguless-angulux-fileupload.d.ts +27 -38
- package/types/anguless-angulux-inputnumber.d.ts +6 -12
- package/types/anguless-angulux-menu.d.ts +27 -39
- package/types/anguless-angulux-message.d.ts +6 -12
- package/types/anguless-angulux-multiselect.d.ts +20 -41
- package/types/anguless-angulux-overlay.d.ts +4 -7
- package/types/anguless-angulux-paginator.d.ts +17 -25
- package/types/anguless-angulux-password.d.ts +30 -38
- package/types/anguless-angulux-popover.d.ts +4 -7
- package/types/anguless-angulux-progressbar.d.ts +4 -8
- package/types/anguless-angulux-scroller.d.ts +7 -13
- package/types/anguless-angulux-select.d.ts +16 -49
- package/types/anguless-angulux-selectbutton.d.ts +4 -8
- package/types/anguless-angulux-splitbutton.d.ts +17 -21
- package/types/anguless-angulux-table.d.ts +42 -93
- package/types/anguless-angulux-tabs.d.ts +4 -9
- package/types/anguless-angulux-tag.d.ts +4 -8
- package/types/anguless-angulux-tieredmenu.d.ts +5 -9
- package/types/anguless-angulux-timeline.d.ts +5 -11
- package/types/anguless-angulux-toast.d.ts +22 -26
- package/types/anguless-angulux-togglebutton.d.ts +5 -11
- package/types/anguless-angulux-toggleswitch.d.ts +4 -8
- package/types/anguless-angulux-treetable.d.ts +40 -62
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
export * from '@anguless/angulux/types/treetable';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { Injectable, InjectionToken, inject, EventEmitter, NgZone, booleanAttribute, numberAttribute,
|
|
3
|
+
import { Injectable, InjectionToken, inject, EventEmitter, contentChild, NgZone, booleanAttribute, numberAttribute, ViewChild, Output, Input, ViewEncapsulation, ChangeDetectionStrategy, Component, HostListener, Directive, NgModule } from '@angular/core';
|
|
4
4
|
import { BaseStyle } from '@anguless/angulux/base';
|
|
5
5
|
import * as i2 from '@angular/common';
|
|
6
6
|
import { isPlatformBrowser, CommonModule } from '@angular/common';
|
|
7
|
-
import * as
|
|
7
|
+
import * as i5 from '@angular/forms';
|
|
8
8
|
import { FormsModule } from '@angular/forms';
|
|
9
9
|
import { resolveFieldData, isEmpty, getOffset, addStyle, findSingle, getIndex, calculateScrollbarWidth, getHiddenElementOuterWidth, getHiddenElementOuterHeight, reorderArray, isClickable, equals, find, removeClass, addClass, calculateScrollbarHeight, clearSelection, invokeElementMethod, focus, isNotEmpty, getAttribute } from '@anguless/angulux-utils';
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import * as i5 from '@anguless/angulux/badge';
|
|
10
|
+
import { FilterService, SharedModule } from '@anguless/angulux/api';
|
|
11
|
+
import * as i4 from '@anguless/angulux/badge';
|
|
13
12
|
import { BadgeModule } from '@anguless/angulux/badge';
|
|
14
13
|
import { BaseComponent, PARENT_INSTANCE } from '@anguless/angulux/basecomponent';
|
|
15
14
|
import * as i1 from '@anguless/angulux/bind';
|
|
@@ -600,10 +599,10 @@ class TreeTableStyle extends BaseStyle {
|
|
|
600
599
|
name = 'treetable';
|
|
601
600
|
style = style;
|
|
602
601
|
classes = classes;
|
|
603
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
604
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
602
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TreeTableStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
603
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TreeTableStyle });
|
|
605
604
|
}
|
|
606
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
605
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TreeTableStyle, decorators: [{
|
|
607
606
|
type: Injectable
|
|
608
607
|
}] });
|
|
609
608
|
/**
|
|
@@ -788,10 +787,10 @@ class TreeTableService {
|
|
|
788
787
|
onTotalRecordsChange(value) {
|
|
789
788
|
this.totalRecordsSource.next(value);
|
|
790
789
|
}
|
|
791
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
792
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
790
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TreeTableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
791
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TreeTableService });
|
|
793
792
|
}
|
|
794
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
793
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TreeTableService, decorators: [{
|
|
795
794
|
type: Injectable
|
|
796
795
|
}] });
|
|
797
796
|
/**
|
|
@@ -1301,58 +1300,32 @@ class TreeTable extends BaseComponent {
|
|
|
1301
1300
|
_sortOrder = 1;
|
|
1302
1301
|
filteredNodes;
|
|
1303
1302
|
filterTimeout;
|
|
1304
|
-
_colGroupTemplate;
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
_frozenColGroupTemplate;
|
|
1331
|
-
frozenColGroupTemplate;
|
|
1332
|
-
_loadingIconTemplate;
|
|
1333
|
-
loadingIconTemplate;
|
|
1334
|
-
_reorderIndicatorUpIconTemplate;
|
|
1335
|
-
reorderIndicatorUpIconTemplate;
|
|
1336
|
-
_reorderIndicatorDownIconTemplate;
|
|
1337
|
-
reorderIndicatorDownIconTemplate;
|
|
1338
|
-
_sortIconTemplate;
|
|
1339
|
-
sortIconTemplate;
|
|
1340
|
-
_checkboxIconTemplate;
|
|
1341
|
-
checkboxIconTemplate;
|
|
1342
|
-
_headerCheckboxIconTemplate;
|
|
1343
|
-
headerCheckboxIconTemplate;
|
|
1344
|
-
_togglerIconTemplate;
|
|
1345
|
-
togglerIconTemplate;
|
|
1346
|
-
_paginatorFirstPageLinkIconTemplate;
|
|
1347
|
-
paginatorFirstPageLinkIconTemplate;
|
|
1348
|
-
_paginatorLastPageLinkIconTemplate;
|
|
1349
|
-
paginatorLastPageLinkIconTemplate;
|
|
1350
|
-
_paginatorPreviousPageLinkIconTemplate;
|
|
1351
|
-
paginatorPreviousPageLinkIconTemplate;
|
|
1352
|
-
_paginatorNextPageLinkIconTemplate;
|
|
1353
|
-
paginatorNextPageLinkIconTemplate;
|
|
1354
|
-
_loaderTemplate;
|
|
1355
|
-
loaderTemplate;
|
|
1303
|
+
_colGroupTemplate = contentChild('colgroup', { ...(ngDevMode ? { debugName: "_colGroupTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1304
|
+
_captionTemplate = contentChild('caption', { ...(ngDevMode ? { debugName: "_captionTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1305
|
+
_headerTemplate = contentChild('header', { ...(ngDevMode ? { debugName: "_headerTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1306
|
+
_bodyTemplate = contentChild('body', { ...(ngDevMode ? { debugName: "_bodyTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1307
|
+
_footerTemplate = contentChild('footer', { ...(ngDevMode ? { debugName: "_footerTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1308
|
+
_summaryTemplate = contentChild('summary', { ...(ngDevMode ? { debugName: "_summaryTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1309
|
+
_emptyMessageTemplate = contentChild('emptymessage', { ...(ngDevMode ? { debugName: "_emptyMessageTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1310
|
+
_paginatorLeftTemplate = contentChild('paginatorleft', { ...(ngDevMode ? { debugName: "_paginatorLeftTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1311
|
+
_paginatorRightTemplate = contentChild('paginatorright', { ...(ngDevMode ? { debugName: "_paginatorRightTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1312
|
+
_paginatorDropdownItemTemplate = contentChild('paginatordropdownitem', { ...(ngDevMode ? { debugName: "_paginatorDropdownItemTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1313
|
+
_frozenHeaderTemplate = contentChild('frozenheader', { ...(ngDevMode ? { debugName: "_frozenHeaderTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1314
|
+
_frozenBodyTemplate = contentChild('frozenbody', { ...(ngDevMode ? { debugName: "_frozenBodyTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1315
|
+
_frozenFooterTemplate = contentChild('frozenfooter', { ...(ngDevMode ? { debugName: "_frozenFooterTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1316
|
+
_frozenColGroupTemplate = contentChild('frozencolgroup', { ...(ngDevMode ? { debugName: "_frozenColGroupTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1317
|
+
_loadingIconTemplate = contentChild('loadingicon', { ...(ngDevMode ? { debugName: "_loadingIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1318
|
+
_reorderIndicatorUpIconTemplate = contentChild('reorderindicatorupicon', { ...(ngDevMode ? { debugName: "_reorderIndicatorUpIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1319
|
+
_reorderIndicatorDownIconTemplate = contentChild('reorderindicatordownicon', { ...(ngDevMode ? { debugName: "_reorderIndicatorDownIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1320
|
+
_sortIconTemplate = contentChild('sorticon', { ...(ngDevMode ? { debugName: "_sortIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1321
|
+
_checkboxIconTemplate = contentChild('checkboxicon', { ...(ngDevMode ? { debugName: "_checkboxIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1322
|
+
_headerCheckboxIconTemplate = contentChild('headercheckboxicon', { ...(ngDevMode ? { debugName: "_headerCheckboxIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1323
|
+
_togglerIconTemplate = contentChild('togglericon', { ...(ngDevMode ? { debugName: "_togglerIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1324
|
+
_paginatorFirstPageLinkIconTemplate = contentChild('paginatorfirstpagelinkicon', { ...(ngDevMode ? { debugName: "_paginatorFirstPageLinkIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1325
|
+
_paginatorLastPageLinkIconTemplate = contentChild('paginatorlastpagelinkicon', { ...(ngDevMode ? { debugName: "_paginatorLastPageLinkIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1326
|
+
_paginatorPreviousPageLinkIconTemplate = contentChild('paginatorpreviouspagelinkicon', { ...(ngDevMode ? { debugName: "_paginatorPreviousPageLinkIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1327
|
+
_paginatorNextPageLinkIconTemplate = contentChild('paginatornextpagelinkicon', { ...(ngDevMode ? { debugName: "_paginatorNextPageLinkIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1328
|
+
_loaderTemplate = contentChild('loader', { ...(ngDevMode ? { debugName: "_loaderTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1356
1329
|
lastResizerHelperX;
|
|
1357
1330
|
reorderIconWidth;
|
|
1358
1331
|
reorderIconHeight;
|
|
@@ -1375,91 +1348,6 @@ class TreeTable extends BaseComponent {
|
|
|
1375
1348
|
}
|
|
1376
1349
|
this.initialized = true;
|
|
1377
1350
|
}
|
|
1378
|
-
templates;
|
|
1379
|
-
onAfterContentInit() {
|
|
1380
|
-
this.templates.forEach((item) => {
|
|
1381
|
-
switch (item.getType()) {
|
|
1382
|
-
case 'caption':
|
|
1383
|
-
this.captionTemplate = item.template;
|
|
1384
|
-
break;
|
|
1385
|
-
case 'header':
|
|
1386
|
-
this.headerTemplate = item.template;
|
|
1387
|
-
break;
|
|
1388
|
-
case 'body':
|
|
1389
|
-
this.bodyTemplate = item.template;
|
|
1390
|
-
break;
|
|
1391
|
-
case 'footer':
|
|
1392
|
-
this.footerTemplate = item.template;
|
|
1393
|
-
break;
|
|
1394
|
-
case 'summary':
|
|
1395
|
-
this.summaryTemplate = item.template;
|
|
1396
|
-
break;
|
|
1397
|
-
case 'colgroup':
|
|
1398
|
-
this.colGroupTemplate = item.template;
|
|
1399
|
-
break;
|
|
1400
|
-
case 'emptymessage':
|
|
1401
|
-
this.emptyMessageTemplate = item.template;
|
|
1402
|
-
break;
|
|
1403
|
-
case 'paginatorleft':
|
|
1404
|
-
this.paginatorLeftTemplate = item.template;
|
|
1405
|
-
break;
|
|
1406
|
-
case 'paginatorright':
|
|
1407
|
-
this.paginatorRightTemplate = item.template;
|
|
1408
|
-
break;
|
|
1409
|
-
case 'paginatordropdownitem':
|
|
1410
|
-
this.paginatorDropdownItemTemplate = item.template;
|
|
1411
|
-
break;
|
|
1412
|
-
case 'frozenheader':
|
|
1413
|
-
this.frozenHeaderTemplate = item.template;
|
|
1414
|
-
break;
|
|
1415
|
-
case 'frozenbody':
|
|
1416
|
-
this.frozenBodyTemplate = item.template;
|
|
1417
|
-
break;
|
|
1418
|
-
case 'frozenfooter':
|
|
1419
|
-
this.frozenFooterTemplate = item.template;
|
|
1420
|
-
break;
|
|
1421
|
-
case 'frozencolgroup':
|
|
1422
|
-
this.frozenColGroupTemplate = item.template;
|
|
1423
|
-
break;
|
|
1424
|
-
case 'loadingicon':
|
|
1425
|
-
this.loadingIconTemplate = item.template;
|
|
1426
|
-
break;
|
|
1427
|
-
case 'reorderindicatorupicon':
|
|
1428
|
-
this.reorderIndicatorUpIconTemplate = item.template;
|
|
1429
|
-
break;
|
|
1430
|
-
case 'reorderindicatordownicon':
|
|
1431
|
-
this.reorderIndicatorDownIconTemplate = item.template;
|
|
1432
|
-
break;
|
|
1433
|
-
case 'sorticon':
|
|
1434
|
-
this.sortIconTemplate = item.template;
|
|
1435
|
-
break;
|
|
1436
|
-
case 'checkboxicon':
|
|
1437
|
-
this.checkboxIconTemplate = item.template;
|
|
1438
|
-
break;
|
|
1439
|
-
case 'headercheckboxicon':
|
|
1440
|
-
this.headerCheckboxIconTemplate = item.template;
|
|
1441
|
-
break;
|
|
1442
|
-
case 'togglericon':
|
|
1443
|
-
this.togglerIconTemplate = item.template;
|
|
1444
|
-
break;
|
|
1445
|
-
case 'paginatorfirstpagelinkicon':
|
|
1446
|
-
this.paginatorFirstPageLinkIconTemplate = item.template;
|
|
1447
|
-
break;
|
|
1448
|
-
case 'paginatorlastpagelinkicon':
|
|
1449
|
-
this.paginatorLastPageLinkIconTemplate = item.template;
|
|
1450
|
-
break;
|
|
1451
|
-
case 'paginatorpreviouspagelinkicon':
|
|
1452
|
-
this.paginatorPreviousPageLinkIconTemplate = item.template;
|
|
1453
|
-
break;
|
|
1454
|
-
case 'paginatornextpagelinkicon':
|
|
1455
|
-
this.paginatorNextPageLinkIconTemplate = item.template;
|
|
1456
|
-
break;
|
|
1457
|
-
case 'loader':
|
|
1458
|
-
this.loaderTemplate = item.template;
|
|
1459
|
-
break;
|
|
1460
|
-
}
|
|
1461
|
-
});
|
|
1462
|
-
}
|
|
1463
1351
|
filterService = inject(FilterService);
|
|
1464
1352
|
tableService = inject(TreeTableService);
|
|
1465
1353
|
zone = inject(NgZone);
|
|
@@ -2654,19 +2542,19 @@ class TreeTable extends BaseComponent {
|
|
|
2654
2542
|
empty: this.isEmpty()
|
|
2655
2543
|
});
|
|
2656
2544
|
}
|
|
2657
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
2658
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2545
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TreeTable, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2546
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.1", type: TreeTable, isStandalone: false, selector: "agl-treeTable, agl-treetable, agl-tree-table", inputs: { columns: "columns", styleClass: "styleClass", tableStyle: "tableStyle", tableStyleClass: "tableStyleClass", autoLayout: ["autoLayout", "autoLayout", booleanAttribute], lazy: ["lazy", "lazy", booleanAttribute], lazyLoadOnInit: ["lazyLoadOnInit", "lazyLoadOnInit", booleanAttribute], paginator: ["paginator", "paginator", booleanAttribute], rows: ["rows", "rows", numberAttribute], first: ["first", "first", numberAttribute], pageLinks: ["pageLinks", "pageLinks", numberAttribute], rowsPerPageOptions: "rowsPerPageOptions", alwaysShowPaginator: ["alwaysShowPaginator", "alwaysShowPaginator", booleanAttribute], paginatorPosition: "paginatorPosition", paginatorStyleClass: "paginatorStyleClass", paginatorDropdownAppendTo: "paginatorDropdownAppendTo", currentPageReportTemplate: "currentPageReportTemplate", showCurrentPageReport: ["showCurrentPageReport", "showCurrentPageReport", booleanAttribute], showJumpToPageDropdown: ["showJumpToPageDropdown", "showJumpToPageDropdown", booleanAttribute], showFirstLastIcon: ["showFirstLastIcon", "showFirstLastIcon", booleanAttribute], showPageLinks: ["showPageLinks", "showPageLinks", booleanAttribute], defaultSortOrder: ["defaultSortOrder", "defaultSortOrder", numberAttribute], sortMode: "sortMode", resetPageOnSort: ["resetPageOnSort", "resetPageOnSort", booleanAttribute], customSort: ["customSort", "customSort", booleanAttribute], selectionMode: "selectionMode", contextMenuSelection: "contextMenuSelection", contextMenuSelectionMode: "contextMenuSelectionMode", dataKey: "dataKey", metaKeySelection: ["metaKeySelection", "metaKeySelection", booleanAttribute], compareSelectionBy: "compareSelectionBy", rowHover: ["rowHover", "rowHover", booleanAttribute], loading: ["loading", "loading", booleanAttribute], loadingIcon: "loadingIcon", showLoader: ["showLoader", "showLoader", booleanAttribute], scrollable: ["scrollable", "scrollable", booleanAttribute], scrollHeight: "scrollHeight", virtualScroll: ["virtualScroll", "virtualScroll", booleanAttribute], virtualScrollItemSize: ["virtualScrollItemSize", "virtualScrollItemSize", numberAttribute], virtualScrollOptions: "virtualScrollOptions", virtualScrollDelay: ["virtualScrollDelay", "virtualScrollDelay", numberAttribute], frozenWidth: "frozenWidth", frozenColumns: "frozenColumns", resizableColumns: ["resizableColumns", "resizableColumns", booleanAttribute], columnResizeMode: "columnResizeMode", reorderableColumns: ["reorderableColumns", "reorderableColumns", booleanAttribute], contextMenu: "contextMenu", rowTrackBy: "rowTrackBy", filters: "filters", globalFilterFields: "globalFilterFields", filterDelay: ["filterDelay", "filterDelay", numberAttribute], filterMode: "filterMode", filterLocale: "filterLocale", paginatorLocale: "paginatorLocale", totalRecords: "totalRecords", sortField: "sortField", sortOrder: "sortOrder", multiSortMeta: "multiSortMeta", selection: "selection", value: "value", virtualRowHeight: "virtualRowHeight", selectionKeys: "selectionKeys", showGridlines: ["showGridlines", "showGridlines", booleanAttribute] }, outputs: { selectionChange: "selectionChange", contextMenuSelectionChange: "contextMenuSelectionChange", onFilter: "onFilter", onNodeExpand: "onNodeExpand", onNodeCollapse: "onNodeCollapse", onPage: "onPage", onSort: "onSort", onLazyLoad: "onLazyLoad", sortFunction: "sortFunction", onColResize: "onColResize", onColReorder: "onColReorder", onNodeSelect: "onNodeSelect", onNodeUnselect: "onNodeUnselect", onContextMenuSelect: "onContextMenuSelect", onHeaderCheckboxToggle: "onHeaderCheckboxToggle", onEditInit: "onEditInit", onEditComplete: "onEditComplete", onEditCancel: "onEditCancel", selectionKeysChange: "selectionKeysChange" }, host: { properties: { "class": "cn(cx('root'), styleClass)", "attr.data-p": "dataP", "attr.data-scrollselectors": "'.p-treetable-scrollable-body'" } }, providers: [TreeTableService, TreeTableStyle, { provide: TREETABLE_INSTANCE, useExisting: TreeTable }, { provide: PARENT_INSTANCE, useExisting: TreeTable }], queries: [{ propertyName: "_colGroupTemplate", first: true, predicate: ["colgroup"], isSignal: true }, { propertyName: "_captionTemplate", first: true, predicate: ["caption"], isSignal: true }, { propertyName: "_headerTemplate", first: true, predicate: ["header"], isSignal: true }, { propertyName: "_bodyTemplate", first: true, predicate: ["body"], isSignal: true }, { propertyName: "_footerTemplate", first: true, predicate: ["footer"], isSignal: true }, { propertyName: "_summaryTemplate", first: true, predicate: ["summary"], isSignal: true }, { propertyName: "_emptyMessageTemplate", first: true, predicate: ["emptymessage"], isSignal: true }, { propertyName: "_paginatorLeftTemplate", first: true, predicate: ["paginatorleft"], isSignal: true }, { propertyName: "_paginatorRightTemplate", first: true, predicate: ["paginatorright"], isSignal: true }, { propertyName: "_paginatorDropdownItemTemplate", first: true, predicate: ["paginatordropdownitem"], isSignal: true }, { propertyName: "_frozenHeaderTemplate", first: true, predicate: ["frozenheader"], isSignal: true }, { propertyName: "_frozenBodyTemplate", first: true, predicate: ["frozenbody"], isSignal: true }, { propertyName: "_frozenFooterTemplate", first: true, predicate: ["frozenfooter"], isSignal: true }, { propertyName: "_frozenColGroupTemplate", first: true, predicate: ["frozencolgroup"], isSignal: true }, { propertyName: "_loadingIconTemplate", first: true, predicate: ["loadingicon"], isSignal: true }, { propertyName: "_reorderIndicatorUpIconTemplate", first: true, predicate: ["reorderindicatorupicon"], isSignal: true }, { propertyName: "_reorderIndicatorDownIconTemplate", first: true, predicate: ["reorderindicatordownicon"], isSignal: true }, { propertyName: "_sortIconTemplate", first: true, predicate: ["sorticon"], isSignal: true }, { propertyName: "_checkboxIconTemplate", first: true, predicate: ["checkboxicon"], isSignal: true }, { propertyName: "_headerCheckboxIconTemplate", first: true, predicate: ["headercheckboxicon"], isSignal: true }, { propertyName: "_togglerIconTemplate", first: true, predicate: ["togglericon"], isSignal: true }, { propertyName: "_paginatorFirstPageLinkIconTemplate", first: true, predicate: ["paginatorfirstpagelinkicon"], isSignal: true }, { propertyName: "_paginatorLastPageLinkIconTemplate", first: true, predicate: ["paginatorlastpagelinkicon"], isSignal: true }, { propertyName: "_paginatorPreviousPageLinkIconTemplate", first: true, predicate: ["paginatorpreviouspagelinkicon"], isSignal: true }, { propertyName: "_paginatorNextPageLinkIconTemplate", first: true, predicate: ["paginatornextpagelinkicon"], isSignal: true }, { propertyName: "_loaderTemplate", first: true, predicate: ["loader"], isSignal: true }], viewQueries: [{ propertyName: "resizeHelperViewChild", first: true, predicate: ["resizeHelper"], descendants: true }, { propertyName: "reorderIndicatorUpViewChild", first: true, predicate: ["reorderIndicatorUp"], descendants: true }, { propertyName: "reorderIndicatorDownViewChild", first: true, predicate: ["reorderIndicatorDown"], descendants: true }, { propertyName: "tableViewChild", first: true, predicate: ["table"], descendants: true }, { propertyName: "scrollableViewChild", first: true, predicate: ["scrollableView"], descendants: true }, { propertyName: "scrollableFrozenViewChild", first: true, predicate: ["scrollableFrozenView"], descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
2659
2547
|
<div [aglBind]="ptm('mask')" [class]="cx('mask')" *ngIf="loading && showLoader" animate.enter="p-overlay-mask-enter-active" animate.leave="p-overlay-mask-leave-active">
|
|
2660
2548
|
<i *ngIf="loadingIcon" [class]="cn(cx('loadingIcon'), 'pi-spin' + loadingIcon)"></i>
|
|
2661
2549
|
<ng-container *ngIf="!loadingIcon">
|
|
2662
|
-
<svg data-p-icon="spinner" *ngIf="!
|
|
2663
|
-
<span *ngIf="
|
|
2664
|
-
<ng-template *ngTemplateOutlet="
|
|
2550
|
+
<svg data-p-icon="spinner" *ngIf="!_loadingIconTemplate()" [spin]="true" [class]="cx('loadingIcon')" />
|
|
2551
|
+
<span *ngIf="_loadingIconTemplate()" [class]="cx('loadingIcon')">
|
|
2552
|
+
<ng-template *ngTemplateOutlet="_loadingIconTemplate()"></ng-template>
|
|
2665
2553
|
</span>
|
|
2666
2554
|
</ng-container>
|
|
2667
2555
|
</div>
|
|
2668
|
-
<div [aglBind]="ptm('header')" *ngIf="
|
|
2669
|
-
<ng-container *ngTemplateOutlet="
|
|
2556
|
+
<div [aglBind]="ptm('header')" *ngIf="_captionTemplate()" [class]="cx('header')">
|
|
2557
|
+
<ng-container *ngTemplateOutlet="_captionTemplate()"></ng-container>
|
|
2670
2558
|
</div>
|
|
2671
2559
|
<agl-paginator
|
|
2672
2560
|
[pt]="ptm('pcPaginator')"
|
|
@@ -2679,44 +2567,44 @@ class TreeTable extends BaseComponent {
|
|
|
2679
2567
|
(onPageChange)="onPageChange($event)"
|
|
2680
2568
|
[rowsPerPageOptions]="rowsPerPageOptions"
|
|
2681
2569
|
*ngIf="paginator && (paginatorPosition === 'top' || paginatorPosition == 'both')"
|
|
2682
|
-
[templateLeft]="
|
|
2683
|
-
[templateRight]="
|
|
2570
|
+
[templateLeft]="_paginatorLeftTemplate()"
|
|
2571
|
+
[templateRight]="_paginatorRightTemplate()"
|
|
2684
2572
|
[appendTo]="paginatorDropdownAppendTo"
|
|
2685
2573
|
[currentPageReportTemplate]="currentPageReportTemplate"
|
|
2686
2574
|
[showFirstLastIcon]="showFirstLastIcon"
|
|
2687
|
-
[dropdownItemTemplate]="
|
|
2575
|
+
[dropdownItemTemplate]="_paginatorDropdownItemTemplate()"
|
|
2688
2576
|
[showCurrentPageReport]="showCurrentPageReport"
|
|
2689
2577
|
[showJumpToPageDropdown]="showJumpToPageDropdown"
|
|
2690
2578
|
[showPageLinks]="showPageLinks"
|
|
2691
2579
|
[locale]="paginatorLocale"
|
|
2692
2580
|
[unstyled]="unstyled()"
|
|
2693
2581
|
>
|
|
2694
|
-
<ng-template
|
|
2695
|
-
<ng-container *ngTemplateOutlet="
|
|
2582
|
+
<ng-template #firstpagelinkicon *ngIf="_paginatorFirstPageLinkIconTemplate()">
|
|
2583
|
+
<ng-container *ngTemplateOutlet="_paginatorFirstPageLinkIconTemplate()"></ng-container>
|
|
2696
2584
|
</ng-template>
|
|
2697
2585
|
|
|
2698
|
-
<ng-template
|
|
2699
|
-
<ng-container *ngTemplateOutlet="
|
|
2586
|
+
<ng-template #previouspagelinkicon *ngIf="_paginatorPreviousPageLinkIconTemplate()">
|
|
2587
|
+
<ng-container *ngTemplateOutlet="_paginatorPreviousPageLinkIconTemplate()"></ng-container>
|
|
2700
2588
|
</ng-template>
|
|
2701
2589
|
|
|
2702
|
-
<ng-template
|
|
2703
|
-
<ng-container *ngTemplateOutlet="
|
|
2590
|
+
<ng-template #lastpagelinkicon *ngIf="_paginatorLastPageLinkIconTemplate()">
|
|
2591
|
+
<ng-container *ngTemplateOutlet="_paginatorLastPageLinkIconTemplate()"></ng-container>
|
|
2704
2592
|
</ng-template>
|
|
2705
2593
|
|
|
2706
|
-
<ng-template
|
|
2707
|
-
<ng-container *ngTemplateOutlet="
|
|
2594
|
+
<ng-template #nextpagelinkicon *ngIf="_paginatorNextPageLinkIconTemplate()">
|
|
2595
|
+
<ng-container *ngTemplateOutlet="_paginatorNextPageLinkIconTemplate()"></ng-container>
|
|
2708
2596
|
</ng-template>
|
|
2709
2597
|
</agl-paginator>
|
|
2710
2598
|
|
|
2711
2599
|
<div [aglBind]="ptm('wrapper')" [class]="cx('wrapper')" *ngIf="!scrollable">
|
|
2712
2600
|
<table role="treegrid" [aglBind]="ptm('table')" #table [ngClass]="tableStyleClass" [ngStyle]="tableStyle">
|
|
2713
|
-
<ng-container *ngTemplateOutlet="
|
|
2601
|
+
<ng-container *ngTemplateOutlet="_colGroupTemplate(); context: { $implicit: columns }"></ng-container>
|
|
2714
2602
|
<thead role="rowgroup" [class]="cx('thead')" [aglBind]="ptm('thead')">
|
|
2715
|
-
<ng-container *ngTemplateOutlet="
|
|
2603
|
+
<ng-container *ngTemplateOutlet="_headerTemplate(); context: { $implicit: columns }"></ng-container>
|
|
2716
2604
|
</thead>
|
|
2717
|
-
<tbody [class]="cx('tbody')" [aglBind]="ptm('tbody')" role="rowgroup" [unstyled]="unstyled()" [aglTreeTableBody]="columns" [aglTreeTableBodyTemplate]="
|
|
2605
|
+
<tbody [class]="cx('tbody')" [aglBind]="ptm('tbody')" role="rowgroup" [unstyled]="unstyled()" [aglTreeTableBody]="columns" [aglTreeTableBodyTemplate]="_bodyTemplate()"></tbody>
|
|
2718
2606
|
<tfoot [class]="cx('tfoot')" [aglBind]="ptm('tfoot')" role="rowgroup">
|
|
2719
|
-
<ng-container *ngTemplateOutlet="
|
|
2607
|
+
<ng-container *ngTemplateOutlet="_footerTemplate(); context: { $implicit: columns }"></ng-container>
|
|
2720
2608
|
</tfoot>
|
|
2721
2609
|
</table>
|
|
2722
2610
|
</div>
|
|
@@ -2724,7 +2612,7 @@ class TreeTable extends BaseComponent {
|
|
|
2724
2612
|
<div [aglBind]="ptm('scrollableWrapper')" [class]="cx('scrollableWrapper')" *ngIf="scrollable">
|
|
2725
2613
|
<div
|
|
2726
2614
|
[ngClass]="[cx('scrollableView'), cx('frozenView')]"
|
|
2727
|
-
*ngIf="frozenColumns ||
|
|
2615
|
+
*ngIf="frozenColumns || _frozenBodyTemplate()"
|
|
2728
2616
|
#scrollableFrozenView
|
|
2729
2617
|
[ttScrollableView]="frozenColumns"
|
|
2730
2618
|
[unstyled]="unstyled()"
|
|
@@ -2756,50 +2644,50 @@ class TreeTable extends BaseComponent {
|
|
|
2756
2644
|
(onPageChange)="onPageChange($event)"
|
|
2757
2645
|
[rowsPerPageOptions]="rowsPerPageOptions"
|
|
2758
2646
|
*ngIf="paginator && (paginatorPosition === 'bottom' || paginatorPosition == 'both')"
|
|
2759
|
-
[templateLeft]="
|
|
2760
|
-
[templateRight]="
|
|
2647
|
+
[templateLeft]="_paginatorLeftTemplate()"
|
|
2648
|
+
[templateRight]="_paginatorRightTemplate()"
|
|
2761
2649
|
[appendTo]="paginatorDropdownAppendTo"
|
|
2762
2650
|
[currentPageReportTemplate]="currentPageReportTemplate"
|
|
2763
2651
|
[showFirstLastIcon]="showFirstLastIcon"
|
|
2764
|
-
[dropdownItemTemplate]="
|
|
2652
|
+
[dropdownItemTemplate]="_paginatorDropdownItemTemplate()"
|
|
2765
2653
|
[showCurrentPageReport]="showCurrentPageReport"
|
|
2766
2654
|
[showJumpToPageDropdown]="showJumpToPageDropdown"
|
|
2767
2655
|
[showPageLinks]="showPageLinks"
|
|
2768
2656
|
[locale]="paginatorLocale"
|
|
2769
2657
|
[unstyled]="unstyled()"
|
|
2770
2658
|
>
|
|
2771
|
-
<ng-template
|
|
2772
|
-
<ng-container *ngTemplateOutlet="
|
|
2659
|
+
<ng-template #firstpagelinkicon *ngIf="_paginatorFirstPageLinkIconTemplate()">
|
|
2660
|
+
<ng-container *ngTemplateOutlet="_paginatorFirstPageLinkIconTemplate()"></ng-container>
|
|
2773
2661
|
</ng-template>
|
|
2774
2662
|
|
|
2775
|
-
<ng-template
|
|
2776
|
-
<ng-container *ngTemplateOutlet="
|
|
2663
|
+
<ng-template #previouspagelinkicon *ngIf="_paginatorPreviousPageLinkIconTemplate()">
|
|
2664
|
+
<ng-container *ngTemplateOutlet="_paginatorPreviousPageLinkIconTemplate()"></ng-container>
|
|
2777
2665
|
</ng-template>
|
|
2778
2666
|
|
|
2779
|
-
<ng-template
|
|
2780
|
-
<ng-container *ngTemplateOutlet="
|
|
2667
|
+
<ng-template #lastpagelinkicon *ngIf="_paginatorLastPageLinkIconTemplate()">
|
|
2668
|
+
<ng-container *ngTemplateOutlet="_paginatorLastPageLinkIconTemplate()"></ng-container>
|
|
2781
2669
|
</ng-template>
|
|
2782
2670
|
|
|
2783
|
-
<ng-template
|
|
2784
|
-
<ng-container *ngTemplateOutlet="
|
|
2671
|
+
<ng-template #nextpagelinkicon *ngIf="_paginatorNextPageLinkIconTemplate()">
|
|
2672
|
+
<ng-container *ngTemplateOutlet="_paginatorNextPageLinkIconTemplate()"></ng-container>
|
|
2785
2673
|
</ng-template>
|
|
2786
2674
|
</agl-paginator>
|
|
2787
|
-
<div [aglBind]="ptm('footer')" *ngIf="
|
|
2788
|
-
<ng-container *ngTemplateOutlet="
|
|
2675
|
+
<div [aglBind]="ptm('footer')" *ngIf="_summaryTemplate()" [class]="cx('footer')">
|
|
2676
|
+
<ng-container *ngTemplateOutlet="_summaryTemplate()"></ng-container>
|
|
2789
2677
|
</div>
|
|
2790
2678
|
|
|
2791
2679
|
<div [aglBind]="ptm('columnResizerHelper')" #resizeHelper [class]="cx('columnResizerHelper')" [style.display]="'none'" *ngIf="resizableColumns"></div>
|
|
2792
2680
|
<span [aglBind]="ptm('reorderIndicatorUp')" #reorderIndicatorUp [class]="cx('reorderIndicatorUp')" [style.display]="'none'" *ngIf="reorderableColumns">
|
|
2793
|
-
<svg data-p-icon="arrow-down" *ngIf="!
|
|
2794
|
-
<ng-template *ngTemplateOutlet="
|
|
2681
|
+
<svg data-p-icon="arrow-down" *ngIf="!_reorderIndicatorUpIconTemplate()" />
|
|
2682
|
+
<ng-template *ngTemplateOutlet="_reorderIndicatorUpIconTemplate()"></ng-template>
|
|
2795
2683
|
</span>
|
|
2796
2684
|
<span [aglBind]="ptm('reorderIndicatorDown')" #reorderIndicatorDown [class]="cx('reorderIndicatorDown')" [style.display]="'none'" *ngIf="reorderableColumns">
|
|
2797
|
-
<svg data-p-icon="arrow-up" *ngIf="!
|
|
2798
|
-
<ng-template *ngTemplateOutlet="
|
|
2685
|
+
<svg data-p-icon="arrow-up" *ngIf="!_reorderIndicatorDownIconTemplate()" />
|
|
2686
|
+
<ng-template *ngTemplateOutlet="_reorderIndicatorDownIconTemplate()"></ng-template>
|
|
2799
2687
|
</span>
|
|
2800
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => i2.NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgTemplateOutlet), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgStyle), selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i0.forwardRef(() => i3.Paginator), selector: "agl-paginator", inputs: ["pageLinkSize", "styleClass", "alwaysShow", "dropdownAppendTo", "templateLeft", "templateRight", "dropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showFirstLastIcon", "totalRecords", "rows", "rowsPerPageOptions", "showJumpToPageDropdown", "showJumpToPageInput", "jumpToPageItemTemplate", "showPageLinks", "locale", "dropdownItemTemplate", "first", "appendTo"], outputs: ["onPageChange"] }, { kind: "
|
|
2688
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => i2.NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgTemplateOutlet), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgStyle), selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i0.forwardRef(() => i3.Paginator), selector: "agl-paginator", inputs: ["pageLinkSize", "styleClass", "alwaysShow", "dropdownAppendTo", "templateLeft", "templateRight", "dropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showFirstLastIcon", "totalRecords", "rows", "rowsPerPageOptions", "showJumpToPageDropdown", "showJumpToPageInput", "jumpToPageItemTemplate", "showPageLinks", "locale", "dropdownItemTemplate", "first", "appendTo"], outputs: ["onPageChange"] }, { kind: "component", type: i0.forwardRef(() => SpinnerIcon), selector: "[data-p-icon=\"spinner\"]" }, { kind: "component", type: i0.forwardRef(() => ArrowDownIcon), selector: "[data-p-icon=\"arrow-down\"]" }, { kind: "component", type: i0.forwardRef(() => ArrowUpIcon), selector: "[data-p-icon=\"arrow-up\"]" }, { kind: "directive", type: i0.forwardRef(() => i1.Bind), selector: "[aglBind]", inputs: ["aglBind"] }, { kind: "component", type: i0.forwardRef(() => TTScrollableView), selector: "[ttScrollableView]", inputs: ["ttScrollableView", "frozen", "scrollHeight"] }, { kind: "component", type: i0.forwardRef(() => TTBody), selector: "[aglTreeTableBody]", inputs: ["aglTreeTableBody", "aglTreeTableBodyTemplate", "frozen", "serializedNodes", "scrollerOptions"] }], changeDetection: i0.ChangeDetectionStrategy.Eager, encapsulation: i0.ViewEncapsulation.None });
|
|
2801
2689
|
}
|
|
2802
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
2690
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TreeTable, decorators: [{
|
|
2803
2691
|
type: Component,
|
|
2804
2692
|
args: [{
|
|
2805
2693
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
@@ -2809,14 +2697,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
2809
2697
|
<div [aglBind]="ptm('mask')" [class]="cx('mask')" *ngIf="loading && showLoader" animate.enter="p-overlay-mask-enter-active" animate.leave="p-overlay-mask-leave-active">
|
|
2810
2698
|
<i *ngIf="loadingIcon" [class]="cn(cx('loadingIcon'), 'pi-spin' + loadingIcon)"></i>
|
|
2811
2699
|
<ng-container *ngIf="!loadingIcon">
|
|
2812
|
-
<svg data-p-icon="spinner" *ngIf="!
|
|
2813
|
-
<span *ngIf="
|
|
2814
|
-
<ng-template *ngTemplateOutlet="
|
|
2700
|
+
<svg data-p-icon="spinner" *ngIf="!_loadingIconTemplate()" [spin]="true" [class]="cx('loadingIcon')" />
|
|
2701
|
+
<span *ngIf="_loadingIconTemplate()" [class]="cx('loadingIcon')">
|
|
2702
|
+
<ng-template *ngTemplateOutlet="_loadingIconTemplate()"></ng-template>
|
|
2815
2703
|
</span>
|
|
2816
2704
|
</ng-container>
|
|
2817
2705
|
</div>
|
|
2818
|
-
<div [aglBind]="ptm('header')" *ngIf="
|
|
2819
|
-
<ng-container *ngTemplateOutlet="
|
|
2706
|
+
<div [aglBind]="ptm('header')" *ngIf="_captionTemplate()" [class]="cx('header')">
|
|
2707
|
+
<ng-container *ngTemplateOutlet="_captionTemplate()"></ng-container>
|
|
2820
2708
|
</div>
|
|
2821
2709
|
<agl-paginator
|
|
2822
2710
|
[pt]="ptm('pcPaginator')"
|
|
@@ -2829,44 +2717,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
2829
2717
|
(onPageChange)="onPageChange($event)"
|
|
2830
2718
|
[rowsPerPageOptions]="rowsPerPageOptions"
|
|
2831
2719
|
*ngIf="paginator && (paginatorPosition === 'top' || paginatorPosition == 'both')"
|
|
2832
|
-
[templateLeft]="
|
|
2833
|
-
[templateRight]="
|
|
2720
|
+
[templateLeft]="_paginatorLeftTemplate()"
|
|
2721
|
+
[templateRight]="_paginatorRightTemplate()"
|
|
2834
2722
|
[appendTo]="paginatorDropdownAppendTo"
|
|
2835
2723
|
[currentPageReportTemplate]="currentPageReportTemplate"
|
|
2836
2724
|
[showFirstLastIcon]="showFirstLastIcon"
|
|
2837
|
-
[dropdownItemTemplate]="
|
|
2725
|
+
[dropdownItemTemplate]="_paginatorDropdownItemTemplate()"
|
|
2838
2726
|
[showCurrentPageReport]="showCurrentPageReport"
|
|
2839
2727
|
[showJumpToPageDropdown]="showJumpToPageDropdown"
|
|
2840
2728
|
[showPageLinks]="showPageLinks"
|
|
2841
2729
|
[locale]="paginatorLocale"
|
|
2842
2730
|
[unstyled]="unstyled()"
|
|
2843
2731
|
>
|
|
2844
|
-
<ng-template
|
|
2845
|
-
<ng-container *ngTemplateOutlet="
|
|
2732
|
+
<ng-template #firstpagelinkicon *ngIf="_paginatorFirstPageLinkIconTemplate()">
|
|
2733
|
+
<ng-container *ngTemplateOutlet="_paginatorFirstPageLinkIconTemplate()"></ng-container>
|
|
2846
2734
|
</ng-template>
|
|
2847
2735
|
|
|
2848
|
-
<ng-template
|
|
2849
|
-
<ng-container *ngTemplateOutlet="
|
|
2736
|
+
<ng-template #previouspagelinkicon *ngIf="_paginatorPreviousPageLinkIconTemplate()">
|
|
2737
|
+
<ng-container *ngTemplateOutlet="_paginatorPreviousPageLinkIconTemplate()"></ng-container>
|
|
2850
2738
|
</ng-template>
|
|
2851
2739
|
|
|
2852
|
-
<ng-template
|
|
2853
|
-
<ng-container *ngTemplateOutlet="
|
|
2740
|
+
<ng-template #lastpagelinkicon *ngIf="_paginatorLastPageLinkIconTemplate()">
|
|
2741
|
+
<ng-container *ngTemplateOutlet="_paginatorLastPageLinkIconTemplate()"></ng-container>
|
|
2854
2742
|
</ng-template>
|
|
2855
2743
|
|
|
2856
|
-
<ng-template
|
|
2857
|
-
<ng-container *ngTemplateOutlet="
|
|
2744
|
+
<ng-template #nextpagelinkicon *ngIf="_paginatorNextPageLinkIconTemplate()">
|
|
2745
|
+
<ng-container *ngTemplateOutlet="_paginatorNextPageLinkIconTemplate()"></ng-container>
|
|
2858
2746
|
</ng-template>
|
|
2859
2747
|
</agl-paginator>
|
|
2860
2748
|
|
|
2861
2749
|
<div [aglBind]="ptm('wrapper')" [class]="cx('wrapper')" *ngIf="!scrollable">
|
|
2862
2750
|
<table role="treegrid" [aglBind]="ptm('table')" #table [ngClass]="tableStyleClass" [ngStyle]="tableStyle">
|
|
2863
|
-
<ng-container *ngTemplateOutlet="
|
|
2751
|
+
<ng-container *ngTemplateOutlet="_colGroupTemplate(); context: { $implicit: columns }"></ng-container>
|
|
2864
2752
|
<thead role="rowgroup" [class]="cx('thead')" [aglBind]="ptm('thead')">
|
|
2865
|
-
<ng-container *ngTemplateOutlet="
|
|
2753
|
+
<ng-container *ngTemplateOutlet="_headerTemplate(); context: { $implicit: columns }"></ng-container>
|
|
2866
2754
|
</thead>
|
|
2867
|
-
<tbody [class]="cx('tbody')" [aglBind]="ptm('tbody')" role="rowgroup" [unstyled]="unstyled()" [aglTreeTableBody]="columns" [aglTreeTableBodyTemplate]="
|
|
2755
|
+
<tbody [class]="cx('tbody')" [aglBind]="ptm('tbody')" role="rowgroup" [unstyled]="unstyled()" [aglTreeTableBody]="columns" [aglTreeTableBodyTemplate]="_bodyTemplate()"></tbody>
|
|
2868
2756
|
<tfoot [class]="cx('tfoot')" [aglBind]="ptm('tfoot')" role="rowgroup">
|
|
2869
|
-
<ng-container *ngTemplateOutlet="
|
|
2757
|
+
<ng-container *ngTemplateOutlet="_footerTemplate(); context: { $implicit: columns }"></ng-container>
|
|
2870
2758
|
</tfoot>
|
|
2871
2759
|
</table>
|
|
2872
2760
|
</div>
|
|
@@ -2874,7 +2762,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
2874
2762
|
<div [aglBind]="ptm('scrollableWrapper')" [class]="cx('scrollableWrapper')" *ngIf="scrollable">
|
|
2875
2763
|
<div
|
|
2876
2764
|
[ngClass]="[cx('scrollableView'), cx('frozenView')]"
|
|
2877
|
-
*ngIf="frozenColumns ||
|
|
2765
|
+
*ngIf="frozenColumns || _frozenBodyTemplate()"
|
|
2878
2766
|
#scrollableFrozenView
|
|
2879
2767
|
[ttScrollableView]="frozenColumns"
|
|
2880
2768
|
[unstyled]="unstyled()"
|
|
@@ -2906,46 +2794,46 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
2906
2794
|
(onPageChange)="onPageChange($event)"
|
|
2907
2795
|
[rowsPerPageOptions]="rowsPerPageOptions"
|
|
2908
2796
|
*ngIf="paginator && (paginatorPosition === 'bottom' || paginatorPosition == 'both')"
|
|
2909
|
-
[templateLeft]="
|
|
2910
|
-
[templateRight]="
|
|
2797
|
+
[templateLeft]="_paginatorLeftTemplate()"
|
|
2798
|
+
[templateRight]="_paginatorRightTemplate()"
|
|
2911
2799
|
[appendTo]="paginatorDropdownAppendTo"
|
|
2912
2800
|
[currentPageReportTemplate]="currentPageReportTemplate"
|
|
2913
2801
|
[showFirstLastIcon]="showFirstLastIcon"
|
|
2914
|
-
[dropdownItemTemplate]="
|
|
2802
|
+
[dropdownItemTemplate]="_paginatorDropdownItemTemplate()"
|
|
2915
2803
|
[showCurrentPageReport]="showCurrentPageReport"
|
|
2916
2804
|
[showJumpToPageDropdown]="showJumpToPageDropdown"
|
|
2917
2805
|
[showPageLinks]="showPageLinks"
|
|
2918
2806
|
[locale]="paginatorLocale"
|
|
2919
2807
|
[unstyled]="unstyled()"
|
|
2920
2808
|
>
|
|
2921
|
-
<ng-template
|
|
2922
|
-
<ng-container *ngTemplateOutlet="
|
|
2809
|
+
<ng-template #firstpagelinkicon *ngIf="_paginatorFirstPageLinkIconTemplate()">
|
|
2810
|
+
<ng-container *ngTemplateOutlet="_paginatorFirstPageLinkIconTemplate()"></ng-container>
|
|
2923
2811
|
</ng-template>
|
|
2924
2812
|
|
|
2925
|
-
<ng-template
|
|
2926
|
-
<ng-container *ngTemplateOutlet="
|
|
2813
|
+
<ng-template #previouspagelinkicon *ngIf="_paginatorPreviousPageLinkIconTemplate()">
|
|
2814
|
+
<ng-container *ngTemplateOutlet="_paginatorPreviousPageLinkIconTemplate()"></ng-container>
|
|
2927
2815
|
</ng-template>
|
|
2928
2816
|
|
|
2929
|
-
<ng-template
|
|
2930
|
-
<ng-container *ngTemplateOutlet="
|
|
2817
|
+
<ng-template #lastpagelinkicon *ngIf="_paginatorLastPageLinkIconTemplate()">
|
|
2818
|
+
<ng-container *ngTemplateOutlet="_paginatorLastPageLinkIconTemplate()"></ng-container>
|
|
2931
2819
|
</ng-template>
|
|
2932
2820
|
|
|
2933
|
-
<ng-template
|
|
2934
|
-
<ng-container *ngTemplateOutlet="
|
|
2821
|
+
<ng-template #nextpagelinkicon *ngIf="_paginatorNextPageLinkIconTemplate()">
|
|
2822
|
+
<ng-container *ngTemplateOutlet="_paginatorNextPageLinkIconTemplate()"></ng-container>
|
|
2935
2823
|
</ng-template>
|
|
2936
2824
|
</agl-paginator>
|
|
2937
|
-
<div [aglBind]="ptm('footer')" *ngIf="
|
|
2938
|
-
<ng-container *ngTemplateOutlet="
|
|
2825
|
+
<div [aglBind]="ptm('footer')" *ngIf="_summaryTemplate()" [class]="cx('footer')">
|
|
2826
|
+
<ng-container *ngTemplateOutlet="_summaryTemplate()"></ng-container>
|
|
2939
2827
|
</div>
|
|
2940
2828
|
|
|
2941
2829
|
<div [aglBind]="ptm('columnResizerHelper')" #resizeHelper [class]="cx('columnResizerHelper')" [style.display]="'none'" *ngIf="resizableColumns"></div>
|
|
2942
2830
|
<span [aglBind]="ptm('reorderIndicatorUp')" #reorderIndicatorUp [class]="cx('reorderIndicatorUp')" [style.display]="'none'" *ngIf="reorderableColumns">
|
|
2943
|
-
<svg data-p-icon="arrow-down" *ngIf="!
|
|
2944
|
-
<ng-template *ngTemplateOutlet="
|
|
2831
|
+
<svg data-p-icon="arrow-down" *ngIf="!_reorderIndicatorUpIconTemplate()" />
|
|
2832
|
+
<ng-template *ngTemplateOutlet="_reorderIndicatorUpIconTemplate()"></ng-template>
|
|
2945
2833
|
</span>
|
|
2946
2834
|
<span [aglBind]="ptm('reorderIndicatorDown')" #reorderIndicatorDown [class]="cx('reorderIndicatorDown')" [style.display]="'none'" *ngIf="reorderableColumns">
|
|
2947
|
-
<svg data-p-icon="arrow-up" *ngIf="!
|
|
2948
|
-
<ng-template *ngTemplateOutlet="
|
|
2835
|
+
<svg data-p-icon="arrow-up" *ngIf="!_reorderIndicatorDownIconTemplate()" />
|
|
2836
|
+
<ng-template *ngTemplateOutlet="_reorderIndicatorDownIconTemplate()"></ng-template>
|
|
2949
2837
|
</span>
|
|
2950
2838
|
`,
|
|
2951
2839
|
providers: [TreeTableService, TreeTableStyle, { provide: TREETABLE_INSTANCE, useExisting: TreeTable }, { provide: PARENT_INSTANCE, useExisting: TreeTable }],
|
|
@@ -3166,88 +3054,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
3166
3054
|
}], scrollableFrozenViewChild: [{
|
|
3167
3055
|
type: ViewChild,
|
|
3168
3056
|
args: ['scrollableFrozenView']
|
|
3169
|
-
}], _colGroupTemplate: [{
|
|
3170
|
-
type: ContentChild,
|
|
3171
|
-
args: ['colgroup', { descendants: false }]
|
|
3172
|
-
}], _captionTemplate: [{
|
|
3173
|
-
type: ContentChild,
|
|
3174
|
-
args: ['caption', { descendants: false }]
|
|
3175
|
-
}], _headerTemplate: [{
|
|
3176
|
-
type: ContentChild,
|
|
3177
|
-
args: ['header', { descendants: false }]
|
|
3178
|
-
}], _bodyTemplate: [{
|
|
3179
|
-
type: ContentChild,
|
|
3180
|
-
args: ['body', { descendants: false }]
|
|
3181
|
-
}], _footerTemplate: [{
|
|
3182
|
-
type: ContentChild,
|
|
3183
|
-
args: ['footer', { descendants: false }]
|
|
3184
|
-
}], _summaryTemplate: [{
|
|
3185
|
-
type: ContentChild,
|
|
3186
|
-
args: ['summary', { descendants: false }]
|
|
3187
|
-
}], _emptyMessageTemplate: [{
|
|
3188
|
-
type: ContentChild,
|
|
3189
|
-
args: ['emptymessage', { descendants: false }]
|
|
3190
|
-
}], _paginatorLeftTemplate: [{
|
|
3191
|
-
type: ContentChild,
|
|
3192
|
-
args: ['paginatorleft', { descendants: false }]
|
|
3193
|
-
}], _paginatorRightTemplate: [{
|
|
3194
|
-
type: ContentChild,
|
|
3195
|
-
args: ['paginatorright', { descendants: false }]
|
|
3196
|
-
}], _paginatorDropdownItemTemplate: [{
|
|
3197
|
-
type: ContentChild,
|
|
3198
|
-
args: ['paginatordropdownitem', { descendants: false }]
|
|
3199
|
-
}], _frozenHeaderTemplate: [{
|
|
3200
|
-
type: ContentChild,
|
|
3201
|
-
args: ['frozenheader', { descendants: false }]
|
|
3202
|
-
}], _frozenBodyTemplate: [{
|
|
3203
|
-
type: ContentChild,
|
|
3204
|
-
args: ['frozenbody', { descendants: false }]
|
|
3205
|
-
}], _frozenFooterTemplate: [{
|
|
3206
|
-
type: ContentChild,
|
|
3207
|
-
args: ['frozenfooter', { descendants: false }]
|
|
3208
|
-
}], _frozenColGroupTemplate: [{
|
|
3209
|
-
type: ContentChild,
|
|
3210
|
-
args: ['frozencolgroup', { descendants: false }]
|
|
3211
|
-
}], _loadingIconTemplate: [{
|
|
3212
|
-
type: ContentChild,
|
|
3213
|
-
args: ['loadingicon', { descendants: false }]
|
|
3214
|
-
}], _reorderIndicatorUpIconTemplate: [{
|
|
3215
|
-
type: ContentChild,
|
|
3216
|
-
args: ['reorderindicatorupicon', { descendants: false }]
|
|
3217
|
-
}], _reorderIndicatorDownIconTemplate: [{
|
|
3218
|
-
type: ContentChild,
|
|
3219
|
-
args: ['reorderindicatordownicon', { descendants: false }]
|
|
3220
|
-
}], _sortIconTemplate: [{
|
|
3221
|
-
type: ContentChild,
|
|
3222
|
-
args: ['sorticon', { descendants: false }]
|
|
3223
|
-
}], _checkboxIconTemplate: [{
|
|
3224
|
-
type: ContentChild,
|
|
3225
|
-
args: ['checkboxicon', { descendants: false }]
|
|
3226
|
-
}], _headerCheckboxIconTemplate: [{
|
|
3227
|
-
type: ContentChild,
|
|
3228
|
-
args: ['headercheckboxicon', { descendants: false }]
|
|
3229
|
-
}], _togglerIconTemplate: [{
|
|
3230
|
-
type: ContentChild,
|
|
3231
|
-
args: ['togglericon', { descendants: false }]
|
|
3232
|
-
}], _paginatorFirstPageLinkIconTemplate: [{
|
|
3233
|
-
type: ContentChild,
|
|
3234
|
-
args: ['paginatorfirstpagelinkicon', { descendants: false }]
|
|
3235
|
-
}], _paginatorLastPageLinkIconTemplate: [{
|
|
3236
|
-
type: ContentChild,
|
|
3237
|
-
args: ['paginatorlastpagelinkicon', { descendants: false }]
|
|
3238
|
-
}], _paginatorPreviousPageLinkIconTemplate: [{
|
|
3239
|
-
type: ContentChild,
|
|
3240
|
-
args: ['paginatorpreviouspagelinkicon', { descendants: false }]
|
|
3241
|
-
}], _paginatorNextPageLinkIconTemplate: [{
|
|
3242
|
-
type: ContentChild,
|
|
3243
|
-
args: ['paginatornextpagelinkicon', { descendants: false }]
|
|
3244
|
-
}], _loaderTemplate: [{
|
|
3245
|
-
type: ContentChild,
|
|
3246
|
-
args: ['loader', { descendants: false }]
|
|
3247
|
-
}], templates: [{
|
|
3248
|
-
type: ContentChildren,
|
|
3249
|
-
args: [AglTemplate]
|
|
3250
|
-
}] } });
|
|
3057
|
+
}], _colGroupTemplate: [{ type: i0.ContentChild, args: ['colgroup', { ...{ descendants: false }, isSignal: true }] }], _captionTemplate: [{ type: i0.ContentChild, args: ['caption', { ...{ descendants: false }, isSignal: true }] }], _headerTemplate: [{ type: i0.ContentChild, args: ['header', { ...{ descendants: false }, isSignal: true }] }], _bodyTemplate: [{ type: i0.ContentChild, args: ['body', { ...{ descendants: false }, isSignal: true }] }], _footerTemplate: [{ type: i0.ContentChild, args: ['footer', { ...{ descendants: false }, isSignal: true }] }], _summaryTemplate: [{ type: i0.ContentChild, args: ['summary', { ...{ descendants: false }, isSignal: true }] }], _emptyMessageTemplate: [{ type: i0.ContentChild, args: ['emptymessage', { ...{ descendants: false }, isSignal: true }] }], _paginatorLeftTemplate: [{ type: i0.ContentChild, args: ['paginatorleft', { ...{ descendants: false }, isSignal: true }] }], _paginatorRightTemplate: [{ type: i0.ContentChild, args: ['paginatorright', { ...{ descendants: false }, isSignal: true }] }], _paginatorDropdownItemTemplate: [{ type: i0.ContentChild, args: ['paginatordropdownitem', { ...{ descendants: false }, isSignal: true }] }], _frozenHeaderTemplate: [{ type: i0.ContentChild, args: ['frozenheader', { ...{ descendants: false }, isSignal: true }] }], _frozenBodyTemplate: [{ type: i0.ContentChild, args: ['frozenbody', { ...{ descendants: false }, isSignal: true }] }], _frozenFooterTemplate: [{ type: i0.ContentChild, args: ['frozenfooter', { ...{ descendants: false }, isSignal: true }] }], _frozenColGroupTemplate: [{ type: i0.ContentChild, args: ['frozencolgroup', { ...{ descendants: false }, isSignal: true }] }], _loadingIconTemplate: [{ type: i0.ContentChild, args: ['loadingicon', { ...{ descendants: false }, isSignal: true }] }], _reorderIndicatorUpIconTemplate: [{ type: i0.ContentChild, args: ['reorderindicatorupicon', { ...{ descendants: false }, isSignal: true }] }], _reorderIndicatorDownIconTemplate: [{ type: i0.ContentChild, args: ['reorderindicatordownicon', { ...{ descendants: false }, isSignal: true }] }], _sortIconTemplate: [{ type: i0.ContentChild, args: ['sorticon', { ...{ descendants: false }, isSignal: true }] }], _checkboxIconTemplate: [{ type: i0.ContentChild, args: ['checkboxicon', { ...{ descendants: false }, isSignal: true }] }], _headerCheckboxIconTemplate: [{ type: i0.ContentChild, args: ['headercheckboxicon', { ...{ descendants: false }, isSignal: true }] }], _togglerIconTemplate: [{ type: i0.ContentChild, args: ['togglericon', { ...{ descendants: false }, isSignal: true }] }], _paginatorFirstPageLinkIconTemplate: [{ type: i0.ContentChild, args: ['paginatorfirstpagelinkicon', { ...{ descendants: false }, isSignal: true }] }], _paginatorLastPageLinkIconTemplate: [{ type: i0.ContentChild, args: ['paginatorlastpagelinkicon', { ...{ descendants: false }, isSignal: true }] }], _paginatorPreviousPageLinkIconTemplate: [{ type: i0.ContentChild, args: ['paginatorpreviouspagelinkicon', { ...{ descendants: false }, isSignal: true }] }], _paginatorNextPageLinkIconTemplate: [{ type: i0.ContentChild, args: ['paginatornextpagelinkicon', { ...{ descendants: false }, isSignal: true }] }], _loaderTemplate: [{ type: i0.ContentChild, args: ['loader', { ...{ descendants: false }, isSignal: true }] }] } });
|
|
3251
3058
|
class TTBody extends BaseComponent {
|
|
3252
3059
|
tt;
|
|
3253
3060
|
treeTableService;
|
|
@@ -3289,8 +3096,8 @@ class TTBody extends BaseComponent {
|
|
|
3289
3096
|
frozen: this.frozen
|
|
3290
3097
|
});
|
|
3291
3098
|
}
|
|
3292
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
3293
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.
|
|
3099
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TTBody, deps: [{ token: TreeTable }, { token: TreeTableService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3100
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.1.1", type: TTBody, isStandalone: false, selector: "[aglTreeTableBody]", inputs: { columns: ["aglTreeTableBody", "columns"], template: ["aglTreeTableBodyTemplate", "template"], frozen: ["frozen", "frozen", booleanAttribute], serializedNodes: "serializedNodes", scrollerOptions: "scrollerOptions" }, host: { properties: { "attr.data-p": "dataP" } }, usesInheritance: true, ngImport: i0, template: `
|
|
3294
3101
|
<ng-template ngFor let-serializedNode let-rowIndex="index" [ngForOf]="serializedNodes || tt.serializedValue" [ngForTrackBy]="tt.rowTrackBy">
|
|
3295
3102
|
<ng-container *ngIf="serializedNode.visible">
|
|
3296
3103
|
<ng-container
|
|
@@ -3307,11 +3114,11 @@ class TTBody extends BaseComponent {
|
|
|
3307
3114
|
</ng-container>
|
|
3308
3115
|
</ng-template>
|
|
3309
3116
|
<ng-container *ngIf="tt.isEmpty()">
|
|
3310
|
-
<ng-container *ngTemplateOutlet="tt.
|
|
3117
|
+
<ng-container *ngTemplateOutlet="tt._emptyMessageTemplate(); context: { $implicit: columns, frozen: frozen }"></ng-container>
|
|
3311
3118
|
</ng-container>
|
|
3312
3119
|
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.Eager, encapsulation: i0.ViewEncapsulation.None });
|
|
3313
3120
|
}
|
|
3314
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
3121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TTBody, decorators: [{
|
|
3315
3122
|
type: Component,
|
|
3316
3123
|
args: [{
|
|
3317
3124
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
@@ -3334,7 +3141,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
3334
3141
|
</ng-container>
|
|
3335
3142
|
</ng-template>
|
|
3336
3143
|
<ng-container *ngIf="tt.isEmpty()">
|
|
3337
|
-
<ng-container *ngTemplateOutlet="tt.
|
|
3144
|
+
<ng-container *ngTemplateOutlet="tt._emptyMessageTemplate(); context: { $implicit: columns, frozen: frozen }"></ng-container>
|
|
3338
3145
|
</ng-container>
|
|
3339
3146
|
`,
|
|
3340
3147
|
encapsulation: ViewEncapsulation.None,
|
|
@@ -3396,7 +3203,7 @@ class TTScrollableView extends BaseComponent {
|
|
|
3396
3203
|
onAfterViewInit() {
|
|
3397
3204
|
if (isPlatformBrowser(this.platformId)) {
|
|
3398
3205
|
if (!this.frozen) {
|
|
3399
|
-
if (this.tt.frozenColumns || this.tt.
|
|
3206
|
+
if (this.tt.frozenColumns || this.tt._frozenBodyTemplate()) {
|
|
3400
3207
|
addClass(this.el.nativeElement, 'p-treetable-unfrozen-view');
|
|
3401
3208
|
}
|
|
3402
3209
|
let frozenView = this.el.nativeElement.previousElementSibling;
|
|
@@ -3526,17 +3333,17 @@ class TTScrollableView extends BaseComponent {
|
|
|
3526
3333
|
this.unbindEvents();
|
|
3527
3334
|
this.frozenSiblingBody = null;
|
|
3528
3335
|
}
|
|
3529
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
3530
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.
|
|
3336
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TTScrollableView, deps: [{ token: TreeTable }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
3337
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.1.1", type: TTScrollableView, isStandalone: false, selector: "[ttScrollableView]", inputs: { columns: ["ttScrollableView", "columns"], frozen: ["frozen", "frozen", booleanAttribute], scrollHeight: "scrollHeight" }, providers: [TreeTableStyle], viewQueries: [{ propertyName: "scrollHeaderViewChild", first: true, predicate: ["scrollHeader"], descendants: true }, { propertyName: "scrollHeaderBoxViewChild", first: true, predicate: ["scrollHeaderBox"], descendants: true }, { propertyName: "scrollBodyViewChild", first: true, predicate: ["scrollBody"], descendants: true }, { propertyName: "scrollTableViewChild", first: true, predicate: ["scrollTable"], descendants: true }, { propertyName: "scrollLoadingTableViewChild", first: true, predicate: ["loadingTable"], descendants: true }, { propertyName: "scrollFooterViewChild", first: true, predicate: ["scrollFooter"], descendants: true }, { propertyName: "scrollFooterBoxViewChild", first: true, predicate: ["scrollFooterBox"], descendants: true }, { propertyName: "scrollableAlignerViewChild", first: true, predicate: ["scrollableAligner"], descendants: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
|
|
3531
3338
|
<div #scrollHeader [class]="cx('scrollableHeader')" [aglBind]="ptm('scrollableHeader')">
|
|
3532
3339
|
<div #scrollHeaderBox [class]="cx('scrollableHeaderBox')" [aglBind]="ptm('scrollableHeaderBox')">
|
|
3533
3340
|
<table [class]="cn(cx('scrollableHeaderTable'), tt.tableStyleClass)" [aglBind]="ptm('scrollableHeaderTable')" [ngStyle]="tt.tableStyle">
|
|
3534
3341
|
<ng-container
|
|
3535
|
-
*ngTemplateOutlet="frozen ? tt.
|
|
3342
|
+
*ngTemplateOutlet="frozen ? tt._frozenColGroupTemplate() || tt._colGroupTemplate() : tt._colGroupTemplate(); context: { $implicit: columns }"
|
|
3536
3343
|
></ng-container>
|
|
3537
3344
|
<thead role="rowgroup" [class]="cx('thead')" [aglBind]="ptm('thead')">
|
|
3538
3345
|
<ng-container
|
|
3539
|
-
*ngTemplateOutlet="frozen ? tt.
|
|
3346
|
+
*ngTemplateOutlet="frozen ? tt._frozenHeaderTemplate() || tt._headerTemplate() : tt._headerTemplate(); context: { $implicit: columns }"
|
|
3540
3347
|
></ng-container>
|
|
3541
3348
|
</thead>
|
|
3542
3349
|
</table>
|
|
@@ -3559,9 +3366,9 @@ class TTScrollableView extends BaseComponent {
|
|
|
3559
3366
|
<ng-template #content let-items let-scrollerOptions="options">
|
|
3560
3367
|
<ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
|
|
3561
3368
|
</ng-template>
|
|
3562
|
-
<ng-container *ngIf="tt.
|
|
3369
|
+
<ng-container *ngIf="tt._loaderTemplate()">
|
|
3563
3370
|
<ng-template #loader let-scrollerOptions="options">
|
|
3564
|
-
<ng-container *ngTemplateOutlet="tt.
|
|
3371
|
+
<ng-container *ngTemplateOutlet="tt._loaderTemplate(); context: { options: scrollerOptions }"></ng-container>
|
|
3565
3372
|
</ng-template>
|
|
3566
3373
|
</ng-container>
|
|
3567
3374
|
</agl-scroller>
|
|
@@ -3582,7 +3389,7 @@ class TTScrollableView extends BaseComponent {
|
|
|
3582
3389
|
<ng-template #buildInItems let-items let-scrollerOptions="options">
|
|
3583
3390
|
<table role="treegrid" #scrollTable [aglBind]="ptm('table')" [class]="tt.tableStyleClass" [ngClass]="scrollerOptions.contentStyleClass" [ngStyle]="tt.tableStyle" [style]="scrollerOptions.contentStyle">
|
|
3584
3391
|
<ng-container
|
|
3585
|
-
*ngTemplateOutlet="frozen ? tt.
|
|
3392
|
+
*ngTemplateOutlet="frozen ? tt._frozenColGroupTemplate() || tt._colGroupTemplate() : tt._colGroupTemplate(); context: { $implicit: columns }"
|
|
3586
3393
|
></ng-container>
|
|
3587
3394
|
<tbody
|
|
3588
3395
|
[aglBind]="ptm('tbody')"
|
|
@@ -3591,7 +3398,7 @@ class TTScrollableView extends BaseComponent {
|
|
|
3591
3398
|
[aglBind]="ptm('tbody')"
|
|
3592
3399
|
[aglTreeTableBody]="columns"
|
|
3593
3400
|
[unstyled]="unstyled()"
|
|
3594
|
-
[aglTreeTableBodyTemplate]="frozen ? tt.
|
|
3401
|
+
[aglTreeTableBodyTemplate]="frozen ? tt._frozenBodyTemplate() || tt._bodyTemplate() : tt._bodyTemplate()"
|
|
3595
3402
|
[serializedNodes]="items"
|
|
3596
3403
|
[frozen]="frozen"
|
|
3597
3404
|
></tbody>
|
|
@@ -3599,15 +3406,15 @@ class TTScrollableView extends BaseComponent {
|
|
|
3599
3406
|
<div #scrollableAligner [style.background-color]="'transparent'" *ngIf="frozen"></div>
|
|
3600
3407
|
</ng-template>
|
|
3601
3408
|
|
|
3602
|
-
<div #scrollFooter *ngIf="tt.
|
|
3409
|
+
<div #scrollFooter *ngIf="tt._footerTemplate()" [class]="cx('scrollableFooter')" [aglBind]="ptm('scrollableFooter')">
|
|
3603
3410
|
<div #scrollFooterBox [class]="cx('scrollableFooterBox')" [aglBind]="ptm('scrollableFooterBox')">
|
|
3604
3411
|
<table [class]="cx('scrollableFooterTable')" [ngClass]="tt.tableStyleClass" [ngStyle]="tt.tableStyle" [aglBind]="ptm('scrollableFooterTable')">
|
|
3605
3412
|
<ng-container
|
|
3606
|
-
*ngTemplateOutlet="frozen ? tt.
|
|
3413
|
+
*ngTemplateOutlet="frozen ? tt._frozenColGroupTemplate() || tt._colGroupTemplate() : tt._colGroupTemplate(); context: { $implicit: columns }"
|
|
3607
3414
|
></ng-container>
|
|
3608
3415
|
<tfoot role="rowgroup" [class]="cx('tfoot')" [aglBind]="ptm('tfoot')">
|
|
3609
3416
|
<ng-container
|
|
3610
|
-
*ngTemplateOutlet="frozen ? tt.
|
|
3417
|
+
*ngTemplateOutlet="frozen ? tt._frozenFooterTemplate() || tt._footerTemplate() : tt._footerTemplate(); context: { $implicit: columns }"
|
|
3611
3418
|
></ng-container>
|
|
3612
3419
|
</tfoot>
|
|
3613
3420
|
</table>
|
|
@@ -3615,7 +3422,7 @@ class TTScrollableView extends BaseComponent {
|
|
|
3615
3422
|
</div>
|
|
3616
3423
|
`, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => i2.NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgTemplateOutlet), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgStyle), selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i0.forwardRef(() => Scroller), selector: "agl-scroller, agl-virtualscroller, agl-virtual-scroller, agl-virtualScroller", inputs: ["hostName", "id", "style", "styleClass", "tabindex", "items", "itemSize", "scrollHeight", "scrollWidth", "orientation", "step", "delay", "resizeDelay", "appendOnly", "inline", "lazy", "disabled", "loaderDisabled", "columns", "showSpacer", "showLoader", "numToleratedItems", "loading", "autoSize", "trackBy", "options"], outputs: ["onLazyLoad", "onScroll", "onScrollIndexChange"] }, { kind: "directive", type: i0.forwardRef(() => i1.Bind), selector: "[aglBind]", inputs: ["aglBind"] }, { kind: "component", type: i0.forwardRef(() => TTBody), selector: "[aglTreeTableBody]", inputs: ["aglTreeTableBody", "aglTreeTableBodyTemplate", "frozen", "serializedNodes", "scrollerOptions"] }], changeDetection: i0.ChangeDetectionStrategy.Eager, encapsulation: i0.ViewEncapsulation.None });
|
|
3617
3424
|
}
|
|
3618
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
3425
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TTScrollableView, decorators: [{
|
|
3619
3426
|
type: Component,
|
|
3620
3427
|
args: [{
|
|
3621
3428
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
@@ -3626,11 +3433,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
3626
3433
|
<div #scrollHeaderBox [class]="cx('scrollableHeaderBox')" [aglBind]="ptm('scrollableHeaderBox')">
|
|
3627
3434
|
<table [class]="cn(cx('scrollableHeaderTable'), tt.tableStyleClass)" [aglBind]="ptm('scrollableHeaderTable')" [ngStyle]="tt.tableStyle">
|
|
3628
3435
|
<ng-container
|
|
3629
|
-
*ngTemplateOutlet="frozen ? tt.
|
|
3436
|
+
*ngTemplateOutlet="frozen ? tt._frozenColGroupTemplate() || tt._colGroupTemplate() : tt._colGroupTemplate(); context: { $implicit: columns }"
|
|
3630
3437
|
></ng-container>
|
|
3631
3438
|
<thead role="rowgroup" [class]="cx('thead')" [aglBind]="ptm('thead')">
|
|
3632
3439
|
<ng-container
|
|
3633
|
-
*ngTemplateOutlet="frozen ? tt.
|
|
3440
|
+
*ngTemplateOutlet="frozen ? tt._frozenHeaderTemplate() || tt._headerTemplate() : tt._headerTemplate(); context: { $implicit: columns }"
|
|
3634
3441
|
></ng-container>
|
|
3635
3442
|
</thead>
|
|
3636
3443
|
</table>
|
|
@@ -3653,9 +3460,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
3653
3460
|
<ng-template #content let-items let-scrollerOptions="options">
|
|
3654
3461
|
<ng-container *ngTemplateOutlet="buildInItems; context: { $implicit: items, options: scrollerOptions }"></ng-container>
|
|
3655
3462
|
</ng-template>
|
|
3656
|
-
<ng-container *ngIf="tt.
|
|
3463
|
+
<ng-container *ngIf="tt._loaderTemplate()">
|
|
3657
3464
|
<ng-template #loader let-scrollerOptions="options">
|
|
3658
|
-
<ng-container *ngTemplateOutlet="tt.
|
|
3465
|
+
<ng-container *ngTemplateOutlet="tt._loaderTemplate(); context: { options: scrollerOptions }"></ng-container>
|
|
3659
3466
|
</ng-template>
|
|
3660
3467
|
</ng-container>
|
|
3661
3468
|
</agl-scroller>
|
|
@@ -3676,7 +3483,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
3676
3483
|
<ng-template #buildInItems let-items let-scrollerOptions="options">
|
|
3677
3484
|
<table role="treegrid" #scrollTable [aglBind]="ptm('table')" [class]="tt.tableStyleClass" [ngClass]="scrollerOptions.contentStyleClass" [ngStyle]="tt.tableStyle" [style]="scrollerOptions.contentStyle">
|
|
3678
3485
|
<ng-container
|
|
3679
|
-
*ngTemplateOutlet="frozen ? tt.
|
|
3486
|
+
*ngTemplateOutlet="frozen ? tt._frozenColGroupTemplate() || tt._colGroupTemplate() : tt._colGroupTemplate(); context: { $implicit: columns }"
|
|
3680
3487
|
></ng-container>
|
|
3681
3488
|
<tbody
|
|
3682
3489
|
[aglBind]="ptm('tbody')"
|
|
@@ -3685,7 +3492,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
3685
3492
|
[aglBind]="ptm('tbody')"
|
|
3686
3493
|
[aglTreeTableBody]="columns"
|
|
3687
3494
|
[unstyled]="unstyled()"
|
|
3688
|
-
[aglTreeTableBodyTemplate]="frozen ? tt.
|
|
3495
|
+
[aglTreeTableBodyTemplate]="frozen ? tt._frozenBodyTemplate() || tt._bodyTemplate() : tt._bodyTemplate()"
|
|
3689
3496
|
[serializedNodes]="items"
|
|
3690
3497
|
[frozen]="frozen"
|
|
3691
3498
|
></tbody>
|
|
@@ -3693,15 +3500,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
3693
3500
|
<div #scrollableAligner [style.background-color]="'transparent'" *ngIf="frozen"></div>
|
|
3694
3501
|
</ng-template>
|
|
3695
3502
|
|
|
3696
|
-
<div #scrollFooter *ngIf="tt.
|
|
3503
|
+
<div #scrollFooter *ngIf="tt._footerTemplate()" [class]="cx('scrollableFooter')" [aglBind]="ptm('scrollableFooter')">
|
|
3697
3504
|
<div #scrollFooterBox [class]="cx('scrollableFooterBox')" [aglBind]="ptm('scrollableFooterBox')">
|
|
3698
3505
|
<table [class]="cx('scrollableFooterTable')" [ngClass]="tt.tableStyleClass" [ngStyle]="tt.tableStyle" [aglBind]="ptm('scrollableFooterTable')">
|
|
3699
3506
|
<ng-container
|
|
3700
|
-
*ngTemplateOutlet="frozen ? tt.
|
|
3507
|
+
*ngTemplateOutlet="frozen ? tt._frozenColGroupTemplate() || tt._colGroupTemplate() : tt._colGroupTemplate(); context: { $implicit: columns }"
|
|
3701
3508
|
></ng-container>
|
|
3702
3509
|
<tfoot role="rowgroup" [class]="cx('tfoot')" [aglBind]="ptm('tfoot')">
|
|
3703
3510
|
<ng-container
|
|
3704
|
-
*ngTemplateOutlet="frozen ? tt.
|
|
3511
|
+
*ngTemplateOutlet="frozen ? tt._frozenFooterTemplate() || tt._footerTemplate() : tt._footerTemplate(); context: { $implicit: columns }"
|
|
3705
3512
|
></ng-container>
|
|
3706
3513
|
</tfoot>
|
|
3707
3514
|
</table>
|
|
@@ -3805,10 +3612,10 @@ class TTSortableColumn extends BaseComponent {
|
|
|
3805
3612
|
this.subscription.unsubscribe();
|
|
3806
3613
|
}
|
|
3807
3614
|
}
|
|
3808
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
3809
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.
|
|
3615
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TTSortableColumn, deps: [{ token: TreeTable }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3616
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.1.1", type: TTSortableColumn, isStandalone: false, selector: "[ttSortableColumn]", inputs: { field: ["ttSortableColumn", "field"], ttSortableColumnDisabled: ["ttSortableColumnDisabled", "ttSortableColumnDisabled", booleanAttribute] }, host: { attributes: { "role": "columnheader" }, listeners: { "click": "onClick($event)", "keydown.enter": "onEnterKey($event)" }, properties: { "class": "cx(\"sortableColumn\")", "tabindex": "isEnabled() ? \"0\" : null", "attr.aria-sort": "ariaSorted" } }, providers: [TreeTableStyle], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
|
|
3810
3617
|
}
|
|
3811
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
3618
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TTSortableColumn, decorators: [{
|
|
3812
3619
|
type: Directive,
|
|
3813
3620
|
args: [{
|
|
3814
3621
|
selector: '[ttSortableColumn]',
|
|
@@ -3894,32 +3701,32 @@ class TTSortIcon extends BaseComponent {
|
|
|
3894
3701
|
this.subscription.unsubscribe();
|
|
3895
3702
|
}
|
|
3896
3703
|
}
|
|
3897
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
3898
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.
|
|
3899
|
-
<ng-container *ngIf="!tt.
|
|
3704
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TTSortIcon, deps: [{ token: TreeTable }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3705
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.1", type: TTSortIcon, isStandalone: false, selector: "agl-treeTableSortIcon, agl-treetable-sort-icon, agl-tree-table-sort-icon", inputs: { field: "field", ariaLabelDesc: "ariaLabelDesc", ariaLabelAsc: "ariaLabelAsc" }, providers: [TreeTableStyle], usesInheritance: true, ngImport: i0, template: `
|
|
3706
|
+
<ng-container *ngIf="!tt._sortIconTemplate()">
|
|
3900
3707
|
<svg data-p-icon="sort-alt" [class]="cx('sortableColumnIcon')" [aglBind]="ptm('sortableColumnIcon')" *ngIf="sortOrder === 0" />
|
|
3901
3708
|
<svg data-p-icon="sort-amount-up-alt" [class]="cx('sortableColumnIcon')" *ngIf="sortOrder === 1" [aglBind]="ptm('sortableColumnIcon')" />
|
|
3902
3709
|
<svg data-p-icon="sort-amount-down" [class]="cx('sortableColumnIcon')" *ngIf="sortOrder === -1" [aglBind]="ptm('sortableColumnIcon')" />
|
|
3903
3710
|
</ng-container>
|
|
3904
|
-
<span *ngIf="tt.
|
|
3905
|
-
<ng-template *ngTemplateOutlet="tt.
|
|
3711
|
+
<span *ngIf="tt._sortIconTemplate()" [class]="cx('sortableColumnIcon')" [aglBind]="ptm('sortableColumnIcon')">
|
|
3712
|
+
<ng-template *ngTemplateOutlet="tt._sortIconTemplate(); context: { $implicit: sortOrder }"></ng-template>
|
|
3906
3713
|
</span>
|
|
3907
3714
|
<agl-badge *ngIf="isMultiSorted()" [class]="cx('sortableColumnBadge')" [value]="getBadgeValue()" size="small" [pt]="ptm('pcSortableColumnBadge')" [unstyled]="unstyled()"></agl-badge>
|
|
3908
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => i2.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgTemplateOutlet), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i0.forwardRef(() => SortAltIcon), selector: "[data-p-icon=\"sort-alt\"]" }, { kind: "component", type: i0.forwardRef(() => SortAmountUpAltIcon), selector: "[data-p-icon=\"sort-amount-up-alt\"]" }, { kind: "component", type: i0.forwardRef(() => SortAmountDownIcon), selector: "[data-p-icon=\"sort-amount-down\"]" }, { kind: "component", type: i0.forwardRef(() =>
|
|
3715
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => i2.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgTemplateOutlet), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i0.forwardRef(() => SortAltIcon), selector: "[data-p-icon=\"sort-alt\"]" }, { kind: "component", type: i0.forwardRef(() => SortAmountUpAltIcon), selector: "[data-p-icon=\"sort-amount-up-alt\"]" }, { kind: "component", type: i0.forwardRef(() => SortAmountDownIcon), selector: "[data-p-icon=\"sort-amount-down\"]" }, { kind: "component", type: i0.forwardRef(() => i4.Badge), selector: "agl-badge", inputs: ["styleClass", "badgeSize", "size", "severity", "value", "badgeDisabled"] }, { kind: "directive", type: i0.forwardRef(() => i1.Bind), selector: "[aglBind]", inputs: ["aglBind"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3909
3716
|
}
|
|
3910
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
3717
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TTSortIcon, decorators: [{
|
|
3911
3718
|
type: Component,
|
|
3912
3719
|
args: [{
|
|
3913
3720
|
selector: 'agl-treeTableSortIcon, agl-treetable-sort-icon, agl-tree-table-sort-icon',
|
|
3914
3721
|
standalone: false,
|
|
3915
3722
|
template: `
|
|
3916
|
-
<ng-container *ngIf="!tt.
|
|
3723
|
+
<ng-container *ngIf="!tt._sortIconTemplate()">
|
|
3917
3724
|
<svg data-p-icon="sort-alt" [class]="cx('sortableColumnIcon')" [aglBind]="ptm('sortableColumnIcon')" *ngIf="sortOrder === 0" />
|
|
3918
3725
|
<svg data-p-icon="sort-amount-up-alt" [class]="cx('sortableColumnIcon')" *ngIf="sortOrder === 1" [aglBind]="ptm('sortableColumnIcon')" />
|
|
3919
3726
|
<svg data-p-icon="sort-amount-down" [class]="cx('sortableColumnIcon')" *ngIf="sortOrder === -1" [aglBind]="ptm('sortableColumnIcon')" />
|
|
3920
3727
|
</ng-container>
|
|
3921
|
-
<span *ngIf="tt.
|
|
3922
|
-
<ng-template *ngTemplateOutlet="tt.
|
|
3728
|
+
<span *ngIf="tt._sortIconTemplate()" [class]="cx('sortableColumnIcon')" [aglBind]="ptm('sortableColumnIcon')">
|
|
3729
|
+
<ng-template *ngTemplateOutlet="tt._sortIconTemplate(); context: { $implicit: sortOrder }"></ng-template>
|
|
3923
3730
|
</span>
|
|
3924
3731
|
<agl-badge *ngIf="isMultiSorted()" [class]="cx('sortableColumnBadge')" [value]="getBadgeValue()" size="small" [pt]="ptm('pcSortableColumnBadge')" [unstyled]="unstyled()"></agl-badge>
|
|
3925
3732
|
`,
|
|
@@ -3999,10 +3806,10 @@ class TTResizableColumn extends BaseComponent {
|
|
|
3999
3806
|
}
|
|
4000
3807
|
this.unbindDocumentEvents();
|
|
4001
3808
|
}
|
|
4002
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
4003
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.
|
|
3809
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TTResizableColumn, deps: [{ token: TreeTable }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3810
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.1.1", type: TTResizableColumn, isStandalone: false, selector: "[ttResizableColumn]", inputs: { ttResizableColumnDisabled: ["ttResizableColumnDisabled", "ttResizableColumnDisabled", booleanAttribute] }, usesInheritance: true, ngImport: i0 });
|
|
4004
3811
|
}
|
|
4005
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
3812
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TTResizableColumn, decorators: [{
|
|
4006
3813
|
type: Directive,
|
|
4007
3814
|
args: [{
|
|
4008
3815
|
selector: '[ttResizableColumn]',
|
|
@@ -4092,10 +3899,10 @@ class TTReorderableColumn extends BaseComponent {
|
|
|
4092
3899
|
onDestroy() {
|
|
4093
3900
|
this.unbindEvents();
|
|
4094
3901
|
}
|
|
4095
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
4096
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.
|
|
3902
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TTReorderableColumn, deps: [{ token: TreeTable }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3903
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.1.1", type: TTReorderableColumn, isStandalone: false, selector: "[ttReorderableColumn]", inputs: { ttReorderableColumnDisabled: ["ttReorderableColumnDisabled", "ttReorderableColumnDisabled", booleanAttribute] }, host: { listeners: { "drop": "onDrop($event)" } }, usesInheritance: true, ngImport: i0 });
|
|
4097
3904
|
}
|
|
4098
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
3905
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TTReorderableColumn, decorators: [{
|
|
4099
3906
|
type: Directive,
|
|
4100
3907
|
args: [{
|
|
4101
3908
|
selector: '[ttReorderableColumn]',
|
|
@@ -4174,10 +3981,10 @@ class TTSelectableRow extends BaseComponent {
|
|
|
4174
3981
|
this.subscription.unsubscribe();
|
|
4175
3982
|
}
|
|
4176
3983
|
}
|
|
4177
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
4178
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.
|
|
3984
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TTSelectableRow, deps: [{ token: TreeTable }, { token: TreeTableService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3985
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.1.1", type: TTSelectableRow, isStandalone: false, selector: "[ttSelectableRow]", inputs: { rowNode: ["ttSelectableRow", "rowNode"], ttSelectableRowDisabled: ["ttSelectableRowDisabled", "ttSelectableRowDisabled", booleanAttribute] }, host: { listeners: { "click": "onClick($event)", "keydown": "onKeyDown($event)", "touchend": "onTouchEnd($event)" }, properties: { "class": "cx(\"row\")", "attr.aria-selected": "selected" } }, providers: [TreeTableStyle], usesInheritance: true, ngImport: i0 });
|
|
4179
3986
|
}
|
|
4180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
3987
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TTSelectableRow, decorators: [{
|
|
4181
3988
|
type: Directive,
|
|
4182
3989
|
args: [{
|
|
4183
3990
|
selector: '[ttSelectableRow]',
|
|
@@ -4243,10 +4050,10 @@ class TTSelectableRowDblClick extends BaseComponent {
|
|
|
4243
4050
|
this.subscription.unsubscribe();
|
|
4244
4051
|
}
|
|
4245
4052
|
}
|
|
4246
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
4247
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.
|
|
4053
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TTSelectableRowDblClick, deps: [{ token: TreeTable }, { token: TreeTableService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4054
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.1.1", type: TTSelectableRowDblClick, isStandalone: false, selector: "[ttSelectableRowDblClick]", inputs: { rowNode: ["ttSelectableRowDblClick", "rowNode"], ttSelectableRowDisabled: ["ttSelectableRowDisabled", "ttSelectableRowDisabled", booleanAttribute] }, host: { listeners: { "dblclick": "onClick($event)" }, properties: { "class": "cx(\"row\")" } }, providers: [TreeTableStyle], usesInheritance: true, ngImport: i0 });
|
|
4248
4055
|
}
|
|
4249
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
4056
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TTSelectableRowDblClick, decorators: [{
|
|
4250
4057
|
type: Directive,
|
|
4251
4058
|
args: [{
|
|
4252
4059
|
selector: '[ttSelectableRowDblClick]',
|
|
@@ -4302,10 +4109,10 @@ class TTContextMenuRow extends BaseComponent {
|
|
|
4302
4109
|
this.subscription.unsubscribe();
|
|
4303
4110
|
}
|
|
4304
4111
|
}
|
|
4305
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
4306
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.
|
|
4112
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TTContextMenuRow, deps: [{ token: TreeTable }, { token: TreeTableService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4113
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.1.1", type: TTContextMenuRow, isStandalone: false, selector: "[ttContextMenuRow]", inputs: { rowNode: ["ttContextMenuRow", "rowNode"], ttContextMenuRowDisabled: ["ttContextMenuRowDisabled", "ttContextMenuRowDisabled", booleanAttribute] }, host: { listeners: { "contextmenu": "onContextMenu($event)" }, properties: { "class": "cx(\"contextMenuRow\")", "tabindex": "isEnabled() ? 0 : undefined" } }, providers: [TreeTableStyle], usesInheritance: true, ngImport: i0 });
|
|
4307
4114
|
}
|
|
4308
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
4115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TTContextMenuRow, decorators: [{
|
|
4309
4116
|
type: Directive,
|
|
4310
4117
|
args: [{
|
|
4311
4118
|
selector: '[ttContextMenuRow]',
|
|
@@ -4396,27 +4203,27 @@ class TTCheckbox extends BaseComponent {
|
|
|
4396
4203
|
this.subscription.unsubscribe();
|
|
4397
4204
|
}
|
|
4398
4205
|
}
|
|
4399
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
4400
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.
|
|
4206
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TTCheckbox, deps: [{ token: TreeTable }, { token: TreeTableService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4207
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.1.1", type: TTCheckbox, isStandalone: false, selector: "agl-treeTableCheckbox, agl-treetable-checkbox, agl-tree-table-checkbox", inputs: { disabled: ["disabled", "disabled", booleanAttribute], rowNode: ["value", "rowNode"] }, providers: [TreeTableStyle], usesInheritance: true, ngImport: i0, template: `
|
|
4401
4208
|
<agl-checkbox [ngModel]="checked" [pt]="ptm('pcRowCheckbox')" (onChange)="onClick($event)" [binary]="true" [disabled]="disabled" [indeterminate]="partialChecked" [styleClass]="cx('pcNodeCheckbox')" [tabIndex]="-1" [unstyled]="unstyled()">
|
|
4402
|
-
<ng-container *ngIf="tt.
|
|
4403
|
-
<ng-template
|
|
4404
|
-
<ng-template *ngTemplateOutlet="tt.
|
|
4209
|
+
<ng-container *ngIf="tt._checkboxIconTemplate()">
|
|
4210
|
+
<ng-template #icon >
|
|
4211
|
+
<ng-template *ngTemplateOutlet="tt._checkboxIconTemplate(); context: { $implicit: checked, partialSelected: partialChecked }"></ng-template>
|
|
4405
4212
|
</ng-template>
|
|
4406
4213
|
</ng-container>
|
|
4407
4214
|
</agl-checkbox>
|
|
4408
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => i2.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgTemplateOutlet), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "
|
|
4215
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => i2.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgTemplateOutlet), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i0.forwardRef(() => Checkbox), selector: "agl-checkbox, agl-checkBox, agl-check-box", inputs: ["hostName", "value", "binary", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "inputStyle", "styleClass", "inputClass", "indeterminate", "formControl", "checkboxIcon", "readonly", "autofocus", "trueValue", "falseValue", "variant", "size"], outputs: ["onChange", "onFocus", "onBlur"] }, { kind: "directive", type: i0.forwardRef(() => i5.NgControlStatus), selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i0.forwardRef(() => i5.NgModel), selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4409
4216
|
}
|
|
4410
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
4217
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TTCheckbox, decorators: [{
|
|
4411
4218
|
type: Component,
|
|
4412
4219
|
args: [{
|
|
4413
4220
|
selector: 'agl-treeTableCheckbox, agl-treetable-checkbox, agl-tree-table-checkbox',
|
|
4414
4221
|
standalone: false,
|
|
4415
4222
|
template: `
|
|
4416
4223
|
<agl-checkbox [ngModel]="checked" [pt]="ptm('pcRowCheckbox')" (onChange)="onClick($event)" [binary]="true" [disabled]="disabled" [indeterminate]="partialChecked" [styleClass]="cx('pcNodeCheckbox')" [tabIndex]="-1" [unstyled]="unstyled()">
|
|
4417
|
-
<ng-container *ngIf="tt.
|
|
4418
|
-
<ng-template
|
|
4419
|
-
<ng-template *ngTemplateOutlet="tt.
|
|
4224
|
+
<ng-container *ngIf="tt._checkboxIconTemplate()">
|
|
4225
|
+
<ng-template #icon >
|
|
4226
|
+
<ng-template *ngTemplateOutlet="tt._checkboxIconTemplate(); context: { $implicit: checked, partialSelected: partialChecked }"></ng-template>
|
|
4420
4227
|
</ng-template>
|
|
4421
4228
|
</ng-container>
|
|
4422
4229
|
</agl-checkbox>
|
|
@@ -4501,27 +4308,27 @@ class TTHeaderCheckbox extends BaseComponent {
|
|
|
4501
4308
|
}
|
|
4502
4309
|
return checked;
|
|
4503
4310
|
}
|
|
4504
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
4505
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.
|
|
4311
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TTHeaderCheckbox, deps: [{ token: TreeTable }, { token: TreeTableService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4312
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.1", type: TTHeaderCheckbox, isStandalone: false, selector: "agl-treeTableHeaderCheckbox", usesInheritance: true, ngImport: i0, template: `
|
|
4506
4313
|
<agl-checkbox [ngModel]="checked" [pt]="ptm('pcHeaderCheckbox')" (onChange)="onClick($event)" [binary]="true" [disabled]="!tt.value || tt.value.length === 0" [unstyled]="unstyled()">
|
|
4507
|
-
<ng-container *ngIf="tt.
|
|
4508
|
-
<ng-template
|
|
4509
|
-
<ng-template *ngTemplateOutlet="tt.
|
|
4314
|
+
<ng-container *ngIf="tt._headerCheckboxIconTemplate()">
|
|
4315
|
+
<ng-template #icon >
|
|
4316
|
+
<ng-template *ngTemplateOutlet="tt._headerCheckboxIconTemplate(); context: { $implicit: checked }"></ng-template>
|
|
4510
4317
|
</ng-template>
|
|
4511
4318
|
</ng-container>
|
|
4512
4319
|
</agl-checkbox>
|
|
4513
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => i2.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgTemplateOutlet), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "
|
|
4320
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => i2.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgTemplateOutlet), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i0.forwardRef(() => Checkbox), selector: "agl-checkbox, agl-checkBox, agl-check-box", inputs: ["hostName", "value", "binary", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "inputStyle", "styleClass", "inputClass", "indeterminate", "formControl", "checkboxIcon", "readonly", "autofocus", "trueValue", "falseValue", "variant", "size"], outputs: ["onChange", "onFocus", "onBlur"] }, { kind: "directive", type: i0.forwardRef(() => i5.NgControlStatus), selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i0.forwardRef(() => i5.NgModel), selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4514
4321
|
}
|
|
4515
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
4322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TTHeaderCheckbox, decorators: [{
|
|
4516
4323
|
type: Component,
|
|
4517
4324
|
args: [{
|
|
4518
4325
|
selector: 'agl-treeTableHeaderCheckbox',
|
|
4519
4326
|
standalone: false,
|
|
4520
4327
|
template: `
|
|
4521
4328
|
<agl-checkbox [ngModel]="checked" [pt]="ptm('pcHeaderCheckbox')" (onChange)="onClick($event)" [binary]="true" [disabled]="!tt.value || tt.value.length === 0" [unstyled]="unstyled()">
|
|
4522
|
-
<ng-container *ngIf="tt.
|
|
4523
|
-
<ng-template
|
|
4524
|
-
<ng-template *ngTemplateOutlet="tt.
|
|
4329
|
+
<ng-container *ngIf="tt._headerCheckboxIconTemplate()">
|
|
4330
|
+
<ng-template #icon >
|
|
4331
|
+
<ng-template *ngTemplateOutlet="tt._headerCheckboxIconTemplate(); context: { $implicit: checked }"></ng-template>
|
|
4525
4332
|
</ng-template>
|
|
4526
4333
|
</ng-container>
|
|
4527
4334
|
</agl-checkbox>
|
|
@@ -4693,10 +4500,10 @@ class TTEditableColumn extends BaseComponent {
|
|
|
4693
4500
|
isEnabled() {
|
|
4694
4501
|
return this.ttEditableColumnDisabled !== true;
|
|
4695
4502
|
}
|
|
4696
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
4697
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.
|
|
4503
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TTEditableColumn, deps: [{ token: TreeTable }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4504
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.1.1", type: TTEditableColumn, isStandalone: false, selector: "[ttEditableColumn]", inputs: { data: ["ttEditableColumn", "data"], field: ["ttEditableColumnField", "field"], ttEditableColumnDisabled: ["ttEditableColumnDisabled", "ttEditableColumnDisabled", booleanAttribute] }, host: { listeners: { "click": "onClick($event)", "keydown": "onKeyDown($event)" } }, usesInheritance: true, ngImport: i0 });
|
|
4698
4505
|
}
|
|
4699
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
4506
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TTEditableColumn, decorators: [{
|
|
4700
4507
|
type: Directive,
|
|
4701
4508
|
args: [{
|
|
4702
4509
|
selector: '[ttEditableColumn]',
|
|
@@ -4726,37 +4533,34 @@ class TreeTableCellEditor extends BaseComponent {
|
|
|
4726
4533
|
onAfterViewChecked() {
|
|
4727
4534
|
this.bindDirectiveInstance.setAttrs(this.ptm('cellEditor'));
|
|
4728
4535
|
}
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4536
|
+
/**
|
|
4537
|
+
* Editing state of the cell.
|
|
4538
|
+
* @group Templates
|
|
4539
|
+
*/
|
|
4540
|
+
inputTemplate = contentChild('input', /* @ts-ignore */
|
|
4541
|
+
...(ngDevMode ? [{ debugName: "inputTemplate" }] : /* istanbul ignore next */ []));
|
|
4542
|
+
/**
|
|
4543
|
+
* Display state of the cell.
|
|
4544
|
+
* @group Templates
|
|
4545
|
+
*/
|
|
4546
|
+
outputTemplate = contentChild('output', /* @ts-ignore */
|
|
4547
|
+
...(ngDevMode ? [{ debugName: "outputTemplate" }] : /* istanbul ignore next */ []));
|
|
4732
4548
|
constructor(tt, editableColumn) {
|
|
4733
4549
|
super();
|
|
4734
4550
|
this.tt = tt;
|
|
4735
4551
|
this.editableColumn = editableColumn;
|
|
4736
4552
|
}
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
switch (item.getType()) {
|
|
4740
|
-
case 'input':
|
|
4741
|
-
this.inputTemplate = item.template;
|
|
4742
|
-
break;
|
|
4743
|
-
case 'output':
|
|
4744
|
-
this.outputTemplate = item.template;
|
|
4745
|
-
break;
|
|
4746
|
-
}
|
|
4747
|
-
});
|
|
4748
|
-
}
|
|
4749
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TreeTableCellEditor, deps: [{ token: TreeTable }, { token: TTEditableColumn }], target: i0.ɵɵFactoryTarget.Component });
|
|
4750
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: TreeTableCellEditor, isStandalone: false, selector: "agl-treeTableCellEditor, agl-treetablecelleditor, agl-treetable-cell-editor", queries: [{ propertyName: "templates", predicate: AglTemplate }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
4553
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TreeTableCellEditor, deps: [{ token: TreeTable }, { token: TTEditableColumn }], target: i0.ɵɵFactoryTarget.Component });
|
|
4554
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.1", type: TreeTableCellEditor, isStandalone: false, selector: "agl-treeTableCellEditor, agl-treetablecelleditor, agl-treetable-cell-editor", queries: [{ propertyName: "inputTemplate", first: true, predicate: ["input"], descendants: true, isSignal: true }, { propertyName: "outputTemplate", first: true, predicate: ["output"], descendants: true, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
4751
4555
|
<ng-container *ngIf="tt.editingCell === editableColumn.el.nativeElement">
|
|
4752
|
-
<ng-container *ngTemplateOutlet="inputTemplate"></ng-container>
|
|
4556
|
+
<ng-container *ngTemplateOutlet="inputTemplate()"></ng-container>
|
|
4753
4557
|
</ng-container>
|
|
4754
4558
|
<ng-container *ngIf="!tt.editingCell || tt.editingCell !== editableColumn.el.nativeElement">
|
|
4755
|
-
<ng-container *ngTemplateOutlet="outputTemplate"></ng-container>
|
|
4559
|
+
<ng-container *ngTemplateOutlet="outputTemplate()"></ng-container>
|
|
4756
4560
|
</ng-container>
|
|
4757
4561
|
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.Eager, encapsulation: i0.ViewEncapsulation.None });
|
|
4758
4562
|
}
|
|
4759
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
4563
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TreeTableCellEditor, decorators: [{
|
|
4760
4564
|
type: Component,
|
|
4761
4565
|
args: [{
|
|
4762
4566
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
@@ -4764,19 +4568,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
4764
4568
|
standalone: false,
|
|
4765
4569
|
template: `
|
|
4766
4570
|
<ng-container *ngIf="tt.editingCell === editableColumn.el.nativeElement">
|
|
4767
|
-
<ng-container *ngTemplateOutlet="inputTemplate"></ng-container>
|
|
4571
|
+
<ng-container *ngTemplateOutlet="inputTemplate()"></ng-container>
|
|
4768
4572
|
</ng-container>
|
|
4769
4573
|
<ng-container *ngIf="!tt.editingCell || tt.editingCell !== editableColumn.el.nativeElement">
|
|
4770
|
-
<ng-container *ngTemplateOutlet="outputTemplate"></ng-container>
|
|
4574
|
+
<ng-container *ngTemplateOutlet="outputTemplate()"></ng-container>
|
|
4771
4575
|
</ng-container>
|
|
4772
4576
|
`,
|
|
4773
4577
|
encapsulation: ViewEncapsulation.None,
|
|
4774
4578
|
hostDirectives: [Bind]
|
|
4775
4579
|
}]
|
|
4776
|
-
}], ctorParameters: () => [{ type: TreeTable }, { type: TTEditableColumn }], propDecorators: {
|
|
4777
|
-
type: ContentChildren,
|
|
4778
|
-
args: [AglTemplate]
|
|
4779
|
-
}] } });
|
|
4580
|
+
}], ctorParameters: () => [{ type: TreeTable }, { type: TTEditableColumn }], propDecorators: { inputTemplate: [{ type: i0.ContentChild, args: ['input', { isSignal: true }] }], outputTemplate: [{ type: i0.ContentChild, args: ['output', { isSignal: true }] }] } });
|
|
4780
4581
|
class TTRow extends BaseComponent {
|
|
4781
4582
|
tt;
|
|
4782
4583
|
el;
|
|
@@ -4945,10 +4746,10 @@ class TTRow extends BaseComponent {
|
|
|
4945
4746
|
}
|
|
4946
4747
|
};
|
|
4947
4748
|
}
|
|
4948
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
4949
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
4749
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TTRow, deps: [{ token: TreeTable }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4750
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", type: TTRow, isStandalone: false, selector: "[ttRow]", inputs: { rowNode: ["ttRow", "rowNode"] }, host: { attributes: { "role": "row" }, listeners: { "keydown": "onKeyDown($event)" }, properties: { "class": "'p-element ' + styleClass", "tabindex": "'0'", "attr.aria-expanded": "expanded", "attr.aria-level": "level" } }, providers: [TreeTableStyle], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
|
|
4950
4751
|
}
|
|
4951
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
4752
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TTRow, decorators: [{
|
|
4952
4753
|
type: Directive,
|
|
4953
4754
|
args: [{
|
|
4954
4755
|
selector: '[ttRow]',
|
|
@@ -5004,8 +4805,8 @@ class TreeTableToggler extends BaseComponent {
|
|
|
5004
4805
|
this.tt.tableService.onUIUpdate(this.tt.value);
|
|
5005
4806
|
event.preventDefault();
|
|
5006
4807
|
}
|
|
5007
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
5008
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.
|
|
4808
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TreeTableToggler, deps: [{ token: TreeTable }], target: i0.ɵɵFactoryTarget.Component });
|
|
4809
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.1", type: TreeTableToggler, isStandalone: false, selector: "agl-treeTableToggler, agl-treetabletoggler, agl-treetable-toggler", inputs: { rowNode: "rowNode" }, providers: [TreeTableStyle], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
5009
4810
|
<button
|
|
5010
4811
|
type="button"
|
|
5011
4812
|
[class]="cx('toggler')"
|
|
@@ -5018,15 +4819,15 @@ class TreeTableToggler extends BaseComponent {
|
|
|
5018
4819
|
[attr.data-pc-group-section]="'rowactionbutton'"
|
|
5019
4820
|
[attr.aria-label]="toggleButtonAriaLabel"
|
|
5020
4821
|
>
|
|
5021
|
-
<ng-container *ngIf="!tt.
|
|
4822
|
+
<ng-container *ngIf="!tt._togglerIconTemplate()">
|
|
5022
4823
|
<svg data-p-icon="chevron-down" *ngIf="rowNode.node.expanded" [aglBind]="ptm('nodetoggleicon')" [attr.aria-hidden]="true" />
|
|
5023
4824
|
<svg data-p-icon="chevron-right" *ngIf="!rowNode.node.expanded" [aglBind]="ptm('nodetoggleicon')" [attr.aria-hidden]="true" />
|
|
5024
4825
|
</ng-container>
|
|
5025
|
-
<ng-template *ngTemplateOutlet="tt.
|
|
4826
|
+
<ng-template *ngTemplateOutlet="tt._togglerIconTemplate(); context: { $implicit: rowNode.node.expanded }"></ng-template>
|
|
5026
4827
|
</button>
|
|
5027
4828
|
`, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => i2.NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgTemplateOutlet), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i0.forwardRef(() => Ripple), selector: "[aglRipple]" }, { kind: "component", type: i0.forwardRef(() => ChevronDownIcon), selector: "[data-p-icon=\"chevron-down\"]" }, { kind: "component", type: i0.forwardRef(() => ChevronRightIcon), selector: "[data-p-icon=\"chevron-right\"]" }, { kind: "directive", type: i0.forwardRef(() => i1.Bind), selector: "[aglBind]", inputs: ["aglBind"] }], changeDetection: i0.ChangeDetectionStrategy.Eager, encapsulation: i0.ViewEncapsulation.None });
|
|
5028
4829
|
}
|
|
5029
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
4830
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TreeTableToggler, decorators: [{
|
|
5030
4831
|
type: Component,
|
|
5031
4832
|
args: [{
|
|
5032
4833
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
@@ -5045,11 +4846,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
5045
4846
|
[attr.data-pc-group-section]="'rowactionbutton'"
|
|
5046
4847
|
[attr.aria-label]="toggleButtonAriaLabel"
|
|
5047
4848
|
>
|
|
5048
|
-
<ng-container *ngIf="!tt.
|
|
4849
|
+
<ng-container *ngIf="!tt._togglerIconTemplate()">
|
|
5049
4850
|
<svg data-p-icon="chevron-down" *ngIf="rowNode.node.expanded" [aglBind]="ptm('nodetoggleicon')" [attr.aria-hidden]="true" />
|
|
5050
4851
|
<svg data-p-icon="chevron-right" *ngIf="!rowNode.node.expanded" [aglBind]="ptm('nodetoggleicon')" [attr.aria-hidden]="true" />
|
|
5051
4852
|
</ng-container>
|
|
5052
|
-
<ng-template *ngTemplateOutlet="tt.
|
|
4853
|
+
<ng-template *ngTemplateOutlet="tt._togglerIconTemplate(); context: { $implicit: rowNode.node.expanded }"></ng-template>
|
|
5053
4854
|
</button>
|
|
5054
4855
|
`,
|
|
5055
4856
|
encapsulation: ViewEncapsulation.None,
|
|
@@ -5060,8 +4861,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
5060
4861
|
type: Input
|
|
5061
4862
|
}] } });
|
|
5062
4863
|
class TreeTableModule {
|
|
5063
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
5064
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.
|
|
4864
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TreeTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4865
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.1", ngImport: i0, type: TreeTableModule, declarations: [TreeTable, TreeTableToggler, TTScrollableView, TTBody, TTSortableColumn, TTSortIcon, TTResizableColumn, TTRow, TTReorderableColumn, TTSelectableRow, TTSelectableRowDblClick, TTContextMenuRow, TTCheckbox, TTHeaderCheckbox, TTEditableColumn, TreeTableCellEditor], imports: [CommonModule,
|
|
5065
4866
|
PaginatorModule,
|
|
5066
4867
|
Ripple,
|
|
5067
4868
|
Scroller,
|
|
@@ -5079,7 +4880,7 @@ class TreeTableModule {
|
|
|
5079
4880
|
SharedModule,
|
|
5080
4881
|
FormsModule,
|
|
5081
4882
|
BindModule], exports: [TreeTable, SharedModule, TreeTableToggler, TTSortableColumn, TTSortIcon, TTResizableColumn, TTRow, TTReorderableColumn, TTSelectableRow, TTSelectableRowDblClick, TTContextMenuRow, TTCheckbox, TTHeaderCheckbox, TTEditableColumn, TreeTableCellEditor, Scroller] });
|
|
5082
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.
|
|
4883
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TreeTableModule, imports: [CommonModule,
|
|
5083
4884
|
PaginatorModule,
|
|
5084
4885
|
Scroller,
|
|
5085
4886
|
SpinnerIcon,
|
|
@@ -5097,7 +4898,7 @@ class TreeTableModule {
|
|
|
5097
4898
|
FormsModule,
|
|
5098
4899
|
BindModule, SharedModule] });
|
|
5099
4900
|
}
|
|
5100
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
4901
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TreeTableModule, decorators: [{
|
|
5101
4902
|
type: NgModule,
|
|
5102
4903
|
args: [{
|
|
5103
4904
|
imports: [
|