@progress/kendo-angular-treelist 11.0.0-develop.81 → 11.0.0-develop.82
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/esm2020/column-menu/column-menu.component.mjs +2 -2
- package/esm2020/filtering/cell/filter-cell-operators.component.mjs +9 -8
- package/esm2020/filtering/cell/string-filter-cell.component.mjs +8 -9
- package/esm2020/filtering/filter-row.component.mjs +2 -0
- package/esm2020/filtering/menu/filter-menu.component.mjs +5 -4
- package/esm2020/filtering/shared-filtering.module.mjs +9 -4
- package/esm2020/localization/messages.mjs +3 -1
- package/esm2020/navigation/logical-row.directive.mjs +5 -1
- package/esm2020/package-metadata.mjs +1 -1
- package/esm2020/pager/pager-input.component.mjs +44 -45
- package/esm2020/pager/pager-next-buttons.component.mjs +50 -66
- package/esm2020/pager/pager-numeric-buttons.component.mjs +91 -62
- package/esm2020/pager/pager-page-sizes.component.mjs +2 -0
- package/esm2020/pager/pager-prev-buttons.component.mjs +50 -64
- package/esm2020/pager/pager.component.mjs +14 -10
- package/esm2020/pager/pager.module.mjs +3 -0
- package/esm2020/pdf/export-element.mjs +1 -1
- package/esm2020/rendering/constants.mjs +1 -1
- package/esm2020/rendering/header/header.component.mjs +19 -11
- package/esm2020/rendering/list.component.mjs +18 -6
- package/esm2020/rendering/table-body.component.mjs +13 -5
- package/esm2020/rendering/toolbar/toolbar.component.mjs +3 -7
- package/esm2020/treelist.component.mjs +261 -234
- package/fesm2015/progress-kendo-angular-treelist.mjs +611 -539
- package/fesm2020/progress-kendo-angular-treelist.mjs +611 -539
- package/filtering/shared-filtering.module.d.ts +2 -1
- package/localization/messages.d.ts +5 -1
- package/navigation/logical-row.directive.d.ts +1 -0
- package/package.json +16 -15
- package/pager/pager.component.d.ts +2 -1
- package/pager/pager.module.d.ts +5 -4
- package/rendering/constants.d.ts +1 -1
- package/rendering/header/header.component.d.ts +1 -0
- package/rendering/table-body.component.d.ts +1 -0
- package/rendering/toolbar/toolbar.component.d.ts +0 -1
|
@@ -123,7 +123,7 @@ export class ColumnMenuComponent {
|
|
|
123
123
|
ColumnMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnMenuComponent, deps: [{ token: i1.SinglePopupService }, { token: i2.LocalizationService }, { token: i3.ColumnMenuService }], target: i0.ɵɵFactoryTarget.Component });
|
|
124
124
|
ColumnMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColumnMenuComponent, selector: "kendo-treelist-column-menu", inputs: { standalone: "standalone", column: "column", settings: "settings", sort: "sort", filter: "filter", sortable: "sortable", columnMenuTemplate: "columnMenuTemplate" }, host: { properties: { "class.k-grid-column-menu-standalone": "this.standalone" } }, providers: [ColumnMenuService], usesOnChanges: true, ngImport: i0, template: `
|
|
125
125
|
<a #anchor
|
|
126
|
-
class="k-grid-column-menu k-grid-
|
|
126
|
+
class="k-grid-column-menu k-grid-header-menu"
|
|
127
127
|
[ngClass]="{ 'k-active': isActive }"
|
|
128
128
|
(click)="toggle($event, anchor, template)"
|
|
129
129
|
href="#"
|
|
@@ -156,7 +156,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
156
156
|
selector: 'kendo-treelist-column-menu',
|
|
157
157
|
template: `
|
|
158
158
|
<a #anchor
|
|
159
|
-
class="k-grid-column-menu k-grid-
|
|
159
|
+
class="k-grid-column-menu k-grid-header-menu"
|
|
160
160
|
[ngClass]="{ 'k-active': isActive }"
|
|
161
161
|
(click)="toggle($event, anchor, template)"
|
|
162
162
|
href="#"
|
|
@@ -9,8 +9,9 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
11
11
|
import * as i2 from "@progress/kendo-angular-dropdowns";
|
|
12
|
-
import * as i3 from "@angular
|
|
13
|
-
import * as i4 from "
|
|
12
|
+
import * as i3 from "@progress/kendo-angular-buttons";
|
|
13
|
+
import * as i4 from "@angular/common";
|
|
14
|
+
import * as i5 from "../../navigation/focusable.directive";
|
|
14
15
|
/**
|
|
15
16
|
* Represents a component which accommodates the filter operators.
|
|
16
17
|
*/
|
|
@@ -78,7 +79,7 @@ export class FilterCellOperatorsComponent {
|
|
|
78
79
|
}
|
|
79
80
|
}
|
|
80
81
|
ngOnInit() {
|
|
81
|
-
this.subscription = this.localization.changes.subscribe(() => this.clearText = this.localization.get(
|
|
82
|
+
this.subscription = this.localization.changes.subscribe(() => this.clearText = this.localization.get('filterClearButton'));
|
|
82
83
|
}
|
|
83
84
|
ngOnDestroy() {
|
|
84
85
|
if (this.subscription) {
|
|
@@ -104,15 +105,15 @@ FilterCellOperatorsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
104
105
|
(keydown)="dropdownKeydown($event)">
|
|
105
106
|
</kendo-dropdownlist>
|
|
106
107
|
<button type="button"
|
|
108
|
+
kendoButton
|
|
107
109
|
kendoTreeListFocusable
|
|
108
110
|
*ngIf="showButton"
|
|
109
|
-
|
|
111
|
+
icon="filter-clear"
|
|
110
112
|
[title]="clearText"
|
|
111
113
|
(click)="clearClick()"
|
|
112
114
|
(keydown)="clearKeydown($event)">
|
|
113
|
-
<span class="k-icon k-button-icon k-i-filter-clear"></span>
|
|
114
115
|
</button>
|
|
115
|
-
`, isInline: true, components: [{ type: i2.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["iconClass", "loading", "data", "value", "textField", "valueField", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }], directives: [{ type:
|
|
116
|
+
`, isInline: true, components: [{ type: i2.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["iconClass", "loading", "data", "value", "textField", "valueField", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { type: i3.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.FocusableDirective, selector: "[kendoTreeListFocusable],\n [kendoTreeListAddCommand],\n [kendoTreeListEditCommand],\n [kendoTreeListRemoveCommand],\n [kendoTreeListSaveCommand],\n [kendoTreeListCancelCommand]\n ", inputs: ["kendoTreeListFocusable", "kendoTreeListAddCommand", "kendoTreeListEditCommand", "kendoTreeListRemoveCommand", "kendoTreeListSaveCommand", "kendoTreeListCancelCommand"] }] });
|
|
116
117
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterCellOperatorsComponent, decorators: [{
|
|
117
118
|
type: Component,
|
|
118
119
|
args: [{
|
|
@@ -134,13 +135,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
134
135
|
(keydown)="dropdownKeydown($event)">
|
|
135
136
|
</kendo-dropdownlist>
|
|
136
137
|
<button type="button"
|
|
138
|
+
kendoButton
|
|
137
139
|
kendoTreeListFocusable
|
|
138
140
|
*ngIf="showButton"
|
|
139
|
-
|
|
141
|
+
icon="filter-clear"
|
|
140
142
|
[title]="clearText"
|
|
141
143
|
(click)="clearClick()"
|
|
142
144
|
(keydown)="clearKeydown($event)">
|
|
143
|
-
<span class="k-icon k-button-icon k-i-filter-clear"></span>
|
|
144
145
|
</button>
|
|
145
146
|
`
|
|
146
147
|
}]
|
|
@@ -10,10 +10,9 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
import * as i1 from "../filter.service";
|
|
11
11
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
12
12
|
import * as i3 from "./filter-cell-wrapper.component";
|
|
13
|
-
import * as i4 from "@
|
|
14
|
-
import * as i5 from "
|
|
15
|
-
import * as i6 from "
|
|
16
|
-
import * as i7 from "../filter-input.directive";
|
|
13
|
+
import * as i4 from "@angular/forms";
|
|
14
|
+
import * as i5 from "../../navigation/focusable.directive";
|
|
15
|
+
import * as i6 from "../filter-input.directive";
|
|
17
16
|
/**
|
|
18
17
|
* Represents a string-filter cell component
|
|
19
18
|
* ([see example]({% slug builtinfiltertemplate_treelist %}#toc-configuration-components-for-filter-templates)).
|
|
@@ -57,14 +56,14 @@ StringFilterCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
57
56
|
[operators]="operators"
|
|
58
57
|
[defaultOperator]="operator"
|
|
59
58
|
[showOperators]="showOperators">
|
|
60
|
-
<input
|
|
61
|
-
|
|
59
|
+
<input
|
|
60
|
+
class="k-textbox k-input k-input-md k-rounded-md k-input-solid"
|
|
62
61
|
kendoTreeListFocusable
|
|
63
62
|
kendoFilterInput
|
|
64
63
|
[filterDelay]="filterDelay"
|
|
65
64
|
[ngModel]="currentFilter?.value" />
|
|
66
65
|
</kendo-treelist-filter-wrapper-cell>
|
|
67
|
-
`, isInline: true, components: [{ type: i3.FilterCellWrapperComponent, selector: "kendo-treelist-filter-wrapper-cell", inputs: ["showOperators"] }], directives: [{ type: i4.
|
|
66
|
+
`, isInline: true, components: [{ type: i3.FilterCellWrapperComponent, selector: "kendo-treelist-filter-wrapper-cell", inputs: ["showOperators"] }], directives: [{ type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i5.FocusableDirective, selector: "[kendoTreeListFocusable],\n [kendoTreeListAddCommand],\n [kendoTreeListEditCommand],\n [kendoTreeListRemoveCommand],\n [kendoTreeListSaveCommand],\n [kendoTreeListCancelCommand]\n ", inputs: ["kendoTreeListFocusable", "kendoTreeListAddCommand", "kendoTreeListEditCommand", "kendoTreeListRemoveCommand", "kendoTreeListSaveCommand", "kendoTreeListCancelCommand"] }, { type: i6.FilterInputDirective, selector: "[kendoFilterInput]", inputs: ["filterDelay", "value"] }, { type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
|
|
68
67
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: StringFilterCellComponent, decorators: [{
|
|
69
68
|
type: Component,
|
|
70
69
|
args: [{
|
|
@@ -76,8 +75,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
76
75
|
[operators]="operators"
|
|
77
76
|
[defaultOperator]="operator"
|
|
78
77
|
[showOperators]="showOperators">
|
|
79
|
-
<input
|
|
80
|
-
|
|
78
|
+
<input
|
|
79
|
+
class="k-textbox k-input k-input-md k-rounded-md k-input-solid"
|
|
81
80
|
kendoTreeListFocusable
|
|
82
81
|
kendoFilterInput
|
|
83
82
|
[filterDelay]="filterDelay"
|
|
@@ -31,6 +31,7 @@ FilterRowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
31
31
|
[column]="$any(column)"
|
|
32
32
|
[filter]="filter"
|
|
33
33
|
kendoTreeListLogicalCell
|
|
34
|
+
class="k-table-td"
|
|
34
35
|
[logicalRowIndex]="logicalRowIndex"
|
|
35
36
|
[logicalColIndex]="lockedColumnsCount + columnIndex"
|
|
36
37
|
[column]="getColumnComponent(column)"
|
|
@@ -48,6 +49,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
48
49
|
[column]="$any(column)"
|
|
49
50
|
[filter]="filter"
|
|
50
51
|
kendoTreeListLogicalCell
|
|
52
|
+
class="k-table-td"
|
|
51
53
|
[logicalRowIndex]="logicalRowIndex"
|
|
52
54
|
[logicalColIndex]="lockedColumnsCount + columnIndex"
|
|
53
55
|
[column]="getColumnComponent(column)"
|
|
@@ -13,7 +13,6 @@ import * as i1 from "../filter.service";
|
|
|
13
13
|
import * as i2 from "../../common/single-popup.service";
|
|
14
14
|
import * as i3 from "@progress/kendo-angular-l10n";
|
|
15
15
|
import * as i4 from "./filter-menu-container.component";
|
|
16
|
-
import * as i5 from "@angular/common";
|
|
17
16
|
/**
|
|
18
17
|
* @hidden
|
|
19
18
|
*/
|
|
@@ -41,7 +40,8 @@ export class FilterMenuComponent {
|
|
|
41
40
|
FilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterMenuComponent, deps: [{ token: i1.FilterService }, { token: i2.SinglePopupService }, { token: i3.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
42
41
|
FilterMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FilterMenuComponent, selector: "kendo-treelist-filter-menu", inputs: { column: "column", filter: "filter" }, ngImport: i0, template: `
|
|
43
42
|
<a #anchor
|
|
44
|
-
|
|
43
|
+
class="k-grid-filter-menu k-grid-header-menu"
|
|
44
|
+
[class.k-active]="hasFilters"
|
|
45
45
|
(click)="toggle(anchor, template)"
|
|
46
46
|
href="#"
|
|
47
47
|
[attr.title]="filterLabel">
|
|
@@ -55,14 +55,15 @@ FilterMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
55
55
|
>
|
|
56
56
|
</kendo-treelist-filter-menu-container>
|
|
57
57
|
</ng-template>
|
|
58
|
-
`, isInline: true, components: [{ type: i4.FilterMenuContainerComponent, selector: "kendo-treelist-filter-menu-container", inputs: ["column", "filter", "actionsClass"], outputs: ["close"] }]
|
|
58
|
+
`, isInline: true, components: [{ type: i4.FilterMenuContainerComponent, selector: "kendo-treelist-filter-menu-container", inputs: ["column", "filter", "actionsClass"], outputs: ["close"] }] });
|
|
59
59
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterMenuComponent, decorators: [{
|
|
60
60
|
type: Component,
|
|
61
61
|
args: [{
|
|
62
62
|
selector: 'kendo-treelist-filter-menu',
|
|
63
63
|
template: `
|
|
64
64
|
<a #anchor
|
|
65
|
-
|
|
65
|
+
class="k-grid-filter-menu k-grid-header-menu"
|
|
66
|
+
[class.k-active]="hasFilters"
|
|
66
67
|
(click)="toggle(anchor, template)"
|
|
67
68
|
href="#"
|
|
68
69
|
[attr.title]="filterLabel">
|
|
@@ -9,6 +9,7 @@ import { DropDownListModule, AutoCompleteModule } from '@progress/kendo-angular-
|
|
|
9
9
|
import { InputsModule } from '@progress/kendo-angular-inputs';
|
|
10
10
|
import { DatePickerModule } from '@progress/kendo-angular-dateinputs';
|
|
11
11
|
import { PopupModule } from "@progress/kendo-angular-popup";
|
|
12
|
+
import { ButtonModule } from '@progress/kendo-angular-buttons';
|
|
12
13
|
import { SharedModule } from '../shared.module';
|
|
13
14
|
import { FilterCellOperatorsComponent } from './cell/filter-cell-operators.component';
|
|
14
15
|
import { FilterInputDirective } from './filter-input.directive';
|
|
@@ -61,7 +62,8 @@ const importedModules = [
|
|
|
61
62
|
InputsModule,
|
|
62
63
|
DatePickerModule,
|
|
63
64
|
PopupModule,
|
|
64
|
-
SharedModule
|
|
65
|
+
SharedModule,
|
|
66
|
+
ButtonModule
|
|
65
67
|
];
|
|
66
68
|
const COMPONENTS = [
|
|
67
69
|
FilterInputDirective
|
|
@@ -103,7 +105,8 @@ SharedFilterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", vers
|
|
|
103
105
|
InputsModule,
|
|
104
106
|
DatePickerModule,
|
|
105
107
|
PopupModule,
|
|
106
|
-
SharedModule
|
|
108
|
+
SharedModule,
|
|
109
|
+
ButtonModule], exports: [FilterCellOperatorsComponent,
|
|
107
110
|
ContainsFilterOperatorComponent,
|
|
108
111
|
DoesNotContainFilterOperatorComponent,
|
|
109
112
|
EndsWithFilterOperatorComponent,
|
|
@@ -129,7 +132,8 @@ SharedFilterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", vers
|
|
|
129
132
|
InputsModule,
|
|
130
133
|
DatePickerModule,
|
|
131
134
|
PopupModule,
|
|
132
|
-
SharedModule,
|
|
135
|
+
SharedModule,
|
|
136
|
+
ButtonModule, FilterInputDirective] });
|
|
133
137
|
SharedFilterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedFilterModule, imports: [[...importedModules], CommonModule,
|
|
134
138
|
ReactiveFormsModule,
|
|
135
139
|
FormsModule,
|
|
@@ -138,7 +142,8 @@ SharedFilterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", vers
|
|
|
138
142
|
InputsModule,
|
|
139
143
|
DatePickerModule,
|
|
140
144
|
PopupModule,
|
|
141
|
-
SharedModule
|
|
145
|
+
SharedModule,
|
|
146
|
+
ButtonModule] });
|
|
142
147
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedFilterModule, decorators: [{
|
|
143
148
|
type: NgModule,
|
|
144
149
|
args: [{
|
|
@@ -11,7 +11,7 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
export class Messages extends ComponentMessages {
|
|
12
12
|
}
|
|
13
13
|
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
14
|
-
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: Messages, inputs: { groupPanelEmpty: "groupPanelEmpty", noRecords: "noRecords", pagerFirstPage: "pagerFirstPage", pagerLastPage: "pagerLastPage", pagerPreviousPage: "pagerPreviousPage", pagerNextPage: "pagerNextPage", pagerPage: "pagerPage", pagerPageNumberInputTitle: "pagerPageNumberInputTitle", pagerItemsPerPage: "pagerItemsPerPage", pagerOf: "pagerOf", pagerItemsTotal: "pagerItemsTotal", filter: "filter", filterEqOperator: "filterEqOperator", filterNotEqOperator: "filterNotEqOperator", filterIsNullOperator: "filterIsNullOperator", filterIsNotNullOperator: "filterIsNotNullOperator", filterIsEmptyOperator: "filterIsEmptyOperator", filterIsNotEmptyOperator: "filterIsNotEmptyOperator", filterStartsWithOperator: "filterStartsWithOperator", filterContainsOperator: "filterContainsOperator", filterNotContainsOperator: "filterNotContainsOperator", filterEndsWithOperator: "filterEndsWithOperator", filterGteOperator: "filterGteOperator", filterGtOperator: "filterGtOperator", filterLteOperator: "filterLteOperator", filterLtOperator: "filterLtOperator", filterIsTrue: "filterIsTrue", filterIsFalse: "filterIsFalse", filterBooleanAll: "filterBooleanAll", filterAfterOrEqualOperator: "filterAfterOrEqualOperator", filterAfterOperator: "filterAfterOperator", filterBeforeOperator: "filterBeforeOperator", filterBeforeOrEqualOperator: "filterBeforeOrEqualOperator", filterFilterButton: "filterFilterButton", filterClearButton: "filterClearButton", filterAndLogic: "filterAndLogic", filterOrLogic: "filterOrLogic", loading: "loading", columnMenu: "columnMenu", columns: "columns", lock: "lock", unlock: "unlock", sortable: "sortable", sortAscending: "sortAscending", sortDescending: "sortDescending", sortedAscending: "sortedAscending", sortedDescending: "sortedDescending", sortedDefault: "sortedDefault", columnsApply: "columnsApply", columnsReset: "columnsReset" }, usesInheritance: true, ngImport: i0 });
|
|
14
|
+
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: Messages, inputs: { groupPanelEmpty: "groupPanelEmpty", noRecords: "noRecords", pagerFirstPage: "pagerFirstPage", pagerLastPage: "pagerLastPage", pagerPreviousPage: "pagerPreviousPage", pagerNextPage: "pagerNextPage", pagerPage: "pagerPage", pagerPageNumberInputTitle: "pagerPageNumberInputTitle", pagerItemsPerPage: "pagerItemsPerPage", pagerOf: "pagerOf", pagerItemsTotal: "pagerItemsTotal", selectPage: "selectPage", filter: "filter", filterEqOperator: "filterEqOperator", filterNotEqOperator: "filterNotEqOperator", filterIsNullOperator: "filterIsNullOperator", filterIsNotNullOperator: "filterIsNotNullOperator", filterIsEmptyOperator: "filterIsEmptyOperator", filterIsNotEmptyOperator: "filterIsNotEmptyOperator", filterStartsWithOperator: "filterStartsWithOperator", filterContainsOperator: "filterContainsOperator", filterNotContainsOperator: "filterNotContainsOperator", filterEndsWithOperator: "filterEndsWithOperator", filterGteOperator: "filterGteOperator", filterGtOperator: "filterGtOperator", filterLteOperator: "filterLteOperator", filterLtOperator: "filterLtOperator", filterIsTrue: "filterIsTrue", filterIsFalse: "filterIsFalse", filterBooleanAll: "filterBooleanAll", filterAfterOrEqualOperator: "filterAfterOrEqualOperator", filterAfterOperator: "filterAfterOperator", filterBeforeOperator: "filterBeforeOperator", filterBeforeOrEqualOperator: "filterBeforeOrEqualOperator", filterFilterButton: "filterFilterButton", filterClearButton: "filterClearButton", filterAndLogic: "filterAndLogic", filterOrLogic: "filterOrLogic", loading: "loading", columnMenu: "columnMenu", columns: "columns", lock: "lock", unlock: "unlock", sortable: "sortable", sortAscending: "sortAscending", sortDescending: "sortDescending", sortedAscending: "sortedAscending", sortedDescending: "sortedDescending", sortedDefault: "sortedDefault", columnsApply: "columnsApply", columnsReset: "columnsReset" }, usesInheritance: true, ngImport: i0 });
|
|
15
15
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages, decorators: [{
|
|
16
16
|
type: Directive,
|
|
17
17
|
args: [{}]
|
|
@@ -37,6 +37,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
37
37
|
type: Input
|
|
38
38
|
}], pagerItemsTotal: [{
|
|
39
39
|
type: Input
|
|
40
|
+
}], selectPage: [{
|
|
41
|
+
type: Input
|
|
40
42
|
}], filter: [{
|
|
41
43
|
type: Input
|
|
42
44
|
}], filterEqOperator: [{
|
|
@@ -25,6 +25,7 @@ export class LogicalRowDirective {
|
|
|
25
25
|
this.dataRowIndex = -1;
|
|
26
26
|
this.isNew = false;
|
|
27
27
|
this.uid = nextId();
|
|
28
|
+
this.tableRowClass = true;
|
|
28
29
|
}
|
|
29
30
|
get hostRole() {
|
|
30
31
|
return this.logicalSlaveRow ? 'presentation' : 'row';
|
|
@@ -66,7 +67,7 @@ export class LogicalRowDirective {
|
|
|
66
67
|
}
|
|
67
68
|
}
|
|
68
69
|
LogicalRowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LogicalRowDirective, deps: [{ token: i1.IdService }, { token: i2.NavigationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
69
|
-
LogicalRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LogicalRowDirective, selector: "[kendoTreeListLogicalRow]", inputs: { logicalRowIndex: "logicalRowIndex", logicalSlaveRow: "logicalSlaveRow", logicalCellsCount: "logicalCellsCount", logicalSlaveCellsCount: "logicalSlaveCellsCount", dataRowIndex: "dataRowIndex", dataItem: "dataItem", isNew: "isNew" }, host: { properties: { "attr.role": "this.hostRole", "attr.aria-rowindex": "this.ariaRowIndex", "attr.aria-owns": "this.ariaOwns" } }, usesOnChanges: true, ngImport: i0 });
|
|
70
|
+
LogicalRowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LogicalRowDirective, selector: "[kendoTreeListLogicalRow]", inputs: { logicalRowIndex: "logicalRowIndex", logicalSlaveRow: "logicalSlaveRow", logicalCellsCount: "logicalCellsCount", logicalSlaveCellsCount: "logicalSlaveCellsCount", dataRowIndex: "dataRowIndex", dataItem: "dataItem", isNew: "isNew" }, host: { properties: { "attr.role": "this.hostRole", "attr.aria-rowindex": "this.ariaRowIndex", "attr.aria-owns": "this.ariaOwns", "class.k-table-row": "this.tableRowClass" } }, usesOnChanges: true, ngImport: i0 });
|
|
70
71
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LogicalRowDirective, decorators: [{
|
|
71
72
|
type: Directive,
|
|
72
73
|
args: [{
|
|
@@ -95,4 +96,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
95
96
|
}], ariaOwns: [{
|
|
96
97
|
type: HostBinding,
|
|
97
98
|
args: ['attr.aria-owns']
|
|
99
|
+
}], tableRowClass: [{
|
|
100
|
+
type: HostBinding,
|
|
101
|
+
args: ['class.k-table-row']
|
|
98
102
|
}] } });
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-treelist',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1672862547,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -13,8 +13,7 @@ import * as i0 from "@angular/core";
|
|
|
13
13
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
14
14
|
import * as i2 from "./pager-context.service";
|
|
15
15
|
import * as i3 from "@progress/kendo-angular-inputs";
|
|
16
|
-
import * as i4 from "@angular
|
|
17
|
-
import * as i5 from "@progress/kendo-angular-common";
|
|
16
|
+
import * as i4 from "@progress/kendo-angular-common";
|
|
18
17
|
/**
|
|
19
18
|
* Displays an input element which allows the typing and rendering of page numbers.
|
|
20
19
|
*/
|
|
@@ -79,54 +78,54 @@ export class PagerInputComponent extends PagerElementComponent {
|
|
|
79
78
|
}
|
|
80
79
|
PagerInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PagerInputComponent, deps: [{ token: i1.LocalizationService }, { token: i2.PagerContextService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
81
80
|
PagerInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PagerInputComponent, selector: "kendo-treelist-pager-input", viewQueries: [{ propertyName: "numericInput", first: true, predicate: NumericTextBoxComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
`, isInline: true, components: [{ type: i3.NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur"], exportAs: ["kendoNumericTextBox"] }], directives: [{ type: i4.
|
|
81
|
+
<span class="k-pager-input k-label">
|
|
82
|
+
{{textFor('pagerPage')}}
|
|
83
|
+
<kendo-numerictextbox
|
|
84
|
+
[style.margin]="'0 1ex'"
|
|
85
|
+
[style.width]="'3em'"
|
|
86
|
+
[spinners]="false"
|
|
87
|
+
[decimals]="0"
|
|
88
|
+
format="n0"
|
|
89
|
+
[disabled]="!hasPages"
|
|
90
|
+
[value]="current"
|
|
91
|
+
[min]="hasPages ? 1 : 0"
|
|
92
|
+
[max]="totalPages"
|
|
93
|
+
[autoCorrect]="true"
|
|
94
|
+
[title]="textFor('pagerPageNumberInputTitle')"
|
|
95
|
+
[kendoEventsOutsideAngular]="{
|
|
96
|
+
keydown: handleKeyDown,
|
|
97
|
+
focusout: handleBlur
|
|
98
|
+
}">
|
|
99
|
+
</kendo-numerictextbox>
|
|
100
|
+
{{textFor('pagerOf')}} {{totalPages}}
|
|
101
|
+
</span>
|
|
102
|
+
`, isInline: true, components: [{ type: i3.NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur"], exportAs: ["kendoNumericTextBox"] }], directives: [{ type: i4.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
104
103
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PagerInputComponent, decorators: [{
|
|
105
104
|
type: Component,
|
|
106
105
|
args: [{
|
|
107
106
|
selector: 'kendo-treelist-pager-input',
|
|
108
107
|
template: `
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
108
|
+
<span class="k-pager-input k-label">
|
|
109
|
+
{{textFor('pagerPage')}}
|
|
110
|
+
<kendo-numerictextbox
|
|
111
|
+
[style.margin]="'0 1ex'"
|
|
112
|
+
[style.width]="'3em'"
|
|
113
|
+
[spinners]="false"
|
|
114
|
+
[decimals]="0"
|
|
115
|
+
format="n0"
|
|
116
|
+
[disabled]="!hasPages"
|
|
117
|
+
[value]="current"
|
|
118
|
+
[min]="hasPages ? 1 : 0"
|
|
119
|
+
[max]="totalPages"
|
|
120
|
+
[autoCorrect]="true"
|
|
121
|
+
[title]="textFor('pagerPageNumberInputTitle')"
|
|
122
|
+
[kendoEventsOutsideAngular]="{
|
|
123
|
+
keydown: handleKeyDown,
|
|
124
|
+
focusout: handleBlur
|
|
125
|
+
}">
|
|
126
|
+
</kendo-numerictextbox>
|
|
127
|
+
{{textFor('pagerOf')}} {{totalPages}}
|
|
128
|
+
</span>
|
|
130
129
|
`
|
|
131
130
|
}]
|
|
132
131
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.PagerContextService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { numericInput: [{
|
|
@@ -10,7 +10,7 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
12
12
|
import * as i2 from "./pager-context.service";
|
|
13
|
-
import * as i3 from "@angular
|
|
13
|
+
import * as i3 from "@progress/kendo-angular-buttons";
|
|
14
14
|
/**
|
|
15
15
|
* Displays buttons for navigating to the next and to the last page ([see example]({% slug paging_treelist %}#toc-pager-templates)).
|
|
16
16
|
*/
|
|
@@ -37,81 +37,65 @@ export class PagerNextButtonsComponent extends PagerElementComponent {
|
|
|
37
37
|
}
|
|
38
38
|
PagerNextButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PagerNextButtonsComponent, deps: [{ token: i1.LocalizationService }, { token: i2.PagerContextService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
39
39
|
PagerNextButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PagerNextButtonsComponent, selector: "kendo-treelist-pager-next-buttons", usesInheritance: true, ngImport: i0, template: `
|
|
40
|
-
<
|
|
41
|
-
|
|
40
|
+
<button
|
|
41
|
+
kendoButton
|
|
42
|
+
type="button"
|
|
43
|
+
icon="caret-alt-right"
|
|
44
|
+
fillMode="flat"
|
|
45
|
+
rounded="none"
|
|
46
|
+
class="k-pager-nav"
|
|
47
|
+
[tabIndex]="-1"
|
|
48
|
+
[disabled]="disabled"
|
|
42
49
|
[title]="textFor('pagerNextPage')"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
</span>
|
|
56
|
-
</a>
|
|
57
|
-
<a href="#"
|
|
58
|
-
tabindex="-1"
|
|
50
|
+
[attr.aria-label]="textFor('pagerNextPage')"
|
|
51
|
+
(click)="currentPage !== totalPages ? changePage(currentPage) : false">
|
|
52
|
+
</button>
|
|
53
|
+
<button
|
|
54
|
+
kendoButton
|
|
55
|
+
type="button"
|
|
56
|
+
[tabIndex]="-1"
|
|
57
|
+
icon="caret-alt-to-right"
|
|
58
|
+
fillMode="flat"
|
|
59
|
+
rounded="none"
|
|
60
|
+
class="k-pager-nav k-pager-last"
|
|
61
|
+
[disabled]="disabled"
|
|
59
62
|
[title]="textFor('pagerLastPage')"
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
'k-disabled': disabled,
|
|
65
|
-
'k-pager-last': true
|
|
66
|
-
}">
|
|
67
|
-
<span [attr.aria-label]="textFor('pagerLastPage')"
|
|
68
|
-
[ngClass]="{
|
|
69
|
-
'k-icon':true,
|
|
70
|
-
'k-i-caret-alt-to-right': true
|
|
71
|
-
}">
|
|
72
|
-
</span>
|
|
73
|
-
</a>
|
|
74
|
-
`, isInline: true, directives: [{ type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
63
|
+
[attr.aria-label]="textFor('pagerLastPage')"
|
|
64
|
+
(click)="currentPage !== totalPages ? changePage(totalPages-1) : false">
|
|
65
|
+
</button>
|
|
66
|
+
`, isInline: true, components: [{ type: i3.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
75
67
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PagerNextButtonsComponent, decorators: [{
|
|
76
68
|
type: Component,
|
|
77
69
|
args: [{
|
|
78
70
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
79
71
|
selector: 'kendo-treelist-pager-next-buttons',
|
|
80
72
|
template: `
|
|
81
|
-
<
|
|
82
|
-
|
|
73
|
+
<button
|
|
74
|
+
kendoButton
|
|
75
|
+
type="button"
|
|
76
|
+
icon="caret-alt-right"
|
|
77
|
+
fillMode="flat"
|
|
78
|
+
rounded="none"
|
|
79
|
+
class="k-pager-nav"
|
|
80
|
+
[tabIndex]="-1"
|
|
81
|
+
[disabled]="disabled"
|
|
83
82
|
[title]="textFor('pagerNextPage')"
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
</span>
|
|
97
|
-
</a>
|
|
98
|
-
<a href="#"
|
|
99
|
-
tabindex="-1"
|
|
83
|
+
[attr.aria-label]="textFor('pagerNextPage')"
|
|
84
|
+
(click)="currentPage !== totalPages ? changePage(currentPage) : false">
|
|
85
|
+
</button>
|
|
86
|
+
<button
|
|
87
|
+
kendoButton
|
|
88
|
+
type="button"
|
|
89
|
+
[tabIndex]="-1"
|
|
90
|
+
icon="caret-alt-to-right"
|
|
91
|
+
fillMode="flat"
|
|
92
|
+
rounded="none"
|
|
93
|
+
class="k-pager-nav k-pager-last"
|
|
94
|
+
[disabled]="disabled"
|
|
100
95
|
[title]="textFor('pagerLastPage')"
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
'k-pager-nav': true,
|
|
105
|
-
'k-disabled': disabled,
|
|
106
|
-
'k-pager-last': true
|
|
107
|
-
}">
|
|
108
|
-
<span [attr.aria-label]="textFor('pagerLastPage')"
|
|
109
|
-
[ngClass]="{
|
|
110
|
-
'k-icon':true,
|
|
111
|
-
'k-i-caret-alt-to-right': true
|
|
112
|
-
}">
|
|
113
|
-
</span>
|
|
114
|
-
</a>
|
|
96
|
+
[attr.aria-label]="textFor('pagerLastPage')"
|
|
97
|
+
(click)="currentPage !== totalPages ? changePage(totalPages-1) : false">
|
|
98
|
+
</button>
|
|
115
99
|
`
|
|
116
100
|
}]
|
|
117
101
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.PagerContextService }, { type: i0.ChangeDetectorRef }]; } });
|