@progress/kendo-angular-filter 16.5.0 → 16.6.0-develop.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aria-label.directive.d.ts +1 -1
- package/directives.d.ts +12 -0
- package/editors/boolean-editor.component.d.ts +1 -1
- package/editors/date-editor.component.d.ts +1 -1
- package/editors/numeric-editor.component.d.ts +1 -1
- package/editors/text-editor.component.d.ts +1 -1
- package/esm2020/aria-label.directive.mjs +5 -2
- package/esm2020/directives.mjs +17 -0
- package/esm2020/editors/boolean-editor.component.mjs +7 -5
- package/esm2020/editors/date-editor.component.mjs +7 -5
- package/esm2020/editors/numeric-editor.component.mjs +7 -5
- package/esm2020/editors/text-editor.component.mjs +7 -5
- package/esm2020/filter-expression-operators.component.mjs +7 -5
- package/esm2020/filter-expression.component.mjs +15 -12
- package/esm2020/filter-field.component.mjs +3 -2
- package/esm2020/filter-group.component.mjs +8 -6
- package/esm2020/filter.component.mjs +7 -5
- package/esm2020/filter.module.mjs +61 -68
- package/esm2020/index.mjs +1 -0
- package/esm2020/localization/custom-messages.component.mjs +4 -3
- package/esm2020/localization/localized-messages.directive.mjs +3 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/templates/value-editor.template.mjs +3 -2
- package/fesm2015/progress-kendo-angular-filter.mjs +263 -275
- package/fesm2020/progress-kendo-angular-filter.mjs +263 -275
- package/filter-expression-operators.component.d.ts +1 -1
- package/filter-expression.component.d.ts +1 -1
- package/filter-field.component.d.ts +1 -1
- package/filter-group.component.d.ts +1 -1
- package/filter.component.d.ts +1 -1
- package/filter.module.d.ts +4 -14
- package/index.d.ts +1 -0
- package/localization/custom-messages.component.d.ts +2 -2
- package/localization/localized-messages.directive.d.ts +1 -1
- package/package.json +11 -11
- package/schematics/ngAdd/index.js +4 -4
- package/templates/value-editor.template.d.ts +1 -1
- package/esm2020/shared.module.mjs +0 -50
- package/shared.module.d.ts +0 -19
|
@@ -3,21 +3,18 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { FilterExpressionComponent } from './filter-expression.component';
|
|
13
|
-
import { FilterFieldComponent } from './filter-field.component';
|
|
14
|
-
import { FilterGroupComponent } from './filter-group.component';
|
|
15
|
-
import { FilterComponent } from './filter.component';
|
|
16
|
-
import { CustomMessagesComponent } from './localization/custom-messages.component';
|
|
17
|
-
import { LocalizedMessagesDirective } from './localization/localized-messages.directive';
|
|
18
|
-
import { SharedModule } from './shared.module';
|
|
19
|
-
import { FilterValueEditorTemplateDirective } from './templates/value-editor.template';
|
|
6
|
+
import { KENDO_FILTER } from './directives';
|
|
7
|
+
import { IconsService } from '@progress/kendo-angular-icons';
|
|
8
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
9
|
+
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
|
10
|
+
import { DialogContainerService, DialogService, NavigationService, WindowContainerService, WindowService, } from '@progress/kendo-angular-dialog';
|
|
11
|
+
import { CalendarDOMService, CenturyViewService, DecadeViewService, MonthViewService, YearViewService, WeekNamesService, TimePickerDOMService, HoursService, MinutesService, SecondsService, MillisecondsService, DayPeriodService, } from '@progress/kendo-angular-dateinputs';
|
|
20
12
|
import * as i0 from "@angular/core";
|
|
13
|
+
import * as i1 from "./filter.component";
|
|
14
|
+
import * as i2 from "./filter-field.component";
|
|
15
|
+
import * as i3 from "./localization/custom-messages.component";
|
|
16
|
+
import * as i4 from "./templates/value-editor.template";
|
|
17
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
21
18
|
/**
|
|
22
19
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
23
20
|
* definition for the Filter component.
|
|
@@ -52,63 +49,59 @@ import * as i0 from "@angular/core";
|
|
|
52
49
|
export class FilterModule {
|
|
53
50
|
}
|
|
54
51
|
FilterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
55
|
-
FilterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: FilterModule,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
FilterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterModule, imports: [SharedModule] });
|
|
52
|
+
FilterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: FilterModule, imports: [i1.FilterComponent, i2.FilterFieldComponent, i3.CustomMessagesComponent, i4.FilterValueEditorTemplateDirective], exports: [i1.FilterComponent, i2.FilterFieldComponent, i3.CustomMessagesComponent, i4.FilterValueEditorTemplateDirective] });
|
|
53
|
+
FilterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterModule, providers: [
|
|
54
|
+
// InputsModule providers
|
|
55
|
+
IconsService,
|
|
56
|
+
PopupService,
|
|
57
|
+
ResizeBatchService,
|
|
58
|
+
DialogContainerService,
|
|
59
|
+
DialogService,
|
|
60
|
+
WindowService,
|
|
61
|
+
WindowContainerService,
|
|
62
|
+
// DateInputsModule providers
|
|
63
|
+
CalendarDOMService,
|
|
64
|
+
CenturyViewService,
|
|
65
|
+
DecadeViewService,
|
|
66
|
+
MonthViewService,
|
|
67
|
+
YearViewService,
|
|
68
|
+
WeekNamesService,
|
|
69
|
+
NavigationService,
|
|
70
|
+
TimePickerDOMService,
|
|
71
|
+
HoursService,
|
|
72
|
+
MinutesService,
|
|
73
|
+
SecondsService,
|
|
74
|
+
MillisecondsService,
|
|
75
|
+
DayPeriodService
|
|
76
|
+
], imports: [i1.FilterComponent, i2.FilterFieldComponent, i3.CustomMessagesComponent] });
|
|
81
77
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterModule, decorators: [{
|
|
82
78
|
type: NgModule,
|
|
83
79
|
args: [{
|
|
84
|
-
imports: [
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
80
|
+
imports: [...KENDO_FILTER],
|
|
81
|
+
exports: [...KENDO_FILTER],
|
|
82
|
+
providers: [
|
|
83
|
+
// InputsModule providers
|
|
84
|
+
IconsService,
|
|
85
|
+
PopupService,
|
|
86
|
+
ResizeBatchService,
|
|
87
|
+
DialogContainerService,
|
|
88
|
+
DialogService,
|
|
89
|
+
WindowService,
|
|
90
|
+
WindowContainerService,
|
|
91
|
+
// DateInputsModule providers
|
|
92
|
+
CalendarDOMService,
|
|
93
|
+
CenturyViewService,
|
|
94
|
+
DecadeViewService,
|
|
95
|
+
MonthViewService,
|
|
96
|
+
YearViewService,
|
|
97
|
+
WeekNamesService,
|
|
98
|
+
NavigationService,
|
|
99
|
+
TimePickerDOMService,
|
|
100
|
+
HoursService,
|
|
101
|
+
MinutesService,
|
|
102
|
+
SecondsService,
|
|
103
|
+
MillisecondsService,
|
|
104
|
+
DayPeriodService
|
|
98
105
|
],
|
|
99
|
-
exports: [FilterComponent,
|
|
100
|
-
FilterNumericEditorComponent,
|
|
101
|
-
FilterTextEditorComponent,
|
|
102
|
-
FilterExpressionComponent,
|
|
103
|
-
FilterGroupComponent,
|
|
104
|
-
FilterExpressionOperatorsComponent,
|
|
105
|
-
FilterBooleanEditorComponent,
|
|
106
|
-
FilterDateEditorComponent,
|
|
107
|
-
LocalizedMessagesDirective,
|
|
108
|
-
CustomMessagesComponent,
|
|
109
|
-
AriaLabelValueDirective,
|
|
110
|
-
FilterFieldComponent,
|
|
111
|
-
FilterValueEditorTemplateDirective
|
|
112
|
-
]
|
|
113
106
|
}]
|
|
114
107
|
}] });
|
package/esm2020/index.mjs
CHANGED
|
@@ -16,3 +16,4 @@ export { CustomMessagesComponent } from './localization/custom-messages.componen
|
|
|
16
16
|
export { LocalizedMessagesDirective } from './localization/localized-messages.directive';
|
|
17
17
|
export { FilterFieldComponent } from './filter-field.component';
|
|
18
18
|
export { FilterValueEditorTemplateDirective } from './templates/value-editor.template';
|
|
19
|
+
export * from './directives';
|
|
@@ -9,7 +9,7 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
10
10
|
/**
|
|
11
11
|
* Custom component messages override default component messages
|
|
12
|
-
* ([see example](
|
|
12
|
+
* ([see example](slug:globalization_filter#toc-internationalization)).
|
|
13
13
|
*/
|
|
14
14
|
export class CustomMessagesComponent extends Messages {
|
|
15
15
|
constructor(service) {
|
|
@@ -21,7 +21,7 @@ export class CustomMessagesComponent extends Messages {
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
-
CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, selector: "kendo-filter-messages", providers: [
|
|
24
|
+
CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-filter-messages", providers: [
|
|
25
25
|
{
|
|
26
26
|
provide: Messages,
|
|
27
27
|
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
@@ -37,6 +37,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
37
37
|
}
|
|
38
38
|
],
|
|
39
39
|
selector: 'kendo-filter-messages',
|
|
40
|
-
template:
|
|
40
|
+
template: ``,
|
|
41
|
+
standalone: true
|
|
41
42
|
}]
|
|
42
43
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
@@ -17,7 +17,7 @@ export class LocalizedMessagesDirective extends Messages {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, selector: "[kendoFilterLocalizedMessages]", providers: [
|
|
20
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoFilterLocalizedMessages]", providers: [
|
|
21
21
|
{
|
|
22
22
|
provide: Messages,
|
|
23
23
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
@@ -32,6 +32,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
32
32
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
33
33
|
}
|
|
34
34
|
],
|
|
35
|
-
selector: '[kendoFilterLocalizedMessages]'
|
|
35
|
+
selector: '[kendoFilterLocalizedMessages]',
|
|
36
|
+
standalone: true
|
|
36
37
|
}]
|
|
37
38
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-filter',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '16.
|
|
12
|
+
publishDate: 1721847324,
|
|
13
|
+
version: '16.6.0-develop.2',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -10,10 +10,11 @@ export class FilterValueEditorTemplateDirective {
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
FilterValueEditorTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterValueEditorTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13
|
-
FilterValueEditorTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FilterValueEditorTemplateDirective, selector: "[kendoFilterValueEditorTemplate]", ngImport: i0 });
|
|
13
|
+
FilterValueEditorTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FilterValueEditorTemplateDirective, isStandalone: true, selector: "[kendoFilterValueEditorTemplate]", ngImport: i0 });
|
|
14
14
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FilterValueEditorTemplateDirective, decorators: [{
|
|
15
15
|
type: Directive,
|
|
16
16
|
args: [{
|
|
17
|
-
selector: '[kendoFilterValueEditorTemplate]'
|
|
17
|
+
selector: '[kendoFilterValueEditorTemplate]',
|
|
18
|
+
standalone: true
|
|
18
19
|
}]
|
|
19
20
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|