@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,25 +1,24 @@
|
|
|
1
1
|
export * from '@anguless/angulux/types/table';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { Injectable, InjectionToken, EventEmitter, inject, NgZone, numberAttribute, booleanAttribute,
|
|
3
|
+
import { Injectable, InjectionToken, EventEmitter, contentChild, inject, NgZone, numberAttribute, booleanAttribute, ViewChild, Output, Input, ViewEncapsulation, ChangeDetectionStrategy, Component, Directive, HostListener, Optional, input, computed, signal, ElementRef, NgModule } from '@angular/core';
|
|
4
4
|
import { style as style$1 } from '@anguless/angulux-styles/datatable';
|
|
5
5
|
import { BaseStyle } from '@anguless/angulux/base';
|
|
6
6
|
import * as i2 from '@angular/common';
|
|
7
7
|
import { isPlatformBrowser, CommonModule } from '@angular/common';
|
|
8
|
-
import * as
|
|
8
|
+
import * as i6 from '@angular/forms';
|
|
9
9
|
import { FormsModule } from '@angular/forms';
|
|
10
10
|
import { isClickable, setAttribute, getAttribute, find, findSingle, appendChild, addStyle, absolutePosition } from '@anguless/angulux-utils';
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import * as i6 from '@anguless/angulux/badge';
|
|
11
|
+
import { OverlayService, FilterService, FilterOperator, FilterMatchMode, TranslationKeys, SharedModule } from '@anguless/angulux/api';
|
|
12
|
+
import * as i5 from '@anguless/angulux/badge';
|
|
14
13
|
import { BadgeModule } from '@anguless/angulux/badge';
|
|
15
14
|
import { BaseComponent, PARENT_INSTANCE } from '@anguless/angulux/basecomponent';
|
|
16
15
|
import * as i1 from '@anguless/angulux/bind';
|
|
17
16
|
import { Bind, BindModule } from '@anguless/angulux/bind';
|
|
18
|
-
import * as
|
|
17
|
+
import * as i10 from '@anguless/angulux/button';
|
|
19
18
|
import { Button, ButtonModule } from '@anguless/angulux/button';
|
|
20
|
-
import * as
|
|
19
|
+
import * as i8 from '@anguless/angulux/checkbox';
|
|
21
20
|
import { CheckboxModule } from '@anguless/angulux/checkbox';
|
|
22
|
-
import * as
|
|
21
|
+
import * as i13 from '@anguless/angulux/datepicker';
|
|
23
22
|
import { DatePickerModule } from '@anguless/angulux/datepicker';
|
|
24
23
|
import { DomHandler, ConnectedOverlayScrollHandler } from '@anguless/angulux/dom';
|
|
25
24
|
import { ArrowDownIcon } from '@anguless/angulux/icons/arrowdown';
|
|
@@ -33,19 +32,19 @@ import { SortAmountDownIcon } from '@anguless/angulux/icons/sortamountdown';
|
|
|
33
32
|
import { SortAmountUpAltIcon } from '@anguless/angulux/icons/sortamountupalt';
|
|
34
33
|
import { SpinnerIcon } from '@anguless/angulux/icons/spinner';
|
|
35
34
|
import { TrashIcon } from '@anguless/angulux/icons/trash';
|
|
36
|
-
import * as
|
|
35
|
+
import * as i14 from '@anguless/angulux/inputnumber';
|
|
37
36
|
import { InputNumberModule } from '@anguless/angulux/inputnumber';
|
|
38
|
-
import * as
|
|
37
|
+
import * as i12 from '@anguless/angulux/inputtext';
|
|
39
38
|
import { InputTextModule } from '@anguless/angulux/inputtext';
|
|
40
|
-
import * as
|
|
39
|
+
import * as i11 from '@anguless/angulux/motion';
|
|
41
40
|
import { MotionModule } from '@anguless/angulux/motion';
|
|
42
41
|
import * as i3 from '@anguless/angulux/paginator';
|
|
43
42
|
import { PaginatorModule } from '@anguless/angulux/paginator';
|
|
44
|
-
import * as
|
|
43
|
+
import * as i7 from '@anguless/angulux/radiobutton';
|
|
45
44
|
import { RadioButtonModule } from '@anguless/angulux/radiobutton';
|
|
46
|
-
import * as
|
|
45
|
+
import * as i4 from '@anguless/angulux/scroller';
|
|
47
46
|
import { ScrollerModule } from '@anguless/angulux/scroller';
|
|
48
|
-
import * as
|
|
47
|
+
import * as i9 from '@anguless/angulux/select';
|
|
49
48
|
import { SelectModule } from '@anguless/angulux/select';
|
|
50
49
|
import { SelectButtonModule } from '@anguless/angulux/selectbutton';
|
|
51
50
|
import { UniqueComponentId, ObjectUtils, ZIndexUtils } from '@anguless/angulux/utils';
|
|
@@ -291,10 +290,10 @@ class TableStyle extends BaseStyle {
|
|
|
291
290
|
style = style;
|
|
292
291
|
classes = classes;
|
|
293
292
|
inlineStyles = inlineStyles;
|
|
294
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
295
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
293
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TableStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
294
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TableStyle });
|
|
296
295
|
}
|
|
297
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
296
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TableStyle, decorators: [{
|
|
298
297
|
type: Injectable
|
|
299
298
|
}] });
|
|
300
299
|
/**
|
|
@@ -559,10 +558,10 @@ class TableService {
|
|
|
559
558
|
onColumnsChange(columns) {
|
|
560
559
|
this.columnsSource.next(columns);
|
|
561
560
|
}
|
|
562
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
563
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.
|
|
561
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TableService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
562
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TableService });
|
|
564
563
|
}
|
|
565
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
564
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TableService, decorators: [{
|
|
566
565
|
type: Injectable
|
|
567
566
|
}] });
|
|
568
567
|
/**
|
|
@@ -1185,78 +1184,41 @@ class Table extends BaseComponent {
|
|
|
1185
1184
|
tableHeaderViewChild;
|
|
1186
1185
|
tableFooterViewChild;
|
|
1187
1186
|
scroller;
|
|
1188
|
-
_templates;
|
|
1189
1187
|
_value = [];
|
|
1190
1188
|
_columns;
|
|
1191
1189
|
_totalRecords = 0;
|
|
1192
1190
|
_first = 0;
|
|
1193
1191
|
_rows;
|
|
1194
1192
|
filteredValue;
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
_frozenBodyTemplate;
|
|
1225
|
-
frozenBodyTemplate;
|
|
1226
|
-
_frozenFooterTemplate;
|
|
1227
|
-
frozenFooterTemplate;
|
|
1228
|
-
_frozenColGroupTemplate;
|
|
1229
|
-
frozenColGroupTemplate;
|
|
1230
|
-
_emptyMessageTemplate;
|
|
1231
|
-
emptyMessageTemplate;
|
|
1232
|
-
_paginatorLeftTemplate;
|
|
1233
|
-
paginatorLeftTemplate;
|
|
1234
|
-
_paginatorRightTemplate;
|
|
1235
|
-
paginatorRightTemplate;
|
|
1236
|
-
_paginatorDropdownItemTemplate;
|
|
1237
|
-
paginatorDropdownItemTemplate;
|
|
1238
|
-
_loadingIconTemplate;
|
|
1239
|
-
loadingIconTemplate;
|
|
1240
|
-
_reorderIndicatorUpIconTemplate;
|
|
1241
|
-
reorderIndicatorUpIconTemplate;
|
|
1242
|
-
_reorderIndicatorDownIconTemplate;
|
|
1243
|
-
reorderIndicatorDownIconTemplate;
|
|
1244
|
-
_sortIconTemplate;
|
|
1245
|
-
sortIconTemplate;
|
|
1246
|
-
_checkboxIconTemplate;
|
|
1247
|
-
checkboxIconTemplate;
|
|
1248
|
-
_headerCheckboxIconTemplate;
|
|
1249
|
-
headerCheckboxIconTemplate;
|
|
1250
|
-
_paginatorDropdownIconTemplate;
|
|
1251
|
-
paginatorDropdownIconTemplate;
|
|
1252
|
-
_paginatorFirstPageLinkIconTemplate;
|
|
1253
|
-
paginatorFirstPageLinkIconTemplate;
|
|
1254
|
-
_paginatorLastPageLinkIconTemplate;
|
|
1255
|
-
paginatorLastPageLinkIconTemplate;
|
|
1256
|
-
_paginatorPreviousPageLinkIconTemplate;
|
|
1257
|
-
paginatorPreviousPageLinkIconTemplate;
|
|
1258
|
-
_paginatorNextPageLinkIconTemplate;
|
|
1259
|
-
paginatorNextPageLinkIconTemplate;
|
|
1193
|
+
_headerTemplate = contentChild('header', { ...(ngDevMode ? { debugName: "_headerTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1194
|
+
_headerGroupedTemplate = contentChild('headergrouped', { ...(ngDevMode ? { debugName: "_headerGroupedTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1195
|
+
_bodyTemplate = contentChild('body', { ...(ngDevMode ? { debugName: "_bodyTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1196
|
+
_loadingBodyTemplate = contentChild('loadingbody', { ...(ngDevMode ? { debugName: "_loadingBodyTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1197
|
+
_captionTemplate = contentChild('caption', { ...(ngDevMode ? { debugName: "_captionTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1198
|
+
_footerTemplate = contentChild('footer', { ...(ngDevMode ? { debugName: "_footerTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1199
|
+
_footerGroupedTemplate = contentChild('footergrouped', { ...(ngDevMode ? { debugName: "_footerGroupedTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1200
|
+
_summaryTemplate = contentChild('summary', { ...(ngDevMode ? { debugName: "_summaryTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1201
|
+
_colGroupTemplate = contentChild('colgroup', { ...(ngDevMode ? { debugName: "_colGroupTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1202
|
+
_expandedRowTemplate = contentChild('expandedrow', { ...(ngDevMode ? { debugName: "_expandedRowTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1203
|
+
_groupHeaderTemplate = contentChild('groupheader', { ...(ngDevMode ? { debugName: "_groupHeaderTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1204
|
+
_groupFooterTemplate = contentChild('groupfooter', { ...(ngDevMode ? { debugName: "_groupFooterTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1205
|
+
_frozenExpandedRowTemplate = contentChild('frozenexpandedrow', { ...(ngDevMode ? { debugName: "_frozenExpandedRowTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1206
|
+
_frozenBodyTemplate = contentChild('frozenbody', { ...(ngDevMode ? { debugName: "_frozenBodyTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1207
|
+
_emptyMessageTemplate = contentChild('emptymessage', { ...(ngDevMode ? { debugName: "_emptyMessageTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1208
|
+
_paginatorLeftTemplate = contentChild('paginatorleft', { ...(ngDevMode ? { debugName: "_paginatorLeftTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1209
|
+
_paginatorRightTemplate = contentChild('paginatorright', { ...(ngDevMode ? { debugName: "_paginatorRightTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1210
|
+
_paginatorDropdownItemTemplate = contentChild('paginatordropdownitem', { ...(ngDevMode ? { debugName: "_paginatorDropdownItemTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1211
|
+
_loadingIconTemplate = contentChild('loadingicon', { ...(ngDevMode ? { debugName: "_loadingIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1212
|
+
_reorderIndicatorUpIconTemplate = contentChild('reorderindicatorupicon', { ...(ngDevMode ? { debugName: "_reorderIndicatorUpIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1213
|
+
_reorderIndicatorDownIconTemplate = contentChild('reorderindicatordownicon', { ...(ngDevMode ? { debugName: "_reorderIndicatorDownIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1214
|
+
_sortIconTemplate = contentChild('sorticon', { ...(ngDevMode ? { debugName: "_sortIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1215
|
+
_checkboxIconTemplate = contentChild('checkboxicon', { ...(ngDevMode ? { debugName: "_checkboxIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1216
|
+
_headerCheckboxIconTemplate = contentChild('headercheckboxicon', { ...(ngDevMode ? { debugName: "_headerCheckboxIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1217
|
+
_paginatorDropdownIconTemplate = contentChild('paginatordropdownicon', { ...(ngDevMode ? { debugName: "_paginatorDropdownIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1218
|
+
_paginatorFirstPageLinkIconTemplate = contentChild('paginatorfirstpagelinkicon', { ...(ngDevMode ? { debugName: "_paginatorFirstPageLinkIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1219
|
+
_paginatorLastPageLinkIconTemplate = contentChild('paginatorlastpagelinkicon', { ...(ngDevMode ? { debugName: "_paginatorLastPageLinkIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1220
|
+
_paginatorPreviousPageLinkIconTemplate = contentChild('paginatorpreviouspagelinkicon', { ...(ngDevMode ? { debugName: "_paginatorPreviousPageLinkIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1221
|
+
_paginatorNextPageLinkIconTemplate = contentChild('paginatornextpagelinkicon', { ...(ngDevMode ? { debugName: "_paginatorNextPageLinkIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
1260
1222
|
selectionKeys = {};
|
|
1261
1223
|
lastResizerHelperX;
|
|
1262
1224
|
reorderIconWidth;
|
|
@@ -1319,108 +1281,6 @@ class Table extends BaseComponent {
|
|
|
1319
1281
|
}
|
|
1320
1282
|
this.initialized = true;
|
|
1321
1283
|
}
|
|
1322
|
-
onAfterContentInit() {
|
|
1323
|
-
this._templates.forEach((item) => {
|
|
1324
|
-
switch (item.getType()) {
|
|
1325
|
-
case 'caption':
|
|
1326
|
-
this.captionTemplate = item.template;
|
|
1327
|
-
break;
|
|
1328
|
-
case 'header':
|
|
1329
|
-
this.headerTemplate = item.template;
|
|
1330
|
-
break;
|
|
1331
|
-
case 'headergrouped':
|
|
1332
|
-
this.headerGroupedTemplate = item.template;
|
|
1333
|
-
break;
|
|
1334
|
-
case 'body':
|
|
1335
|
-
this.bodyTemplate = item.template;
|
|
1336
|
-
break;
|
|
1337
|
-
case 'loadingbody':
|
|
1338
|
-
this.loadingBodyTemplate = item.template;
|
|
1339
|
-
break;
|
|
1340
|
-
case 'footer':
|
|
1341
|
-
this.footerTemplate = item.template;
|
|
1342
|
-
break;
|
|
1343
|
-
case 'footergrouped':
|
|
1344
|
-
this.footerGroupedTemplate = item.template;
|
|
1345
|
-
break;
|
|
1346
|
-
case 'summary':
|
|
1347
|
-
this.summaryTemplate = item.template;
|
|
1348
|
-
break;
|
|
1349
|
-
case 'colgroup':
|
|
1350
|
-
this.colGroupTemplate = item.template;
|
|
1351
|
-
break;
|
|
1352
|
-
case 'expandedrow':
|
|
1353
|
-
this.expandedRowTemplate = item.template;
|
|
1354
|
-
break;
|
|
1355
|
-
case 'groupheader':
|
|
1356
|
-
this.groupHeaderTemplate = item.template;
|
|
1357
|
-
break;
|
|
1358
|
-
case 'groupfooter':
|
|
1359
|
-
this.groupFooterTemplate = item.template;
|
|
1360
|
-
break;
|
|
1361
|
-
case 'frozenheader':
|
|
1362
|
-
this.frozenHeaderTemplate = item.template;
|
|
1363
|
-
break;
|
|
1364
|
-
case 'frozenbody':
|
|
1365
|
-
this.frozenBodyTemplate = item.template;
|
|
1366
|
-
break;
|
|
1367
|
-
case 'frozenfooter':
|
|
1368
|
-
this.frozenFooterTemplate = item.template;
|
|
1369
|
-
break;
|
|
1370
|
-
case 'frozencolgroup':
|
|
1371
|
-
this.frozenColGroupTemplate = item.template;
|
|
1372
|
-
break;
|
|
1373
|
-
case 'frozenexpandedrow':
|
|
1374
|
-
this.frozenExpandedRowTemplate = item.template;
|
|
1375
|
-
break;
|
|
1376
|
-
case 'emptymessage':
|
|
1377
|
-
this.emptyMessageTemplate = item.template;
|
|
1378
|
-
break;
|
|
1379
|
-
case 'paginatorleft':
|
|
1380
|
-
this.paginatorLeftTemplate = item.template;
|
|
1381
|
-
break;
|
|
1382
|
-
case 'paginatorright':
|
|
1383
|
-
this.paginatorRightTemplate = item.template;
|
|
1384
|
-
break;
|
|
1385
|
-
case 'paginatordropdownicon':
|
|
1386
|
-
this.paginatorDropdownIconTemplate = item.template;
|
|
1387
|
-
break;
|
|
1388
|
-
case 'paginatordropdownitem':
|
|
1389
|
-
this.paginatorDropdownItemTemplate = item.template;
|
|
1390
|
-
break;
|
|
1391
|
-
case 'paginatorfirstpagelinkicon':
|
|
1392
|
-
this.paginatorFirstPageLinkIconTemplate = item.template;
|
|
1393
|
-
break;
|
|
1394
|
-
case 'paginatorlastpagelinkicon':
|
|
1395
|
-
this.paginatorLastPageLinkIconTemplate = item.template;
|
|
1396
|
-
break;
|
|
1397
|
-
case 'paginatorpreviouspagelinkicon':
|
|
1398
|
-
this.paginatorPreviousPageLinkIconTemplate = item.template;
|
|
1399
|
-
break;
|
|
1400
|
-
case 'paginatornextpagelinkicon':
|
|
1401
|
-
this.paginatorNextPageLinkIconTemplate = item.template;
|
|
1402
|
-
break;
|
|
1403
|
-
case 'loadingicon':
|
|
1404
|
-
this.loadingIconTemplate = item.template;
|
|
1405
|
-
break;
|
|
1406
|
-
case 'reorderindicatorupicon':
|
|
1407
|
-
this.reorderIndicatorUpIconTemplate = item.template;
|
|
1408
|
-
break;
|
|
1409
|
-
case 'reorderindicatordownicon':
|
|
1410
|
-
this.reorderIndicatorDownIconTemplate = item.template;
|
|
1411
|
-
break;
|
|
1412
|
-
case 'sorticon':
|
|
1413
|
-
this.sortIconTemplate = item.template;
|
|
1414
|
-
break;
|
|
1415
|
-
case 'checkboxicon':
|
|
1416
|
-
this.checkboxIconTemplate = item.template;
|
|
1417
|
-
break;
|
|
1418
|
-
case 'headercheckboxicon':
|
|
1419
|
-
this.headerCheckboxIconTemplate = item.template;
|
|
1420
|
-
break;
|
|
1421
|
-
}
|
|
1422
|
-
});
|
|
1423
|
-
}
|
|
1424
1284
|
onAfterViewInit() {
|
|
1425
1285
|
if (isPlatformBrowser(this.platformId)) {
|
|
1426
1286
|
if (this.isStateful() && this.resizableColumns) {
|
|
@@ -3069,19 +2929,19 @@ class Table extends BaseComponent {
|
|
|
3069
2929
|
empty: this.isEmpty()
|
|
3070
2930
|
});
|
|
3071
2931
|
}
|
|
3072
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
3073
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2932
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: Table, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2933
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.1", type: Table, isStandalone: false, selector: "agl-table", inputs: { frozenColumns: "frozenColumns", frozenValue: "frozenValue", styleClass: "styleClass", tableStyle: "tableStyle", tableStyleClass: "tableStyleClass", paginator: ["paginator", "paginator", booleanAttribute], pageLinks: ["pageLinks", "pageLinks", numberAttribute], rowsPerPageOptions: "rowsPerPageOptions", alwaysShowPaginator: ["alwaysShowPaginator", "alwaysShowPaginator", booleanAttribute], paginatorPosition: "paginatorPosition", paginatorStyleClass: "paginatorStyleClass", paginatorDropdownAppendTo: "paginatorDropdownAppendTo", paginatorDropdownScrollHeight: "paginatorDropdownScrollHeight", currentPageReportTemplate: "currentPageReportTemplate", showCurrentPageReport: ["showCurrentPageReport", "showCurrentPageReport", booleanAttribute], showJumpToPageDropdown: ["showJumpToPageDropdown", "showJumpToPageDropdown", booleanAttribute], showJumpToPageInput: ["showJumpToPageInput", "showJumpToPageInput", booleanAttribute], showFirstLastIcon: ["showFirstLastIcon", "showFirstLastIcon", booleanAttribute], showPageLinks: ["showPageLinks", "showPageLinks", booleanAttribute], defaultSortOrder: ["defaultSortOrder", "defaultSortOrder", numberAttribute], sortMode: "sortMode", resetPageOnSort: ["resetPageOnSort", "resetPageOnSort", booleanAttribute], selectionMode: "selectionMode", selectionPageOnly: ["selectionPageOnly", "selectionPageOnly", booleanAttribute], contextMenuSelection: "contextMenuSelection", contextMenuSelectionMode: "contextMenuSelectionMode", dataKey: "dataKey", metaKeySelection: ["metaKeySelection", "metaKeySelection", booleanAttribute], rowSelectable: "rowSelectable", rowTrackBy: "rowTrackBy", lazy: ["lazy", "lazy", booleanAttribute], lazyLoadOnInit: ["lazyLoadOnInit", "lazyLoadOnInit", booleanAttribute], compareSelectionBy: "compareSelectionBy", csvSeparator: "csvSeparator", exportFilename: "exportFilename", filters: "filters", globalFilterFields: "globalFilterFields", filterDelay: ["filterDelay", "filterDelay", numberAttribute], filterLocale: "filterLocale", expandedRowKeys: "expandedRowKeys", editingRowKeys: "editingRowKeys", rowExpandMode: "rowExpandMode", scrollable: ["scrollable", "scrollable", booleanAttribute], rowGroupMode: "rowGroupMode", scrollHeight: "scrollHeight", virtualScroll: ["virtualScroll", "virtualScroll", booleanAttribute], virtualScrollItemSize: ["virtualScrollItemSize", "virtualScrollItemSize", numberAttribute], virtualScrollOptions: "virtualScrollOptions", virtualScrollDelay: ["virtualScrollDelay", "virtualScrollDelay", numberAttribute], frozenWidth: "frozenWidth", contextMenu: "contextMenu", resizableColumns: ["resizableColumns", "resizableColumns", booleanAttribute], columnResizeMode: "columnResizeMode", reorderableColumns: ["reorderableColumns", "reorderableColumns", booleanAttribute], loading: ["loading", "loading", booleanAttribute], loadingIcon: "loadingIcon", showLoader: ["showLoader", "showLoader", booleanAttribute], rowHover: ["rowHover", "rowHover", booleanAttribute], customSort: ["customSort", "customSort", booleanAttribute], showInitialSortBadge: ["showInitialSortBadge", "showInitialSortBadge", booleanAttribute], exportFunction: "exportFunction", exportHeader: "exportHeader", stateKey: "stateKey", stateStorage: "stateStorage", editMode: "editMode", groupRowsBy: "groupRowsBy", size: "size", showGridlines: ["showGridlines", "showGridlines", booleanAttribute], stripedRows: ["stripedRows", "stripedRows", booleanAttribute], groupRowsByOrder: ["groupRowsByOrder", "groupRowsByOrder", numberAttribute], responsiveLayout: "responsiveLayout", breakpoint: "breakpoint", paginatorLocale: "paginatorLocale", value: "value", columns: "columns", first: "first", rows: "rows", totalRecords: "totalRecords", sortField: "sortField", sortOrder: "sortOrder", multiSortMeta: "multiSortMeta", selection: "selection", selectAll: "selectAll" }, outputs: { contextMenuSelectionChange: "contextMenuSelectionChange", selectAllChange: "selectAllChange", selectionChange: "selectionChange", onRowSelect: "onRowSelect", onRowUnselect: "onRowUnselect", onPage: "onPage", onSort: "onSort", onFilter: "onFilter", onLazyLoad: "onLazyLoad", onRowExpand: "onRowExpand", onRowCollapse: "onRowCollapse", onContextMenuSelect: "onContextMenuSelect", onColResize: "onColResize", onColReorder: "onColReorder", onRowReorder: "onRowReorder", onEditInit: "onEditInit", onEditComplete: "onEditComplete", onEditCancel: "onEditCancel", onHeaderCheckboxToggle: "onHeaderCheckboxToggle", sortFunction: "sortFunction", firstChange: "firstChange", rowsChange: "rowsChange", onStateSave: "onStateSave", onStateRestore: "onStateRestore" }, host: { properties: { "class": "cn(cx('root'), styleClass)", "attr.data-p": "dataP" } }, providers: [TableService, TableStyle, { provide: TABLE_INSTANCE, useExisting: Table }, { provide: PARENT_INSTANCE, useExisting: Table }], queries: [{ propertyName: "_headerTemplate", first: true, predicate: ["header"], isSignal: true }, { propertyName: "_headerGroupedTemplate", first: true, predicate: ["headergrouped"], isSignal: true }, { propertyName: "_bodyTemplate", first: true, predicate: ["body"], isSignal: true }, { propertyName: "_loadingBodyTemplate", first: true, predicate: ["loadingbody"], isSignal: true }, { propertyName: "_captionTemplate", first: true, predicate: ["caption"], isSignal: true }, { propertyName: "_footerTemplate", first: true, predicate: ["footer"], isSignal: true }, { propertyName: "_footerGroupedTemplate", first: true, predicate: ["footergrouped"], isSignal: true }, { propertyName: "_summaryTemplate", first: true, predicate: ["summary"], isSignal: true }, { propertyName: "_colGroupTemplate", first: true, predicate: ["colgroup"], isSignal: true }, { propertyName: "_expandedRowTemplate", first: true, predicate: ["expandedrow"], isSignal: true }, { propertyName: "_groupHeaderTemplate", first: true, predicate: ["groupheader"], isSignal: true }, { propertyName: "_groupFooterTemplate", first: true, predicate: ["groupfooter"], isSignal: true }, { propertyName: "_frozenExpandedRowTemplate", first: true, predicate: ["frozenexpandedrow"], isSignal: true }, { propertyName: "_frozenBodyTemplate", first: true, predicate: ["frozenbody"], 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: "_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: "_paginatorDropdownIconTemplate", first: true, predicate: ["paginatordropdownicon"], 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 }], 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: "wrapperViewChild", first: true, predicate: ["wrapper"], descendants: true }, { propertyName: "tableViewChild", first: true, predicate: ["table"], descendants: true }, { propertyName: "tableHeaderViewChild", first: true, predicate: ["thead"], descendants: true }, { propertyName: "tableFooterViewChild", first: true, predicate: ["tfoot"], descendants: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
3074
2934
|
<div [class]="cx('mask')" [aglBind]="ptm('mask')" *ngIf="loading && showLoader" animate.enter="p-overlay-mask-enter-active" animate.leave="p-overlay-mask-leave-active">
|
|
3075
2935
|
<i *ngIf="loadingIcon" [class]="cn(cx('loadingIcon'), loadingIcon)" [aglBind]="ptm('loadingIcon')"></i>
|
|
3076
2936
|
<ng-container *ngIf="!loadingIcon">
|
|
3077
|
-
<svg data-p-icon="spinner" *ngIf="!
|
|
3078
|
-
<span *ngIf="
|
|
3079
|
-
<ng-template *ngTemplateOutlet="
|
|
2937
|
+
<svg data-p-icon="spinner" *ngIf="!_loadingIconTemplate()" [spin]="true" [class]="cx('loadingIcon')" [aglBind]="ptm('loadingIcon')" />
|
|
2938
|
+
<span *ngIf="_loadingIconTemplate()" [class]="cx('loadingIcon')" [aglBind]="ptm('loadingIcon')">
|
|
2939
|
+
<ng-template *ngTemplateOutlet="_loadingIconTemplate()"></ng-template>
|
|
3080
2940
|
</span>
|
|
3081
2941
|
</ng-container>
|
|
3082
2942
|
</div>
|
|
3083
|
-
<div *ngIf="
|
|
3084
|
-
<ng-container *ngTemplateOutlet="
|
|
2943
|
+
<div *ngIf="_captionTemplate()" [class]="cx('header')" [aglBind]="ptm('header')">
|
|
2944
|
+
<ng-container *ngTemplateOutlet="_captionTemplate()"></ng-container>
|
|
3085
2945
|
</div>
|
|
3086
2946
|
<agl-paginator
|
|
3087
2947
|
[rows]="rows"
|
|
@@ -3092,13 +2952,13 @@ class Table extends BaseComponent {
|
|
|
3092
2952
|
(onPageChange)="onPageChange($event)"
|
|
3093
2953
|
[rowsPerPageOptions]="rowsPerPageOptions"
|
|
3094
2954
|
*ngIf="paginator && (paginatorPosition === 'top' || paginatorPosition == 'both')"
|
|
3095
|
-
[templateLeft]="
|
|
3096
|
-
[templateRight]="
|
|
2955
|
+
[templateLeft]="_paginatorLeftTemplate()"
|
|
2956
|
+
[templateRight]="_paginatorRightTemplate()"
|
|
3097
2957
|
[appendTo]="paginatorDropdownAppendTo"
|
|
3098
2958
|
[dropdownScrollHeight]="paginatorDropdownScrollHeight"
|
|
3099
2959
|
[currentPageReportTemplate]="currentPageReportTemplate"
|
|
3100
2960
|
[showFirstLastIcon]="showFirstLastIcon"
|
|
3101
|
-
[dropdownItemTemplate]="
|
|
2961
|
+
[dropdownItemTemplate]="_paginatorDropdownItemTemplate()"
|
|
3102
2962
|
[showCurrentPageReport]="showCurrentPageReport"
|
|
3103
2963
|
[showJumpToPageDropdown]="showJumpToPageDropdown"
|
|
3104
2964
|
[showJumpToPageInput]="showJumpToPageInput"
|
|
@@ -3108,24 +2968,24 @@ class Table extends BaseComponent {
|
|
|
3108
2968
|
[pt]="ptm('pcPaginator')"
|
|
3109
2969
|
[unstyled]="unstyled()"
|
|
3110
2970
|
>
|
|
3111
|
-
<ng-template
|
|
3112
|
-
<ng-container *ngTemplateOutlet="
|
|
2971
|
+
<ng-template #dropdownicon *ngIf="_paginatorDropdownIconTemplate()">
|
|
2972
|
+
<ng-container *ngTemplateOutlet="_paginatorDropdownIconTemplate()"></ng-container>
|
|
3113
2973
|
</ng-template>
|
|
3114
2974
|
|
|
3115
|
-
<ng-template
|
|
3116
|
-
<ng-container *ngTemplateOutlet="
|
|
2975
|
+
<ng-template #firstpagelinkicon *ngIf="_paginatorFirstPageLinkIconTemplate()">
|
|
2976
|
+
<ng-container *ngTemplateOutlet="_paginatorFirstPageLinkIconTemplate()"></ng-container>
|
|
3117
2977
|
</ng-template>
|
|
3118
2978
|
|
|
3119
|
-
<ng-template
|
|
3120
|
-
<ng-container *ngTemplateOutlet="
|
|
2979
|
+
<ng-template #previouspagelinkicon *ngIf="_paginatorPreviousPageLinkIconTemplate()">
|
|
2980
|
+
<ng-container *ngTemplateOutlet="_paginatorPreviousPageLinkIconTemplate()"></ng-container>
|
|
3121
2981
|
</ng-template>
|
|
3122
2982
|
|
|
3123
|
-
<ng-template
|
|
3124
|
-
<ng-container *ngTemplateOutlet="
|
|
2983
|
+
<ng-template #lastpagelinkicon *ngIf="_paginatorLastPageLinkIconTemplate()">
|
|
2984
|
+
<ng-container *ngTemplateOutlet="_paginatorLastPageLinkIconTemplate()"></ng-container>
|
|
3125
2985
|
</ng-template>
|
|
3126
2986
|
|
|
3127
|
-
<ng-template
|
|
3128
|
-
<ng-container *ngTemplateOutlet="
|
|
2987
|
+
<ng-template #nextpagelinkicon *ngIf="_paginatorNextPageLinkIconTemplate()">
|
|
2988
|
+
<ng-container *ngTemplateOutlet="_paginatorNextPageLinkIconTemplate()"></ng-container>
|
|
3129
2989
|
</ng-template>
|
|
3130
2990
|
</agl-paginator>
|
|
3131
2991
|
|
|
@@ -3148,7 +3008,7 @@ class Table extends BaseComponent {
|
|
|
3148
3008
|
(onLazyLoad)="onLazyItemLoad($event)"
|
|
3149
3009
|
[loaderDisabled]="true"
|
|
3150
3010
|
[showSpacer]="false"
|
|
3151
|
-
[showLoader]="
|
|
3011
|
+
[showLoader]="_loadingBodyTemplate()"
|
|
3152
3012
|
[options]="virtualScrollOptions"
|
|
3153
3013
|
[pt]="ptm('virtualScroller')"
|
|
3154
3014
|
>
|
|
@@ -3178,11 +3038,11 @@ class Table extends BaseComponent {
|
|
|
3178
3038
|
|
|
3179
3039
|
<ng-template #buildInTable let-items let-scrollerOptions="options">
|
|
3180
3040
|
<table #table role="table" [class]="cn(cx('table'), tableStyleClass)" [aglBind]="ptm('table')" [style]="tableStyle" [attr.id]="id + '-table'">
|
|
3181
|
-
<ng-container *ngTemplateOutlet="
|
|
3041
|
+
<ng-container *ngTemplateOutlet="_colGroupTemplate(); context: { $implicit: scrollerOptions.columns }"></ng-container>
|
|
3182
3042
|
<thead role="rowgroup" #thead [class]="cx('thead')" [ngStyle]="sx('thead')" [aglBind]="ptm('thead')">
|
|
3183
3043
|
<ng-container
|
|
3184
3044
|
*ngTemplateOutlet="
|
|
3185
|
-
|
|
3045
|
+
_headerGroupedTemplate() || _headerTemplate();
|
|
3186
3046
|
context: {
|
|
3187
3047
|
$implicit: scrollerOptions.columns
|
|
3188
3048
|
}
|
|
@@ -3193,11 +3053,11 @@ class Table extends BaseComponent {
|
|
|
3193
3053
|
role="rowgroup"
|
|
3194
3054
|
[class]="cx('tbody')"
|
|
3195
3055
|
[aglBind]="ptm('tbody')"
|
|
3196
|
-
*ngIf="frozenValue ||
|
|
3056
|
+
*ngIf="frozenValue || _frozenBodyTemplate()"
|
|
3197
3057
|
[value]="frozenValue"
|
|
3198
3058
|
[frozenRows]="true"
|
|
3199
3059
|
[aglTableBody]="scrollerOptions.columns"
|
|
3200
|
-
[aglTableBodyTemplate]="
|
|
3060
|
+
[aglTableBodyTemplate]="_frozenBodyTemplate()"
|
|
3201
3061
|
[unstyled]="unstyled()"
|
|
3202
3062
|
[frozen]="true"
|
|
3203
3063
|
[attr.data-p-virtualscroll]="virtualScroll"
|
|
@@ -3209,7 +3069,7 @@ class Table extends BaseComponent {
|
|
|
3209
3069
|
[style]="scrollerOptions.contentStyle"
|
|
3210
3070
|
[value]="dataToRender(scrollerOptions.rows)"
|
|
3211
3071
|
[aglTableBody]="scrollerOptions.columns"
|
|
3212
|
-
[aglTableBodyTemplate]="
|
|
3072
|
+
[aglTableBodyTemplate]="_bodyTemplate()"
|
|
3213
3073
|
[scrollerOptions]="scrollerOptions"
|
|
3214
3074
|
[unstyled]="unstyled()"
|
|
3215
3075
|
[attr.data-p-virtualscroll]="virtualScroll"
|
|
@@ -3221,10 +3081,10 @@ class Table extends BaseComponent {
|
|
|
3221
3081
|
[class]="cx('virtualScrollerSpacer')"
|
|
3222
3082
|
[aglBind]="ptm('virtualScrollerSpacer')"
|
|
3223
3083
|
></tbody>
|
|
3224
|
-
<tfoot role="rowgroup" *ngIf="
|
|
3084
|
+
<tfoot role="rowgroup" *ngIf="_footerGroupedTemplate() || _footerTemplate()" #tfoot [ngClass]="cx('footer')" [ngStyle]="sx('tfoot')" [aglBind]="ptm('tfoot')">
|
|
3225
3085
|
<ng-container
|
|
3226
3086
|
*ngTemplateOutlet="
|
|
3227
|
-
|
|
3087
|
+
_footerGroupedTemplate() || _footerTemplate();
|
|
3228
3088
|
context: {
|
|
3229
3089
|
$implicit: scrollerOptions.columns
|
|
3230
3090
|
}
|
|
@@ -3244,13 +3104,13 @@ class Table extends BaseComponent {
|
|
|
3244
3104
|
(onPageChange)="onPageChange($event)"
|
|
3245
3105
|
[rowsPerPageOptions]="rowsPerPageOptions"
|
|
3246
3106
|
*ngIf="paginator && (paginatorPosition === 'bottom' || paginatorPosition == 'both')"
|
|
3247
|
-
[templateLeft]="
|
|
3248
|
-
[templateRight]="
|
|
3107
|
+
[templateLeft]="_paginatorLeftTemplate()"
|
|
3108
|
+
[templateRight]="_paginatorRightTemplate()"
|
|
3249
3109
|
[appendTo]="paginatorDropdownAppendTo"
|
|
3250
3110
|
[dropdownScrollHeight]="paginatorDropdownScrollHeight"
|
|
3251
3111
|
[currentPageReportTemplate]="currentPageReportTemplate"
|
|
3252
3112
|
[showFirstLastIcon]="showFirstLastIcon"
|
|
3253
|
-
[dropdownItemTemplate]="
|
|
3113
|
+
[dropdownItemTemplate]="_paginatorDropdownItemTemplate()"
|
|
3254
3114
|
[showCurrentPageReport]="showCurrentPageReport"
|
|
3255
3115
|
[showJumpToPageDropdown]="showJumpToPageDropdown"
|
|
3256
3116
|
[showJumpToPageInput]="showJumpToPageInput"
|
|
@@ -3260,43 +3120,43 @@ class Table extends BaseComponent {
|
|
|
3260
3120
|
[pt]="ptm('pcPaginator')"
|
|
3261
3121
|
[unstyled]="unstyled()"
|
|
3262
3122
|
>
|
|
3263
|
-
<ng-template
|
|
3264
|
-
<ng-container *ngTemplateOutlet="
|
|
3123
|
+
<ng-template #dropdownicon *ngIf="_paginatorDropdownIconTemplate()">
|
|
3124
|
+
<ng-container *ngTemplateOutlet="_paginatorDropdownIconTemplate()"></ng-container>
|
|
3265
3125
|
</ng-template>
|
|
3266
3126
|
|
|
3267
|
-
<ng-template
|
|
3268
|
-
<ng-container *ngTemplateOutlet="
|
|
3127
|
+
<ng-template #firstpagelinkicon *ngIf="_paginatorFirstPageLinkIconTemplate()">
|
|
3128
|
+
<ng-container *ngTemplateOutlet="_paginatorFirstPageLinkIconTemplate()"></ng-container>
|
|
3269
3129
|
</ng-template>
|
|
3270
3130
|
|
|
3271
|
-
<ng-template
|
|
3272
|
-
<ng-container *ngTemplateOutlet="
|
|
3131
|
+
<ng-template #previouspagelinkicon *ngIf="_paginatorPreviousPageLinkIconTemplate()">
|
|
3132
|
+
<ng-container *ngTemplateOutlet="_paginatorPreviousPageLinkIconTemplate()"></ng-container>
|
|
3273
3133
|
</ng-template>
|
|
3274
3134
|
|
|
3275
|
-
<ng-template
|
|
3276
|
-
<ng-container *ngTemplateOutlet="
|
|
3135
|
+
<ng-template #lastpagelinkicon *ngIf="_paginatorLastPageLinkIconTemplate()">
|
|
3136
|
+
<ng-container *ngTemplateOutlet="_paginatorLastPageLinkIconTemplate()"></ng-container>
|
|
3277
3137
|
</ng-template>
|
|
3278
3138
|
|
|
3279
|
-
<ng-template
|
|
3280
|
-
<ng-container *ngTemplateOutlet="
|
|
3139
|
+
<ng-template #nextpagelinkicon *ngIf="_paginatorNextPageLinkIconTemplate()">
|
|
3140
|
+
<ng-container *ngTemplateOutlet="_paginatorNextPageLinkIconTemplate()"></ng-container>
|
|
3281
3141
|
</ng-template>
|
|
3282
3142
|
</agl-paginator>
|
|
3283
3143
|
|
|
3284
|
-
<div *ngIf="
|
|
3285
|
-
<ng-container *ngTemplateOutlet="
|
|
3144
|
+
<div *ngIf="_summaryTemplate()" [ngClass]="cx('footer')" [aglBind]="ptm('footer')">
|
|
3145
|
+
<ng-container *ngTemplateOutlet="_summaryTemplate()"></ng-container>
|
|
3286
3146
|
</div>
|
|
3287
3147
|
|
|
3288
3148
|
<div #resizeHelper [ngClass]="cx('columnResizeIndicator')" [aglBind]="ptm('columnResizeIndicator')" [style.display]="'none'" *ngIf="resizableColumns"></div>
|
|
3289
3149
|
<span #reorderIndicatorUp [ngClass]="cx('rowReorderIndicatorUp')" [aglBind]="ptm('rowReorderIndicatorUp')" [style.display]="'none'" *ngIf="reorderableColumns">
|
|
3290
|
-
<svg data-p-icon="arrow-down" *ngIf="!
|
|
3291
|
-
<ng-template *ngTemplateOutlet="
|
|
3150
|
+
<svg data-p-icon="arrow-down" *ngIf="!_reorderIndicatorUpIconTemplate()" [aglBind]="ptm('rowReorderIndicatorUp')['icon']" />
|
|
3151
|
+
<ng-template *ngTemplateOutlet="_reorderIndicatorUpIconTemplate()"></ng-template>
|
|
3292
3152
|
</span>
|
|
3293
3153
|
<span #reorderIndicatorDown [ngClass]="cx('rowReorderIndicatorDown')" [aglBind]="ptm('rowReorderIndicatorDown')" [style.display]="'none'" *ngIf="reorderableColumns">
|
|
3294
|
-
<svg data-p-icon="arrow-up" *ngIf="!
|
|
3295
|
-
<ng-template *ngTemplateOutlet="
|
|
3154
|
+
<svg data-p-icon="arrow-up" *ngIf="!_reorderIndicatorDownIconTemplate()" [aglBind]="ptm('rowReorderIndicatorDown')['icon']" />
|
|
3155
|
+
<ng-template *ngTemplateOutlet="_reorderIndicatorDownIconTemplate()"></ng-template>
|
|
3296
3156
|
</span>
|
|
3297
|
-
`, 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: "
|
|
3157
|
+
`, 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(() => i4.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: "component", type: i0.forwardRef(() => ArrowDownIcon), selector: "[data-p-icon=\"arrow-down\"]" }, { kind: "component", type: i0.forwardRef(() => ArrowUpIcon), selector: "[data-p-icon=\"arrow-up\"]" }, { kind: "component", type: i0.forwardRef(() => SpinnerIcon), selector: "[data-p-icon=\"spinner\"]" }, { kind: "directive", type: i0.forwardRef(() => i1.Bind), selector: "[aglBind]", inputs: ["aglBind"] }, { kind: "component", type: i0.forwardRef(() => TableBody), selector: "[aglTableBody]", inputs: ["aglTableBody", "aglTableBodyTemplate", "value", "frozen", "frozenRows", "scrollerOptions"] }], changeDetection: i0.ChangeDetectionStrategy.Eager, encapsulation: i0.ViewEncapsulation.None });
|
|
3298
3158
|
}
|
|
3299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
3159
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: Table, decorators: [{
|
|
3300
3160
|
type: Component,
|
|
3301
3161
|
args: [{
|
|
3302
3162
|
selector: 'agl-table',
|
|
@@ -3305,14 +3165,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
3305
3165
|
<div [class]="cx('mask')" [aglBind]="ptm('mask')" *ngIf="loading && showLoader" animate.enter="p-overlay-mask-enter-active" animate.leave="p-overlay-mask-leave-active">
|
|
3306
3166
|
<i *ngIf="loadingIcon" [class]="cn(cx('loadingIcon'), loadingIcon)" [aglBind]="ptm('loadingIcon')"></i>
|
|
3307
3167
|
<ng-container *ngIf="!loadingIcon">
|
|
3308
|
-
<svg data-p-icon="spinner" *ngIf="!
|
|
3309
|
-
<span *ngIf="
|
|
3310
|
-
<ng-template *ngTemplateOutlet="
|
|
3168
|
+
<svg data-p-icon="spinner" *ngIf="!_loadingIconTemplate()" [spin]="true" [class]="cx('loadingIcon')" [aglBind]="ptm('loadingIcon')" />
|
|
3169
|
+
<span *ngIf="_loadingIconTemplate()" [class]="cx('loadingIcon')" [aglBind]="ptm('loadingIcon')">
|
|
3170
|
+
<ng-template *ngTemplateOutlet="_loadingIconTemplate()"></ng-template>
|
|
3311
3171
|
</span>
|
|
3312
3172
|
</ng-container>
|
|
3313
3173
|
</div>
|
|
3314
|
-
<div *ngIf="
|
|
3315
|
-
<ng-container *ngTemplateOutlet="
|
|
3174
|
+
<div *ngIf="_captionTemplate()" [class]="cx('header')" [aglBind]="ptm('header')">
|
|
3175
|
+
<ng-container *ngTemplateOutlet="_captionTemplate()"></ng-container>
|
|
3316
3176
|
</div>
|
|
3317
3177
|
<agl-paginator
|
|
3318
3178
|
[rows]="rows"
|
|
@@ -3323,13 +3183,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
3323
3183
|
(onPageChange)="onPageChange($event)"
|
|
3324
3184
|
[rowsPerPageOptions]="rowsPerPageOptions"
|
|
3325
3185
|
*ngIf="paginator && (paginatorPosition === 'top' || paginatorPosition == 'both')"
|
|
3326
|
-
[templateLeft]="
|
|
3327
|
-
[templateRight]="
|
|
3186
|
+
[templateLeft]="_paginatorLeftTemplate()"
|
|
3187
|
+
[templateRight]="_paginatorRightTemplate()"
|
|
3328
3188
|
[appendTo]="paginatorDropdownAppendTo"
|
|
3329
3189
|
[dropdownScrollHeight]="paginatorDropdownScrollHeight"
|
|
3330
3190
|
[currentPageReportTemplate]="currentPageReportTemplate"
|
|
3331
3191
|
[showFirstLastIcon]="showFirstLastIcon"
|
|
3332
|
-
[dropdownItemTemplate]="
|
|
3192
|
+
[dropdownItemTemplate]="_paginatorDropdownItemTemplate()"
|
|
3333
3193
|
[showCurrentPageReport]="showCurrentPageReport"
|
|
3334
3194
|
[showJumpToPageDropdown]="showJumpToPageDropdown"
|
|
3335
3195
|
[showJumpToPageInput]="showJumpToPageInput"
|
|
@@ -3339,24 +3199,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
3339
3199
|
[pt]="ptm('pcPaginator')"
|
|
3340
3200
|
[unstyled]="unstyled()"
|
|
3341
3201
|
>
|
|
3342
|
-
<ng-template
|
|
3343
|
-
<ng-container *ngTemplateOutlet="
|
|
3202
|
+
<ng-template #dropdownicon *ngIf="_paginatorDropdownIconTemplate()">
|
|
3203
|
+
<ng-container *ngTemplateOutlet="_paginatorDropdownIconTemplate()"></ng-container>
|
|
3344
3204
|
</ng-template>
|
|
3345
3205
|
|
|
3346
|
-
<ng-template
|
|
3347
|
-
<ng-container *ngTemplateOutlet="
|
|
3206
|
+
<ng-template #firstpagelinkicon *ngIf="_paginatorFirstPageLinkIconTemplate()">
|
|
3207
|
+
<ng-container *ngTemplateOutlet="_paginatorFirstPageLinkIconTemplate()"></ng-container>
|
|
3348
3208
|
</ng-template>
|
|
3349
3209
|
|
|
3350
|
-
<ng-template
|
|
3351
|
-
<ng-container *ngTemplateOutlet="
|
|
3210
|
+
<ng-template #previouspagelinkicon *ngIf="_paginatorPreviousPageLinkIconTemplate()">
|
|
3211
|
+
<ng-container *ngTemplateOutlet="_paginatorPreviousPageLinkIconTemplate()"></ng-container>
|
|
3352
3212
|
</ng-template>
|
|
3353
3213
|
|
|
3354
|
-
<ng-template
|
|
3355
|
-
<ng-container *ngTemplateOutlet="
|
|
3214
|
+
<ng-template #lastpagelinkicon *ngIf="_paginatorLastPageLinkIconTemplate()">
|
|
3215
|
+
<ng-container *ngTemplateOutlet="_paginatorLastPageLinkIconTemplate()"></ng-container>
|
|
3356
3216
|
</ng-template>
|
|
3357
3217
|
|
|
3358
|
-
<ng-template
|
|
3359
|
-
<ng-container *ngTemplateOutlet="
|
|
3218
|
+
<ng-template #nextpagelinkicon *ngIf="_paginatorNextPageLinkIconTemplate()">
|
|
3219
|
+
<ng-container *ngTemplateOutlet="_paginatorNextPageLinkIconTemplate()"></ng-container>
|
|
3360
3220
|
</ng-template>
|
|
3361
3221
|
</agl-paginator>
|
|
3362
3222
|
|
|
@@ -3379,7 +3239,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
3379
3239
|
(onLazyLoad)="onLazyItemLoad($event)"
|
|
3380
3240
|
[loaderDisabled]="true"
|
|
3381
3241
|
[showSpacer]="false"
|
|
3382
|
-
[showLoader]="
|
|
3242
|
+
[showLoader]="_loadingBodyTemplate()"
|
|
3383
3243
|
[options]="virtualScrollOptions"
|
|
3384
3244
|
[pt]="ptm('virtualScroller')"
|
|
3385
3245
|
>
|
|
@@ -3409,11 +3269,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
3409
3269
|
|
|
3410
3270
|
<ng-template #buildInTable let-items let-scrollerOptions="options">
|
|
3411
3271
|
<table #table role="table" [class]="cn(cx('table'), tableStyleClass)" [aglBind]="ptm('table')" [style]="tableStyle" [attr.id]="id + '-table'">
|
|
3412
|
-
<ng-container *ngTemplateOutlet="
|
|
3272
|
+
<ng-container *ngTemplateOutlet="_colGroupTemplate(); context: { $implicit: scrollerOptions.columns }"></ng-container>
|
|
3413
3273
|
<thead role="rowgroup" #thead [class]="cx('thead')" [ngStyle]="sx('thead')" [aglBind]="ptm('thead')">
|
|
3414
3274
|
<ng-container
|
|
3415
3275
|
*ngTemplateOutlet="
|
|
3416
|
-
|
|
3276
|
+
_headerGroupedTemplate() || _headerTemplate();
|
|
3417
3277
|
context: {
|
|
3418
3278
|
$implicit: scrollerOptions.columns
|
|
3419
3279
|
}
|
|
@@ -3424,11 +3284,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
3424
3284
|
role="rowgroup"
|
|
3425
3285
|
[class]="cx('tbody')"
|
|
3426
3286
|
[aglBind]="ptm('tbody')"
|
|
3427
|
-
*ngIf="frozenValue ||
|
|
3287
|
+
*ngIf="frozenValue || _frozenBodyTemplate()"
|
|
3428
3288
|
[value]="frozenValue"
|
|
3429
3289
|
[frozenRows]="true"
|
|
3430
3290
|
[aglTableBody]="scrollerOptions.columns"
|
|
3431
|
-
[aglTableBodyTemplate]="
|
|
3291
|
+
[aglTableBodyTemplate]="_frozenBodyTemplate()"
|
|
3432
3292
|
[unstyled]="unstyled()"
|
|
3433
3293
|
[frozen]="true"
|
|
3434
3294
|
[attr.data-p-virtualscroll]="virtualScroll"
|
|
@@ -3440,7 +3300,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
3440
3300
|
[style]="scrollerOptions.contentStyle"
|
|
3441
3301
|
[value]="dataToRender(scrollerOptions.rows)"
|
|
3442
3302
|
[aglTableBody]="scrollerOptions.columns"
|
|
3443
|
-
[aglTableBodyTemplate]="
|
|
3303
|
+
[aglTableBodyTemplate]="_bodyTemplate()"
|
|
3444
3304
|
[scrollerOptions]="scrollerOptions"
|
|
3445
3305
|
[unstyled]="unstyled()"
|
|
3446
3306
|
[attr.data-p-virtualscroll]="virtualScroll"
|
|
@@ -3452,10 +3312,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
3452
3312
|
[class]="cx('virtualScrollerSpacer')"
|
|
3453
3313
|
[aglBind]="ptm('virtualScrollerSpacer')"
|
|
3454
3314
|
></tbody>
|
|
3455
|
-
<tfoot role="rowgroup" *ngIf="
|
|
3315
|
+
<tfoot role="rowgroup" *ngIf="_footerGroupedTemplate() || _footerTemplate()" #tfoot [ngClass]="cx('footer')" [ngStyle]="sx('tfoot')" [aglBind]="ptm('tfoot')">
|
|
3456
3316
|
<ng-container
|
|
3457
3317
|
*ngTemplateOutlet="
|
|
3458
|
-
|
|
3318
|
+
_footerGroupedTemplate() || _footerTemplate();
|
|
3459
3319
|
context: {
|
|
3460
3320
|
$implicit: scrollerOptions.columns
|
|
3461
3321
|
}
|
|
@@ -3475,13 +3335,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
3475
3335
|
(onPageChange)="onPageChange($event)"
|
|
3476
3336
|
[rowsPerPageOptions]="rowsPerPageOptions"
|
|
3477
3337
|
*ngIf="paginator && (paginatorPosition === 'bottom' || paginatorPosition == 'both')"
|
|
3478
|
-
[templateLeft]="
|
|
3479
|
-
[templateRight]="
|
|
3338
|
+
[templateLeft]="_paginatorLeftTemplate()"
|
|
3339
|
+
[templateRight]="_paginatorRightTemplate()"
|
|
3480
3340
|
[appendTo]="paginatorDropdownAppendTo"
|
|
3481
3341
|
[dropdownScrollHeight]="paginatorDropdownScrollHeight"
|
|
3482
3342
|
[currentPageReportTemplate]="currentPageReportTemplate"
|
|
3483
3343
|
[showFirstLastIcon]="showFirstLastIcon"
|
|
3484
|
-
[dropdownItemTemplate]="
|
|
3344
|
+
[dropdownItemTemplate]="_paginatorDropdownItemTemplate()"
|
|
3485
3345
|
[showCurrentPageReport]="showCurrentPageReport"
|
|
3486
3346
|
[showJumpToPageDropdown]="showJumpToPageDropdown"
|
|
3487
3347
|
[showJumpToPageInput]="showJumpToPageInput"
|
|
@@ -3491,39 +3351,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
3491
3351
|
[pt]="ptm('pcPaginator')"
|
|
3492
3352
|
[unstyled]="unstyled()"
|
|
3493
3353
|
>
|
|
3494
|
-
<ng-template
|
|
3495
|
-
<ng-container *ngTemplateOutlet="
|
|
3354
|
+
<ng-template #dropdownicon *ngIf="_paginatorDropdownIconTemplate()">
|
|
3355
|
+
<ng-container *ngTemplateOutlet="_paginatorDropdownIconTemplate()"></ng-container>
|
|
3496
3356
|
</ng-template>
|
|
3497
3357
|
|
|
3498
|
-
<ng-template
|
|
3499
|
-
<ng-container *ngTemplateOutlet="
|
|
3358
|
+
<ng-template #firstpagelinkicon *ngIf="_paginatorFirstPageLinkIconTemplate()">
|
|
3359
|
+
<ng-container *ngTemplateOutlet="_paginatorFirstPageLinkIconTemplate()"></ng-container>
|
|
3500
3360
|
</ng-template>
|
|
3501
3361
|
|
|
3502
|
-
<ng-template
|
|
3503
|
-
<ng-container *ngTemplateOutlet="
|
|
3362
|
+
<ng-template #previouspagelinkicon *ngIf="_paginatorPreviousPageLinkIconTemplate()">
|
|
3363
|
+
<ng-container *ngTemplateOutlet="_paginatorPreviousPageLinkIconTemplate()"></ng-container>
|
|
3504
3364
|
</ng-template>
|
|
3505
3365
|
|
|
3506
|
-
<ng-template
|
|
3507
|
-
<ng-container *ngTemplateOutlet="
|
|
3366
|
+
<ng-template #lastpagelinkicon *ngIf="_paginatorLastPageLinkIconTemplate()">
|
|
3367
|
+
<ng-container *ngTemplateOutlet="_paginatorLastPageLinkIconTemplate()"></ng-container>
|
|
3508
3368
|
</ng-template>
|
|
3509
3369
|
|
|
3510
|
-
<ng-template
|
|
3511
|
-
<ng-container *ngTemplateOutlet="
|
|
3370
|
+
<ng-template #nextpagelinkicon *ngIf="_paginatorNextPageLinkIconTemplate()">
|
|
3371
|
+
<ng-container *ngTemplateOutlet="_paginatorNextPageLinkIconTemplate()"></ng-container>
|
|
3512
3372
|
</ng-template>
|
|
3513
3373
|
</agl-paginator>
|
|
3514
3374
|
|
|
3515
|
-
<div *ngIf="
|
|
3516
|
-
<ng-container *ngTemplateOutlet="
|
|
3375
|
+
<div *ngIf="_summaryTemplate()" [ngClass]="cx('footer')" [aglBind]="ptm('footer')">
|
|
3376
|
+
<ng-container *ngTemplateOutlet="_summaryTemplate()"></ng-container>
|
|
3517
3377
|
</div>
|
|
3518
3378
|
|
|
3519
3379
|
<div #resizeHelper [ngClass]="cx('columnResizeIndicator')" [aglBind]="ptm('columnResizeIndicator')" [style.display]="'none'" *ngIf="resizableColumns"></div>
|
|
3520
3380
|
<span #reorderIndicatorUp [ngClass]="cx('rowReorderIndicatorUp')" [aglBind]="ptm('rowReorderIndicatorUp')" [style.display]="'none'" *ngIf="reorderableColumns">
|
|
3521
|
-
<svg data-p-icon="arrow-down" *ngIf="!
|
|
3522
|
-
<ng-template *ngTemplateOutlet="
|
|
3381
|
+
<svg data-p-icon="arrow-down" *ngIf="!_reorderIndicatorUpIconTemplate()" [aglBind]="ptm('rowReorderIndicatorUp')['icon']" />
|
|
3382
|
+
<ng-template *ngTemplateOutlet="_reorderIndicatorUpIconTemplate()"></ng-template>
|
|
3523
3383
|
</span>
|
|
3524
3384
|
<span #reorderIndicatorDown [ngClass]="cx('rowReorderIndicatorDown')" [aglBind]="ptm('rowReorderIndicatorDown')" [style.display]="'none'" *ngIf="reorderableColumns">
|
|
3525
|
-
<svg data-p-icon="arrow-up" *ngIf="!
|
|
3526
|
-
<ng-template *ngTemplateOutlet="
|
|
3385
|
+
<svg data-p-icon="arrow-up" *ngIf="!_reorderIndicatorDownIconTemplate()" [aglBind]="ptm('rowReorderIndicatorDown')['icon']" />
|
|
3386
|
+
<ng-template *ngTemplateOutlet="_reorderIndicatorDownIconTemplate()"></ng-template>
|
|
3527
3387
|
</span>
|
|
3528
3388
|
`,
|
|
3529
3389
|
providers: [TableService, TableStyle, { provide: TABLE_INSTANCE, useExisting: Table }, { provide: PARENT_INSTANCE, useExisting: Table }],
|
|
@@ -3802,106 +3662,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
3802
3662
|
}], scroller: [{
|
|
3803
3663
|
type: ViewChild,
|
|
3804
3664
|
args: ['scroller']
|
|
3805
|
-
}],
|
|
3806
|
-
type: ContentChildren,
|
|
3807
|
-
args: [AglTemplate]
|
|
3808
|
-
}], _headerTemplate: [{
|
|
3809
|
-
type: ContentChild,
|
|
3810
|
-
args: ['header', { descendants: false }]
|
|
3811
|
-
}], _headerGroupedTemplate: [{
|
|
3812
|
-
type: ContentChild,
|
|
3813
|
-
args: ['headergrouped', { descendants: false }]
|
|
3814
|
-
}], _bodyTemplate: [{
|
|
3815
|
-
type: ContentChild,
|
|
3816
|
-
args: ['body', { descendants: false }]
|
|
3817
|
-
}], _loadingBodyTemplate: [{
|
|
3818
|
-
type: ContentChild,
|
|
3819
|
-
args: ['loadingbody', { descendants: false }]
|
|
3820
|
-
}], _captionTemplate: [{
|
|
3821
|
-
type: ContentChild,
|
|
3822
|
-
args: ['caption', { descendants: false }]
|
|
3823
|
-
}], _footerTemplate: [{
|
|
3824
|
-
type: ContentChild,
|
|
3825
|
-
args: ['footer', { descendants: false }]
|
|
3826
|
-
}], _footerGroupedTemplate: [{
|
|
3827
|
-
type: ContentChild,
|
|
3828
|
-
args: ['footergrouped', { descendants: false }]
|
|
3829
|
-
}], _summaryTemplate: [{
|
|
3830
|
-
type: ContentChild,
|
|
3831
|
-
args: ['summary', { descendants: false }]
|
|
3832
|
-
}], _colGroupTemplate: [{
|
|
3833
|
-
type: ContentChild,
|
|
3834
|
-
args: ['colgroup', { descendants: false }]
|
|
3835
|
-
}], _expandedRowTemplate: [{
|
|
3836
|
-
type: ContentChild,
|
|
3837
|
-
args: ['expandedrow', { descendants: false }]
|
|
3838
|
-
}], _groupHeaderTemplate: [{
|
|
3839
|
-
type: ContentChild,
|
|
3840
|
-
args: ['groupheader', { descendants: false }]
|
|
3841
|
-
}], _groupFooterTemplate: [{
|
|
3842
|
-
type: ContentChild,
|
|
3843
|
-
args: ['groupfooter', { descendants: false }]
|
|
3844
|
-
}], _frozenExpandedRowTemplate: [{
|
|
3845
|
-
type: ContentChild,
|
|
3846
|
-
args: ['frozenexpandedrow', { descendants: false }]
|
|
3847
|
-
}], _frozenHeaderTemplate: [{
|
|
3848
|
-
type: ContentChild,
|
|
3849
|
-
args: ['frozenheader', { descendants: false }]
|
|
3850
|
-
}], _frozenBodyTemplate: [{
|
|
3851
|
-
type: ContentChild,
|
|
3852
|
-
args: ['frozenbody', { descendants: false }]
|
|
3853
|
-
}], _frozenFooterTemplate: [{
|
|
3854
|
-
type: ContentChild,
|
|
3855
|
-
args: ['frozenfooter', { descendants: false }]
|
|
3856
|
-
}], _frozenColGroupTemplate: [{
|
|
3857
|
-
type: ContentChild,
|
|
3858
|
-
args: ['frozencolgroup', { descendants: false }]
|
|
3859
|
-
}], _emptyMessageTemplate: [{
|
|
3860
|
-
type: ContentChild,
|
|
3861
|
-
args: ['emptymessage', { descendants: false }]
|
|
3862
|
-
}], _paginatorLeftTemplate: [{
|
|
3863
|
-
type: ContentChild,
|
|
3864
|
-
args: ['paginatorleft', { descendants: false }]
|
|
3865
|
-
}], _paginatorRightTemplate: [{
|
|
3866
|
-
type: ContentChild,
|
|
3867
|
-
args: ['paginatorright', { descendants: false }]
|
|
3868
|
-
}], _paginatorDropdownItemTemplate: [{
|
|
3869
|
-
type: ContentChild,
|
|
3870
|
-
args: ['paginatordropdownitem', { descendants: false }]
|
|
3871
|
-
}], _loadingIconTemplate: [{
|
|
3872
|
-
type: ContentChild,
|
|
3873
|
-
args: ['loadingicon', { descendants: false }]
|
|
3874
|
-
}], _reorderIndicatorUpIconTemplate: [{
|
|
3875
|
-
type: ContentChild,
|
|
3876
|
-
args: ['reorderindicatorupicon', { descendants: false }]
|
|
3877
|
-
}], _reorderIndicatorDownIconTemplate: [{
|
|
3878
|
-
type: ContentChild,
|
|
3879
|
-
args: ['reorderindicatordownicon', { descendants: false }]
|
|
3880
|
-
}], _sortIconTemplate: [{
|
|
3881
|
-
type: ContentChild,
|
|
3882
|
-
args: ['sorticon', { descendants: false }]
|
|
3883
|
-
}], _checkboxIconTemplate: [{
|
|
3884
|
-
type: ContentChild,
|
|
3885
|
-
args: ['checkboxicon', { descendants: false }]
|
|
3886
|
-
}], _headerCheckboxIconTemplate: [{
|
|
3887
|
-
type: ContentChild,
|
|
3888
|
-
args: ['headercheckboxicon', { descendants: false }]
|
|
3889
|
-
}], _paginatorDropdownIconTemplate: [{
|
|
3890
|
-
type: ContentChild,
|
|
3891
|
-
args: ['paginatordropdownicon', { descendants: false }]
|
|
3892
|
-
}], _paginatorFirstPageLinkIconTemplate: [{
|
|
3893
|
-
type: ContentChild,
|
|
3894
|
-
args: ['paginatorfirstpagelinkicon', { descendants: false }]
|
|
3895
|
-
}], _paginatorLastPageLinkIconTemplate: [{
|
|
3896
|
-
type: ContentChild,
|
|
3897
|
-
args: ['paginatorlastpagelinkicon', { descendants: false }]
|
|
3898
|
-
}], _paginatorPreviousPageLinkIconTemplate: [{
|
|
3899
|
-
type: ContentChild,
|
|
3900
|
-
args: ['paginatorpreviouspagelinkicon', { descendants: false }]
|
|
3901
|
-
}], _paginatorNextPageLinkIconTemplate: [{
|
|
3902
|
-
type: ContentChild,
|
|
3903
|
-
args: ['paginatornextpagelinkicon', { descendants: false }]
|
|
3904
|
-
}] } });
|
|
3665
|
+
}], _headerTemplate: [{ type: i0.ContentChild, args: ['header', { ...{ descendants: false }, isSignal: true }] }], _headerGroupedTemplate: [{ type: i0.ContentChild, args: ['headergrouped', { ...{ descendants: false }, isSignal: true }] }], _bodyTemplate: [{ type: i0.ContentChild, args: ['body', { ...{ descendants: false }, isSignal: true }] }], _loadingBodyTemplate: [{ type: i0.ContentChild, args: ['loadingbody', { ...{ descendants: false }, isSignal: true }] }], _captionTemplate: [{ type: i0.ContentChild, args: ['caption', { ...{ descendants: false }, isSignal: true }] }], _footerTemplate: [{ type: i0.ContentChild, args: ['footer', { ...{ descendants: false }, isSignal: true }] }], _footerGroupedTemplate: [{ type: i0.ContentChild, args: ['footergrouped', { ...{ descendants: false }, isSignal: true }] }], _summaryTemplate: [{ type: i0.ContentChild, args: ['summary', { ...{ descendants: false }, isSignal: true }] }], _colGroupTemplate: [{ type: i0.ContentChild, args: ['colgroup', { ...{ descendants: false }, isSignal: true }] }], _expandedRowTemplate: [{ type: i0.ContentChild, args: ['expandedrow', { ...{ descendants: false }, isSignal: true }] }], _groupHeaderTemplate: [{ type: i0.ContentChild, args: ['groupheader', { ...{ descendants: false }, isSignal: true }] }], _groupFooterTemplate: [{ type: i0.ContentChild, args: ['groupfooter', { ...{ descendants: false }, isSignal: true }] }], _frozenExpandedRowTemplate: [{ type: i0.ContentChild, args: ['frozenexpandedrow', { ...{ descendants: false }, isSignal: true }] }], _frozenBodyTemplate: [{ type: i0.ContentChild, args: ['frozenbody', { ...{ 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 }] }], _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 }] }], _paginatorDropdownIconTemplate: [{ type: i0.ContentChild, args: ['paginatordropdownicon', { ...{ 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 }] }] } });
|
|
3905
3666
|
class TableBody extends BaseComponent {
|
|
3906
3667
|
dataTable;
|
|
3907
3668
|
tableService;
|
|
@@ -4024,17 +3785,17 @@ class TableBody extends BaseComponent {
|
|
|
4024
3785
|
frozen: this.frozen
|
|
4025
3786
|
});
|
|
4026
3787
|
}
|
|
4027
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
4028
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.
|
|
4029
|
-
<ng-container *ngIf="!dataTable.
|
|
3788
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TableBody, deps: [{ token: Table }, { token: TableService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3789
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.1.1", type: TableBody, isStandalone: false, selector: "[aglTableBody]", inputs: { columns: ["aglTableBody", "columns"], template: ["aglTableBodyTemplate", "template"], value: "value", frozen: ["frozen", "frozen", booleanAttribute], frozenRows: ["frozenRows", "frozenRows", booleanAttribute], scrollerOptions: "scrollerOptions" }, host: { properties: { "attr.data-p": "dataP" } }, usesInheritance: true, ngImport: i0, template: `
|
|
3790
|
+
<ng-container *ngIf="!dataTable._expandedRowTemplate()">
|
|
4030
3791
|
<ng-template ngFor let-rowData let-rowIndex="index" [ngForOf]="value" [ngForTrackBy]="dataTable.rowTrackBy">
|
|
4031
3792
|
<ng-container
|
|
4032
|
-
*ngIf="(dataTable.
|
|
3793
|
+
*ngIf="(dataTable._groupHeaderTemplate()) && !dataTable.virtualScroll && dataTable.rowGroupMode === 'subheader' && shouldRenderRowGroupHeader(value, rowData, getRowIndex(rowIndex))"
|
|
4033
3794
|
role="row"
|
|
4034
3795
|
>
|
|
4035
3796
|
<ng-container
|
|
4036
3797
|
*ngTemplateOutlet="
|
|
4037
|
-
dataTable.
|
|
3798
|
+
dataTable._groupHeaderTemplate();
|
|
4038
3799
|
context: {
|
|
4039
3800
|
$implicit: rowData,
|
|
4040
3801
|
rowIndex: getRowIndex(rowIndex),
|
|
@@ -4048,7 +3809,7 @@ class TableBody extends BaseComponent {
|
|
|
4048
3809
|
<ng-container *ngIf="dataTable.rowGroupMode !== 'rowspan'">
|
|
4049
3810
|
<ng-container
|
|
4050
3811
|
*ngTemplateOutlet="
|
|
4051
|
-
rowData ? template : dataTable.
|
|
3812
|
+
rowData ? template : dataTable._loadingBodyTemplate();
|
|
4052
3813
|
context: {
|
|
4053
3814
|
$implicit: rowData,
|
|
4054
3815
|
rowIndex: getRowIndex(rowIndex),
|
|
@@ -4062,7 +3823,7 @@ class TableBody extends BaseComponent {
|
|
|
4062
3823
|
<ng-container *ngIf="dataTable.rowGroupMode === 'rowspan'">
|
|
4063
3824
|
<ng-container
|
|
4064
3825
|
*ngTemplateOutlet="
|
|
4065
|
-
rowData ? template : dataTable.
|
|
3826
|
+
rowData ? template : dataTable._loadingBodyTemplate();
|
|
4066
3827
|
context: {
|
|
4067
3828
|
$implicit: rowData,
|
|
4068
3829
|
rowIndex: getRowIndex(rowIndex),
|
|
@@ -4076,12 +3837,12 @@ class TableBody extends BaseComponent {
|
|
|
4076
3837
|
></ng-container>
|
|
4077
3838
|
</ng-container>
|
|
4078
3839
|
<ng-container
|
|
4079
|
-
*ngIf="(dataTable.
|
|
3840
|
+
*ngIf="(dataTable._groupFooterTemplate()) && !dataTable.virtualScroll && dataTable.rowGroupMode === 'subheader' && shouldRenderRowGroupFooter(value, rowData, getRowIndex(rowIndex))"
|
|
4080
3841
|
role="row"
|
|
4081
3842
|
>
|
|
4082
3843
|
<ng-container
|
|
4083
3844
|
*ngTemplateOutlet="
|
|
4084
|
-
dataTable.
|
|
3845
|
+
dataTable._groupFooterTemplate();
|
|
4085
3846
|
context: {
|
|
4086
3847
|
$implicit: rowData,
|
|
4087
3848
|
rowIndex: getRowIndex(rowIndex),
|
|
@@ -4094,9 +3855,18 @@ class TableBody extends BaseComponent {
|
|
|
4094
3855
|
</ng-container>
|
|
4095
3856
|
</ng-template>
|
|
4096
3857
|
</ng-container>
|
|
4097
|
-
<ng-container *ngIf="(dataTable.
|
|
3858
|
+
<ng-container *ngIf="(dataTable._expandedRowTemplate()) && !(frozen && (dataTable._frozenExpandedRowTemplate()))">
|
|
4098
3859
|
<ng-template ngFor let-rowData let-rowIndex="index" [ngForOf]="value" [ngForTrackBy]="dataTable.rowTrackBy">
|
|
4099
|
-
|
|
3860
|
+
<!-- A guard stood here, inherited verbatim from upstream 21.1.9: it suppressed this row only
|
|
3861
|
+
when a caller supplied a groupheader through BOTH retired routes at once - the aglTemplate
|
|
3862
|
+
switch AND the ng-template #groupheader reference. It joined the two with a conjunction
|
|
3863
|
+
where every sibling gate in this file uses a disjunction, so it was already dead code
|
|
3864
|
+
upstream. PA-1 deletes one of the two routes, so the condition can never be met again and
|
|
3865
|
+
the guard is vacuously true; dropping it is what preserves the behaviour callers actually
|
|
3866
|
+
observed. Collapsing it to a single negated slot instead would NOT be equivalent - it would
|
|
3867
|
+
hide this row for everyone who supplies a groupheader at all, which is a regression, not a
|
|
3868
|
+
migration. Whether upstream meant a disjunction is a behaviour question of its own. -->
|
|
3869
|
+
<ng-container>
|
|
4100
3870
|
<ng-container
|
|
4101
3871
|
*ngTemplateOutlet="
|
|
4102
3872
|
template;
|
|
@@ -4111,10 +3881,10 @@ class TableBody extends BaseComponent {
|
|
|
4111
3881
|
"
|
|
4112
3882
|
></ng-container>
|
|
4113
3883
|
</ng-container>
|
|
4114
|
-
<ng-container *ngIf="(dataTable.
|
|
3884
|
+
<ng-container *ngIf="(dataTable._groupHeaderTemplate()) && dataTable.rowGroupMode === 'subheader' && shouldRenderRowGroupHeader(value, rowData, getRowIndex(rowIndex))" role="row">
|
|
4115
3885
|
<ng-container
|
|
4116
3886
|
*ngTemplateOutlet="
|
|
4117
|
-
dataTable.
|
|
3887
|
+
dataTable._groupHeaderTemplate();
|
|
4118
3888
|
context: {
|
|
4119
3889
|
$implicit: rowData,
|
|
4120
3890
|
rowIndex: getRowIndex(rowIndex),
|
|
@@ -4129,7 +3899,7 @@ class TableBody extends BaseComponent {
|
|
|
4129
3899
|
<ng-container *ngIf="dataTable.isRowExpanded(rowData)">
|
|
4130
3900
|
<ng-container
|
|
4131
3901
|
*ngTemplateOutlet="
|
|
4132
|
-
dataTable.
|
|
3902
|
+
dataTable._expandedRowTemplate();
|
|
4133
3903
|
context: {
|
|
4134
3904
|
$implicit: rowData,
|
|
4135
3905
|
rowIndex: getRowIndex(rowIndex),
|
|
@@ -4138,10 +3908,10 @@ class TableBody extends BaseComponent {
|
|
|
4138
3908
|
}
|
|
4139
3909
|
"
|
|
4140
3910
|
></ng-container>
|
|
4141
|
-
<ng-container *ngIf="(dataTable.
|
|
3911
|
+
<ng-container *ngIf="(dataTable._groupFooterTemplate()) && dataTable.rowGroupMode === 'subheader' && shouldRenderRowGroupFooter(value, rowData, getRowIndex(rowIndex))" role="row">
|
|
4142
3912
|
<ng-container
|
|
4143
3913
|
*ngTemplateOutlet="
|
|
4144
|
-
dataTable.
|
|
3914
|
+
dataTable._groupFooterTemplate();
|
|
4145
3915
|
context: {
|
|
4146
3916
|
$implicit: rowData,
|
|
4147
3917
|
rowIndex: getRowIndex(rowIndex),
|
|
@@ -4156,7 +3926,7 @@ class TableBody extends BaseComponent {
|
|
|
4156
3926
|
</ng-container>
|
|
4157
3927
|
</ng-template>
|
|
4158
3928
|
</ng-container>
|
|
4159
|
-
<ng-container *ngIf="(dataTable.
|
|
3929
|
+
<ng-container *ngIf="(dataTable._frozenExpandedRowTemplate()) && frozen">
|
|
4160
3930
|
<ng-template ngFor let-rowData let-rowIndex="index" [ngForOf]="value" [ngForTrackBy]="dataTable.rowTrackBy">
|
|
4161
3931
|
<ng-container
|
|
4162
3932
|
*ngTemplateOutlet="
|
|
@@ -4174,7 +3944,7 @@ class TableBody extends BaseComponent {
|
|
|
4174
3944
|
<ng-container *ngIf="dataTable.isRowExpanded(rowData)">
|
|
4175
3945
|
<ng-container
|
|
4176
3946
|
*ngTemplateOutlet="
|
|
4177
|
-
dataTable.
|
|
3947
|
+
dataTable._frozenExpandedRowTemplate();
|
|
4178
3948
|
context: {
|
|
4179
3949
|
$implicit: rowData,
|
|
4180
3950
|
rowIndex: getRowIndex(rowIndex),
|
|
@@ -4187,28 +3957,28 @@ class TableBody extends BaseComponent {
|
|
|
4187
3957
|
</ng-template>
|
|
4188
3958
|
</ng-container>
|
|
4189
3959
|
<ng-container *ngIf="dataTable.loading">
|
|
4190
|
-
<ng-container *ngTemplateOutlet="dataTable.
|
|
3960
|
+
<ng-container *ngTemplateOutlet="dataTable._loadingBodyTemplate(); context: { $implicit: columns, frozen: frozen }"></ng-container>
|
|
4191
3961
|
</ng-container>
|
|
4192
3962
|
<ng-container *ngIf="dataTable.isEmpty() && !dataTable.loading">
|
|
4193
|
-
<ng-container *ngTemplateOutlet="dataTable.
|
|
3963
|
+
<ng-container *ngTemplateOutlet="dataTable._emptyMessageTemplate(); context: { $implicit: columns, frozen: frozen }"></ng-container>
|
|
4194
3964
|
</ng-container>
|
|
4195
3965
|
`, 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 });
|
|
4196
3966
|
}
|
|
4197
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
3967
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TableBody, decorators: [{
|
|
4198
3968
|
type: Component,
|
|
4199
3969
|
args: [{
|
|
4200
3970
|
selector: '[aglTableBody]',
|
|
4201
3971
|
standalone: false,
|
|
4202
3972
|
template: `
|
|
4203
|
-
<ng-container *ngIf="!dataTable.
|
|
3973
|
+
<ng-container *ngIf="!dataTable._expandedRowTemplate()">
|
|
4204
3974
|
<ng-template ngFor let-rowData let-rowIndex="index" [ngForOf]="value" [ngForTrackBy]="dataTable.rowTrackBy">
|
|
4205
3975
|
<ng-container
|
|
4206
|
-
*ngIf="(dataTable.
|
|
3976
|
+
*ngIf="(dataTable._groupHeaderTemplate()) && !dataTable.virtualScroll && dataTable.rowGroupMode === 'subheader' && shouldRenderRowGroupHeader(value, rowData, getRowIndex(rowIndex))"
|
|
4207
3977
|
role="row"
|
|
4208
3978
|
>
|
|
4209
3979
|
<ng-container
|
|
4210
3980
|
*ngTemplateOutlet="
|
|
4211
|
-
dataTable.
|
|
3981
|
+
dataTable._groupHeaderTemplate();
|
|
4212
3982
|
context: {
|
|
4213
3983
|
$implicit: rowData,
|
|
4214
3984
|
rowIndex: getRowIndex(rowIndex),
|
|
@@ -4222,7 +3992,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
4222
3992
|
<ng-container *ngIf="dataTable.rowGroupMode !== 'rowspan'">
|
|
4223
3993
|
<ng-container
|
|
4224
3994
|
*ngTemplateOutlet="
|
|
4225
|
-
rowData ? template : dataTable.
|
|
3995
|
+
rowData ? template : dataTable._loadingBodyTemplate();
|
|
4226
3996
|
context: {
|
|
4227
3997
|
$implicit: rowData,
|
|
4228
3998
|
rowIndex: getRowIndex(rowIndex),
|
|
@@ -4236,7 +4006,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
4236
4006
|
<ng-container *ngIf="dataTable.rowGroupMode === 'rowspan'">
|
|
4237
4007
|
<ng-container
|
|
4238
4008
|
*ngTemplateOutlet="
|
|
4239
|
-
rowData ? template : dataTable.
|
|
4009
|
+
rowData ? template : dataTable._loadingBodyTemplate();
|
|
4240
4010
|
context: {
|
|
4241
4011
|
$implicit: rowData,
|
|
4242
4012
|
rowIndex: getRowIndex(rowIndex),
|
|
@@ -4250,12 +4020,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
4250
4020
|
></ng-container>
|
|
4251
4021
|
</ng-container>
|
|
4252
4022
|
<ng-container
|
|
4253
|
-
*ngIf="(dataTable.
|
|
4023
|
+
*ngIf="(dataTable._groupFooterTemplate()) && !dataTable.virtualScroll && dataTable.rowGroupMode === 'subheader' && shouldRenderRowGroupFooter(value, rowData, getRowIndex(rowIndex))"
|
|
4254
4024
|
role="row"
|
|
4255
4025
|
>
|
|
4256
4026
|
<ng-container
|
|
4257
4027
|
*ngTemplateOutlet="
|
|
4258
|
-
dataTable.
|
|
4028
|
+
dataTable._groupFooterTemplate();
|
|
4259
4029
|
context: {
|
|
4260
4030
|
$implicit: rowData,
|
|
4261
4031
|
rowIndex: getRowIndex(rowIndex),
|
|
@@ -4268,9 +4038,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
4268
4038
|
</ng-container>
|
|
4269
4039
|
</ng-template>
|
|
4270
4040
|
</ng-container>
|
|
4271
|
-
<ng-container *ngIf="(dataTable.
|
|
4041
|
+
<ng-container *ngIf="(dataTable._expandedRowTemplate()) && !(frozen && (dataTable._frozenExpandedRowTemplate()))">
|
|
4272
4042
|
<ng-template ngFor let-rowData let-rowIndex="index" [ngForOf]="value" [ngForTrackBy]="dataTable.rowTrackBy">
|
|
4273
|
-
|
|
4043
|
+
<!-- A guard stood here, inherited verbatim from upstream 21.1.9: it suppressed this row only
|
|
4044
|
+
when a caller supplied a groupheader through BOTH retired routes at once - the aglTemplate
|
|
4045
|
+
switch AND the ng-template #groupheader reference. It joined the two with a conjunction
|
|
4046
|
+
where every sibling gate in this file uses a disjunction, so it was already dead code
|
|
4047
|
+
upstream. PA-1 deletes one of the two routes, so the condition can never be met again and
|
|
4048
|
+
the guard is vacuously true; dropping it is what preserves the behaviour callers actually
|
|
4049
|
+
observed. Collapsing it to a single negated slot instead would NOT be equivalent - it would
|
|
4050
|
+
hide this row for everyone who supplies a groupheader at all, which is a regression, not a
|
|
4051
|
+
migration. Whether upstream meant a disjunction is a behaviour question of its own. -->
|
|
4052
|
+
<ng-container>
|
|
4274
4053
|
<ng-container
|
|
4275
4054
|
*ngTemplateOutlet="
|
|
4276
4055
|
template;
|
|
@@ -4285,10 +4064,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
4285
4064
|
"
|
|
4286
4065
|
></ng-container>
|
|
4287
4066
|
</ng-container>
|
|
4288
|
-
<ng-container *ngIf="(dataTable.
|
|
4067
|
+
<ng-container *ngIf="(dataTable._groupHeaderTemplate()) && dataTable.rowGroupMode === 'subheader' && shouldRenderRowGroupHeader(value, rowData, getRowIndex(rowIndex))" role="row">
|
|
4289
4068
|
<ng-container
|
|
4290
4069
|
*ngTemplateOutlet="
|
|
4291
|
-
dataTable.
|
|
4070
|
+
dataTable._groupHeaderTemplate();
|
|
4292
4071
|
context: {
|
|
4293
4072
|
$implicit: rowData,
|
|
4294
4073
|
rowIndex: getRowIndex(rowIndex),
|
|
@@ -4303,7 +4082,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
4303
4082
|
<ng-container *ngIf="dataTable.isRowExpanded(rowData)">
|
|
4304
4083
|
<ng-container
|
|
4305
4084
|
*ngTemplateOutlet="
|
|
4306
|
-
dataTable.
|
|
4085
|
+
dataTable._expandedRowTemplate();
|
|
4307
4086
|
context: {
|
|
4308
4087
|
$implicit: rowData,
|
|
4309
4088
|
rowIndex: getRowIndex(rowIndex),
|
|
@@ -4312,10 +4091,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
4312
4091
|
}
|
|
4313
4092
|
"
|
|
4314
4093
|
></ng-container>
|
|
4315
|
-
<ng-container *ngIf="(dataTable.
|
|
4094
|
+
<ng-container *ngIf="(dataTable._groupFooterTemplate()) && dataTable.rowGroupMode === 'subheader' && shouldRenderRowGroupFooter(value, rowData, getRowIndex(rowIndex))" role="row">
|
|
4316
4095
|
<ng-container
|
|
4317
4096
|
*ngTemplateOutlet="
|
|
4318
|
-
dataTable.
|
|
4097
|
+
dataTable._groupFooterTemplate();
|
|
4319
4098
|
context: {
|
|
4320
4099
|
$implicit: rowData,
|
|
4321
4100
|
rowIndex: getRowIndex(rowIndex),
|
|
@@ -4330,7 +4109,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
4330
4109
|
</ng-container>
|
|
4331
4110
|
</ng-template>
|
|
4332
4111
|
</ng-container>
|
|
4333
|
-
<ng-container *ngIf="(dataTable.
|
|
4112
|
+
<ng-container *ngIf="(dataTable._frozenExpandedRowTemplate()) && frozen">
|
|
4334
4113
|
<ng-template ngFor let-rowData let-rowIndex="index" [ngForOf]="value" [ngForTrackBy]="dataTable.rowTrackBy">
|
|
4335
4114
|
<ng-container
|
|
4336
4115
|
*ngTemplateOutlet="
|
|
@@ -4348,7 +4127,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
4348
4127
|
<ng-container *ngIf="dataTable.isRowExpanded(rowData)">
|
|
4349
4128
|
<ng-container
|
|
4350
4129
|
*ngTemplateOutlet="
|
|
4351
|
-
dataTable.
|
|
4130
|
+
dataTable._frozenExpandedRowTemplate();
|
|
4352
4131
|
context: {
|
|
4353
4132
|
$implicit: rowData,
|
|
4354
4133
|
rowIndex: getRowIndex(rowIndex),
|
|
@@ -4361,10 +4140,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
4361
4140
|
</ng-template>
|
|
4362
4141
|
</ng-container>
|
|
4363
4142
|
<ng-container *ngIf="dataTable.loading">
|
|
4364
|
-
<ng-container *ngTemplateOutlet="dataTable.
|
|
4143
|
+
<ng-container *ngTemplateOutlet="dataTable._loadingBodyTemplate(); context: { $implicit: columns, frozen: frozen }"></ng-container>
|
|
4365
4144
|
</ng-container>
|
|
4366
4145
|
<ng-container *ngIf="dataTable.isEmpty() && !dataTable.loading">
|
|
4367
|
-
<ng-container *ngTemplateOutlet="dataTable.
|
|
4146
|
+
<ng-container *ngTemplateOutlet="dataTable._emptyMessageTemplate(); context: { $implicit: columns, frozen: frozen }"></ng-container>
|
|
4368
4147
|
</ng-container>
|
|
4369
4148
|
`,
|
|
4370
4149
|
changeDetection: ChangeDetectionStrategy.Default,
|
|
@@ -4400,10 +4179,10 @@ class RowGroupHeader extends BaseComponent {
|
|
|
4400
4179
|
get getFrozenRowGroupHeaderStickyPosition() {
|
|
4401
4180
|
return this.dataTable.rowGroupHeaderStyleObject ? this.dataTable.rowGroupHeaderStyleObject.top : '';
|
|
4402
4181
|
}
|
|
4403
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
4404
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
4182
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: RowGroupHeader, deps: [{ token: Table }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4183
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", type: RowGroupHeader, isStandalone: false, selector: "[aglRowGroupHeader]", host: { properties: { "class": "cx(\"rowGroupHeader\")", "style": "sx(\"rowGroupHeader\")" } }, providers: [TableStyle], usesInheritance: true, ngImport: i0 });
|
|
4405
4184
|
}
|
|
4406
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
4185
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: RowGroupHeader, decorators: [{
|
|
4407
4186
|
type: Directive,
|
|
4408
4187
|
args: [{
|
|
4409
4188
|
selector: '[aglRowGroupHeader]',
|
|
@@ -4500,10 +4279,10 @@ class FrozenColumn extends BaseComponent {
|
|
|
4500
4279
|
this.resizeObserver.disconnect();
|
|
4501
4280
|
}
|
|
4502
4281
|
}
|
|
4503
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
4504
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
4282
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: FrozenColumn, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4283
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", type: FrozenColumn, isStandalone: false, selector: "[aglFrozenColumn]", inputs: { frozen: "frozen", alignFrozen: "alignFrozen" }, host: { properties: { "class": "cx(\"frozenColumn\")" } }, providers: [TableStyle], usesInheritance: true, ngImport: i0 });
|
|
4505
4284
|
}
|
|
4506
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
4285
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: FrozenColumn, decorators: [{
|
|
4507
4286
|
type: Directive,
|
|
4508
4287
|
args: [{
|
|
4509
4288
|
selector: '[aglFrozenColumn]',
|
|
@@ -4584,10 +4363,10 @@ class SortableColumn extends BaseComponent {
|
|
|
4584
4363
|
this.subscription.unsubscribe();
|
|
4585
4364
|
}
|
|
4586
4365
|
}
|
|
4587
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
4588
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.
|
|
4366
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: SortableColumn, deps: [{ token: Table }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4367
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.1.1", type: SortableColumn, isStandalone: false, selector: "[aglSortableColumn]", inputs: { field: ["aglSortableColumn", "field"], aglSortableColumnDisabled: ["aglSortableColumnDisabled", "aglSortableColumnDisabled", booleanAttribute] }, host: { attributes: { "role": "columnheader" }, listeners: { "click": "onClick($event)", "keydown.space": "onEnterKey($event)", "keydown.enter": "onEnterKey($event)" }, properties: { "class": "cx('sortableColumn')", "tabindex": "isEnabled() ? \"0\" : null", "attr.aria-sort": "sortOrder" } }, providers: [TableStyle], usesInheritance: true, ngImport: i0 });
|
|
4589
4368
|
}
|
|
4590
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
4369
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: SortableColumn, decorators: [{
|
|
4591
4370
|
type: Directive,
|
|
4592
4371
|
args: [{
|
|
4593
4372
|
selector: '[aglSortableColumn]',
|
|
@@ -4673,32 +4452,32 @@ class SortIcon extends BaseComponent {
|
|
|
4673
4452
|
this.subscription.unsubscribe();
|
|
4674
4453
|
}
|
|
4675
4454
|
}
|
|
4676
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
4677
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.
|
|
4678
|
-
<ng-container *ngIf="!(dataTable.
|
|
4455
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: SortIcon, deps: [{ token: Table }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4456
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.1", type: SortIcon, isStandalone: false, selector: "agl-sortIcon", inputs: { field: "field" }, providers: [TableStyle], usesInheritance: true, ngImport: i0, template: `
|
|
4457
|
+
<ng-container *ngIf="!(dataTable._sortIconTemplate())">
|
|
4679
4458
|
<svg data-p-icon="sort-alt" [class]="cx('sortableColumnIcon')" *ngIf="sortOrder === 0" />
|
|
4680
4459
|
<svg data-p-icon="sort-amount-up-alt" [class]="cx('sortableColumnIcon')" *ngIf="sortOrder === 1" />
|
|
4681
4460
|
<svg data-p-icon="sort-amount-down" [class]="cx('sortableColumnIcon')" *ngIf="sortOrder === -1" />
|
|
4682
4461
|
</ng-container>
|
|
4683
|
-
<span *ngIf="dataTable.
|
|
4684
|
-
<ng-template *ngTemplateOutlet="dataTable.
|
|
4462
|
+
<span *ngIf="dataTable._sortIconTemplate()" [class]="cx('sortableColumnIcon')">
|
|
4463
|
+
<ng-template *ngTemplateOutlet="dataTable._sortIconTemplate(); context: { $implicit: sortOrder }"></ng-template>
|
|
4685
4464
|
</span>
|
|
4686
4465
|
<agl-badge *ngIf="isMultiSorted()" [class]="cx('sortableColumnBadge')" [value]="getBadgeValue()" size="small"></agl-badge>
|
|
4687
|
-
`, 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(() =>
|
|
4466
|
+
`, 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(() => i5.Badge), selector: "agl-badge", inputs: ["styleClass", "badgeSize", "size", "severity", "value", "badgeDisabled"] }, { 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\"]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4688
4467
|
}
|
|
4689
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
4468
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: SortIcon, decorators: [{
|
|
4690
4469
|
type: Component,
|
|
4691
4470
|
args: [{
|
|
4692
4471
|
selector: 'agl-sortIcon',
|
|
4693
4472
|
standalone: false,
|
|
4694
4473
|
template: `
|
|
4695
|
-
<ng-container *ngIf="!(dataTable.
|
|
4474
|
+
<ng-container *ngIf="!(dataTable._sortIconTemplate())">
|
|
4696
4475
|
<svg data-p-icon="sort-alt" [class]="cx('sortableColumnIcon')" *ngIf="sortOrder === 0" />
|
|
4697
4476
|
<svg data-p-icon="sort-amount-up-alt" [class]="cx('sortableColumnIcon')" *ngIf="sortOrder === 1" />
|
|
4698
4477
|
<svg data-p-icon="sort-amount-down" [class]="cx('sortableColumnIcon')" *ngIf="sortOrder === -1" />
|
|
4699
4478
|
</ng-container>
|
|
4700
|
-
<span *ngIf="dataTable.
|
|
4701
|
-
<ng-template *ngTemplateOutlet="dataTable.
|
|
4479
|
+
<span *ngIf="dataTable._sortIconTemplate()" [class]="cx('sortableColumnIcon')">
|
|
4480
|
+
<ng-template *ngTemplateOutlet="dataTable._sortIconTemplate(); context: { $implicit: sortOrder }"></ng-template>
|
|
4702
4481
|
</span>
|
|
4703
4482
|
<agl-badge *ngIf="isMultiSorted()" [class]="cx('sortableColumnBadge')" [value]="getBadgeValue()" size="small"></agl-badge>
|
|
4704
4483
|
`,
|
|
@@ -4909,10 +4688,10 @@ class SelectableRow extends BaseComponent {
|
|
|
4909
4688
|
this.subscription.unsubscribe();
|
|
4910
4689
|
}
|
|
4911
4690
|
}
|
|
4912
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
4913
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.
|
|
4691
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: SelectableRow, deps: [{ token: Table }, { token: TableService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4692
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.1.1", type: SelectableRow, isStandalone: false, selector: "[aglSelectableRow]", inputs: { data: ["aglSelectableRow", "data"], index: ["aglSelectableRowIndex", "index"], aglSelectableRowDisabled: ["aglSelectableRowDisabled", "aglSelectableRowDisabled", booleanAttribute] }, host: { listeners: { "click": "onClick($event)", "touchend": "onTouchEnd($event)", "keydown": "onKeyDown($event)" }, properties: { "class": "cx('selectableRow')", "tabindex": "setRowTabIndex()", "attr.data-p-selectable-row": "true" } }, providers: [TableStyle], usesInheritance: true, ngImport: i0 });
|
|
4914
4693
|
}
|
|
4915
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
4694
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: SelectableRow, decorators: [{
|
|
4916
4695
|
type: Directive,
|
|
4917
4696
|
args: [{
|
|
4918
4697
|
selector: '[aglSelectableRow]',
|
|
@@ -4984,10 +4763,10 @@ class SelectableRowDblClick extends BaseComponent {
|
|
|
4984
4763
|
this.subscription.unsubscribe();
|
|
4985
4764
|
}
|
|
4986
4765
|
}
|
|
4987
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
4988
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.
|
|
4766
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: SelectableRowDblClick, deps: [{ token: Table }, { token: TableService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4767
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.1.1", type: SelectableRowDblClick, isStandalone: false, selector: "[aglSelectableRowDblClick]", inputs: { data: ["aglSelectableRowDblClick", "data"], index: ["aglSelectableRowIndex", "index"], aglSelectableRowDisabled: ["aglSelectableRowDisabled", "aglSelectableRowDisabled", booleanAttribute] }, host: { listeners: { "dblclick": "onClick($event)" }, properties: { "class": "cx(\"selectableRow\")" } }, providers: [TableStyle], usesInheritance: true, ngImport: i0 });
|
|
4989
4768
|
}
|
|
4990
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
4769
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: SelectableRowDblClick, decorators: [{
|
|
4991
4770
|
type: Directive,
|
|
4992
4771
|
args: [{
|
|
4993
4772
|
selector: '[aglSelectableRowDblClick]',
|
|
@@ -5048,10 +4827,10 @@ class ContextMenuRow extends BaseComponent {
|
|
|
5048
4827
|
this.subscription.unsubscribe();
|
|
5049
4828
|
}
|
|
5050
4829
|
}
|
|
5051
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
5052
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.
|
|
4830
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ContextMenuRow, deps: [{ token: Table }, { token: TableService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4831
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.1.1", type: ContextMenuRow, isStandalone: false, selector: "[aglContextMenuRow]", inputs: { data: ["aglContextMenuRow", "data"], index: ["aglContextMenuRowIndex", "index"], aglContextMenuRowDisabled: ["aglContextMenuRowDisabled", "aglContextMenuRowDisabled", booleanAttribute] }, host: { listeners: { "contextmenu": "onContextMenu($event)" }, properties: { "class": "cx(\"contextMenuRowSelected\")", "attr.tabindex": "isEnabled() ? 0 : undefined" } }, providers: [TableStyle], usesInheritance: true, ngImport: i0 });
|
|
5053
4832
|
}
|
|
5054
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
4833
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ContextMenuRow, decorators: [{
|
|
5055
4834
|
type: Directive,
|
|
5056
4835
|
args: [{
|
|
5057
4836
|
selector: '[aglContextMenuRow]',
|
|
@@ -5092,10 +4871,10 @@ class RowToggler extends BaseComponent {
|
|
|
5092
4871
|
isEnabled() {
|
|
5093
4872
|
return this.aglRowTogglerDisabled !== true;
|
|
5094
4873
|
}
|
|
5095
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
5096
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.
|
|
4874
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: RowToggler, deps: [{ token: Table }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4875
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.1.1", type: RowToggler, isStandalone: false, selector: "[aglRowToggler]", inputs: { data: ["aglRowToggler", "data"], aglRowTogglerDisabled: ["aglRowTogglerDisabled", "aglRowTogglerDisabled", booleanAttribute] }, host: { listeners: { "click": "onClick($event)" } }, usesInheritance: true, ngImport: i0 });
|
|
5097
4876
|
}
|
|
5098
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
4877
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: RowToggler, decorators: [{
|
|
5099
4878
|
type: Directive,
|
|
5100
4879
|
args: [{
|
|
5101
4880
|
selector: '[aglRowToggler]',
|
|
@@ -5200,10 +4979,10 @@ class ResizableColumn extends BaseComponent {
|
|
|
5200
4979
|
}
|
|
5201
4980
|
this.unbindDocumentEvents();
|
|
5202
4981
|
}
|
|
5203
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
5204
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.
|
|
4982
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ResizableColumn, deps: [{ token: Table }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4983
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.1.1", type: ResizableColumn, isStandalone: false, selector: "[aglResizableColumn]", inputs: { aglResizableColumnDisabled: ["aglResizableColumnDisabled", "aglResizableColumnDisabled", booleanAttribute] }, host: { properties: { "class": "cx('resizableColumn')" } }, providers: [TableStyle], usesInheritance: true, ngImport: i0 });
|
|
5205
4984
|
}
|
|
5206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
4985
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ResizableColumn, decorators: [{
|
|
5207
4986
|
type: Directive,
|
|
5208
4987
|
args: [{
|
|
5209
4988
|
selector: '[aglResizableColumn]',
|
|
@@ -5301,10 +5080,10 @@ class ReorderableColumn extends BaseComponent {
|
|
|
5301
5080
|
onDestroy() {
|
|
5302
5081
|
this.unbindEvents();
|
|
5303
5082
|
}
|
|
5304
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
5305
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.
|
|
5083
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ReorderableColumn, deps: [{ token: Table }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5084
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.1.1", type: ReorderableColumn, isStandalone: false, selector: "[aglReorderableColumn]", inputs: { aglReorderableColumnDisabled: ["aglReorderableColumnDisabled", "aglReorderableColumnDisabled", booleanAttribute] }, host: { listeners: { "drop": "onDrop($event)" }, properties: { "class": "cx('reorderableColumn')" } }, providers: [TableStyle], usesInheritance: true, ngImport: i0 });
|
|
5306
5085
|
}
|
|
5307
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
5086
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ReorderableColumn, decorators: [{
|
|
5308
5087
|
type: Directive,
|
|
5309
5088
|
args: [{
|
|
5310
5089
|
selector: '[aglReorderableColumn]',
|
|
@@ -5607,10 +5386,10 @@ class EditableColumn extends BaseComponent {
|
|
|
5607
5386
|
this.dataTable.overlaySubscription.unsubscribe();
|
|
5608
5387
|
}
|
|
5609
5388
|
}
|
|
5610
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
5611
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.
|
|
5389
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: EditableColumn, deps: [{ token: Table }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5390
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.1.1", type: EditableColumn, isStandalone: false, selector: "[aglEditableColumn]", inputs: { data: ["aglEditableColumn", "data"], field: ["aglEditableColumnField", "field"], rowIndex: ["aglEditableColumnRowIndex", "rowIndex"], aglEditableColumnDisabled: ["aglEditableColumnDisabled", "aglEditableColumnDisabled", booleanAttribute], aglFocusCellSelector: "aglFocusCellSelector" }, host: { listeners: { "click": "onClick($event)", "keydown.enter": "onEnterKeyDown($event)", "keydown.tab": "onShiftKeyDown($event)", "keydown.escape": "onEscapeKeyDown($event)", "keydown.shift.tab": "onShiftKeyDown($event)", "keydown.meta.tab": "onShiftKeyDown($event)", "keydown.arrowdown": "onArrowDown($event)", "keydown.arrowup": "onArrowUp($event)", "keydown.arrowleft": "onArrowLeft($event)", "keydown.arrowright": "onArrowRight($event)" }, properties: { "attr.data-p-editable-column": "true" } }, usesInheritance: true, ngImport: i0 });
|
|
5612
5391
|
}
|
|
5613
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
5392
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: EditableColumn, decorators: [{
|
|
5614
5393
|
type: Directive,
|
|
5615
5394
|
args: [{
|
|
5616
5395
|
selector: '[aglEditableColumn]',
|
|
@@ -5673,10 +5452,10 @@ class EditableRow extends BaseComponent {
|
|
|
5673
5452
|
isEnabled() {
|
|
5674
5453
|
return this.aglEditableRowDisabled !== true;
|
|
5675
5454
|
}
|
|
5676
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
5677
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.
|
|
5455
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: EditableRow, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
5456
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.1.1", type: EditableRow, isStandalone: false, selector: "[aglEditableRow]", inputs: { data: ["aglEditableRow", "data"], aglEditableRowDisabled: ["aglEditableRowDisabled", "aglEditableRowDisabled", booleanAttribute] }, usesInheritance: true, ngImport: i0 });
|
|
5678
5457
|
}
|
|
5679
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
5458
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: EditableRow, decorators: [{
|
|
5680
5459
|
type: Directive,
|
|
5681
5460
|
args: [{
|
|
5682
5461
|
selector: '[aglEditableRow]',
|
|
@@ -5701,10 +5480,10 @@ class InitEditableRow extends BaseComponent {
|
|
|
5701
5480
|
this.dataTable.initRowEdit(this.editableRow.data);
|
|
5702
5481
|
event.preventDefault();
|
|
5703
5482
|
}
|
|
5704
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
5705
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
5483
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: InitEditableRow, deps: [{ token: Table }, { token: EditableRow }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5484
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", type: InitEditableRow, isStandalone: false, selector: "[aglInitEditableRow]", host: { listeners: { "click": "onClick($event)" }, classAttribute: "p-datatable-row-editor-init" }, usesInheritance: true, ngImport: i0 });
|
|
5706
5485
|
}
|
|
5707
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
5486
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: InitEditableRow, decorators: [{
|
|
5708
5487
|
type: Directive,
|
|
5709
5488
|
args: [{
|
|
5710
5489
|
selector: '[aglInitEditableRow]',
|
|
@@ -5729,10 +5508,10 @@ class SaveEditableRow extends BaseComponent {
|
|
|
5729
5508
|
this.dataTable.saveRowEdit(this.editableRow.data, this.editableRow.el.nativeElement);
|
|
5730
5509
|
event.preventDefault();
|
|
5731
5510
|
}
|
|
5732
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
5733
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
5511
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: SaveEditableRow, deps: [{ token: Table }, { token: EditableRow }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5512
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", type: SaveEditableRow, isStandalone: false, selector: "[aglSaveEditableRow]", host: { listeners: { "click": "onClick($event)" }, classAttribute: "p-datatable-row-editor-save" }, usesInheritance: true, ngImport: i0 });
|
|
5734
5513
|
}
|
|
5735
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
5514
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: SaveEditableRow, decorators: [{
|
|
5736
5515
|
type: Directive,
|
|
5737
5516
|
args: [{
|
|
5738
5517
|
selector: '[aglSaveEditableRow]',
|
|
@@ -5758,10 +5537,10 @@ class CancelEditableRow extends BaseComponent {
|
|
|
5758
5537
|
this.dataTable.cancelRowEdit(this.editableRow.data);
|
|
5759
5538
|
event.preventDefault();
|
|
5760
5539
|
}
|
|
5761
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
5762
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
5540
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: CancelEditableRow, deps: [{ token: Table }, { token: EditableRow }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5541
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", type: CancelEditableRow, isStandalone: false, selector: "[aglCancelEditableRow]", host: { listeners: { "click": "onClick($event)" }, properties: { "class": "cx('rowEditorCancel')" } }, providers: [TableStyle], usesInheritance: true, ngImport: i0 });
|
|
5763
5542
|
}
|
|
5764
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
5543
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: CancelEditableRow, decorators: [{
|
|
5765
5544
|
type: Directive,
|
|
5766
5545
|
args: [{
|
|
5767
5546
|
selector: '[aglCancelEditableRow]',
|
|
@@ -5779,43 +5558,30 @@ class CellEditor extends BaseComponent {
|
|
|
5779
5558
|
dataTable;
|
|
5780
5559
|
editableColumn;
|
|
5781
5560
|
editableRow;
|
|
5782
|
-
|
|
5783
|
-
_inputTemplate;
|
|
5784
|
-
_outputTemplate
|
|
5785
|
-
|
|
5786
|
-
outputTemplate;
|
|
5561
|
+
_inputTemplate = contentChild('input', /* @ts-ignore */
|
|
5562
|
+
...(ngDevMode ? [{ debugName: "_inputTemplate" }] : /* istanbul ignore next */ []));
|
|
5563
|
+
_outputTemplate = contentChild('output', /* @ts-ignore */
|
|
5564
|
+
...(ngDevMode ? [{ debugName: "_outputTemplate" }] : /* istanbul ignore next */ []));
|
|
5787
5565
|
constructor(dataTable, editableColumn, editableRow) {
|
|
5788
5566
|
super();
|
|
5789
5567
|
this.dataTable = dataTable;
|
|
5790
5568
|
this.editableColumn = editableColumn;
|
|
5791
5569
|
this.editableRow = editableRow;
|
|
5792
5570
|
}
|
|
5793
|
-
onAfterContentInit() {
|
|
5794
|
-
this._templates.forEach((item) => {
|
|
5795
|
-
switch (item.getType()) {
|
|
5796
|
-
case 'input':
|
|
5797
|
-
this.inputTemplate = item.template;
|
|
5798
|
-
break;
|
|
5799
|
-
case 'output':
|
|
5800
|
-
this.outputTemplate = item.template;
|
|
5801
|
-
break;
|
|
5802
|
-
}
|
|
5803
|
-
});
|
|
5804
|
-
}
|
|
5805
5571
|
get editing() {
|
|
5806
5572
|
return ((this.dataTable.editingCell && this.editableColumn && this.dataTable.editingCell === this.editableColumn.el.nativeElement) || (this.editableRow && this.dataTable.editMode === 'row' && this.dataTable.isRowEditing(this.editableRow.data)));
|
|
5807
5573
|
}
|
|
5808
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
5809
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
5574
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: CellEditor, deps: [{ token: Table }, { token: EditableColumn, optional: true }, { token: EditableRow, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
5575
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.1", type: CellEditor, isStandalone: false, selector: "agl-cellEditor", queries: [{ propertyName: "_inputTemplate", first: true, predicate: ["input"], descendants: true, isSignal: true }, { propertyName: "_outputTemplate", first: true, predicate: ["output"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `
|
|
5810
5576
|
<ng-container *ngIf="editing">
|
|
5811
|
-
<ng-container *ngTemplateOutlet="
|
|
5577
|
+
<ng-container *ngTemplateOutlet="_inputTemplate()"></ng-container>
|
|
5812
5578
|
</ng-container>
|
|
5813
5579
|
<ng-container *ngIf="!editing">
|
|
5814
|
-
<ng-container *ngTemplateOutlet="
|
|
5580
|
+
<ng-container *ngTemplateOutlet="_outputTemplate()"></ng-container>
|
|
5815
5581
|
</ng-container>
|
|
5816
5582
|
`, 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 });
|
|
5817
5583
|
}
|
|
5818
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
5584
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: CellEditor, decorators: [{
|
|
5819
5585
|
type: Component,
|
|
5820
5586
|
args: [{
|
|
5821
5587
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
@@ -5823,10 +5589,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
5823
5589
|
standalone: false,
|
|
5824
5590
|
template: `
|
|
5825
5591
|
<ng-container *ngIf="editing">
|
|
5826
|
-
<ng-container *ngTemplateOutlet="
|
|
5592
|
+
<ng-container *ngTemplateOutlet="_inputTemplate()"></ng-container>
|
|
5827
5593
|
</ng-container>
|
|
5828
5594
|
<ng-container *ngIf="!editing">
|
|
5829
|
-
<ng-container *ngTemplateOutlet="
|
|
5595
|
+
<ng-container *ngTemplateOutlet="_outputTemplate()"></ng-container>
|
|
5830
5596
|
</ng-container>
|
|
5831
5597
|
`,
|
|
5832
5598
|
encapsulation: ViewEncapsulation.None
|
|
@@ -5835,16 +5601,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
5835
5601
|
type: Optional
|
|
5836
5602
|
}] }, { type: EditableRow, decorators: [{
|
|
5837
5603
|
type: Optional
|
|
5838
|
-
}] }], propDecorators: {
|
|
5839
|
-
type: ContentChildren,
|
|
5840
|
-
args: [AglTemplate]
|
|
5841
|
-
}], _inputTemplate: [{
|
|
5842
|
-
type: ContentChild,
|
|
5843
|
-
args: ['input']
|
|
5844
|
-
}], _outputTemplate: [{
|
|
5845
|
-
type: ContentChild,
|
|
5846
|
-
args: ['output']
|
|
5847
|
-
}] } });
|
|
5604
|
+
}] }], propDecorators: { _inputTemplate: [{ type: i0.ContentChild, args: ['input', { isSignal: true }] }], _outputTemplate: [{ type: i0.ContentChild, args: ['output', { isSignal: true }] }] } });
|
|
5848
5605
|
class TableRadioButton extends BaseComponent {
|
|
5849
5606
|
dataTable;
|
|
5850
5607
|
cd;
|
|
@@ -5887,10 +5644,10 @@ class TableRadioButton extends BaseComponent {
|
|
|
5887
5644
|
this.subscription.unsubscribe();
|
|
5888
5645
|
}
|
|
5889
5646
|
}
|
|
5890
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
5891
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.
|
|
5647
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TableRadioButton, deps: [{ token: Table }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5648
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.1", type: TableRadioButton, isStandalone: false, selector: "agl-tableRadioButton", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: false, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, index: { classPropertyName: "index", publicName: "index", isSignal: true, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: false, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "inputViewChild", first: true, predicate: ["rb"], descendants: true }], usesInheritance: true, ngImport: i0, template: `<agl-radioButton #rb [(ngModel)]="checked" [disabled]="disabled()" [inputId]="inputId()" [name]="name()" [ariaLabel]="ariaLabel" [binary]="true" [value]="value" (onClick)="onClick($event)" [unstyled]="unstyled()" /> `, isInline: true, dependencies: [{ kind: "directive", type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i7.RadioButton, selector: "agl-radioButton, agl-radiobutton, agl-radio-button", inputs: ["value", "tabindex", "inputId", "ariaLabelledBy", "ariaLabel", "styleClass", "autofocus", "binary", "variant", "size"], outputs: ["onClick", "onFocus", "onBlur"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5892
5649
|
}
|
|
5893
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
5650
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TableRadioButton, decorators: [{
|
|
5894
5651
|
type: Component,
|
|
5895
5652
|
args: [{
|
|
5896
5653
|
selector: 'agl-tableRadioButton',
|
|
@@ -5948,26 +5705,26 @@ class TableCheckbox extends BaseComponent {
|
|
|
5948
5705
|
this.subscription.unsubscribe();
|
|
5949
5706
|
}
|
|
5950
5707
|
}
|
|
5951
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
5952
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
5708
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TableCheckbox, deps: [{ token: Table }, { token: TableService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5709
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: TableCheckbox, isStandalone: false, selector: "agl-tableCheckbox", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: false, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, index: { classPropertyName: "index", publicName: "index", isSignal: true, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: false, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: `
|
|
5953
5710
|
<agl-checkbox [(ngModel)]="checked" [binary]="true" (onChange)="onClick($event)" [required]="required()" [disabled]="disabled()" [inputId]="inputId()" [name]="name()" [ariaLabel]="ariaLabel" [unstyled]="unstyled()">
|
|
5954
|
-
@if (dataTable.
|
|
5955
|
-
<ng-template
|
|
5711
|
+
@if (dataTable._checkboxIconTemplate(); as template) {
|
|
5712
|
+
<ng-template #icon >
|
|
5956
5713
|
<ng-template *ngTemplateOutlet="template; context: { $implicit: checked }" />
|
|
5957
5714
|
</ng-template>
|
|
5958
5715
|
}
|
|
5959
5716
|
</agl-checkbox>
|
|
5960
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type:
|
|
5717
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i6.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i8.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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5961
5718
|
}
|
|
5962
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
5719
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TableCheckbox, decorators: [{
|
|
5963
5720
|
type: Component,
|
|
5964
5721
|
args: [{
|
|
5965
5722
|
selector: 'agl-tableCheckbox',
|
|
5966
5723
|
standalone: false,
|
|
5967
5724
|
template: `
|
|
5968
5725
|
<agl-checkbox [(ngModel)]="checked" [binary]="true" (onChange)="onClick($event)" [required]="required()" [disabled]="disabled()" [inputId]="inputId()" [name]="name()" [ariaLabel]="ariaLabel" [unstyled]="unstyled()">
|
|
5969
|
-
@if (dataTable.
|
|
5970
|
-
<ng-template
|
|
5726
|
+
@if (dataTable._checkboxIconTemplate(); as template) {
|
|
5727
|
+
<ng-template #icon >
|
|
5971
5728
|
<ng-template *ngTemplateOutlet="template; context: { $implicit: checked }" />
|
|
5972
5729
|
</ng-template>
|
|
5973
5730
|
}
|
|
@@ -6044,26 +5801,26 @@ class TableHeaderCheckbox extends BaseComponent {
|
|
|
6044
5801
|
return ObjectUtils.isNotEmpty(selectableVal) && ObjectUtils.isNotEmpty(this.dataTable.selection) && selectableVal.every((v) => this.dataTable.selection.some((s) => this.dataTable.equals(v, s)));
|
|
6045
5802
|
}
|
|
6046
5803
|
}
|
|
6047
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
6048
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
5804
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TableHeaderCheckbox, deps: [{ token: Table }, { token: TableService }], target: i0.ɵɵFactoryTarget.Component });
|
|
5805
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: TableHeaderCheckbox, isStandalone: false, selector: "agl-tableHeaderCheckbox", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: false, isRequired: false, transformFunction: null } }, usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
6049
5806
|
<agl-checkbox [pt]="ptm('pcCheckbox')" [(ngModel)]="checked" (onChange)="onClick($event)" [binary]="true" [disabled]="isDisabled()" [inputId]="inputId()" [name]="name()" [ariaLabel]="ariaLabel" [unstyled]="unstyled()">
|
|
6050
|
-
@if (dataTable.
|
|
6051
|
-
<ng-template
|
|
5807
|
+
@if (dataTable._headerCheckboxIconTemplate(); as template) {
|
|
5808
|
+
<ng-template #icon >
|
|
6052
5809
|
<ng-template *ngTemplateOutlet="template; context: { $implicit: checked }" />
|
|
6053
5810
|
</ng-template>
|
|
6054
5811
|
}
|
|
6055
5812
|
</agl-checkbox>
|
|
6056
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type:
|
|
5813
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i8.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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
6057
5814
|
}
|
|
6058
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
5815
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TableHeaderCheckbox, decorators: [{
|
|
6059
5816
|
type: Component,
|
|
6060
5817
|
args: [{
|
|
6061
5818
|
selector: 'agl-tableHeaderCheckbox',
|
|
6062
5819
|
standalone: false,
|
|
6063
5820
|
template: `
|
|
6064
5821
|
<agl-checkbox [pt]="ptm('pcCheckbox')" [(ngModel)]="checked" (onChange)="onClick($event)" [binary]="true" [disabled]="isDisabled()" [inputId]="inputId()" [name]="name()" [ariaLabel]="ariaLabel" [unstyled]="unstyled()">
|
|
6065
|
-
@if (dataTable.
|
|
6066
|
-
<ng-template
|
|
5822
|
+
@if (dataTable._headerCheckboxIconTemplate(); as template) {
|
|
5823
|
+
<ng-template #icon >
|
|
6067
5824
|
<ng-template *ngTemplateOutlet="template; context: { $implicit: checked }" />
|
|
6068
5825
|
</ng-template>
|
|
6069
5826
|
}
|
|
@@ -6091,10 +5848,10 @@ class ReorderableRowHandle extends BaseComponent {
|
|
|
6091
5848
|
onAfterViewInit() {
|
|
6092
5849
|
// DomHandler.addClass(this.el.nativeElement, 'p-datatable-reorderable-row-handle');
|
|
6093
5850
|
}
|
|
6094
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
6095
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
5851
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ReorderableRowHandle, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5852
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.1", type: ReorderableRowHandle, isStandalone: false, selector: "[aglReorderableRowHandle]", host: { properties: { "class": "cx('reorderableRowHandle')" } }, providers: [TableStyle], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
|
|
6096
5853
|
}
|
|
6097
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
5854
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ReorderableRowHandle, decorators: [{
|
|
6098
5855
|
type: Directive,
|
|
6099
5856
|
args: [{
|
|
6100
5857
|
selector: '[aglReorderableRowHandle]',
|
|
@@ -6204,10 +5961,10 @@ class ReorderableRow extends BaseComponent {
|
|
|
6204
5961
|
onDestroy() {
|
|
6205
5962
|
this.unbindEvents();
|
|
6206
5963
|
}
|
|
6207
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
6208
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.
|
|
5964
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ReorderableRow, deps: [{ token: Table }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5965
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.1.1", type: ReorderableRow, isStandalone: false, selector: "[aglReorderableRow]", inputs: { index: ["aglReorderableRow", "index"], aglReorderableRowDisabled: ["aglReorderableRowDisabled", "aglReorderableRowDisabled", booleanAttribute] }, host: { listeners: { "drop": "onDrop($event)" } }, usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0 });
|
|
6209
5966
|
}
|
|
6210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
5967
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ReorderableRow, decorators: [{
|
|
6211
5968
|
type: Directive,
|
|
6212
5969
|
args: [{
|
|
6213
5970
|
selector: '[aglReorderableRow]',
|
|
@@ -6431,7 +6188,6 @@ class ColumnFilter extends BaseComponent {
|
|
|
6431
6188
|
onHide = new EventEmitter();
|
|
6432
6189
|
icon;
|
|
6433
6190
|
clearButtonViewChild;
|
|
6434
|
-
_templates;
|
|
6435
6191
|
overlaySubscription;
|
|
6436
6192
|
renderOverlay = signal(false, /* @ts-ignore */
|
|
6437
6193
|
...(ngDevMode ? [{ debugName: "renderOverlay" }] : /* istanbul ignore next */ []));
|
|
@@ -6439,40 +6195,32 @@ class ColumnFilter extends BaseComponent {
|
|
|
6439
6195
|
* Custom header template.
|
|
6440
6196
|
* @group Templates
|
|
6441
6197
|
*/
|
|
6442
|
-
headerTemplate;
|
|
6443
|
-
_headerTemplate;
|
|
6198
|
+
headerTemplate = contentChild('header', { ...(ngDevMode ? { debugName: "headerTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
6444
6199
|
/**
|
|
6445
6200
|
* Custom filter template.
|
|
6446
6201
|
* @group Templates
|
|
6447
6202
|
*/
|
|
6448
|
-
filterTemplate;
|
|
6449
|
-
_filterTemplate;
|
|
6203
|
+
filterTemplate = contentChild('filter', { ...(ngDevMode ? { debugName: "filterTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
6450
6204
|
/**
|
|
6451
6205
|
* Custom footer template.
|
|
6452
6206
|
* @group Templates
|
|
6453
6207
|
*/
|
|
6454
|
-
footerTemplate;
|
|
6455
|
-
_footerTemplate;
|
|
6208
|
+
footerTemplate = contentChild('footer', { ...(ngDevMode ? { debugName: "footerTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
6456
6209
|
/**
|
|
6457
6210
|
* Custom filter icon template.
|
|
6458
6211
|
* @group Templates
|
|
6459
6212
|
*/
|
|
6460
|
-
filterIconTemplate;
|
|
6461
|
-
_filterIconTemplate;
|
|
6213
|
+
filterIconTemplate = contentChild('filtericon', { ...(ngDevMode ? { debugName: "filterIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
6462
6214
|
/**
|
|
6463
6215
|
* Custom remove rule button icon template.
|
|
6464
6216
|
* @group Templates
|
|
6465
6217
|
*/
|
|
6466
|
-
removeRuleIconTemplate;
|
|
6467
|
-
_removeRuleIconTemplate;
|
|
6218
|
+
removeRuleIconTemplate = contentChild('removeruleicon', { ...(ngDevMode ? { debugName: "removeRuleIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
6468
6219
|
/**
|
|
6469
6220
|
* Custom add rule button icon template.
|
|
6470
6221
|
* @group Templates
|
|
6471
6222
|
*/
|
|
6472
|
-
addRuleIconTemplate;
|
|
6473
|
-
_addRuleIconTemplate;
|
|
6474
|
-
clearFilterIconTemplate;
|
|
6475
|
-
_clearFilterIconTemplate;
|
|
6223
|
+
addRuleIconTemplate = contentChild('addruleicon', { ...(ngDevMode ? { debugName: "addRuleIconTemplate" } : /* istanbul ignore next */ {}), descendants: false });
|
|
6476
6224
|
operatorOptions;
|
|
6477
6225
|
overlayVisible;
|
|
6478
6226
|
overlay;
|
|
@@ -6566,36 +6314,6 @@ class ColumnFilter extends BaseComponent {
|
|
|
6566
6314
|
}
|
|
6567
6315
|
];
|
|
6568
6316
|
}
|
|
6569
|
-
onAfterContentInit() {
|
|
6570
|
-
this._templates.forEach((item) => {
|
|
6571
|
-
switch (item.getType()) {
|
|
6572
|
-
case 'header':
|
|
6573
|
-
this._headerTemplate = item.template;
|
|
6574
|
-
break;
|
|
6575
|
-
case 'filter':
|
|
6576
|
-
this._filterTemplate = item.template;
|
|
6577
|
-
break;
|
|
6578
|
-
case 'footer':
|
|
6579
|
-
this._footerTemplate = item.template;
|
|
6580
|
-
break;
|
|
6581
|
-
case 'filtericon':
|
|
6582
|
-
this._filterIconTemplate = item.template;
|
|
6583
|
-
break;
|
|
6584
|
-
case 'clearfiltericon':
|
|
6585
|
-
this._clearFilterIconTemplate = item.template;
|
|
6586
|
-
break;
|
|
6587
|
-
case 'removeruleicon':
|
|
6588
|
-
this._removeRuleIconTemplate = item.template;
|
|
6589
|
-
break;
|
|
6590
|
-
case 'addruleicon':
|
|
6591
|
-
this._addRuleIconTemplate = item.template;
|
|
6592
|
-
break;
|
|
6593
|
-
default:
|
|
6594
|
-
this._filterTemplate = item.template;
|
|
6595
|
-
break;
|
|
6596
|
-
}
|
|
6597
|
-
});
|
|
6598
|
-
}
|
|
6599
6317
|
initFieldFilterConstraint() {
|
|
6600
6318
|
let defaultMatchMode = this.getDefaultMatchMode();
|
|
6601
6319
|
this.dataTable.filters[this.field] =
|
|
@@ -6898,8 +6616,8 @@ class ColumnFilter extends BaseComponent {
|
|
|
6898
6616
|
this.overlaySubscription.unsubscribe();
|
|
6899
6617
|
}
|
|
6900
6618
|
}
|
|
6901
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
6902
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
6619
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ColumnFilter, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
6620
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: ColumnFilter, isStandalone: false, selector: "agl-columnFilter, agl-column-filter, agl-columnfilter", inputs: { field: { classPropertyName: "field", publicName: "field", isSignal: false, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: false, isRequired: false, transformFunction: null }, display: { classPropertyName: "display", publicName: "display", isSignal: false, isRequired: false, transformFunction: null }, showMenu: { classPropertyName: "showMenu", publicName: "showMenu", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, matchMode: { classPropertyName: "matchMode", publicName: "matchMode", isSignal: false, isRequired: false, transformFunction: null }, operator: { classPropertyName: "operator", publicName: "operator", isSignal: false, isRequired: false, transformFunction: null }, showOperator: { classPropertyName: "showOperator", publicName: "showOperator", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, showClearButton: { classPropertyName: "showClearButton", publicName: "showClearButton", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, showApplyButton: { classPropertyName: "showApplyButton", publicName: "showApplyButton", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, showMatchModes: { classPropertyName: "showMatchModes", publicName: "showMatchModes", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, showAddButton: { classPropertyName: "showAddButton", publicName: "showAddButton", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, hideOnClear: { classPropertyName: "hideOnClear", publicName: "hideOnClear", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: false, isRequired: false, transformFunction: null }, matchModeOptions: { classPropertyName: "matchModeOptions", publicName: "matchModeOptions", isSignal: false, isRequired: false, transformFunction: null }, maxConstraints: { classPropertyName: "maxConstraints", publicName: "maxConstraints", isSignal: false, isRequired: false, transformFunction: numberAttribute }, minFractionDigits: { classPropertyName: "minFractionDigits", publicName: "minFractionDigits", isSignal: false, isRequired: false, transformFunction: (value) => numberAttribute(value, undefined) }, maxFractionDigits: { classPropertyName: "maxFractionDigits", publicName: "maxFractionDigits", isSignal: false, isRequired: false, transformFunction: (value) => numberAttribute(value, undefined) }, prefix: { classPropertyName: "prefix", publicName: "prefix", isSignal: false, isRequired: false, transformFunction: null }, suffix: { classPropertyName: "suffix", publicName: "suffix", isSignal: false, isRequired: false, transformFunction: null }, locale: { classPropertyName: "locale", publicName: "locale", isSignal: false, isRequired: false, transformFunction: null }, localeMatcher: { classPropertyName: "localeMatcher", publicName: "localeMatcher", isSignal: false, isRequired: false, transformFunction: null }, currency: { classPropertyName: "currency", publicName: "currency", isSignal: false, isRequired: false, transformFunction: null }, currencyDisplay: { classPropertyName: "currencyDisplay", publicName: "currencyDisplay", isSignal: false, isRequired: false, transformFunction: null }, filterOn: { classPropertyName: "filterOn", publicName: "filterOn", isSignal: false, isRequired: false, transformFunction: null }, useGrouping: { classPropertyName: "useGrouping", publicName: "useGrouping", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, showButtons: { classPropertyName: "showButtons", publicName: "showButtons", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: false, isRequired: false, transformFunction: null }, filterButtonProps: { classPropertyName: "filterButtonProps", publicName: "filterButtonProps", isSignal: false, isRequired: false, transformFunction: null }, motionOptions: { classPropertyName: "motionOptions", publicName: "motionOptions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onShow: "onShow", onHide: "onHide" }, providers: [TableStyle], queries: [{ propertyName: "headerTemplate", first: true, predicate: ["header"], isSignal: true }, { propertyName: "filterTemplate", first: true, predicate: ["filter"], isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: ["footer"], isSignal: true }, { propertyName: "filterIconTemplate", first: true, predicate: ["filtericon"], isSignal: true }, { propertyName: "removeRuleIconTemplate", first: true, predicate: ["removeruleicon"], isSignal: true }, { propertyName: "addRuleIconTemplate", first: true, predicate: ["addruleicon"], isSignal: true }], viewQueries: [{ propertyName: "icon", first: true, predicate: Button, descendants: true, read: ElementRef }, { propertyName: "clearButtonViewChild", first: true, predicate: ["clearBtn"], descendants: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
6903
6621
|
<div [class]="cx('filter')">
|
|
6904
6622
|
<agl-columnFilterFormElement
|
|
6905
6623
|
*ngIf="display === 'row'"
|
|
@@ -6908,7 +6626,7 @@ class ColumnFilter extends BaseComponent {
|
|
|
6908
6626
|
[field]="field"
|
|
6909
6627
|
[ariaLabel]="ariaLabel"
|
|
6910
6628
|
[filterConstraint]="dataTable.filters[field]"
|
|
6911
|
-
[filterTemplate]="filterTemplate
|
|
6629
|
+
[filterTemplate]="filterTemplate()"
|
|
6912
6630
|
[placeholder]="placeholder"
|
|
6913
6631
|
[minFractionDigits]="minFractionDigits"
|
|
6914
6632
|
[maxFractionDigits]="maxFractionDigits"
|
|
@@ -6940,10 +6658,10 @@ class ColumnFilter extends BaseComponent {
|
|
|
6940
6658
|
>
|
|
6941
6659
|
<ng-template #icon>
|
|
6942
6660
|
<ng-container>
|
|
6943
|
-
<svg data-p-icon="filter" *ngIf="!filterIconTemplate && !
|
|
6944
|
-
<svg data-p-icon="filter-fill" *ngIf="!filterIconTemplate &&
|
|
6945
|
-
<span *ngIf="filterIconTemplate
|
|
6946
|
-
<ng-template *ngTemplateOutlet="filterIconTemplate
|
|
6661
|
+
<svg data-p-icon="filter" *ngIf="!filterIconTemplate() && !hasFilter" [aglBind]="ptm('pcColumnFilterButton')['icon']" />
|
|
6662
|
+
<svg data-p-icon="filter-fill" *ngIf="!filterIconTemplate() && hasFilter" [aglBind]="ptm('pcColumnFilterButton')['icon']" />
|
|
6663
|
+
<span *ngIf="filterIconTemplate()" [aglBind]="ptm('pcColumnFilterButton')['icon']" [attr.data-pc-section]="'columnfilterbuttonicon'">
|
|
6664
|
+
<ng-template *ngTemplateOutlet="filterIconTemplate(); context: { hasFilter: hasFilter }"></ng-template>
|
|
6947
6665
|
</span>
|
|
6948
6666
|
</ng-container>
|
|
6949
6667
|
</ng-template>
|
|
@@ -6964,7 +6682,7 @@ class ColumnFilter extends BaseComponent {
|
|
|
6964
6682
|
(click)="onContentClick()"
|
|
6965
6683
|
(keydown.escape)="onEscape()"
|
|
6966
6684
|
>
|
|
6967
|
-
<ng-container *ngTemplateOutlet="headerTemplate
|
|
6685
|
+
<ng-container *ngTemplateOutlet="headerTemplate(); context: { $implicit: field }"></ng-container>
|
|
6968
6686
|
<ul *ngIf="display === 'row'; else menu" [class]="cx('filterConstraintList')" [aglBind]="ptm('filterConstraintList')">
|
|
6969
6687
|
<li
|
|
6970
6688
|
*ngFor="let matchMode of matchModes; let i = index"
|
|
@@ -7002,7 +6720,7 @@ class ColumnFilter extends BaseComponent {
|
|
|
7002
6720
|
[type]="type"
|
|
7003
6721
|
[field]="field"
|
|
7004
6722
|
[filterConstraint]="fieldConstraint"
|
|
7005
|
-
[filterTemplate]="filterTemplate
|
|
6723
|
+
[filterTemplate]="filterTemplate()"
|
|
7006
6724
|
[placeholder]="placeholder"
|
|
7007
6725
|
[minFractionDigits]="minFractionDigits"
|
|
7008
6726
|
[maxFractionDigits]="maxFractionDigits"
|
|
@@ -7032,8 +6750,8 @@ class ColumnFilter extends BaseComponent {
|
|
|
7032
6750
|
[unstyled]="unstyled()"
|
|
7033
6751
|
>
|
|
7034
6752
|
<ng-template #icon>
|
|
7035
|
-
<svg data-p-icon="trash" *ngIf="!removeRuleIconTemplate
|
|
7036
|
-
<ng-template *ngTemplateOutlet="removeRuleIconTemplate
|
|
6753
|
+
<svg data-p-icon="trash" *ngIf="!removeRuleIconTemplate()" [aglBind]="ptm('pcFilterRemoveRuleButton')['icon']" />
|
|
6754
|
+
<ng-template *ngTemplateOutlet="removeRuleIconTemplate()"></ng-template>
|
|
7037
6755
|
</ng-template>
|
|
7038
6756
|
</agl-button>
|
|
7039
6757
|
</div>
|
|
@@ -7053,8 +6771,8 @@ class ColumnFilter extends BaseComponent {
|
|
|
7053
6771
|
[unstyled]="unstyled()"
|
|
7054
6772
|
>
|
|
7055
6773
|
<ng-template #icon>
|
|
7056
|
-
<svg data-p-icon="plus" *ngIf="!addRuleIconTemplate
|
|
7057
|
-
<ng-template *ngTemplateOutlet="addRuleIconTemplate
|
|
6774
|
+
<svg data-p-icon="plus" *ngIf="!addRuleIconTemplate()" [aglBind]="ptm('pcAddRuleButtonLabel')['icon']" />
|
|
6775
|
+
<ng-template *ngTemplateOutlet="addRuleIconTemplate()"></ng-template>
|
|
7058
6776
|
</ng-template>
|
|
7059
6777
|
</agl-button>
|
|
7060
6778
|
}
|
|
@@ -7082,13 +6800,13 @@ class ColumnFilter extends BaseComponent {
|
|
|
7082
6800
|
/>
|
|
7083
6801
|
</div>
|
|
7084
6802
|
</ng-template>
|
|
7085
|
-
<ng-container *ngTemplateOutlet="footerTemplate
|
|
6803
|
+
<ng-container *ngTemplateOutlet="footerTemplate(); context: { $implicit: field }"></ng-container>
|
|
7086
6804
|
</div>
|
|
7087
6805
|
}
|
|
7088
6806
|
</div>
|
|
7089
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => i2.NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgForOf), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { 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(() =>
|
|
6807
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(() => i2.NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(() => i2.NgForOf), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { 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(() => i9.Select), selector: "agl-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo", "motionOptions"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "directive", type: i0.forwardRef(() => i6.NgControlStatus), selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i0.forwardRef(() => i6.NgModel), selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i0.forwardRef(() => i10.Button), selector: "agl-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "component", type: i0.forwardRef(() => FilterIcon), selector: "[data-p-icon=\"filter\"]" }, { kind: "component", type: i0.forwardRef(() => FilterFillIcon), selector: "[data-p-icon=\"filter-fill\"]" }, { kind: "component", type: i0.forwardRef(() => PlusIcon), selector: "[data-p-icon=\"plus\"]" }, { kind: "component", type: i0.forwardRef(() => TrashIcon), selector: "[data-p-icon=\"trash\"]" }, { kind: "directive", type: i0.forwardRef(() => i1.Bind), selector: "[aglBind]", inputs: ["aglBind"] }, { kind: "directive", type: i0.forwardRef(() => i11.MotionDirective), selector: "[aglMotion]", inputs: ["aglMotion", "aglMotionName", "aglMotionType", "aglMotionSafe", "aglMotionDisabled", "aglMotionAppear", "aglMotionEnter", "aglMotionLeave", "aglMotionDuration", "aglMotionHideStrategy", "aglMotionEnterFromClass", "aglMotionEnterToClass", "aglMotionEnterActiveClass", "aglMotionLeaveFromClass", "aglMotionLeaveToClass", "aglMotionLeaveActiveClass", "aglMotionOptions"], outputs: ["aglMotionOnBeforeEnter", "aglMotionOnEnter", "aglMotionOnAfterEnter", "aglMotionOnEnterCancelled", "aglMotionOnBeforeLeave", "aglMotionOnLeave", "aglMotionOnAfterLeave", "aglMotionOnLeaveCancelled"] }, { kind: "component", type: i0.forwardRef(() => ColumnFilterFormElement), selector: "agl-columnFilterFormElement", inputs: ["field", "type", "filterConstraint", "filterTemplate", "placeholder", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "locale", "localeMatcher", "currency", "currencyDisplay", "useGrouping", "ariaLabel", "filterOn"] }], changeDetection: i0.ChangeDetectionStrategy.Eager, encapsulation: i0.ViewEncapsulation.None });
|
|
7090
6808
|
}
|
|
7091
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
6809
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ColumnFilter, decorators: [{
|
|
7092
6810
|
type: Component,
|
|
7093
6811
|
args: [{
|
|
7094
6812
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
@@ -7103,7 +6821,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
7103
6821
|
[field]="field"
|
|
7104
6822
|
[ariaLabel]="ariaLabel"
|
|
7105
6823
|
[filterConstraint]="dataTable.filters[field]"
|
|
7106
|
-
[filterTemplate]="filterTemplate
|
|
6824
|
+
[filterTemplate]="filterTemplate()"
|
|
7107
6825
|
[placeholder]="placeholder"
|
|
7108
6826
|
[minFractionDigits]="minFractionDigits"
|
|
7109
6827
|
[maxFractionDigits]="maxFractionDigits"
|
|
@@ -7135,10 +6853,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
7135
6853
|
>
|
|
7136
6854
|
<ng-template #icon>
|
|
7137
6855
|
<ng-container>
|
|
7138
|
-
<svg data-p-icon="filter" *ngIf="!filterIconTemplate && !
|
|
7139
|
-
<svg data-p-icon="filter-fill" *ngIf="!filterIconTemplate &&
|
|
7140
|
-
<span *ngIf="filterIconTemplate
|
|
7141
|
-
<ng-template *ngTemplateOutlet="filterIconTemplate
|
|
6856
|
+
<svg data-p-icon="filter" *ngIf="!filterIconTemplate() && !hasFilter" [aglBind]="ptm('pcColumnFilterButton')['icon']" />
|
|
6857
|
+
<svg data-p-icon="filter-fill" *ngIf="!filterIconTemplate() && hasFilter" [aglBind]="ptm('pcColumnFilterButton')['icon']" />
|
|
6858
|
+
<span *ngIf="filterIconTemplate()" [aglBind]="ptm('pcColumnFilterButton')['icon']" [attr.data-pc-section]="'columnfilterbuttonicon'">
|
|
6859
|
+
<ng-template *ngTemplateOutlet="filterIconTemplate(); context: { hasFilter: hasFilter }"></ng-template>
|
|
7142
6860
|
</span>
|
|
7143
6861
|
</ng-container>
|
|
7144
6862
|
</ng-template>
|
|
@@ -7159,7 +6877,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
7159
6877
|
(click)="onContentClick()"
|
|
7160
6878
|
(keydown.escape)="onEscape()"
|
|
7161
6879
|
>
|
|
7162
|
-
<ng-container *ngTemplateOutlet="headerTemplate
|
|
6880
|
+
<ng-container *ngTemplateOutlet="headerTemplate(); context: { $implicit: field }"></ng-container>
|
|
7163
6881
|
<ul *ngIf="display === 'row'; else menu" [class]="cx('filterConstraintList')" [aglBind]="ptm('filterConstraintList')">
|
|
7164
6882
|
<li
|
|
7165
6883
|
*ngFor="let matchMode of matchModes; let i = index"
|
|
@@ -7197,7 +6915,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
7197
6915
|
[type]="type"
|
|
7198
6916
|
[field]="field"
|
|
7199
6917
|
[filterConstraint]="fieldConstraint"
|
|
7200
|
-
[filterTemplate]="filterTemplate
|
|
6918
|
+
[filterTemplate]="filterTemplate()"
|
|
7201
6919
|
[placeholder]="placeholder"
|
|
7202
6920
|
[minFractionDigits]="minFractionDigits"
|
|
7203
6921
|
[maxFractionDigits]="maxFractionDigits"
|
|
@@ -7227,8 +6945,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
7227
6945
|
[unstyled]="unstyled()"
|
|
7228
6946
|
>
|
|
7229
6947
|
<ng-template #icon>
|
|
7230
|
-
<svg data-p-icon="trash" *ngIf="!removeRuleIconTemplate
|
|
7231
|
-
<ng-template *ngTemplateOutlet="removeRuleIconTemplate
|
|
6948
|
+
<svg data-p-icon="trash" *ngIf="!removeRuleIconTemplate()" [aglBind]="ptm('pcFilterRemoveRuleButton')['icon']" />
|
|
6949
|
+
<ng-template *ngTemplateOutlet="removeRuleIconTemplate()"></ng-template>
|
|
7232
6950
|
</ng-template>
|
|
7233
6951
|
</agl-button>
|
|
7234
6952
|
</div>
|
|
@@ -7248,8 +6966,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
7248
6966
|
[unstyled]="unstyled()"
|
|
7249
6967
|
>
|
|
7250
6968
|
<ng-template #icon>
|
|
7251
|
-
<svg data-p-icon="plus" *ngIf="!addRuleIconTemplate
|
|
7252
|
-
<ng-template *ngTemplateOutlet="addRuleIconTemplate
|
|
6969
|
+
<svg data-p-icon="plus" *ngIf="!addRuleIconTemplate()" [aglBind]="ptm('pcAddRuleButtonLabel')['icon']" />
|
|
6970
|
+
<ng-template *ngTemplateOutlet="addRuleIconTemplate()"></ng-template>
|
|
7253
6971
|
</ng-template>
|
|
7254
6972
|
</agl-button>
|
|
7255
6973
|
}
|
|
@@ -7277,7 +6995,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
7277
6995
|
/>
|
|
7278
6996
|
</div>
|
|
7279
6997
|
</ng-template>
|
|
7280
|
-
<ng-container *ngTemplateOutlet="footerTemplate
|
|
6998
|
+
<ng-container *ngTemplateOutlet="footerTemplate(); context: { $implicit: field }"></ng-container>
|
|
7281
6999
|
</div>
|
|
7282
7000
|
}
|
|
7283
7001
|
</div>
|
|
@@ -7364,31 +7082,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
7364
7082
|
}], clearButtonViewChild: [{
|
|
7365
7083
|
type: ViewChild,
|
|
7366
7084
|
args: ['clearBtn']
|
|
7367
|
-
}],
|
|
7368
|
-
type: ContentChildren,
|
|
7369
|
-
args: [AglTemplate]
|
|
7370
|
-
}], headerTemplate: [{
|
|
7371
|
-
type: ContentChild,
|
|
7372
|
-
args: ['header', { descendants: false }]
|
|
7373
|
-
}], filterTemplate: [{
|
|
7374
|
-
type: ContentChild,
|
|
7375
|
-
args: ['filter', { descendants: false }]
|
|
7376
|
-
}], footerTemplate: [{
|
|
7377
|
-
type: ContentChild,
|
|
7378
|
-
args: ['footer', { descendants: false }]
|
|
7379
|
-
}], filterIconTemplate: [{
|
|
7380
|
-
type: ContentChild,
|
|
7381
|
-
args: ['filtericon', { descendants: false }]
|
|
7382
|
-
}], removeRuleIconTemplate: [{
|
|
7383
|
-
type: ContentChild,
|
|
7384
|
-
args: ['removeruleicon', { descendants: false }]
|
|
7385
|
-
}], addRuleIconTemplate: [{
|
|
7386
|
-
type: ContentChild,
|
|
7387
|
-
args: ['addruleicon', { descendants: false }]
|
|
7388
|
-
}], clearFilterIconTemplate: [{
|
|
7389
|
-
type: ContentChild,
|
|
7390
|
-
args: ['clearfiltericon', { descendants: false }]
|
|
7391
|
-
}] } });
|
|
7085
|
+
}], headerTemplate: [{ type: i0.ContentChild, args: ['header', { ...{ descendants: false }, isSignal: true }] }], filterTemplate: [{ type: i0.ContentChild, args: ['filter', { ...{ descendants: false }, isSignal: true }] }], footerTemplate: [{ type: i0.ContentChild, args: ['footer', { ...{ descendants: false }, isSignal: true }] }], filterIconTemplate: [{ type: i0.ContentChild, args: ['filtericon', { ...{ descendants: false }, isSignal: true }] }], removeRuleIconTemplate: [{ type: i0.ContentChild, args: ['removeruleicon', { ...{ descendants: false }, isSignal: true }] }], addRuleIconTemplate: [{ type: i0.ContentChild, args: ['addruleicon', { ...{ descendants: false }, isSignal: true }] }] } });
|
|
7392
7086
|
class ColumnFilterFormElement extends BaseComponent {
|
|
7393
7087
|
dataTable;
|
|
7394
7088
|
colFilter;
|
|
@@ -7445,8 +7139,8 @@ class ColumnFilterFormElement extends BaseComponent {
|
|
|
7445
7139
|
event.preventDefault();
|
|
7446
7140
|
}
|
|
7447
7141
|
}
|
|
7448
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
7449
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.
|
|
7142
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ColumnFilterFormElement, deps: [{ token: Table }, { token: ColumnFilter }], target: i0.ɵɵFactoryTarget.Component });
|
|
7143
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "22.1.1", type: ColumnFilterFormElement, isStandalone: false, selector: "agl-columnFilterFormElement", inputs: { field: "field", type: "type", filterConstraint: "filterConstraint", filterTemplate: "filterTemplate", placeholder: "placeholder", minFractionDigits: ["minFractionDigits", "minFractionDigits", (value) => numberAttribute(value, undefined)], maxFractionDigits: ["maxFractionDigits", "maxFractionDigits", (value) => numberAttribute(value, undefined)], prefix: "prefix", suffix: "suffix", locale: "locale", localeMatcher: "localeMatcher", currency: "currency", currencyDisplay: "currencyDisplay", useGrouping: ["useGrouping", "useGrouping", booleanAttribute], ariaLabel: "ariaLabel", filterOn: "filterOn" }, providers: [TableStyle], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
|
|
7450
7144
|
<ng-container *ngIf="filterTemplate; else builtInElement">
|
|
7451
7145
|
<ng-container
|
|
7452
7146
|
*ngTemplateOutlet="
|
|
@@ -7529,9 +7223,9 @@ class ColumnFilterFormElement extends BaseComponent {
|
|
|
7529
7223
|
></agl-datepicker>
|
|
7530
7224
|
</ng-container>
|
|
7531
7225
|
</ng-template>
|
|
7532
|
-
`, 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"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type:
|
|
7226
|
+
`, 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"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i12.InputText, selector: "[aglInputText]", inputs: ["hostName", "ptInputText", "pInputTextPT", "pInputTextUnstyled", "aglSize", "variant", "fluid", "invalid"] }, { kind: "directive", type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i13.DatePicker, selector: "agl-datePicker, agl-datepicker, agl-date-picker", inputs: ["iconDisplay", "styleClass", "inputStyle", "inputId", "inputStyleClass", "placeholder", "ariaLabelledBy", "ariaLabel", "iconAriaLabel", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "readonlyInput", "shortYearCutoff", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "showOnFocus", "showWeek", "startWeekFromFirstDayOfYear", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autofocus", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "minDate", "maxDate", "disabledDates", "disabledDays", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "view", "defaultDate", "appendTo", "motionOptions"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }, { kind: "component", type: i14.InputNumber, selector: "agl-inputNumber, agl-inputnumber, agl-input-number", inputs: ["showButtons", "format", "buttonLayout", "inputId", "styleClass", "placeholder", "tabindex", "title", "ariaLabelledBy", "ariaDescribedBy", "ariaLabel", "ariaRequired", "autocomplete", "incrementButtonClass", "decrementButtonClass", "incrementButtonIcon", "decrementButtonIcon", "readonly", "allowEmpty", "locale", "localeMatcher", "mode", "currency", "currencyDisplay", "useGrouping", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "inputStyle", "inputStyleClass", "showClear", "autofocus"], outputs: ["onInput", "onFocus", "onBlur", "onKeyDown", "onClear"] }, { kind: "component", type: i8.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"] }], changeDetection: i0.ChangeDetectionStrategy.Eager, encapsulation: i0.ViewEncapsulation.None });
|
|
7533
7227
|
}
|
|
7534
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
7228
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: ColumnFilterFormElement, decorators: [{
|
|
7535
7229
|
type: Component,
|
|
7536
7230
|
args: [{
|
|
7537
7231
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
@@ -7662,8 +7356,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
7662
7356
|
type: Input
|
|
7663
7357
|
}] } });
|
|
7664
7358
|
class TableModule {
|
|
7665
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
7666
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.
|
|
7359
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7360
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.1", ngImport: i0, type: TableModule, declarations: [Table, SortableColumn, FrozenColumn, RowGroupHeader, SelectableRow, RowToggler, ContextMenuRow, ResizableColumn, ReorderableColumn, EditableColumn, CellEditor, TableBody, SortIcon, TableRadioButton, TableCheckbox, TableHeaderCheckbox, ReorderableRowHandle, ReorderableRow, SelectableRowDblClick, EditableRow, InitEditableRow, SaveEditableRow, CancelEditableRow, ColumnFilter, ColumnFilterFormElement], imports: [CommonModule,
|
|
7667
7361
|
PaginatorModule,
|
|
7668
7362
|
InputTextModule,
|
|
7669
7363
|
SelectModule,
|
|
@@ -7689,7 +7383,7 @@ class TableModule {
|
|
|
7689
7383
|
RadioButtonModule,
|
|
7690
7384
|
BindModule,
|
|
7691
7385
|
MotionModule], exports: [Table, SharedModule, SortableColumn, FrozenColumn, RowGroupHeader, SelectableRow, RowToggler, ContextMenuRow, ResizableColumn, ReorderableColumn, EditableColumn, CellEditor, SortIcon, TableRadioButton, TableCheckbox, TableHeaderCheckbox, ReorderableRowHandle, ReorderableRow, SelectableRowDblClick, EditableRow, InitEditableRow, SaveEditableRow, CancelEditableRow, ColumnFilter, ColumnFilterFormElement, ScrollerModule] });
|
|
7692
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.
|
|
7386
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TableModule, providers: [TableStyle], imports: [CommonModule,
|
|
7693
7387
|
PaginatorModule,
|
|
7694
7388
|
InputTextModule,
|
|
7695
7389
|
SelectModule,
|
|
@@ -7717,7 +7411,7 @@ class TableModule {
|
|
|
7717
7411
|
MotionModule, SharedModule,
|
|
7718
7412
|
ScrollerModule] });
|
|
7719
7413
|
}
|
|
7720
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
7414
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: TableModule, decorators: [{
|
|
7721
7415
|
type: NgModule,
|
|
7722
7416
|
args: [{
|
|
7723
7417
|
imports: [
|