@progress/kendo-angular-grid 7.4.0-dev.202210140814 → 7.4.1-dev.202211081513
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/bundles/kendo-angular-grid.umd.js +1 -1
- package/columns/column-base.d.ts +8 -8
- package/editing/cell-close-event.d.ts +1 -1
- package/editing/edit-template.directive.d.ts +2 -2
- package/esm2015/editing/edit-template.directive.js +2 -2
- package/esm2015/excel/excel.module.js +1 -1
- package/esm2015/filtering/cell/date-filter-cell.component.js +1 -1
- package/esm2015/filtering/cell/filter-cell-operators.component.js +6 -1
- package/esm2015/filtering/cell/filter-cell-template.directive.js +1 -1
- package/esm2015/filtering/cell/string-filter-cell.component.js +1 -1
- package/esm2015/filtering/menu/date-filter-menu-input.component.js +1 -1
- package/esm2015/filtering/menu/filter-menu-template.directive.js +1 -1
- package/esm2015/filtering/menu/string-filter-menu.component.js +1 -1
- package/esm2015/filtering/operators/after-eq-filter-operator.component.js +2 -2
- package/esm2015/filtering/operators/after-filter-operator.component.js +2 -2
- package/esm2015/filtering/operators/before-eq-filter-operator.component.js +2 -2
- package/esm2015/filtering/operators/before-filter-operator.component.js +2 -2
- package/esm2015/filtering/operators/contains-filter-operator.component.js +2 -2
- package/esm2015/filtering/operators/ends-with-filter-operator.component.js +2 -2
- package/esm2015/filtering/operators/eq-filter-operator.component.js +2 -2
- package/esm2015/filtering/operators/filter-operator.base.js +6 -1
- package/esm2015/filtering/operators/gt-filter-operator.component.js +2 -2
- package/esm2015/filtering/operators/gte-filter-operator.component.js +2 -2
- package/esm2015/filtering/operators/is-empty-filter-operator.component.js +2 -2
- package/esm2015/filtering/operators/is-not-empty-filter-operator.component.js +2 -2
- package/esm2015/filtering/operators/is-not-null-filter-operator.component.js +2 -2
- package/esm2015/filtering/operators/isnull-filter-operator.component.js +2 -2
- package/esm2015/filtering/operators/lt-filter-operator.component.js +2 -2
- package/esm2015/filtering/operators/lte-filter-operator.component.js +2 -2
- package/esm2015/filtering/operators/neq-filter-operator.component.js +2 -2
- package/esm2015/filtering/operators/not-contains-filter-operator.component.js +2 -2
- package/esm2015/filtering/operators/starts-with-filter-operator.component.js +2 -2
- package/esm2015/grid.component.js +3 -3
- package/esm2015/grid.module.js +1 -1
- package/esm2015/package-metadata.js +1 -1
- package/esm2015/pdf/pdf.module.js +1 -1
- package/esm2015/rendering/cell.component.js +1 -1
- package/esm2015/rendering/table-body.component.js +4 -1
- package/excel/excel.module.d.ts +1 -1
- package/fesm2015/kendo-angular-grid.js +68 -55
- package/filtering/cell/filter-cell-operators.component.d.ts +4 -2
- package/filtering/cell/filter-cell-template.directive.d.ts +1 -1
- package/filtering/cell/string-filter-cell.component.d.ts +1 -1
- package/filtering/menu/filter-menu-template.directive.d.ts +1 -1
- package/filtering/menu/string-filter-menu.component.d.ts +1 -1
- package/filtering/operators/contains-filter-operator.component.d.ts +2 -2
- package/filtering/operators/ends-with-filter-operator.component.d.ts +2 -2
- package/filtering/operators/eq-filter-operator.component.d.ts +2 -2
- package/filtering/operators/filter-operator.base.d.ts +4 -1
- package/filtering/operators/gte-filter-operator.component.d.ts +2 -2
- package/filtering/operators/is-empty-filter-operator.component.d.ts +2 -2
- package/filtering/operators/is-not-empty-filter-operator.component.d.ts +2 -2
- package/filtering/operators/is-not-null-filter-operator.component.d.ts +2 -2
- package/filtering/operators/isnull-filter-operator.component.d.ts +2 -2
- package/filtering/operators/neq-filter-operator.component.d.ts +2 -2
- package/filtering/operators/not-contains-filter-operator.component.d.ts +2 -2
- package/filtering/operators/starts-with-filter-operator.component.d.ts +2 -2
- package/grid.component.d.ts +3 -3
- package/grid.module.d.ts +1 -1
- package/package.json +1 -1
- package/pdf/pdf.module.d.ts +1 -1
- package/rendering/table-body.component.d.ts +1 -0
package/columns/column-base.d.ts
CHANGED
|
@@ -188,7 +188,7 @@ export declare class ColumnBase {
|
|
|
188
188
|
/**
|
|
189
189
|
* Sets the custom styles for the table cells (excluding the footer and header ones) of the column. Under the hood,
|
|
190
190
|
* to apply the property, the `style` option uses the
|
|
191
|
-
* [NgStyle](
|
|
191
|
+
* [NgStyle](link:site.data.urls.angular['ngstyleapi']) directive.
|
|
192
192
|
*
|
|
193
193
|
* @example
|
|
194
194
|
* ```ts
|
|
@@ -230,7 +230,7 @@ export declare class ColumnBase {
|
|
|
230
230
|
/**
|
|
231
231
|
* Sets the custom styles for the header cell of the column. Under the hood, to apply the property,
|
|
232
232
|
* the `headerStyle` option uses the
|
|
233
|
-
* [NgStyle](
|
|
233
|
+
* [NgStyle](link:site.data.urls.angular['ngstyleapi']) directive.
|
|
234
234
|
*
|
|
235
235
|
* @example
|
|
236
236
|
* ```ts
|
|
@@ -272,7 +272,7 @@ export declare class ColumnBase {
|
|
|
272
272
|
/**
|
|
273
273
|
* Sets the custom styles for the filter row cell. Under the hood, to apply the property,
|
|
274
274
|
* the `filterStyle` option uses the
|
|
275
|
-
* [NgStyle](
|
|
275
|
+
* [NgStyle](link:site.data.urls.angular['ngstyleapi']) directive.
|
|
276
276
|
*
|
|
277
277
|
* @example
|
|
278
278
|
* ```ts
|
|
@@ -314,7 +314,7 @@ export declare class ColumnBase {
|
|
|
314
314
|
/**
|
|
315
315
|
* Sets the custom styles for the footer cell of the column. Under the hood, to apply the property,
|
|
316
316
|
* the `footerStyle` option uses the
|
|
317
|
-
* [NgStyle](
|
|
317
|
+
* [NgStyle](link:site.data.urls.angular['ngstyleapi']) directive.
|
|
318
318
|
*
|
|
319
319
|
* @example
|
|
320
320
|
* ```ts
|
|
@@ -358,7 +358,7 @@ export declare class ColumnBase {
|
|
|
358
358
|
};
|
|
359
359
|
/**
|
|
360
360
|
* Sets the custom CSS classes to the column cells. Under the hood, to apply the property, the `class` option uses the
|
|
361
|
-
* [NgClass](
|
|
361
|
+
* [NgClass](link:site.data.urls.angular['ngclassapi']) directive.
|
|
362
362
|
* To customize header and footer column cells, use the [headerClass]({% slug api_grid_columncomponent %}#toc-headerclass)
|
|
363
363
|
* and [footerClass]({% slug api_grid_columncomponent %}#toc-footerclass) inputs.
|
|
364
364
|
*
|
|
@@ -410,7 +410,7 @@ export declare class ColumnBase {
|
|
|
410
410
|
/**
|
|
411
411
|
* Sets the custom CSS classes to the column header cell. Under the hood, to apply the property,
|
|
412
412
|
* the `headerClass` option uses the
|
|
413
|
-
* [NgClass](
|
|
413
|
+
* [NgClass](link:site.data.urls.angular['ngclassapi']) directive.
|
|
414
414
|
*
|
|
415
415
|
* @example
|
|
416
416
|
* ```ts
|
|
@@ -460,7 +460,7 @@ export declare class ColumnBase {
|
|
|
460
460
|
/**
|
|
461
461
|
* Sets the custom CSS classes to the filter row cell. Under the hood, to apply the property,
|
|
462
462
|
* the `filterClass` option uses the
|
|
463
|
-
* [NgClass](
|
|
463
|
+
* [NgClass](link:site.data.urls.angular['ngclassapi']) directive.
|
|
464
464
|
*
|
|
465
465
|
* @example
|
|
466
466
|
* ```ts
|
|
@@ -508,7 +508,7 @@ export declare class ColumnBase {
|
|
|
508
508
|
/**
|
|
509
509
|
* Sets the custom CSS classes to the column footer cell. Under the hood, to apply the property,
|
|
510
510
|
* the `footerClass` option uses the
|
|
511
|
-
* [NgClass](
|
|
511
|
+
* [NgClass](link:site.data.urls.angular['ngclassapi']) directive.
|
|
512
512
|
*
|
|
513
513
|
* @example
|
|
514
514
|
* ```ts
|
|
@@ -22,7 +22,7 @@ export declare class CellCloseEvent extends PreventableEvent implements EditEven
|
|
|
22
22
|
*/
|
|
23
23
|
column: any;
|
|
24
24
|
/**
|
|
25
|
-
* The [FormGroup](
|
|
25
|
+
* The [FormGroup](link:site.data.urls.angular['formgroupapi']) that is used to edit the cell which will be closed.
|
|
26
26
|
*/
|
|
27
27
|
formGroup: any;
|
|
28
28
|
/**
|
|
@@ -10,9 +10,9 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
* tag with the `kendoGridEditTemplate` directive inside a `<kendo-grid-column>` tag.
|
|
11
11
|
*
|
|
12
12
|
* The template context is set to the current form group and the following additional fields are passed:
|
|
13
|
-
* - `formGroup`—The current [FormGroup](
|
|
13
|
+
* - `formGroup`—The current [FormGroup](link:site.data.urls.angular['formgroupapi']).
|
|
14
14
|
* Represents the default context that will be assigned to any template variable which utilizes the `let-x` syntax—for example, `let-formGroup`.
|
|
15
|
-
* If you use the Grid inside [Template-Driven Forms](
|
|
15
|
+
* If you use the Grid inside [Template-Driven Forms](link:site.data.urls.angular['forms']), it will be `undefined`.
|
|
16
16
|
* - `rowIndex`—The current data row index. If inside a new item row, `rowIndex` is `-1`. Use it as an alias for a template variable by utilizing the `let-rowIndex="rowIndex"` syntax.
|
|
17
17
|
* - `dataItem`—The current data item. Use it as an alias for a template variable by utilizing the `let-dataItem="dataItem"` syntax.
|
|
18
18
|
* - `column`—The current column instance. Use it as an alias for a template variable by utilizing the `let-column="column"` syntax.
|
|
@@ -10,9 +10,9 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
* tag with the `kendoGridEditTemplate` directive inside a `<kendo-grid-column>` tag.
|
|
11
11
|
*
|
|
12
12
|
* The template context is set to the current form group and the following additional fields are passed:
|
|
13
|
-
* - `formGroup`—The current [FormGroup](
|
|
13
|
+
* - `formGroup`—The current [FormGroup](link:site.data.urls.angular['formgroupapi']).
|
|
14
14
|
* Represents the default context that will be assigned to any template variable which utilizes the `let-x` syntax—for example, `let-formGroup`.
|
|
15
|
-
* If you use the Grid inside [Template-Driven Forms](
|
|
15
|
+
* If you use the Grid inside [Template-Driven Forms](link:site.data.urls.angular['forms']), it will be `undefined`.
|
|
16
16
|
* - `rowIndex`—The current data row index. If inside a new item row, `rowIndex` is `-1`. Use it as an alias for a template variable by utilizing the `let-rowIndex="rowIndex"` syntax.
|
|
17
17
|
* - `dataItem`—The current data item. Use it as an alias for a template variable by utilizing the `let-dataItem="dataItem"` syntax.
|
|
18
18
|
* - `column`—The current column instance. Use it as an alias for a template variable by utilizing the `let-column="column"` syntax.
|
|
@@ -9,7 +9,7 @@ import { ExcelExportModule } from '@progress/kendo-angular-excel-export';
|
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
const declarations = [ExcelComponent, ExcelCommandDirective];
|
|
11
11
|
/**
|
|
12
|
-
* Represents the [NgModule](
|
|
12
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
13
13
|
* definition for the Excel component of the Grid.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
@@ -85,7 +85,7 @@ DateFilterCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
85
85
|
</kendo-datepicker-messages>
|
|
86
86
|
</kendo-datepicker>
|
|
87
87
|
</kendo-grid-filter-wrapper-cell>
|
|
88
|
-
`, isInline: true, components: [{ type: i3.FilterCellWrapperComponent, selector: "kendo-grid-filter-wrapper-cell", inputs: ["showOperators"] }, { type: i4.DatePickerComponent, selector: "kendo-datepicker", inputs: ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate", "
|
|
88
|
+
`, isInline: true, components: [{ type: i3.FilterCellWrapperComponent, selector: "kendo-grid-filter-wrapper-cell", inputs: ["showOperators"] }, { type: i4.DatePickerComponent, selector: "kendo-datepicker", inputs: ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate", "activeView", "bottomView", "topView", "calendarType", "animateCalendarNavigation", "disabled", "readonly", "readOnlyInput", "popupSettings", "navigation", "min", "max", "incompleteDateValidation", "focusedDate", "value", "format", "twoDigitYearMax", "formatPlaceholder", "placeholder", "tabindex", "tabIndex", "disabledDates", "title", "rangeValidation", "disabledDatesValidation", "weekNumber", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur", "open", "close"], exportAs: ["kendo-datepicker"] }, { type: i4.DatePickerCustomMessagesComponent, selector: "kendo-datepicker-messages" }], directives: [{ type: i5.FilterInputDirective, selector: "[kendoFilterInput]", inputs: ["filterDelay", "columnLabel", "value"] }, { type: i6.FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }] });
|
|
89
89
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateFilterCellComponent, decorators: [{
|
|
90
90
|
type: Component,
|
|
91
91
|
args: [{
|
|
@@ -76,7 +76,12 @@ export class FilterCellOperatorsComponent {
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
ngOnInit() {
|
|
79
|
-
this.localization.changes.subscribe(() => this.clearText = this.localization.get("filterClearButton"));
|
|
79
|
+
this.subscription = this.localization.changes.subscribe(() => this.clearText = this.localization.get("filterClearButton"));
|
|
80
|
+
}
|
|
81
|
+
ngOnDestroy() {
|
|
82
|
+
if (this.subscription) {
|
|
83
|
+
this.subscription.unsubscribe();
|
|
84
|
+
}
|
|
80
85
|
}
|
|
81
86
|
}
|
|
82
87
|
FilterCellOperatorsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FilterCellOperatorsComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { Directive, Optional } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
|
-
* Represents the filter-cell template ([see example]({% slug
|
|
8
|
+
* Represents the filter-cell template ([see example]({% slug filter_row %}#toc-custom-filters)).
|
|
9
9
|
*/
|
|
10
10
|
export class FilterCellTemplateDirective {
|
|
11
11
|
constructor(templateRef) {
|
|
@@ -15,7 +15,7 @@ import * as i6 from "../../navigation/focusable.directive";
|
|
|
15
15
|
import * as i7 from "../filter-input.directive";
|
|
16
16
|
/**
|
|
17
17
|
* Represents a string-filter cell component
|
|
18
|
-
* ([see example]({% slug
|
|
18
|
+
* ([see example]({% slug filter_row %}#toc-hiding-filter-operators)).
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
*
|
|
@@ -75,7 +75,7 @@ DateFilterMenuInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
75
75
|
</kendo-datepicker-messages>
|
|
76
76
|
</kendo-datepicker>
|
|
77
77
|
</kendo-grid-filter-menu-input-wrapper>
|
|
78
|
-
`, isInline: true, components: [{ type: i3.FilterMenuInputWrapperComponent, selector: "kendo-grid-filter-menu-input-wrapper", inputs: ["filterService", "isFirstDropDown", "menuTabbingService", "currentFilter"] }, { type: i4.DatePickerComponent, selector: "kendo-datepicker", inputs: ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate", "
|
|
78
|
+
`, isInline: true, components: [{ type: i3.FilterMenuInputWrapperComponent, selector: "kendo-grid-filter-menu-input-wrapper", inputs: ["filterService", "isFirstDropDown", "menuTabbingService", "currentFilter"] }, { type: i4.DatePickerComponent, selector: "kendo-datepicker", inputs: ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate", "activeView", "bottomView", "topView", "calendarType", "animateCalendarNavigation", "disabled", "readonly", "readOnlyInput", "popupSettings", "navigation", "min", "max", "incompleteDateValidation", "focusedDate", "value", "format", "twoDigitYearMax", "formatPlaceholder", "placeholder", "tabindex", "tabIndex", "disabledDates", "title", "rangeValidation", "disabledDatesValidation", "weekNumber", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur", "open", "close"], exportAs: ["kendo-datepicker"] }, { type: i4.DatePickerCustomMessagesComponent, selector: "kendo-datepicker-messages" }], directives: [{ type: i5.FilterInputDirective, selector: "[kendoFilterInput]", inputs: ["filterDelay", "columnLabel", "value"] }] });
|
|
79
79
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateFilterMenuInputComponent, decorators: [{
|
|
80
80
|
type: Component,
|
|
81
81
|
args: [{
|
|
@@ -6,7 +6,7 @@ import { Directive, Optional } from '@angular/core';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Represents the filter-menu template
|
|
9
|
-
* ([see example]({% slug
|
|
9
|
+
* ([see example]({% slug filter_menu %}#toc-custom-filters)).
|
|
10
10
|
*/
|
|
11
11
|
export class FilterMenuTemplateDirective {
|
|
12
12
|
constructor(templateRef) {
|
|
@@ -14,7 +14,7 @@ import * as i4 from "@angular/common";
|
|
|
14
14
|
import * as i5 from "./filter-menu-dropdownlist.directive";
|
|
15
15
|
/**
|
|
16
16
|
* Represents a string-filter menu component.
|
|
17
|
-
* ([see example]({% slug
|
|
17
|
+
* ([see example]({% slug filter_menu %}#toc-built-in-filter-menu-components)).
|
|
18
18
|
*/
|
|
19
19
|
export class StringFilterMenuComponent extends StringFilterComponent {
|
|
20
20
|
constructor(localization) {
|
|
@@ -10,8 +10,8 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
10
10
|
* Represents the `GreaterOrEqualTo` (**Is after or equal to**) date filter operator.
|
|
11
11
|
*
|
|
12
12
|
* For more information and examples, refer to:
|
|
13
|
-
* * [Setting the default filter operators]({% slug
|
|
14
|
-
* * [Setting the order of the filter operators]({% slug
|
|
13
|
+
* * [Setting the default filter operators]({% slug filter_menu %}#toc-default-filter-operator)
|
|
14
|
+
* * [Setting the order of the filter operators]({% slug filter_menu %}#toc-order-of-filter-operators)
|
|
15
15
|
*/
|
|
16
16
|
export class AfterEqFilterOperatorComponent extends FilterOperatorBase {
|
|
17
17
|
constructor(localization) { super("after-eq", localization); }
|
|
@@ -10,8 +10,8 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
10
10
|
* Represents the `Greater` (**Is after**) date filter operator.
|
|
11
11
|
*
|
|
12
12
|
* For more information and examples, refer to:
|
|
13
|
-
* * [Setting the default filter operators]({% slug
|
|
14
|
-
* * [Setting the order of the filter operators]({% slug
|
|
13
|
+
* * [Setting the default filter operators]({% slug filter_menu %}#toc-default-filter-operator)
|
|
14
|
+
* * [Setting the order of the filter operators]({% slug filter_menu %}#toc-order-of-filter-operators)
|
|
15
15
|
*/
|
|
16
16
|
export class AfterFilterOperatorComponent extends FilterOperatorBase {
|
|
17
17
|
constructor(localization) { super("after", localization); }
|
|
@@ -10,8 +10,8 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
10
10
|
* Represents the `LessOrEqualTo` (**Is before or equal to**) date filter operator.
|
|
11
11
|
*
|
|
12
12
|
* For more information and examples, refer to:
|
|
13
|
-
* * [Setting the default filter operators]({% slug
|
|
14
|
-
* * [Setting the order of the filter operators]({% slug
|
|
13
|
+
* * [Setting the default filter operators]({% slug filter_menu %}#toc-default-filter-operator)
|
|
14
|
+
* * [Setting the order of the filter operators]({% slug filter_menu %}#toc-order-of-filter-operators)
|
|
15
15
|
*/
|
|
16
16
|
export class BeforeEqFilterOperatorComponent extends FilterOperatorBase {
|
|
17
17
|
constructor(localization) { super("before-eq", localization); }
|
|
@@ -10,8 +10,8 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
10
10
|
* Represents the `Less then` (**Is before**) date filter operator.
|
|
11
11
|
*
|
|
12
12
|
* For more information and examples, refer to:
|
|
13
|
-
* * [Setting the default filter operators]({% slug
|
|
14
|
-
* * [Setting the order of the filter operators]({% slug
|
|
13
|
+
* * [Setting the default filter operators]({% slug filter_menu %}#toc-default-filter-operator)
|
|
14
|
+
* * [Setting the order of the filter operators]({% slug filter_menu %}#toc-order-of-filter-operators)
|
|
15
15
|
*/
|
|
16
16
|
export class BeforeFilterOperatorComponent extends FilterOperatorBase {
|
|
17
17
|
constructor(localization) { super("before", localization); }
|
|
@@ -10,8 +10,8 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
10
10
|
* Represents the `Contains` (**Contains**) filter operator.
|
|
11
11
|
*
|
|
12
12
|
* For more information and examples, refer to:
|
|
13
|
-
* * [Setting the default filter operators]({% slug
|
|
14
|
-
* * [Setting the order of the filter operators]({% slug
|
|
13
|
+
* * [Setting the default filter operators]({% slug filter_menu %}#toc-default-filter-operator)
|
|
14
|
+
* * [Setting the order of the filter operators]({% slug filter_menu %}#toc-order-of-filter-operators)
|
|
15
15
|
*/
|
|
16
16
|
export class ContainsFilterOperatorComponent extends FilterOperatorBase {
|
|
17
17
|
constructor(localization) { super("contains", localization); }
|
|
@@ -10,8 +10,8 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
10
10
|
* Represents the `EndsWith` (**Ends with**) string filter operator.
|
|
11
11
|
*
|
|
12
12
|
* For more information and examples, refer to:
|
|
13
|
-
* * [Setting the default filter operators]({% slug
|
|
14
|
-
* * [Setting the order of the filter operators]({% slug
|
|
13
|
+
* * [Setting the default filter operators]({% slug filter_menu %}#toc-default-filter-operator)
|
|
14
|
+
* * [Setting the order of the filter operators]({% slug filter_menu %}#toc-order-of-filter-operators)
|
|
15
15
|
*/
|
|
16
16
|
export class EndsWithFilterOperatorComponent extends FilterOperatorBase {
|
|
17
17
|
constructor(localization) { super("endswith", localization); }
|
|
@@ -10,8 +10,8 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
10
10
|
* Represents the `Equal` (**Is equal to**) filter operator.
|
|
11
11
|
*
|
|
12
12
|
* For more information and examples, refer to:
|
|
13
|
-
* * [Setting the default filter operators]({% slug
|
|
14
|
-
* * [Setting the order of the filter operators]({% slug
|
|
13
|
+
* * [Setting the default filter operators]({% slug filter_menu %}#toc-default-filter-operator)
|
|
14
|
+
* * [Setting the order of the filter operators]({% slug filter_menu %}#toc-order-of-filter-operators)
|
|
15
15
|
*/
|
|
16
16
|
export class EqualFilterOperatorComponent extends FilterOperatorBase {
|
|
17
17
|
constructor(localization) { super("eq", localization); }
|
|
@@ -43,7 +43,7 @@ export class FilterOperatorBase {
|
|
|
43
43
|
this.localization = localization;
|
|
44
44
|
this.messages = operatorTexts(this.localization);
|
|
45
45
|
this._text = this.messages[this.operator];
|
|
46
|
-
this.localization.changes.subscribe(this.refreshText.bind(this));
|
|
46
|
+
this.subscription = this.localization.changes.subscribe(this.refreshText.bind(this));
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
49
|
* The text that will be displayed in the drop-down list.
|
|
@@ -57,6 +57,11 @@ export class FilterOperatorBase {
|
|
|
57
57
|
set text(value) {
|
|
58
58
|
this._text = isNullOrEmptyString(value) ? this.messages[this.operator] : value;
|
|
59
59
|
}
|
|
60
|
+
ngOnDestroy() {
|
|
61
|
+
if (this.subscription) {
|
|
62
|
+
this.subscription.unsubscribe();
|
|
63
|
+
}
|
|
64
|
+
}
|
|
60
65
|
/**
|
|
61
66
|
* @hidden
|
|
62
67
|
*/
|
|
@@ -10,8 +10,8 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
10
10
|
* Represents the `Greater` (**Is greater than**) numeric filter operator.
|
|
11
11
|
*
|
|
12
12
|
* For more information and examples, refer to:
|
|
13
|
-
* * [Setting the default filter operators]({% slug
|
|
14
|
-
* * [Setting the order of the filter operators]({% slug
|
|
13
|
+
* * [Setting the default filter operators]({% slug filter_menu %}#toc-default-filter-operator)
|
|
14
|
+
* * [Setting the order of the filter operators]({% slug filter_menu %}#toc-order-of-filter-operators)
|
|
15
15
|
*/
|
|
16
16
|
export class GreaterFilterOperatorComponent extends FilterOperatorBase {
|
|
17
17
|
constructor(localization) { super("gt", localization); }
|
|
@@ -10,8 +10,8 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
10
10
|
* Represents the `GreaterOrEqualTo` (**Is greater than or equal to**) numeric filter operator.
|
|
11
11
|
*
|
|
12
12
|
* For more information and examples, refer to:
|
|
13
|
-
* * [Setting the default filter operators]({% slug
|
|
14
|
-
* * [Setting the order of the filter operators]({% slug
|
|
13
|
+
* * [Setting the default filter operators]({% slug filter_menu %}#toc-default-filter-operator)
|
|
14
|
+
* * [Setting the order of the filter operators]({% slug filter_menu %}#toc-order-of-filter-operators)
|
|
15
15
|
*/
|
|
16
16
|
export class GreaterOrEqualToFilterOperatorComponent extends FilterOperatorBase {
|
|
17
17
|
constructor(localization) { super("gte", localization); }
|
|
@@ -10,8 +10,8 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
10
10
|
* Represents the `IsEmpty` (**Is empty**) filter operator.
|
|
11
11
|
*
|
|
12
12
|
* For more information and examples, refer to:
|
|
13
|
-
* * [Setting the default filter operators]({% slug
|
|
14
|
-
* * [Setting the order of the filter operators]({% slug
|
|
13
|
+
* * [Setting the default filter operators]({% slug filter_menu %}#toc-default-filter-operator)
|
|
14
|
+
* * [Setting the order of the filter operators]({% slug filter_menu %}#toc-order-of-filter-operators)
|
|
15
15
|
*/
|
|
16
16
|
export class IsEmptyFilterOperatorComponent extends FilterOperatorBase {
|
|
17
17
|
constructor(localization) { super("isempty", localization); }
|
|
@@ -10,8 +10,8 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
10
10
|
* Represents the `IsNotEmpty` (**Is not empty**) filter operator.
|
|
11
11
|
*
|
|
12
12
|
* For more information and examples, refer to:
|
|
13
|
-
* * [Setting the default filter operators]({% slug
|
|
14
|
-
* * [Setting the order of the filter operators]({% slug
|
|
13
|
+
* * [Setting the default filter operators]({% slug filter_menu %}#toc-default-filter-operator)
|
|
14
|
+
* * [Setting the order of the filter operators]({% slug filter_menu %}#toc-order-of-filter-operators)
|
|
15
15
|
*/
|
|
16
16
|
export class IsNotEmptyFilterOperatorComponent extends FilterOperatorBase {
|
|
17
17
|
constructor(localization) { super("isnotempty", localization); }
|
|
@@ -10,8 +10,8 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
10
10
|
* Represents the `IsNotNull` (**Is not null**) filter operator.
|
|
11
11
|
*
|
|
12
12
|
* For more information and examples, refer to:
|
|
13
|
-
* * [Setting the default filter operators]({% slug
|
|
14
|
-
* * [Setting the order of the filter operators]({% slug
|
|
13
|
+
* * [Setting the default filter operators]({% slug filter_menu %}#toc-default-filter-operator)
|
|
14
|
+
* * [Setting the order of the filter operators]({% slug filter_menu %}#toc-order-of-filter-operators)
|
|
15
15
|
*/
|
|
16
16
|
export class IsNotNullFilterOperatorComponent extends FilterOperatorBase {
|
|
17
17
|
constructor(localization) { super("isnotnull", localization); }
|
|
@@ -10,8 +10,8 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
10
10
|
* Represents the `IsNull` (**Is null**) filter operator.
|
|
11
11
|
*
|
|
12
12
|
* For more information and examples, refer to:
|
|
13
|
-
* * [Setting the default filter operators]({% slug
|
|
14
|
-
* * [Setting the order of the filter operators]({% slug
|
|
13
|
+
* * [Setting the default filter operators]({% slug filter_menu %}#toc-default-filter-operator)
|
|
14
|
+
* * [Setting the order of the filter operators]({% slug filter_menu %}#toc-order-of-filter-operators)
|
|
15
15
|
*/
|
|
16
16
|
export class IsNullFilterOperatorComponent extends FilterOperatorBase {
|
|
17
17
|
constructor(localization) { super("isnull", localization); }
|
|
@@ -10,8 +10,8 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
10
10
|
* Represents the `Less` (**Is less than**) numeric filter operator.
|
|
11
11
|
*
|
|
12
12
|
* For more information and examples, refer to:
|
|
13
|
-
* * [Setting the default filter operators]({% slug
|
|
14
|
-
* * [Setting the order of the filter operators]({% slug
|
|
13
|
+
* * [Setting the default filter operators]({% slug filter_menu %}#toc-default-filter-operator)
|
|
14
|
+
* * [Setting the order of the filter operators]({% slug filter_menu %}#toc-order-of-filter-operators)
|
|
15
15
|
*/
|
|
16
16
|
export class LessFilterOperatorComponent extends FilterOperatorBase {
|
|
17
17
|
constructor(localization) { super("lt", localization); }
|
|
@@ -10,8 +10,8 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
10
10
|
* Represents the `LessOrEqualTo` (**Is less than or equal to**) numeric filter operator.
|
|
11
11
|
*
|
|
12
12
|
* For more information and examples, refer to:
|
|
13
|
-
* * [Setting the default filter operators]({% slug
|
|
14
|
-
* * [Setting the order of the filter operators]({% slug
|
|
13
|
+
* * [Setting the default filter operators]({% slug filter_menu %}#toc-default-filter-operator)
|
|
14
|
+
* * [Setting the order of the filter operators]({% slug filter_menu %}#toc-order-of-filter-operators)
|
|
15
15
|
*/
|
|
16
16
|
export class LessOrEqualToFilterOperatorComponent extends FilterOperatorBase {
|
|
17
17
|
constructor(localization) { super("lte", localization); }
|
|
@@ -10,8 +10,8 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
10
10
|
* Represents the `NotEqual` (**Is not equal to**) filter operator.
|
|
11
11
|
*
|
|
12
12
|
* For more information and examples, refer to:
|
|
13
|
-
* * [Setting the default filter operators]({% slug
|
|
14
|
-
* * [Setting the order of the filter operators]({% slug
|
|
13
|
+
* * [Setting the default filter operators]({% slug filter_menu %}#toc-default-filter-operator)
|
|
14
|
+
* * [Setting the order of the filter operators]({% slug filter_menu %}#toc-order-of-filter-operators)
|
|
15
15
|
*/
|
|
16
16
|
export class NotEqualFilterOperatorComponent extends FilterOperatorBase {
|
|
17
17
|
constructor(localization) { super("neq", localization); }
|
|
@@ -10,8 +10,8 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
10
10
|
* Represents the `DoesNotContain` (**Does not contain**) filter operator.
|
|
11
11
|
*
|
|
12
12
|
* For more information and examples, refer to:
|
|
13
|
-
* * [Setting the default filter operators]({% slug
|
|
14
|
-
* * [Setting the order of the filter operators]({% slug
|
|
13
|
+
* * [Setting the default filter operators]({% slug filter_menu %}#toc-default-filter-operator)
|
|
14
|
+
* * [Setting the order of the filter operators]({% slug filter_menu %}#toc-order-of-filter-operators)
|
|
15
15
|
*/
|
|
16
16
|
export class DoesNotContainFilterOperatorComponent extends FilterOperatorBase {
|
|
17
17
|
constructor(localization) { super("doesnotcontain", localization); }
|
|
@@ -10,8 +10,8 @@ import * as i1 from "@progress/kendo-angular-l10n";
|
|
|
10
10
|
* Represents the `StartsWith` (**Starts with**) filter operator.
|
|
11
11
|
*
|
|
12
12
|
* For more information and examples, refer to:
|
|
13
|
-
* * [Setting the default filter operators]({% slug
|
|
14
|
-
* * [Setting the order of the filter operators]({% slug
|
|
13
|
+
* * [Setting the default filter operators]({% slug filter_menu %}#toc-default-filter-operator)
|
|
14
|
+
* * [Setting the order of the filter operators]({% slug filter_menu %}#toc-order-of-filter-operators)
|
|
15
15
|
*/
|
|
16
16
|
export class StartsWithFilterOperatorComponent extends FilterOperatorBase {
|
|
17
17
|
constructor(localization) { super("startswith", localization); }
|
|
@@ -1155,7 +1155,7 @@ export class GridComponent {
|
|
|
1155
1155
|
* Switches the specified table row in the edit mode ([see example]({% slug inline_editing_grid %}#toc-editing-records-1)).
|
|
1156
1156
|
*
|
|
1157
1157
|
* @param rowIndex - The data row index that will be switched in the edit mode.
|
|
1158
|
-
* @param group - The [FormGroup](
|
|
1158
|
+
* @param group - The [FormGroup](link:site.data.urls.angular['formgroupapi'])
|
|
1159
1159
|
* that describes the edit form.
|
|
1160
1160
|
* @param options - Additional options configuring the focus target once the editor opens.
|
|
1161
1161
|
*/
|
|
@@ -1181,7 +1181,7 @@ export class GridComponent {
|
|
|
1181
1181
|
/**
|
|
1182
1182
|
* Creates a new row editor ([see example]({% slug inline_editing_grid %}#toc-adding-records-1)).
|
|
1183
1183
|
*
|
|
1184
|
-
* @param {FormGroup} group - The [FormGroup](
|
|
1184
|
+
* @param {FormGroup} group - The [FormGroup](link:site.data.urls.angular['formgroupapi']) that describes
|
|
1185
1185
|
* the edit form. If called with a data item, it will build the `FormGroup` from the data item fields.
|
|
1186
1186
|
*/
|
|
1187
1187
|
addRow(group) {
|
|
@@ -1198,7 +1198,7 @@ export class GridComponent {
|
|
|
1198
1198
|
*
|
|
1199
1199
|
* @param {number} rowIndex - The data row index that will be switched in the edit mode.
|
|
1200
1200
|
* @param {number|string|any} column - The leaf column index, or the field name or the column instance that should be edited.
|
|
1201
|
-
* @param {FormGroup} group - The [FormGroup](
|
|
1201
|
+
* @param {FormGroup} group - The [FormGroup](link:site.data.urls.angular['formgroupapi'])
|
|
1202
1202
|
* that describes the edit form.
|
|
1203
1203
|
*/
|
|
1204
1204
|
editCell(rowIndex, column, group) {
|
package/esm2015/grid.module.js
CHANGED
|
@@ -157,7 +157,7 @@ const declarations = [
|
|
|
157
157
|
GridSpacerComponent
|
|
158
158
|
];
|
|
159
159
|
/**
|
|
160
|
-
* Represents the [NgModule](
|
|
160
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
161
161
|
* definition for the Grid component.
|
|
162
162
|
*
|
|
163
163
|
* @example
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-grid',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1667920261,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
|
@@ -21,7 +21,7 @@ const declarations = [
|
|
|
21
21
|
PDFTemplateDirective
|
|
22
22
|
];
|
|
23
23
|
/**
|
|
24
|
-
* Represents the [NgModule](
|
|
24
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
25
25
|
* definition for the Grid PDF component.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
@@ -210,7 +210,7 @@ CellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
210
210
|
</ng-container>
|
|
211
211
|
</ng-container>
|
|
212
212
|
</ng-container>
|
|
213
|
-
`, isInline: true, components: [{ type: i4.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"] }, { type: i5.DatePickerComponent, selector: "kendo-datepicker", inputs: ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate", "
|
|
213
|
+
`, isInline: true, components: [{ type: i4.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"] }, { type: i5.DatePickerComponent, selector: "kendo-datepicker", inputs: ["cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "navigationItemTemplate", "activeView", "bottomView", "topView", "calendarType", "animateCalendarNavigation", "disabled", "readonly", "readOnlyInput", "popupSettings", "navigation", "min", "max", "incompleteDateValidation", "focusedDate", "value", "format", "twoDigitYearMax", "formatPlaceholder", "placeholder", "tabindex", "tabIndex", "disabledDates", "title", "rangeValidation", "disabledDatesValidation", "weekNumber", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur", "open", "close"], exportAs: ["kendo-datepicker"] }], directives: [{ type: i6.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i6.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i7.FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { type: i8.SelectionCheckboxDirective, selector: "[kendoGridSelectionCheckbox]", inputs: ["kendoGridSelectionCheckbox"] }, { type: i9.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i9.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i9.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { type: i6.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: i9.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }], pipes: { "valueOf": i10.FieldAccessorPipe } });
|
|
214
214
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CellComponent, decorators: [{
|
|
215
215
|
type: Component,
|
|
216
216
|
args: [{
|
|
@@ -207,7 +207,7 @@ export class TableBodyComponent {
|
|
|
207
207
|
};
|
|
208
208
|
});
|
|
209
209
|
let originalNoRecordText = this.localization.get('noRecords');
|
|
210
|
-
this.localization.changes.subscribe(() => {
|
|
210
|
+
this.l10nSubscription = this.localization.changes.subscribe(() => {
|
|
211
211
|
if (this.noRecordsText === originalNoRecordText) {
|
|
212
212
|
this.noRecordsText = this.localization.get('noRecords');
|
|
213
213
|
originalNoRecordText = this.noRecordsText;
|
|
@@ -221,6 +221,9 @@ export class TableBodyComponent {
|
|
|
221
221
|
if (this.touchSubscription) {
|
|
222
222
|
this.touchSubscription();
|
|
223
223
|
}
|
|
224
|
+
if (this.l10nSubscription) {
|
|
225
|
+
this.l10nSubscription.unsubscribe();
|
|
226
|
+
}
|
|
224
227
|
this.cellKeydownSubscription.unsubscribe();
|
|
225
228
|
clearTimeout(this.clickTimeout);
|
|
226
229
|
}
|
package/excel/excel.module.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import * as i1 from "./excel.component";
|
|
|
7
7
|
import * as i2 from "./excel-command.directive";
|
|
8
8
|
import * as i3 from "@progress/kendo-angular-excel-export";
|
|
9
9
|
/**
|
|
10
|
-
* Represents the [NgModule](
|
|
10
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
11
11
|
* definition for the Excel component of the Grid.
|
|
12
12
|
*
|
|
13
13
|
* @example
|