@progress/kendo-angular-dropdowns 17.1.2-develop.4 → 17.2.0-develop.1
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/autocomplete/autocomplete.component.d.ts +5 -3
- package/comboboxes/combobox.component.d.ts +5 -3
- package/comboboxes/multicolumncombobox.component.d.ts +2 -1
- package/common/util.d.ts +2 -9
- package/dropdownlist/dropdownlist.component.d.ts +5 -3
- package/dropdowntrees/dropdowntree.component.d.ts +5 -3
- package/dropdowntrees/multiselecttree.component.d.ts +5 -3
- package/esm2022/autocomplete/autocomplete.component.mjs +14 -9
- package/esm2022/autocomplete/autocomplete.module.mjs +5 -2
- package/esm2022/comboboxes/combobox.component.mjs +16 -11
- package/esm2022/comboboxes/combobox.module.mjs +5 -2
- package/esm2022/comboboxes/multicolumncombobox.component.mjs +8 -6
- package/esm2022/common/util.mjs +0 -16
- package/esm2022/dropdownlist/dropdownlist.component.mjs +17 -12
- package/esm2022/dropdownlist/dropdownlist.module.mjs +5 -2
- package/esm2022/dropdowns.module.mjs +3 -2
- package/esm2022/dropdowntrees/dropdowntree.component.mjs +15 -10
- package/esm2022/dropdowntrees/dropdowntrees.module.mjs +5 -2
- package/esm2022/dropdowntrees/multiselecttree.component.mjs +14 -9
- package/esm2022/multiselect/multiselect.component.mjs +15 -10
- package/esm2022/multiselect/multiselect.module.mjs +5 -2
- package/esm2022/package-metadata.mjs +2 -2
- package/fesm2022/progress-kendo-angular-dropdowns.mjs +104 -90
- package/multiselect/multiselect.component.d.ts +5 -3
- package/package.json +9 -8
- package/schematics/ngAdd/index.js +2 -2
|
@@ -7,7 +7,9 @@ import { EventEmitter, Component, Input, HostBinding, Output, Directive, Injecta
|
|
|
7
7
|
import * as i10 from '@progress/kendo-angular-common';
|
|
8
8
|
import { isDocumentAvailable, isObjectPresent, removeHTMLAttributes, parseAttributes, isSafari, Keys, setHTMLAttributes, EventsOutsideAngularDirective, isChanged, TemplateContextDirective, ResizeSensorComponent, closest as closest$1, isControlRequired, hasObservers, KendoInput, SuffixTemplateDirective, PrefixTemplateDirective, SeparatorComponent, MultiTabStop, anyChanged, guid as guid$1, ToggleButtonTabStopDirective, ResizeBatchService, KENDO_ADORNMENTS, KENDO_TOGGLEBUTTONTABSTOP } from '@progress/kendo-angular-common';
|
|
9
9
|
export { PrefixTemplateDirective, SeparatorComponent, SuffixTemplateDirective, ToggleButtonTabStopDirective } from '@progress/kendo-angular-common';
|
|
10
|
-
import * as i7 from '@angular
|
|
10
|
+
import * as i7 from '@progress/kendo-angular-utils';
|
|
11
|
+
import { AdaptiveService } from '@progress/kendo-angular-utils';
|
|
12
|
+
import * as i8 from '@angular/forms';
|
|
11
13
|
import { NgControl, NG_VALUE_ACCESSOR, ReactiveFormsModule, FormsModule } from '@angular/forms';
|
|
12
14
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
13
15
|
import { getter as getter$1, touchEnabled, pointers } from '@progress/kendo-common';
|
|
@@ -34,8 +36,8 @@ const packageMetadata = {
|
|
|
34
36
|
name: '@progress/kendo-angular-dropdowns',
|
|
35
37
|
productName: 'Kendo UI for Angular',
|
|
36
38
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
37
|
-
publishDate:
|
|
38
|
-
version: '17.
|
|
39
|
+
publishDate: 1734364396,
|
|
40
|
+
version: '17.2.0-develop.1',
|
|
39
41
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
40
42
|
};
|
|
41
43
|
|
|
@@ -398,22 +400,6 @@ const getSearchableItems = (treeViewId, element) => {
|
|
|
398
400
|
return { text: liElement.innerText, index: liElement.getAttribute('data-treeindex') };
|
|
399
401
|
});
|
|
400
402
|
};
|
|
401
|
-
/**
|
|
402
|
-
* @hidden
|
|
403
|
-
*/
|
|
404
|
-
const windowSize = () => {
|
|
405
|
-
if (typeof window !== 'undefined') {
|
|
406
|
-
if (window.innerWidth > 768) {
|
|
407
|
-
return 'large';
|
|
408
|
-
}
|
|
409
|
-
else if (window.innerWidth > 500) {
|
|
410
|
-
return 'medium';
|
|
411
|
-
}
|
|
412
|
-
else {
|
|
413
|
-
return 'small';
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
|
-
};
|
|
417
403
|
/**
|
|
418
404
|
* @hidden
|
|
419
405
|
*/
|
|
@@ -3170,6 +3156,7 @@ class AutoCompleteComponent {
|
|
|
3170
3156
|
renderer;
|
|
3171
3157
|
hostElement;
|
|
3172
3158
|
injector;
|
|
3159
|
+
adaptiveService;
|
|
3173
3160
|
/**
|
|
3174
3161
|
* @hidden
|
|
3175
3162
|
*/
|
|
@@ -3270,7 +3257,7 @@ class AutoCompleteComponent {
|
|
|
3270
3257
|
* @hidden
|
|
3271
3258
|
*/
|
|
3272
3259
|
handleClick() {
|
|
3273
|
-
this.windowSize =
|
|
3260
|
+
this.windowSize = this.adaptiveService.size;
|
|
3274
3261
|
if (this.isAdaptive) {
|
|
3275
3262
|
this.togglePopup(true);
|
|
3276
3263
|
}
|
|
@@ -3663,7 +3650,7 @@ class AutoCompleteComponent {
|
|
|
3663
3650
|
}
|
|
3664
3651
|
onChangeCallback = noop;
|
|
3665
3652
|
onTouchedCallback = noop;
|
|
3666
|
-
constructor(localization, dataService, popupService, selectionService, navigationService, disabledItemsService, _zone, cdr, renderer, hostElement, injector) {
|
|
3653
|
+
constructor(localization, dataService, popupService, selectionService, navigationService, disabledItemsService, _zone, cdr, renderer, hostElement, injector, adaptiveService) {
|
|
3667
3654
|
this.localization = localization;
|
|
3668
3655
|
this.dataService = dataService;
|
|
3669
3656
|
this.popupService = popupService;
|
|
@@ -3675,6 +3662,7 @@ class AutoCompleteComponent {
|
|
|
3675
3662
|
this.renderer = renderer;
|
|
3676
3663
|
this.hostElement = hostElement;
|
|
3677
3664
|
this.injector = injector;
|
|
3665
|
+
this.adaptiveService = adaptiveService;
|
|
3678
3666
|
validatePackage(packageMetadata);
|
|
3679
3667
|
this.direction = localization.rtl ? 'rtl' : 'ltr';
|
|
3680
3668
|
this.wrapper = this.hostElement.nativeElement;
|
|
@@ -3694,7 +3682,7 @@ class AutoCompleteComponent {
|
|
|
3694
3682
|
this.setComponentClasses();
|
|
3695
3683
|
}
|
|
3696
3684
|
ngAfterViewInit() {
|
|
3697
|
-
this.windowSize =
|
|
3685
|
+
this.windowSize = this.adaptiveService.size;
|
|
3698
3686
|
this.cdr.detectChanges();
|
|
3699
3687
|
if (this.actionSheet && isDocumentAvailable()) {
|
|
3700
3688
|
// The following syntax is used as it does not violate CSP compliance
|
|
@@ -3806,11 +3794,12 @@ class AutoCompleteComponent {
|
|
|
3806
3794
|
* @hidden
|
|
3807
3795
|
*/
|
|
3808
3796
|
onResize() {
|
|
3809
|
-
|
|
3797
|
+
const currentWindowSize = this.adaptiveService.size;
|
|
3798
|
+
if (this.isAdaptiveModeEnabled && this.windowSize !== currentWindowSize) {
|
|
3810
3799
|
if (this.isOpen) {
|
|
3811
3800
|
this.togglePopup(false);
|
|
3812
3801
|
}
|
|
3813
|
-
this.windowSize =
|
|
3802
|
+
this.windowSize = currentWindowSize;
|
|
3814
3803
|
this.cdr.detectChanges();
|
|
3815
3804
|
}
|
|
3816
3805
|
if (this._open && !this.isActionSheetExpanded) {
|
|
@@ -4143,7 +4132,7 @@ class AutoCompleteComponent {
|
|
|
4143
4132
|
if (this.virtual) {
|
|
4144
4133
|
this.virtual.skip = 0;
|
|
4145
4134
|
}
|
|
4146
|
-
this.windowSize =
|
|
4135
|
+
this.windowSize = this.adaptiveService.size;
|
|
4147
4136
|
if (this.isAdaptive) {
|
|
4148
4137
|
this.openActionSheet();
|
|
4149
4138
|
return;
|
|
@@ -4268,7 +4257,7 @@ class AutoCompleteComponent {
|
|
|
4268
4257
|
this.selectionService.focus(this.selectionService.focused);
|
|
4269
4258
|
this.actionSheetSearchBar.focus();
|
|
4270
4259
|
}
|
|
4271
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AutoCompleteComponent, deps: [{ token: i1.LocalizationService }, { token: DataService }, { token: i2.PopupService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
4260
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AutoCompleteComponent, deps: [{ token: i1.LocalizationService }, { token: DataService }, { token: i2.PopupService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.Injector }, { token: i7.AdaptiveService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4272
4261
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AutoCompleteComponent, isStandalone: true, selector: "kendo-autocomplete", inputs: { highlightFirst: "highlightFirst", showStickyHeader: "showStickyHeader", focusableId: "focusableId", data: "data", value: "value", valueField: "valueField", placeholder: "placeholder", adaptiveMode: "adaptiveMode", title: "title", subtitle: "subtitle", popupSettings: "popupSettings", listHeight: "listHeight", loading: "loading", clearButton: "clearButton", suggest: "suggest", disabled: "disabled", itemDisabled: "itemDisabled", readonly: "readonly", tabindex: "tabindex", tabIndex: "tabIndex", filterable: "filterable", virtual: "virtual", size: "size", rounded: "rounded", fillMode: "fillMode", inputAttributes: "inputAttributes" }, outputs: { valueChange: "valueChange", filterChange: "filterChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur", inputFocus: "inputFocus", inputBlur: "inputBlur" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-autocomplete": "this.widgetClasses", "class.k-input": "this.widgetClasses", "class.k-disabled": "this.isDisabled", "class.k-loading": "this.isLoading", "attr.dir": "this.dir" } }, providers: [
|
|
4273
4262
|
AUTOCOMPLETE_VALUE_ACCESSOR,
|
|
4274
4263
|
DataService,
|
|
@@ -4593,7 +4582,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
4593
4582
|
standalone: true,
|
|
4594
4583
|
imports: [LocalizedMessagesDirective, SharedDropDownEventsDirective, NgIf, NgTemplateOutlet, SeparatorComponent, SearchBarComponent, IconWrapperComponent, ResizeSensorComponent, ResponsiveRendererComponent, TemplateContextDirective, ListComponent]
|
|
4595
4584
|
}]
|
|
4596
|
-
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: DataService }, { type: i2.PopupService }, { type: SelectionService }, { type: NavigationService }, { type: DisabledItemsService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.Injector }]; }, propDecorators: { responsiveRendererComponent: [{
|
|
4585
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: DataService }, { type: i2.PopupService }, { type: SelectionService }, { type: NavigationService }, { type: DisabledItemsService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.Injector }, { type: i7.AdaptiveService }]; }, propDecorators: { responsiveRendererComponent: [{
|
|
4597
4586
|
type: ViewChild,
|
|
4598
4587
|
args: [ResponsiveRendererComponent]
|
|
4599
4588
|
}], highlightFirst: [{
|
|
@@ -4826,6 +4815,7 @@ class ComboBoxComponent extends MultiTabStop {
|
|
|
4826
4815
|
renderer;
|
|
4827
4816
|
injector;
|
|
4828
4817
|
hostElement;
|
|
4818
|
+
adaptiveService;
|
|
4829
4819
|
/**
|
|
4830
4820
|
* @hidden
|
|
4831
4821
|
*/
|
|
@@ -5414,7 +5404,7 @@ class ComboBoxComponent extends MultiTabStop {
|
|
|
5414
5404
|
_size = 'medium';
|
|
5415
5405
|
_rounded = 'medium';
|
|
5416
5406
|
_fillMode = 'solid';
|
|
5417
|
-
constructor(wrapper, localization, popupService, selectionService, navigationService, disabledItemsService, dataService, zone, cdr, renderer, injector, hostElement) {
|
|
5407
|
+
constructor(wrapper, localization, popupService, selectionService, navigationService, disabledItemsService, dataService, zone, cdr, renderer, injector, hostElement, adaptiveService) {
|
|
5418
5408
|
super();
|
|
5419
5409
|
this.wrapper = wrapper;
|
|
5420
5410
|
this.localization = localization;
|
|
@@ -5428,6 +5418,7 @@ class ComboBoxComponent extends MultiTabStop {
|
|
|
5428
5418
|
this.renderer = renderer;
|
|
5429
5419
|
this.injector = injector;
|
|
5430
5420
|
this.hostElement = hostElement;
|
|
5421
|
+
this.adaptiveService = adaptiveService;
|
|
5431
5422
|
validatePackage(packageMetadata);
|
|
5432
5423
|
this.direction = localization.rtl ? 'rtl' : 'ltr';
|
|
5433
5424
|
this.data = [];
|
|
@@ -5441,7 +5432,7 @@ class ComboBoxComponent extends MultiTabStop {
|
|
|
5441
5432
|
this.setComponentClasses();
|
|
5442
5433
|
}
|
|
5443
5434
|
ngAfterViewInit() {
|
|
5444
|
-
this.windowSize =
|
|
5435
|
+
this.windowSize = this.adaptiveService.size;
|
|
5445
5436
|
this.cdr.detectChanges();
|
|
5446
5437
|
if (this.actionSheet && isDocumentAvailable()) {
|
|
5447
5438
|
// The following syntax is used as it does not violate CSP compliance
|
|
@@ -5671,7 +5662,7 @@ class ComboBoxComponent extends MultiTabStop {
|
|
|
5671
5662
|
* @hidden
|
|
5672
5663
|
*/
|
|
5673
5664
|
handleClick() {
|
|
5674
|
-
this.windowSize =
|
|
5665
|
+
this.windowSize = this.adaptiveService.size;
|
|
5675
5666
|
if (this.isAdaptive) {
|
|
5676
5667
|
this.togglePopup(true);
|
|
5677
5668
|
}
|
|
@@ -5752,11 +5743,12 @@ class ComboBoxComponent extends MultiTabStop {
|
|
|
5752
5743
|
* @hidden
|
|
5753
5744
|
*/
|
|
5754
5745
|
onResize() {
|
|
5755
|
-
|
|
5746
|
+
const currentWindowSize = this.adaptiveService.size;
|
|
5747
|
+
if (this.isAdaptiveModeEnabled && this.windowSize !== currentWindowSize) {
|
|
5756
5748
|
if (this.isOpen) {
|
|
5757
5749
|
this.togglePopup(false);
|
|
5758
5750
|
}
|
|
5759
|
-
this.windowSize =
|
|
5751
|
+
this.windowSize = currentWindowSize;
|
|
5760
5752
|
this.cdr.detectChanges();
|
|
5761
5753
|
}
|
|
5762
5754
|
if (this.isOpen && !this.isActionSheetExpanded) {
|
|
@@ -6204,7 +6196,7 @@ class ComboBoxComponent extends MultiTabStop {
|
|
|
6204
6196
|
if (this.virtual) {
|
|
6205
6197
|
this.virtual.skip = 0;
|
|
6206
6198
|
}
|
|
6207
|
-
this.windowSize =
|
|
6199
|
+
this.windowSize = this.adaptiveService.size;
|
|
6208
6200
|
if (this.isAdaptive) {
|
|
6209
6201
|
this.openActionSheet();
|
|
6210
6202
|
return;
|
|
@@ -6253,7 +6245,7 @@ class ComboBoxComponent extends MultiTabStop {
|
|
|
6253
6245
|
this.closeActionSheet();
|
|
6254
6246
|
}
|
|
6255
6247
|
if (this._open) {
|
|
6256
|
-
this.windowSize =
|
|
6248
|
+
this.windowSize = this.adaptiveService.size;
|
|
6257
6249
|
this.createPopup();
|
|
6258
6250
|
}
|
|
6259
6251
|
}
|
|
@@ -6327,7 +6319,7 @@ class ComboBoxComponent extends MultiTabStop {
|
|
|
6327
6319
|
this.closed.emit();
|
|
6328
6320
|
}
|
|
6329
6321
|
openActionSheet() {
|
|
6330
|
-
this.windowSize =
|
|
6322
|
+
this.windowSize = this.adaptiveService.size;
|
|
6331
6323
|
this.actionSheet.toggle(true);
|
|
6332
6324
|
this.cdr.detectChanges();
|
|
6333
6325
|
setListBoxAriaLabelledBy(this.optionsList, this.searchbar.input, this.renderer);
|
|
@@ -6339,7 +6331,7 @@ class ComboBoxComponent extends MultiTabStop {
|
|
|
6339
6331
|
this.selectionService.focus(this.selectionService.focused);
|
|
6340
6332
|
this.actionSheetSearchBar.focus();
|
|
6341
6333
|
}
|
|
6342
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ComboBoxComponent, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i2.PopupService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: DataService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6334
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ComboBoxComponent, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i2.PopupService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: DataService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: i0.ElementRef }, { token: i7.AdaptiveService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6343
6335
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ComboBoxComponent, isStandalone: true, selector: "kendo-combobox", inputs: { icon: "icon", svgIcon: "svgIcon", inputAttributes: "inputAttributes", showStickyHeader: "showStickyHeader", focusableId: "focusableId", allowCustom: "allowCustom", data: "data", value: "value", textField: "textField", valueField: "valueField", valuePrimitive: "valuePrimitive", valueNormalizer: "valueNormalizer", placeholder: "placeholder", adaptiveMode: "adaptiveMode", title: "title", subtitle: "subtitle", popupSettings: "popupSettings", listHeight: "listHeight", loading: "loading", suggest: "suggest", clearButton: "clearButton", disabled: "disabled", itemDisabled: "itemDisabled", readonly: "readonly", tabindex: "tabindex", tabIndex: "tabIndex", filterable: "filterable", virtual: "virtual", size: "size", rounded: "rounded", fillMode: "fillMode" }, outputs: { valueChange: "valueChange", selectionChange: "selectionChange", filterChange: "filterChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur", inputFocus: "inputFocus", inputBlur: "inputBlur", escape: "escape" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-combobox": "this.widgetClasses", "class.k-input": "this.widgetClasses", "class.k-disabled": "this.isDisabled", "class.k-loading": "this.isLoading", "attr.dir": "this.dir" } }, providers: [
|
|
6344
6336
|
COMBOBOX_VALUE_ACCESSOR,
|
|
6345
6337
|
DataService,
|
|
@@ -6712,7 +6704,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6712
6704
|
standalone: true,
|
|
6713
6705
|
imports: [LocalizedMessagesDirective, SharedDropDownEventsDirective, NgIf, NgTemplateOutlet, SeparatorComponent, SearchBarComponent, EventsOutsideAngularDirective, IconWrapperComponent, NgClass, ResizeSensorComponent, ResponsiveRendererComponent, TemplateContextDirective, ListComponent]
|
|
6714
6706
|
}]
|
|
6715
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.LocalizationService }, { type: i2.PopupService }, { type: SelectionService }, { type: NavigationService }, { type: DisabledItemsService }, { type: DataService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { icon: [{
|
|
6707
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.LocalizationService }, { type: i2.PopupService }, { type: SelectionService }, { type: NavigationService }, { type: DisabledItemsService }, { type: DataService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i0.Injector }, { type: i0.ElementRef }, { type: i7.AdaptiveService }]; }, propDecorators: { icon: [{
|
|
6716
6708
|
type: Input
|
|
6717
6709
|
}], svgIcon: [{
|
|
6718
6710
|
type: Input
|
|
@@ -6982,6 +6974,7 @@ class DropDownListComponent {
|
|
|
6982
6974
|
renderer;
|
|
6983
6975
|
cdr;
|
|
6984
6976
|
injector;
|
|
6977
|
+
adaptiveService;
|
|
6985
6978
|
/**
|
|
6986
6979
|
* @hidden
|
|
6987
6980
|
*/
|
|
@@ -7445,11 +7438,12 @@ class DropDownListComponent {
|
|
|
7445
7438
|
* @hidden
|
|
7446
7439
|
*/
|
|
7447
7440
|
onResize() {
|
|
7448
|
-
|
|
7441
|
+
const currentWindowSize = this.adaptiveService.size;
|
|
7442
|
+
if (this.isAdaptiveModeEnabled && this.windowSize !== currentWindowSize) {
|
|
7449
7443
|
if (this.isOpen) {
|
|
7450
7444
|
this.togglePopup(false);
|
|
7451
7445
|
}
|
|
7452
|
-
this.windowSize =
|
|
7446
|
+
this.windowSize = currentWindowSize;
|
|
7453
7447
|
}
|
|
7454
7448
|
if (this.isOpen && !this.isActionSheetExpanded) {
|
|
7455
7449
|
const popupWrapper = this.popupRef.popupElement;
|
|
@@ -7599,7 +7593,7 @@ class DropDownListComponent {
|
|
|
7599
7593
|
_size = 'medium';
|
|
7600
7594
|
_rounded = 'medium';
|
|
7601
7595
|
_fillMode = 'solid';
|
|
7602
|
-
constructor(wrapper, localization, popupService, selectionService, navigationService, disabledItemsService, dataService, _zone, renderer, cdr, injector) {
|
|
7596
|
+
constructor(wrapper, localization, popupService, selectionService, navigationService, disabledItemsService, dataService, _zone, renderer, cdr, injector, adaptiveService) {
|
|
7603
7597
|
this.wrapper = wrapper;
|
|
7604
7598
|
this.localization = localization;
|
|
7605
7599
|
this.popupService = popupService;
|
|
@@ -7611,6 +7605,7 @@ class DropDownListComponent {
|
|
|
7611
7605
|
this.renderer = renderer;
|
|
7612
7606
|
this.cdr = cdr;
|
|
7613
7607
|
this.injector = injector;
|
|
7608
|
+
this.adaptiveService = adaptiveService;
|
|
7614
7609
|
validatePackage(packageMetadata);
|
|
7615
7610
|
this.direction = localization.rtl ? 'rtl' : 'ltr';
|
|
7616
7611
|
this.data = [];
|
|
@@ -7634,7 +7629,7 @@ class DropDownListComponent {
|
|
|
7634
7629
|
this.setComponentClasses();
|
|
7635
7630
|
}
|
|
7636
7631
|
ngAfterViewInit() {
|
|
7637
|
-
this.windowSize =
|
|
7632
|
+
this.windowSize = this.adaptiveService.size;
|
|
7638
7633
|
if (this.actionSheet && isDocumentAvailable()) {
|
|
7639
7634
|
// The following syntax is used as it does not violate CSP compliance
|
|
7640
7635
|
this.actionSheet.element.nativeElement.style.setProperty('--kendo-actionsheet-height', '60vh');
|
|
@@ -7874,7 +7869,7 @@ class DropDownListComponent {
|
|
|
7874
7869
|
if (this.virtual) {
|
|
7875
7870
|
this.virtual.skip = 0;
|
|
7876
7871
|
}
|
|
7877
|
-
this.windowSize =
|
|
7872
|
+
this.windowSize = this.adaptiveService.size;
|
|
7878
7873
|
if (this.isAdaptive) {
|
|
7879
7874
|
this.openActionSheet();
|
|
7880
7875
|
return;
|
|
@@ -8313,7 +8308,7 @@ class DropDownListComponent {
|
|
|
8313
8308
|
* @hidden
|
|
8314
8309
|
*/
|
|
8315
8310
|
handleClick() {
|
|
8316
|
-
this.windowSize =
|
|
8311
|
+
this.windowSize = this.adaptiveService.size;
|
|
8317
8312
|
if (this.isAdaptive) {
|
|
8318
8313
|
this.togglePopup(true);
|
|
8319
8314
|
}
|
|
@@ -8354,7 +8349,7 @@ class DropDownListComponent {
|
|
|
8354
8349
|
this.closed.emit();
|
|
8355
8350
|
}
|
|
8356
8351
|
openActionSheet() {
|
|
8357
|
-
this.windowSize =
|
|
8352
|
+
this.windowSize = this.adaptiveService.size;
|
|
8358
8353
|
this.actionSheet.toggle(true);
|
|
8359
8354
|
this.cdr.detectChanges();
|
|
8360
8355
|
setListBoxAriaLabelledBy(this.optionsList, this.wrapper, this.renderer);
|
|
@@ -8368,7 +8363,7 @@ class DropDownListComponent {
|
|
|
8368
8363
|
this.actionSheetSearchBar.focus();
|
|
8369
8364
|
}
|
|
8370
8365
|
}
|
|
8371
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropDownListComponent, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i2.PopupService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: DataService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
8366
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropDownListComponent, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i2.PopupService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: DataService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.Injector }, { token: i7.AdaptiveService }], target: i0.ɵɵFactoryTarget.Component });
|
|
8372
8367
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DropDownListComponent, isStandalone: true, selector: "kendo-dropdownlist", inputs: { customIconClass: "customIconClass", showStickyHeader: "showStickyHeader", icon: "icon", svgIcon: "svgIcon", loading: "loading", data: "data", value: "value", textField: "textField", valueField: "valueField", adaptiveMode: "adaptiveMode", title: "title", subtitle: "subtitle", popupSettings: "popupSettings", listHeight: "listHeight", defaultItem: "defaultItem", disabled: "disabled", itemDisabled: "itemDisabled", readonly: "readonly", filterable: "filterable", virtual: "virtual", ignoreCase: "ignoreCase", delay: "delay", valuePrimitive: "valuePrimitive", tabindex: "tabindex", tabIndex: "tabIndex", size: "size", rounded: "rounded", fillMode: "fillMode", leftRightArrowsNavigation: "leftRightArrowsNavigation", focusableId: ["id", "focusableId"] }, outputs: { valueChange: "valueChange", filterChange: "filterChange", selectionChange: "selectionChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur" }, host: { listeners: { "keydown": "keydown($event)", "keypress": "keypress($event)", "click": "click()" }, properties: { "class.k-readonly": "this.readonly", "class.k-dropdownlist": "this.hostClasses", "class.k-picker": "this.hostClasses", "class.k-disabled": "this.isDisabledClass", "attr.aria-disabled": "this.isDisabledClass", "class.k-loading": "this.isLoading", "attr.id": "this.focusableId", "attr.dir": "this.dir", "attr.tabindex": "this.hostTabIndex", "attr.readonly": "this.readonlyAttr", "attr.aria-busy": "this.isBusy", "attr.role": "this.role", "attr.aria-haspopup": "this.haspopup", "attr.aria-invalid": "this.hostAriaInvalid" } }, providers: [
|
|
8373
8368
|
DROPDOWNLIST_VALUE_ACCESSOR,
|
|
8374
8369
|
DataService,
|
|
@@ -8554,7 +8549,7 @@ class DropDownListComponent {
|
|
|
8554
8549
|
}">
|
|
8555
8550
|
</ng-template>
|
|
8556
8551
|
</ng-template>
|
|
8557
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: ResponsiveRendererComponent, selector: "responsive-renderer", inputs: ["title", "showActionButtons", "subtitle", "size", "showTextInput", "sharedPopupActionSheetTemplate", "isActionSheetExpanded", "text", "placeholder"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand", "onCollapse", "onApply", "onCancel"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type:
|
|
8552
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: ResponsiveRendererComponent, selector: "responsive-renderer", inputs: ["title", "showActionButtons", "subtitle", "size", "showTextInput", "sharedPopupActionSheetTemplate", "isActionSheetExpanded", "text", "placeholder"], outputs: ["closePopup", "textInputChange", "navigate", "onExpand", "onCollapse", "onApply", "onCancel"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i8.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i8.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: ["index", "checkboxes", "height", "isMultiselect", "multipleSelection"] }, { kind: "component", type: ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "isMultiselect", "isActionSheetExpanded", "showStickyHeader", "rowWidth", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize", "popupListScroll"] }] });
|
|
8558
8553
|
}
|
|
8559
8554
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropDownListComponent, decorators: [{
|
|
8560
8555
|
type: Component,
|
|
@@ -8751,7 +8746,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
8751
8746
|
standalone: true,
|
|
8752
8747
|
imports: [LocalizedMessagesDirective, NgIf, TemplateContextDirective, NgClass, EventsOutsideAngularDirective, IconWrapperComponent, NgTemplateOutlet, ResizeSensorComponent, ResponsiveRendererComponent, ReactiveFormsModule, FilterInputDirective, FormsModule, SelectableDirective, ListComponent]
|
|
8753
8748
|
}]
|
|
8754
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.LocalizationService }, { type: i2.PopupService }, { type: SelectionService }, { type: NavigationService }, { type: DisabledItemsService }, { type: DataService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i0.Injector }]; }, propDecorators: { customIconClass: [{
|
|
8749
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.LocalizationService }, { type: i2.PopupService }, { type: SelectionService }, { type: NavigationService }, { type: DisabledItemsService }, { type: DataService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i0.Injector }, { type: i7.AdaptiveService }]; }, propDecorators: { customIconClass: [{
|
|
8755
8750
|
type: Input
|
|
8756
8751
|
}], responsiveRendererComponent: [{
|
|
8757
8752
|
type: ViewChild,
|
|
@@ -9386,6 +9381,7 @@ class MultiSelectComponent {
|
|
|
9386
9381
|
_zone;
|
|
9387
9382
|
injector;
|
|
9388
9383
|
hostElement;
|
|
9384
|
+
adaptiveService;
|
|
9389
9385
|
/**
|
|
9390
9386
|
* @hidden
|
|
9391
9387
|
*/
|
|
@@ -9574,11 +9570,12 @@ class MultiSelectComponent {
|
|
|
9574
9570
|
* @hidden
|
|
9575
9571
|
*/
|
|
9576
9572
|
onResize() {
|
|
9577
|
-
|
|
9573
|
+
const currentWindowSize = this.adaptiveService.size;
|
|
9574
|
+
if (this.isAdaptiveModeEnabled && this.windowSize !== currentWindowSize) {
|
|
9578
9575
|
if (this.isOpen) {
|
|
9579
9576
|
this.togglePopup(false);
|
|
9580
9577
|
}
|
|
9581
|
-
this.windowSize =
|
|
9578
|
+
this.windowSize = currentWindowSize;
|
|
9582
9579
|
this.cdr.detectChanges();
|
|
9583
9580
|
}
|
|
9584
9581
|
if (this.isOpen && !this.isActionSheetExpanded) {
|
|
@@ -10064,7 +10061,7 @@ class MultiSelectComponent {
|
|
|
10064
10061
|
_fillMode = 'solid';
|
|
10065
10062
|
_subtitle;
|
|
10066
10063
|
_valueHolder = [];
|
|
10067
|
-
constructor(wrapper, localization, popupService, dataService, selectionService, navigationService, disabledItemsService, cdr, differs, renderer, _zone, injector, hostElement) {
|
|
10064
|
+
constructor(wrapper, localization, popupService, dataService, selectionService, navigationService, disabledItemsService, cdr, differs, renderer, _zone, injector, hostElement, adaptiveService) {
|
|
10068
10065
|
this.wrapper = wrapper;
|
|
10069
10066
|
this.localization = localization;
|
|
10070
10067
|
this.popupService = popupService;
|
|
@@ -10078,6 +10075,7 @@ class MultiSelectComponent {
|
|
|
10078
10075
|
this._zone = _zone;
|
|
10079
10076
|
this.injector = injector;
|
|
10080
10077
|
this.hostElement = hostElement;
|
|
10078
|
+
this.adaptiveService = adaptiveService;
|
|
10081
10079
|
validatePackage(packageMetadata);
|
|
10082
10080
|
this.popupMouseDownHandler = this.onMouseDown.bind(this);
|
|
10083
10081
|
this.data = [];
|
|
@@ -10424,7 +10422,7 @@ class MultiSelectComponent {
|
|
|
10424
10422
|
}
|
|
10425
10423
|
}
|
|
10426
10424
|
ngAfterViewInit() {
|
|
10427
|
-
this.windowSize =
|
|
10425
|
+
this.windowSize = this.adaptiveService.size;
|
|
10428
10426
|
this.cdr.detectChanges();
|
|
10429
10427
|
this.searchbar.setInputSize();
|
|
10430
10428
|
this.subs.add(this.renderer.listen(this.wrapper.nativeElement, 'mousedown', this.handleMousedown.bind(this)));
|
|
@@ -10520,7 +10518,7 @@ class MultiSelectComponent {
|
|
|
10520
10518
|
* @hidden
|
|
10521
10519
|
*/
|
|
10522
10520
|
handleClick() {
|
|
10523
|
-
this.windowSize =
|
|
10521
|
+
this.windowSize = this.adaptiveService.size;
|
|
10524
10522
|
if (this.isAdaptive) {
|
|
10525
10523
|
this.togglePopup(true);
|
|
10526
10524
|
}
|
|
@@ -10998,7 +10996,7 @@ class MultiSelectComponent {
|
|
|
10998
10996
|
if (this.virtual) {
|
|
10999
10997
|
this.virtual.skip = 0;
|
|
11000
10998
|
}
|
|
11001
|
-
this.windowSize =
|
|
10999
|
+
this.windowSize = this.adaptiveService.size;
|
|
11002
11000
|
if (this.isAdaptive) {
|
|
11003
11001
|
this.openActionSheet();
|
|
11004
11002
|
return;
|
|
@@ -11094,7 +11092,7 @@ class MultiSelectComponent {
|
|
|
11094
11092
|
this.closed.emit();
|
|
11095
11093
|
}
|
|
11096
11094
|
openActionSheet() {
|
|
11097
|
-
this.windowSize =
|
|
11095
|
+
this.windowSize = this.adaptiveService.size;
|
|
11098
11096
|
this.actionSheet.toggle(true);
|
|
11099
11097
|
// Stores the current value state until the user either accepts or cancels it
|
|
11100
11098
|
this._valueHolder = [...this.value];
|
|
@@ -11108,7 +11106,7 @@ class MultiSelectComponent {
|
|
|
11108
11106
|
this.selectionService.focus(this.selectionService.focused);
|
|
11109
11107
|
this.actionSheetSearchBar.focus();
|
|
11110
11108
|
}
|
|
11111
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MultiSelectComponent, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i2.PopupService }, { token: DataService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: i0.ChangeDetectorRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
11109
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MultiSelectComponent, deps: [{ token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i2.PopupService }, { token: DataService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: i0.ChangeDetectorRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.Injector }, { token: i0.ElementRef }, { token: i7.AdaptiveService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11112
11110
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MultiSelectComponent, isStandalone: true, selector: "kendo-multiselect", inputs: { showStickyHeader: "showStickyHeader", focusableId: "focusableId", autoClose: "autoClose", loading: "loading", data: "data", value: "value", valueField: "valueField", textField: "textField", tabindex: "tabindex", tabIndex: "tabIndex", size: "size", rounded: "rounded", fillMode: "fillMode", placeholder: "placeholder", adaptiveMode: "adaptiveMode", title: "title", subtitle: "subtitle", disabled: "disabled", itemDisabled: "itemDisabled", checkboxes: "checkboxes", readonly: "readonly", filterable: "filterable", virtual: "virtual", popupSettings: "popupSettings", listHeight: "listHeight", valuePrimitive: "valuePrimitive", clearButton: "clearButton", tagMapper: "tagMapper", allowCustom: "allowCustom", valueNormalizer: "valueNormalizer", inputAttributes: "inputAttributes" }, outputs: { filterChange: "filterChange", valueChange: "valueChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur", inputFocus: "inputFocus", inputBlur: "inputBlur", removeTag: "removeTag" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-multiselect": "this.hostClasses", "class.k-input": "this.hostClasses", "attr.dir": "this.dir", "class.k-disabled": "this.disabledClass", "class.k-loading": "this.isLoading" } }, providers: [
|
|
11113
11111
|
MULTISELECT_VALUE_ACCESSOR,
|
|
11114
11112
|
DataService,
|
|
@@ -11545,7 +11543,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
11545
11543
|
standalone: true,
|
|
11546
11544
|
imports: [LocalizedMessagesDirective, SharedDropDownEventsDirective, NgIf, NgTemplateOutlet, SeparatorComponent, TagListComponent, SearchBarComponent, IconWrapperComponent, ResizeSensorComponent, ResponsiveRendererComponent, TemplateContextDirective, NgClass, SelectableDirective, ListComponent]
|
|
11547
11545
|
}]
|
|
11548
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.LocalizationService }, { type: i2.PopupService }, { type: DataService }, { type: SelectionService }, { type: NavigationService }, { type: DisabledItemsService }, { type: i0.ChangeDetectorRef }, { type: i0.KeyValueDiffers }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { responsiveRendererComponent: [{
|
|
11546
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.LocalizationService }, { type: i2.PopupService }, { type: DataService }, { type: SelectionService }, { type: NavigationService }, { type: DisabledItemsService }, { type: i0.ChangeDetectorRef }, { type: i0.KeyValueDiffers }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.Injector }, { type: i0.ElementRef }, { type: i7.AdaptiveService }]; }, propDecorators: { responsiveRendererComponent: [{
|
|
11549
11547
|
type: ViewChild,
|
|
11550
11548
|
args: [ResponsiveRendererComponent]
|
|
11551
11549
|
}], showStickyHeader: [{
|
|
@@ -11983,8 +11981,8 @@ class MultiColumnComboBoxComponent extends ComboBoxComponent {
|
|
|
11983
11981
|
get listContainerClasses() {
|
|
11984
11982
|
return ['k-popup', 'k-dropdowngrid-popup'].concat(this.popupSettings.popupClass || []);
|
|
11985
11983
|
}
|
|
11986
|
-
constructor(localization, popupService, selectionService, navigationService, disabledItemsService, dataService, zone, changeDetector, renderer, wrapper, injector, hostElement) {
|
|
11987
|
-
super(wrapper, localization, popupService, selectionService, navigationService, disabledItemsService, dataService, zone, changeDetector, renderer, injector, hostElement);
|
|
11984
|
+
constructor(localization, popupService, selectionService, navigationService, disabledItemsService, dataService, zone, changeDetector, renderer, wrapper, injector, hostElement, adaptiveService) {
|
|
11985
|
+
super(wrapper, localization, popupService, selectionService, navigationService, disabledItemsService, dataService, zone, changeDetector, renderer, injector, hostElement, adaptiveService);
|
|
11988
11986
|
this.hostElement = hostElement;
|
|
11989
11987
|
// the row height in @progress/kendo-theme-default
|
|
11990
11988
|
this.defaultVirtualItemHeight = 36;
|
|
@@ -11994,7 +11992,7 @@ class MultiColumnComboBoxComponent extends ComboBoxComponent {
|
|
|
11994
11992
|
ngAfterViewInit() {
|
|
11995
11993
|
this.updateColumnsMediaState();
|
|
11996
11994
|
this.addWindowResizeListener();
|
|
11997
|
-
this.windowSize =
|
|
11995
|
+
this.windowSize = this.adaptiveService.size;
|
|
11998
11996
|
this.rowWidth = this.calculateRowWidth();
|
|
11999
11997
|
this.totalColumnsWidth = this.columns.reduce((total, currentColumn) => total + currentColumn.width, 0);
|
|
12000
11998
|
this.columnsChangeSubscription = this.columns.changes.subscribe(() => {
|
|
@@ -12095,7 +12093,7 @@ class MultiColumnComboBoxComponent extends ComboBoxComponent {
|
|
|
12095
12093
|
}
|
|
12096
12094
|
return this.headerTable?.nativeElement.offsetWidth;
|
|
12097
12095
|
}
|
|
12098
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MultiColumnComboBoxComponent, deps: [{ token: i1.LocalizationService }, { token: i2.PopupService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: DataService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
12096
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MultiColumnComboBoxComponent, deps: [{ token: i1.LocalizationService }, { token: i2.PopupService }, { token: SelectionService }, { token: NavigationService }, { token: DisabledItemsService }, { token: DataService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.Injector }, { token: i0.ElementRef }, { token: i7.AdaptiveService }], target: i0.ɵɵFactoryTarget.Component });
|
|
12099
12097
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MultiColumnComboBoxComponent, isStandalone: true, selector: "kendo-multicolumncombobox", host: { properties: { "class.k-dropdowngrid": "this.hostClasses", "class.k-disabled": "this.isDisabled" } }, providers: [
|
|
12100
12098
|
SelectionService,
|
|
12101
12099
|
DataService,
|
|
@@ -12665,7 +12663,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
12665
12663
|
standalone: true,
|
|
12666
12664
|
imports: [LocalizedMessagesDirective, SharedDropDownEventsDirective, NgIf, NgTemplateOutlet, SeparatorComponent, SearchBarComponent, EventsOutsideAngularDirective, IconWrapperComponent, NgClass, ResizeSensorComponent, ResponsiveRendererComponent, TemplateContextDirective, NgFor, NgStyle, ListComponent]
|
|
12667
12665
|
}]
|
|
12668
|
-
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.PopupService }, { type: SelectionService }, { type: NavigationService }, { type: DisabledItemsService }, { type: DataService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { hostClasses: [{
|
|
12666
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.PopupService }, { type: SelectionService }, { type: NavigationService }, { type: DisabledItemsService }, { type: DataService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.Injector }, { type: i0.ElementRef }, { type: i7.AdaptiveService }]; }, propDecorators: { hostClasses: [{
|
|
12669
12667
|
type: HostBinding,
|
|
12670
12668
|
args: ['class.k-dropdowngrid']
|
|
12671
12669
|
}], isDisabled: [{
|
|
@@ -12731,6 +12729,7 @@ class DropDownTreeComponent {
|
|
|
12731
12729
|
_zone;
|
|
12732
12730
|
cdr;
|
|
12733
12731
|
localization;
|
|
12732
|
+
adaptiveService;
|
|
12734
12733
|
/**
|
|
12735
12734
|
* @hidden
|
|
12736
12735
|
*/
|
|
@@ -13308,7 +13307,7 @@ class DropDownTreeComponent {
|
|
|
13308
13307
|
// Keep an instance of the last focused node for when the popup close is prevented
|
|
13309
13308
|
// in order to be able to properly restore the focus
|
|
13310
13309
|
lastNodeOnFocus;
|
|
13311
|
-
constructor(injector, wrapper, popupService, navigationService, renderer, _zone, cdr, localization) {
|
|
13310
|
+
constructor(injector, wrapper, popupService, navigationService, renderer, _zone, cdr, localization, adaptiveService) {
|
|
13312
13311
|
this.injector = injector;
|
|
13313
13312
|
this.wrapper = wrapper;
|
|
13314
13313
|
this.popupService = popupService;
|
|
@@ -13317,6 +13316,7 @@ class DropDownTreeComponent {
|
|
|
13317
13316
|
this._zone = _zone;
|
|
13318
13317
|
this.cdr = cdr;
|
|
13319
13318
|
this.localization = localization;
|
|
13319
|
+
this.adaptiveService = adaptiveService;
|
|
13320
13320
|
this.direction = localization.rtl ? 'rtl' : 'ltr';
|
|
13321
13321
|
this.subscribeEvents();
|
|
13322
13322
|
this.subscribeTouchEvents();
|
|
@@ -13372,7 +13372,7 @@ class DropDownTreeComponent {
|
|
|
13372
13372
|
}
|
|
13373
13373
|
}
|
|
13374
13374
|
ngAfterViewInit() {
|
|
13375
|
-
this.windowSize =
|
|
13375
|
+
this.windowSize = this.adaptiveService.size;
|
|
13376
13376
|
this.subs.add(this.renderer.listen(this.wrapper.nativeElement, 'click', this.handleClick.bind(this)));
|
|
13377
13377
|
this.subs.add(this.renderer.listen(this.wrapper.nativeElement, 'keydown', this.handleKeydown.bind(this)));
|
|
13378
13378
|
if (this.actionSheet && isDocumentAvailable()) {
|
|
@@ -13385,11 +13385,12 @@ class DropDownTreeComponent {
|
|
|
13385
13385
|
* @hidden
|
|
13386
13386
|
*/
|
|
13387
13387
|
onResize() {
|
|
13388
|
-
|
|
13388
|
+
const currentWindowSize = this.adaptiveService.size;
|
|
13389
|
+
if (this.isAdaptiveModeEnabled && this.windowSize !== currentWindowSize) {
|
|
13389
13390
|
if (this.isOpen) {
|
|
13390
13391
|
this.togglePopup(false);
|
|
13391
13392
|
}
|
|
13392
|
-
this.windowSize =
|
|
13393
|
+
this.windowSize = currentWindowSize;
|
|
13393
13394
|
}
|
|
13394
13395
|
if (this.isOpen && !this.isActionSheetExpanded) {
|
|
13395
13396
|
const popupWrapper = this.popupRef.popupElement;
|
|
@@ -13756,7 +13757,7 @@ class DropDownTreeComponent {
|
|
|
13756
13757
|
return eventArgs.isDefaultPrevented();
|
|
13757
13758
|
}
|
|
13758
13759
|
createPopup() {
|
|
13759
|
-
this.windowSize =
|
|
13760
|
+
this.windowSize = this.adaptiveService.size;
|
|
13760
13761
|
if (this.isAdaptive) {
|
|
13761
13762
|
this.openActionSheet();
|
|
13762
13763
|
this.cdr.detectChanges();
|
|
@@ -13818,7 +13819,7 @@ class DropDownTreeComponent {
|
|
|
13818
13819
|
handleClick(e) {
|
|
13819
13820
|
// The check is needed otherwise when appended to the component, the popup reopens on click
|
|
13820
13821
|
// https://github.com/telerik/kendo-angular/issues/3738
|
|
13821
|
-
this.windowSize =
|
|
13822
|
+
this.windowSize = this.adaptiveService.size;
|
|
13822
13823
|
if (!this.isActionSheetExpanded) {
|
|
13823
13824
|
if ((this.popupRef && !this.popupRef.popupElement.contains(e.target))
|
|
13824
13825
|
|| (!this.popupRef && !e.target.className.includes('k-treeview-leaf'))) {
|
|
@@ -13993,7 +13994,7 @@ class DropDownTreeComponent {
|
|
|
13993
13994
|
this.closed.emit();
|
|
13994
13995
|
}
|
|
13995
13996
|
openActionSheet() {
|
|
13996
|
-
this.windowSize =
|
|
13997
|
+
this.windowSize = this.adaptiveService.size;
|
|
13997
13998
|
this.isActionSheetExpanded = true;
|
|
13998
13999
|
this.actionSheet.toggle(true);
|
|
13999
14000
|
this.title = setActionSheetTitle(this.wrapper, this.title);
|
|
@@ -14004,7 +14005,7 @@ class DropDownTreeComponent {
|
|
|
14004
14005
|
this.removeTreeViewFromTabOrder();
|
|
14005
14006
|
this.filterable && this.actionSheetSearchBar.focus();
|
|
14006
14007
|
}
|
|
14007
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropDownTreeComponent, deps: [{ token: i0.Injector }, { token: i0.ElementRef }, { token: i2.PopupService }, { token: NavigationService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14008
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropDownTreeComponent, deps: [{ token: i0.Injector }, { token: i0.ElementRef }, { token: i2.PopupService }, { token: NavigationService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }, { token: i7.AdaptiveService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14008
14009
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DropDownTreeComponent, isStandalone: true, selector: "kendo-dropdowntree", inputs: { icon: "icon", svgIcon: "svgIcon", loading: "loading", clearButton: "clearButton", data: "data", value: "value", textField: "textField", valueField: "valueField", valueDepth: "valueDepth", hasChildren: "hasChildren", fetchChildren: "fetchChildren", placeholder: "placeholder", popupSettings: "popupSettings", dataItem: "dataItem", listHeight: "listHeight", disabled: "disabled", readonly: "readonly", valuePrimitive: "valuePrimitive", tabindex: "tabindex", size: "size", rounded: "rounded", fillMode: "fillMode", itemDisabled: "itemDisabled", isNodeExpanded: "isNodeExpanded", isNodeVisible: "isNodeVisible", loadOnDemand: "loadOnDemand", filterable: "filterable", filter: "filter", focusableId: "focusableId", adaptiveMode: "adaptiveMode", title: "title", subtitle: "subtitle" }, outputs: { open: "open", opened: "opened", close: "close", closed: "closed", nodeExpand: "nodeExpand", nodeCollapse: "nodeCollapse", onFocus: "focus", onBlur: "blur", valueChange: "valueChange", filterChange: "filterChange" }, host: { properties: { "class.k-dropdowntree": "this.hostClasses", "class.k-picker": "this.hostClasses", "attr.readonly": "this.isReadonly", "attr.aria-invalid": "this.hostAriaInvalid", "class.k-disabled": "this.isDisabled", "attr.aria-disabled": "this.isDisabled", "class.k-loading": "this.isLoading", "attr.aria-busy": "this.isBusy", "attr.aria-controls": "this.hostAriaControls", "attr.id": "this.id", "attr.dir": "this.direction", "attr.tabindex": "this.hostTabIndex", "attr.role": "this.role", "attr.aria-haspopup": "this.ariaHasPopup", "attr.aria-expanded": "this.isAriaExpanded", "attr.aria-autocomplete": "this.hostAriaAutocomplete", "class.k-readonly": "this.readonly" } }, providers: [
|
|
14009
14010
|
DataService,
|
|
14010
14011
|
SelectionService,
|
|
@@ -14416,7 +14417,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
14416
14417
|
standalone: true,
|
|
14417
14418
|
imports: [LocalizedMessagesDirective, NgIf, TemplateContextDirective, IconWrapperComponent, NgClass, NgTemplateOutlet, ResponsiveRendererComponent, FilterInputDirective, EventsOutsideAngularDirective, TreeViewComponent, SelectDirective, ResizeSensorComponent]
|
|
14418
14419
|
}]
|
|
14419
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i2.PopupService }, { type: NavigationService }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }]; }, propDecorators: { icon: [{
|
|
14420
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i2.PopupService }, { type: NavigationService }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }, { type: i7.AdaptiveService }]; }, propDecorators: { icon: [{
|
|
14420
14421
|
type: Input
|
|
14421
14422
|
}], svgIcon: [{
|
|
14422
14423
|
type: Input
|
|
@@ -15075,6 +15076,7 @@ class MultiSelectTreeComponent {
|
|
|
15075
15076
|
localization;
|
|
15076
15077
|
cdr;
|
|
15077
15078
|
lookup;
|
|
15079
|
+
adaptiveService;
|
|
15078
15080
|
/**
|
|
15079
15081
|
* @hidden
|
|
15080
15082
|
*/
|
|
@@ -15748,11 +15750,12 @@ class MultiSelectTreeComponent {
|
|
|
15748
15750
|
* @hidden
|
|
15749
15751
|
*/
|
|
15750
15752
|
onResize() {
|
|
15751
|
-
|
|
15753
|
+
const currentWindowSize = this.adaptiveService.size;
|
|
15754
|
+
if (this.isAdaptiveModeEnabled && this.windowSize !== currentWindowSize) {
|
|
15752
15755
|
if (this.isOpen) {
|
|
15753
15756
|
this.togglePopup(false);
|
|
15754
15757
|
}
|
|
15755
|
-
this.windowSize =
|
|
15758
|
+
this.windowSize = currentWindowSize;
|
|
15756
15759
|
}
|
|
15757
15760
|
if (this.isOpen && !this.isActionSheetExpanded) {
|
|
15758
15761
|
const popupWrapper = this.popupRef.popupElement;
|
|
@@ -15817,7 +15820,7 @@ class MultiSelectTreeComponent {
|
|
|
15817
15820
|
lastNodeOnFocus;
|
|
15818
15821
|
// Used as check to avoid unnecessary 'registerLookupItems()' calls upon initialization
|
|
15819
15822
|
isContentInit;
|
|
15820
|
-
constructor(injector, wrapper, popupService, renderer, navigationService, _zone, localization, cdr, lookup) {
|
|
15823
|
+
constructor(injector, wrapper, popupService, renderer, navigationService, _zone, localization, cdr, lookup, adaptiveService) {
|
|
15821
15824
|
this.injector = injector;
|
|
15822
15825
|
this.wrapper = wrapper;
|
|
15823
15826
|
this.popupService = popupService;
|
|
@@ -15827,6 +15830,7 @@ class MultiSelectTreeComponent {
|
|
|
15827
15830
|
this.localization = localization;
|
|
15828
15831
|
this.cdr = cdr;
|
|
15829
15832
|
this.lookup = lookup;
|
|
15833
|
+
this.adaptiveService = adaptiveService;
|
|
15830
15834
|
this.direction = localization.rtl ? 'rtl' : 'ltr';
|
|
15831
15835
|
this.subscribeEvents();
|
|
15832
15836
|
this.subscribeFocusEvents();
|
|
@@ -15852,7 +15856,7 @@ class MultiSelectTreeComponent {
|
|
|
15852
15856
|
this._initiallyCheckedItems = [...this.checkedItems];
|
|
15853
15857
|
}
|
|
15854
15858
|
ngAfterViewInit() {
|
|
15855
|
-
this.windowSize =
|
|
15859
|
+
this.windowSize = this.adaptiveService.size;
|
|
15856
15860
|
this.subs.add(this.renderer.listen(this.wrapper.nativeElement, 'click', this.handleClick.bind(this)));
|
|
15857
15861
|
this.subs.add(this.renderer.listen(this.wrapper.nativeElement, 'keydown', this.handleKeydown.bind(this)));
|
|
15858
15862
|
if (this.actionSheet && isDocumentAvailable()) {
|
|
@@ -16281,7 +16285,7 @@ class MultiSelectTreeComponent {
|
|
|
16281
16285
|
return eventArgs.isDefaultPrevented();
|
|
16282
16286
|
}
|
|
16283
16287
|
createPopup() {
|
|
16284
|
-
this.windowSize =
|
|
16288
|
+
this.windowSize = this.adaptiveService.size;
|
|
16285
16289
|
if (this.isAdaptive) {
|
|
16286
16290
|
this.openActionSheet();
|
|
16287
16291
|
this.cdr.detectChanges();
|
|
@@ -16643,7 +16647,7 @@ class MultiSelectTreeComponent {
|
|
|
16643
16647
|
this.closed.emit();
|
|
16644
16648
|
}
|
|
16645
16649
|
openActionSheet() {
|
|
16646
|
-
this.windowSize =
|
|
16650
|
+
this.windowSize = this.adaptiveService.size;
|
|
16647
16651
|
this.actionSheet.toggle(true);
|
|
16648
16652
|
this.title = setActionSheetTitle(this.wrapper, this.title);
|
|
16649
16653
|
this.cdr.detectChanges();
|
|
@@ -16652,7 +16656,7 @@ class MultiSelectTreeComponent {
|
|
|
16652
16656
|
this.opened.emit();
|
|
16653
16657
|
this.filterable && this.actionSheetSearchBar.focus();
|
|
16654
16658
|
}
|
|
16655
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MultiSelectTreeComponent, deps: [{ token: i0.Injector }, { token: i0.ElementRef }, { token: i2.PopupService }, { token: i0.Renderer2 }, { token: NavigationService }, { token: i0.NgZone }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: MultiSelectTreeLookupService }], target: i0.ɵɵFactoryTarget.Component });
|
|
16659
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MultiSelectTreeComponent, deps: [{ token: i0.Injector }, { token: i0.ElementRef }, { token: i2.PopupService }, { token: i0.Renderer2 }, { token: NavigationService }, { token: i0.NgZone }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: MultiSelectTreeLookupService }, { token: i7.AdaptiveService }], target: i0.ɵɵFactoryTarget.Component });
|
|
16656
16660
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MultiSelectTreeComponent, isStandalone: true, selector: "kendo-multiselecttree", inputs: { adaptiveMode: "adaptiveMode", title: "title", subtitle: "subtitle", tabindex: "tabindex", size: "size", rounded: "rounded", fillMode: "fillMode", popupSettings: "popupSettings", checkableSettings: "checkableSettings", data: "data", value: "value", dataItems: "dataItems", textField: "textField", valueField: "valueField", valueDepth: "valueDepth", loading: "loading", placeholder: "placeholder", listHeight: "listHeight", disabled: "disabled", readonly: "readonly", valuePrimitive: "valuePrimitive", loadOnDemand: "loadOnDemand", focusableId: "focusableId", clearButton: "clearButton", filterable: "filterable", checkAll: "checkAll", hasChildren: "hasChildren", fetchChildren: "fetchChildren", isNodeExpanded: "isNodeExpanded", isNodeVisible: "isNodeVisible", itemDisabled: "itemDisabled", tagMapper: "tagMapper" }, outputs: { onFocus: "focus", onBlur: "blur", open: "open", opened: "opened", close: "close", closed: "closed", nodeExpand: "nodeExpand", nodeCollapse: "nodeCollapse", valueChange: "valueChange", removeTag: "removeTag", filterChange: "filterChange" }, host: { properties: { "class.k-multiselecttree": "this.hostClasses", "class.k-input": "this.hostClasses", "class.k-disabled": "this.isDisabled", "attr.aria-disabled": "this.isDisabled", "attr.aria-autocomplete": "this.hostAriaAutocomplete", "class.k-loading": "this.isLoading", "attr.aria-invalid": "this.hostAriaInvalid", "attr.aria-busy": "this.isBusy", "attr.id": "this.id", "attr.dir": "this.direction", "attr.tabindex": "this.hostTabIndex", "attr.role": "this.role", "attr.aria-haspopup": "this.ariaHasPopup", "attr.readonly": "this.isReadonly", "attr.aria-describedby": "this.ariaDescribedBy", "attr.aria-activedescendant": "this.ariaActiveDescendant", "class.k-readonly": "this.readonly" } }, providers: [
|
|
16657
16661
|
LocalizationService,
|
|
16658
16662
|
NavigationService,
|
|
@@ -17161,7 +17165,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
17161
17165
|
standalone: true,
|
|
17162
17166
|
imports: [LocalizedMessagesDirective, TagListComponent, NgIf, IconWrapperComponent, NgTemplateOutlet, ResponsiveRendererComponent, NgClass, FilterInputDirective, EventsOutsideAngularDirective, TemplateContextDirective, CheckAllDirective, TreeViewComponent, CheckDirective, ResizeSensorComponent]
|
|
17163
17167
|
}]
|
|
17164
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i2.PopupService }, { type: i0.Renderer2 }, { type: NavigationService }, { type: i0.NgZone }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: MultiSelectTreeLookupService }]; }, propDecorators: { hostClasses: [{
|
|
17168
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }, { type: i2.PopupService }, { type: i0.Renderer2 }, { type: NavigationService }, { type: i0.NgZone }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: MultiSelectTreeLookupService }, { type: i7.AdaptiveService }]; }, propDecorators: { hostClasses: [{
|
|
17165
17169
|
type: HostBinding,
|
|
17166
17170
|
args: ['class.k-multiselecttree']
|
|
17167
17171
|
}, {
|
|
@@ -18033,7 +18037,8 @@ class DropDownTreesModule {
|
|
|
18033
18037
|
DialogContainerService,
|
|
18034
18038
|
DialogService,
|
|
18035
18039
|
WindowService,
|
|
18036
|
-
WindowContainerService
|
|
18040
|
+
WindowContainerService,
|
|
18041
|
+
AdaptiveService
|
|
18037
18042
|
], imports: [DropDownTreeComponent, MultiSelectTreeComponent] });
|
|
18038
18043
|
}
|
|
18039
18044
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropDownTreesModule, decorators: [{
|
|
@@ -18048,7 +18053,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
18048
18053
|
DialogContainerService,
|
|
18049
18054
|
DialogService,
|
|
18050
18055
|
WindowService,
|
|
18051
|
-
WindowContainerService
|
|
18056
|
+
WindowContainerService,
|
|
18057
|
+
AdaptiveService
|
|
18052
18058
|
]
|
|
18053
18059
|
}]
|
|
18054
18060
|
}] });
|
|
@@ -18088,14 +18094,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
18088
18094
|
class DropDownsModule {
|
|
18089
18095
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropDownsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
18090
18096
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DropDownsModule, imports: [AutoCompleteComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent, ComboBoxComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent, i10.ToggleButtonTabStopDirective, MultiColumnComboBoxComponent, ComboBoxColumnComponent, ColumnHeaderTemplateDirective, ColumnCellTemplateDirective, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent, i10.ToggleButtonTabStopDirective, DropDownListComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, ValueTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, MultiSelectComponent, SummaryTagDirective, CustomItemTemplateDirective, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, GroupTagTemplateDirective, TagTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent, DropDownTreeComponent, DropDownTreeFlatBindingDirective, DropDownTreeHierarchyBindingDirective, DropDownTreesExpandDirective, NodeTemplateDirective, HeaderTemplateDirective, FooterTemplateDirective, ValueTemplateDirective, NoDataTemplateDirective, CustomMessagesComponent, MultiSelectTreeComponent, MultiSelectTreeFlatBindingDirective, MultiSelectTreeHierarchyBindingDirective, DropDownTreesExpandDirective, NodeTemplateDirective, MultiSelectTreeSummaryTagDirective, GroupTagTemplateDirective, TagTemplateDirective, HeaderTemplateDirective, FooterTemplateDirective, ValueTemplateDirective, NoDataTemplateDirective, CustomMessagesComponent, i10.PrefixTemplateDirective, i10.SuffixTemplateDirective, i10.SeparatorComponent, i10.ToggleButtonTabStopDirective], exports: [AutoCompleteComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent, ComboBoxComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent, i10.ToggleButtonTabStopDirective, MultiColumnComboBoxComponent, ComboBoxColumnComponent, ColumnHeaderTemplateDirective, ColumnCellTemplateDirective, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent, i10.ToggleButtonTabStopDirective, DropDownListComponent, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, ValueTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, MultiSelectComponent, SummaryTagDirective, CustomItemTemplateDirective, FixedGroupTemplateDirective, FooterTemplateDirective, GroupTemplateDirective, GroupTagTemplateDirective, TagTemplateDirective, HeaderTemplateDirective, ItemTemplateDirective, NoDataTemplateDirective, FilterDirective, CustomMessagesComponent, i10.SuffixTemplateDirective, i10.PrefixTemplateDirective, i10.SeparatorComponent, DropDownTreeComponent, DropDownTreeFlatBindingDirective, DropDownTreeHierarchyBindingDirective, DropDownTreesExpandDirective, NodeTemplateDirective, HeaderTemplateDirective, FooterTemplateDirective, ValueTemplateDirective, NoDataTemplateDirective, CustomMessagesComponent, MultiSelectTreeComponent, MultiSelectTreeFlatBindingDirective, MultiSelectTreeHierarchyBindingDirective, DropDownTreesExpandDirective, NodeTemplateDirective, MultiSelectTreeSummaryTagDirective, GroupTagTemplateDirective, TagTemplateDirective, HeaderTemplateDirective, FooterTemplateDirective, ValueTemplateDirective, NoDataTemplateDirective, CustomMessagesComponent, i10.PrefixTemplateDirective, i10.SuffixTemplateDirective, i10.SeparatorComponent, i10.ToggleButtonTabStopDirective] });
|
|
18091
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropDownsModule, providers: [PopupService, ResizeBatchService, IconsService, DialogContainerService, DialogService, WindowService, WindowContainerService], imports: [AutoCompleteComponent, i10.SeparatorComponent, ComboBoxComponent, i10.SeparatorComponent, MultiColumnComboBoxComponent, i10.SeparatorComponent, DropDownListComponent, MultiSelectComponent, i10.SeparatorComponent, DropDownTreeComponent, MultiSelectTreeComponent, i10.SeparatorComponent] });
|
|
18097
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropDownsModule, providers: [PopupService, ResizeBatchService, IconsService, DialogContainerService, DialogService, WindowService, WindowContainerService, AdaptiveService], imports: [AutoCompleteComponent, i10.SeparatorComponent, ComboBoxComponent, i10.SeparatorComponent, MultiColumnComboBoxComponent, i10.SeparatorComponent, DropDownListComponent, MultiSelectComponent, i10.SeparatorComponent, DropDownTreeComponent, MultiSelectTreeComponent, i10.SeparatorComponent] });
|
|
18092
18098
|
}
|
|
18093
18099
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropDownsModule, decorators: [{
|
|
18094
18100
|
type: NgModule,
|
|
18095
18101
|
args: [{
|
|
18096
18102
|
exports: [...KENDO_DROPDOWNS, ...KENDO_ADORNMENTS, ...KENDO_TOGGLEBUTTONTABSTOP],
|
|
18097
18103
|
imports: [...KENDO_DROPDOWNS, ...KENDO_ADORNMENTS, ...KENDO_TOGGLEBUTTONTABSTOP],
|
|
18098
|
-
providers: [PopupService, ResizeBatchService, IconsService, DialogContainerService, DialogService, WindowService, WindowContainerService]
|
|
18104
|
+
providers: [PopupService, ResizeBatchService, IconsService, DialogContainerService, DialogService, WindowService, WindowContainerService, AdaptiveService]
|
|
18099
18105
|
}]
|
|
18100
18106
|
}] });
|
|
18101
18107
|
|
|
@@ -18128,7 +18134,8 @@ class MultiSelectModule {
|
|
|
18128
18134
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MultiSelectModule, providers: [
|
|
18129
18135
|
PopupService,
|
|
18130
18136
|
ResizeBatchService,
|
|
18131
|
-
IconsService
|
|
18137
|
+
IconsService,
|
|
18138
|
+
AdaptiveService
|
|
18132
18139
|
], imports: [MultiSelectComponent, i10.SeparatorComponent, i10.SeparatorComponent] });
|
|
18133
18140
|
}
|
|
18134
18141
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MultiSelectModule, decorators: [{
|
|
@@ -18139,7 +18146,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
18139
18146
|
providers: [
|
|
18140
18147
|
PopupService,
|
|
18141
18148
|
ResizeBatchService,
|
|
18142
|
-
IconsService
|
|
18149
|
+
IconsService,
|
|
18150
|
+
AdaptiveService
|
|
18143
18151
|
]
|
|
18144
18152
|
}]
|
|
18145
18153
|
}] });
|
|
@@ -18168,7 +18176,8 @@ class AutoCompleteModule {
|
|
|
18168
18176
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AutoCompleteModule, providers: [
|
|
18169
18177
|
PopupService,
|
|
18170
18178
|
ResizeBatchService,
|
|
18171
|
-
IconsService
|
|
18179
|
+
IconsService,
|
|
18180
|
+
AdaptiveService
|
|
18172
18181
|
], imports: [AutoCompleteComponent, i10.SeparatorComponent, i10.SeparatorComponent] });
|
|
18173
18182
|
}
|
|
18174
18183
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AutoCompleteModule, decorators: [{
|
|
@@ -18179,7 +18188,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
18179
18188
|
providers: [
|
|
18180
18189
|
PopupService,
|
|
18181
18190
|
ResizeBatchService,
|
|
18182
|
-
IconsService
|
|
18191
|
+
IconsService,
|
|
18192
|
+
AdaptiveService
|
|
18183
18193
|
]
|
|
18184
18194
|
}]
|
|
18185
18195
|
}] });
|
|
@@ -18210,7 +18220,8 @@ class ComboBoxModule {
|
|
|
18210
18220
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ComboBoxModule, providers: [
|
|
18211
18221
|
PopupService,
|
|
18212
18222
|
ResizeBatchService,
|
|
18213
|
-
IconsService
|
|
18223
|
+
IconsService,
|
|
18224
|
+
AdaptiveService
|
|
18214
18225
|
], imports: [ComboBoxComponent, i10.SeparatorComponent, MultiColumnComboBoxComponent, i10.SeparatorComponent, i10.SeparatorComponent] });
|
|
18215
18226
|
}
|
|
18216
18227
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ComboBoxModule, decorators: [{
|
|
@@ -18221,7 +18232,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
18221
18232
|
providers: [
|
|
18222
18233
|
PopupService,
|
|
18223
18234
|
ResizeBatchService,
|
|
18224
|
-
IconsService
|
|
18235
|
+
IconsService,
|
|
18236
|
+
AdaptiveService
|
|
18225
18237
|
]
|
|
18226
18238
|
}]
|
|
18227
18239
|
}] });
|
|
@@ -18249,7 +18261,8 @@ class DropDownListModule {
|
|
|
18249
18261
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropDownListModule, providers: [
|
|
18250
18262
|
PopupService,
|
|
18251
18263
|
ResizeBatchService,
|
|
18252
|
-
IconsService
|
|
18264
|
+
IconsService,
|
|
18265
|
+
AdaptiveService
|
|
18253
18266
|
], imports: [DropDownListComponent] });
|
|
18254
18267
|
}
|
|
18255
18268
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropDownListModule, decorators: [{
|
|
@@ -18260,7 +18273,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
18260
18273
|
providers: [
|
|
18261
18274
|
PopupService,
|
|
18262
18275
|
ResizeBatchService,
|
|
18263
|
-
IconsService
|
|
18276
|
+
IconsService,
|
|
18277
|
+
AdaptiveService
|
|
18264
18278
|
]
|
|
18265
18279
|
}]
|
|
18266
18280
|
}] });
|