@progress/kendo-angular-dropdowns 7.2.4 → 11.0.0-develop.100
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/LICENSE.md +1 -1
- package/NOTICE.txt +4 -4
- package/README.md +8 -8
- package/autocomplete/autocomplete.component.d.ts +6 -1
- package/autocomplete/autocomplete.module.d.ts +1 -1
- package/comboboxes/combobox-column/column-cell-template.directive.d.ts +1 -1
- package/comboboxes/combobox-column/column-header-template.directive.d.ts +1 -1
- package/comboboxes/combobox-column/combobox-column.component.d.ts +1 -1
- package/comboboxes/combobox-column/util.d.ts +1 -1
- package/comboboxes/combobox.component.d.ts +10 -1
- package/comboboxes/combobox.module.d.ts +1 -1
- package/comboboxes/multicolumncombobox.component.d.ts +1 -1
- package/common/constants/error-messages.d.ts +1 -1
- package/common/constants/touch-enabled.d.ts +1 -1
- package/common/data.service.d.ts +1 -1
- package/common/disabled-items/disabled-items.service.d.ts +1 -1
- package/common/disabled-items/item-disabled.d.ts +1 -1
- package/common/filter-input.directive.d.ts +1 -1
- package/common/filtering/filter-settings.d.ts +1 -1
- package/common/filtering/filter.directive.d.ts +1 -1
- package/common/filtering/filterable-component.d.ts +1 -1
- package/common/list-item.directive.d.ts +1 -1
- package/common/list.component.d.ts +1 -1
- package/common/localization/custom-messages.component.d.ts +1 -1
- package/common/localization/localized-messages.directive.d.ts +1 -1
- package/common/localization/messages.d.ts +1 -1
- package/common/models/checkboxes-settings.d.ts +1 -1
- package/common/models/direction.d.ts +1 -1
- package/common/models/fillmode.d.ts +1 -1
- package/common/models/list-type.d.ts +1 -1
- package/common/models/page-change-event.d.ts +1 -1
- package/common/models/popup-settings.d.ts +1 -1
- package/common/models/preventable-event.d.ts +1 -1
- package/common/models/remove-tag-event.d.ts +1 -1
- package/common/models/rounded.d.ts +1 -1
- package/common/models/size.d.ts +1 -1
- package/common/models/virtualization-settings.d.ts +1 -1
- package/common/navigation/navigation-action.d.ts +1 -1
- package/common/navigation/navigation.service.d.ts +1 -1
- package/common/searchbar.component.d.ts +1 -1
- package/common/selection/selectable.directive.d.ts +1 -1
- package/common/selection/selection.service.d.ts +1 -1
- package/common/shared-directives.module.d.ts +1 -1
- package/common/shared.module.d.ts +3 -2
- package/common/taglist.component.d.ts +6 -1
- package/common/templates/custom-item-template.directive.d.ts +1 -1
- package/common/templates/fixed-group-template.directive.d.ts +1 -1
- package/common/templates/footer-template.directive.d.ts +1 -1
- package/common/templates/group-tag-template.directive.d.ts +1 -1
- package/common/templates/group-template.directive.d.ts +1 -1
- package/common/templates/header-template.directive.d.ts +1 -1
- package/common/templates/item-template.directive.d.ts +1 -1
- package/common/templates/no-data-template.directive.d.ts +1 -1
- package/common/templates/tag-template.directive.d.ts +1 -1
- package/common/templates/template-context.directive.d.ts +1 -1
- package/common/templates/value-template.directive.d.ts +1 -1
- package/common/util.d.ts +16 -1
- package/dropdownlist/dropdownlist.component.d.ts +10 -1
- package/dropdownlist/dropdownlist.module.d.ts +1 -1
- package/dropdowns.module.d.ts +1 -1
- package/dropdowntrees/checked-state/base-check.directive.d.ts +1 -1
- package/dropdowntrees/checked-state/check-all.directive.d.ts +1 -1
- package/dropdowntrees/checked-state/check.directive.d.ts +1 -1
- package/dropdowntrees/checked-state/checkable-settings.d.ts +1 -1
- package/dropdowntrees/checked-state/checked-item.d.ts +1 -1
- package/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.d.ts +1 -1
- package/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.d.ts +1 -1
- package/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.d.ts +1 -1
- package/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.d.ts +1 -1
- package/dropdowntrees/dropdowntree.component.d.ts +22 -2
- package/dropdowntrees/dropdowntrees.module.d.ts +1 -1
- package/dropdowntrees/expanded-state/expand.directive.d.ts +1 -1
- package/dropdowntrees/lookup/lookup.d.ts +1 -1
- package/dropdowntrees/lookup/lookup.service.d.ts +1 -1
- package/dropdowntrees/multiselecttree.component.d.ts +18 -2
- package/dropdowntrees/summary-tag/summary-tag.directive.d.ts +1 -1
- package/dropdowntrees/templates/node-template.directive.d.ts +1 -1
- package/{esm2015/autocomplete/autocomplete.component.js → esm2020/autocomplete/autocomplete.component.mjs} +31 -15
- package/{esm2015/autocomplete/autocomplete.module.js → esm2020/autocomplete/autocomplete.module.mjs} +5 -5
- package/{esm2015/comboboxes/combobox-column/column-cell-template.directive.js → esm2020/comboboxes/combobox-column/column-cell-template.directive.mjs} +5 -5
- package/{esm2015/comboboxes/combobox-column/column-header-template.directive.js → esm2020/comboboxes/combobox-column/column-header-template.directive.mjs} +5 -5
- package/{esm2015/comboboxes/combobox-column/combobox-column.component.js → esm2020/comboboxes/combobox-column/combobox-column.component.mjs} +4 -4
- package/{esm2015/comboboxes/combobox-column/util.js → esm2020/comboboxes/combobox-column/util.mjs} +1 -1
- package/{esm2015/comboboxes/combobox.component.js → esm2020/comboboxes/combobox.component.mjs} +50 -18
- package/{esm2015/comboboxes/combobox.module.js → esm2020/comboboxes/combobox.module.mjs} +5 -5
- package/{esm2015/comboboxes/multicolumncombobox.component.js → esm2020/comboboxes/multicolumncombobox.component.mjs} +37 -15
- package/{esm2015/common/constants/error-messages.js → esm2020/common/constants/error-messages.mjs} +1 -1
- package/{esm2015/common/constants/touch-enabled.js → esm2020/common/constants/touch-enabled.mjs} +1 -1
- package/{esm2015/common/data.service.js → esm2020/common/data.service.mjs} +5 -5
- package/{esm2015/common/disabled-items/disabled-items.service.js → esm2020/common/disabled-items/disabled-items.service.mjs} +5 -4
- package/{esm2015/common/models/fillmode.js → esm2020/common/disabled-items/item-disabled.mjs} +1 -1
- package/{esm2015/common/filter-input.directive.js → esm2020/common/filter-input.directive.mjs} +5 -5
- package/{esm2015/common/disabled-items/item-disabled.js → esm2020/common/filtering/filter-settings.mjs} +1 -1
- package/{esm2015/common/filtering/filter.directive.js → esm2020/common/filtering/filter.directive.mjs} +5 -4
- package/{esm2015/common/filtering/filterable-component.js → esm2020/common/filtering/filterable-component.mjs} +1 -1
- package/{esm2015/common/list-item.directive.js → esm2020/common/list-item.directive.mjs} +5 -5
- package/{esm2015/common/list.component.js → esm2020/common/list.component.mjs} +21 -10
- package/{esm2015/common/localization/custom-messages.component.js → esm2020/common/localization/custom-messages.component.mjs} +5 -4
- package/{esm2015/common/localization/localized-messages.directive.js → esm2020/common/localization/localized-messages.directive.mjs} +5 -4
- package/{esm2015/common/localization/messages.js → esm2020/common/localization/messages.mjs} +4 -4
- package/{esm2015/common/models/checkboxes-settings.js → esm2020/common/models/checkboxes-settings.mjs} +1 -1
- package/{esm2015/common/filtering/filter-settings.js → esm2020/common/models/direction.mjs} +1 -1
- package/{esm2015/common/models/direction.js → esm2020/common/models/fillmode.mjs} +1 -1
- package/esm2020/common/models/list-type.mjs +5 -0
- package/esm2020/common/models/page-change-event.mjs +5 -0
- package/esm2020/common/models/popup-settings.mjs +5 -0
- package/{esm2015/common/models/preventable-event.js → esm2020/common/models/preventable-event.mjs} +1 -1
- package/{esm2015/common/models/remove-tag-event.js → esm2020/common/models/remove-tag-event.mjs} +1 -1
- package/esm2020/common/models/rounded.mjs +5 -0
- package/esm2020/common/models/size.mjs +5 -0
- package/{esm2015/common/models/virtualization-settings.js → esm2020/common/models/virtualization-settings.mjs} +2 -2
- package/{esm2015/common/navigation/navigation-action.js → esm2020/common/navigation/navigation-action.mjs} +1 -1
- package/{esm2015/common/navigation/navigation.service.js → esm2020/common/navigation/navigation.service.mjs} +6 -4
- package/{esm2015/common/searchbar.component.js → esm2020/common/searchbar.component.mjs} +10 -6
- package/{esm2015/common/selection/selectable.directive.js → esm2020/common/selection/selectable.directive.mjs} +5 -4
- package/{esm2015/common/selection/selection.service.js → esm2020/common/selection/selection.service.mjs} +8 -7
- package/{esm2015/common/shared-directives.module.js → esm2020/common/shared-directives.module.mjs} +5 -5
- package/{esm2015/common/shared.module.js → esm2020/common/shared.module.mjs} +10 -9
- package/{esm2015/common/taglist.component.js → esm2020/common/taglist.component.mjs} +28 -14
- package/{esm2015/common/templates/custom-item-template.directive.js → esm2020/common/templates/custom-item-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/fixed-group-template.directive.js → esm2020/common/templates/fixed-group-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/footer-template.directive.js → esm2020/common/templates/footer-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/group-tag-template.directive.js → esm2020/common/templates/group-tag-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/group-template.directive.js → esm2020/common/templates/group-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/header-template.directive.js → esm2020/common/templates/header-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/item-template.directive.js → esm2020/common/templates/item-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/no-data-template.directive.js → esm2020/common/templates/no-data-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/tag-template.directive.js → esm2020/common/templates/tag-template.directive.mjs} +5 -5
- package/{esm2015/common/templates/template-context.directive.js → esm2020/common/templates/template-context.directive.mjs} +5 -5
- package/{esm2015/common/templates/value-template.directive.js → esm2020/common/templates/value-template.directive.mjs} +5 -5
- package/{esm2015/common/util.js → esm2020/common/util.mjs} +27 -1
- package/{esm2015/dropdownlist/dropdownlist.component.js → esm2020/dropdownlist/dropdownlist.component.mjs} +60 -33
- package/{esm2015/dropdownlist/dropdownlist.module.js → esm2020/dropdownlist/dropdownlist.module.mjs} +5 -5
- package/{esm2015/dropdowns.module.js → esm2020/dropdowns.module.mjs} +5 -5
- package/{esm2015/dropdowntrees/checked-state/base-check.directive.js → esm2020/dropdowntrees/checked-state/base-check.directive.mjs} +6 -6
- package/{esm2015/dropdowntrees/checked-state/check-all.directive.js → esm2020/dropdowntrees/checked-state/check-all.directive.mjs} +7 -6
- package/{esm2015/dropdowntrees/checked-state/check.directive.js → esm2020/dropdowntrees/checked-state/check.directive.mjs} +7 -6
- package/esm2020/dropdowntrees/checked-state/checkable-settings.mjs +5 -0
- package/esm2020/dropdowntrees/checked-state/checked-item.mjs +5 -0
- package/{esm2015/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.js → esm2020/dropdowntrees/data-binding/dropdowntree/flat-binding.directive.mjs} +7 -7
- package/{esm2015/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.js → esm2020/dropdowntrees/data-binding/dropdowntree/hierarchy-binding.directive.mjs} +7 -7
- package/{esm2015/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.js → esm2020/dropdowntrees/data-binding/multiselecttree/flat-binding.directive.mjs} +7 -7
- package/{esm2015/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.js → esm2020/dropdowntrees/data-binding/multiselecttree/hierarchy-binding.directive.mjs} +7 -7
- package/{esm2015/dropdowntrees/dropdowntree.component.js → esm2020/dropdowntrees/dropdowntree.component.mjs} +141 -62
- package/{esm2015/dropdowntrees/dropdowntrees.module.js → esm2020/dropdowntrees/dropdowntrees.module.mjs} +5 -5
- package/{esm2015/dropdowntrees/expanded-state/expand.directive.js → esm2020/dropdowntrees/expanded-state/expand.directive.mjs} +5 -5
- package/{esm2015/dropdowntrees/lookup/lookup.js → esm2020/dropdowntrees/lookup/lookup.mjs} +1 -1
- package/{esm2015/dropdowntrees/lookup/lookup.service.js → esm2020/dropdowntrees/lookup/lookup.service.mjs} +4 -4
- package/{esm2015/dropdowntrees/multiselecttree.component.js → esm2020/dropdowntrees/multiselecttree.component.mjs} +127 -44
- package/{esm2015/dropdowntrees/summary-tag/summary-tag.directive.js → esm2020/dropdowntrees/summary-tag/summary-tag.directive.mjs} +5 -4
- package/{esm2015/dropdowntrees/templates/node-template.directive.js → esm2020/dropdowntrees/templates/node-template.directive.mjs} +5 -5
- package/{esm2015/main.js → esm2020/index.mjs} +1 -1
- package/{esm2015/multiselect/multiselect.component.js → esm2020/multiselect/multiselect.component.mjs} +51 -19
- package/{esm2015/multiselect/multiselect.module.js → esm2020/multiselect/multiselect.module.mjs} +5 -5
- package/{esm2015/multiselect/summary-tag.directive.js → esm2020/multiselect/summary-tag.directive.mjs} +6 -6
- package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
- package/{esm2015/kendo-angular-dropdowns.js → esm2020/progress-kendo-angular-dropdowns.mjs} +2 -2
- package/fesm2015/progress-kendo-angular-dropdowns.mjs +14976 -0
- package/{fesm2015/kendo-angular-dropdowns.js → fesm2020/progress-kendo-angular-dropdowns.mjs} +677 -364
- package/{main.d.ts → index.d.ts} +2 -1
- package/multiselect/multiselect.component.d.ts +10 -1
- package/multiselect/multiselect.module.d.ts +1 -1
- package/multiselect/summary-tag.directive.d.ts +1 -1
- package/package-metadata.d.ts +1 -1
- package/package.json +33 -58
- package/{kendo-angular-dropdowns.d.ts → progress-kendo-angular-dropdowns.d.ts} +2 -2
- package/schematics/ngAdd/index.js +4 -6
- package/bundles/kendo-angular-dropdowns.umd.js +0 -5
- package/esm2015/common/models/list-type.js +0 -5
- package/esm2015/common/models/page-change-event.js +0 -5
- package/esm2015/common/models/popup-settings.js +0 -5
- package/esm2015/common/models/rounded.js +0 -5
- package/esm2015/common/models/size.js +0 -5
- package/esm2015/dropdowntrees/checked-state/checkable-settings.js +0 -5
- package/esm2015/dropdowntrees/checked-state/checked-item.js +0 -5
- package/schematics/ngAdd/index.js.map +0 -1
package/{fesm2015/kendo-angular-dropdowns.js → fesm2020/progress-kendo-angular-dropdowns.mjs}
RENAMED
|
@@ -1,24 +1,27 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import { EventEmitter, Component, Input, Output, ViewChild, HostBinding, Directive, Injectable,
|
|
7
|
-
import * as
|
|
6
|
+
import { EventEmitter, Component, Input, Output, ViewChild, HostBinding, Directive, Injectable, HostListener, ViewChildren, InjectionToken, forwardRef, isDevMode, ViewContainerRef, Optional, Inject, ContentChild, ContentChildren, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
7
|
+
import * as i10 from '@progress/kendo-angular-common';
|
|
8
8
|
import { isDocumentAvailable, Keys, isChanged, hasObservers, KendoInput, anyChanged, guid as guid$1, ResizeSensorModule, EventsModule } from '@progress/kendo-angular-common';
|
|
9
|
-
import * as
|
|
9
|
+
import * as i13 from '@angular/forms';
|
|
10
10
|
import { NgControl, NG_VALUE_ACCESSOR, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
11
11
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
12
12
|
import { getter as getter$1, detectDesktopBrowser, detectMobileOS, pointers, touchEnabled } from '@progress/kendo-common';
|
|
13
|
-
import { Subscription, merge, fromEvent, Subject, of, interval } from 'rxjs';
|
|
14
13
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
15
14
|
import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
15
|
+
import { Subscription, merge, fromEvent, Subject, of, interval } from 'rxjs';
|
|
16
16
|
import * as i2 from '@progress/kendo-angular-popup';
|
|
17
17
|
import { PopupModule } from '@progress/kendo-angular-popup';
|
|
18
18
|
export { PopupComponent } from '@progress/kendo-angular-popup';
|
|
19
|
-
import { map, switchMap, take, auditTime, tap, filter, partition, throttleTime, catchError, skipWhile, concatMap, takeUntil } from 'rxjs/operators';
|
|
20
|
-
import * as
|
|
19
|
+
import { map, switchMap, take, auditTime, tap, filter, partition, throttleTime, catchError, skipWhile, concatMap, takeUntil, debounceTime } from 'rxjs/operators';
|
|
20
|
+
import * as i12 from '@angular/common';
|
|
21
21
|
import { CommonModule } from '@angular/common';
|
|
22
|
+
import { xIcon, caretAltDownIcon, searchIcon, xCircleIcon, plusIcon } from '@progress/kendo-svg-icons';
|
|
23
|
+
import * as i8 from '@progress/kendo-angular-icons';
|
|
24
|
+
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
22
25
|
import * as i1$1 from '@progress/kendo-angular-treeview';
|
|
23
26
|
import { DataBoundComponent, ExpandableComponent, FlatDataBindingDirective, HierarchyBindingDirective, ExpandDirective, TreeViewModule } from '@progress/kendo-angular-treeview';
|
|
24
27
|
|
|
@@ -29,9 +32,9 @@ const packageMetadata = {
|
|
|
29
32
|
name: '@progress/kendo-angular-dropdowns',
|
|
30
33
|
productName: 'Kendo UI for Angular',
|
|
31
34
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
32
|
-
publishDate:
|
|
35
|
+
publishDate: 1673469313,
|
|
33
36
|
version: '',
|
|
34
|
-
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license
|
|
37
|
+
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
35
38
|
};
|
|
36
39
|
|
|
37
40
|
/* eslint-disable no-bitwise */
|
|
@@ -376,6 +379,32 @@ const isJapanese = (input) => {
|
|
|
376
379
|
const japaneseRegex = /[\u3000-\u303F]|[\u3040-\u309F]|[\u30A0-\u30FF]|[\uFF00-\uFFEF]|[\u4E00-\u9FAF]|[\u2605-\u2606]|[\u2190-\u2195]|\u203B/g;
|
|
377
380
|
return japaneseRegex.test(input);
|
|
378
381
|
};
|
|
382
|
+
/**
|
|
383
|
+
* @hidden
|
|
384
|
+
*/
|
|
385
|
+
const isLetter = (text) => {
|
|
386
|
+
const isLetter = /[a-zA-Z]/;
|
|
387
|
+
return isLetter.test(text) && text?.length === 1;
|
|
388
|
+
};
|
|
389
|
+
/**
|
|
390
|
+
* @hidden
|
|
391
|
+
*/
|
|
392
|
+
const getTextField = (field, level) => {
|
|
393
|
+
if (isArray(field)) {
|
|
394
|
+
return field[level];
|
|
395
|
+
}
|
|
396
|
+
return field;
|
|
397
|
+
};
|
|
398
|
+
/**
|
|
399
|
+
* @hidden
|
|
400
|
+
*/
|
|
401
|
+
const getSearchableItems = (popupId, popupElement) => {
|
|
402
|
+
const nodeSeletor = `kendo-popup[id='${popupId}'] li.k-treeview-item`;
|
|
403
|
+
const liElements = Array.from(popupElement.querySelectorAll(nodeSeletor));
|
|
404
|
+
return liElements.map((liElement) => {
|
|
405
|
+
return { text: liElement.innerText, index: liElement.getAttribute('data-treeindex') };
|
|
406
|
+
});
|
|
407
|
+
};
|
|
379
408
|
|
|
380
409
|
/**
|
|
381
410
|
* @hidden
|
|
@@ -428,7 +457,7 @@ class SearchBarComponent {
|
|
|
428
457
|
*/
|
|
429
458
|
get formControl() {
|
|
430
459
|
const ngControl = this.injector.get(NgControl, null);
|
|
431
|
-
return
|
|
460
|
+
return ngControl?.control || null;
|
|
432
461
|
}
|
|
433
462
|
get value() {
|
|
434
463
|
return this.input.nativeElement.value;
|
|
@@ -448,6 +477,9 @@ class SearchBarComponent {
|
|
|
448
477
|
.changes.subscribe(({ rtl }) => this.direction = rtl ? 'rtl' : 'ltr'));
|
|
449
478
|
}
|
|
450
479
|
ngOnChanges(changes) {
|
|
480
|
+
if (!isDocumentAvailable()) {
|
|
481
|
+
return;
|
|
482
|
+
}
|
|
451
483
|
let previousUserInput;
|
|
452
484
|
if (this.input && (changes.userInput || changes.suggestedText)) {
|
|
453
485
|
if (changes.userInput && changes.userInput.previousValue) {
|
|
@@ -553,8 +585,8 @@ class SearchBarComponent {
|
|
|
553
585
|
this.renderer.setAttribute(input, 'size', size.toString());
|
|
554
586
|
}
|
|
555
587
|
}
|
|
556
|
-
SearchBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
557
|
-
SearchBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
588
|
+
SearchBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SearchBarComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
589
|
+
SearchBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SearchBarComponent, selector: "kendo-searchbar", inputs: { id: "id", listId: "listId", tagListId: "tagListId", activeDescendant: "activeDescendant", disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", popupOpen: "popupOpen", role: "role", isLoading: "isLoading", isSuggestable: "isSuggestable", isFilterable: "isFilterable", userInput: "userInput", suggestedText: "suggestedText", placeholder: "placeholder" }, outputs: { valueChange: "valueChange", onBlur: "onBlur", onFocus: "onFocus", onClick: "onClick", onNavigate: "onNavigate" }, host: { properties: { "class.k-searchbar": "this.searchBarClass" } }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
558
590
|
<input #input
|
|
559
591
|
autocomplete="off"
|
|
560
592
|
[id]="id"
|
|
@@ -580,8 +612,8 @@ SearchBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
580
612
|
[attr.aria-busy]="isLoading"
|
|
581
613
|
[attr.aria-invalid]="formControl?.invalid"
|
|
582
614
|
/>
|
|
583
|
-
`, isInline: true, directives: [{ type:
|
|
584
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
615
|
+
`, isInline: true, directives: [{ type: i10.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
616
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SearchBarComponent, decorators: [{
|
|
585
617
|
type: Component,
|
|
586
618
|
args: [{
|
|
587
619
|
selector: 'kendo-searchbar',
|
|
@@ -693,9 +725,9 @@ class ItemTemplateDirective {
|
|
|
693
725
|
this.templateRef = templateRef;
|
|
694
726
|
}
|
|
695
727
|
}
|
|
696
|
-
ItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
697
|
-
ItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
698
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
728
|
+
ItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
729
|
+
ItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]", ngImport: i0 });
|
|
730
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ItemTemplateDirective, decorators: [{
|
|
699
731
|
type: Directive,
|
|
700
732
|
args: [{
|
|
701
733
|
selector: '[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]'
|
|
@@ -735,9 +767,9 @@ class HeaderTemplateDirective {
|
|
|
735
767
|
this.templateRef = templateRef;
|
|
736
768
|
}
|
|
737
769
|
}
|
|
738
|
-
HeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
739
|
-
HeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
740
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
770
|
+
HeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HeaderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
771
|
+
HeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: HeaderTemplateDirective, selector: "[kendoDropDownListHeaderTemplate],[kendoComboBoxHeaderTemplate],[kendoDropDownTreeHeaderTemplate],[kendoMultiColumnComboBoxHeaderTemplate],[kendoAutoCompleteHeaderTemplate],[kendoMultiSelectHeaderTemplate],[kendoMultiSelectTreeHeaderTemplate]", ngImport: i0 });
|
|
772
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HeaderTemplateDirective, decorators: [{
|
|
741
773
|
type: Directive,
|
|
742
774
|
args: [{
|
|
743
775
|
selector: '[kendoDropDownListHeaderTemplate],[kendoComboBoxHeaderTemplate],[kendoDropDownTreeHeaderTemplate],[kendoMultiColumnComboBoxHeaderTemplate],[kendoAutoCompleteHeaderTemplate],[kendoMultiSelectHeaderTemplate],[kendoMultiSelectTreeHeaderTemplate]'
|
|
@@ -777,9 +809,9 @@ class FooterTemplateDirective {
|
|
|
777
809
|
this.templateRef = templateRef;
|
|
778
810
|
}
|
|
779
811
|
}
|
|
780
|
-
FooterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
781
|
-
FooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
782
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
812
|
+
FooterTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FooterTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
813
|
+
FooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FooterTemplateDirective, selector: "[kendoDropDownListFooterTemplate],[kendoComboBoxFooterTemplate],[kendoDropDownTreeFooterTemplate],[kendoMultiColumnComboBoxFooterTemplate],[kendoAutoCompleteFooterTemplate],[kendoMultiSelectFooterTemplate],[kendoMultiSelectTreeFooterTemplate]", ngImport: i0 });
|
|
814
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FooterTemplateDirective, decorators: [{
|
|
783
815
|
type: Directive,
|
|
784
816
|
args: [{
|
|
785
817
|
selector: '[kendoDropDownListFooterTemplate],[kendoComboBoxFooterTemplate],[kendoDropDownTreeFooterTemplate],[kendoMultiColumnComboBoxFooterTemplate],[kendoAutoCompleteFooterTemplate],[kendoMultiSelectFooterTemplate],[kendoMultiSelectTreeFooterTemplate]'
|
|
@@ -825,9 +857,9 @@ class GroupTemplateDirective {
|
|
|
825
857
|
this.templateRef = templateRef;
|
|
826
858
|
}
|
|
827
859
|
}
|
|
828
|
-
GroupTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
829
|
-
GroupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
830
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
860
|
+
GroupTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
861
|
+
GroupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: GroupTemplateDirective, selector: "[kendoDropDownListGroupTemplate],[kendoComboBoxGroupTemplate],[kendoMultiColumnComboBoxGroupTemplate],[kendoAutoCompleteGroupTemplate],[kendoMultiSelectGroupTemplate]", ngImport: i0 });
|
|
862
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupTemplateDirective, decorators: [{
|
|
831
863
|
type: Directive,
|
|
832
864
|
args: [{
|
|
833
865
|
selector: '[kendoDropDownListGroupTemplate],[kendoComboBoxGroupTemplate],[kendoMultiColumnComboBoxGroupTemplate],[kendoAutoCompleteGroupTemplate],[kendoMultiSelectGroupTemplate]'
|
|
@@ -873,9 +905,9 @@ class FixedGroupTemplateDirective {
|
|
|
873
905
|
this.templateRef = templateRef;
|
|
874
906
|
}
|
|
875
907
|
}
|
|
876
|
-
FixedGroupTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
877
|
-
FixedGroupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
878
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
908
|
+
FixedGroupTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FixedGroupTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
909
|
+
FixedGroupTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FixedGroupTemplateDirective, selector: "[kendoDropDownListFixedGroupTemplate],[kendoComboBoxFixedGroupTemplate],[kendoMultiColumnComboBoxFixedGroupTemplate],[kendoAutoCompleteFixedGroupTemplate],[kendoMultiSelectFixedGroupTemplate]", ngImport: i0 });
|
|
910
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FixedGroupTemplateDirective, decorators: [{
|
|
879
911
|
type: Directive,
|
|
880
912
|
args: [{
|
|
881
913
|
selector: '[kendoDropDownListFixedGroupTemplate],[kendoComboBoxFixedGroupTemplate],[kendoMultiColumnComboBoxFixedGroupTemplate],[kendoAutoCompleteFixedGroupTemplate],[kendoMultiSelectFixedGroupTemplate]'
|
|
@@ -929,7 +961,7 @@ class DataService {
|
|
|
929
961
|
* Used to calculate the last item index of each group.
|
|
930
962
|
*/
|
|
931
963
|
getGroupIndices(data) {
|
|
932
|
-
|
|
964
|
+
const groupIndices = [];
|
|
933
965
|
for (let i = 0; i <= data.length - 1; i++) {
|
|
934
966
|
groupIndices[i] = (groupIndices[i - 1] || 0) + data[i].items.length;
|
|
935
967
|
}
|
|
@@ -1117,9 +1149,9 @@ class DataService {
|
|
|
1117
1149
|
return flat;
|
|
1118
1150
|
}
|
|
1119
1151
|
}
|
|
1120
|
-
DataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1121
|
-
DataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1152
|
+
DataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1153
|
+
DataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DataService });
|
|
1154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DataService, decorators: [{
|
|
1123
1155
|
type: Injectable
|
|
1124
1156
|
}] });
|
|
1125
1157
|
|
|
@@ -1154,9 +1186,9 @@ class DisabledItemsService {
|
|
|
1154
1186
|
}
|
|
1155
1187
|
}
|
|
1156
1188
|
}
|
|
1157
|
-
DisabledItemsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1158
|
-
DisabledItemsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1159
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1189
|
+
DisabledItemsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DisabledItemsService, deps: [{ token: DataService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1190
|
+
DisabledItemsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DisabledItemsService });
|
|
1191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DisabledItemsService, decorators: [{
|
|
1160
1192
|
type: Injectable
|
|
1161
1193
|
}], ctorParameters: function () { return [{ type: DataService }]; } });
|
|
1162
1194
|
|
|
@@ -1277,7 +1309,7 @@ class SelectionService {
|
|
|
1277
1309
|
}
|
|
1278
1310
|
}
|
|
1279
1311
|
selectFromTo(from, to) {
|
|
1280
|
-
|
|
1312
|
+
const addedIndices = [];
|
|
1281
1313
|
for (let i = from; i <= to; i++) {
|
|
1282
1314
|
if (!this.isSelected(i) && !this.disabledItemsService.isIndexDisabled(i)) {
|
|
1283
1315
|
addedIndices.push(i);
|
|
@@ -1286,7 +1318,7 @@ class SelectionService {
|
|
|
1286
1318
|
this.addMultiple(addedIndices);
|
|
1287
1319
|
}
|
|
1288
1320
|
unselectFromTo(from, to) {
|
|
1289
|
-
|
|
1321
|
+
const indicesToBeUnselected = [];
|
|
1290
1322
|
for (let i = from; i >= to; i--) {
|
|
1291
1323
|
if (this.isSelected(i) && !this.disabledItemsService.isIndexDisabled(i)) {
|
|
1292
1324
|
indicesToBeUnselected.push(i);
|
|
@@ -1295,7 +1327,7 @@ class SelectionService {
|
|
|
1295
1327
|
this.unselectMultiple(indicesToBeUnselected);
|
|
1296
1328
|
}
|
|
1297
1329
|
unselectNotNeededIndices(startOfSelection, endOfSelection, totalItems) {
|
|
1298
|
-
|
|
1330
|
+
const indicesToBeUnselected = [];
|
|
1299
1331
|
for (let i = 0; i < startOfSelection; i++) {
|
|
1300
1332
|
if (this.isSelected(i)) {
|
|
1301
1333
|
indicesToBeUnselected.push(i);
|
|
@@ -1309,9 +1341,9 @@ class SelectionService {
|
|
|
1309
1341
|
this.unselectMultiple(indicesToBeUnselected);
|
|
1310
1342
|
}
|
|
1311
1343
|
}
|
|
1312
|
-
SelectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1313
|
-
SelectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1314
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1344
|
+
SelectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectionService, deps: [{ token: DisabledItemsService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1345
|
+
SelectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectionService });
|
|
1346
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectionService, decorators: [{
|
|
1315
1347
|
type: Injectable
|
|
1316
1348
|
}], ctorParameters: function () { return [{ type: DisabledItemsService }]; } });
|
|
1317
1349
|
|
|
@@ -1501,9 +1533,9 @@ class NavigationService {
|
|
|
1501
1533
|
}
|
|
1502
1534
|
}
|
|
1503
1535
|
}
|
|
1504
|
-
NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1505
|
-
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1506
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1536
|
+
NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService, deps: [{ token: DisabledItemsService }, { token: SelectionService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1537
|
+
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService });
|
|
1538
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService, decorators: [{
|
|
1507
1539
|
type: Injectable
|
|
1508
1540
|
}], ctorParameters: function () { return [{ type: DisabledItemsService }, { type: SelectionService }]; } });
|
|
1509
1541
|
|
|
@@ -1540,9 +1572,9 @@ class NoDataTemplateDirective {
|
|
|
1540
1572
|
this.templateRef = templateRef;
|
|
1541
1573
|
}
|
|
1542
1574
|
}
|
|
1543
|
-
NoDataTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1544
|
-
NoDataTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1545
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1575
|
+
NoDataTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NoDataTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1576
|
+
NoDataTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: NoDataTemplateDirective, selector: "[kendoDropDownListNoDataTemplate],[kendoDropDownTreeNoDataTemplate],[kendoComboBoxNoDataTemplate],[kendoMultiColumnComboBoxNoDataTemplate],[kendoAutoCompleteNoDataTemplate],[kendoMultiSelectNoDataTemplate],[kendoMultiSelectTreeNoDataTemplate]", ngImport: i0 });
|
|
1577
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NoDataTemplateDirective, decorators: [{
|
|
1546
1578
|
type: Directive,
|
|
1547
1579
|
args: [{
|
|
1548
1580
|
selector: '[kendoDropDownListNoDataTemplate],[kendoDropDownTreeNoDataTemplate],[kendoComboBoxNoDataTemplate],[kendoMultiColumnComboBoxNoDataTemplate],[kendoAutoCompleteNoDataTemplate],[kendoMultiSelectNoDataTemplate],[kendoMultiSelectTreeNoDataTemplate]'
|
|
@@ -1583,32 +1615,6 @@ class PreventableEvent {
|
|
|
1583
1615
|
class FilterableComponent {
|
|
1584
1616
|
}
|
|
1585
1617
|
|
|
1586
|
-
/**
|
|
1587
|
-
* @hidden
|
|
1588
|
-
*/
|
|
1589
|
-
const DEFAULTS = {
|
|
1590
|
-
pageSize: 50,
|
|
1591
|
-
itemHeight: 28
|
|
1592
|
-
};
|
|
1593
|
-
/**
|
|
1594
|
-
* @hidden
|
|
1595
|
-
*/
|
|
1596
|
-
const normalizeVirtualizationSettings = (settings, defaultOverrides) => {
|
|
1597
|
-
const defaults = Object.assign({}, DEFAULTS, defaultOverrides);
|
|
1598
|
-
if (settings === true) {
|
|
1599
|
-
return defaults;
|
|
1600
|
-
}
|
|
1601
|
-
if (!settings) {
|
|
1602
|
-
return null;
|
|
1603
|
-
}
|
|
1604
|
-
return Object.assign({ pageSize: DEFAULTS.pageSize }, settings);
|
|
1605
|
-
};
|
|
1606
|
-
|
|
1607
|
-
/**
|
|
1608
|
-
* @hidden
|
|
1609
|
-
*/
|
|
1610
|
-
const TOUCH_ENABLED = new InjectionToken('dropdowns-touch-enabled');
|
|
1611
|
-
|
|
1612
1618
|
/**
|
|
1613
1619
|
* @hidden
|
|
1614
1620
|
*/
|
|
@@ -1617,9 +1623,9 @@ class ListItemDirective {
|
|
|
1617
1623
|
this.element = element;
|
|
1618
1624
|
}
|
|
1619
1625
|
}
|
|
1620
|
-
ListItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1621
|
-
ListItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1622
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1626
|
+
ListItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ListItemDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1627
|
+
ListItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ListItemDirective, selector: "\"li[role=option], li[role=group]\"", ngImport: i0 });
|
|
1628
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ListItemDirective, decorators: [{
|
|
1623
1629
|
type: Directive,
|
|
1624
1630
|
args: [{
|
|
1625
1631
|
selector: '"li[role=option], li[role=group]"' // eslint-disable-line
|
|
@@ -1643,9 +1649,9 @@ class TemplateContextDirective {
|
|
|
1643
1649
|
}
|
|
1644
1650
|
}
|
|
1645
1651
|
}
|
|
1646
|
-
TemplateContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1647
|
-
TemplateContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1648
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1652
|
+
TemplateContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TemplateContextDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1653
|
+
TemplateContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TemplateContextDirective, selector: "[templateContext]", inputs: { templateContext: "templateContext" }, ngImport: i0 });
|
|
1654
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TemplateContextDirective, decorators: [{
|
|
1649
1655
|
type: Directive,
|
|
1650
1656
|
args: [{
|
|
1651
1657
|
selector: '[templateContext]' // eslint-disable-line
|
|
@@ -1690,9 +1696,9 @@ class SelectableDirective {
|
|
|
1690
1696
|
}
|
|
1691
1697
|
}
|
|
1692
1698
|
}
|
|
1693
|
-
SelectableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1694
|
-
SelectableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
1695
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1699
|
+
SelectableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectableDirective, deps: [{ token: SelectionService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1700
|
+
SelectableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: { index: "index", checkboxes: "checkboxes", height: "height", multipleSelection: "multipleSelection" }, host: { listeners: { "click": "onClick($event)" }, properties: { "attr.index": "this.index", "style.height.px": "this.height", "style.minHeight.px": "this.height", "class.k-focus": "this.focusedClassName", "class.k-selected": "this.selectedClassName" } }, ngImport: i0 });
|
|
1701
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectableDirective, decorators: [{
|
|
1696
1702
|
type: Directive,
|
|
1697
1703
|
args: [{
|
|
1698
1704
|
selector: '[kendoDropDownsSelectable]'
|
|
@@ -1782,7 +1788,7 @@ class ListComponent {
|
|
|
1782
1788
|
if (this.virtual.pageSize) {
|
|
1783
1789
|
return this.virtual.pageSize;
|
|
1784
1790
|
}
|
|
1785
|
-
|
|
1791
|
+
const size = Math.round(this.height / this.virtual.itemHeight);
|
|
1786
1792
|
return size;
|
|
1787
1793
|
}
|
|
1788
1794
|
get scrollHeight() {
|
|
@@ -1804,7 +1810,7 @@ class ListComponent {
|
|
|
1804
1810
|
if (isChanged('data', changes, false)) {
|
|
1805
1811
|
if (this.lastLoaded <= 0) {
|
|
1806
1812
|
this.lastLoaded = this.data.length - 1;
|
|
1807
|
-
this.scrollToFocused = !changes
|
|
1813
|
+
this.scrollToFocused = !changes['data'].isFirstChange();
|
|
1808
1814
|
}
|
|
1809
1815
|
this.setOverflow();
|
|
1810
1816
|
}
|
|
@@ -1983,7 +1989,7 @@ class ListComponent {
|
|
|
1983
1989
|
}
|
|
1984
1990
|
}
|
|
1985
1991
|
scrollWithOnePage(action) {
|
|
1986
|
-
|
|
1992
|
+
const content = this.content.nativeElement;
|
|
1987
1993
|
const contentOffsetHeight = content.clientHeight;
|
|
1988
1994
|
if (action === NavigationAction.PageDown) {
|
|
1989
1995
|
content.scrollTop += contentOffsetHeight;
|
|
@@ -1993,7 +1999,7 @@ class ListComponent {
|
|
|
1993
1999
|
}
|
|
1994
2000
|
}
|
|
1995
2001
|
scrollToIndex(index) {
|
|
1996
|
-
|
|
2002
|
+
const content = this.content.nativeElement;
|
|
1997
2003
|
let contentScrollTop = content.scrollTop;
|
|
1998
2004
|
const itemOffsetTop = index * this.virtual.itemHeight;
|
|
1999
2005
|
const itemOffsetHeight = this.virtual.itemHeight;
|
|
@@ -2012,7 +2018,12 @@ class ListComponent {
|
|
|
2012
2018
|
return;
|
|
2013
2019
|
}
|
|
2014
2020
|
const nativeElement = item.nativeElement;
|
|
2015
|
-
|
|
2021
|
+
const content = this.content.nativeElement;
|
|
2022
|
+
const itemOffsetTop = nativeElement.offsetTop;
|
|
2023
|
+
const itemOffsetHeight = nativeElement.offsetHeight;
|
|
2024
|
+
let contentScrollTop = content.scrollTop;
|
|
2025
|
+
const contentOffsetHeight = content.clientHeight;
|
|
2026
|
+
const bottomDistance = itemOffsetTop + itemOffsetHeight;
|
|
2016
2027
|
if (contentScrollTop > itemOffsetTop) {
|
|
2017
2028
|
contentScrollTop = itemOffsetTop;
|
|
2018
2029
|
}
|
|
@@ -2078,8 +2089,8 @@ class ListComponent {
|
|
|
2078
2089
|
}
|
|
2079
2090
|
}
|
|
2080
2091
|
}
|
|
2081
|
-
ListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2082
|
-
ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2092
|
+
ListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ListComponent, deps: [{ token: DataService }, { token: i0.ElementRef }, { token: SelectionService }, { token: DisabledItemsService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
2093
|
+
ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ListComponent, selector: "kendo-list", inputs: { selected: "selected", focused: "focused", textField: "textField", valueField: "valueField", height: "height", template: "template", groupTemplate: "groupTemplate", fixedGroupTemplate: "fixedGroupTemplate", show: "show", id: "id", optionPrefix: "optionPrefix", multipleSelection: "multipleSelection", virtual: "virtual", type: "type", checkboxes: "checkboxes", ariaLive: "ariaLive", isMultiselect: "isMultiselect", data: "data", size: "size", rounded: "rounded" }, outputs: { onClick: "onClick", pageChange: "pageChange", listResize: "listResize" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, static: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true, static: true }, { propertyName: "virtualContainer", first: true, predicate: ["virtualContainer"], descendants: true }, { propertyName: "items", predicate: ListItemDirective, descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
2083
2094
|
<div *ngIf="dataService.grouped"
|
|
2084
2095
|
[class]="listGroupStickyHeaderClass"
|
|
2085
2096
|
[ngStyle]="{
|
|
@@ -2202,8 +2213,8 @@ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
2202
2213
|
</div>
|
|
2203
2214
|
</div>
|
|
2204
2215
|
</div>
|
|
2205
|
-
`, isInline: true, components: [{ type:
|
|
2206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2216
|
+
`, isInline: true, components: [{ type: i10.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i12.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i12.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i12.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: ListItemDirective, selector: "\"li[role=option], li[role=group]\"" }, { type: SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: ["index", "checkboxes", "height", "multipleSelection"] }, { type: i12.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
2217
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ListComponent, decorators: [{
|
|
2207
2218
|
type: Component,
|
|
2208
2219
|
args: [{
|
|
2209
2220
|
selector: 'kendo-list',
|
|
@@ -2392,14 +2403,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2392
2403
|
args: ['virtualContainer', { static: false }]
|
|
2393
2404
|
}] } });
|
|
2394
2405
|
|
|
2406
|
+
/**
|
|
2407
|
+
* @hidden
|
|
2408
|
+
*/
|
|
2409
|
+
const DEFAULTS = {
|
|
2410
|
+
pageSize: 50,
|
|
2411
|
+
itemHeight: 28
|
|
2412
|
+
};
|
|
2413
|
+
/**
|
|
2414
|
+
* @hidden
|
|
2415
|
+
*/
|
|
2416
|
+
const normalizeVirtualizationSettings = (settings, defaultOverrides) => {
|
|
2417
|
+
const defaults = Object.assign({}, DEFAULTS, defaultOverrides);
|
|
2418
|
+
if (settings === true) {
|
|
2419
|
+
return defaults;
|
|
2420
|
+
}
|
|
2421
|
+
if (!settings) {
|
|
2422
|
+
return null;
|
|
2423
|
+
}
|
|
2424
|
+
return { pageSize: DEFAULTS.pageSize, ...settings };
|
|
2425
|
+
};
|
|
2426
|
+
|
|
2427
|
+
/**
|
|
2428
|
+
* @hidden
|
|
2429
|
+
*/
|
|
2430
|
+
const TOUCH_ENABLED = new InjectionToken('dropdowns-touch-enabled');
|
|
2431
|
+
|
|
2395
2432
|
/**
|
|
2396
2433
|
* @hidden
|
|
2397
2434
|
*/
|
|
2398
2435
|
class Messages extends ComponentMessages {
|
|
2399
2436
|
}
|
|
2400
|
-
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2401
|
-
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2402
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2437
|
+
Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2438
|
+
Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: Messages, inputs: { noDataText: "noDataText", clearTitle: "clearTitle", checkAllText: "checkAllText", selectButtonText: "selectButtonText" }, usesInheritance: true, ngImport: i0 });
|
|
2439
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: Messages, decorators: [{
|
|
2403
2440
|
type: Directive
|
|
2404
2441
|
}], propDecorators: { noDataText: [{
|
|
2405
2442
|
type: Input
|
|
@@ -2420,14 +2457,14 @@ class LocalizedMessagesDirective extends Messages {
|
|
|
2420
2457
|
this.service = service;
|
|
2421
2458
|
}
|
|
2422
2459
|
}
|
|
2423
|
-
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2424
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2460
|
+
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2461
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n ", providers: [
|
|
2425
2462
|
{
|
|
2426
2463
|
provide: Messages,
|
|
2427
2464
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
2428
2465
|
}
|
|
2429
2466
|
], usesInheritance: true, ngImport: i0 });
|
|
2430
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2467
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
2431
2468
|
type: Directive,
|
|
2432
2469
|
args: [{
|
|
2433
2470
|
providers: [
|
|
@@ -2493,6 +2530,10 @@ class AutoCompleteComponent {
|
|
|
2493
2530
|
this.renderer = renderer;
|
|
2494
2531
|
this.hostElement = hostElement;
|
|
2495
2532
|
this.touchEnabled = touchEnabled;
|
|
2533
|
+
/**
|
|
2534
|
+
* @hidden
|
|
2535
|
+
*/
|
|
2536
|
+
this.xIcon = xIcon;
|
|
2496
2537
|
/**
|
|
2497
2538
|
* Defines whether the first match from the suggestions list will be automatically focused.
|
|
2498
2539
|
* By default, `highlightFirst` is set to `true`.
|
|
@@ -2867,7 +2908,7 @@ class AutoCompleteComponent {
|
|
|
2867
2908
|
}
|
|
2868
2909
|
ngOnChanges(changes) {
|
|
2869
2910
|
const virtual = this.virtual;
|
|
2870
|
-
const requestInitialData = virtual && changes
|
|
2911
|
+
const requestInitialData = virtual && changes['data'] && changes['data'].isFirstChange();
|
|
2871
2912
|
if (requestInitialData) {
|
|
2872
2913
|
this.pageChange({ skip: 0, take: virtual.pageSize });
|
|
2873
2914
|
}
|
|
@@ -3202,7 +3243,7 @@ class AutoCompleteComponent {
|
|
|
3202
3243
|
if (!isPresent(index)) {
|
|
3203
3244
|
return;
|
|
3204
3245
|
}
|
|
3205
|
-
|
|
3246
|
+
const text = getter(this.dataService.itemAt(index), this.valueField);
|
|
3206
3247
|
this.change(text);
|
|
3207
3248
|
}
|
|
3208
3249
|
handleItemFocus(_event) {
|
|
@@ -3313,8 +3354,8 @@ class AutoCompleteComponent {
|
|
|
3313
3354
|
}
|
|
3314
3355
|
}
|
|
3315
3356
|
}
|
|
3316
|
-
AutoCompleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3317
|
-
AutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
3357
|
+
AutoCompleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", 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: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
3358
|
+
AutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: AutoCompleteComponent, selector: "kendo-autocomplete", inputs: { highlightFirst: "highlightFirst", focusableId: "focusableId", data: "data", value: "value", valueField: "valueField", placeholder: "placeholder", 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" }, outputs: { valueChange: "valueChange", filterChange: "filterChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur" }, host: { properties: { "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: [
|
|
3318
3359
|
AUTOCOMPLETE_VALUE_ACCESSOR,
|
|
3319
3360
|
DataService,
|
|
3320
3361
|
SelectionService,
|
|
@@ -3372,7 +3413,11 @@ AutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
3372
3413
|
(click)="clearValue($event)"
|
|
3373
3414
|
(mousedown)="$event.preventDefault()"
|
|
3374
3415
|
>
|
|
3375
|
-
<
|
|
3416
|
+
<kendo-icon-wrapper
|
|
3417
|
+
name="x"
|
|
3418
|
+
[svgIcon]="xIcon"
|
|
3419
|
+
>
|
|
3420
|
+
</kendo-icon-wrapper>
|
|
3376
3421
|
</span>
|
|
3377
3422
|
<span *ngIf="loading" class="k-icon k-i-loading k-input-loading-icon"></span>
|
|
3378
3423
|
<ng-template #popupTemplate>
|
|
@@ -3423,8 +3468,8 @@ AutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
3423
3468
|
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
3424
3469
|
</ng-template>
|
|
3425
3470
|
<ng-container #container></ng-container>
|
|
3426
|
-
`, isInline: true, components: [{ type: SearchBarComponent, selector: "kendo-searchbar", inputs: ["id", "listId", "tagListId", "activeDescendant", "disabled", "readonly", "tabIndex", "popupOpen", "role", "isLoading", "isSuggestable", "isFilterable", "userInput", "suggestedText", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { type: ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "isMultiselect", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize"] }, { type:
|
|
3427
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3471
|
+
`, isInline: true, components: [{ type: SearchBarComponent, selector: "kendo-searchbar", inputs: ["id", "listId", "tagListId", "activeDescendant", "disabled", "readonly", "tabIndex", "popupOpen", "role", "isLoading", "isSuggestable", "isFilterable", "userInput", "suggestedText", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { type: i8.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "isMultiselect", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize"] }, { type: i10.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i12.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
|
|
3472
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AutoCompleteComponent, decorators: [{
|
|
3428
3473
|
type: Component,
|
|
3429
3474
|
args: [{
|
|
3430
3475
|
exportAs: 'kendoAutoComplete',
|
|
@@ -3488,7 +3533,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
3488
3533
|
(click)="clearValue($event)"
|
|
3489
3534
|
(mousedown)="$event.preventDefault()"
|
|
3490
3535
|
>
|
|
3491
|
-
<
|
|
3536
|
+
<kendo-icon-wrapper
|
|
3537
|
+
name="x"
|
|
3538
|
+
[svgIcon]="xIcon"
|
|
3539
|
+
>
|
|
3540
|
+
</kendo-icon-wrapper>
|
|
3492
3541
|
</span>
|
|
3493
3542
|
<span *ngIf="loading" class="k-icon k-i-loading k-input-loading-icon"></span>
|
|
3494
3543
|
<ng-template #popupTemplate>
|
|
@@ -3753,6 +3802,14 @@ class ComboBoxComponent {
|
|
|
3753
3802
|
this.cdr = cdr;
|
|
3754
3803
|
this.renderer = renderer;
|
|
3755
3804
|
this.touchEnabled = touchEnabled;
|
|
3805
|
+
/**
|
|
3806
|
+
* @hidden
|
|
3807
|
+
*/
|
|
3808
|
+
this.xIcon = xIcon;
|
|
3809
|
+
/**
|
|
3810
|
+
* @hidden
|
|
3811
|
+
*/
|
|
3812
|
+
this.caretAltDownIcon = caretAltDownIcon;
|
|
3756
3813
|
this.selected = [];
|
|
3757
3814
|
/**
|
|
3758
3815
|
* @hidden
|
|
@@ -4328,7 +4385,7 @@ class ComboBoxComponent {
|
|
|
4328
4385
|
}
|
|
4329
4386
|
ngOnChanges(changes) {
|
|
4330
4387
|
const virtual = this.virtual;
|
|
4331
|
-
const requestInitialData = virtual && changes
|
|
4388
|
+
const requestInitialData = virtual && changes['data'] && changes['data'].isFirstChange();
|
|
4332
4389
|
if (requestInitialData) {
|
|
4333
4390
|
this.pageChange({ skip: 0, take: virtual.pageSize });
|
|
4334
4391
|
}
|
|
@@ -4421,7 +4478,7 @@ class ComboBoxComponent {
|
|
|
4421
4478
|
* @hidden
|
|
4422
4479
|
*/
|
|
4423
4480
|
clearValue(event) {
|
|
4424
|
-
event
|
|
4481
|
+
event?.stopImmediatePropagation();
|
|
4425
4482
|
if (event) {
|
|
4426
4483
|
this.focus();
|
|
4427
4484
|
}
|
|
@@ -4458,7 +4515,7 @@ class ComboBoxComponent {
|
|
|
4458
4515
|
* @hidden
|
|
4459
4516
|
*/
|
|
4460
4517
|
get buttonClasses() {
|
|
4461
|
-
return this.loading ? 'k-i-loading k-input-loading-icon' : this.iconClass
|
|
4518
|
+
return this.loading ? 'k-i-loading k-input-loading-icon' : this.iconClass;
|
|
4462
4519
|
}
|
|
4463
4520
|
/**
|
|
4464
4521
|
* @hidden
|
|
@@ -4943,8 +5000,8 @@ class ComboBoxComponent {
|
|
|
4943
5000
|
}
|
|
4944
5001
|
}
|
|
4945
5002
|
}
|
|
4946
|
-
ComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4947
|
-
ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
5003
|
+
ComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", 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: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
5004
|
+
ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ComboBoxComponent, selector: "kendo-combobox", inputs: { focusableId: "focusableId", allowCustom: "allowCustom", data: "data", value: "value", textField: "textField", valueField: "valueField", valuePrimitive: "valuePrimitive", valueNormalizer: "valueNormalizer", placeholder: "placeholder", popupSettings: "popupSettings", listHeight: "listHeight", iconClass: "iconClass", 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" }, host: { properties: { "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: [
|
|
4948
5005
|
COMBOBOX_VALUE_ACCESSOR,
|
|
4949
5006
|
DataService,
|
|
4950
5007
|
SelectionService,
|
|
@@ -5004,7 +5061,11 @@ ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
5004
5061
|
mousedown: preventEventDefault
|
|
5005
5062
|
}"
|
|
5006
5063
|
>
|
|
5007
|
-
<
|
|
5064
|
+
<kendo-icon-wrapper
|
|
5065
|
+
name="x"
|
|
5066
|
+
[svgIcon]="xIcon"
|
|
5067
|
+
>
|
|
5068
|
+
</kendo-icon-wrapper>
|
|
5008
5069
|
</span>
|
|
5009
5070
|
<button
|
|
5010
5071
|
#select
|
|
@@ -5018,7 +5079,13 @@ ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
5018
5079
|
mousedown: preventEventDefault
|
|
5019
5080
|
}"
|
|
5020
5081
|
>
|
|
5021
|
-
<
|
|
5082
|
+
<kendo-icon-wrapper
|
|
5083
|
+
*ngIf="!loading && !iconClass"
|
|
5084
|
+
name="caret-alt-down"
|
|
5085
|
+
[svgIcon]="caretAltDownIcon"
|
|
5086
|
+
>
|
|
5087
|
+
</kendo-icon-wrapper>
|
|
5088
|
+
<span *ngIf="loading || iconClass" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
|
|
5022
5089
|
</button>
|
|
5023
5090
|
<ng-template #popupTemplate>
|
|
5024
5091
|
<!--header template-->
|
|
@@ -5068,8 +5135,8 @@ ComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
|
5068
5135
|
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
5069
5136
|
</ng-template>
|
|
5070
5137
|
<ng-container #container></ng-container>
|
|
5071
|
-
`, isInline: true, components: [{ type: SearchBarComponent, selector: "kendo-searchbar", inputs: ["id", "listId", "tagListId", "activeDescendant", "disabled", "readonly", "tabIndex", "popupOpen", "role", "isLoading", "isSuggestable", "isFilterable", "userInput", "suggestedText", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { type: ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "isMultiselect", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize"] }, { type:
|
|
5072
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5138
|
+
`, isInline: true, components: [{ type: SearchBarComponent, selector: "kendo-searchbar", inputs: ["id", "listId", "tagListId", "activeDescendant", "disabled", "readonly", "tabIndex", "popupOpen", "role", "isLoading", "isSuggestable", "isFilterable", "userInput", "suggestedText", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { type: i8.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "isMultiselect", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize"] }, { type: i10.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i12.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i10.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i12.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
|
|
5139
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxComponent, decorators: [{
|
|
5073
5140
|
type: Component,
|
|
5074
5141
|
args: [{
|
|
5075
5142
|
exportAs: 'kendoComboBox',
|
|
@@ -5135,7 +5202,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
5135
5202
|
mousedown: preventEventDefault
|
|
5136
5203
|
}"
|
|
5137
5204
|
>
|
|
5138
|
-
<
|
|
5205
|
+
<kendo-icon-wrapper
|
|
5206
|
+
name="x"
|
|
5207
|
+
[svgIcon]="xIcon"
|
|
5208
|
+
>
|
|
5209
|
+
</kendo-icon-wrapper>
|
|
5139
5210
|
</span>
|
|
5140
5211
|
<button
|
|
5141
5212
|
#select
|
|
@@ -5149,7 +5220,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
5149
5220
|
mousedown: preventEventDefault
|
|
5150
5221
|
}"
|
|
5151
5222
|
>
|
|
5152
|
-
<
|
|
5223
|
+
<kendo-icon-wrapper
|
|
5224
|
+
*ngIf="!loading && !iconClass"
|
|
5225
|
+
name="caret-alt-down"
|
|
5226
|
+
[svgIcon]="caretAltDownIcon"
|
|
5227
|
+
>
|
|
5228
|
+
</kendo-icon-wrapper>
|
|
5229
|
+
<span *ngIf="loading || iconClass" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
|
|
5153
5230
|
</button>
|
|
5154
5231
|
<ng-template #popupTemplate>
|
|
5155
5232
|
<!--header template-->
|
|
@@ -5361,9 +5438,9 @@ class ValueTemplateDirective {
|
|
|
5361
5438
|
this.templateRef = templateRef;
|
|
5362
5439
|
}
|
|
5363
5440
|
}
|
|
5364
|
-
ValueTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5365
|
-
ValueTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
5366
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5441
|
+
ValueTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ValueTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5442
|
+
ValueTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ValueTemplateDirective, selector: "[kendoDropDownListValueTemplate],[kendoDropDownTreeValueTemplate]", ngImport: i0 });
|
|
5443
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ValueTemplateDirective, decorators: [{
|
|
5367
5444
|
type: Directive,
|
|
5368
5445
|
args: [{
|
|
5369
5446
|
selector: '[kendoDropDownListValueTemplate],[kendoDropDownTreeValueTemplate]'
|
|
@@ -5387,9 +5464,9 @@ class FilterInputDirective {
|
|
|
5387
5464
|
this.zone.runOutsideAngular(() => setTimeout(fn));
|
|
5388
5465
|
}
|
|
5389
5466
|
}
|
|
5390
|
-
FilterInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5391
|
-
FilterInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
5392
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5467
|
+
FilterInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterInputDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5468
|
+
FilterInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FilterInputDirective, selector: "[filterInput]", inputs: { focused: ["filterInput", "focused"] }, usesOnChanges: true, ngImport: i0 });
|
|
5469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterInputDirective, decorators: [{
|
|
5393
5470
|
type: Directive,
|
|
5394
5471
|
args: [{
|
|
5395
5472
|
selector: '[filterInput]' // eslint-disable-line
|
|
@@ -5441,6 +5518,14 @@ class DropDownListComponent {
|
|
|
5441
5518
|
this.cdr = cdr;
|
|
5442
5519
|
this.touchEnabled = touchEnabled;
|
|
5443
5520
|
this.injector = injector;
|
|
5521
|
+
/**
|
|
5522
|
+
* @hidden
|
|
5523
|
+
*/
|
|
5524
|
+
this.searchIcon = searchIcon;
|
|
5525
|
+
/**
|
|
5526
|
+
* @hidden
|
|
5527
|
+
*/
|
|
5528
|
+
this.caretAltDownIcon = caretAltDownIcon;
|
|
5444
5529
|
/**
|
|
5445
5530
|
* Sets the height of the options list. By default, `listHeight` is 200px.
|
|
5446
5531
|
*
|
|
@@ -5834,8 +5919,7 @@ class DropDownListComponent {
|
|
|
5834
5919
|
return this.ariaControls;
|
|
5835
5920
|
}
|
|
5836
5921
|
get hostAriaInvalid() {
|
|
5837
|
-
|
|
5838
|
-
return this.formControl ? (_a = this.formControl) === null || _a === void 0 ? void 0 : _a.invalid.toString() : null;
|
|
5922
|
+
return this.formControl ? this.formControl?.invalid.toString() : null;
|
|
5839
5923
|
}
|
|
5840
5924
|
get hostAriaActivedescendant() {
|
|
5841
5925
|
return this.ariaActivedescendant;
|
|
@@ -5845,7 +5929,7 @@ class DropDownListComponent {
|
|
|
5845
5929
|
*/
|
|
5846
5930
|
keydown(event) {
|
|
5847
5931
|
const firstIndex = isPresent(this.defaultItem) ? -1 : 0;
|
|
5848
|
-
|
|
5932
|
+
const focused = isNaN(this.selectionService.focused) ? this.firstFocusableIndex(firstIndex) : this.selectionService.focused;
|
|
5849
5933
|
let offset = 0;
|
|
5850
5934
|
if (this.disabled || this.readonly) {
|
|
5851
5935
|
return;
|
|
@@ -5950,7 +6034,7 @@ class DropDownListComponent {
|
|
|
5950
6034
|
*/
|
|
5951
6035
|
ngOnChanges(changes) {
|
|
5952
6036
|
const virtual = this.virtual;
|
|
5953
|
-
const requestInitialData = virtual && changes
|
|
6037
|
+
const requestInitialData = virtual && changes['data'] && changes['data'].isFirstChange();
|
|
5954
6038
|
if (requestInitialData) {
|
|
5955
6039
|
this.pageChange({ skip: 0, take: virtual.pageSize });
|
|
5956
6040
|
}
|
|
@@ -5972,7 +6056,7 @@ class DropDownListComponent {
|
|
|
5972
6056
|
*/
|
|
5973
6057
|
get formControl() {
|
|
5974
6058
|
const ngControl = this.injector.get(NgControl, null);
|
|
5975
|
-
return
|
|
6059
|
+
return ngControl?.control || null;
|
|
5976
6060
|
}
|
|
5977
6061
|
/**
|
|
5978
6062
|
* Focuses a specific item of the DropDownList based on a provided index.
|
|
@@ -6103,7 +6187,7 @@ class DropDownListComponent {
|
|
|
6103
6187
|
* @hidden
|
|
6104
6188
|
*/
|
|
6105
6189
|
get buttonClasses() {
|
|
6106
|
-
return this.loading ? 'k-i-loading k-input-loading-icon' : this.iconClass
|
|
6190
|
+
return this.loading ? 'k-i-loading k-input-loading-icon' : this.iconClass;
|
|
6107
6191
|
}
|
|
6108
6192
|
/**
|
|
6109
6193
|
* @hidden
|
|
@@ -6457,7 +6541,7 @@ class DropDownListComponent {
|
|
|
6457
6541
|
});
|
|
6458
6542
|
const isInLoop = sameCharsOnly(this.word, this.last);
|
|
6459
6543
|
let dataLength = data.length;
|
|
6460
|
-
|
|
6544
|
+
const hasSelected = !isNaN(this.selectionService.selected[0]);
|
|
6461
6545
|
let startIndex = !hasSelected ? 0 : this.selectionService.selected[0];
|
|
6462
6546
|
let text, index, defaultItem;
|
|
6463
6547
|
if (this.defaultItem && !this.disabledItemsService.isItemDisabled(this.defaultItem)) {
|
|
@@ -6583,8 +6667,8 @@ class DropDownListComponent {
|
|
|
6583
6667
|
}
|
|
6584
6668
|
}
|
|
6585
6669
|
}
|
|
6586
|
-
DropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6587
|
-
DropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
6670
|
+
DropDownListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", 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: TOUCH_ENABLED, optional: true }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
6671
|
+
DropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: { iconClass: "iconClass", loading: "loading", data: "data", value: "value", textField: "textField", valueField: "valueField", 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", 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($event)" }, properties: { "class.k-dropdownlist": "this.hostClasses", "class.k-picker": "this.hostClasses", "class.k-disabled": "this.isDisabledClass", "attr.disabled": "this.isDisabledAttribute", "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-expanded": "this.isAriaExpanded", "attr.aria-controls": "this.hostAriaControls", "attr.aria-invalid": "this.hostAriaInvalid", "attr.aria-activedescendant": "this.hostAriaActivedescendant" } }, providers: [
|
|
6588
6672
|
DROPDOWNLIST_VALUE_ACCESSOR,
|
|
6589
6673
|
DataService,
|
|
6590
6674
|
SelectionService,
|
|
@@ -6632,12 +6716,15 @@ DropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
6632
6716
|
mousedown: onMouseDown
|
|
6633
6717
|
}"
|
|
6634
6718
|
>
|
|
6635
|
-
<
|
|
6636
|
-
|
|
6719
|
+
<kendo-icon-wrapper
|
|
6720
|
+
*ngIf="!loading && !iconClass"
|
|
6637
6721
|
unselectable="on"
|
|
6638
|
-
|
|
6639
|
-
|
|
6640
|
-
|
|
6722
|
+
name="caret-alt-down"
|
|
6723
|
+
[svgIcon]="caretAltDownIcon"
|
|
6724
|
+
>
|
|
6725
|
+
</kendo-icon-wrapper>
|
|
6726
|
+
<span *ngIf="loading || iconClass" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
|
|
6727
|
+
</button>
|
|
6641
6728
|
<ng-template #popupTemplate>
|
|
6642
6729
|
<!--filterable-->
|
|
6643
6730
|
|
|
@@ -6647,7 +6734,12 @@ DropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
6647
6734
|
class="k-searchbox k-input"
|
|
6648
6735
|
[ngClass]="filterInputClasses"
|
|
6649
6736
|
>
|
|
6650
|
-
<
|
|
6737
|
+
<kendo-icon-wrapper
|
|
6738
|
+
class="k-icon"
|
|
6739
|
+
name="search"
|
|
6740
|
+
[svgIcon]="searchIcon"
|
|
6741
|
+
>
|
|
6742
|
+
</kendo-icon-wrapper>
|
|
6651
6743
|
<input
|
|
6652
6744
|
role="searchbox"
|
|
6653
6745
|
aria-autocomplete="list"
|
|
@@ -6740,8 +6832,8 @@ DropDownListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
6740
6832
|
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
6741
6833
|
</ng-template>
|
|
6742
6834
|
<ng-container #container></ng-container>
|
|
6743
|
-
`, isInline: true, components: [{ type: ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "isMultiselect", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize"] }, { type:
|
|
6744
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6835
|
+
`, isInline: true, components: [{ type: i8.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "isMultiselect", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize"] }, { type: i10.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i12.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i12.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i10.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i13.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { type: i13.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i13.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: ["index", "checkboxes", "height", "multipleSelection"] }] });
|
|
6836
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownListComponent, decorators: [{
|
|
6745
6837
|
type: Component,
|
|
6746
6838
|
args: [{
|
|
6747
6839
|
exportAs: 'kendoDropDownList',
|
|
@@ -6795,12 +6887,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
6795
6887
|
mousedown: onMouseDown
|
|
6796
6888
|
}"
|
|
6797
6889
|
>
|
|
6798
|
-
<
|
|
6799
|
-
|
|
6890
|
+
<kendo-icon-wrapper
|
|
6891
|
+
*ngIf="!loading && !iconClass"
|
|
6800
6892
|
unselectable="on"
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
|
|
6893
|
+
name="caret-alt-down"
|
|
6894
|
+
[svgIcon]="caretAltDownIcon"
|
|
6895
|
+
>
|
|
6896
|
+
</kendo-icon-wrapper>
|
|
6897
|
+
<span *ngIf="loading || iconClass" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
|
|
6898
|
+
</button>
|
|
6804
6899
|
<ng-template #popupTemplate>
|
|
6805
6900
|
<!--filterable-->
|
|
6806
6901
|
|
|
@@ -6810,7 +6905,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
6810
6905
|
class="k-searchbox k-input"
|
|
6811
6906
|
[ngClass]="filterInputClasses"
|
|
6812
6907
|
>
|
|
6813
|
-
<
|
|
6908
|
+
<kendo-icon-wrapper
|
|
6909
|
+
class="k-icon"
|
|
6910
|
+
name="search"
|
|
6911
|
+
[svgIcon]="searchIcon"
|
|
6912
|
+
>
|
|
6913
|
+
</kendo-icon-wrapper>
|
|
6814
6914
|
<input
|
|
6815
6915
|
role="searchbox"
|
|
6816
6916
|
aria-autocomplete="list"
|
|
@@ -7102,9 +7202,9 @@ class CustomItemTemplateDirective {
|
|
|
7102
7202
|
this.templateRef = templateRef;
|
|
7103
7203
|
}
|
|
7104
7204
|
}
|
|
7105
|
-
CustomItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7106
|
-
CustomItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
7107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7205
|
+
CustomItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CustomItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7206
|
+
CustomItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: CustomItemTemplateDirective, selector: "[kendoMultiSelectCustomItemTemplate]", ngImport: i0 });
|
|
7207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CustomItemTemplateDirective, decorators: [{
|
|
7108
7208
|
type: Directive,
|
|
7109
7209
|
args: [{
|
|
7110
7210
|
selector: '[kendoMultiSelectCustomItemTemplate]'
|
|
@@ -7141,9 +7241,9 @@ class TagTemplateDirective {
|
|
|
7141
7241
|
this.templateRef = templateRef;
|
|
7142
7242
|
}
|
|
7143
7243
|
}
|
|
7144
|
-
TagTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7145
|
-
TagTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
7146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7244
|
+
TagTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TagTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7245
|
+
TagTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: TagTemplateDirective, selector: "[kendoMultiSelectTagTemplate],[kendoMultiSelectTreeTagTemplate]", ngImport: i0 });
|
|
7246
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TagTemplateDirective, decorators: [{
|
|
7147
7247
|
type: Directive,
|
|
7148
7248
|
args: [{
|
|
7149
7249
|
selector: '[kendoMultiSelectTagTemplate],[kendoMultiSelectTreeTagTemplate]'
|
|
@@ -7181,9 +7281,9 @@ class GroupTagTemplateDirective {
|
|
|
7181
7281
|
this.templateRef = templateRef;
|
|
7182
7282
|
}
|
|
7183
7283
|
}
|
|
7184
|
-
GroupTagTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7185
|
-
GroupTagTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
7186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7284
|
+
GroupTagTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupTagTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7285
|
+
GroupTagTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: GroupTagTemplateDirective, selector: "[kendoMultiSelectGroupTagTemplate],[kendoMultiSelectTreeGroupTagTemplate]", ngImport: i0 });
|
|
7286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupTagTemplateDirective, decorators: [{
|
|
7187
7287
|
type: Directive,
|
|
7188
7288
|
args: [{
|
|
7189
7289
|
selector: '[kendoMultiSelectGroupTagTemplate],[kendoMultiSelectTreeGroupTagTemplate]'
|
|
@@ -7223,6 +7323,10 @@ class TagListComponent {
|
|
|
7223
7323
|
constructor(renderer, hostElement) {
|
|
7224
7324
|
this.renderer = renderer;
|
|
7225
7325
|
this.hostElement = hostElement;
|
|
7326
|
+
/**
|
|
7327
|
+
* @hidden
|
|
7328
|
+
*/
|
|
7329
|
+
this.xCircleIcon = xCircleIcon;
|
|
7226
7330
|
this.rounded = 'medium';
|
|
7227
7331
|
this.fillMode = 'solid';
|
|
7228
7332
|
/**
|
|
@@ -7295,8 +7399,8 @@ class TagListComponent {
|
|
|
7295
7399
|
}
|
|
7296
7400
|
}
|
|
7297
7401
|
}
|
|
7298
|
-
TagListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7299
|
-
TagListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
7402
|
+
TagListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TagListComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
7403
|
+
TagListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TagListComponent, selector: "kendo-taglist", inputs: { tags: "tags", textField: "textField", valueField: "valueField", valueDepth: "valueDepth", focused: "focused", template: "template", groupTemplate: "groupTemplate", disabled: "disabled", tagPrefix: "tagPrefix", id: "id", size: "size", rounded: "rounded", fillMode: "fillMode", disabledIndices: "disabledIndices" }, outputs: { removeTag: "removeTag" }, host: { properties: { "class.k-input-values": "this.hostClasses", "class.k-chip-list": "this.hostClasses", "class.k-selection-multiple": "this.hostClasses", "attr.id": "this.hostId" } }, ngImport: i0, template: `
|
|
7300
7404
|
<div
|
|
7301
7405
|
*ngFor="let tag of tags; let index = index;"
|
|
7302
7406
|
[attr.id]="itemId(tag, index)"
|
|
@@ -7342,17 +7446,20 @@ TagListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
|
7342
7446
|
</span>
|
|
7343
7447
|
</ng-template>
|
|
7344
7448
|
</span>
|
|
7345
|
-
|
|
7346
7449
|
<span class="k-chip-actions">
|
|
7347
7450
|
<span aria-label="delete" [attr.aria-hidden]="index !== focused" class="k-chip-action k-chip-remove-action">
|
|
7348
|
-
<
|
|
7349
|
-
|
|
7451
|
+
<kendo-icon-wrapper
|
|
7452
|
+
(mousedown)="deleteTag($event, tag, index)"
|
|
7453
|
+
name="x-circle"
|
|
7454
|
+
[svgIcon]="xCircleIcon"
|
|
7455
|
+
>
|
|
7456
|
+
</kendo-icon-wrapper>
|
|
7350
7457
|
</span>
|
|
7351
7458
|
</span>
|
|
7352
7459
|
</div>
|
|
7353
7460
|
<ng-content></ng-content>
|
|
7354
|
-
`, isInline: true, directives: [{ type:
|
|
7355
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7461
|
+
`, isInline: true, components: [{ type: i8.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i12.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i12.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i12.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }] });
|
|
7462
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TagListComponent, decorators: [{
|
|
7356
7463
|
type: Component,
|
|
7357
7464
|
args: [{
|
|
7358
7465
|
selector: 'kendo-taglist',
|
|
@@ -7402,11 +7509,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
7402
7509
|
</span>
|
|
7403
7510
|
</ng-template>
|
|
7404
7511
|
</span>
|
|
7405
|
-
|
|
7406
7512
|
<span class="k-chip-actions">
|
|
7407
7513
|
<span aria-label="delete" [attr.aria-hidden]="index !== focused" class="k-chip-action k-chip-remove-action">
|
|
7408
|
-
<
|
|
7409
|
-
|
|
7514
|
+
<kendo-icon-wrapper
|
|
7515
|
+
(mousedown)="deleteTag($event, tag, index)"
|
|
7516
|
+
name="x-circle"
|
|
7517
|
+
[svgIcon]="xCircleIcon"
|
|
7518
|
+
>
|
|
7519
|
+
</kendo-icon-wrapper>
|
|
7410
7520
|
</span>
|
|
7411
7521
|
</span>
|
|
7412
7522
|
</div>
|
|
@@ -7496,6 +7606,14 @@ class MultiSelectComponent {
|
|
|
7496
7606
|
this.renderer = renderer;
|
|
7497
7607
|
this._zone = _zone;
|
|
7498
7608
|
this.touchEnabled = touchEnabled;
|
|
7609
|
+
/**
|
|
7610
|
+
* @hidden
|
|
7611
|
+
*/
|
|
7612
|
+
this.xIcon = xIcon;
|
|
7613
|
+
/**
|
|
7614
|
+
* @hidden
|
|
7615
|
+
*/
|
|
7616
|
+
this.plusIcon = plusIcon;
|
|
7499
7617
|
this.listBoxId = guid();
|
|
7500
7618
|
this.tagListId = guid();
|
|
7501
7619
|
this.tagPrefix = "tag-" + guid();
|
|
@@ -8239,8 +8357,8 @@ class MultiSelectComponent {
|
|
|
8239
8357
|
* @hidden
|
|
8240
8358
|
*/
|
|
8241
8359
|
clearAll(event) {
|
|
8242
|
-
event
|
|
8243
|
-
event
|
|
8360
|
+
event?.stopImmediatePropagation();
|
|
8361
|
+
event?.preventDefault();
|
|
8244
8362
|
this.focus();
|
|
8245
8363
|
this.clearFilter();
|
|
8246
8364
|
this.selectionService.lastClickedIndex = null;
|
|
@@ -8717,7 +8835,7 @@ class MultiSelectComponent {
|
|
|
8717
8835
|
findIndex(text, startsFrom = 0) {
|
|
8718
8836
|
let itemText;
|
|
8719
8837
|
text = text.toLowerCase();
|
|
8720
|
-
|
|
8838
|
+
const index = this.dataService.findIndex(item => {
|
|
8721
8839
|
if (this.dataService.grouped) {
|
|
8722
8840
|
itemText = getter(item.value, this.textField);
|
|
8723
8841
|
}
|
|
@@ -8868,8 +8986,8 @@ class MultiSelectComponent {
|
|
|
8868
8986
|
}
|
|
8869
8987
|
}
|
|
8870
8988
|
}
|
|
8871
|
-
MultiSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8872
|
-
MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
8989
|
+
MultiSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", 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: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
8990
|
+
MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MultiSelectComponent, selector: "kendo-multiselect", inputs: { 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", 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" }, outputs: { filterChange: "filterChange", valueChange: "valueChange", open: "open", opened: "opened", close: "close", closed: "closed", onFocus: "focus", onBlur: "blur", removeTag: "removeTag" }, host: { listeners: { "keydown": "handleKeyboardEvent($event)", "mousedown": "hostMousedown($event)" }, properties: { "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: [
|
|
8873
8991
|
MULTISELECT_VALUE_ACCESSOR,
|
|
8874
8992
|
DataService,
|
|
8875
8993
|
SelectionService,
|
|
@@ -8943,7 +9061,12 @@ MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
8943
9061
|
tabindex="-1"
|
|
8944
9062
|
(mousedown)="clearAll($event)"
|
|
8945
9063
|
>
|
|
8946
|
-
<
|
|
9064
|
+
<kendo-icon-wrapper
|
|
9065
|
+
class="k-icon"
|
|
9066
|
+
name="x"
|
|
9067
|
+
[svgIcon]="xIcon"
|
|
9068
|
+
>
|
|
9069
|
+
</kendo-icon-wrapper>
|
|
8947
9070
|
</span>
|
|
8948
9071
|
<span
|
|
8949
9072
|
*ngIf="loading"
|
|
@@ -8971,7 +9094,12 @@ MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
8971
9094
|
}">
|
|
8972
9095
|
</ng-template>
|
|
8973
9096
|
<ng-template #default_custom_item_template>{{ text }}</ng-template>
|
|
8974
|
-
<
|
|
9097
|
+
<kendo-icon-wrapper
|
|
9098
|
+
class="k-icon"
|
|
9099
|
+
name="plus"
|
|
9100
|
+
[svgIcon]="plusIcon"
|
|
9101
|
+
>
|
|
9102
|
+
</kendo-icon-wrapper>
|
|
8975
9103
|
</div>
|
|
8976
9104
|
</div>
|
|
8977
9105
|
<!--list-->
|
|
@@ -9018,8 +9146,8 @@ MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
9018
9146
|
<kendo-resize-sensor (resize)="onResize()"></kendo-resize-sensor>
|
|
9019
9147
|
</ng-template>
|
|
9020
9148
|
<ng-container #container></ng-container>
|
|
9021
|
-
`, isInline: true, components: [{ type: TagListComponent, selector: "kendo-taglist", inputs: ["tags", "textField", "valueField", "valueDepth", "focused", "template", "groupTemplate", "disabled", "tagPrefix", "id", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { type: SearchBarComponent, selector: "kendo-searchbar", inputs: ["id", "listId", "tagListId", "activeDescendant", "disabled", "readonly", "tabIndex", "popupOpen", "role", "isLoading", "isSuggestable", "isFilterable", "userInput", "suggestedText", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { type: ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "isMultiselect", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize"] }, { type:
|
|
9022
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9149
|
+
`, isInline: true, components: [{ type: TagListComponent, selector: "kendo-taglist", inputs: ["tags", "textField", "valueField", "valueDepth", "focused", "template", "groupTemplate", "disabled", "tagPrefix", "id", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { type: SearchBarComponent, selector: "kendo-searchbar", inputs: ["id", "listId", "tagListId", "activeDescendant", "disabled", "readonly", "tabIndex", "popupOpen", "role", "isLoading", "isSuggestable", "isFilterable", "userInput", "suggestedText", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { type: i8.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "isMultiselect", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize"] }, { type: i10.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i12.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i12.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: SelectableDirective, selector: "[kendoDropDownsSelectable]", inputs: ["index", "checkboxes", "height", "multipleSelection"] }] });
|
|
9150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectComponent, decorators: [{
|
|
9023
9151
|
type: Component,
|
|
9024
9152
|
args: [{
|
|
9025
9153
|
exportAs: 'kendoMultiSelect',
|
|
@@ -9099,7 +9227,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
9099
9227
|
tabindex="-1"
|
|
9100
9228
|
(mousedown)="clearAll($event)"
|
|
9101
9229
|
>
|
|
9102
|
-
<
|
|
9230
|
+
<kendo-icon-wrapper
|
|
9231
|
+
class="k-icon"
|
|
9232
|
+
name="x"
|
|
9233
|
+
[svgIcon]="xIcon"
|
|
9234
|
+
>
|
|
9235
|
+
</kendo-icon-wrapper>
|
|
9103
9236
|
</span>
|
|
9104
9237
|
<span
|
|
9105
9238
|
*ngIf="loading"
|
|
@@ -9127,7 +9260,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
9127
9260
|
}">
|
|
9128
9261
|
</ng-template>
|
|
9129
9262
|
<ng-template #default_custom_item_template>{{ text }}</ng-template>
|
|
9130
|
-
<
|
|
9263
|
+
<kendo-icon-wrapper
|
|
9264
|
+
class="k-icon"
|
|
9265
|
+
name="plus"
|
|
9266
|
+
[svgIcon]="plusIcon"
|
|
9267
|
+
>
|
|
9268
|
+
</kendo-icon-wrapper>
|
|
9131
9269
|
</div>
|
|
9132
9270
|
</div>
|
|
9133
9271
|
<!--list-->
|
|
@@ -9331,9 +9469,9 @@ class ColumnCellTemplateDirective {
|
|
|
9331
9469
|
this.templateRef = templateRef;
|
|
9332
9470
|
}
|
|
9333
9471
|
}
|
|
9334
|
-
ColumnCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9335
|
-
ColumnCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
9336
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9472
|
+
ColumnCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnCellTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9473
|
+
ColumnCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ColumnCellTemplateDirective, selector: "[kendoMultiColumnComboBoxColumnCellTemplate]", ngImport: i0 });
|
|
9474
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnCellTemplateDirective, decorators: [{
|
|
9337
9475
|
type: Directive,
|
|
9338
9476
|
args: [{
|
|
9339
9477
|
selector: '[kendoMultiColumnComboBoxColumnCellTemplate]'
|
|
@@ -9352,9 +9490,9 @@ class ColumnHeaderTemplateDirective {
|
|
|
9352
9490
|
this.templateRef = templateRef;
|
|
9353
9491
|
}
|
|
9354
9492
|
}
|
|
9355
|
-
ColumnHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9356
|
-
ColumnHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
9357
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9493
|
+
ColumnHeaderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnHeaderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9494
|
+
ColumnHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ColumnHeaderTemplateDirective, selector: "[kendoMultiColumnComboBoxColumnHeaderTemplate]", ngImport: i0 });
|
|
9495
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColumnHeaderTemplateDirective, decorators: [{
|
|
9358
9496
|
type: Directive,
|
|
9359
9497
|
args: [{
|
|
9360
9498
|
selector: '[kendoMultiColumnComboBoxColumnHeaderTemplate]'
|
|
@@ -9379,9 +9517,9 @@ class ComboBoxColumnComponent {
|
|
|
9379
9517
|
this.matchesMedia = true;
|
|
9380
9518
|
}
|
|
9381
9519
|
}
|
|
9382
|
-
ComboBoxColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9383
|
-
ComboBoxColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
9384
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9520
|
+
ComboBoxColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9521
|
+
ComboBoxColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ComboBoxColumnComponent, selector: "kendo-combobox-column", inputs: { field: "field", title: "title", width: "width", hidden: "hidden", style: "style", headerStyle: "headerStyle", class: "class", headerClass: "headerClass", media: "media" }, queries: [{ propertyName: "cellTemplate", first: true, predicate: ColumnCellTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ColumnHeaderTemplateDirective, descendants: true }], ngImport: i0, template: '', isInline: true });
|
|
9522
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxColumnComponent, decorators: [{
|
|
9385
9523
|
type: Component,
|
|
9386
9524
|
args: [{
|
|
9387
9525
|
selector: 'kendo-combobox-column',
|
|
@@ -9584,8 +9722,8 @@ class MultiColumnComboBoxComponent extends ComboBoxComponent {
|
|
|
9584
9722
|
});
|
|
9585
9723
|
}
|
|
9586
9724
|
}
|
|
9587
|
-
MultiColumnComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9588
|
-
MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
9725
|
+
MultiColumnComboBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", 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: TOUCH_ENABLED }], target: i0.ɵɵFactoryTarget.Component });
|
|
9726
|
+
MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MultiColumnComboBoxComponent, selector: "kendo-multicolumncombobox", host: { properties: { "class.k-dropdowngrid": "this.hostClasses", "class.k-disabled": "this.isDisabled" } }, providers: [
|
|
9589
9727
|
SelectionService,
|
|
9590
9728
|
DataService,
|
|
9591
9729
|
NavigationService,
|
|
@@ -9656,7 +9794,11 @@ MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
9656
9794
|
mousedown: preventEventDefault
|
|
9657
9795
|
}"
|
|
9658
9796
|
>
|
|
9659
|
-
<
|
|
9797
|
+
<kendo-icon-wrapper
|
|
9798
|
+
name="x"
|
|
9799
|
+
[svgIcon]="xIcon"
|
|
9800
|
+
>
|
|
9801
|
+
</kendo-icon-wrapper>
|
|
9660
9802
|
</span>
|
|
9661
9803
|
|
|
9662
9804
|
<button
|
|
@@ -9672,7 +9814,13 @@ MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
9672
9814
|
mousedown: preventEventDefault
|
|
9673
9815
|
}"
|
|
9674
9816
|
>
|
|
9675
|
-
<
|
|
9817
|
+
<kendo-icon-wrapper
|
|
9818
|
+
*ngIf="!loading && !iconClass"
|
|
9819
|
+
name="caret-alt-down"
|
|
9820
|
+
[svgIcon]="caretAltDownIcon"
|
|
9821
|
+
>
|
|
9822
|
+
</kendo-icon-wrapper>
|
|
9823
|
+
<span *ngIf="loading || iconClass" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
|
|
9676
9824
|
</button>
|
|
9677
9825
|
|
|
9678
9826
|
<ng-template #popupTemplate>
|
|
@@ -9828,8 +9976,8 @@ MultiColumnComboBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
9828
9976
|
|
|
9829
9977
|
<!-- when the popupSettings.appendTo value is set to 'component', this container is used -->
|
|
9830
9978
|
<ng-container #container></ng-container>
|
|
9831
|
-
`, isInline: true, components: [{ type: SearchBarComponent, selector: "kendo-searchbar", inputs: ["id", "listId", "tagListId", "activeDescendant", "disabled", "readonly", "tabIndex", "popupOpen", "role", "isLoading", "isSuggestable", "isFilterable", "userInput", "suggestedText", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { type: ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "isMultiselect", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize"] }, { type:
|
|
9832
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9979
|
+
`, isInline: true, components: [{ type: SearchBarComponent, selector: "kendo-searchbar", inputs: ["id", "listId", "tagListId", "activeDescendant", "disabled", "readonly", "tabIndex", "popupOpen", "role", "isLoading", "isSuggestable", "isFilterable", "userInput", "suggestedText", "placeholder"], outputs: ["valueChange", "onBlur", "onFocus", "onClick", "onNavigate"] }, { type: i8.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: ListComponent, selector: "kendo-list", inputs: ["selected", "focused", "textField", "valueField", "height", "template", "groupTemplate", "fixedGroupTemplate", "show", "id", "optionPrefix", "multipleSelection", "virtual", "type", "checkboxes", "ariaLive", "isMultiselect", "data", "size", "rounded"], outputs: ["onClick", "pageChange", "listResize"] }, { type: i10.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i12.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i10.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i12.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i12.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i12.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
9980
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiColumnComboBoxComponent, decorators: [{
|
|
9833
9981
|
type: Component,
|
|
9834
9982
|
args: [{
|
|
9835
9983
|
providers: [
|
|
@@ -9905,7 +10053,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
9905
10053
|
mousedown: preventEventDefault
|
|
9906
10054
|
}"
|
|
9907
10055
|
>
|
|
9908
|
-
<
|
|
10056
|
+
<kendo-icon-wrapper
|
|
10057
|
+
name="x"
|
|
10058
|
+
[svgIcon]="xIcon"
|
|
10059
|
+
>
|
|
10060
|
+
</kendo-icon-wrapper>
|
|
9909
10061
|
</span>
|
|
9910
10062
|
|
|
9911
10063
|
<button
|
|
@@ -9921,7 +10073,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
9921
10073
|
mousedown: preventEventDefault
|
|
9922
10074
|
}"
|
|
9923
10075
|
>
|
|
9924
|
-
<
|
|
10076
|
+
<kendo-icon-wrapper
|
|
10077
|
+
*ngIf="!loading && !iconClass"
|
|
10078
|
+
name="caret-alt-down"
|
|
10079
|
+
[svgIcon]="caretAltDownIcon"
|
|
10080
|
+
>
|
|
10081
|
+
</kendo-icon-wrapper>
|
|
10082
|
+
<span *ngIf="loading || iconClass" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
|
|
9925
10083
|
</button>
|
|
9926
10084
|
|
|
9927
10085
|
<ng-template #popupTemplate>
|
|
@@ -10110,9 +10268,9 @@ class NodeTemplateDirective {
|
|
|
10110
10268
|
this.templateRef = templateRef;
|
|
10111
10269
|
}
|
|
10112
10270
|
}
|
|
10113
|
-
NodeTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10114
|
-
NodeTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
10115
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10271
|
+
NodeTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NodeTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
10272
|
+
NodeTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: NodeTemplateDirective, selector: "[kendoDropDownTreeNodeTemplate], [kendoMultiSelectTreeNodeTemplate]", ngImport: i0 });
|
|
10273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NodeTemplateDirective, decorators: [{
|
|
10116
10274
|
type: Directive,
|
|
10117
10275
|
args: [{
|
|
10118
10276
|
selector: '[kendoDropDownTreeNodeTemplate], [kendoMultiSelectTreeNodeTemplate]'
|
|
@@ -10141,6 +10299,18 @@ class DropDownTreeComponent {
|
|
|
10141
10299
|
this.cdr = cdr;
|
|
10142
10300
|
this.localization = localization;
|
|
10143
10301
|
this.touchEnabled = touchEnabled;
|
|
10302
|
+
/**
|
|
10303
|
+
* @hidden
|
|
10304
|
+
*/
|
|
10305
|
+
this.searchIcon = searchIcon;
|
|
10306
|
+
/**
|
|
10307
|
+
* @hidden
|
|
10308
|
+
*/
|
|
10309
|
+
this.caretAltDownIcon = caretAltDownIcon;
|
|
10310
|
+
/**
|
|
10311
|
+
* @hidden
|
|
10312
|
+
*/
|
|
10313
|
+
this.xIcon = xIcon;
|
|
10144
10314
|
this.hostClasses = true;
|
|
10145
10315
|
this.role = 'combobox';
|
|
10146
10316
|
this.ariaHasPopup = 'tree';
|
|
@@ -10282,7 +10452,10 @@ class DropDownTreeComponent {
|
|
|
10282
10452
|
this._size = 'medium';
|
|
10283
10453
|
this._rounded = 'medium';
|
|
10284
10454
|
this._fillMode = 'solid';
|
|
10285
|
-
this.
|
|
10455
|
+
this._searchableNodes = [];
|
|
10456
|
+
this._typedValue = '';
|
|
10457
|
+
this.printableCharacters = new Subject();
|
|
10458
|
+
this.subs = new Subscription();
|
|
10286
10459
|
this.onTouchedCallback = noop;
|
|
10287
10460
|
this.onChangeCallback = noop;
|
|
10288
10461
|
this.direction = localization.rtl ? 'rtl' : 'ltr';
|
|
@@ -10336,6 +10509,9 @@ class DropDownTreeComponent {
|
|
|
10336
10509
|
if (this.disabled || this.readonly) {
|
|
10337
10510
|
return;
|
|
10338
10511
|
}
|
|
10512
|
+
if (isLetter(event.key)) {
|
|
10513
|
+
this.printableCharacters.next(event.key);
|
|
10514
|
+
}
|
|
10339
10515
|
const eventData = event;
|
|
10340
10516
|
this.navigationService.process({
|
|
10341
10517
|
originalEvent: eventData
|
|
@@ -10582,12 +10758,23 @@ class DropDownTreeComponent {
|
|
|
10582
10758
|
*/
|
|
10583
10759
|
get formControl() {
|
|
10584
10760
|
const ngControl = this.injector.get(NgControl, null);
|
|
10585
|
-
return
|
|
10761
|
+
return ngControl?.control || null;
|
|
10586
10762
|
}
|
|
10587
10763
|
ngOnInit() {
|
|
10764
|
+
this.subs.add(this.printableCharacters.pipe(tap((char) => {
|
|
10765
|
+
this._typedValue += char;
|
|
10766
|
+
const itemToFocus = this._searchableNodes.find((node) => {
|
|
10767
|
+
return node.text.toLowerCase().indexOf(this._typedValue) === 0;
|
|
10768
|
+
});
|
|
10769
|
+
this.treeview.focus(itemToFocus?.index);
|
|
10770
|
+
const htmlItem = document.querySelector(`kendo-popup[id='${this._popupId}'] li.k-treeview-item[data-treeindex='${itemToFocus?.index}']`);
|
|
10771
|
+
htmlItem?.scrollIntoView();
|
|
10772
|
+
}), debounceTime(1000)).subscribe(() => {
|
|
10773
|
+
this._typedValue = '';
|
|
10774
|
+
}));
|
|
10588
10775
|
this.renderer.removeAttribute(this.wrapper.nativeElement, 'tabindex');
|
|
10589
10776
|
this.assignAriaDescribedBy();
|
|
10590
|
-
this.
|
|
10777
|
+
this.subs.add(this.localization
|
|
10591
10778
|
.changes.subscribe(({ rtl }) => {
|
|
10592
10779
|
this.direction = rtl ? 'rtl' : 'ltr';
|
|
10593
10780
|
this.cdr.markForCheck();
|
|
@@ -10690,7 +10877,7 @@ class DropDownTreeComponent {
|
|
|
10690
10877
|
focusItemAt(index) {
|
|
10691
10878
|
if (this.treeview) {
|
|
10692
10879
|
const lookup = this.treeview.itemLookup(index);
|
|
10693
|
-
|
|
10880
|
+
const isItemDisabled = !isPresent(lookup) || this.treeview.isDisabled(lookup.item.dataItem, lookup.item.index);
|
|
10694
10881
|
if (!isItemDisabled) {
|
|
10695
10882
|
this.treeview.focus(index);
|
|
10696
10883
|
}
|
|
@@ -10841,7 +11028,7 @@ class DropDownTreeComponent {
|
|
|
10841
11028
|
* @hidden
|
|
10842
11029
|
*/
|
|
10843
11030
|
get buttonClasses() {
|
|
10844
|
-
return this.loading ? 'k-i-loading k-input-loading-icon' :
|
|
11031
|
+
return this.loading ? 'k-i-loading k-input-loading-icon' : null;
|
|
10845
11032
|
}
|
|
10846
11033
|
/**
|
|
10847
11034
|
* @hidden
|
|
@@ -10886,6 +11073,16 @@ class DropDownTreeComponent {
|
|
|
10886
11073
|
}
|
|
10887
11074
|
return null;
|
|
10888
11075
|
}
|
|
11076
|
+
/**
|
|
11077
|
+
* @hidden
|
|
11078
|
+
*/
|
|
11079
|
+
onChildrenLoaded() {
|
|
11080
|
+
setTimeout(() => {
|
|
11081
|
+
if (this.popupRef) {
|
|
11082
|
+
this._searchableNodes = getSearchableItems(this._popupId, this.popupRef.popupElement);
|
|
11083
|
+
}
|
|
11084
|
+
});
|
|
11085
|
+
}
|
|
10889
11086
|
/**
|
|
10890
11087
|
* @hidden
|
|
10891
11088
|
*
|
|
@@ -10942,6 +11139,7 @@ class DropDownTreeComponent {
|
|
|
10942
11139
|
this.popupRef.popupOpen.subscribe(() => {
|
|
10943
11140
|
this.cdr.detectChanges();
|
|
10944
11141
|
this.opened.emit();
|
|
11142
|
+
this._searchableNodes = getSearchableItems(this._popupId, this.popupRef.popupElement);
|
|
10945
11143
|
});
|
|
10946
11144
|
this.popupRef.popupClose.subscribe(() => {
|
|
10947
11145
|
this.closed.emit();
|
|
@@ -10983,33 +11181,41 @@ class DropDownTreeComponent {
|
|
|
10983
11181
|
this.selectedKeys = [];
|
|
10984
11182
|
}
|
|
10985
11183
|
subscribeEvents() {
|
|
10986
|
-
|
|
10987
|
-
|
|
10988
|
-
|
|
10989
|
-
|
|
10990
|
-
|
|
10991
|
-
this.
|
|
10992
|
-
|
|
10993
|
-
|
|
10994
|
-
|
|
10995
|
-
|
|
10996
|
-
|
|
10997
|
-
|
|
10998
|
-
|
|
10999
|
-
|
|
11000
|
-
|
|
11001
|
-
|
|
11002
|
-
|
|
11003
|
-
|
|
11004
|
-
|
|
11005
|
-
|
|
11006
|
-
|
|
11007
|
-
|
|
11008
|
-
|
|
11009
|
-
|
|
11010
|
-
|
|
11011
|
-
|
|
11012
|
-
|
|
11184
|
+
[
|
|
11185
|
+
this.navigationService.open.subscribe((event) => {
|
|
11186
|
+
event.originalEvent.preventDefault();
|
|
11187
|
+
this.togglePopup(true);
|
|
11188
|
+
}),
|
|
11189
|
+
this.navigationService.close.subscribe((event) => {
|
|
11190
|
+
event.originalEvent.preventDefault();
|
|
11191
|
+
this.togglePopup(false);
|
|
11192
|
+
this.focus();
|
|
11193
|
+
}),
|
|
11194
|
+
this.navigationService.enter
|
|
11195
|
+
.pipe(tap((event) => event.originalEvent.preventDefault()))
|
|
11196
|
+
.subscribe(() => this.togglePopup(true)),
|
|
11197
|
+
this.navigationService.esc
|
|
11198
|
+
.subscribe(() => this.handleEscape()),
|
|
11199
|
+
this.navigationService.tab.subscribe(() => this.focus()),
|
|
11200
|
+
this.navigationService.down.subscribe((event) => {
|
|
11201
|
+
if (!this.treeview) {
|
|
11202
|
+
return;
|
|
11203
|
+
}
|
|
11204
|
+
event.originalEvent.preventDefault();
|
|
11205
|
+
if (!this.treeview.isActive) {
|
|
11206
|
+
this.treeview.focus();
|
|
11207
|
+
}
|
|
11208
|
+
}),
|
|
11209
|
+
this.navigationService.up.subscribe((event) => {
|
|
11210
|
+
if (!this.treeview) {
|
|
11211
|
+
return;
|
|
11212
|
+
}
|
|
11213
|
+
event.originalEvent.preventDefault();
|
|
11214
|
+
if (this.filterable && this.treeview['navigationService']['activeIndex'] === '0') {
|
|
11215
|
+
this.filterInput.nativeElement.focus();
|
|
11216
|
+
}
|
|
11217
|
+
})
|
|
11218
|
+
].forEach(sub => this.subs.add(sub));
|
|
11013
11219
|
}
|
|
11014
11220
|
subscribeTouchEvents() {
|
|
11015
11221
|
if (!isDocumentAvailable() || !this.touchEnabled) {
|
|
@@ -11048,7 +11254,7 @@ class DropDownTreeComponent {
|
|
|
11048
11254
|
}
|
|
11049
11255
|
}
|
|
11050
11256
|
unsubscribeEvents() {
|
|
11051
|
-
this.
|
|
11257
|
+
this.subs.unsubscribe();
|
|
11052
11258
|
this.unSubscribeFocusEvents();
|
|
11053
11259
|
if (this.touchstartDisposeHandler) {
|
|
11054
11260
|
this.touchstartDisposeHandler();
|
|
@@ -11079,8 +11285,8 @@ class DropDownTreeComponent {
|
|
|
11079
11285
|
}
|
|
11080
11286
|
}
|
|
11081
11287
|
}
|
|
11082
|
-
DropDownTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11083
|
-
DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
11288
|
+
DropDownTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", 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: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
11289
|
+
DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: DropDownTreeComponent, selector: "kendo-dropdowntree", inputs: { 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" }, outputs: { open: "open", opened: "opened", close: "close", closed: "closed", nodeExpand: "nodeExpand", nodeCollapse: "nodeCollapse", onFocus: "focus", onBlur: "blur", valueChange: "valueChange", filterChange: "filterChange" }, host: { listeners: { "click": "handleClick()", "keydown": "handleKeydown($event)" }, properties: { "class.k-dropdowntree": "this.hostClasses", "class.k-picker": "this.hostClasses", "attr.aria-invalid": "this.hostAriaInvalid", "class.k-disabled": "this.isDisabled", "attr.disabled": "this.isDisabledAttribute", "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", "attr.readonly": "this.isReadonly" } }, providers: [
|
|
11084
11290
|
DataService,
|
|
11085
11291
|
SelectionService,
|
|
11086
11292
|
NavigationService,
|
|
@@ -11141,7 +11347,12 @@ DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
11141
11347
|
[attr.title]="messageFor('clearTitle')"
|
|
11142
11348
|
(click)="clearValue($event)"
|
|
11143
11349
|
>
|
|
11144
|
-
<
|
|
11350
|
+
<kendo-icon-wrapper
|
|
11351
|
+
class="k-icon"
|
|
11352
|
+
name="x"
|
|
11353
|
+
[svgIcon]="xIcon"
|
|
11354
|
+
>
|
|
11355
|
+
</kendo-icon-wrapper>
|
|
11145
11356
|
</span>
|
|
11146
11357
|
<button
|
|
11147
11358
|
tabindex="-1"
|
|
@@ -11151,10 +11362,13 @@ DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
11151
11362
|
[ngClass]="selectButtonClasses"
|
|
11152
11363
|
[attr.aria-label]="messageFor('selectButtonText')"
|
|
11153
11364
|
>
|
|
11154
|
-
<span
|
|
11155
|
-
|
|
11156
|
-
|
|
11157
|
-
|
|
11365
|
+
<span *ngIf="loading" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
|
|
11366
|
+
<kendo-icon-wrapper
|
|
11367
|
+
*ngIf="!loading"
|
|
11368
|
+
name="caret-alt-down"
|
|
11369
|
+
[svgIcon]="caretAltDownIcon"
|
|
11370
|
+
>
|
|
11371
|
+
</kendo-icon-wrapper>
|
|
11158
11372
|
</button>
|
|
11159
11373
|
<ng-template #popupTemplate>
|
|
11160
11374
|
<span
|
|
@@ -11166,7 +11380,12 @@ DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
11166
11380
|
[ngClass]="filterInputClasses"
|
|
11167
11381
|
>
|
|
11168
11382
|
<span class="k-input-prefix">
|
|
11169
|
-
<
|
|
11383
|
+
<kendo-icon-wrapper
|
|
11384
|
+
class="k-icon"
|
|
11385
|
+
name="search"
|
|
11386
|
+
[svgIcon]="searchIcon"
|
|
11387
|
+
>
|
|
11388
|
+
</kendo-icon-wrapper>
|
|
11170
11389
|
</span>
|
|
11171
11390
|
<input
|
|
11172
11391
|
#filterInput
|
|
@@ -11220,6 +11439,7 @@ DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
11220
11439
|
(selectionChange)="onSelectionChange($event)"
|
|
11221
11440
|
(expand)="nodeExpand.emit($event)"
|
|
11222
11441
|
(collapse)="nodeCollapse.emit($event)"
|
|
11442
|
+
(childrenLoaded)="onChildrenLoaded()"
|
|
11223
11443
|
>
|
|
11224
11444
|
</kendo-treeview>
|
|
11225
11445
|
<!--footer template-->
|
|
@@ -11242,8 +11462,8 @@ DropDownTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
11242
11462
|
</div>
|
|
11243
11463
|
</ng-template>
|
|
11244
11464
|
<ng-container #container></ng-container>
|
|
11245
|
-
`, isInline: true, components: [{ type: i1$1.TreeViewComponent, selector: "kendo-treeview", inputs: ["filterInputPlaceholder", "expandDisabledNodes", "animate", "nodeTemplate", "loadMoreButtonTemplate", "trackBy", "nodes", "textField", "hasChildren", "isChecked", "isDisabled", "isExpanded", "isSelected", "isVisible", "navigable", "children", "loadOnDemand", "filterable", "filter", "size", "disableParentNodesOnly"], outputs: ["childrenLoaded", "blur", "focus", "expand", "collapse", "nodeDragStart", "nodeDrag", "filterStateChange", "nodeDrop", "nodeDragEnd", "addItem", "removeItem", "checkedChange", "selectionChange", "filterChange", "nodeClick", "nodeDblClick"], exportAs: ["kendoTreeView"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type:
|
|
11246
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11465
|
+
`, isInline: true, components: [{ type: i8.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: i1$1.TreeViewComponent, selector: "kendo-treeview", inputs: ["filterInputPlaceholder", "expandDisabledNodes", "animate", "nodeTemplate", "loadMoreButtonTemplate", "trackBy", "nodes", "textField", "hasChildren", "isChecked", "isDisabled", "isExpanded", "isSelected", "isVisible", "navigable", "children", "loadOnDemand", "filterable", "filter", "size", "disableParentNodesOnly"], outputs: ["childrenLoaded", "blur", "focus", "expand", "collapse", "nodeDragStart", "nodeDrag", "filterStateChange", "nodeDrop", "nodeDragEnd", "addItem", "removeItem", "checkedChange", "selectionChange", "filterChange", "nodeClick", "nodeDblClick"], exportAs: ["kendoTreeView"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i12.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i12.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i13.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { type: i13.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i13.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i10.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i1$1.SelectDirective, selector: "[kendoTreeViewSelectable]", inputs: ["isSelected", "selectBy", "kendoTreeViewSelectable", "selectedKeys"], outputs: ["selectedKeysChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
11466
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeComponent, decorators: [{
|
|
11247
11467
|
type: Component,
|
|
11248
11468
|
args: [{
|
|
11249
11469
|
exportAs: 'kendoDropDownTree',
|
|
@@ -11310,7 +11530,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
11310
11530
|
[attr.title]="messageFor('clearTitle')"
|
|
11311
11531
|
(click)="clearValue($event)"
|
|
11312
11532
|
>
|
|
11313
|
-
<
|
|
11533
|
+
<kendo-icon-wrapper
|
|
11534
|
+
class="k-icon"
|
|
11535
|
+
name="x"
|
|
11536
|
+
[svgIcon]="xIcon"
|
|
11537
|
+
>
|
|
11538
|
+
</kendo-icon-wrapper>
|
|
11314
11539
|
</span>
|
|
11315
11540
|
<button
|
|
11316
11541
|
tabindex="-1"
|
|
@@ -11320,10 +11545,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
11320
11545
|
[ngClass]="selectButtonClasses"
|
|
11321
11546
|
[attr.aria-label]="messageFor('selectButtonText')"
|
|
11322
11547
|
>
|
|
11323
|
-
<span
|
|
11324
|
-
|
|
11325
|
-
|
|
11326
|
-
|
|
11548
|
+
<span *ngIf="loading" class="k-button-icon k-icon" [ngClass]="buttonClasses"></span>
|
|
11549
|
+
<kendo-icon-wrapper
|
|
11550
|
+
*ngIf="!loading"
|
|
11551
|
+
name="caret-alt-down"
|
|
11552
|
+
[svgIcon]="caretAltDownIcon"
|
|
11553
|
+
>
|
|
11554
|
+
</kendo-icon-wrapper>
|
|
11327
11555
|
</button>
|
|
11328
11556
|
<ng-template #popupTemplate>
|
|
11329
11557
|
<span
|
|
@@ -11335,7 +11563,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
11335
11563
|
[ngClass]="filterInputClasses"
|
|
11336
11564
|
>
|
|
11337
11565
|
<span class="k-input-prefix">
|
|
11338
|
-
<
|
|
11566
|
+
<kendo-icon-wrapper
|
|
11567
|
+
class="k-icon"
|
|
11568
|
+
name="search"
|
|
11569
|
+
[svgIcon]="searchIcon"
|
|
11570
|
+
>
|
|
11571
|
+
</kendo-icon-wrapper>
|
|
11339
11572
|
</span>
|
|
11340
11573
|
<input
|
|
11341
11574
|
#filterInput
|
|
@@ -11389,6 +11622,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
11389
11622
|
(selectionChange)="onSelectionChange($event)"
|
|
11390
11623
|
(expand)="nodeExpand.emit($event)"
|
|
11391
11624
|
(collapse)="nodeCollapse.emit($event)"
|
|
11625
|
+
(childrenLoaded)="onChildrenLoaded()"
|
|
11392
11626
|
>
|
|
11393
11627
|
</kendo-treeview>
|
|
11394
11628
|
<!--footer template-->
|
|
@@ -11650,9 +11884,9 @@ class MultiSelectTreeLookupService {
|
|
|
11650
11884
|
});
|
|
11651
11885
|
}
|
|
11652
11886
|
}
|
|
11653
|
-
MultiSelectTreeLookupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11654
|
-
MultiSelectTreeLookupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
11655
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11887
|
+
MultiSelectTreeLookupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeLookupService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11888
|
+
MultiSelectTreeLookupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeLookupService });
|
|
11889
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeLookupService, decorators: [{
|
|
11656
11890
|
type: Injectable
|
|
11657
11891
|
}] });
|
|
11658
11892
|
|
|
@@ -11668,7 +11902,7 @@ class BaseCheckDirective {
|
|
|
11668
11902
|
}
|
|
11669
11903
|
const level = getHierarchicalItemLevel(item.index);
|
|
11670
11904
|
const key = this.getKey(item, level);
|
|
11671
|
-
const candidate =
|
|
11905
|
+
const candidate = { ...item, level, key };
|
|
11672
11906
|
this.checkedItems.push(candidate);
|
|
11673
11907
|
this.checkedKeys.add(key);
|
|
11674
11908
|
}
|
|
@@ -11678,7 +11912,7 @@ class BaseCheckDirective {
|
|
|
11678
11912
|
}
|
|
11679
11913
|
const level = getHierarchicalItemLevel(item.index);
|
|
11680
11914
|
const key = this.getKey(item, level);
|
|
11681
|
-
const candidate =
|
|
11915
|
+
const candidate = { ...item, level, key };
|
|
11682
11916
|
this.checkedItems = this.checkedItems
|
|
11683
11917
|
.filter(item => valueFrom(item, this.valueField) !== valueFrom(candidate, this.valueField));
|
|
11684
11918
|
this.checkedKeys.delete(key);
|
|
@@ -11703,9 +11937,9 @@ class BaseCheckDirective {
|
|
|
11703
11937
|
return valueFrom(item, this.valueField) + '_' + (this.isHeterogeneous ? level : 0);
|
|
11704
11938
|
}
|
|
11705
11939
|
}
|
|
11706
|
-
BaseCheckDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11707
|
-
BaseCheckDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
11708
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11940
|
+
BaseCheckDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseCheckDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
11941
|
+
BaseCheckDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: BaseCheckDirective, inputs: { valueField: "valueField", checkedItems: "checkedItems", isHeterogeneous: "isHeterogeneous" }, ngImport: i0 });
|
|
11942
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BaseCheckDirective, decorators: [{
|
|
11709
11943
|
type: Directive
|
|
11710
11944
|
}], propDecorators: { valueField: [{
|
|
11711
11945
|
type: Input
|
|
@@ -11767,7 +12001,7 @@ class CheckAllDirective extends BaseCheckDirective {
|
|
|
11767
12001
|
return isChecked;
|
|
11768
12002
|
}
|
|
11769
12003
|
ngOnChanges(changes) {
|
|
11770
|
-
if (isPresent(changes
|
|
12004
|
+
if (isPresent(changes['checkedItems'])) {
|
|
11771
12005
|
this.updateItems();
|
|
11772
12006
|
this.renderer.setProperty(this.element.nativeElement, 'checked', this.isChecked);
|
|
11773
12007
|
this.renderer.setProperty(this.element.nativeElement, 'indeterminate', this.isIndeterminate);
|
|
@@ -11836,9 +12070,9 @@ class CheckAllDirective extends BaseCheckDirective {
|
|
|
11836
12070
|
return childrenChecked || this.isItemChecked(lookup.item);
|
|
11837
12071
|
}
|
|
11838
12072
|
}
|
|
11839
|
-
CheckAllDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11840
|
-
CheckAllDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
11841
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12073
|
+
CheckAllDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckAllDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
12074
|
+
CheckAllDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: CheckAllDirective, selector: "[checkAll]", inputs: { lastAction: "lastAction", treeview: "treeview", checkedItems: "checkedItems", valueField: "valueField", focused: ["checkAll", "focused"] }, outputs: { checkedItemsChange: "checkedItemsChange" }, host: { listeners: { "change": "handleChange($event.target)" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
12075
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckAllDirective, decorators: [{
|
|
11842
12076
|
type: Directive,
|
|
11843
12077
|
args: [{
|
|
11844
12078
|
// eslint-disable-next-line
|
|
@@ -11888,10 +12122,10 @@ class CheckDirective extends BaseCheckDirective {
|
|
|
11888
12122
|
this.treeView.isChecked = this.getCheckedState.bind(this);
|
|
11889
12123
|
}
|
|
11890
12124
|
ngOnChanges(changes) {
|
|
11891
|
-
if (isPresent(changes
|
|
12125
|
+
if (isPresent(changes['checkable'])) {
|
|
11892
12126
|
this.toggleCheckOnClick();
|
|
11893
12127
|
}
|
|
11894
|
-
if (isPresent(changes
|
|
12128
|
+
if (isPresent(changes['checkedItems'])) {
|
|
11895
12129
|
this.updateItems();
|
|
11896
12130
|
}
|
|
11897
12131
|
}
|
|
@@ -11989,9 +12223,9 @@ class CheckDirective extends BaseCheckDirective {
|
|
|
11989
12223
|
return false;
|
|
11990
12224
|
}
|
|
11991
12225
|
}
|
|
11992
|
-
CheckDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11993
|
-
CheckDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
11994
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12226
|
+
CheckDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckDirective, deps: [{ token: i1$1.TreeViewComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
12227
|
+
CheckDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: CheckDirective, selector: "[kendoMultiSelectTreeCheckable]", inputs: { checkable: "checkable", valueField: "valueField", checkedItems: "checkedItems" }, outputs: { checkedItemsChange: "checkedItemsChange" }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
12228
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckDirective, decorators: [{
|
|
11995
12229
|
type: Directive,
|
|
11996
12230
|
args: [{
|
|
11997
12231
|
selector: '[kendoMultiSelectTreeCheckable]'
|
|
@@ -12030,6 +12264,14 @@ class MultiSelectTreeComponent {
|
|
|
12030
12264
|
this.cdr = cdr;
|
|
12031
12265
|
this.lookup = lookup;
|
|
12032
12266
|
this.touchEnabled = touchEnabled;
|
|
12267
|
+
/**
|
|
12268
|
+
* @hidden
|
|
12269
|
+
*/
|
|
12270
|
+
this.searchIcon = searchIcon;
|
|
12271
|
+
/**
|
|
12272
|
+
* @hidden
|
|
12273
|
+
*/
|
|
12274
|
+
this.xIcon = xIcon;
|
|
12033
12275
|
this.hostClasses = true;
|
|
12034
12276
|
this.role = 'combobox';
|
|
12035
12277
|
this.ariaHasPopup = 'tree';
|
|
@@ -12195,7 +12437,10 @@ class MultiSelectTreeComponent {
|
|
|
12195
12437
|
this._size = 'medium';
|
|
12196
12438
|
this._rounded = 'medium';
|
|
12197
12439
|
this._fillMode = 'solid';
|
|
12198
|
-
this.
|
|
12440
|
+
this._searchableNodes = [];
|
|
12441
|
+
this._typedValue = '';
|
|
12442
|
+
this.printableCharacters = new Subject();
|
|
12443
|
+
this.subs = new Subscription();
|
|
12199
12444
|
this.lastAction = 'check';
|
|
12200
12445
|
this.onTouchedCallback = noop;
|
|
12201
12446
|
this.onChangeCallback = noop;
|
|
@@ -12244,7 +12489,7 @@ class MultiSelectTreeComponent {
|
|
|
12244
12489
|
*/
|
|
12245
12490
|
get formControl() {
|
|
12246
12491
|
const ngControl = this.injector.get(NgControl, null);
|
|
12247
|
-
return
|
|
12492
|
+
return ngControl?.control || null;
|
|
12248
12493
|
}
|
|
12249
12494
|
/**
|
|
12250
12495
|
* @hidden
|
|
@@ -12264,6 +12509,9 @@ class MultiSelectTreeComponent {
|
|
|
12264
12509
|
if (this.disabled || this.readonly) {
|
|
12265
12510
|
return;
|
|
12266
12511
|
}
|
|
12512
|
+
if (isLetter(event.key)) {
|
|
12513
|
+
this.printableCharacters.next(event.key);
|
|
12514
|
+
}
|
|
12267
12515
|
const eventData = event;
|
|
12268
12516
|
const action = this.navigationService.process({
|
|
12269
12517
|
originalEvent: eventData
|
|
@@ -12271,6 +12519,10 @@ class MultiSelectTreeComponent {
|
|
|
12271
12519
|
if (action === NavigationAction.Open) {
|
|
12272
12520
|
eventData.preventDefault();
|
|
12273
12521
|
}
|
|
12522
|
+
if (this.isOpen && action === NavigationAction.Enter) {
|
|
12523
|
+
const spaceKeyDownEvent = new KeyboardEvent('keydown', { 'key': ' ', 'code': 'Space', 'keyCode': 32, 'which': 32 });
|
|
12524
|
+
this.treeview?.element.nativeElement.dispatchEvent(spaceKeyDownEvent);
|
|
12525
|
+
}
|
|
12274
12526
|
}
|
|
12275
12527
|
set treeview(treeview) {
|
|
12276
12528
|
this._treeview = treeview;
|
|
@@ -12590,9 +12842,20 @@ class MultiSelectTreeComponent {
|
|
|
12590
12842
|
return this.checkAllInput && document.activeElement === this.checkAllInput.nativeElement;
|
|
12591
12843
|
}
|
|
12592
12844
|
ngOnInit() {
|
|
12845
|
+
this.subs.add(this.printableCharacters.pipe(tap((char) => {
|
|
12846
|
+
this._typedValue += char;
|
|
12847
|
+
const itemToFocus = this._searchableNodes.find((node) => {
|
|
12848
|
+
return node.text.toLowerCase().indexOf(this._typedValue) === 0;
|
|
12849
|
+
});
|
|
12850
|
+
this.treeview.focus(itemToFocus?.index);
|
|
12851
|
+
const htmlItem = document.querySelector(`kendo-popup[id='${this._popupId}'] li.k-treeview-item[data-treeindex='${itemToFocus?.index}']`);
|
|
12852
|
+
htmlItem?.scrollIntoView();
|
|
12853
|
+
}), debounceTime(1000)).subscribe(() => {
|
|
12854
|
+
this._typedValue = '';
|
|
12855
|
+
}));
|
|
12593
12856
|
this.renderer.removeAttribute(this.wrapper.nativeElement, 'tabindex');
|
|
12594
12857
|
this.renderer.setAttribute(this.wrapper.nativeElement, 'aria-expanded', String(this.isOpen));
|
|
12595
|
-
this.
|
|
12858
|
+
this.subs.add(this.localization
|
|
12596
12859
|
.changes.subscribe(({ rtl }) => {
|
|
12597
12860
|
this.direction = rtl ? 'rtl' : 'ltr';
|
|
12598
12861
|
this.cdr.markForCheck();
|
|
@@ -12615,14 +12878,18 @@ class MultiSelectTreeComponent {
|
|
|
12615
12878
|
this.setState();
|
|
12616
12879
|
}
|
|
12617
12880
|
if (anyChanged(['valueDepth', 'value', 'dataItems'], changes, false)) {
|
|
12618
|
-
if (changes
|
|
12881
|
+
if (changes['value'] && !changes['dataItems'] && !this.valuePrimitive) {
|
|
12619
12882
|
// Update the dataItems if the value is updated programmatically (non-primitive values only)
|
|
12620
12883
|
// In the primitive case, the client should update the dataItems as well
|
|
12621
12884
|
this.dataItems = this.value;
|
|
12622
12885
|
}
|
|
12623
12886
|
else {
|
|
12624
12887
|
// Re-map the dataItems because `valueDepth` is not yet available when the check directive parses the items
|
|
12625
|
-
this.dataItems = this.dataItems.map((item, index) => (
|
|
12888
|
+
this.dataItems = this.dataItems.map((item, index) => ({
|
|
12889
|
+
...item,
|
|
12890
|
+
key: valueFrom({ dataItem: item.dataItem, index: null, level: this.valueDepth[index] || 0 }, this.valueField) + '_' + (this.isHeterogeneous ? this.valueDepth[index] : 0),
|
|
12891
|
+
level: this.valueDepth[index] || 0
|
|
12892
|
+
}));
|
|
12626
12893
|
}
|
|
12627
12894
|
}
|
|
12628
12895
|
if (anyChanged(['data', 'children', 'hasChildren', 'loadOnDemand', 'valueField'], changes, true) && !this.loadOnDemand) {
|
|
@@ -12649,7 +12916,7 @@ class MultiSelectTreeComponent {
|
|
|
12649
12916
|
* should be rendered inside the input when the component is not focused.
|
|
12650
12917
|
*/
|
|
12651
12918
|
isEmpty() {
|
|
12652
|
-
return !
|
|
12919
|
+
return !this.placeholder && (!isPresent(this.value) || this.value.length === 0);
|
|
12653
12920
|
}
|
|
12654
12921
|
/**
|
|
12655
12922
|
* Focuses the MultiSelectTree.
|
|
@@ -12995,9 +13262,11 @@ class MultiSelectTreeComponent {
|
|
|
12995
13262
|
popupWrapper.style.height = this.height;
|
|
12996
13263
|
this.renderer.setAttribute(popupWrapper, 'dir', this.direction);
|
|
12997
13264
|
this.renderer.setAttribute(this.wrapper.nativeElement, 'aria-expanded', 'true');
|
|
13265
|
+
this.renderer.setAttribute(popupWrapper, 'id', this._popupId);
|
|
12998
13266
|
this.popupRef.popupOpen.subscribe(() => {
|
|
12999
13267
|
this.cdr.detectChanges();
|
|
13000
13268
|
this.opened.emit();
|
|
13269
|
+
this._searchableNodes = getSearchableItems(this._popupId, this.popupRef.popupElement);
|
|
13001
13270
|
});
|
|
13002
13271
|
this.popupRef.popupClose.subscribe(() => {
|
|
13003
13272
|
this.closed.emit();
|
|
@@ -13020,20 +13289,33 @@ class MultiSelectTreeComponent {
|
|
|
13020
13289
|
}
|
|
13021
13290
|
}
|
|
13022
13291
|
subscribeEvents() {
|
|
13023
|
-
|
|
13024
|
-
|
|
13025
|
-
|
|
13026
|
-
|
|
13027
|
-
|
|
13028
|
-
|
|
13029
|
-
|
|
13030
|
-
|
|
13031
|
-
this.
|
|
13032
|
-
|
|
13033
|
-
|
|
13034
|
-
|
|
13035
|
-
|
|
13036
|
-
|
|
13292
|
+
[
|
|
13293
|
+
this.navigationService.open.subscribe((event) => {
|
|
13294
|
+
event.originalEvent.preventDefault();
|
|
13295
|
+
this.togglePopup(true);
|
|
13296
|
+
}),
|
|
13297
|
+
this.navigationService.enter
|
|
13298
|
+
.pipe(tap((event) => event.originalEvent.preventDefault()))
|
|
13299
|
+
.subscribe(() => this.togglePopup(true)),
|
|
13300
|
+
merge(this.navigationService.close, this.navigationService.esc).subscribe((event) => {
|
|
13301
|
+
event.originalEvent.preventDefault();
|
|
13302
|
+
this.focus();
|
|
13303
|
+
this.togglePopup(false);
|
|
13304
|
+
}),
|
|
13305
|
+
this.navigationService.tab.subscribe(this.handleTabKey.bind(this)),
|
|
13306
|
+
this.navigationService.up.subscribe(this.handleUpKey.bind(this)),
|
|
13307
|
+
this.navigationService.down.subscribe(this.handleDownKey.bind(this)),
|
|
13308
|
+
this.navigationService.left
|
|
13309
|
+
.pipe(filter(() => !this.isTreeViewActive))
|
|
13310
|
+
.subscribe(this.direction === 'rtl' ? this.handleRightKey.bind(this) : this.handleLeftKey.bind(this)),
|
|
13311
|
+
this.navigationService.right
|
|
13312
|
+
.pipe(filter(() => !this.isTreeViewActive))
|
|
13313
|
+
.subscribe(this.direction === 'rtl' ? this.handleLeftKey.bind(this) : this.handleRightKey.bind(this)),
|
|
13314
|
+
this.navigationService.home.pipe(filter(() => !this.isOpen)).subscribe(this.handleHome.bind(this)),
|
|
13315
|
+
this.navigationService.end.pipe(filter(() => !this.isOpen)).subscribe(this.handleEnd.bind(this)),
|
|
13316
|
+
this.navigationService.backspace.pipe(filter(() => this.isTagFocused)).subscribe(this.handleBackspace.bind(this)),
|
|
13317
|
+
this.navigationService.delete.pipe(filter(() => this.isTagFocused)).subscribe(this.handleDelete.bind(this))
|
|
13318
|
+
].forEach(sub => this.subs.add(sub));
|
|
13037
13319
|
}
|
|
13038
13320
|
subscribeFocusEvents() {
|
|
13039
13321
|
if (isDocumentAvailable()) {
|
|
@@ -13164,7 +13446,7 @@ class MultiSelectTreeComponent {
|
|
|
13164
13446
|
}
|
|
13165
13447
|
}
|
|
13166
13448
|
unsubscribeEvents() {
|
|
13167
|
-
this.
|
|
13449
|
+
this.subs.unsubscribe();
|
|
13168
13450
|
this.unSubscribeFocusEvents();
|
|
13169
13451
|
}
|
|
13170
13452
|
/**
|
|
@@ -13199,6 +13481,16 @@ class MultiSelectTreeComponent {
|
|
|
13199
13481
|
this.value = newValue;
|
|
13200
13482
|
this.emitValueChange(this.value);
|
|
13201
13483
|
}
|
|
13484
|
+
/**
|
|
13485
|
+
* @hidden
|
|
13486
|
+
*/
|
|
13487
|
+
onChildrenLoaded() {
|
|
13488
|
+
setTimeout(() => {
|
|
13489
|
+
if (this.popupRef) {
|
|
13490
|
+
this._searchableNodes = getSearchableItems(this._popupId, this.popupRef.popupElement);
|
|
13491
|
+
}
|
|
13492
|
+
});
|
|
13493
|
+
}
|
|
13202
13494
|
/**
|
|
13203
13495
|
* @hidden
|
|
13204
13496
|
*
|
|
@@ -13262,8 +13554,8 @@ class MultiSelectTreeComponent {
|
|
|
13262
13554
|
}
|
|
13263
13555
|
}
|
|
13264
13556
|
}
|
|
13265
|
-
MultiSelectTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13266
|
-
MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
13557
|
+
MultiSelectTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", 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: TOUCH_ENABLED, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
13558
|
+
MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MultiSelectTreeComponent, selector: "kendo-multiselecttree", inputs: { 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: { listeners: { "click": "handleClick()", "keydown": "handleKeydown($event)" }, properties: { "class.k-multiselect-tree": "this.hostClasses", "class.k-input": "this.hostClasses", "class.k-disabled": "this.isDisabled", "attr.aria-disabled": "this.isDisabled", "attr.aria-controls": "this.hostAriaControls", "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-expanded": "this.isAriaExpanded", "attr.aria-haspopup": "this.ariaHasPopup", "attr.readonly": "this.isReadonly", "attr.aria-describedby": "this.ariaDescribedBy", "attr.aria-activedescendant": "this.ariaActiveDescendant" } }, providers: [
|
|
13267
13559
|
LocalizationService,
|
|
13268
13560
|
NavigationService,
|
|
13269
13561
|
DataService,
|
|
@@ -13334,7 +13626,12 @@ MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
13334
13626
|
tabindex="-1"
|
|
13335
13627
|
(click)="clearAll($event)"
|
|
13336
13628
|
>
|
|
13337
|
-
<
|
|
13629
|
+
<kendo-icon-wrapper
|
|
13630
|
+
class="k-icon"
|
|
13631
|
+
name="x"
|
|
13632
|
+
[svgIcon]="xIcon"
|
|
13633
|
+
>
|
|
13634
|
+
</kendo-icon-wrapper>
|
|
13338
13635
|
</span>
|
|
13339
13636
|
<span
|
|
13340
13637
|
*ngIf="loading"
|
|
@@ -13351,7 +13648,12 @@ MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
13351
13648
|
[ngClass]="filterInputClasses"
|
|
13352
13649
|
>
|
|
13353
13650
|
<span class="k-input-prefix">
|
|
13354
|
-
<
|
|
13651
|
+
<kendo-icon-wrapper
|
|
13652
|
+
class="k-icon"
|
|
13653
|
+
name="search"
|
|
13654
|
+
[svgIcon]="searchIcon"
|
|
13655
|
+
>
|
|
13656
|
+
</kendo-icon-wrapper>
|
|
13355
13657
|
</span>
|
|
13356
13658
|
<input
|
|
13357
13659
|
#filterInput
|
|
@@ -13439,6 +13741,7 @@ MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
13439
13741
|
focusout: handleBlur
|
|
13440
13742
|
}"
|
|
13441
13743
|
[scope]="this"
|
|
13744
|
+
(childrenLoaded)="onChildrenLoaded()"
|
|
13442
13745
|
>
|
|
13443
13746
|
</kendo-treeview>
|
|
13444
13747
|
<!--footer template-->
|
|
@@ -13461,8 +13764,8 @@ MultiSelectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
|
|
|
13461
13764
|
</div>
|
|
13462
13765
|
</ng-template>
|
|
13463
13766
|
<ng-container #container></ng-container>
|
|
13464
|
-
`, isInline: true, components: [{ type: TagListComponent, selector: "kendo-taglist", inputs: ["tags", "textField", "valueField", "valueDepth", "focused", "template", "groupTemplate", "disabled", "tagPrefix", "id", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { type: i1$1.TreeViewComponent, selector: "kendo-treeview", inputs: ["filterInputPlaceholder", "expandDisabledNodes", "animate", "nodeTemplate", "loadMoreButtonTemplate", "trackBy", "nodes", "textField", "hasChildren", "isChecked", "isDisabled", "isExpanded", "isSelected", "isVisible", "navigable", "children", "loadOnDemand", "filterable", "filter", "size", "disableParentNodesOnly"], outputs: ["childrenLoaded", "blur", "focus", "expand", "collapse", "nodeDragStart", "nodeDrag", "filterStateChange", "nodeDrop", "nodeDragEnd", "addItem", "removeItem", "checkedChange", "selectionChange", "filterChange", "nodeClick", "nodeDblClick"], exportAs: ["kendoTreeView"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type:
|
|
13465
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13767
|
+
`, isInline: true, components: [{ type: TagListComponent, selector: "kendo-taglist", inputs: ["tags", "textField", "valueField", "valueDepth", "focused", "template", "groupTemplate", "disabled", "tagPrefix", "id", "size", "rounded", "fillMode", "disabledIndices"], outputs: ["removeTag"] }, { type: i8.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: i1$1.TreeViewComponent, selector: "kendo-treeview", inputs: ["filterInputPlaceholder", "expandDisabledNodes", "animate", "nodeTemplate", "loadMoreButtonTemplate", "trackBy", "nodes", "textField", "hasChildren", "isChecked", "isDisabled", "isExpanded", "isSelected", "isVisible", "navigable", "children", "loadOnDemand", "filterable", "filter", "size", "disableParentNodesOnly"], outputs: ["childrenLoaded", "blur", "focus", "expand", "collapse", "nodeDragStart", "nodeDrag", "filterStateChange", "nodeDrop", "nodeDragEnd", "addItem", "removeItem", "checkedChange", "selectionChange", "filterChange", "nodeClick", "nodeDblClick"], exportAs: ["kendoTreeView"] }], directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoDropDownListLocalizedMessages],\n [kendoDropDownTreeLocalizedMessages],\n [kendoComboBoxLocalizedMessages],\n [kendoMultiColumnComboBoxLocalizedMessages],\n [kendoAutoCompleteLocalizedMessages],\n [kendoMultiSelectLocalizedMessages],\n [kendoMultiSelectTreeLocalizedMessages]\n " }, { type: i12.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i12.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i13.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: FilterInputDirective, selector: "[filterInput]", inputs: ["filterInput"] }, { type: i13.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i13.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i10.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: CheckAllDirective, selector: "[checkAll]", inputs: ["lastAction", "treeview", "checkedItems", "valueField", "checkAll"], outputs: ["checkedItemsChange"] }, { type: CheckDirective, selector: "[kendoMultiSelectTreeCheckable]", inputs: ["checkable", "valueField", "checkedItems"], outputs: ["checkedItemsChange"] }] });
|
|
13768
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeComponent, decorators: [{
|
|
13466
13769
|
type: Component,
|
|
13467
13770
|
args: [{
|
|
13468
13771
|
exportAs: 'kendoMultiSelectTree',
|
|
@@ -13539,7 +13842,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13539
13842
|
tabindex="-1"
|
|
13540
13843
|
(click)="clearAll($event)"
|
|
13541
13844
|
>
|
|
13542
|
-
<
|
|
13845
|
+
<kendo-icon-wrapper
|
|
13846
|
+
class="k-icon"
|
|
13847
|
+
name="x"
|
|
13848
|
+
[svgIcon]="xIcon"
|
|
13849
|
+
>
|
|
13850
|
+
</kendo-icon-wrapper>
|
|
13543
13851
|
</span>
|
|
13544
13852
|
<span
|
|
13545
13853
|
*ngIf="loading"
|
|
@@ -13556,7 +13864,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13556
13864
|
[ngClass]="filterInputClasses"
|
|
13557
13865
|
>
|
|
13558
13866
|
<span class="k-input-prefix">
|
|
13559
|
-
<
|
|
13867
|
+
<kendo-icon-wrapper
|
|
13868
|
+
class="k-icon"
|
|
13869
|
+
name="search"
|
|
13870
|
+
[svgIcon]="searchIcon"
|
|
13871
|
+
>
|
|
13872
|
+
</kendo-icon-wrapper>
|
|
13560
13873
|
</span>
|
|
13561
13874
|
<input
|
|
13562
13875
|
#filterInput
|
|
@@ -13644,6 +13957,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
13644
13957
|
focusout: handleBlur
|
|
13645
13958
|
}"
|
|
13646
13959
|
[scope]="this"
|
|
13960
|
+
(childrenLoaded)="onChildrenLoaded()"
|
|
13647
13961
|
>
|
|
13648
13962
|
</kendo-treeview>
|
|
13649
13963
|
<!--footer template-->
|
|
@@ -13866,15 +14180,15 @@ class DropDownTreeFlatBindingDirective extends FlatDataBindingDirective {
|
|
|
13866
14180
|
}
|
|
13867
14181
|
ngOnChanges(changes) {
|
|
13868
14182
|
if (isChanged('nodes', changes, false)) {
|
|
13869
|
-
this.dropDownTree.nodes = changes
|
|
13870
|
-
super.nodes = changes
|
|
14183
|
+
this.dropDownTree.nodes = changes['nodes'].currentValue;
|
|
14184
|
+
super.nodes = changes['nodes'].currentValue;
|
|
13871
14185
|
}
|
|
13872
14186
|
super.ngOnChanges(changes);
|
|
13873
14187
|
}
|
|
13874
14188
|
}
|
|
13875
|
-
DropDownTreeFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13876
|
-
DropDownTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
13877
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14189
|
+
DropDownTreeFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeFlatBindingDirective, deps: [{ token: i1$1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14190
|
+
DropDownTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DropDownTreeFlatBindingDirective, selector: "[kendoDropDownTreeFlatBinding]", inputs: { nodes: ["kendoDropDownTreeFlatBinding", "nodes"], idField: ["valueField", "idField"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
14191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeFlatBindingDirective, decorators: [{
|
|
13878
14192
|
type: Directive,
|
|
13879
14193
|
args: [{
|
|
13880
14194
|
selector: '[kendoDropDownTreeFlatBinding]'
|
|
@@ -13924,15 +14238,15 @@ class DropDownTreeHierarchyBindingDirective extends HierarchyBindingDirective {
|
|
|
13924
14238
|
}
|
|
13925
14239
|
ngOnChanges(changes) {
|
|
13926
14240
|
if (isChanged('nodes', changes, false)) {
|
|
13927
|
-
this.dropDownTree.nodes = changes
|
|
13928
|
-
super.nodes = changes
|
|
14241
|
+
this.dropDownTree.nodes = changes['nodes'].currentValue;
|
|
14242
|
+
super.nodes = changes['nodes'].currentValue;
|
|
13929
14243
|
}
|
|
13930
14244
|
super.ngOnChanges(changes);
|
|
13931
14245
|
}
|
|
13932
14246
|
}
|
|
13933
|
-
DropDownTreeHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13934
|
-
DropDownTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
13935
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14247
|
+
DropDownTreeHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeHierarchyBindingDirective, deps: [{ token: i1$1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14248
|
+
DropDownTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DropDownTreeHierarchyBindingDirective, selector: "[kendoDropDownTreeHierarchyBinding]", inputs: { nodes: ["kendoDropDownTreeHierarchyBinding", "nodes"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
14249
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreeHierarchyBindingDirective, decorators: [{
|
|
13936
14250
|
type: Directive,
|
|
13937
14251
|
args: [{
|
|
13938
14252
|
selector: '[kendoDropDownTreeHierarchyBinding]'
|
|
@@ -13958,15 +14272,15 @@ class MultiSelectTreeFlatBindingDirective extends FlatDataBindingDirective {
|
|
|
13958
14272
|
}
|
|
13959
14273
|
ngOnChanges(changes) {
|
|
13960
14274
|
if (isChanged('nodes', changes, false)) {
|
|
13961
|
-
this.multiSelectTree.nodes = changes
|
|
13962
|
-
super.nodes = changes
|
|
14275
|
+
this.multiSelectTree.nodes = changes['nodes'].currentValue;
|
|
14276
|
+
super.nodes = changes['nodes'].currentValue;
|
|
13963
14277
|
}
|
|
13964
14278
|
super.ngOnChanges(changes);
|
|
13965
14279
|
}
|
|
13966
14280
|
}
|
|
13967
|
-
MultiSelectTreeFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13968
|
-
MultiSelectTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
13969
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14281
|
+
MultiSelectTreeFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeFlatBindingDirective, deps: [{ token: i1$1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14282
|
+
MultiSelectTreeFlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: MultiSelectTreeFlatBindingDirective, selector: "[kendoMultiSelectTreeFlatBinding]", inputs: { nodes: ["kendoMultiSelectTreeFlatBinding", "nodes"], idField: ["valueField", "idField"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
14283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeFlatBindingDirective, decorators: [{
|
|
13970
14284
|
type: Directive,
|
|
13971
14285
|
args: [{
|
|
13972
14286
|
selector: '[kendoMultiSelectTreeFlatBinding]'
|
|
@@ -13995,15 +14309,15 @@ class MultiSelectTreeHierarchyBindingDirective extends HierarchyBindingDirective
|
|
|
13995
14309
|
}
|
|
13996
14310
|
ngOnChanges(changes) {
|
|
13997
14311
|
if (isChanged('nodes', changes, false)) {
|
|
13998
|
-
this.multiSelectTree.nodes = changes
|
|
13999
|
-
super.nodes = changes
|
|
14312
|
+
this.multiSelectTree.nodes = changes['nodes'].currentValue;
|
|
14313
|
+
super.nodes = changes['nodes'].currentValue;
|
|
14000
14314
|
}
|
|
14001
14315
|
super.ngOnChanges(changes);
|
|
14002
14316
|
}
|
|
14003
14317
|
}
|
|
14004
|
-
MultiSelectTreeHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14005
|
-
MultiSelectTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
14006
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14318
|
+
MultiSelectTreeHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeHierarchyBindingDirective, deps: [{ token: i1$1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14319
|
+
MultiSelectTreeHierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: MultiSelectTreeHierarchyBindingDirective, selector: "[kendoMultiSelectTreeHierarchyBinding]", inputs: { nodes: ["kendoMultiSelectTreeHierarchyBinding", "nodes"] }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
14320
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeHierarchyBindingDirective, decorators: [{
|
|
14007
14321
|
type: Directive,
|
|
14008
14322
|
args: [{
|
|
14009
14323
|
selector: '[kendoMultiSelectTreeHierarchyBinding]'
|
|
@@ -14032,9 +14346,9 @@ class DropDownTreesExpandDirective extends ExpandDirective {
|
|
|
14032
14346
|
}
|
|
14033
14347
|
;
|
|
14034
14348
|
}
|
|
14035
|
-
DropDownTreesExpandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14036
|
-
DropDownTreesExpandDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
14037
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14349
|
+
DropDownTreesExpandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesExpandDirective, deps: [{ token: i1$1.ExpandableComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14350
|
+
DropDownTreesExpandDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: DropDownTreesExpandDirective, selector: "[kendoDropDownTreeExpandable], [kendoMultiSelectTreeExpandable]", inputs: { isExpanded: ["isNodeExpanded", "isExpanded"] }, usesInheritance: true, ngImport: i0 });
|
|
14351
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesExpandDirective, decorators: [{
|
|
14038
14352
|
type: Directive,
|
|
14039
14353
|
args: [{
|
|
14040
14354
|
selector: '[kendoDropDownTreeExpandable], [kendoMultiSelectTreeExpandable]'
|
|
@@ -14057,14 +14371,14 @@ class CustomMessagesComponent extends Messages {
|
|
|
14057
14371
|
return true;
|
|
14058
14372
|
}
|
|
14059
14373
|
}
|
|
14060
|
-
CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14061
|
-
CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
14374
|
+
CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
14375
|
+
CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: CustomMessagesComponent, selector: "kendo-dropdownlist-messages,kendo-combobox-messages,kendo-multicolumncombobox-messages,kendo-autocomplete-messages,kendo-multiselect-messages,kendo-dropdowntree-messages,kendo-multiselecttree-messages", providers: [
|
|
14062
14376
|
{
|
|
14063
14377
|
provide: Messages,
|
|
14064
14378
|
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
14065
14379
|
}
|
|
14066
14380
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
14067
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14381
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CustomMessagesComponent, decorators: [{
|
|
14068
14382
|
type: Component,
|
|
14069
14383
|
args: [{
|
|
14070
14384
|
providers: [
|
|
@@ -14180,9 +14494,9 @@ class FilterDirective {
|
|
|
14180
14494
|
return Object.assign({}, DEFAULT_FILTER_SETTINGS, settings, { fields: this.getFilterFields(providedFields) });
|
|
14181
14495
|
}
|
|
14182
14496
|
}
|
|
14183
|
-
FilterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14184
|
-
FilterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
14185
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14497
|
+
FilterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterDirective, deps: [{ token: FilterableComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14498
|
+
FilterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FilterDirective, selector: "[kendoDropDownFilter]", inputs: { data: "data", rawSettings: ["kendoDropDownFilter", "rawSettings"], filterable: "filterable" }, ngImport: i0 });
|
|
14499
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FilterDirective, decorators: [{
|
|
14186
14500
|
type: Directive,
|
|
14187
14501
|
args: [{
|
|
14188
14502
|
selector: '[kendoDropDownFilter]'
|
|
@@ -14227,8 +14541,8 @@ const SHARED_DIRECTIVES = [
|
|
|
14227
14541
|
*/
|
|
14228
14542
|
class SharedDirectivesModule {
|
|
14229
14543
|
}
|
|
14230
|
-
SharedDirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14231
|
-
SharedDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14544
|
+
SharedDirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedDirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14545
|
+
SharedDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedDirectivesModule, declarations: [HeaderTemplateDirective,
|
|
14232
14546
|
FooterTemplateDirective,
|
|
14233
14547
|
ItemTemplateDirective,
|
|
14234
14548
|
GroupTemplateDirective,
|
|
@@ -14253,8 +14567,8 @@ SharedDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0",
|
|
|
14253
14567
|
CustomMessagesComponent,
|
|
14254
14568
|
FilterDirective,
|
|
14255
14569
|
FilterInputDirective] });
|
|
14256
|
-
SharedDirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14257
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14570
|
+
SharedDirectivesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedDirectivesModule });
|
|
14571
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedDirectivesModule, decorators: [{
|
|
14258
14572
|
type: NgModule,
|
|
14259
14573
|
args: [{
|
|
14260
14574
|
declarations: [SHARED_DIRECTIVES],
|
|
@@ -14277,29 +14591,29 @@ const INTERNAL_DIRECTIVES = [
|
|
|
14277
14591
|
*/
|
|
14278
14592
|
class SharedModule {
|
|
14279
14593
|
}
|
|
14280
|
-
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14281
|
-
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14594
|
+
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14595
|
+
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, declarations: [ListComponent,
|
|
14282
14596
|
ListItemDirective,
|
|
14283
14597
|
SelectableDirective,
|
|
14284
14598
|
SearchBarComponent,
|
|
14285
14599
|
TemplateContextDirective,
|
|
14286
14600
|
TagListComponent,
|
|
14287
14601
|
CheckDirective,
|
|
14288
|
-
CheckAllDirective], imports: [CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule], exports: [ListComponent,
|
|
14602
|
+
CheckAllDirective], imports: [CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule, IconsModule], exports: [ListComponent,
|
|
14289
14603
|
ListItemDirective,
|
|
14290
14604
|
SelectableDirective,
|
|
14291
14605
|
SearchBarComponent,
|
|
14292
14606
|
TemplateContextDirective,
|
|
14293
14607
|
TagListComponent,
|
|
14294
14608
|
CheckDirective,
|
|
14295
|
-
CheckAllDirective, CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule] });
|
|
14296
|
-
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14297
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14609
|
+
CheckAllDirective, CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule, IconsModule] });
|
|
14610
|
+
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [[CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule, IconsModule], CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule, IconsModule] });
|
|
14611
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, decorators: [{
|
|
14298
14612
|
type: NgModule,
|
|
14299
14613
|
args: [{
|
|
14300
14614
|
declarations: [INTERNAL_DIRECTIVES],
|
|
14301
|
-
exports: [INTERNAL_DIRECTIVES, CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule],
|
|
14302
|
-
imports: [CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule]
|
|
14615
|
+
exports: [INTERNAL_DIRECTIVES, CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule, IconsModule],
|
|
14616
|
+
imports: [CommonModule, FormsModule, ReactiveFormsModule, PopupModule, ResizeSensorModule, SharedDirectivesModule, EventsModule, IconsModule]
|
|
14303
14617
|
}]
|
|
14304
14618
|
}] });
|
|
14305
14619
|
|
|
@@ -14346,9 +14660,9 @@ class MultiSelectTreeSummaryTagDirective {
|
|
|
14346
14660
|
};
|
|
14347
14661
|
}
|
|
14348
14662
|
}
|
|
14349
|
-
MultiSelectTreeSummaryTagDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14350
|
-
MultiSelectTreeSummaryTagDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
14351
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14663
|
+
MultiSelectTreeSummaryTagDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeSummaryTagDirective, deps: [{ token: MultiSelectTreeComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14664
|
+
MultiSelectTreeSummaryTagDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: MultiSelectTreeSummaryTagDirective, selector: "[kendoMultiSelectTreeSummaryTag]", inputs: { showAfter: ["kendoMultiSelectTreeSummaryTag", "showAfter"] }, usesOnChanges: true, ngImport: i0 });
|
|
14665
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectTreeSummaryTagDirective, decorators: [{
|
|
14352
14666
|
type: Directive,
|
|
14353
14667
|
args: [{
|
|
14354
14668
|
selector: '[kendoMultiSelectTreeSummaryTag]'
|
|
@@ -14374,8 +14688,8 @@ const DROPDOWNTREE_DIRECTIVES = [
|
|
|
14374
14688
|
*/
|
|
14375
14689
|
class DropDownTreesModule {
|
|
14376
14690
|
}
|
|
14377
|
-
DropDownTreesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14378
|
-
DropDownTreesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14691
|
+
DropDownTreesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14692
|
+
DropDownTreesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesModule, declarations: [DropDownTreeComponent,
|
|
14379
14693
|
MultiSelectTreeComponent,
|
|
14380
14694
|
DropDownTreeFlatBindingDirective,
|
|
14381
14695
|
DropDownTreeHierarchyBindingDirective,
|
|
@@ -14392,8 +14706,8 @@ DropDownTreesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ver
|
|
|
14392
14706
|
DropDownTreesExpandDirective,
|
|
14393
14707
|
NodeTemplateDirective,
|
|
14394
14708
|
MultiSelectTreeSummaryTagDirective, SharedDirectivesModule] });
|
|
14395
|
-
DropDownTreesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14396
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14709
|
+
DropDownTreesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesModule, imports: [[SharedModule, TreeViewModule], SharedDirectivesModule] });
|
|
14710
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownTreesModule, decorators: [{
|
|
14397
14711
|
type: NgModule,
|
|
14398
14712
|
args: [{
|
|
14399
14713
|
declarations: [DROPDOWNTREE_DIRECTIVES],
|
|
@@ -14436,8 +14750,7 @@ class SummaryTagDirective {
|
|
|
14436
14750
|
const showAfter = parseNumber(this.showAfter);
|
|
14437
14751
|
this.multiSelectComponent.tagMapper = (tags) => {
|
|
14438
14752
|
if (tags.length > showAfter) {
|
|
14439
|
-
|
|
14440
|
-
result = tags.slice(0, showAfter);
|
|
14753
|
+
const result = tags.slice(0, showAfter);
|
|
14441
14754
|
result.push(tags.slice(showAfter, tags.length));
|
|
14442
14755
|
return result;
|
|
14443
14756
|
}
|
|
@@ -14447,9 +14760,9 @@ class SummaryTagDirective {
|
|
|
14447
14760
|
};
|
|
14448
14761
|
}
|
|
14449
14762
|
}
|
|
14450
|
-
SummaryTagDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14451
|
-
SummaryTagDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
14452
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14763
|
+
SummaryTagDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SummaryTagDirective, deps: [{ token: MultiSelectComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
14764
|
+
SummaryTagDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: SummaryTagDirective, selector: "[kendoMultiSelectSummaryTag]", inputs: { showAfter: ["kendoMultiSelectSummaryTag", "showAfter"] }, usesOnChanges: true, ngImport: i0 });
|
|
14765
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SummaryTagDirective, decorators: [{
|
|
14453
14766
|
type: Directive,
|
|
14454
14767
|
args: [{
|
|
14455
14768
|
selector: '[kendoMultiSelectSummaryTag]'
|
|
@@ -14475,10 +14788,10 @@ const AUTOCOMPLETE_DIRECTIVES = [
|
|
|
14475
14788
|
*/
|
|
14476
14789
|
class AutoCompleteModule {
|
|
14477
14790
|
}
|
|
14478
|
-
AutoCompleteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14479
|
-
AutoCompleteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14480
|
-
AutoCompleteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14481
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14791
|
+
AutoCompleteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AutoCompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14792
|
+
AutoCompleteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AutoCompleteModule, declarations: [AutoCompleteComponent], imports: [SharedModule], exports: [AutoCompleteComponent, SharedDirectivesModule] });
|
|
14793
|
+
AutoCompleteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AutoCompleteModule, imports: [[SharedModule], SharedDirectivesModule] });
|
|
14794
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: AutoCompleteModule, decorators: [{
|
|
14482
14795
|
type: NgModule,
|
|
14483
14796
|
args: [{
|
|
14484
14797
|
declarations: [AUTOCOMPLETE_DIRECTIVES],
|
|
@@ -14510,8 +14823,8 @@ const COMBOBOX_DIRECTIVES = [
|
|
|
14510
14823
|
*/
|
|
14511
14824
|
class ComboBoxModule {
|
|
14512
14825
|
}
|
|
14513
|
-
ComboBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14514
|
-
ComboBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14826
|
+
ComboBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14827
|
+
ComboBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxModule, declarations: [ComboBoxComponent,
|
|
14515
14828
|
MultiColumnComboBoxComponent,
|
|
14516
14829
|
ComboBoxColumnComponent,
|
|
14517
14830
|
ColumnHeaderTemplateDirective,
|
|
@@ -14520,8 +14833,8 @@ ComboBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
14520
14833
|
ComboBoxColumnComponent,
|
|
14521
14834
|
ColumnHeaderTemplateDirective,
|
|
14522
14835
|
ColumnCellTemplateDirective, SharedDirectivesModule] });
|
|
14523
|
-
ComboBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14524
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14836
|
+
ComboBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxModule, providers: [{ provide: TOUCH_ENABLED, useValue: touchEnabled }], imports: [[SharedModule], SharedDirectivesModule] });
|
|
14837
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ComboBoxModule, decorators: [{
|
|
14525
14838
|
type: NgModule,
|
|
14526
14839
|
args: [{
|
|
14527
14840
|
declarations: [COMBOBOX_DIRECTIVES],
|
|
@@ -14548,10 +14861,10 @@ const DROPDOWNLIST_DIRECTIVES = [
|
|
|
14548
14861
|
*/
|
|
14549
14862
|
class DropDownListModule {
|
|
14550
14863
|
}
|
|
14551
|
-
DropDownListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14552
|
-
DropDownListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14553
|
-
DropDownListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14554
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14864
|
+
DropDownListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14865
|
+
DropDownListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownListModule, declarations: [DropDownListComponent], imports: [SharedModule], exports: [DropDownListComponent, SharedDirectivesModule] });
|
|
14866
|
+
DropDownListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownListModule, imports: [[SharedModule], SharedDirectivesModule] });
|
|
14867
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownListModule, decorators: [{
|
|
14555
14868
|
type: NgModule,
|
|
14556
14869
|
args: [{
|
|
14557
14870
|
declarations: [DROPDOWNLIST_DIRECTIVES],
|
|
@@ -14583,14 +14896,14 @@ const MULTISELECT_DIRECTIVES = [
|
|
|
14583
14896
|
*/
|
|
14584
14897
|
class MultiSelectModule {
|
|
14585
14898
|
}
|
|
14586
|
-
MultiSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14587
|
-
MultiSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14899
|
+
MultiSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14900
|
+
MultiSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectModule, declarations: [MultiSelectComponent,
|
|
14588
14901
|
SummaryTagDirective,
|
|
14589
14902
|
CustomItemTemplateDirective], imports: [SharedModule], exports: [MultiSelectComponent,
|
|
14590
14903
|
SummaryTagDirective,
|
|
14591
14904
|
CustomItemTemplateDirective, SharedDirectivesModule] });
|
|
14592
|
-
MultiSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14593
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14905
|
+
MultiSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectModule, providers: [{ provide: TOUCH_ENABLED, useValue: touchEnabled }], imports: [[SharedModule], SharedDirectivesModule] });
|
|
14906
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MultiSelectModule, decorators: [{
|
|
14594
14907
|
type: NgModule,
|
|
14595
14908
|
args: [{
|
|
14596
14909
|
declarations: [MULTISELECT_DIRECTIVES],
|
|
@@ -14633,10 +14946,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
14633
14946
|
*/
|
|
14634
14947
|
class DropDownsModule {
|
|
14635
14948
|
}
|
|
14636
|
-
DropDownsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14637
|
-
DropDownsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
14638
|
-
DropDownsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
14639
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14949
|
+
DropDownsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
14950
|
+
DropDownsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownsModule, exports: [AutoCompleteModule, ComboBoxModule, DropDownListModule, MultiSelectModule, DropDownTreesModule] });
|
|
14951
|
+
DropDownsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownsModule, imports: [AutoCompleteModule, ComboBoxModule, DropDownListModule, MultiSelectModule, DropDownTreesModule] });
|
|
14952
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DropDownsModule, decorators: [{
|
|
14640
14953
|
type: NgModule,
|
|
14641
14954
|
args: [{
|
|
14642
14955
|
exports: [AutoCompleteModule, ComboBoxModule, DropDownListModule, MultiSelectModule, DropDownTreesModule]
|